| class MFrameBuffer |
Buffer class for passing video frames between camera and client.
May contain multiple frames.
| Public Member Functions | |
|---|---|
| TDesC8 * | DataL(TInt) |
| CFbsBitmap * | FrameL(TInt) |
| void | Release() |
| Public Attributes | |
|---|---|
| TTimeIntervalMicroSeconds | iElapsedTime |
| TInt | iIndexOfFirstFrameInBuffer |
| 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.
A pointer to the specified non-bitmap format frame of video data.
| TInt aIndex | The index of the required, non-bitmap, frame. |
| 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.
A pointer to the specified bitmap format frame of video data.
| TInt aIndex | The index of the required, bitmap format, frame. |
| 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.
| TTimeIntervalMicroSeconds | iElapsedTime |
Time elapsed from when CCamera::StartVideoCapture() was called until the first frame in the buffer was captured.
| 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.