Home

Dokumentation

Impressum

Dokumentation VDR
 

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

cTS2PES Class Reference


Public Methods

 cTS2PES (uint8_t *ResultBuffer, int *ResultCount, int Size, uint8_t AudioCid=0x00)
 ~cTS2PES ()
void ts_to_pes (const uint8_t *Buf)
void Clear (void)

Private Methods

void store (uint8_t *Data, int Count)
void reset_ipack (void)
void send_ipack (void)
void write_ipack (const uint8_t *Data, int Count)
void instant_repack (const uint8_t *Buf, int Count)

Private Attributes

int size
int found
int count
uint8_t * buf
uint8_t cid
uint8_t audioCid
int plength
uint8_t plen [2]
uint8_t flag1
uint8_t flag2
uint8_t hlength
int mpeg
uint8_t check
int which
bool done
uint8_t * resultBuffer
int * resultCount

Static Private Attributes

uint8_t headr [] = { 0x00, 0x00, 0x01 }

Constructor & Destructor Documentation

cTS2PES::cTS2PES uint8_t *    ResultBuffer,
int *    ResultCount,
int    Size,
uint8_t    AudioCid = 0x00
 

Definition at line 150 of file remux.c.

References audioCid, buf, esyslog, MALLOC, reset_ipack(), resultBuffer, resultCount, and size.

cTS2PES::~cTS2PES  
 

Definition at line 163 of file remux.c.


Member Function Documentation

void cTS2PES::Clear void   
 

Definition at line 168 of file remux.c.

References reset_ipack().

void cTS2PES::instant_repack const uint8_t *    Buf,
int    Count
[private]
 

Definition at line 242 of file remux.c.

References AUDIO_STREAM_E, AUDIO_STREAM_S, cid, done, DSM_CC_STREAM, ECM_STREAM, EMM_STREAM, esyslog, flag1, flag2, found, hlength, ISO13522_STREAM, MMAX_PLENGTH, mpeg, PADDING_STREAM, plen, plength, PRIVATE_STREAM1, PRIVATE_STREAM2, PROG_STREAM_DIR, PROG_STREAM_MAP, PTS_ONLY, reset_ipack(), send_ipack(), VIDEO_STREAM_E, VIDEO_STREAM_S, which, and write_ipack().

Referenced by ts_to_pes().

void cTS2PES::reset_ipack void    [private]
 

Definition at line 183 of file remux.c.

References check, cid, count, done, flag1, flag2, found, hlength, mpeg, plength, and which.

Referenced by Clear(), cTS2PES(), instant_repack(), and ts_to_pes().

void cTS2PES::send_ipack void    [private]
 

Definition at line 198 of file remux.c.

References AUDIO_STREAM_E, AUDIO_STREAM_S, audioCid, buf, cid, count, and store().

Referenced by instant_repack(), ts_to_pes(), and write_ipack().

void cTS2PES::store uint8_t *    Data,
int    Count
[private]
 

Definition at line 173 of file remux.c.

References esyslog, RESULTBUFFERSIZE, and resultCount.

Referenced by send_ipack().

void cTS2PES::ts_to_pes const uint8_t *    Buf
 

Definition at line 396 of file remux.c.

References ADAPT_FIELD, found, instant_repack(), MMAX_PLENGTH, PAY_START, plength, reset_ipack(), and send_ipack().

Referenced by cRemux::Process().

void cTS2PES::write_ipack const uint8_t *    Data,
int    Count
[private]
 

Definition at line 221 of file remux.c.

References count, send_ipack(), and size.

Referenced by instant_repack().


Field Documentation

uint8_t cTS2PES::audioCid [private]
 

Definition at line 123 of file remux.c.

Referenced by cTS2PES(), and send_ipack().

uint8_t* cTS2PES::buf [private]
 

Definition at line 121 of file remux.c.

Referenced by cTS2PES(), and send_ipack().

uint8_t cTS2PES::check [private]
 

Definition at line 130 of file remux.c.

Referenced by reset_ipack().

uint8_t cTS2PES::cid [private]
 

Definition at line 122 of file remux.c.

Referenced by instant_repack(), reset_ipack(), and send_ipack().

int cTS2PES::count [private]
 

Definition at line 120 of file remux.c.

Referenced by reset_ipack(), send_ipack(), and write_ipack().

bool cTS2PES::done [private]
 

Definition at line 132 of file remux.c.

Referenced by instant_repack(), and reset_ipack().

uint8_t cTS2PES::flag1 [private]
 

Definition at line 126 of file remux.c.

Referenced by instant_repack(), and reset_ipack().

uint8_t cTS2PES::flag2 [private]
 

Definition at line 127 of file remux.c.

Referenced by instant_repack(), and reset_ipack().

int cTS2PES::found [private]
 

Definition at line 119 of file remux.c.

Referenced by instant_repack(), reset_ipack(), and ts_to_pes().

uint8_t cTS2PES::headr = { 0x00, 0x00, 0x01 } [static, private]
 

Definition at line 148 of file remux.c.

uint8_t cTS2PES::hlength [private]
 

Definition at line 128 of file remux.c.

Referenced by instant_repack(), and reset_ipack().

int cTS2PES::mpeg [private]
 

Definition at line 129 of file remux.c.

Referenced by instant_repack(), and reset_ipack().

uint8_t cTS2PES::plen[2] [private]
 

Definition at line 125 of file remux.c.

Referenced by instant_repack().

int cTS2PES::plength [private]
 

Definition at line 124 of file remux.c.

Referenced by instant_repack(), reset_ipack(), and ts_to_pes().

uint8_t* cTS2PES::resultBuffer [private]
 

Definition at line 133 of file remux.c.

Referenced by cTS2PES().

int* cTS2PES::resultCount [private]
 

Definition at line 134 of file remux.c.

Referenced by cTS2PES(), and store().

int cTS2PES::size [private]
 

Definition at line 118 of file remux.c.

Referenced by cTS2PES(), and write_ipack().

int cTS2PES::which [private]
 

Definition at line 131 of file remux.c.

Referenced by instant_repack(), and reset_ipack().


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