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
40extern MEM_ALIGN16 const WORD32 gai4_ihevc_max_luma_pic_size[];
41extern MEM_ALIGN16 const WORD32 gai4_ihevc_max_wd_ht[];
42extern MEM_ALIGN16 const WORD32 gai4_ihevc_min_wd_ht[];
43
44
45extern MEM_ALIGN16 const WORD32 gai4_ihevc_ang_table[35];
46extern MEM_ALIGN16 const WORD32 gai4_ihevc_inv_ang_table[14];
47
48extern MEM_ALIGN16 const UWORD8  gau1_ihevc_scan8x8[][64];
49extern MEM_ALIGN16 const UWORD8  gau1_ihevc_scan4x4[][16];
50extern MEM_ALIGN16 const UWORD8  gau1_ihevc_scan2x2[][4];
51
52extern MEM_ALIGN16 const UWORD8  gau1_ihevc_invscan8x8[][64];
53extern MEM_ALIGN16 const UWORD8  gau1_ihevc_invscan4x4[][16];
54extern MEM_ALIGN16 const UWORD8  gau1_ihevc_invscan2x2[][4];
55
56extern MEM_ALIGN16 const void   *gapv_ihevc_scan[];
57extern MEM_ALIGN16 const void   *gapv_ihevc_invscan[];
58extern MEM_ALIGN16 const UWORD8 gau1_ihevc_chroma_qp_scale[];
59extern MEM_ALIGN16 const WORD8 gai1_ihevc_chroma_qp_scale[];
60
61extern MEM_ALIGN16 const WORD32 gai4_ihevc_ang_table_chroma[35];
62extern MEM_ALIGN16 const WORD32 gai4_ihevc_inv_ang_table_chroma[14];
63extern MEM_ALIGN16 const UWORD8 gau1_ihevc_planar_factor_chroma[33];
64
65extern MEM_ALIGN16 const UWORD8 gau1_ihevc_planar_factor[65];
66
67extern MEM_ALIGN16 const UWORD8 gau1_intra_pred_ref_filter[];
68
69extern MEM_ALIGN16 const WORD8 gi1_table_edge_idx[8];
70
71extern MEM_ALIGN16 const UWORD8 gu1_table_band_idx[32];
72
73extern MEM_ALIGN16 const UWORD16 gu2_table_band_idx[32];
74
75#endif /*_IHEVC_COMMON_TABLES_H_*/
76