blob: c35682c023685c6d7a725aadd55fa82f9a61097a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/*!
***************************************************************************
* \file
* quant_params.h
*
* \author
* Alexis Michael Tourapis
*
* \brief
* Headerfile for Quantization parameters
**************************************************************************
*/
#ifndef _QUANT_PARAMS_H_
#define _QUANT_PARAMS_H_
struct level_quant_params {
int OffsetComp;
int ScaleComp;
int InvScaleComp;
};
typedef struct level_quant_params LevelQuantParams;
struct quant_params {
int AdaptRndWeight;
int AdaptRndCrWeight;
LevelQuantParams *****q_params_4x4;
LevelQuantParams *****q_params_8x8;
int *qp_per_matrix;
int *qp_rem_matrix;
short **OffsetList4x4input;
short **OffsetList8x8input;
short ***OffsetList4x4;
short ***OffsetList8x8;
};
struct quant_methods {
int block_y;
int block_x;
int qp;
int* ACLevel;
int* ACRun;
int **fadjust;
LevelQuantParams **q_params;
int *coeff_cost;
const byte (*pos_scan)[2];
const byte *c_cost;
};
#endif
|