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 |