AP4_LinearReader Class Reference
#include <Ap4LinearReader.h>
Classes | |
class | SampleBuffer |
class | Tracker |
Public Member Functions | |
AP4_LinearReader (AP4_Movie &movie, AP4_Size max_buffer=AP4_LINEAR_READER_DEFAULT_BUFFER_SIZE) | |
~AP4_LinearReader () | |
AP4_Result | EnableTrack (AP4_UI32 track_id) |
AP4_Result | ReadNextSample (AP4_Sample &sample, AP4_DataBuffer &sample_data, AP4_UI32 &track_id) |
Read the next sample in storage order, from any track. | |
AP4_Result | ReadNextSample (AP4_UI32 track_id, AP4_Sample &sample, AP4_DataBuffer &sample_data) |
Read the next sample in storage order from a specific track. | |
AP4_Result | SetSampleIndex (AP4_UI32 track_id, AP4_UI32 sample_index) |
AP4_Size | GetBufferFullness () |
Detailed Description
Definition at line 56 of file Ap4LinearReader.h.
Constructor & Destructor Documentation
AP4_LinearReader::AP4_LinearReader | ( | AP4_Movie & | movie, | |
AP4_Size | max_buffer = AP4_LINEAR_READER_DEFAULT_BUFFER_SIZE | |||
) |
AP4_LinearReader::~AP4_LinearReader | ( | ) |
Member Function Documentation
AP4_Result AP4_LinearReader::EnableTrack | ( | AP4_UI32 | track_id | ) |
AP4_Size AP4_LinearReader::GetBufferFullness | ( | ) | [inline] |
Definition at line 79 of file Ap4LinearReader.h.
AP4_Result AP4_LinearReader::ReadNextSample | ( | AP4_UI32 | track_id, | |
AP4_Sample & | sample, | |||
AP4_DataBuffer & | sample_data | |||
) |
Read the next sample in storage order from a specific track.
AP4_Result AP4_LinearReader::ReadNextSample | ( | AP4_Sample & | sample, | |
AP4_DataBuffer & | sample_data, | |||
AP4_UI32 & | track_id | |||
) |
Read the next sample in storage order, from any track.
track_id is updated to reflect the track from which the sample was read.
AP4_Result AP4_LinearReader::SetSampleIndex | ( | AP4_UI32 | track_id, | |
AP4_UI32 | sample_index | |||
) |
The documentation for this class was generated from the following file:
Generated on Thu May 13 16:37:21 2010 for Bento4 MP4 SDK by 1.6.3