quant8x8_trellis.c File Reference

Quantization process for a 4x4 block using trellis based quantization. More...

#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"

Include dependency graph for quant8x8_trellis.c:

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)


Detailed Description

Quantization process for a 4x4 block using trellis based quantization.

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

Definition in file quant8x8_trellis.c.


Function Documentation

int quant_8x8_trellis ( Macroblock currMB,
int **  tblock,
struct quant_methods *  q_method 
)

Quantization process for All coefficients for a 8x8 block.

Input:
Output:

Definition at line 105 of file quant8x8_trellis.c.

References MAX_VALUE, macroblock::p_Img, and rdoq_8x8_CABAC().

Referenced by init_quant_8x8().

Here is the call graph for this function:

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.

Input:
Output:

Definition at line 184 of file quant8x8_trellis.c.

References MAX_VALUE, macroblock::p_Img, and rdoq_8x8_CAVLC().

Referenced by init_quant_8x8().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Documentation generated with DoxyGen