#include <Ap4Sample.h>
Public Member Functions | |
AP4_Sample () | |
AP4_Sample (const AP4_Sample &other) | |
AP4_Sample (AP4_ByteStream &data_stream, AP4_Position offset, AP4_Size size, AP4_Ordinal description_index, AP4_TimeStamp dts, AP4_UI32 cts_offset=0) | |
~AP4_Sample () | |
AP4_Sample & | operator= (const AP4_Sample &other) |
AP4_Result | ReadData (AP4_DataBuffer &data) |
AP4_Result | ReadData (AP4_DataBuffer &data, AP4_Size size, AP4_Size offset=0) |
AP4_ByteStream * | GetDataStream () |
void | SetDataStream (AP4_ByteStream &stream) |
AP4_Position | GetOffset () const |
void | SetOffset (AP4_Position offset) |
AP4_Size | GetSize () |
void | SetSize (AP4_Size size) |
AP4_Ordinal | GetDescriptionIndex () const |
void | SetDescriptionIndex (AP4_Ordinal index) |
AP4_TimeStamp | GetDts () const |
void | SetDts (AP4_TimeStamp dts) |
AP4_TimeStamp | GetCts () const |
void | SetCts (AP4_TimeStamp cts) |
Protected Attributes | |
AP4_ByteStream * | m_DataStream |
AP4_Position | m_Offset |
AP4_Size | m_Size |
AP4_Ordinal | m_DescriptionIndex |
AP4_TimeStamp | m_Dts |
AP4_TimeStamp | m_Cts |
Definition at line 46 of file Ap4Sample.h.
AP4_Sample::AP4_Sample | ( | ) |
AP4_Sample::AP4_Sample | ( | const AP4_Sample & | other | ) |
AP4_Sample::AP4_Sample | ( | AP4_ByteStream & | data_stream, | |
AP4_Position | offset, | |||
AP4_Size | size, | |||
AP4_Ordinal | description_index, | |||
AP4_TimeStamp | dts, | |||
AP4_UI32 | cts_offset = 0 | |||
) |
AP4_Sample::~AP4_Sample | ( | ) |
AP4_Sample& AP4_Sample::operator= | ( | const AP4_Sample & | other | ) |
AP4_Result AP4_Sample::ReadData | ( | AP4_DataBuffer & | data | ) |
AP4_Result AP4_Sample::ReadData | ( | AP4_DataBuffer & | data, | |
AP4_Size | size, | |||
AP4_Size | offset = 0 | |||
) |
AP4_ByteStream* AP4_Sample::GetDataStream | ( | ) |
void AP4_Sample::SetDataStream | ( | AP4_ByteStream & | stream | ) |
AP4_Position AP4_Sample::GetOffset | ( | ) | const [inline] |
void AP4_Sample::SetOffset | ( | AP4_Position | offset | ) | [inline] |
AP4_Size AP4_Sample::GetSize | ( | ) | [inline] |
void AP4_Sample::SetSize | ( | AP4_Size | size | ) | [inline] |
AP4_Ordinal AP4_Sample::GetDescriptionIndex | ( | ) | const [inline] |
void AP4_Sample::SetDescriptionIndex | ( | AP4_Ordinal | index | ) | [inline] |
AP4_TimeStamp AP4_Sample::GetDts | ( | ) | const [inline] |
void AP4_Sample::SetDts | ( | AP4_TimeStamp | dts | ) | [inline] |
AP4_TimeStamp AP4_Sample::GetCts | ( | ) | const [inline] |
void AP4_Sample::SetCts | ( | AP4_TimeStamp | cts | ) | [inline] |
AP4_ByteStream* AP4_Sample::m_DataStream [protected] |
Definition at line 84 of file Ap4Sample.h.
AP4_Position AP4_Sample::m_Offset [protected] |
AP4_Size AP4_Sample::m_Size [protected] |
AP4_Ordinal AP4_Sample::m_DescriptionIndex [protected] |
Definition at line 87 of file Ap4Sample.h.
Referenced by GetDescriptionIndex(), and SetDescriptionIndex().
AP4_TimeStamp AP4_Sample::m_Dts [protected] |
AP4_TimeStamp AP4_Sample::m_Cts [protected] |