#include "contributors.h"
#include <math.h>
#include "global.h"
#include "image.h"
#include "mb_access.h"
#include "vlc.h"
#include "transform.h"
#include "mc_prediction.h"
#include "q_offsets.h"
#include "q_matrix.h"
#include "quant8x8.h"
#include "rdoq.h"
Go to the source code of this file.
Functions | |
static void | rdoq_8x8_CABAC (Macroblock *currMB, int **tblock, int block_x, int qp_per, int qp_rem, LevelQuantParams **q_params_8x8, const byte *p_scan, int levelTrellis[64]) |
static void | rdoq_8x8_CAVLC (Macroblock *currMB, int **tblock, int block_y, int block_x, int qp_per, int qp_rem, LevelQuantParams **q_params_8x8, const byte *p_scan, int levelTrellis[4][16]) |
int | quant_8x8_trellis (Macroblock *currMB, int **tblock, struct quant_methods *q_method) |
int | quant_8x8cavlc_trellis (Macroblock *currMB, int **tblock, struct quant_methods *q_method, int ***cofAC) |
Definition in file quant8x8_trellis.c.
int quant_8x8_trellis | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
struct quant_methods * | q_method | |||
) |
Quantization process for All coefficients for a 8x8 block.
Definition at line 105 of file quant8x8_trellis.c.
References MAX_VALUE, macroblock::p_Img, and rdoq_8x8_CABAC().
Referenced by init_quant_8x8().
int quant_8x8cavlc_trellis | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
struct quant_methods * | q_method, | |||
int *** | cofAC | |||
) |
Quantization process for All coefficients for a 8x8 block CAVLC version.
Definition at line 184 of file quant8x8_trellis.c.
References MAX_VALUE, macroblock::p_Img, and rdoq_8x8_CAVLC().
Referenced by init_quant_8x8().
static void rdoq_8x8_CABAC | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
int | block_x, | |||
int | qp_per, | |||
int | qp_rem, | |||
LevelQuantParams ** | q_params_8x8, | |||
const byte * | p_scan, | |||
int | levelTrellis[64] | |||
) | [static] |
Rate distortion optimized Quantization process for all coefficients in a 8x8 block.
Definition at line 39 of file quant8x8_trellis.c.
References est_writeRunLevel_CABAC(), img_par::lambda_md, img_par::masterQP, and macroblock::p_Img.
Referenced by quant_8x8_trellis().
static void rdoq_8x8_CAVLC | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
int | block_y, | |||
int | block_x, | |||
int | qp_per, | |||
int | qp_rem, | |||
LevelQuantParams ** | q_params_8x8, | |||
const byte * | p_scan, | |||
int | levelTrellis[4][16] | |||
) | [static] |
Rate distortion optimized Quantization process for all coefficients in a 8x8 block.
Definition at line 68 of file quant8x8_trellis.c.
References est_RunLevel_CAVLC(), init_trellis_data_8x8_CAVLC(), img_par::lambda_md, img_par::masterQP, and macroblock::p_Img.
Referenced by quant_8x8cavlc_trellis().