cCommonRepacker Class Reference

Inheritance diagram for cCommonRepacker:

Inheritance graph
Collaboration diagram for cCommonRepacker:

Collaboration graph

List of all members.

Protected Member Functions

bool PushOutPacket (cRingBufferLinear *ResultBuffer, const uchar *Data, int Count)
virtual int QuerySnoopSize ()
virtual void Reset (void)

Protected Attributes

int skippedBytes
int packetTodo
uchar fragmentData [6+65535+3]
int fragmentLen
uchar pesHeader [6+3+255+3]
int pesHeaderLen
uchar pesHeaderBackup [6+3+255]
int pesHeaderBackupLen
uint32_t scanner
uint32_t localScanner
int localStart

Detailed Description

Definition at line 153 of file remux.c.

Member Function Documentation

bool cCommonRepacker::PushOutPacket ( cRingBufferLinear ResultBuffer,
const uchar Data,
int  Count 
) [protected]

Definition at line 182 of file remux.c.

References AnalyzePesHeader(), fragmentData, fragmentLen, LOG, pesHeader, pesHeaderLen, phInvalid, and cRepacker::Put().

Referenced by cVideoRepacker::HandleStartCode(), cAudioRepacker::Repack(), and cVideoRepacker::Repack().

Here is the call graph for this function:

virtual int cCommonRepacker::QuerySnoopSize ( void   )  [inline, protected, virtual]

Reimplemented from cRepacker.

Definition at line 167 of file remux.c.

void cCommonRepacker::Reset ( void   )  [protected, virtual]

Reimplemented from cRepacker.

Reimplemented in cVideoRepacker, and cAudioRepacker.

Definition at line 171 of file remux.c.

References fragmentLen, localStart, packetTodo, pesHeaderBackupLen, pesHeaderLen, cRepacker::Reset(), and skippedBytes.

Referenced by cAudioRepacker::Reset(), and cVideoRepacker::Reset().

Here is the call graph for this function:

Member Data Documentation

int cCommonRepacker::packetTodo [protected]

uchar cCommonRepacker::fragmentData[6+65535+3] [protected]

Definition at line 157 of file remux.c.

Referenced by PushOutPacket(), cAudioRepacker::Repack(), and cVideoRepacker::Repack().

Definition at line 158 of file remux.c.

Referenced by PushOutPacket(), cAudioRepacker::Repack(), cVideoRepacker::Repack(), and Reset().

uchar cCommonRepacker::pesHeader[6+3+255+3] [protected]

uint32_t cCommonRepacker::scanner [protected]

uint32_t cCommonRepacker::localScanner [protected]

int cCommonRepacker::localStart [protected]

The documentation for this class was generated from the following file:

Generated on Tue Nov 4 19:57:55 2008 for VDR by  doxygen 1.5.6