50 #ifndef ISDBTPROVIDER_H_
51 #define ISDBTPROVIDER_H_
53 #define INPUT_BUFFER_SIZE 4096
56 #include <sys/types.h>
62 #include <linux/dvb/version.h>
63 #include <linux/dvb/frontend.h>
64 #include <linux/dvb/dmx.h>
68 static uint64_t tv_channels_list[] =
145 #include "system/compat/SystemCompat.h"
146 using namespace ::br::pucrio::telemidia::ginga::core::system::compat;
148 #include "../../IDataProvider.h"
149 #include "../../Channel.h"
151 #include "ISDBTFrontend.h"
152 #include "RingBuffer.h"
161 namespace telemidia {
170 int initialFrequency;
171 static const string iniFileName;
173 vector<IChannel*>* channels;
174 vector<IChannel*>::iterator currentChannel;
180 pthread_t output_thread_id;
181 pthread_mutex_t output_mutex;
182 pthread_cond_t output_cond;
184 static void *output_thread(
void *nothing);
196 void initializeChannels();
201 bool getSTCValue(uint64_t* stc,
int* valueType);
202 bool changeChannel(
int factor);
203 bool setChannel(
string channelValue);
204 int createPesFilter(
int pid,
int pesType,
bool compositeFiler);
205 string getPesFilterOutput();
207 int receiveData(
char* buff,
int skipSize,
unsigned char packetSize);
Definition: IProviderListener.h:62
Definition: ISDBTProvider.h:166
Definition: IDataProvider.h:82
Definition: RingBuffer.h:20
Definition: IFrontendFilter.h:59
Definition: IChannel.h:62
Definition: ISDBTFrontend.h:89