• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2 *
3 * Copyright (C) 2012 Ittiam Systems Pvt Ltd, Bangalore
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 /**
19 *******************************************************************************
20 * @file
21 *  ihevc_common_tables.h
22 *
23 * @brief
24 *  Common tables
25 *
26 * @author
27 *  Harish
28 *
29 * @par List of Functions:
30 *
31 * @remarks
32 *  None
33 *
34 *******************************************************************************
35 */
36 
37 #ifndef _IHEVC_COMMON_TABLES_H_
38 #define _IHEVC_COMMON_TABLES_H_
39 
40 extern MEM_ALIGN16 const WORD32 gai4_ihevc_max_luma_pic_size[];
41 extern MEM_ALIGN16 const WORD32 gai4_ihevc_max_wd_ht[];
42 extern MEM_ALIGN16 const WORD32 gai4_ihevc_min_wd_ht[];
43 
44 
45 extern MEM_ALIGN16 const WORD32 gai4_ihevc_ang_table[35];
46 extern MEM_ALIGN16 const WORD32 gai4_ihevc_inv_ang_table[14];
47 
48 extern MEM_ALIGN16 const UWORD8  gau1_ihevc_scan8x8[][64];
49 extern MEM_ALIGN16 const UWORD8  gau1_ihevc_scan4x4[][16];
50 extern MEM_ALIGN16 const UWORD8  gau1_ihevc_scan2x2[][4];
51 
52 extern MEM_ALIGN16 const UWORD8  gau1_ihevc_invscan8x8[][64];
53 extern MEM_ALIGN16 const UWORD8  gau1_ihevc_invscan4x4[][16];
54 extern MEM_ALIGN16 const UWORD8  gau1_ihevc_invscan2x2[][4];
55 
56 extern MEM_ALIGN16 const void   *gapv_ihevc_scan[];
57 extern MEM_ALIGN16 const void   *gapv_ihevc_invscan[];
58 extern MEM_ALIGN16 const UWORD8 gau1_ihevc_chroma_qp_scale[];
59 extern MEM_ALIGN16 const WORD8 gai1_ihevc_chroma_qp_scale[];
60 
61 extern MEM_ALIGN16 const WORD32 gai4_ihevc_ang_table_chroma[35];
62 extern MEM_ALIGN16 const WORD32 gai4_ihevc_inv_ang_table_chroma[14];
63 extern MEM_ALIGN16 const UWORD8 gau1_ihevc_planar_factor_chroma[33];
64 
65 extern MEM_ALIGN16 const UWORD8 gau1_ihevc_planar_factor[65];
66 
67 extern MEM_ALIGN16 const UWORD8 gau1_intra_pred_ref_filter[];
68 
69 extern MEM_ALIGN16 const WORD8 gi1_table_edge_idx[8];
70 
71 extern MEM_ALIGN16 const UWORD8 gu1_table_band_idx[32];
72 
73 extern MEM_ALIGN16 const UWORD16 gu2_table_band_idx[32];
74 
75 #endif /*_IHEVC_COMMON_TABLES_H_*/
76