
Go to the source code of this file.
Functions | |
| void | EstimateWPPSliceAlg1 (ImageParameters *img, InputParameters *params, int offset) |
| void | EstimateWPBSliceAlg1 (ImageParameters *img, InputParameters *params) |
| int | TestWPPSliceAlg1 (ImageParameters *img, InputParameters *input, int offset) |
| int | TestWPBSliceAlg1 (ImageParameters *img, InputParameters *input, int method) |
Definition in file wp_lms.h.
| void EstimateWPBSliceAlg1 | ( | ImageParameters * | img, | |
| InputParameters * | params | |||
| ) |
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 189 of file wp_lms.c.
References ImageParameters::bitdepth_luma, InputParameters::ChromaWeightSupport, ComputeImgSum(), ImageParameters::current_mb_nr, InputParameters::EnhancedBWeightSupport, ImageParameters::height, ImageParameters::height_cr, storable_picture::imgUV, ImageParameters::mb_data, macroblock::mb_field, ImageParameters::MbaffFrameFlag, storable_picture::p_curr_img, pCurImg, storable_picture::poc, ImageParameters::size, ImageParameters::width, ImageParameters::width_cr, and wpxDetermineWP().
Referenced by InitWP().

| void EstimateWPPSliceAlg1 | ( | ImageParameters * | img, | |
| InputParameters * | params, | |||
| int | offset | |||
| ) |
Estimates reference picture weighting factors for P slices.
Definition at line 43 of file wp_lms.c.
References ImageParameters::bitdepth_chroma, ImageParameters::bitdepth_luma, InputParameters::ChromaWeightSupport, ComputeImgSum(), ImageParameters::current_mb_nr, ImageParameters::height, ImageParameters::height_cr, storable_picture::imgUV, ImageParameters::mb_data, macroblock::mb_field, ImageParameters::MbaffFrameFlag, storable_picture::p_curr_img, pCurImg, ImageParameters::size, ImageParameters::size_cr, ImageParameters::width, ImageParameters::width_cr, and wpxDetermineWP().
Referenced by InitWP().

| int TestWPBSliceAlg1 | ( | ImageParameters * | img, | |
| InputParameters * | input, | |||
| int | method | |||
| ) |
TestWPBSliceAlg1: Tests B slice weighting prediction.
implicit mode
implicit mode
explicit mode
implicit mode
Definition at line 608 of file wp_lms.c.
References InputParameters::B_List0_refs, InputParameters::B_List1_refs, ImageParameters::bitdepth_luma, InputParameters::ChromaWeightSupport, ComputeImgSum(), ImageParameters::current_mb_nr, InputParameters::EnhancedBWeightSupport, ImageParameters::height, ImageParameters::height_cr, storable_picture::imgUV, ImageParameters::mb_data, macroblock::mb_field, ImageParameters::MbaffFrameFlag, storable_picture::p_curr_img, pCurImg, storable_picture::poc, ImageParameters::size, ImageParameters::width, and ImageParameters::width_cr.
Referenced by InitWP().

| int TestWPPSliceAlg1 | ( | ImageParameters * | img, | |
| InputParameters * | input, | |||
| int | offset | |||
| ) |
Tests P slice weighting factors to perform or not WP RD decision.
Definition at line 443 of file wp_lms.c.
References ImageParameters::bitdepth_chroma, ImageParameters::bitdepth_luma, InputParameters::ChromaWeightSupport, ComputeImgSum(), ImageParameters::current_mb_nr, ImageParameters::height, ImageParameters::height_cr, storable_picture::imgUV, ImageParameters::mb_data, macroblock::mb_field, ImageParameters::MbaffFrameFlag, storable_picture::p_curr_img, pCurImg, InputParameters::RDPSliceBTest, ImageParameters::size, ImageParameters::size_cr, ImageParameters::width, and ImageParameters::width_cr.
Referenced by InitWP().
