kernel/eka/include/drivers/camerasc.h
changeset 31 56f325a607ea
parent 0 a41df078684a
child 258 880ff05ad710
equal deleted inserted replaced
15:4122176ea935 31:56f325a607ea
   414 	TInt DoStart();
   414 	TInt DoStart();
   415 	TInt ReAllocBufferConfigInfo(TInt aCaptureMode, TInt aNumBuffers);
   415 	TInt ReAllocBufferConfigInfo(TInt aCaptureMode, TInt aNumBuffers);
   416 	TInt ReAllocBufferConfigInfo(TInt aNumBuffers);
   416 	TInt ReAllocBufferConfigInfo(TInt aNumBuffers);
   417 	TInt GetSensorCaps(TAny* a1);
   417 	TInt GetSensorCaps(TAny* a1);
   418 	TInt GetFrameSizeCaps(TAny* a1, TAny* a2);
   418 	TInt GetFrameSizeCaps(TAny* a1, TAny* a2);
       
   419 	TInt GetDynamicAttribute(TInt aAttribute, TUint& aValue);
   419 	TInt SetDynamicAttribute(TInt aAttribute, TUint aValue);
   420 	TInt SetDynamicAttribute(TInt aAttribute, TUint aValue);
   420 	inline DCameraScPdd* Pdd();
   421 	inline DCameraScPdd* Pdd();
   421 	static void RestartDfc(TAny* aChannel);
   422 	static void RestartDfc(TAny* aChannel);
   422 	static void PowerUpDfc(TAny* aPtr);
   423 	static void PowerUpDfc(TAny* aPtr);
   423 	static void PowerDownDfc(TAny* aPtr);
   424 	static void PowerDownDfc(TAny* aPtr);
   442 	TDfc iRestartDfc;
   443 	TDfc iRestartDfc;
   443 	/** DFC used to handle power down requests from the power manager before a transition into system shutdown/standby. */
   444 	/** DFC used to handle power down requests from the power manager before a transition into system shutdown/standby. */
   444 	TDfc iPowerDownDfc;
   445 	TDfc iPowerDownDfc;
   445 	/** DFC used to handle power up requests from the power manager following a transition out of system standby. */
   446 	/** DFC used to handle power up requests from the power manager following a transition out of system standby. */
   446 	TDfc iPowerUpDfc;
   447 	TDfc iPowerUpDfc;
       
   448 	
       
   449 	// Used as a cache for values successfully set by SetDynamicAttribute().
       
   450 	TUint iBrightnessValue;
       
   451 	TUint iContrastValue;
       
   452 	TUint iColorEffectValue;
       
   453 	
   447 	friend class DCameraScPowerHandler;
   454 	friend class DCameraScPowerHandler;
   448 	friend class DBufferManager;
   455 	friend class DBufferManager;
   449 	};
   456 	};
   450 
   457 
   451 #include <drivers/camerasc.inl>
   458 #include <drivers/camerasc.inl>