wp_mcprec.c File Reference

Improved Motion Compensation Precision Scheme using Weighted Prediction. More...

#include "contributors.h"
#include "global.h"
#include "image.h"
#include "slice.h"
#include "list_reorder.h"
#include "wp_mcprec.h"

Include dependency graph for wp_mcprec.c:

Go to the source code of this file.

Functions

void wpxInitWPXObject (ImageParameters *p_Img)
void wpxFreeWPXObject (ImageParameters *p_Img)
void wpxInitWPXPasses (ImageParameters *p_Img, InputParameters *p_Inp)
void wpxModifyRefPicList (Slice *currSlice)
int wpxDetermineWP (Slice *currSlice, int clist, int n)
void wpxAdaptRefNum (Slice *currSlice)


Detailed Description

Improved Motion Compensation Precision Scheme using Weighted Prediction.

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

Definition in file wp_mcprec.c.


Function Documentation

void wpxAdaptRefNum ( Slice currSlice  ) 

Modify number of references.

Definition at line 338 of file wp_mcprec.c.

References inp_par_enc::B_List0_refs, inp_par_enc::B_List1_refs, inp_par_enc::P_List0_refs, and slice::slice_type.

Referenced by init_slice().

int wpxDetermineWP ( Slice currSlice,
int  clist,
int  n 
)

void wpxFreeWPXObject ( ImageParameters p_Img  ) 

Free WPR object structure.

Definition at line 54 of file wp_mcprec.c.

Referenced by free_global_buffers().

void wpxInitWPXObject ( ImageParameters p_Img  ) 

Initialize WPR object structure.

Definition at line 30 of file wp_mcprec.c.

References no_mem_exit().

Referenced by init_global_buffers().

Here is the call graph for this function:

void wpxInitWPXPasses ( ImageParameters p_Img,
InputParameters p_Inp 
)

Initialize WPR coding passes.

Definition at line 78 of file wp_mcprec.c.

Referenced by encode_one_frame(), and init_encoder().

void wpxModifyRefPicList ( Slice currSlice  ) 

Modifies ref_pic_list for all lists.

Definition at line 108 of file wp_mcprec.c.

References frame_store::is_used, and slice::slice_type.

Referenced by wp_mcprec_reorder_lists().


Documentation generated with DoxyGen