#include <esp_mpeg2ves.h>
Inheritance diagram for MPEG2_VES_EssenceSubParser::ESP_EssenceSource:
Public Member Functions | |
ESP_EssenceSource (EssenceSubParserPtr TheCaller, FileHandle InFile, UInt32 UseStream, UInt64 Count=1) | |
Construct and initialise for essence parsing/sourcing. | |
virtual size_t | GetEssenceDataSize (void) |
Get the size of the essence data in bytes. | |
virtual DataChunkPtr | GetEssenceData (size_t Size=0, size_t MaxSize=0) |
Get the next "installment" of essence data. | |
virtual bool | EndOfItem (void) |
Did the last call to GetEssenceData() return the end of a wrapping item. | |
virtual int | GetBERSize (void) |
Get the preferred BER length size for essence KLVs written from this source, 0 for auto. | |
virtual bool | IsEditPoint (void) |
Is the last data read the start of an edit point? | |
Protected Attributes | |
size_t | BytesRemaining |
The number of bytes remaining in a multi-part GetEssenceData, or zero if not part read. |
ESP_EssenceSource | ( | EssenceSubParserPtr | TheCaller, | |
FileHandle | InFile, | |||
UInt32 | UseStream, | |||
UInt64 | Count = 1 | |||
) | [inline] |
Construct and initialise for essence parsing/sourcing.
Reimplemented from EssenceSubParser::ESP_EssenceSource.
virtual size_t GetEssenceDataSize | ( | void | ) | [inline, virtual] |
Get the size of the essence data in bytes.
Implements EssenceSource.
DataChunkPtr GetEssenceData | ( | size_t | Size = 0 , |
|
size_t | MaxSize = 0 | |||
) | [virtual] |
Get the next "installment" of essence data.
If Size = 0 the object will decide the size of the chunk to return
On no account will the returned chunk be larger than MaxSize (if MaxSize > 0)
Reimplemented from EssenceSubParser::ESP_EssenceSource.
virtual bool EndOfItem | ( | void | ) | [inline, virtual] |
Did the last call to GetEssenceData() return the end of a wrapping item.
true if the last call to GetEssenceData() returned the last chunk of a wrapping unit.
true if the last call to GetEssenceData() returned the end of a clip-wrapped clip.
false if there is more data pending for the current wrapping unit.
false if the source is to be clip-wrapped and there is more data pending for the clip
Reimplemented from EssenceSubParser::ESP_EssenceSource.
virtual int GetBERSize | ( | void | ) | [inline, virtual] |
Get the preferred BER length size for essence KLVs written from this source, 0 for auto.
Reimplemented from EssenceSource.
virtual bool IsEditPoint | ( | void | ) | [inline, virtual] |
Is the last data read the start of an edit point?
Reimplemented from EssenceSubParser::ESP_EssenceSource.
size_t BytesRemaining [protected] |
The number of bytes remaining in a multi-part GetEssenceData, or zero if not part read.