mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
- formatting code using astyle
Conflicts: libarmbox/dmx.cpp libgeneric-pc/video_lib.h libspark/dmx.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -80,30 +80,36 @@ class cRecord;
|
||||
class cPlayback;
|
||||
class cDemux
|
||||
{
|
||||
friend class cRecord;
|
||||
friend class cPlayback;
|
||||
friend class cRecord;
|
||||
friend class cPlayback;
|
||||
public:
|
||||
bool Open(DMX_CHANNEL_TYPE pes_type, void * x = NULL, int y = 0);
|
||||
bool Open(DMX_CHANNEL_TYPE pes_type, void *x = NULL, int y = 0);
|
||||
void Close(void);
|
||||
bool Start(bool record = false);
|
||||
bool Stop(void);
|
||||
int Read(unsigned char *buff, int len, int Timeout = 0);
|
||||
bool sectionFilter(unsigned short pid, const unsigned char * const filter, const unsigned char * const mask, int len, int Timeout = 0, const unsigned char * const negmask = NULL);
|
||||
bool sectionFilter(unsigned short pid, const unsigned char *const filter, const unsigned char *const mask, int len, int Timeout = 0, const unsigned char *const negmask = NULL);
|
||||
bool pesFilter(const unsigned short pid);
|
||||
void SetSyncMode(AVSYNC_TYPE mode);
|
||||
void * getBuffer();
|
||||
void * getChannel();
|
||||
DMX_CHANNEL_TYPE getChannelType(void) { return dmx_type; };
|
||||
void *getBuffer();
|
||||
void *getChannel();
|
||||
DMX_CHANNEL_TYPE getChannelType(void)
|
||||
{
|
||||
return dmx_type;
|
||||
};
|
||||
bool addPid(unsigned short pid);
|
||||
void getSTC(int64_t * STC);
|
||||
void getSTC(int64_t *STC);
|
||||
int getUnit(void);
|
||||
static bool SetSource(int unit, int source);
|
||||
static int GetSource(int unit);
|
||||
int getFD(void) { return fd; }; /* needed by cPlayback class */
|
||||
int getFD(void)
|
||||
{
|
||||
return fd;
|
||||
}; /* needed by cPlayback class */
|
||||
cDemux(int num = 0);
|
||||
~cDemux();
|
||||
private:
|
||||
void removePid(unsigned short Pid); /* needed by cRecord class */
|
||||
void removePid(unsigned short Pid); /* needed by cRecord class */
|
||||
int num;
|
||||
int fd;
|
||||
int buffersize;
|
||||
|
Reference in New Issue
Block a user