Go to the source code of this file.
Functions | |
void | EstimateWPPSliceAlg1 (Slice *currSlice, int offset) |
void | EstimateWPBSliceAlg1 (Slice *currSlice) |
int | TestWPPSliceAlg1 (ImageParameters *p_Img, InputParameters *input, int offset) |
int | TestWPBSliceAlg1 (ImageParameters *p_Img, InputParameters *input, int method) |
Definition in file wp_lms.h.
void EstimateWPBSliceAlg1 | ( | 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 191 of file wp_lms.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, slice::wbp_weight, img_par::width, img_par::width_cr, slice::wp_offset, slice::wp_weight, and wpxDetermineWP().
Referenced by InitWP().
void EstimateWPPSliceAlg1 | ( | Slice * | currSlice, | |
int | offset | |||
) |
Estimates reference picture weighting factors for P slices.
Definition at line 43 of file wp_lms.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, img_par::size_cr, img_par::width, img_par::width_cr, slice::wp_offset, slice::wp_weight, and wpxDetermineWP().
Referenced by InitWP().
int TestWPBSliceAlg1 | ( | ImageParameters * | p_Img, | |
InputParameters * | input, | |||
int | method | |||
) |
TestWPBSliceAlg1: Tests B slice weighting prediction.
implicit mode
explicit mode
explicit mode
Definition at line 613 of file wp_lms.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, storable_picture::p_curr_img, img_par::pCurImg, img_par::size, slice::wbp_weight, img_par::width, and img_par::width_cr.
Referenced by InitWP().
int TestWPPSliceAlg1 | ( | ImageParameters * | p_Img, | |
InputParameters * | input, | |||
int | offset | |||
) |
Tests P slice weighting factors to perform or not WP RD decision.
Definition at line 447 of file wp_lms.c.
References BASELINE, inp_par_enc::ChromaWeightSupport, ComputeImgSum(), img_par::height, img_par::height_cr, storable_picture::imgUV, img_par::mb_data, img_par::MbaffFrameFlag, storable_picture::p_curr_img, img_par::pCurImg, inp_par_enc::RDPSliceBTest, img_par::size, img_par::size_cr, img_par::width, and img_par::width_cr.
Referenced by InitWP().