]> git.sesse.net Git - vlc/blob - modules/codec/a52old/internal.h
* ./modules/*: moved plugins to the new tree. Yet untested builds include
[vlc] / modules / codec / a52old / internal.h
1 /*****************************************************************************
2  * internals.h: needed by the A52 decoder
3  *****************************************************************************
4  * Copyright (C) 2000 VideoLAN
5  * $Id: internal.h,v 1.1 2002/08/04 17:23:42 sam Exp $
6  *
7  * Authors: Michel Lespinasse <walken@zoy.org>
8  *
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.
13  * 
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.
18  *
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  *****************************************************************************/
23
24 /* Exponent strategy constants */
25 #define EXP_REUSE       (0)
26 #define EXP_D15         (1)
27 #define EXP_D25         (2)
28 #define EXP_D45         (3)
29
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)
35
36 /* bit_allocate.c */
37 void bit_allocate (a52dec_t *);
38
39 /* exponent.c */
40 int exponent_unpack (a52dec_t *);
41
42 /* imdct.c */
43 void E_( imdct_init )(imdct_t * p_imdct);
44 void imdct (a52dec_t * p_a52dec, s16 * buffer);
45
46 /* mantissa.c */
47 void mantissa_unpack (a52dec_t *);
48
49 /* parse.c */
50 int parse_bsi (a52dec_t *);
51 int parse_audblk (a52dec_t *, int);
52 void parse_auxdata (a52dec_t *);
53
54 /* rematrix.c */
55 void rematrix (a52dec_t *);
56