quantChroma_trellis.c File Reference

Quantization process for a Chroma block (trellis based). More...

#include "contributors.h"
#include <math.h>
#include "global.h"
#include "q_matrix.h"
#include "quant4x4.h"
#include "quantChroma.h"
#include "rdoq.h"

Include dependency graph for quantChroma_trellis.c:

Go to the source code of this file.

Functions

int quant_dc2x2_trellis (int **tblock, int qp, int *DCLevel, int *DCRun, int **fadjust, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_cavlc)
int quant_dc4x2_trellis (int **tblock, int qp, int *DCLevel, int *DCRun, int **fadjust, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_cavlc)
void rdoq_dc_cr_CAVLC (int **tblock, int qp_per, int qp_rem, int levelscale, int leveloffset, const byte(*pos_scan)[2], int levelTrellis[], int type)
void rdoq_dc_cr_CABAC (int **tblock, int qp_per, int qp_rem, int levelscale, int leveloffset, const byte(*pos_scan)[2], int levelTrellis[], int type)


Detailed Description

Quantization process for a Chroma block (trellis based).

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

Definition in file quantChroma_trellis.c.


Function Documentation

int quant_dc2x2_trellis ( int **  tblock,
int  qp,
int *  DCLevel,
int *  DCRun,
int **  fadjust,
int  levelscale,
int  invlevelscale,
int  leveloffset,
const byte(*)  pos_scan[2],
int  is_cavlc 
)

Quantization process for All coefficients for a 2x2 DC block.

Input:
Output:

Definition at line 37 of file quantChroma_trellis.c.

Referenced by init_quant_Chroma().

int quant_dc4x2_trellis ( int **  tblock,
int  qp,
int *  DCLevel,
int *  DCRun,
int **  fadjust,
int  levelscale,
int  invlevelscale,
int  leveloffset,
const byte(*)  pos_scan[2],
int  is_cavlc 
)

Quantization process for All coefficients for a 2x2 DC block.

Input:
Output:

Definition at line 112 of file quantChroma_trellis.c.

Referenced by init_quant_Chroma().

void rdoq_dc_cr_CABAC ( int **  tblock,
int  qp_per,
int  qp_rem,
int  levelscale,
int  leveloffset,
const byte(*)  pos_scan[2],
int  levelTrellis[],
int  type 
)

Rate distortion optimized Quantization process for all coefficients in a chroma DC block.

Definition at line 210 of file quantChroma_trellis.c.

References ImageParameters::current_mb_nr, est_write_and_store_CBP_block_bit(), est_writeRunLevel_CABAC(), init_trellis_data_DC_cr_CABAC(), ImageParameters::lambda_md, ImageParameters::masterQP, ImageParameters::mb_data, ImageParameters::nal_reference_idc, and ImageParameters::type.

Referenced by init_quant_Chroma().

Here is the call graph for this function:

void rdoq_dc_cr_CAVLC ( int **  tblock,
int  qp_per,
int  qp_rem,
int  levelscale,
int  leveloffset,
const byte(*)  pos_scan[2],
int  levelTrellis[],
int  type 
)

Rate distortion optimized Quantization process for all coefficients in a chroma DC block.

Definition at line 182 of file quantChroma_trellis.c.

References ImageParameters::current_mb_nr, est_RunLevel_CAVLC(), init_trellis_data_DC_cr_CAVLC(), ImageParameters::lambda_md, ImageParameters::masterQP, ImageParameters::mb_data, ImageParameters::nal_reference_idc, ImageParameters::num_cdc_coeff, and ImageParameters::type.

Referenced by init_quant_Chroma().

Here is the call graph for this function:


Documentation generated with DoxyGen