cRepacker Class Reference

Inheritance diagram for cRepacker:

Inheritance graph

List of all members.

Public Member Functions

 cRepacker (void)
virtual ~cRepacker ()
virtual void Reset (void)
virtual void Repack (cRingBufferLinear *ResultBuffer, const uchar *Data, int Count)=0
virtual int BreakAt (const uchar *Data, int Count)=0
virtual int QuerySnoopSize (void)
void SetMaxPacketSize (int MaxPacketSize)
void SetSubStreamId (uint8_t SubStreamId)

Static Public Member Functions

static int Put (cRingBufferLinear *ResultBuffer, const uchar *Data, int Count, int CapacityNeeded)

Protected Member Functions

bool LogAllowed (void)
void DroppedData (const char *Reason, int Count)

Protected Attributes

bool initiallySyncing
int maxPacketSize
uint8_t subStreamId
time_t lastLog
int suppressedLogMessages

Detailed Description

Definition at line 94 of file remux.c.

Constructor & Destructor Documentation

cRepacker::cRepacker ( void   ) 

Definition at line 115 of file remux.c.

References initiallySyncing, lastLog, maxPacketSize, subStreamId, and suppressedLogMessages.

virtual cRepacker::~cRepacker (  )  [inline, virtual]

Definition at line 106 of file remux.c.

Member Function Documentation

bool cRepacker::LogAllowed ( void   )  [protected]

Definition at line 124 of file remux.c.

References esyslog, lastLog, MIN_LOG_INTERVAL, and suppressedLogMessages.

void cRepacker::DroppedData ( const char *  Reason,
int  Count 
) [inline, protected]

Definition at line 102 of file remux.c.

References LOG.

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

int cRepacker::Put ( cRingBufferLinear ResultBuffer,
const uchar Data,
int  Count,
int  CapacityNeeded 
) [static]

Definition at line 139 of file remux.c.

References esyslog, cRingBufferLinear::Free(), and cRingBufferLinear::Put().

Referenced by cDolbyRepacker::FinishRemainder(), cCommonRepacker::PushOutPacket(), cDolbyRepacker::StartNewPacket(), and cTS2PES::store().

Here is the call graph for this function:

virtual void cRepacker::Reset ( void   )  [inline, virtual]

virtual void cRepacker::Repack ( cRingBufferLinear ResultBuffer,
const uchar Data,
int  Count 
) [pure virtual]

Implemented in cVideoRepacker, cAudioRepacker, and cDolbyRepacker.

Referenced by cTS2PES::store().

virtual int cRepacker::BreakAt ( const uchar Data,
int  Count 
) [pure virtual]

virtual int cRepacker::QuerySnoopSize ( void   )  [inline, virtual]

Reimplemented in cCommonRepacker.

Definition at line 110 of file remux.c.

Referenced by cTS2PES::cTS2PES().

void cRepacker::SetMaxPacketSize ( int  MaxPacketSize  )  [inline]

Definition at line 111 of file remux.c.

References maxPacketSize.

Referenced by cTS2PES::cTS2PES().

void cRepacker::SetSubStreamId ( uint8_t  SubStreamId  )  [inline]

Definition at line 112 of file remux.c.

References subStreamId.

Referenced by cTS2PES::cTS2PES().

Member Data Documentation

bool cRepacker::initiallySyncing [protected]

int cRepacker::maxPacketSize [protected]

uint8_t cRepacker::subStreamId [protected]

Definition at line 98 of file remux.c.

Referenced by cDolbyRepacker::AppendSubStreamID(), cRepacker(), and SetSubStreamId().

time_t cRepacker::lastLog [protected]

Definition at line 99 of file remux.c.

Referenced by cRepacker(), and LogAllowed().

Definition at line 100 of file remux.c.

Referenced by cRepacker(), and LogAllowed().

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

Generated on Tue Nov 4 20:01:10 2008 for VDR by  doxygen 1.5.6