bsptemplate/asspandvariant/template_variant/camerasc/camerasc_plat.h
changeset 31 56f325a607ea
parent 0 a41df078684a
child 258 880ff05ad710
equal deleted inserted replaced
15:4122176ea935 31:56f325a607ea
   229 	NTimer		iImageTimers[KTotalCameraRequests];
   229 	NTimer		iImageTimers[KTotalCameraRequests];
   230 	/** DFC queue used for completing image capture requests */
   230 	/** DFC queue used for completing image capture requests */
   231 	TDfcQue*	iDFCQueue;
   231 	TDfcQue*	iDFCQueue;
   232 	/** DFCs used for image capture timer callbacks happeing in our DFC thread */
   232 	/** DFCs used for image capture timer callbacks happeing in our DFC thread */
   233 	TDfc		*iImageTimerDFCs[KTotalCameraRequests];
   233 	TDfc		*iImageTimerDFCs[KTotalCameraRequests];
       
   234     
       
   235     /* Used for cheesy animation effect */
       
   236     TUint8 iCounter;
       
   237     TBool iFlipSwitch;
   234 	};
   238 	};
   235 
   239 
   236 /**
   240 /**
   237 The physical device driver for the NaviEngine shared chunk camera driver.
   241 The physical device driver for the NaviEngine shared chunk camera driver.
   238 
   242 
   276 	Sets the sensor brightness to the desired setting.
   280 	Sets the sensor brightness to the desired setting.
   277 
   281 
   278 	@param aValue A verified brightness setting.
   282 	@param aValue A verified brightness setting.
   279 	@return KErrNone if successful, KErrNotSupported if not supported.
   283 	@return KErrNone if successful, KErrNotSupported if not supported.
   280 	*/
   284 	*/
   281 	TInt SetBrightness(TUint aValue);
   285 	TInt SetBrightness(TUint aBrightness);
   282 
   286 
   283 	/**
   287 	/**
   284 	Sets the sensor contrast to the desired setting.
   288 	Sets the sensor contrast to the desired setting.
   285 
   289 
   286 	@param aValue A verified contrast setting.
   290 	@param aValue A verified contrast setting.
   287 	@return KErrNone if successful, KErrNotSupported if not supported.
   291 	@return KErrNone if successful, KErrNotSupported if not supported.
   288 	*/
   292 	*/
   289 	TInt SetContrast(TUint aValue);
   293 	TInt SetContrast(TUint aContrast);
   290 
   294 
   291 	/**
   295 	/**
   292 	Sets the sensor color effect to the desired setting.
   296 	Sets the sensor color effect to the desired setting.
   293 
   297 
   294 	@param aValue A verified color effect setting.
   298 	@param aValue A verified color effect setting.
   295 	@return KErrNone if successful, KErrNotSupported if not supported.
   299 	@return KErrNone if successful, KErrNotSupported if not supported.
   296 	*/
   300 	*/
   297 	TInt SetColorEffect(TUint aValue);
   301 	TInt SetColorEffect(TUint aColorEffect);
   298 
   302 
   299 private:
   303 private:
   300 
   304 
   301 	TInt NotifyImageCaptureEvent(TInt aResult, TLinAddr& aLinAddr, TPhysAddr& aPhysAddr);
   305 	TInt NotifyImageCaptureEvent(TInt aResult, TLinAddr& aLinAddr, TPhysAddr& aPhysAddr);
   302 
   306 
   329 */
   333 */
   330 struct SLogo
   334 struct SLogo
   331 	{
   335 	{
   332 	TUint	iWidth;
   336 	TUint	iWidth;
   333 	TUint	iHeight;
   337 	TUint	iHeight;
   334 	TUint8	iPixelData[124 * 47 * 3];
   338 	TUint8	iPixelData[80 * 61 * 3 + 1];
       
   339     TUint8  iPixelData2[80 * 61 * 3 + 1];
   335 	};
   340 	};
   336 
   341 
   337 #endif /* __CAMERASC_PLAT_H__ */
   342 #endif /* __CAMERASC_PLAT_H__ */