rdoq.c File Reference

Rate Distortion Optimized Quantization based on VCEG-AH21. More...

#include "contributors.h"
#include <math.h>
#include <float.h>
#include "global.h"
#include "image.h"
#include "fmo.h"
#include "macroblock.h"
#include "mb_access.h"
#include "rdopt.h"
#include "rdoq.h"
#include "mv_search.h"

Include dependency graph for rdoq.c:

Go to the source code of this file.

Defines

#define RDOQ_BASE   0

Functions

void init_rdoq_slice (Slice *currSlice)
int init_trellis_data_DC_cr_CAVLC (Macroblock *currMB, int **tblock, int qp_per, int qp_rem, LevelQuantParams *q_params_4x4, const byte *p_scan, levelDataStruct *dataLevel)
int init_trellis_data_DC_cr_CABAC (Macroblock *currMB, int **tblock, int qp_per, int qp_rem, LevelQuantParams *q_params_4x4, const byte *p_scan, levelDataStruct *dataLevel, int *kStart, int *kStop)
void get_dQP_table (Slice *currSlice)
void trellis_mp (Macroblock *currMB, Boolean prev_recode_mb)
void trellis_sp (Macroblock *currMB, Boolean prev_recode_mb)
void trellis_coding (Macroblock *currMB, Boolean prev_recode_mb)
void RDOQ_update_mode (Slice *currSlice, RD_PARAMS *enc_mb)
void copy_rddata_trellis (Macroblock *currMB, RD_DATA *dest, RD_DATA *src)
void updateMV_mp (Macroblock *currMB, int *m_cost, short ref, int list, int h, int v, int blocktype, int block8x8)


Detailed Description

Rate Distortion Optimized Quantization based on VCEG-AH21.

Definition in file rdoq.c.


Function Documentation

void init_rdoq_slice ( Slice currSlice  ) 

Initialize the parameters related to RDO_Q in slice level.

Definition at line 33 of file rdoq.c.

Referenced by init_slice().

int init_trellis_data_DC_cr_CABAC ( Macroblock currMB,
int **  tblock,
int  qp_per,
int  qp_rem,
LevelQuantParams *  q_params_4x4,
const byte p_scan,
levelDataStruct *  dataLevel,
int *  kStart,
int *  kStop 
)

Initialize levelData for Chroma DC.

Definition at line 128 of file rdoq.c.

References macroblock::p_Img, and macroblock::p_slice.

Referenced by rdoq_dc_cr_CABAC().

int init_trellis_data_DC_cr_CAVLC ( Macroblock currMB,
int **  tblock,
int  qp_per,
int  qp_rem,
LevelQuantParams *  q_params_4x4,
const byte p_scan,
levelDataStruct *  dataLevel 
)

Initialize levelData for Chroma DC.

Definition at line 46 of file rdoq.c.

References macroblock::p_Img, and macroblock::p_slice.

Referenced by rdoq_dc_cr_CAVLC().


Documentation generated with DoxyGen