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  * @file
23  *  ih264_deblk_tables.h
24  *
25  * @brief
26  *  This file contains declarations of tables used for deblocking
27  *
28  * @author
29  *  Ittiam
30  *
31  * @par List of Functions:
32  *
33  * @remarks
34  *  None
35  *
36  *******************************************************************************
37  */
38 
39 #ifndef IH264_DEBLK_TABLES_H_
40 #define IH264_DEBLK_TABLES_H_
41 
42 /*****************************************************************************/
43 /* Extern global declarations                                                */
44 /*****************************************************************************/
45 
46 /**
47  ******************************************************************************
48  * @brief  alpha & beta tables for deblocking
49  * input   : indexA [0-51] & indexB [0-51]
50  * output  : alpha & beta
51  *
52  * @remarks Table 8-16 � in H264 Specification,
53  * Derivation of offset dependent threshold variables
54  *  alpha and beta from indexA and indexB
55  ******************************************************************************
56  */
57 extern const UWORD8 gu1_ih264_alpha_table[52];
58 
59 extern const UWORD8 gu1_ih264_beta_table[52];
60 
61 /**
62  ******************************************************************************
63  * @brief  t'C0 table for deblocking
64  * input   : indexA [0-51] and bS [1,3]
65  * output  : t'C0
66  *
67  * @remarks Table 8-17 � in H264 Specification,
68  * Value of variable t'C0 as a function of indexA and bS
69  ******************************************************************************
70  */
71 extern const UWORD8 gu1_ih264_clip_table[52][4];
72 
73 #endif /* IH264_DEBLK_TABLES_H_ */
74