libdvbpsi  1.3.0
dr_86.h
Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2013-2014  Michael Ira Krufky
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 dr_86.h
00019 
00020 Decode Caption Service Descriptor.
00021 
00022 */
00023 
00030 #ifndef _DR_86_H
00031 #define _DR_86_H
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00037 /*****************************************************************************
00038  * dvbpsi_caption_service_t
00039  *****************************************************************************/
00050 typedef struct dvbpsi_caption_service_s
00051 {
00052     char     i_iso_639_code[3]; 
00053     int      b_digital_cc;      
00054     int      b_line21_field;    
00055     uint16_t i_caption_service_number; 
00056     int      b_easy_reader;     
00057     int      b_wide_aspect_ratio; 
00058 } dvbpsi_caption_service_t;
00059 
00060 /*****************************************************************************
00061  * dvbpsi_caption_service_dr_s
00062  *****************************************************************************/
00073 typedef struct dvbpsi_caption_service_dr_s
00074 {
00075     uint8_t i_number_of_services; 
00076     dvbpsi_caption_service_t services[0x1f]; 
00077 } dvbpsi_caption_service_dr_t;
00078 
00079 /*****************************************************************************
00080  * dvbpsi_DecodeCaptionServiceDr
00081  *****************************************************************************/
00089 dvbpsi_caption_service_dr_t *dvbpsi_DecodeCaptionServiceDr(dvbpsi_descriptor_t *p_descriptor);
00090 
00091 #ifdef __cplusplus
00092 }
00093 #endif
00094 
00095 #endif
00096