libdvbpsi  1.3.0
dr_4b.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002  * dr_4a.h
00003  * Copyright (C) 2012 VideoLAN
00004  *
00005  * Authors: Roberto Corno <corno.roberto@gmail.com>
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00020  *
00021  *****************************************************************************/
00022 
00033 #ifndef DR_4B_H_
00034 #define DR_4B_H_
00035 
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039 
00040 /*****************************************************************************
00041  * dvbpsi_nvod_ref_t
00042  *****************************************************************************/
00058 typedef struct dvbpsi_nvod_ref_s
00059 {
00060   uint16_t       i_transport_stream_id;         
00061   uint16_t       i_original_network_id;         
00062   uint16_t       i_service_id;                  
00063 } dvbpsi_nvod_ref_t;
00064 
00065 /*****************************************************************************
00066  * dvbpsi_nvod_ref_dr_t
00067  *****************************************************************************/
00079 typedef struct dvbpsi_nvod_ref_dr_s
00080 {
00081   uint8_t               i_references;           
00082   dvbpsi_nvod_ref_t     p_nvod_refs[43];        
00083 } dvbpsi_nvod_ref_dr_t;
00084 
00085 /*****************************************************************************
00086  * dvbpsi_DecodeNVODReferenceDr
00087  *****************************************************************************/
00096 dvbpsi_nvod_ref_dr_t* dvbpsi_DecodeNVODReferenceDr(dvbpsi_descriptor_t * p_descriptor);
00097 
00098 /*****************************************************************************
00099  * dvbpsi_GenNVODReferenceDr
00100  *****************************************************************************/
00110 dvbpsi_descriptor_t *dvbpsi_GenNVODReferenceDr(dvbpsi_nvod_ref_dr_t * p_decoded,
00111                                          bool b_duplicate);
00112 
00113 #ifdef __cplusplus
00114 };
00115 #endif
00116 
00117 #else
00118 #error "Multiple inclusions of dr_4b.h"
00119 #endif /* DR_4B_H_ */