X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=plugins%2Fac3_adec%2Fac3_adec.h;fp=plugins%2Fac3_adec%2Fac3_adec.h;h=6ea6a88c0d692bbfc4dd7d4b9273c5bd4d0f814c;hb=49a0736e1c0224ace17fd8598de948439dd0ed03;hp=0000000000000000000000000000000000000000;hpb=bee557f98039f3af8f3d69715b8ba4f5b4f242fd;p=vlc diff --git a/plugins/ac3_adec/ac3_adec.h b/plugins/ac3_adec/ac3_adec.h new file mode 100644 index 0000000000..6ea6a88c0d --- /dev/null +++ b/plugins/ac3_adec/ac3_adec.h @@ -0,0 +1,57 @@ +/***************************************************************************** + * ac3_adec.h : ac3 decoder thread interface + ***************************************************************************** + * Copyright (C) 1999, 2000 VideoLAN + * $Id: ac3_adec.h,v 1.1 2001/11/13 12:09:17 henri Exp $ + * + * Authors: Michel Kaempf + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + *****************************************************************************/ + +/***************************************************************************** + * ac3dec_thread_t : ac3 decoder thread descriptor + *****************************************************************************/ + +typedef struct ac3dec_thread_s +{ + /* + * Decoder properties + */ + ac3dec_t * ac3_decoder; + + /* + * Thread properties + */ + vlc_thread_t thread_id; /* id for thread functions */ + + /* + * Input properties + */ + decoder_fifo_t * p_fifo; /* stores the PES stream data */ + int sync_ptr; /* sync ptr from ac3 magic header */ + decoder_config_t * p_config; + + /* + * Output properties + */ + aout_fifo_t * p_aout_fifo; /* stores the decompressed audio frames */ + +} ac3dec_thread_t; + +/***************************************************************************** + * Prototypes + *****************************************************************************/ +vlc_thread_t ac3dec_CreateThread( decoder_config_t * p_config );