cCommonRepacker Class Reference

Inheritance diagram for cCommonRepacker:

Inheritance graph
[legend]
Collaboration diagram for cCommonRepacker:

Collaboration graph
[legend]

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::skippedBytes [protected]

Definition at line 155 of file remux.c.

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

int cCommonRepacker::packetTodo [protected]

Definition at line 156 of file remux.c.

Referenced by cVideoRepacker::AdjustCounters(), cAudioRepacker::BreakAt(), cVideoRepacker::BreakAt(), cVideoRepacker::HandleStartCode(), cAudioRepacker::Repack(), cVideoRepacker::Repack(), Reset(), and cVideoRepacker::ScanDataForStartCode().

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

Definition at line 157 of file remux.c.

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

int cCommonRepacker::fragmentLen [protected]

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]

Definition at line 159 of file remux.c.

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

int cCommonRepacker::pesHeaderLen [protected]

Definition at line 160 of file remux.c.

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

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

Definition at line 161 of file remux.c.

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

int cCommonRepacker::pesHeaderBackupLen [protected]

Definition at line 162 of file remux.c.

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

uint32_t cCommonRepacker::scanner [protected]

Definition at line 163 of file remux.c.

Referenced by cAudioRepacker::BreakAt(), cVideoRepacker::BreakAt(), cAudioRepacker::Repack(), cVideoRepacker::Repack(), cAudioRepacker::Reset(), cVideoRepacker::Reset(), cVideoRepacker::ScanDataForStartCodeFast(), and cVideoRepacker::ScanDataForStartCodeSlow().

uint32_t cCommonRepacker::localScanner [protected]

Definition at line 164 of file remux.c.

Referenced by cAudioRepacker::BreakAt(), cVideoRepacker::BreakAt(), cVideoRepacker::ScanForEndOfPictureFast(), and cVideoRepacker::ScanForEndOfPictureSlow().

int cCommonRepacker::localStart [protected]

Definition at line 165 of file remux.c.

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


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:06:32 2007 for VDR by  doxygen 1.5.3-20071008