libdvbpsi 0.1.0

dr_5a.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * dr_5a.h
00003  * (c)2001-2008 VideoLAN
00004  * $Id: dr_5a.h 173 2008-04-26 12:12:06Z jpsaman $
00005  *
00006  * Authors: Johann Hanne
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_5A_H_
00036 #define _DVBPSI_DR_5A_H_
00037 
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 
00042 
00043 /*****************************************************************************
00044  * dvbpsi_terr_deliv_sys_dr_t
00045  *****************************************************************************/
00057 typedef struct dvbpsi_terr_deliv_sys_dr_s
00058 {
00059   uint32_t     i_centre_frequency;              
00060   uint8_t      i_bandwidth;                     
00061   uint8_t      i_priority;                      
00062   uint8_t      i_time_slice_indicator;          
00063   uint8_t      i_mpe_fec_indicator;             
00064   uint8_t      i_constellation;                 
00065   uint8_t      i_hierarchy_information;         
00066   uint8_t      i_code_rate_hp_stream;           
00067   uint8_t      i_code_rate_lp_stream;           
00068   uint8_t      i_guard_interval;                
00069   uint8_t      i_transmission_mode;             
00070   uint8_t      i_other_frequency_flag;          
00072 } dvbpsi_terr_deliv_sys_dr_t;
00073 
00074 
00075 /*****************************************************************************
00076  * dvbpsi_DecodeTerrDelivSysDr
00077  *****************************************************************************/
00086 dvbpsi_terr_deliv_sys_dr_t* dvbpsi_DecodeTerrDelivSysDr(
00087                                         dvbpsi_descriptor_t * p_descriptor);
00088 
00089 
00090 /*****************************************************************************
00091  * dvbpsi_GenTerrDelivSysDr
00092  *****************************************************************************/
00103 dvbpsi_descriptor_t * dvbpsi_GenTerrDelivSysDr(
00104                                         dvbpsi_terr_deliv_sys_dr_t * p_decoded,
00105                                         int b_duplicate);
00106 
00107 
00108 #ifdef __cplusplus
00109 };
00110 #endif
00111 
00112 #else
00113 #error "Multiple inclusions of dr_5a.h"
00114 #endif