1 /* Imported from the dvbstream project
3 * Modified for use with MPlayer, for details see the changelog at
4 * http://svn.mplayerhq.hu/mplayer/trunk/
13 #define SLOF (11700*1000UL)
14 #define LOF1 (9750*1000UL)
15 #define LOF2 (10600*1000UL)
18 #include <linux/dvb/dmx.h>
19 #include <linux/dvb/frontend.h>
20 #include <linux/dvb/version.h>
24 #include <ost/frontend.h>
25 #define fe_status_t FrontendStatus
26 #define fe_spectral_inversion_t SpectralInversion
27 #define fe_modulation_t Modulation
28 #define fe_code_rate_t CodeRate
29 #define fe_transmit_mode_t TransmitMode
30 #define fe_guard_interval_t GuardInterval
31 #define fe_bandwidth_t BandWidth
32 #define fe_hierarchy_t Hierarchy
33 #define fe_sec_voltage_t SecVoltage
34 #define dmx_pes_filter_params dmxPesFilterParams
35 #define dmx_sct_filter_params dmxSctFilterParams
36 #define dmx_pes_type_t dmxPesType_t
40 #if defined(DVB_API_VERSION_MINOR)
41 #if DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1
47 #define DVB_CHANNEL_LOWER -1
48 #define DVB_CHANNEL_HIGHER 1
52 #ifndef DMX_FILTER_SIZE
53 #define DMX_FILTER_SIZE 16
58 int freq
, srate
, diseqc
, tone
;
60 int tpid
, dpid1
, dpid2
, progid
, ca
, pids
[DMX_FILTER_SIZE
], pids_cnt
;
61 fe_spectral_inversion_t inv
;
63 fe_transmit_mode_t trans
;
65 fe_guard_interval_t gi
;
66 fe_code_rate_t cr
, cr_lp
;
71 uint16_t NUM_CHANNELS
;
73 dvb_channel_t
*channels
;
78 dvb_channels_list
*list
;
85 dvb_card_config_t
*cards
;
93 int demux_fd
[3], demux_fds
[DMX_FILTER_SIZE
], demux_fds_cnt
;
97 dvb_channels_list
*list
;
112 extern int dvb_step_channel(dvb_priv_t
*, int);
113 extern int dvb_set_channel(dvb_priv_t
*, int, int);
114 extern dvb_config_t
*dvb_get_config(void);