Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
MFrameBuffer Class Referenceabstract

Buffer class for passing video frames between camera and client. More...

#include <ecam.h>

Public Member Functions

virtual TDesC8 * DataL (TInt aIndex)=0
 Gets a non-bitmap frame in the buffer.
 
virtual CFbsBitmap * FrameL (TInt aIndex)=0
 Gets a bitmap frame in the buffer.
 
virtual void Release ()=0
 Releases the buffer for re-use by the camera once the client has processed the frame data.
 

Public Attributes

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.
 
TTimeIntervalMicroSeconds iElapsedTime
 Time elapsed from when CCamera::StartVideoCapture() was called until the first frame in the buffer was captured.
 

Detailed Description

Buffer class for passing video frames between camera and client.

May contain multiple frames.

API status
Published to all clients. Released API.

Definition at line 1815 of file ecam.h.

Member Function Documentation

◆ DataL()

virtual TDesC8 * MFrameBuffer::DataL ( TInt  aIndex)
pure virtual

Gets a non-bitmap frame in the buffer.

Parameters
aIndexThe index of the required, non-bitmap, frame.

Leave condition: KErrArgument if aIndex is out of range Leave condition: KErrNotSupported if the frame format is bitmap.

Returns
A pointer to the specified non-bitmap format frame of video data.

◆ FrameL()

virtual CFbsBitmap * MFrameBuffer::FrameL ( TInt  aIndex)
pure virtual

Gets a bitmap frame in the buffer.

Parameters
aIndexThe index of the required, bitmap format, frame.

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

Returns
A pointer to the specified bitmap format frame of video data.

◆ Release()

virtual void MFrameBuffer::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

◆ iElapsedTime

TTimeIntervalMicroSeconds MFrameBuffer::iElapsedTime

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

Definition at line 1865 of file ecam.h.

◆ iIndexOfFirstFrameInBuffer

TInt MFrameBuffer::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.

Definition at line 1859 of file ecam.h.


The documentation for this class was generated from the following file: