|
||
class TVideoInputBuffer;
A buffer for compressed video data, contains one coded data unit. Video buffers are used for writing video data to the API.
Defined in TVideoInputBuffer
:
EDecodingTimestamp
The decoding timestamp field is valid EPresentationTimestamp
The presentation timestamp field is valid. ESequenceNumber
The sequence number field is valid. TVideoBufferOptions
TVideoInputBuffer()
Default constructor. Zeroes all members (including iData which will point to gar...iData
Pointer to the video data.iDecodingTimestamp
Data unit decoding timestamp. Valid if EDecodingTimestamp is set in the options.iError
True if the data unit is known to contain erroneous data.iLink
A queue link used internally by the MSL API. The field must not be modified whil...iOptions
Data unit options. The value is a bitfield combined from values from TVideoBuffe...iPreRoll
True if the data is part of a pre-roll period and may not be drawn. The decoder ...iPresentationTimestamp
Data unit presentation timestamp. Valid if EPresentationTimestamp is set in the ...iSequenceNumber
Data unit sequence number. Valid if ESequenceNumber is set in the options. If pr...iUser
A pointer for free-form user data. The pointer is set by the module that created...IMPORT_C TVideoInputBuffer();
Default constructor. Zeroes all members (including iData which will point to garbage until manually set to point to the real video buffer memory data area by the user).
TVideoBufferOptions
|
TUint32 iOptions;
Data unit options. The value is a bitfield combined from values from TVideoBufferOptions.
TTimeIntervalMicroSeconds iDecodingTimestamp;
Data unit decoding timestamp. Valid if EDecodingTimestamp is set in the options.
TTimeIntervalMicroSeconds iPresentationTimestamp;
Data unit presentation timestamp. Valid if EPresentationTimestamp is set in the options. If the input bitstream does not contain timestamp information, this field should be valid, otherwise pictures cannot be displayed at the correct time. If the input bitstream contains timestamp information (such as the TR syntax element of H.263 bitstreams) and valid iPresentationTimestamp is provided, the value of iPresentationTimestamp is used in playback.
TBool iPreRoll;
True if the data is part of a pre-roll period and may not be drawn. The decoder may skip display-related operations, but must still decode normally since pre-roll may not end in a key frame.
TUint iSequenceNumber;
Data unit sequence number. Valid if ESequenceNumber is set in the options. If present, the sequence number is incremented once per coded data unit, a gap in the numbers indicates missing data.
TDblQueLink iLink;
A queue link used internally by the MSL API. The field must not be modified while the buffer is in the MSL API, but can be used by the client before the buffer has been written and after the buffer has been returned.
TAny * iUser;
A pointer for free-form user data. The pointer is set by the module that created the buffer, and is usually used for memory management purposes.