vdr 2.8.3
cTsGenerator Class Reference

Public Member Functions

 cTsGenerator (int Pid)
int GenerateTs (const uchar *Data, int Length, bool Pusi, uchar *Dest)

Private Attributes

int pid
uchar counter

Detailed Description

Definition at line 668 of file pes2ts.c.

Constructor & Destructor Documentation

◆ cTsGenerator()

cTsGenerator::cTsGenerator ( int Pid)

Definition at line 682 of file pes2ts.c.

References counter, and pid.

Referenced by cPes2TsConverter::MakeTs().

Member Function Documentation

◆ GenerateTs()

int cTsGenerator::GenerateTs ( const uchar * Data,
int Length,
bool Pusi,
uchar * Dest )

Definition at line 688 of file pes2ts.c.

References counter, pid, TS_PAYLOAD_START, TS_SIZE, and TS_SYNC_BYTE.

Referenced by cPes2TsConverter::MakeTs().

Member Data Documentation

◆ counter

uchar cTsGenerator::counter
private

Definition at line 671 of file pes2ts.c.

Referenced by cTsGenerator(), and GenerateTs().

◆ pid

int cTsGenerator::pid
private

Definition at line 670 of file pes2ts.c.

Referenced by cTsGenerator(), and GenerateTs().


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