AP4_Processor::TrackHandler Class Reference
Abstract class that defines the interface implemented by concrete track handlers. More...
#include <Ap4Processor.h>

Public Member Functions | |
virtual | ~TrackHandler () |
Default destructor. | |
virtual AP4_Result | ProcessTrack () |
A track handler may override this method if it needs to modify the track atoms before processing the track samples. | |
virtual AP4_Size | GetProcessedSampleSize (AP4_Sample &sample) |
Returns the size of a sample after processing. | |
virtual AP4_Result | ProcessSample (AP4_DataBuffer &data_in, AP4_DataBuffer &data_out)=0 |
Process the data of one sample. |
Detailed Description
Abstract class that defines the interface implemented by concrete track handlers.
A track handler is responsible for processing a track and its media samples.
Definition at line 83 of file Ap4Processor.h.
Constructor & Destructor Documentation
virtual AP4_Processor::TrackHandler::~TrackHandler | ( | ) | [inline, virtual] |
Default destructor.
Definition at line 88 of file Ap4Processor.h.
Member Function Documentation
virtual AP4_Size AP4_Processor::TrackHandler::GetProcessedSampleSize | ( | AP4_Sample & | sample | ) | [inline, virtual] |
Returns the size of a sample after processing.
- Parameters:
-
sample Sample of which the processed size is requested.
- Returns:
- Size of the sample data after processing.
Reimplemented in AP4_IsmaTrackDecrypter, AP4_MarlinIpmpTrackDecrypter, AP4_MarlinIpmpTrackEncrypter, and AP4_OmaDcfTrackDecrypter.
Definition at line 101 of file Ap4Processor.h.
References AP4_Sample::GetSize().
virtual AP4_Result AP4_Processor::TrackHandler::ProcessSample | ( | AP4_DataBuffer & | data_in, | |
AP4_DataBuffer & | data_out | |||
) | [pure virtual] |
Process the data of one sample.
- Parameters:
-
data_in Data buffer with the data of the sample to process. data_out Data buffer in which the processed sample data is returned.
Implemented in AP4_IsmaTrackDecrypter, AP4_MarlinIpmpTrackDecrypter, AP4_MarlinIpmpTrackEncrypter, and AP4_OmaDcfTrackDecrypter.
virtual AP4_Result AP4_Processor::TrackHandler::ProcessTrack | ( | ) | [inline, virtual] |
A track handler may override this method if it needs to modify the track atoms before processing the track samples.
Reimplemented in AP4_IsmaTrackDecrypter, and AP4_OmaDcfTrackDecrypter.
Definition at line 94 of file Ap4Processor.h.
References AP4_SUCCESS.
The documentation for this class was generated from the following file:
Generated on Thu May 13 16:37:44 2010 for Bento4 MP4 SDK by
