MFrameBuffer Class Reference

class MFrameBuffer

Buffer class for passing video frames between camera and client.

May contain multiple frames.

Member Functions Documentation

DataL(TInt)

TDesC8 * DataL ( TInt aIndex ) [pure virtual]

Gets a non-bitmap frame in the buffer.

leave
KErrArgument if aIndex is out of range
leave
KErrNotSupported if the frame format is bitmap.

Parameters

TInt aIndex The index of the required, non-bitmap, frame.

FrameL(TInt)

CFbsBitmap * FrameL ( TInt aIndex ) [pure virtual]

Gets a bitmap frame in the buffer.

leave
KErrArgument if aIndex is out of range and
leave
KErrNotSupported if the frame format is not a bitmap.

Parameters

TInt aIndex The index of the required, bitmap format, frame.

Release()

void Release ( ) [pure virtual]

Releases the buffer for re-use by the camera once the client has processed the frame data.

Signals to CCamera that the buffer data has been used and that the buffer is free for re-use.

Member Data Documentation

TTimeIntervalMicroSeconds iElapsedTime

TTimeIntervalMicroSeconds iElapsedTime

Time elapsed from when CCamera::StartVideoCapture() was called until the first frame in the buffer was captured.

TInt iIndexOfFirstFrameInBuffer

TInt iIndexOfFirstFrameInBuffer

Sequential frame number of the first frame in the buffer, counting from when CCamera::StartVideoCapture() was called and including frames dropped due to lack of buffers.