#include "contributors.h"
#include "global.h"
#include "image.h"
#include "slice.h"
#include "list_reorder.h"
#include "wp_mcprec.h"
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) |
Definition in file wp_mcprec.c.
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 | |||
) |
Determine whether it is fine to determine WP parameters.
Definition at line 241 of file wp_mcprec.c.
References slice::slice_type, slice::wbp_weight, slice::wp_offset, and slice::wp_weight.
Referenced by EstimateWPBSliceAlg0(), EstimateWPBSliceAlg1(), EstimateWPBSliceAlg2(), EstimateWPPSliceAlg0(), EstimateWPPSliceAlg1(), and EstimateWPPSliceAlg2().
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().
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().