1 
2 /*!
3  ***************************************************************************
4  * \file
5  *    q_matrix.h
6  *
7  * \brief
8  *    Headerfile for q_matrix array
9  *
10  * \date
11  *    07. Apr 2004
12  ***************************************************************************
13  */
14 
15 #ifndef _Q_MATRIX_H_
16 #define _Q_MATRIX_H_
17 
18 struct scaling_list {
19   short ScalingList4x4input[6][16];
20   short ScalingList8x8input[6][64];
21   short ScalingList4x4[6][16];
22   short ScalingList8x8[6][64];
23 
24   short UseDefaultScalingMatrix4x4Flag[6];
25   short UseDefaultScalingMatrix8x8Flag[6];
26 };
27 
28 extern void init_qmatrix (VideoParameters *p_Vid, InputParameters *p_Inp);
29 extern void CalculateQuant4x4Param (VideoParameters *p_Vid);
30 extern void CalculateQuant8x8Param (VideoParameters *p_Vid);
31 extern void free_QMatrix(QuantParameters *p_Quant);
32 
33 #endif
34