Location:
devvideobase.h
class TVideoPictureHeader;
Header information for one decoded picture. The header information is returned alongside with decoded pictures, or it can be read separately when DevVideoPlay is being initialized.
Defined in TVideoPictureHeader
:
EDecodingTimestamp
, ELayeredCoding
, EPictureNumber
, EPostDecoderBufferSize
, EPreDecoderBufferSize
, EPresentationTimestamp
, ERandomAccessBufferOccupancy
, ERandomAccessBufferingPeriod
, ESupplementalData
, THeaderOptions
, iDecodingTimestamp
, iDisplayedRect
, iIsRandomAccessible
, iLevel
, iOptional
, iOptions
, iPictureLayer
, iPictureNumber
, iPostDecoderBufferSize
, iPreDecoderBufferSize
, iPresentationTimestamp
, iProfile
, iRandomAccessBufferOccupancy
, iRandomAccessBufferingPeriod
, iSizeInMemory
, iSupplementalData
, iVersion
THeaderOptions
|
TUint32 iOptions;
Header options. The value is a bitfield combined from values from THeaderOptions.
const TDesC8 * iOptional;
Pointer to a descriptor that contains optional codec-specific features. Set to NULL if not used. The format of the data is codec-specific. The pointer and descriptor data are valid as long as the header information structure is valid.
TSize iSizeInMemory;
Image size in memory, in pixels. May be larger than the displayed picture.
TTimeIntervalMicroSeconds iPresentationTimestamp;
Picture presentation timestamp. Valid only if EPresentationTimestamp is set in the options. The clock frequency is stored in the timestamp structure.
TTimeIntervalMicroSeconds iDecodingTimestamp;
Picture decoding timestamp. Valid only if EDecodingTimestamp is set in the options.
TUint iPreDecoderBufferSize;
Expected pre-decoder buffer size in bytes. Valid only if EPreDecoderBufferSize is set in the options.
TUint iPostDecoderBufferSize;
Expected post-decoder buffer size in bytes. Valid only if EPostDecoderBufferSize is set in the options. It is assumed that a frame buffer to be displayed is returned before the decoding of the next frame is started. If this is not the case, a larger post-decoder buffer may actually be needed.
TUint iPictureNumber;
Picture number, valid only if EPictureNumber is set in the options. This field is used to indicate one of the following: picture number or long-term picture index for H.263, vop_id for MPEG-4 Visual, picture number or long-term picture number for AVC.
TUint iPictureLayer;
Picture layer number if layered coding is used, valid only if ELayeredCoding is set in the options. Layers are numbered [0…n-1], where n is the number of layers available. The first layer (layer zero) is the base layer, it can be decoded independently from the other layers, and it has the lowest total bitrate.
const TDesC8 * iSupplementalData;
Picture supplemental data, valid only if ESupplementalData is set in the options. The pointer and descriptor data are valid as long as the header information structure is valid.
TTimeIntervalMicroSeconds32 iRandomAccessBufferingPeriod;
The expected initial pre-decoder buffering period before starting the playback from this picture. Valid only if this picture is randomly accessible (iIsRandomAccessible is true) and ERandomAccessBufferingPeriod is set in the options. MPEG-2 and H.264 | MPEG-4 AVC use this value.
TUint iRandomAccessBufferOccupancy;
The expected initial pre-decoder buffer occupancy in bytes before starting the playback from this picture. Valid if this picture is randomly accessible (iIsRandomAccessible is true) and ERandomAccessBufferOccupancy is set in the options. MPEG-4 Visual uses this value.