neutrino-apollo: changes for apollo uclibc.

This commit is contained in:
[CST] Bas
2012-07-09 11:58:15 +08:00
parent 6b6a9e37fb
commit cf878686ba
5 changed files with 46 additions and 22 deletions

View File

@@ -11,6 +11,8 @@
#define __DEMUX_CS_H_
#include <string>
#include <video_cs.h>
#include "cs_types.h"
#define DEMUX_POLL_TIMEOUT 0 // timeout in ms
@@ -54,6 +56,8 @@ public:
bool Start(bool record = false);
bool Stop(void);
int Read(unsigned char *buff, int len, int Timeout = 0);
bool SetVideoFormat(VIDEO_FORMAT VideoFormat);
bool SetSource(int source);
bool sectionFilter(unsigned short Pid, const unsigned char * const Tid, const unsigned char * const Mask, int len, int Timeout = DEMUX_POLL_TIMEOUT, const unsigned char * const nMask = NULL);
@@ -64,7 +68,7 @@ public:
void SetSyncMode(AVSYNC_TYPE SyncMode);
void *getBuffer(void);
void *getChannel(void);
void getSTC(int64_t *STC);
void getSTC(s64 *STC);
DMX_CHANNEL_TYPE getChannelType(void) { return type; };
int getUnit(void) { return unit; };