aboutsummaryrefslogtreecommitdiff
path: root/decoder/ixheaacd_mps_huff_tab.h
blob: 20ed1e5dbe990b412fdbcaa53f130664c5a3aa9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/******************************************************************************
 *                                                                            *
 * Copyright (C) 2018 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 *****************************************************************************
 * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
*/
#ifndef IXHEAACD_MPS_HUFF_TAB_H
#define IXHEAACD_MPS_HUFF_TAB_H

typedef struct { const WORD32 node_tab[39][2]; } ia_huff_res_nodes_struct;

typedef struct { const WORD32 node_tab[30][2]; } ia_huff_cld_node_1d_struct;

typedef struct { const WORD32 node_tab[7][2]; } ia_huff_icc_node_1d_struct;

typedef struct { const WORD32 node_tab[50][2]; } HUFF_CPC_NOD_1D;

typedef struct {
  const WORD32 lav3[15][2];
  const WORD32 lav5[35][2];
  const WORD32 lav7[63][2];
  const WORD32 lav9[99][2];
} ia_huff_cld_node_2d_struct;

typedef struct {
  const WORD32 lav1[3][2];
  const WORD32 lav3[15][2];
  const WORD32 lav5[35][2];
  const WORD32 lav7[63][2];
} ia_huff_icc_node_2d_struct;

typedef struct {
  const WORD32 lav3[15][2];
  const WORD32 lav6[48][2];
  const WORD32 lav9[99][2];
  const WORD32 lav12[168][2];
} HUFF_CPC_NOD_2D;

typedef struct {
  ia_huff_cld_node_1d_struct h_1_dim[3];
  ia_huff_cld_node_2d_struct h_2_dim[3][2];

} ia_huff_cld_nodes_struct;

typedef struct {
  ia_huff_icc_node_1d_struct h_1_dim[3];
  ia_huff_icc_node_2d_struct h_2_dim[3][2];

} ia_huff_icc_nodes_struct;

typedef struct {
  HUFF_CPC_NOD_1D h_1_dim[3];
  HUFF_CPC_NOD_2D h_2_dim[3][2];

} HUFF_CPC_NODES;

typedef struct {
  const WORD32 cld[30][2];
  const WORD32 icc[7][2];
  const WORD32 cpc[25][2];

} ia_huff_pt0_nodes_struct;

typedef struct { const WORD32 node_tab[3][2]; } ia_huff_lav_nodes_struct;

typedef struct { const WORD32 node_tab[7][2]; } ia_huff_ipd_node_1d_struct;

typedef struct {
  const WORD32 lav1[3][2];
  const WORD32 lav3[15][2];
  const WORD32 lav5[35][2];
  const WORD32 lav7[63][2];
} ia_huff_ipd_node_2d_struct;

typedef struct {
  ia_huff_ipd_node_1d_struct hp0;
  ia_huff_ipd_node_1d_struct h_1_dim[3];
  ia_huff_ipd_node_2d_struct h_2_dim[3][2];

} ia_huff_ipd_nodes_struct;

#endif