dr_4e.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * dr_4e.h
00003  * (c)2005 VideoLAN
00004  * $Id: dr_4d.h,v 1.3 2002/05/10 23:50:36 bozo Exp $
00005  *
00006  * Authors: Laurent Aimar <fenrir@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_4E_H_
00036 #define _DVBPSI_DR_4E_H_
00037 
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 
00042 
00043 /*****************************************************************************
00044  * dvbpsi_extended_event_dr_t
00045  *****************************************************************************/
00056 typedef struct dvbpsi_extended_event_dr_s
00057 {
00058   uint8_t i_descriptor_number;
00059   uint8_t i_last_descriptor_number;
00060 
00061   uint8_t i_iso_639_code[3];
00062 
00063   int     i_entry_count;
00064   uint8_t i_item_description_length[126];
00065   uint8_t *i_item_description[126];
00066   uint8_t i_item_length[126];
00067   uint8_t *i_item[126];
00068 
00069   int     i_text_length;
00070   uint8_t *i_text;
00071 
00072   uint8_t i_buffer[256];    /* do not use */
00073 } dvbpsi_extended_event_dr_t;
00074 
00075 
00076 /*****************************************************************************
00077  * dvbpsi_DecodeExtendedEventDr
00078  *****************************************************************************/
00087 dvbpsi_extended_event_dr_t* dvbpsi_DecodeExtendedEventDr(dvbpsi_descriptor_t * p_descriptor);
00088 
00089 
00090 /*****************************************************************************
00091  * dvbpsi_GenExtendedEventDr
00092  *****************************************************************************/
00102 dvbpsi_descriptor_t * dvbpsi_GenExtendedEventDr(dvbpsi_extended_event_dr_t * p_decoded,
00103                                              int b_duplicate);
00104 
00105 
00106 #ifdef __cplusplus
00107 };
00108 #endif
00109 
00110 #else
00111 #error "Multiple inclusions of dr_4e.h"
00112 #endif
00113 

Generated on Tue Sep 9 02:27:55 2008 for libdvbpsi by  doxygen 1.4.7