xref: /aosp_15_r20/external/libavc/common/ih264_trans_data.h (revision 495ae853bb871d1e5a258cb02c2cc13cde8ddb9a)
1 /******************************************************************************
2  *
3  * Copyright (C) 2015 The Android Open Source Project
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at:
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *****************************************************************************
18  * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
19 */
20 
21 /**
22 *******************************************************************************
23 * @file
24 *  ih264_trans_data.h
25 *
26 * @brief
27 *  Contains declaration of global variables for H264 transform, qunat and
28 *  inverse quant
29 *
30 * @author
31 *  ittiam
32 *
33 * @remarks
34 *  none
35 *
36 *******************************************************************************
37 */
38 
39 #ifndef _IH264_TRANS_DATA_H_
40 #define _IH264_TRANS_DATA_H_
41 
42 /*****************************************************************************/
43 /* Extern global declarations                                                */
44 /*****************************************************************************/
45 
46 extern const UWORD16 gu2_quant_scale_matrix_4x4[96];
47 
48 extern const UWORD32 gu4_forward_quant_round_factor_4x4[9];
49 
50 extern const UWORD16 gu2_forward_quant_threshold_4x4[96];
51 
52 extern const UWORD16 gu2_quant_scale_matrix_8x8 [384];
53 
54 extern const UWORD8 gu1_qpc_fqpi[52];
55 
56 #endif /* _IH264_TRANS_DATA_H_ */
57