1 /*****************************************************************************
2 * bda.h : DirectShow BDA access header for vlc
3 *****************************************************************************
4 * Copyright ( C ) 2007 the VideoLAN team
6 * Author: Ken Self <kens@campoz.fslife.co.uk>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * ( at your option ) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21 *****************************************************************************/
23 /*****************************************************************************
25 *****************************************************************************/
31 #include <vlc_input.h>
32 #include <vlc_access.h>
46 # define _I64_MAX LONG_LONG_MAX
47 # define LONGLONG long long
54 typedef struct BDAGraph BDAGraph;
57 void dvb_newBDAGraph( access_t* p_access );
58 void dvb_deleteBDAGraph( access_t* p_access );
59 int dvb_SubmitATSCTuneRequest( access_t* p_access );
60 int dvb_SubmitDVBTTuneRequest( access_t* p_access );
61 int dvb_SubmitDVBCTuneRequest( access_t* p_access );
62 int dvb_SubmitDVBSTuneRequest( access_t* p_access );
63 long dvb_GetBufferSize( access_t* p_access );
64 long dvb_ReadBuffer( access_t* p_access, long* l_buffer_len, BYTE* p_buff );
70 /****************************************************************************
71 * Access descriptor declaration
72 ****************************************************************************/
75 /* These 2 must be left at the beginning */
78 BDAGraph *p_bda_module;