libdvbpsi 0.2.0
|
00001 /***************************************************************************** 00002 * dr_44.h 00003 * Copyright (C) 2011 VideoLAN 00004 * $Id$ 00005 * 00006 * Authors: Ilkka Ollakka 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 00036 #ifndef _DVBPSI_DR_44_H_ 00037 #define _DVBPSI_DR_44_H_ 00038 00039 #ifdef __cplusplus 00040 extern "C" { 00041 #endif 00042 00043 00044 /***************************************************************************** 00045 * dvbpsi_cable_deliv_sys_dr_t 00046 *****************************************************************************/ 00058 typedef struct dvbpsi_cable_deliv_sys_dr_s 00059 { 00060 uint32_t i_frequency; 00061 uint8_t i_modulation; 00062 uint32_t i_symbol_rate; 00063 uint8_t i_fec_inner; 00064 uint8_t i_fec_outer; 00066 } dvbpsi_cable_deliv_sys_dr_t; 00067 00068 00069 /***************************************************************************** 00070 * dvbpsi_DecodeCableDelivSysDr 00071 *****************************************************************************/ 00080 dvbpsi_cable_deliv_sys_dr_t* dvbpsi_DecodeCableDelivSysDr( 00081 dvbpsi_descriptor_t * p_descriptor); 00082 00083 00084 /***************************************************************************** 00085 * dvbpsi_GenCableDelivSysDr 00086 *****************************************************************************/ 00097 dvbpsi_descriptor_t * dvbpsi_GenCableDelivSysDr( 00098 dvbpsi_cable_deliv_sys_dr_t * p_decoded, 00099 int b_duplicate); 00100 00101 00102 #ifdef __cplusplus 00103 }; 00104 #endif 00105 00106 #else 00107 #error "Multiple inclusions of dr_44.h" 00108 #endif