1*15dc779aSAndroid Build Coastguard Worker /****************************************************************************** 2*15dc779aSAndroid Build Coastguard Worker * * 3*15dc779aSAndroid Build Coastguard Worker * Copyright (C) 2018 The Android Open Source Project 4*15dc779aSAndroid Build Coastguard Worker * 5*15dc779aSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 6*15dc779aSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 7*15dc779aSAndroid Build Coastguard Worker * You may obtain a copy of the License at: 8*15dc779aSAndroid Build Coastguard Worker * 9*15dc779aSAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 10*15dc779aSAndroid Build Coastguard Worker * 11*15dc779aSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 12*15dc779aSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 13*15dc779aSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*15dc779aSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 15*15dc779aSAndroid Build Coastguard Worker * limitations under the License. 16*15dc779aSAndroid Build Coastguard Worker * 17*15dc779aSAndroid Build Coastguard Worker ***************************************************************************** 18*15dc779aSAndroid Build Coastguard Worker * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore 19*15dc779aSAndroid Build Coastguard Worker */ 20*15dc779aSAndroid Build Coastguard Worker #ifndef IXHEAACD_MPS_HUFF_TAB_H 21*15dc779aSAndroid Build Coastguard Worker #define IXHEAACD_MPS_HUFF_TAB_H 22*15dc779aSAndroid Build Coastguard Worker 23*15dc779aSAndroid Build Coastguard Worker typedef struct { WORD32 node_tab[39][2]; } ia_huff_res_nodes_struct; 24*15dc779aSAndroid Build Coastguard Worker 25*15dc779aSAndroid Build Coastguard Worker typedef struct { WORD32 node_tab[30][2]; } ia_huff_cld_node_1d_struct; 26*15dc779aSAndroid Build Coastguard Worker 27*15dc779aSAndroid Build Coastguard Worker typedef struct { WORD32 node_tab[7][2]; } ia_huff_icc_node_1d_struct; 28*15dc779aSAndroid Build Coastguard Worker 29*15dc779aSAndroid Build Coastguard Worker typedef struct { WORD32 node_tab[50][2]; } ia_huff_cpc_node_1d_struct; 30*15dc779aSAndroid Build Coastguard Worker 31*15dc779aSAndroid Build Coastguard Worker typedef struct { 32*15dc779aSAndroid Build Coastguard Worker WORD32 lav3[15][2]; 33*15dc779aSAndroid Build Coastguard Worker WORD32 lav5[35][2]; 34*15dc779aSAndroid Build Coastguard Worker WORD32 lav7[63][2]; 35*15dc779aSAndroid Build Coastguard Worker WORD32 lav9[99][2]; 36*15dc779aSAndroid Build Coastguard Worker } ia_huff_cld_node_2d_struct; 37*15dc779aSAndroid Build Coastguard Worker 38*15dc779aSAndroid Build Coastguard Worker typedef struct { 39*15dc779aSAndroid Build Coastguard Worker WORD32 lav1[3][2]; 40*15dc779aSAndroid Build Coastguard Worker WORD32 lav3[15][2]; 41*15dc779aSAndroid Build Coastguard Worker WORD32 lav5[35][2]; 42*15dc779aSAndroid Build Coastguard Worker WORD32 lav7[63][2]; 43*15dc779aSAndroid Build Coastguard Worker } ia_huff_icc_node_2d_struct; 44*15dc779aSAndroid Build Coastguard Worker 45*15dc779aSAndroid Build Coastguard Worker typedef struct { 46*15dc779aSAndroid Build Coastguard Worker WORD32 lav3[15][2]; 47*15dc779aSAndroid Build Coastguard Worker WORD32 lav6[48][2]; 48*15dc779aSAndroid Build Coastguard Worker WORD32 lav9[99][2]; 49*15dc779aSAndroid Build Coastguard Worker WORD32 lav12[168][2]; 50*15dc779aSAndroid Build Coastguard Worker } ia_mps_dec_huff_cpc_nod_2d; 51*15dc779aSAndroid Build Coastguard Worker 52*15dc779aSAndroid Build Coastguard Worker typedef struct { 53*15dc779aSAndroid Build Coastguard Worker ia_huff_cld_node_1d_struct h_1_dim[3]; 54*15dc779aSAndroid Build Coastguard Worker ia_huff_cld_node_2d_struct h_2_dim[3][2]; 55*15dc779aSAndroid Build Coastguard Worker 56*15dc779aSAndroid Build Coastguard Worker } ia_huff_cld_nodes_struct; 57*15dc779aSAndroid Build Coastguard Worker 58*15dc779aSAndroid Build Coastguard Worker typedef struct { 59*15dc779aSAndroid Build Coastguard Worker ia_huff_icc_node_1d_struct h_1_dim[3]; 60*15dc779aSAndroid Build Coastguard Worker ia_huff_icc_node_2d_struct h_2_dim[3][2]; 61*15dc779aSAndroid Build Coastguard Worker 62*15dc779aSAndroid Build Coastguard Worker } ia_huff_icc_nodes_struct; 63*15dc779aSAndroid Build Coastguard Worker 64*15dc779aSAndroid Build Coastguard Worker typedef struct { 65*15dc779aSAndroid Build Coastguard Worker ia_huff_cpc_node_1d_struct h_1_dim[3]; 66*15dc779aSAndroid Build Coastguard Worker ia_mps_dec_huff_cpc_nod_2d h_2_dim[3][2]; 67*15dc779aSAndroid Build Coastguard Worker 68*15dc779aSAndroid Build Coastguard Worker } ia_huff_cpc_nodes_struct; 69*15dc779aSAndroid Build Coastguard Worker 70*15dc779aSAndroid Build Coastguard Worker typedef struct { 71*15dc779aSAndroid Build Coastguard Worker WORD32 cld[30][2]; 72*15dc779aSAndroid Build Coastguard Worker WORD32 icc[7][2]; 73*15dc779aSAndroid Build Coastguard Worker WORD32 cpc[25][2]; 74*15dc779aSAndroid Build Coastguard Worker 75*15dc779aSAndroid Build Coastguard Worker } ia_huff_pt0_nodes_struct; 76*15dc779aSAndroid Build Coastguard Worker 77*15dc779aSAndroid Build Coastguard Worker typedef struct { WORD32 node_tab[3][2]; } ia_huff_lav_nodes_struct; 78*15dc779aSAndroid Build Coastguard Worker 79*15dc779aSAndroid Build Coastguard Worker typedef struct { WORD32 node_tab[7][2]; } ia_huff_ipd_node_1d_struct; 80*15dc779aSAndroid Build Coastguard Worker 81*15dc779aSAndroid Build Coastguard Worker typedef struct { 82*15dc779aSAndroid Build Coastguard Worker WORD32 lav1[3][2]; 83*15dc779aSAndroid Build Coastguard Worker WORD32 lav3[15][2]; 84*15dc779aSAndroid Build Coastguard Worker WORD32 lav5[35][2]; 85*15dc779aSAndroid Build Coastguard Worker WORD32 lav7[63][2]; 86*15dc779aSAndroid Build Coastguard Worker } ia_huff_ipd_node_2d_struct; 87*15dc779aSAndroid Build Coastguard Worker 88*15dc779aSAndroid Build Coastguard Worker typedef struct { 89*15dc779aSAndroid Build Coastguard Worker ia_huff_ipd_node_1d_struct hp0; 90*15dc779aSAndroid Build Coastguard Worker ia_huff_ipd_node_1d_struct h_1_dim[3]; 91*15dc779aSAndroid Build Coastguard Worker ia_huff_ipd_node_2d_struct h_2_dim[3][2]; 92*15dc779aSAndroid Build Coastguard Worker 93*15dc779aSAndroid Build Coastguard Worker } ia_huff_ipd_nodes_struct; 94*15dc779aSAndroid Build Coastguard Worker 95*15dc779aSAndroid Build Coastguard Worker #endif /* IXHEAACD_MPS_HUFF_TAB_H */ 96