CCamera::CCameraVideoCaptureControl Class Reference

class CCamera::CCameraVideoCaptureControl : public CBase

CCamera Video Capture Control class exposes an API for controlling operations related to video capture. This gives priority to the low latency aspect by postponing the post processing activity involved with current video captured data(while stopping the video capture) in order to capture/prepare for next still image.

Note:

This class is not intended for sub-classing and used to standardise existing varieties of implementations.

If the class methods leave, any reference argument is not guaranteed to be valid.

Clients must implement an MCaptureVideoObserver in order to use this CCameraVideoCaptureControl API. MCameraObserver2::VideoBufferReady will not be used with this class.

Inherits from

  • CCamera::CCameraVideoCaptureControl
Public Member Functions
~CCameraVideoCaptureControl()
IMPORT_C CCamera::CCameraV2Histogram *CreateHistogramHandleL()
IMPORT_C voidGetDisabledSettingsL(RArray< TUid > &)
IMPORT_C voidGetEmbeddedStillCaptureSupportInfoL(TInt &)
IMPORT_C voidGetFadingEffectStateL(TFadingEffectState &)
IMPORT_C voidGetPixelAspectsSupportedL(TUint &, CCamera::TFormat, const TSize &)
IMPORT_C voidGetPrepareVideoParametersL(TPrepareVideoParameters &)
IMPORT_C voidGetRangeAffectedSettingsL(RArray< TUid > &)
IMPORT_C CCamera::CCameraSnapshot *GetSnapshotHandleL(TInt)
IMPORT_C CCamera::CCameraImageProcessing *GetTransformationHandleL()
IMPORT_C voidGetValueAffectedSettingsL(RArray< TUid > &)
IMPORT_C voidGetVideoCaptureStateL(TVideoCaptureState &)
IMPORT_C voidGetVideoCaptureSupportInfoL(TInt &)
IMPORT_C voidGetVideoFormatsSupportedL(TUint &, const TSize &)
IMPORT_C CCameraVideoCaptureControl *NewL(CCamera &, MCaptureVideoObserver &)
IMPORT_C voidPauseVideoCapture()
IMPORT_C voidPrepareVideoCapture(const TPrepareVideoParameters &)
IMPORT_C voidReleaseVideoResource()
IMPORT_C voidResumeVideoCaptureL()
IMPORT_C voidSetFadingEffectState(TFadingEffectState)
IMPORT_C voidStartVideoCaptureL()
IMPORT_C voidStopVideoCapture()
Private Member Functions
CCameraVideoCaptureControl(CCamera &)
voidConstructL(MCaptureVideoObserver &)
voidGetConversionCoefficientL(TYuvCoefficients &)
voidGetSupportedConversionCoefficientsL(TUint &)
voidSetConversionCoefficient(TYuvCoefficients)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTEmbeddedStillCaptureTypes { EEmbeddedStillCaptureNotSupported = 0x00, EEmbeddedStillCaptureSupported = 0x01 }
enumTFadingEffectState { EFadingEffectEnabled, EFadingEffectDisabled }
enumTVideoCaptureState { EVideoCapturePrepared, EVideoCaptureActive, EVideoCapturePaused, EVideoCaptureInActive }
enumTVideoCaptureType { EVideoCaptureNotSupported = 0x00, EClientVideoCapture = 0x01, EDirectVideoCapture = 0x02 }
Private Attributes
MCameraVideoCaptureControl *iImpl
CCamera &iOwner

Constructor & Destructor Documentation

CCameraVideoCaptureControl(CCamera &)

CCameraVideoCaptureControl(CCamera &aOwner)[private]

Parameters

CCamera & aOwner

~CCameraVideoCaptureControl()

IMPORT_C~CCameraVideoCaptureControl()

Member Functions Documentation

ConstructL(MCaptureVideoObserver &)

voidConstructL(MCaptureVideoObserver &aCaptureVideoObserver)[private]

Parameters

MCaptureVideoObserver & aCaptureVideoObserver

CreateHistogramHandleL()

IMPORT_C CCamera::CCameraV2Histogram *CreateHistogramHandleL()const

GetConversionCoefficientL(TYuvCoefficients &)

voidGetConversionCoefficientL(TYuvCoefficients &aConversionCoefficients)const [private]

Parameters

TYuvCoefficients & aConversionCoefficients

GetDisabledSettingsL(RArray< TUid > &)

IMPORT_C voidGetDisabledSettingsL(RArray< TUid > &aDisabledSettings)const

Parameters

RArray< TUid > & aDisabledSettings

GetEmbeddedStillCaptureSupportInfoL(TInt &)

IMPORT_C voidGetEmbeddedStillCaptureSupportInfoL(TInt &aSupportedEmbeddedStillCaptureTypes)const

Parameters

TInt & aSupportedEmbeddedStillCaptureTypes

GetFadingEffectStateL(TFadingEffectState &)

IMPORT_C voidGetFadingEffectStateL(TFadingEffectState &aFadingEffectState)const

Parameters

TFadingEffectState & aFadingEffectState

GetPixelAspectsSupportedL(TUint &, CCamera::TFormat, const TSize &)

IMPORT_C voidGetPixelAspectsSupportedL(TUint &aPixelAspectsSupported,
CCamera::TFormataVideoFormat,
const TSize &aSize
)const

Parameters

TUint & aPixelAspectsSupported
CCamera::TFormat aVideoFormat
const TSize & aSize

GetPrepareVideoParametersL(TPrepareVideoParameters &)

IMPORT_C voidGetPrepareVideoParametersL(TPrepareVideoParameters &aPrepareVideoParameters)const

Parameters

TPrepareVideoParameters & aPrepareVideoParameters

GetRangeAffectedSettingsL(RArray< TUid > &)

IMPORT_C voidGetRangeAffectedSettingsL(RArray< TUid > &aRangeAffectedSettings)const

Parameters

RArray< TUid > & aRangeAffectedSettings

GetSnapshotHandleL(TInt)

IMPORT_C CCamera::CCameraSnapshot *GetSnapshotHandleL(TIntaClientViewFinderId)const

Parameters

TInt aClientViewFinderId

GetSupportedConversionCoefficientsL(TUint &)

voidGetSupportedConversionCoefficientsL(TUint &aSupportedConversionCoefficients)const [private]

Parameters

TUint & aSupportedConversionCoefficients

GetTransformationHandleL()

IMPORT_C CCamera::CCameraImageProcessing *GetTransformationHandleL()const

GetValueAffectedSettingsL(RArray< TUid > &)

IMPORT_C voidGetValueAffectedSettingsL(RArray< TUid > &aValueAffectedSettings)const

Parameters

RArray< TUid > & aValueAffectedSettings

GetVideoCaptureStateL(TVideoCaptureState &)

IMPORT_C voidGetVideoCaptureStateL(TVideoCaptureState &aVideoCaptureState)const

Parameters

TVideoCaptureState & aVideoCaptureState

GetVideoCaptureSupportInfoL(TInt &)

IMPORT_C voidGetVideoCaptureSupportInfoL(TInt &aSupportedVideoCaptureTypes)const

Parameters

TInt & aSupportedVideoCaptureTypes

GetVideoFormatsSupportedL(TUint &, const TSize &)

IMPORT_C voidGetVideoFormatsSupportedL(TUint &aVideoFormatsSupported,
const TSize &aSize
)const

Parameters

TUint & aVideoFormatsSupported
const TSize & aSize

NewL(CCamera &, MCaptureVideoObserver &)

IMPORT_C CCameraVideoCaptureControl *NewL(CCamera &aCamera,
MCaptureVideoObserver &aCaptureVideoObserver
)[static]

Parameters

CCamera & aCamera
MCaptureVideoObserver & aCaptureVideoObserver

PauseVideoCapture()

IMPORT_C voidPauseVideoCapture()

PrepareVideoCapture(const TPrepareVideoParameters &)

IMPORT_C voidPrepareVideoCapture(const TPrepareVideoParameters &aPrepareVideoParameters)

Parameters

const TPrepareVideoParameters & aPrepareVideoParameters

ReleaseVideoResource()

IMPORT_C voidReleaseVideoResource()

ResumeVideoCaptureL()

IMPORT_C voidResumeVideoCaptureL()

SetConversionCoefficient(TYuvCoefficients)

voidSetConversionCoefficient(TYuvCoefficientsaConversionCoefficients)[private]

Parameters

TYuvCoefficients aConversionCoefficients

SetFadingEffectState(TFadingEffectState)

IMPORT_C voidSetFadingEffectState(TFadingEffectStateaFadingEffectState)

Parameters

TFadingEffectState aFadingEffectState

StartVideoCaptureL()

IMPORT_C voidStartVideoCaptureL()

StopVideoCapture()

IMPORT_C voidStopVideoCapture()

Member Enumerations Documentation

Enum TEmbeddedStillCaptureTypes

Specifies the various embedded still capture support. The enumeration list may be extended in future.

Enumerators

EEmbeddedStillCaptureNotSupported = 0x00

Embedded still capture not supported

EEmbeddedStillCaptureSupported = 0x01

Embedded still capture supported

Enum TFadingEffectState

Specifies the fading effect for video captured frames. The enumeration list may be extended in future.

Enumerators

EFadingEffectEnabled

The fading effect will be visible on video captured frames as well, whenever the viewfinder fading is enabled

EFadingEffectDisabled

The fading effect will not be visible on video captured frames, whenever the viewfinder fading is enabled

Enum TVideoCaptureState

Specifies video capture state. The enumeration list may be extended in future.

Enumerators

EVideoCapturePrepared

Video Capture has been prepared but not yet started

EVideoCaptureActive

Video Capture has been started and is running

EVideoCapturePaused

Video Capture has been started and is paused

EVideoCaptureInActive

Video Capture has been stopped or not yet prepared

Enum TVideoCaptureType

Specifies the various video capture types. The enumeration list may be extended in future.

Enumerators

EVideoCaptureNotSupported = 0x00

Video capture not supported.

EClientVideoCapture = 0x01

Client video capture - Client video capture is a concept under which video buffers will be available to the clients of ECam through the dedicated observer MCaptureVideoObserver::VideoBufferReady(). Video frame formats used under this client video capture can be either compressed video frames or uncompressed video frames which are available through CCamera::TFormat.

EDirectVideoCapture = 0x02

Direct video capture - Direct video capture is a concept under which video buffers will not be available to the clients of ECam through the dedicated observers. Video frames will be used by the ECam adaptation and could be passed internally to other components. Video frame formats used under this direct video capture can be either compressed video frames or uncompressed video frames which are available through CCamera::TFormat.

Member Data Documentation

MCameraVideoCaptureControl * iImpl

MCameraVideoCaptureControl *iImpl[private]

CCamera & iOwner

CCamera &iOwner[private]