1/* ------------------------------------------------------------------
2 * Copyright (C) 1998-2009 PacketVideo
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13 * express or implied.
14 * See the License for the specific language governing permissions
15 * and limitations under the License.
16 * -------------------------------------------------------------------
17 */
18/*
19------------------------------------------------------------------------------
20
21   PacketVideo Corp.
22   MP3 Decoder Library
23
24   Filename: s_huffcodetab.h
25
26   Date: 09/21/2007
27
28------------------------------------------------------------------------------
29 REVISION HISTORY
30
31 Description:
32------------------------------------------------------------------------------
33 INCLUDE DESCRIPTION
34
35
36------------------------------------------------------------------------------
37 REFERENCES
38
39 [1] ISO MPEG Audio Subgroup Software Simulation Group (1996)
40     ISO 13818-3 MPEG-2 Audio Decoder - Lower Sampling Frequency Extension
41
42----------------------------------------------------------------------------*/
43/*----------------------------------------------------------------------------
44; CONTINUE ONLY IF NOT ALREADY DEFINED
45----------------------------------------------------------------------------*/
46#ifndef  S_HUFFCODETAB_H
47#define  S_HUFFCODETAB_H
48
49/*----------------------------------------------------------------------------
50; INCLUDES
51----------------------------------------------------------------------------*/
52#include "pvmp3_audio_type_defs.h"
53
54/*----------------------------------------------------------------------------
55; MACROS
56; Define module specific macros here
57----------------------------------------------------------------------------*/
58
59/*----------------------------------------------------------------------------
60; DEFINES
61; Include all pre-processor statements here.
62----------------------------------------------------------------------------*/
63#define HUFF_TBL    34
64
65/*----------------------------------------------------------------------------
66; EXTERNAL VARIABLES REFERENCES
67; Declare variables used in this module but defined elsewhere
68----------------------------------------------------------------------------*/
69
70/*----------------------------------------------------------------------------
71; SIMPLE TYPEDEF'S
72----------------------------------------------------------------------------*/
73
74/*----------------------------------------------------------------------------
75; ENUMERATED TYPEDEF'S
76----------------------------------------------------------------------------*/
77
78/*----------------------------------------------------------------------------
79; STRUCTURES TYPEDEF'S
80----------------------------------------------------------------------------*/
81
82struct huffcodetab
83{
84    uint32 linbits;                  /*number of linbits  */
85    uint16(*pdec_huff_tab)(tmp3Bits *);
86};
87
88
89/*----------------------------------------------------------------------------
90; GLOBAL FUNCTION DEFINITIONS
91; Function Prototype declaration
92----------------------------------------------------------------------------*/
93
94/*----------------------------------------------------------------------------
95; END
96----------------------------------------------------------------------------*/
97#endif
98
99