quant4x4_normal.c File Reference

Quantization process for a 4x4 block. 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 "quant4x4.h"

Include dependency graph for quant4x4_normal.c:

Go to the source code of this file.

Functions

int quant_4x4_normal (Macroblock *currMB, int **tblock, struct quant_methods *q_method)
int quant_ac4x4_normal (Macroblock *currMB, int **tblock, struct quant_methods *q_method, int type)
int quant_dc4x4_normal (Macroblock *currMB, int **tblock, int qp, int *DCLevel, int *DCRun, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2])


Detailed Description

Quantization process for a 4x4 block.

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

Definition in file quant4x4_normal.c.


Function Documentation

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

Quantization process for All coefficients for a 4x4 block.

Definition at line 39 of file quant4x4_normal.c.

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

Referenced by init_quant_4x4().

int quant_dc4x4_normal ( Macroblock currMB,
int **  tblock,
int  qp,
int *  DCLevel,
int *  DCRun,
LevelQuantParams *  q_params_4x4,
const byte(*)  pos_scan[2] 
)

Quantization process for All coefficients for a 4x4 DC block.

Definition at line 192 of file quant4x4_normal.c.

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

Referenced by init_quant_4x4().


Documentation generated with DoxyGen