#include "contributors.h"
#include "global.h"
#include "memalloc.h"
#include "block.h"
#include "image.h"
#include "mb_access.h"
#include "transform.h"
#include "quant.h"
Go to the source code of this file.
Functions | |
void | init_qp_process (ImageParameters *p_Img) |
void | free_qp_matrices (ImageParameters *p_Img) |
void | assign_quant_params (Slice *currSlice, pic_parameter_set_rbsp_t *pps, seq_parameter_set_rbsp_t *sps) |
void | CalculateQuant4x4Param (Slice *currSlice) |
void | CalculateQuant8x8Param (Slice *currSlice) |
Variables | |
int | quant_intra_default [16] |
int | quant_inter_default [16] |
int | quant8_intra_default [64] |
int | quant8_inter_default [64] |
int | quant_org [16] |
int | quant8_org [64] |
Definition in file quant.c.
void assign_quant_params | ( | Slice * | currSlice, | |
pic_parameter_set_rbsp_t * | pps, | |||
seq_parameter_set_rbsp_t * | sps | |||
) |
For mapping the q-matrix to the active id and calculate quantisation values.
currSlice | Slice pointer | |
pps | Picture parameter set | |
sps | Sequence parameter set |
Definition at line 137 of file quant.c.
References CalculateQuant4x4Param(), CalculateQuant8x8Param(), and YUV444.
Referenced by read_new_slice().
void CalculateQuant4x4Param | ( | Slice * | currSlice | ) |
For calculating the quantisation values at frame level.
Definition at line 265 of file quant.c.
References dequant_coef.
Referenced by assign_quant_params().
void CalculateQuant8x8Param | ( | Slice * | currSlice | ) |
Calculate the quantisation and inverse quantisation parameters.
Definition at line 295 of file quant.c.
Referenced by assign_quant_params().
void init_qp_process | ( | ImageParameters * | p_Img | ) |
Initiate quantization process arrays.
Definition at line 86 of file quant.c.
References no_mem_exit().
Referenced by init_global_buffers().
int quant8_inter_default[64] |
int quant8_intra_default[64] |
int quant8_org[64] |
int quant_inter_default[16] |
int quant_intra_default[16] |
int quant_org[16] |