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 #ifndef __IMPEG2_GLOBALS_H__
21 #define __IMPEG2_GLOBALS_H__
22 
23 extern const UWORD8 gau1_impeg2_non_linear_quant_scale[];
24 extern const UWORD8 gau1_impeg2_intra_quant_matrix_default[];
25 extern const UWORD8 gau1_impeg2_inter_quant_matrix_default[];
26 extern const UWORD8  gau1_impeg2_inv_scan_vertical[];
27 extern const UWORD8  gau1_impeg2_inv_scan_zig_zag[];
28 extern const UWORD16 gau2_impeg2_frm_rate_code[][2];
29 
30 extern const UWORD16 gau2_impeg2_chroma_interp_mv[][16];
31 extern const UWORD16 gau2_impeg2_chroma_interp_inp1[][16];
32 extern const UWORD16 gau2_impeg2_luma_interp_inp1[];
33 extern const UWORD16 gau2_impeg2_luma_interp_inp2[];
34 extern const UWORD16 gau2_impeg2_chroma_interp_inp2[];
35 
36 extern const WORD16  gai2_impeg2_idct_q15[];
37 extern const WORD16  gai2_impeg2_idct_q11[];
38 
39 extern const WORD16 gai2_impeg2_mismatch_stg1_outp[];
40 extern const WORD16 gai2_impeg2_idct_last_row_q11[];
41 extern const WORD16 gai2_impeg2_idct_first_col_q15[];
42 extern const WORD16 gai2_impeg2_idct_first_col_q11[];
43 extern const WORD16 gai2_impeg2_mismatch_stg2_additive[];
44 
45 extern const WORD16  gai2_impeg2_blk_y_off_fld[];
46 extern const WORD16  gai2_impeg2_blk_y_off_frm[];
47 extern const WORD16  gai2_impeg2_blk_x_off[];
48 
49 extern const UWORD8 gau1_impeg2_zerobuf[];
50 
51 extern const WORD16 gai2_impeg2_idct_odd_8_q15[8][8];
52 extern const WORD16 gai2_impeg2_idct_odd_8_q11[8][8];
53 
54 extern const WORD16 gai2_impeg2_idct_even_8_q11[4][8];
55 extern const WORD16 gai2_impeg2_idct_even_8_q15[4][8];
56 
57 #endif /* __IMPEG2_GLOBALS_H__ */
58