class CCamera::CCameraVideoCaptureControl::TPrepareVideoParameters |
Provides information regarding parameters needed to prepare for video capture.
Public Member Functions | |
---|---|
TPrepareVideoParameters () | |
IMPORT_C TBool | IsEmbeddedStillCaptureEnabled () |
IMPORT_C void | SetEmbeddedStillCaptureState ( TBool ) |
IMPORT_C void | SetVideoCaptureType ( CCamera::CCameraVideoCaptureControl::TVideoCaptureType ) |
IMPORT_C TUint | Size () |
IMPORT_C TUint | Version () |
IMPORT_C CCamera::CCameraVideoCaptureControl::TVideoCaptureType | VideoCaptureType () |
Private Attributes | |
---|---|
TUint | iIsEmbeddedStillCaptureEnabled |
TInt | iReserved1 |
TInt | iReserved2 |
TInt | iReserved3 |
TUint | iReservedBits |
TUint | iReservedBits2 |
TUint | iSize |
TUint | iVersion |
TUint | iVideoCaptureType |
IMPORT_C | TPrepareVideoParameters | ( | ) |
Constructor for the TPrepareVideoParameters class. Sets the size and version of this class.
IMPORT_C TBool | IsEmbeddedStillCaptureEnabled | ( | ) | const |
Indicates whether or not the embedded still image capture state is enabled.
CCamera::CCameraVideoCaptureControl::TPrepareVideoParameters::iIsEmbeddedStillCaptureEnabled
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
TBool aIsEmbeddedStillCaptureEnabled | ETrue implies embedded still capture state is enabled. EFalse implies embedded still capture state is disabled. |
IMPORT_C void | SetVideoCaptureType | ( | CCamera::CCameraVideoCaptureControl::TVideoCaptureType | aVideoCaptureType | ) |
Sets the desired video capture type.
CCamera::CCameraVideoCaptureControl::TPrepareVideoParameters::iVideoCaptureType
CCamera::CCameraVideoCaptureControl::TVideoCaptureType aVideoCaptureType | The desired video capture type. |
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.
The size will be modified when the T-class gets updated.
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.
The version will be modified when the T-class gets updated.
IMPORT_C CCamera::CCameraVideoCaptureControl::TVideoCaptureType | VideoCaptureType | ( | ) | const |
Retrieves the current video capture type used.
CCamera::CCameraVideoCaptureControl::TPrepareVideoParameters::iVideoCaptureType
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 |
Format must be one of the video frame formats supported (see TCameraInfo::iVideoFrameFormatsSupported ).
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 | [private] |
Indicates whether the embedded still capture is enabled. One bit is enough to provide such information
CCamera::CCameraAdvancedSettings::TPixelAspectRatio | iPixelAspectRatio |
Pixel aspect ratio to be used for the image.
TInt | iRateIndex |
The rate must be in the range 0 to TCameraInfo::iNumVideoFrameRatesSupported -1 inclusive.
TInt | iSizeIndex |
Size index must be in the range 0 to TCameraInfo::iNumVideoFrameSizesSupported -1 inclusive.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.