50 #ifndef IDATAPROVIDER_H_
51 #define IDATAPROVIDER_H_
56 #include "IProviderListener.h"
57 #include "frontends/IFrontendFilter.h"
59 #define BUFFSIZE (204 * 200) + 1
68 static const short DPC_CAN_FETCHDATA = 0x01;
69 static const short DPC_CAN_DEMUXBYHW = 0x02;
70 static const short DPC_CAN_FILTERPID = 0x04;
71 static const short DPC_CAN_FILTERTID = 0x08;
72 static const short DPC_CAN_DECODESTC = 0x10;
73 static const short DPC_CAN_CTLSTREAM = 0x20;
76 static const int PFT_DEFAULTTS = 0x01;
77 static const int PFT_PCR = 0x02;
78 static const int PFT_VIDEO = 0x03;
79 static const int PFT_AUDIO = 0x04;
80 static const int PFT_OTHER = 0x05;
85 virtual short getCaps()=0;
90 virtual int receiveData(
91 char* buff,
int skipSize,
unsigned char packetSize)=0;
93 virtual bool tune()=0;
94 virtual IChannel* getCurrentChannel()=0;
95 virtual bool getSTCValue(uint64_t* stc,
int* valueType)=0;
96 virtual bool changeChannel(
int factor)=0;
97 virtual bool setChannel(
string channelValue)=0;
98 virtual int createPesFilter(
99 int pid,
int pesType,
bool compositeFiler)=0;
101 virtual string getPesFilterOutput()=0;
102 virtual void close()=0;
Definition: IProviderListener.h:62
Definition: IDataProvider.h:82
Definition: IFrontendFilter.h:59
Definition: IChannel.h:62