00001 /***************************************************************************** 00002 * dr_03.h 00003 * Copyright (C) 2001-2012 VideoLAN 00004 * $Id: dr_03.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ 00005 * 00006 * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with this library; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00021 * 00022 *****************************************************************************/ 00023 00035 #ifndef _DVBPSI_DR_03_H_ 00036 #define _DVBPSI_DR_03_H_ 00037 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00042 00043 /***************************************************************************** 00044 * dvbpsi_astream_dr_t 00045 *****************************************************************************/ 00057 typedef struct dvbpsi_astream_dr_s 00058 { 00059 bool b_free_format; 00060 uint8_t i_id; 00061 uint8_t i_layer; 00062 bool b_variable_rate_audio_indicator; 00064 } dvbpsi_astream_dr_t; 00065 00066 00067 /***************************************************************************** 00068 * dvbpsi_DecodeAStreamDr 00069 *****************************************************************************/ 00078 dvbpsi_astream_dr_t* dvbpsi_DecodeAStreamDr(dvbpsi_descriptor_t * p_descriptor); 00079 00080 00081 /***************************************************************************** 00082 * dvbpsi_GenAStreamDr 00083 *****************************************************************************/ 00093 dvbpsi_descriptor_t * dvbpsi_GenAStreamDr(dvbpsi_astream_dr_t * p_decoded, 00094 bool b_duplicate); 00095 00096 00097 #ifdef __cplusplus 00098 }; 00099 #endif 00100 00101 #else 00102 #error "Multiple inclusions of dr_03.h" 00103 #endif 00104