Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: devvideorecord.h

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class TVideoOutputBuffer

class TVideoOutputBuffer;

Description

A video output buffer for a single output coded data unit from the encoder. In practice the encoder is likely to inherit its own buffer class from this class, adding its own internal bookkeeping data.

Members

Defined in TVideoOutputBuffer:
iCaptureTimestamp, iCodingStandardSpecificData, iCoverageEndPosition, iCoverageStartPosition, iData, iDataPartitionNumber, iHrdVbvParams, iImplementationSpecificData, iInLayerScalabilityStep, iLayer, iLink, iMaxErrorProtectionLevel, iMinErrorProtectionLevel, iOrderNumber, iRandomAccessPoint, iRequiredSeveralPictures, iRequiredThisPicture, iSubSeqId


Member data


iData

TPtrC8 iData;

Description

Coded video data for this data unit.


iCaptureTimestamp

TTimeIntervalMicroSeconds iCaptureTimestamp;

Description

Capture timestamp for this data unit. If a single picture is divided into multiple data units, all data units have the same timestamp.


iCoverageStartPosition

TUint iCoverageStartPosition;

Description

Identification number indicating the start of the spatial coverage of the data in the output buffer, for example the first macroblock number.


iCoverageEndPosition

TUint iCoverageEndPosition;

Description

End of the spatial coverage of the data in the buffer, for example the last macroblock number. The idenfication numbers can be used to match data partitions with each other.


iOrderNumber

TUint iOrderNumber;

Description

Order number of the output buffer having the same spatial coverage as an earlier output buffer of the same picture. Used with video pictures or segments that do not fit into an output buffer. The order number of the first output buffer of a particular spatial coverage area is 0. The order number shall be incremented by 1 for each subsequent output buffer having the same coverage in the same coded picture.


iMinErrorProtectionLevel

TUint iMinErrorProtectionLevel;

Description

Lowest unequal error protection level present in the buffer. Level 0 indicates that the buffer can be discarded without causing temporal error propagation in the decoder, higher values indicate more important buffers. If unequal error protection is not used, the value is set to 1.


iMaxErrorProtectionLevel

TUint iMaxErrorProtectionLevel;

Description

Highest unequal error protection level present in the buffer. If unequal error protection is not used, the value is set to 1.


iRequiredSeveralPictures

TBool iRequiredSeveralPictures;

Description

True if this buffer contains data that is required for decoding several pictures, for example the only copy of a sequence header. A picture needed for motion compensated prediction is not considered "required for decoding several pictures".


iRequiredThisPicture

TBool iRequiredThisPicture;

Description

True if this buffer contains data that is required for decoding other parts of the same picture, for example the only copy of the picture header.


iLayer

TUint iLayer;

Description

The layer number for this picture if layered bit-rate scalability is used. If layers are not used, the layer number is always zero.


iSubSeqId

TUint iSubSeqId;

Description

Sub-sequence identifier of the output picture. A sub-sequence is a set of coded pictures within a bit-rate scalability layer. A picture shall reside in one scalability layer and in one sub-sequence only. A sub-sequence shall not depend on any other sub-sequence in the same or in a higher layer. A sub-sequence in layer 0 can be decoded independently of any other sub-sequences. A sub-sequence identifier labels the sub-sequence within a layer. Consecutive sub-sequences within a particular layer in decoding order shall have a different sub-sequence identifier from each other. See Annex D of H.264 | MPEG-4 AVC for further details.


iInLayerScalabilityStep

TUint iInLayerScalabilityStep;

Description

The in-layer scalability step for the data in the buffer if in-layer scalability is used. If in-layer scalability is not in use, the step is set to zero.


iDataPartitionNumber

TUint iDataPartitionNumber;

Description

iDataPartitionNumber equal to 0 indicates that data partitioning is not in use. Values of iDataPartitionNumber greater than 0 indicate the data partition number in descending order of importance, i.e. data partition 1 is the most important data partition subjectively. Data partitioning can be used with multiple unequal error protection levels.


iRandomAccessPoint

TBool iRandomAccessPoint;

Description

True if this buffer contains data for a random access point.


iHrdVbvParams

TPtrC8 iHrdVbvParams;

Description

Updated HRD/VBV parameters, valid if HRD/VBV is in use and iRandomAccessPoint is true.


iCodingStandardSpecificData

TPtrC8 iCodingStandardSpecificData;

Description

Coding-standard specific data.


iImplementationSpecificData

TPtrC8 iImplementationSpecificData;

Description

Implementation-specific data.


iLink

TDblQueLink iLink;

Description

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.