wp.h File Reference

Headerfile for weighted prediction support. More...

#include "wp_lms.h"
#include "wp_mcprec.h"
#include "wp_mciter.h"

Include dependency graph for wp.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEBUG_WP   0

Functions

void InitWP (ImageParameters *p_Img, InputParameters *p_Inp)
void EstimateWPBSliceAlg0 (Slice *currSlice)
void EstimateWPPSliceAlg0 (Slice *currSlice, int offset)
int TestWPPSliceAlg0 (ImageParameters *p_Img, InputParameters *p_Inp, int offset)
int TestWPBSliceAlg0 (ImageParameters *p_Img, InputParameters *p_Inp, int method)
double ComputeImgSum (imgpel **CurrentImage, int height, int width)


Detailed Description

Headerfile for weighted prediction support.

wp.h

Author:
Alexis Michael Tourapis
Date:
22. February 2008

Definition in file wp.h.


Function Documentation

double ComputeImgSum ( imgpel **  CurrentImage,
int  height,
int  width 
)

void EstimateWPBSliceAlg0 ( Slice currSlice  ) 

Estimates reference picture weighting factors for B slices.

implicit mode. Values are fixed and it is important to show it here

explicit mode. Values can be changed for higher precision.

implicit mode

Definition at line 217 of file weighted_prediction.c.

References inp_par_enc::ChromaWeightSupport, ComputeImgSum(), img_par::height, img_par::height_cr, storable_picture::imgUV, img_par::mb_data, storable_picture::p_curr_img, img_par::pCurImg, slice::wbp_weight, img_par::width, img_par::width_cr, slice::wp_offset, slice::wp_weight, and wpxDetermineWP().

Referenced by InitWP().

Here is the call graph for this function:

void EstimateWPPSliceAlg0 ( Slice currSlice,
int  offset 
)

void InitWP ( ImageParameters p_Img,
InputParameters p_Inp 
)

int TestWPBSliceAlg0 ( ImageParameters p_Img,
InputParameters p_Inp,
int  method 
)

int TestWPPSliceAlg0 ( ImageParameters p_Img,
InputParameters p_Inp,
int  offset 
)


Documentation generated with DoxyGen