|
||
class TCodecProcessResult;
Indicates the result of processing data from the source buffer to a destination buffer and provides functions to compare the result code.
Defined in TCodecProcessResult
:
EDstNotFilled
Could not fill the destination buffer because the source buffer has been emptiedEEndOfData
Codec came across an end of data.EProcessComplete
The codec successfully has completed its processing.EProcessCompleteRepositionRequest
As 'EFrameComplete' but also requests a call to GetNewDataPosition.EProcessError
An error occured.EProcessIncomplete
Could not empty the source buffer because the destination buffer became full.EProcessIncompleteRepositionRequest
As 'EFrameIncomplete' but also requests a call to GetNewDataPosition.TCodecProcessResult()
Default constructor.TCodecProcessResultStatus
Flag to track the codec's processing status.iDstBytesAdded
The number of bytes added to the destination buffer.iSrcBytesProcessed
The number of source bytes processed.iStatus
The codec's processing status.operator!=(const TCodecProcessResultStatus)const
Overloaded operator to test inequality.operator==(const TCodecProcessResultStatus)const
Overloaded operator to test equality.inline TBool operator==(const TCodecProcessResultStatus aStatus) const;
Overloaded operator to test equality.
|
|
inline TBool operator!=(const TCodecProcessResultStatus aStatus) const;
Overloaded operator to test inequality.
|
|
TCodecProcessResultStatus
Flag to track the codec's processing status.
|
TCodecProcessResultStatus iStatus;
The codec's processing status.
TCodecProcessResult::TCodecProcessResultStatus
Flag to track the codec's processing status.TUint iSrcBytesProcessed;
The number of source bytes processed.
The number of bytes of source data that have been processed.
A codec should set this, and iDstBytesAdded, to indicate the source bytes processed for a particular call (i.e. not the total number of source bytes processed or destination bytes added). The codec should also ensure that the length of the destination buffer matches the length of the processed data in the destination buffer. Note that the codec should not reallocate the maximum length of the destination buffer.
TUint iDstBytesAdded;
The number of bytes added to the destination buffer.
A codec should set this, and iSrcBytesProcessed, to indicate the source bytes processed for a particular call (i.e. not the total number of source bytes processed or destination bytes added). The codec should also ensure that the length of the destination buffer matches the length of the processed data in the destination buffer. Note that the codec should not reallocate the maximum length of the destination buffer.