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.
Public Member Enumerations | |
---|---|
enum |
THeaderOptions
{
EDecodingTimestamp = 0x00000001, EPresentationTimestamp = 0x00000002, EPreDecoderBufferSize = 0x00000004, EPostDecoderBufferSize = 0x00000008, EPictureNumber = 0x00000010, ELayeredCoding = 0x00000020, ESupplementalData = 0x00000040, ERandomAccessBufferingPeriod = 0x00000080, ERandomAccessBufferOccupancy = 0x00000100 } |
EDecodingTimestamp = 0x00000001 |
Decoding timestamp is valid |
EPresentationTimestamp = 0x00000002 |
Presentation timestamp is valid |
EPreDecoderBufferSize = 0x00000004 |
Pre-decoder buffersize is valid |
EPostDecoderBufferSize = 0x00000008 |
Post-decoder buffersize is valid |
EPictureNumber = 0x00000010 |
Picture number field is valid |
ELayeredCoding = 0x00000020 |
Layered coding is used and the layer number field is valid |
ESupplementalData = 0x00000040 |
Supplemental data is available |
ERandomAccessBufferingPeriod = 0x00000080 |
Random access buffering period is valid |
ERandomAccessBufferOccupancy = 0x00000100 |
Random access buffer occupancy is valid |
TTimeIntervalMicroSeconds | iDecodingTimestamp |
Picture decoding timestamp. Valid only if EDecodingTimestamp is set in the options.
TBool | iIsRandomAccessible |
True if the picture is a random-accessible picture.
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.
TUint32 | iOptions |
Header options. The value is a bitfield combined from values from THeaderOptions.
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.
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 | 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 | iPreDecoderBufferSize |
Expected pre-decoder buffer size in bytes. Valid only if EPreDecoderBufferSize is set in the options.
TTimeIntervalMicroSeconds | iPresentationTimestamp |
Picture presentation timestamp. Valid only if EPresentationTimestamp is set in the options. The clock frequency is stored in the timestamp structure.
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.
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.
TSize | iSizeInMemory |
Image size in memory, in pixels. May be larger than the displayed picture.
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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.