CCamera::CCameraVideoCaptureControl::TPrepareVideoParameters Class Reference

class CCamera::CCameraVideoCaptureControl::TPrepareVideoParameters

Provides information regarding parameters needed to prepare for video capture.

Constructor & Destructor Documentation

TPrepareVideoParameters()

IMPORT_C TPrepareVideoParameters ( )

Constructor for the TPrepareVideoParameters class. Sets the size and version of this class.

Member Functions Documentation

IsEmbeddedStillCaptureEnabled()

IMPORT_C TBool IsEmbeddedStillCaptureEnabled ( ) const

Indicates whether or not the embedded still image capture state is enabled.

CCamera::CCameraVideoCaptureControl::TPrepareVideoParameters::iIsEmbeddedStillCaptureEnabled

SetEmbeddedStillCaptureState(TBool)

IMPORT_C void SetEmbeddedStillCaptureState ( TBool aIsEmbeddedStillCaptureEnabled )

Sets the state to inform whether or not the embedded still image capture state is enabled.

CCamera::CCameraVideoCaptureControl::TPrepareVideoParameters::iIsEmbeddedStillCaptureEnabled

Parameters

TBool aIsEmbeddedStillCaptureEnabled ETrue implies embedded still capture state is enabled. EFalse implies embedded still capture state is disabled.

SetVideoCaptureType(CCamera::CCameraVideoCaptureControl::TVideoCaptureType)

IMPORT_C void SetVideoCaptureType ( CCamera::CCameraVideoCaptureControl::TVideoCaptureType aVideoCaptureType )

Parameters

CCamera::CCameraVideoCaptureControl::TVideoCaptureType aVideoCaptureType The desired video capture type.

Size()

IMPORT_C TUint Size ( ) const

Returns the size of the class. Used for extensibility by deriving from this base class and adding new member variables. Intended to be used for implementation of methods where this class reference is passed as function arguments. Implementation of such methods can find out the whether the actual class passed is base or the derived one. So, if a new application is made to run on an old implementation, an error may occur in such cases after the old implementation detects this by getting the size information of the T class passed. Also, if old application is made to run on a new implementation, this could be properly handled if the derived class variables handling is done in a proper 'if-else' statement.

Note:

The size will be modified when the T-class gets updated.

Version()

IMPORT_C TUint Version ( ) const

Returns the version of the class. Used for extensibility specially when the class members are not added but the Reserved members get used at a later stage.

Note:

The version will be modified when the T-class gets updated.

VideoCaptureType()

IMPORT_C CCamera::CCameraVideoCaptureControl::TVideoCaptureType VideoCaptureType ( ) const

Member Data Documentation

TInt iBuffersToUse

TInt iBuffersToUse

The number of discrete buffers to use.

TRect iClipRect

TRect iClipRect

Identifies the rectangle to which the video frame has to be clipped. If no specifc clipping rectangle desired by the client, the clipping region can be given by origin as the top-left corner and size as given by iSizeIndex.

CCamera::TFormat iFormat

CCamera::TFormat iFormat

Format must be one of the video frame formats supported (see TCameraInfo::iVideoFrameFormatsSupported ).

TInt iFramesPerBuffer

TInt iFramesPerBuffer

This indirectly indicates how large the buffers are to be. Number of frames per buffer must be less than or equal to TCameraInfo::iMaxFramesPerBufferSupported . One buffer is returned to MCaptureVideoObserver :: VideoBufferReady() at a time.

TUint iIsEmbeddedStillCaptureEnabled

TUint iIsEmbeddedStillCaptureEnabled [private]

Indicates whether the embedded still capture is enabled. One bit is enough to provide such information

CCamera::CCameraAdvancedSettings::TPixelAspectRatio iPixelAspectRatio

CCamera::CCameraAdvancedSettings::TPixelAspectRatio iPixelAspectRatio

Pixel aspect ratio to be used for the image.

TInt iRateIndex

TInt iRateIndex

The rate must be in the range 0 to TCameraInfo::iNumVideoFrameRatesSupported -1 inclusive.

TInt iReserved1

TInt iReserved1 [private]

TInt iReserved2

TInt iReserved2 [private]

TInt iReserved3

TInt iReserved3 [private]

TUint iReservedBits

TUint iReservedBits [private]

TUint iReservedBits2

TUint iReservedBits2 [private]

TUint iSize

TUint iSize [private]

TInt iSizeIndex

TInt iSizeIndex

Size index must be in the range 0 to TCameraInfo::iNumVideoFrameSizesSupported -1 inclusive.

TUint iVersion

TUint iVersion [private]

TUint iVideoCaptureType

TUint iVideoCaptureType [private]