]> git.sesse.net Git - vlc/blob - modules/codec/a52/a52.h
* ./modules/gui/win32/Makefile: fixed the Win32 interface compilation.
[vlc] / modules / codec / a52 / a52.h
1 /*****************************************************************************
2  * a52.h: ATSC A/52 aka AC-3 decoder plugin for vlc.
3  *   This plugin makes use of liba52 to decode A/52 audio
4  *   (http://liba52.sf.net/).
5  *****************************************************************************
6  * Copyright (C) 2001 VideoLAN
7  * $Id: a52.h,v 1.2 2002/08/07 21:36:56 massiot Exp $
8  *
9  * Authors: Gildas Bazin <gbazin@netcourrier.com>
10  *      
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  * 
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
24  *****************************************************************************/
25
26 /*****************************************************************************
27  * a52_thread_t : a52 decoder thread descriptor
28  *****************************************************************************/
29 typedef struct a52_thread_s
30 {
31     /*
32      * liba52 properties
33      */
34     a52_state_t *       p_a52_state;
35     vlc_bool_t          b_dynrng;
36
37     /* The bit stream structure handles the PES stream at the bit level */
38     bit_stream_t        bit_stream;
39
40     /*
41      * Input properties
42      */
43     decoder_fifo_t *    p_fifo;                /* stores the PES stream data */
44     data_packet_t *     p_data;
45
46     /*
47      * Output properties
48      */
49     aout_instance_t *   p_aout; /* opaque */
50     aout_input_t *      p_aout_input; /* opaque */
51     audio_sample_format_t output_format;
52     mtime_t             last_date;
53 } a52_thread_t;