libdvbpsi  1.3.0
dr_62.h
Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2006  Adam Charrett
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_62.h
00019 
00020 Decode Frequency List Descriptor.
00021 
00022 */
00023 
00030 #ifndef _DR_62_H
00031 #define _DR_62_H
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00037 /*****************************************************************************
00038  * dvbpsi_frequency_list_dr_s
00039  *****************************************************************************/
00050 typedef struct dvbpsi_frequency_list_dr_s
00051 {
00052     uint8_t i_coding_type;             
00053     uint8_t i_number_of_frequencies;   
00054     uint32_t p_center_frequencies[63]; 
00055 }dvbpsi_frequency_list_dr_t;
00056 
00057 /*****************************************************************************
00058  * dvbpsi_DecodeFrequencyListDr
00059  *****************************************************************************/
00068 dvbpsi_frequency_list_dr_t *dvbpsi_DecodeFrequencyListDr(dvbpsi_descriptor_t *p_descriptor);
00069 
00070 /*****************************************************************************
00071  * dvbpsi_Bcd8ToUint32
00072  *****************************************************************************/
00079 uint32_t dvbpsi_Bcd8ToUint32(uint32_t bcd);
00080 
00081 #ifdef __cplusplus
00082 };
00083 #endif
00084 
00085 #endif