libdvbpsi  1.3.0
dr_12.h
Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2015 Daniel Kamil Kozar
00003 
00004 This library is free software; you can redistribute it and/or
00005 modify it under the terms of the GNU Lesser General Public
00006 License as published by the Free Software Foundation; either
00007 version 2.1 of the License, or (at your option) any later version.
00008 
00009 This library is distributed in the hope that it will be useful,
00010 but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012 Lesser General Public License for more details.
00013 
00014 You should have received a copy of the GNU Lesser General Public
00015 License along with this library; if not, write to the Free Software
00016 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00017 */
00018 
00030 #ifndef _DVBPSI_DR_12_H_
00031 #define _DVBPSI_DR_12_H_
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00049 typedef struct dvbpsi_ibp_dr_s
00050 {
00051   bool          b_closed_gop_flag; 
00052   bool          b_identical_gop_flag; 
00053   uint16_t      i_max_gop_length; 
00054 } dvbpsi_ibp_dr_t;
00055 
00062 dvbpsi_ibp_dr_t* dvbpsi_DecodeIBPDr(dvbpsi_descriptor_t * p_descriptor);
00063 
00069 dvbpsi_descriptor_t * dvbpsi_GenIBPDr(dvbpsi_ibp_dr_t * p_decoded);
00070 
00071 #ifdef __cplusplus
00072 }
00073 #endif
00074 
00075 #else
00076 #error "Multiple inclusions of dr_12.h"
00077 #endif