00001 /***************************************************************************** 00002 * dr_0e.h 00003 * (c)2001-2002 VideoLAN 00004 * $Id: dr_0e.h 88 2004-02-24 14:31:18Z sam $ 00005 * 00006 * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> 00007 * 00008 * This program is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU General Public License 00010 * as published by the Free Software Foundation; either version 2 00011 * of the License, or (at your option) any later version. 00012 * 00013 * This program 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 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 * 00022 *****************************************************************************/ 00023 00035 #ifndef _DVBPSI_DR_0E_H_ 00036 #define _DVBPSI_DR_0E_H_ 00037 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00042 00043 /***************************************************************************** 00044 * dvbpsi_max_bitrate_dr_t 00045 *****************************************************************************/ 00057 typedef struct dvbpsi_max_bitrate_dr_s 00058 { 00059 uint32_t i_max_bitrate; 00061 } dvbpsi_max_bitrate_dr_t; 00062 00063 00064 /***************************************************************************** 00065 * dvbpsi_DecodeMaxBitrateDr 00066 *****************************************************************************/ 00075 dvbpsi_max_bitrate_dr_t* dvbpsi_DecodeMaxBitrateDr( 00076 dvbpsi_descriptor_t * p_descriptor); 00077 00078 00079 /***************************************************************************** 00080 * dvbpsi_GenMaxBitrateDr 00081 *****************************************************************************/ 00091 dvbpsi_descriptor_t * dvbpsi_GenMaxBitrateDr( 00092 dvbpsi_max_bitrate_dr_t * p_decoded, 00093 int b_duplicate); 00094 00095 00096 #ifdef __cplusplus 00097 }; 00098 #endif 00099 00100 #else 00101 #error "Multiple inclusions of dr_0e.h" 00102 #endif 00103