AP4_Mpeg2TsWriter::SampleStream Class Reference
#include <Ap4Mpeg2Ts.h>
Inheritance diagram for AP4_Mpeg2TsWriter::SampleStream:

Public Member Functions | |
SampleStream (AP4_UI16 pid, AP4_UI16 stream_id, AP4_UI08 stream_type, AP4_UI32 timescale) | |
virtual AP4_Result | WritePES (const unsigned char *data, unsigned int data_size, AP4_UI64 dts, bool with_dts, AP4_UI64 pts, bool with_pcr, AP4_ByteStream &output) |
virtual AP4_Result | WriteSample (AP4_Sample &sample, AP4_SampleDescription *sample_description, bool with_pcr, AP4_ByteStream &output)=0 |
Public Attributes | |
unsigned int | m_StreamId |
AP4_UI08 | m_StreamType |
AP4_UI32 | m_TimeScale |
Detailed Description
Definition at line 87 of file Ap4Mpeg2Ts.h.
Constructor & Destructor Documentation
AP4_Mpeg2TsWriter::SampleStream::SampleStream | ( | AP4_UI16 | pid, | |
AP4_UI16 | stream_id, | |||
AP4_UI08 | stream_type, | |||
AP4_UI32 | timescale | |||
) | [inline] |
Definition at line 89 of file Ap4Mpeg2Ts.h.
Member Function Documentation
virtual AP4_Result AP4_Mpeg2TsWriter::SampleStream::WritePES | ( | const unsigned char * | data, | |
unsigned int | data_size, | |||
AP4_UI64 | dts, | |||
bool | with_dts, | |||
AP4_UI64 | pts, | |||
bool | with_pcr, | |||
AP4_ByteStream & | output | |||
) | [virtual] |
virtual AP4_Result AP4_Mpeg2TsWriter::SampleStream::WriteSample | ( | AP4_Sample & | sample, | |
AP4_SampleDescription * | sample_description, | |||
bool | with_pcr, | |||
AP4_ByteStream & | output | |||
) | [pure virtual] |
Member Data Documentation
unsigned int AP4_Mpeg2TsWriter::SampleStream::m_StreamId |
Definition at line 107 of file Ap4Mpeg2Ts.h.
Definition at line 108 of file Ap4Mpeg2Ts.h.
Definition at line 109 of file Ap4Mpeg2Ts.h.
The documentation for this class was generated from the following file:
Generated on Thu May 13 16:37:24 2010 for Bento4 MP4 SDK by
