wp_mciter.c File Reference

Estimate weights for WP using iterative MC method. More...

#include "contributors.h"
#include <math.h>
#include <float.h>
#include "global.h"
#include "image.h"
#include "wp.h"

Include dependency graph for wp_mciter.c:

Go to the source code of this file.

Functions

void EstimateWPPSliceAlg2 (ImageParameters *img, InputParameters *params, int select_offset)
void EstimateWPBSliceAlg2 (ImageParameters *img, InputParameters *params)
int TestWPPSliceAlg2 (ImageParameters *img, InputParameters *params, int select_offset)
int TestWPBSliceAlg2 (ImageParameters *img, InputParameters *params, int select_method)
void compute_offset ()


Detailed Description

Estimate weights for WP using iterative MC method.

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file wp_mciter.c.


Function Documentation

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

References InputParameters::ChromaWeightSupport, ComputeImgSum(), ImageParameters::current_mb_nr, ImageParameters::frameOffset, ImageParameters::height, ImageParameters::height_cr, storable_picture::imgUV, ImageParameters::mb_data, macroblock::mb_field, ImageParameters::MbaffFrameFlag, pCurImg, storable_picture::poc, ImageParameters::width, ImageParameters::width_cr, and wpxDetermineWP().

Referenced by InitWP().

Here is the call graph for this function:

void EstimateWPPSliceAlg2 ( ImageParameters *  img,
InputParameters *  params,
int  select_offset 
)

int TestWPBSliceAlg2 ( ImageParameters *  img,
InputParameters *  params,
int  select_method 
)

int TestWPPSliceAlg2 ( ImageParameters *  img,
InputParameters *  params,
int  select_offset 
)


Documentation generated with DoxyGen