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 *img, InputParameters *params)
void EstimateWPBSliceAlg0 (ImageParameters *img, InputParameters *params)
void EstimateWPPSliceAlg0 (ImageParameters *img, InputParameters *params, int offset)
int TestWPPSliceAlg0 (ImageParameters *img, InputParameters *params, int offset)
int TestWPBSliceAlg0 (ImageParameters *img, InputParameters *params, int method)
double ComputeImgSum (imgpel **CurrentImage, int height, int width)

Variables

void(* EstimateWPBSlice )(ImageParameters *img, InputParameters *params)
void(* EstimateWPPSlice )(ImageParameters *img, InputParameters *params, int offset)
int(* TestWPPSlice )(ImageParameters *img, InputParameters *params, int offset)
int(* TestWPBSlice )(ImageParameters *img, InputParameters *params, int method)


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 ( 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 215 of file weighted_prediction.c.

References 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, storable_picture::poc, ImageParameters::width, ImageParameters::width_cr, and wpxDetermineWP().

Referenced by InitWP().

Here is the call graph for this function:

void EstimateWPPSliceAlg0 ( ImageParameters *  img,
InputParameters *  params,
int  offset 
)

void InitWP ( ImageParameters *  img,
InputParameters *  params 
)

int TestWPBSliceAlg0 ( ImageParameters *  img,
InputParameters *  params,
int  method 
)

int TestWPPSliceAlg0 ( ImageParameters *  img,
InputParameters *  params,
int  offset 
)


Documentation generated with DoxyGen