wp_mciter.h File Reference

Headerfile for weighted prediction support. More...

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

Go to the source code of this file.

Functions

void EstimateWPBSliceAlg2 (Slice *currSlice)
void EstimateWPPSliceAlg2 (Slice *currSlice, int offset)
int TestWPPSliceAlg2 (ImageParameters *p_Img, InputParameters *p_Inp, int offset)
int TestWPBSliceAlg2 (ImageParameters *p_Im, InputParameters *p_Inp, int method)
void compute_offset (ImageParameters *p_Img)


Detailed Description

Headerfile for weighted prediction support.

wp_mciter.h

Author:
Alexis Michael Tourapis
Date:
22. February 2008

Definition in file wp_mciter.h.


Function Documentation

void EstimateWPBSliceAlg2 ( 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 161 of file wp_mciter.c.

References inp_par_enc::ChromaWeightSupport, ComputeImgSum(), img_par::height, img_par::height_cr, storable_picture::imgUV, img_par::mb_data, 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 EstimateWPPSliceAlg2 ( Slice currSlice,
int  offset 
)

Estimates reference picture weighting factors for P slices.

Definition at line 28 of file wp_mciter.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, img_par::size_cr, 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:

int TestWPBSliceAlg2 ( ImageParameters p_Im,
InputParameters p_Inp,
int  method 
)

TestWPBSliceAlg2: Tests B slice weighting prediction.

implicit mode

explicit mode

implicit mode

Definition at line 522 of file wp_mciter.c.

References inp_par_enc::B_List0_refs, inp_par_enc::B_List1_refs, inp_par_enc::ChromaWeightSupport, ComputeImgSum(), img_par::currentSlice, img_par::height, img_par::height_cr, storable_picture::imgUV, img_par::mb_data, img_par::MbaffFrameFlag, img_par::pCurImg, slice::wbp_weight, img_par::width, img_par::width_cr, slice::wp_offset, and slice::wp_weight.

Referenced by InitWP().

Here is the call graph for this function:

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


Documentation generated with DoxyGen