1
/*****************************************************************************
2
* ac3_internals.h: needed by the ac3 decoder
3
*****************************************************************************
4
* Copyright (C) 2000 VideoLAN
5
* $Id: ac3_internal.h,v 1.1 2001/11/13 12:09:17 henri Exp $
7
* Authors: Michel Lespinasse <walken@zoy.org>
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* (at your option) any later version.
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, write to the Free Software
21
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22
*****************************************************************************/
24
/* Exponent strategy constants */
30
/* Delta bit allocation constants */
31
#define DELTA_BIT_REUSE (0)
32
#define DELTA_BIT_NEW (1)
33
#define DELTA_BIT_NONE (2)
34
#define DELTA_BIT_RESERVED (3)
36
/* ac3_bit_allocate.c */
37
void bit_allocate (ac3dec_t *);
40
int exponent_unpack (ac3dec_t *);
43
void imdct_init (imdct_t * p_imdct);
44
void imdct (ac3dec_t * p_ac3dec, s16 * buffer);
47
void mantissa_unpack (ac3dec_t *);
50
int parse_bsi (ac3dec_t *);
51
int parse_audblk (ac3dec_t *, int);
52
void parse_auxdata (ac3dec_t *);
55
void rematrix (ac3dec_t *);