#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"
Go to the source code of this file.
Functions | |
int | quant_4x4_around (Macroblock *currMB, int **tblock, struct quant_methods *q_method) |
int | quant_ac4x4_around (Macroblock *currMB, int **tblock, struct quant_methods *q_method, int type) |
int | quant_dc4x4_around (Macroblock *currMB, int **tblock, int qp, int *DCLevel, int *DCRun, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2]) |
Definition in file quant4x4_around.c.
int quant_4x4_around | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
struct quant_methods * | q_method | |||
) |
Quantization process for All coefficients for a 4x4 block.
Definition at line 40 of file quant4x4_around.c.
References MAX_VALUE, macroblock::p_Img, and macroblock::p_slice.
Referenced by init_quant_4x4().
int quant_dc4x4_around | ( | 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 219 of file quant4x4_around.c.
References macroblock::p_Img, and macroblock::p_slice.