Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cRemux Class Reference

#include <remux.h>

Collaboration diagram for cRemux:

Collaboration graph
[legend]

Detailed Description

Remultiplexing.

Definition at line 37 of file remux.h.

Public Methods

 cRemux (int VPid, int APid1, int APid2, int DPid1, int DPid2, bool ExitOnFailure=false)
 ~cRemux ()
ucharProcess (const uchar *Data, int &Count, int &Result, uchar *PictureType=NULL)

Private Methods

int GetPid (const uchar *Data)
int GetPacketLength (const uchar *Data, int Count, int Offset)
int ScanVideoPacket (const uchar *Data, int Count, int Offset, uchar &PictureType)

Private Attributes

bool exitOnFailure
bool synced
int skipped
int vPid
int aPid1
int aPid2
int dPid1
int dPid2
cTS2PESvTS2PES
cTS2PESaTS2PES1
cTS2PESaTS2PES2
cTS2PESdTS2PES1
cTS2PESdTS2PES2
uchar resultBuffer [RESULTBUFFERSIZE]
int resultCount
int resultDelivered


Constructor & Destructor Documentation

cRemux::cRemux int    VPid,
int    APid1,
int    APid2,
int    DPid1,
int    DPid2,
bool    ExitOnFailure = false
 

Definition at line 423 of file remux.c.

References aPid1, aPid2, aTS2PES1, aTS2PES2, dPid1, dPid2, dTS2PES1, dTS2PES2, exitOnFailure, resultCount, resultDelivered, skipped, synced, vPid, and vTS2PES.

cRemux::~cRemux  
 

Definition at line 442 of file remux.c.

References aTS2PES1, aTS2PES2, dTS2PES1, dTS2PES2, and vTS2PES.


Member Function Documentation

int cRemux::GetPacketLength const uchar   Data,
int    Count,
int    Offset
[private]
 

Definition at line 456 of file remux.c.

Referenced by Process(), and ScanVideoPacket().

int cRemux::GetPid const uchar   Data [private]
 

Definition at line 451 of file remux.c.

References PID_MASK_HI.

Referenced by Process().

uchar * cRemux::Process const uchar   Data,
int &    Count,
int &    Result,
uchar   PictureType = NULL
 

Definition at line 487 of file remux.c.

References aPid1, aPid2, aTS2PES1, aTS2PES2, AUDIO_STREAM_E, AUDIO_STREAM_S, B_FRAME, dPid1, dPid2, dTS2PES1, dTS2PES2, cThread::EmergencyExit(), esyslog, GetPacketLength(), GetPid(), I_FRAME, MAXNONUSEFULDATA, MINVIDEODATA, NO_PICTURE, PRIVATE_STREAM1, resultBuffer, resultCount, resultDelivered, ScanVideoPacket(), skipped, synced, TS_SIZE, TS_SYNC_BYTE, cTS2PES::ts_to_pes(), uchar, VIDEO_STREAM_E, VIDEO_STREAM_S, vPid, and vTS2PES.

Referenced by cTransfer::Action(), and cRecorder::Action().

int cRemux::ScanVideoPacket const uchar   Data,
int    Count,
int    Offset,
uchar   PictureType
[private]
 

Definition at line 462 of file remux.c.

References GetPacketLength(), NO_PICTURE, and SC_PICTURE.

Referenced by Process().


Field Documentation

int cRemux::aPid1 [private]
 

Definition at line 42 of file remux.h.

Referenced by cRemux(), and Process().

int cRemux::aPid2 [private]
 

Definition at line 42 of file remux.h.

Referenced by cRemux(), and Process().

cTS2PES * cRemux::aTS2PES1 [private]
 

Definition at line 43 of file remux.h.

Referenced by cRemux(), Process(), and ~cRemux().

cTS2PES * cRemux::aTS2PES2 [private]
 

Definition at line 43 of file remux.h.

Referenced by cRemux(), Process(), and ~cRemux().

int cRemux::dPid1 [private]
 

Definition at line 42 of file remux.h.

Referenced by cRemux(), and Process().

int cRemux::dPid2 [private]
 

Definition at line 42 of file remux.h.

Referenced by cRemux(), and Process().

cTS2PES * cRemux::dTS2PES1 [private]
 

Definition at line 43 of file remux.h.

Referenced by cRemux(), Process(), and ~cRemux().

cTS2PES * cRemux::dTS2PES2 [private]
 

Definition at line 43 of file remux.h.

Referenced by cRemux(), Process(), and ~cRemux().

bool cRemux::exitOnFailure [private]
 

Definition at line 39 of file remux.h.

Referenced by cRemux().

uchar cRemux::resultBuffer[RESULTBUFFERSIZE] [private]
 

Definition at line 44 of file remux.h.

Referenced by Process().

int cRemux::resultCount [private]
 

Definition at line 45 of file remux.h.

Referenced by cRemux(), and Process().

int cRemux::resultDelivered [private]
 

Definition at line 46 of file remux.h.

Referenced by cRemux(), and Process().

int cRemux::skipped [private]
 

Definition at line 41 of file remux.h.

Referenced by cRemux(), and Process().

bool cRemux::synced [private]
 

Definition at line 40 of file remux.h.

Referenced by cRemux(), and Process().

int cRemux::vPid [private]
 

Definition at line 42 of file remux.h.

Referenced by cRemux(), and Process().

cTS2PES* cRemux::vTS2PES [private]
 

Definition at line 43 of file remux.h.

Referenced by cRemux(), Process(), and ~cRemux().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:52 2003 for VDR by doxygen1.3-rc2