dr_0a.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * dr_0a.h
00003  * (c)2001-2002 VideoLAN
00004  * $Id: dr_0a.h 132 2006-07-18 08:34:12Z sigmunau $
00005  *
00006  * Authors: Arnaud de Bossoreille de Ribou <bozo@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_0A_H_
00036 #define _DVBPSI_DR_0A_H_
00037 
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 
00042 #define DR_0A_API_VER 2
00043 typedef uint8_t iso_639_language_code_t[3];
00044         
00045 /*****************************************************************************
00046  * dvbpsi_iso639_dr_t
00047  *****************************************************************************/
00059 typedef struct dvbpsi_iso639_dr_s
00060 {
00061   uint8_t       i_code_count;           
00063   struct {
00064     iso_639_language_code_t  iso_639_code;    
00065     uint8_t                  i_audio_type;    
00066   } code[64];
00067 
00068 } dvbpsi_iso639_dr_t;
00069 
00070 
00071 /*****************************************************************************
00072  * dvbpsi_DecodeISO639Dr
00073  *****************************************************************************/
00082 dvbpsi_iso639_dr_t* dvbpsi_DecodeISO639Dr(dvbpsi_descriptor_t * p_descriptor);
00083 
00084 
00085 /*****************************************************************************
00086  * dvbpsi_GenISO639Dr
00087  *****************************************************************************/
00098 dvbpsi_descriptor_t * dvbpsi_GenISO639Dr(dvbpsi_iso639_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_0a.h"
00108 #endif
00109 

Generated on Wed Nov 7 01:54:30 2007 for libdvbpsi by  doxygen 1.5.1