libdvbpsi  1.3.0
dr_10.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_10_H_
00031 #define _DVBPSI_DR_10_H_
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00049 typedef struct dvbpsi_smoothing_buffer_dr_s
00050 {
00052   uint32_t      i_sb_leak_rate;
00053   
00055   uint32_t      i_sb_size;
00056 } dvbpsi_smoothing_buffer_dr_t;
00057 
00064 dvbpsi_smoothing_buffer_dr_t* dvbpsi_DecodeSmoothingBufferDr(
00065                                       dvbpsi_descriptor_t * p_descriptor);
00066 
00072 dvbpsi_descriptor_t * dvbpsi_GenSmoothingBufferDr(
00073                                       dvbpsi_smoothing_buffer_dr_t * p_decoded);
00074 
00075 #ifdef __cplusplus
00076 }
00077 #endif
00078 
00079 #else
00080 #error "Multiple inclusions of dr_10.h"
00081 #endif