|
1 /* |
|
2 * Copyright (c) 2010 ISB. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Symbian Foundation License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * ISB - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <w32std.h> |
|
19 #include <ecamerrors.h> |
|
20 #include "ecamwebcameraadvset.h" |
|
21 |
|
22 |
|
23 CWebCameraAdvSet::CWebCameraAdvSet(CWebCamera& aOwner) |
|
24 :iOwner(aOwner) |
|
25 { |
|
26 } |
|
27 |
|
28 CWebCameraAdvSet::~CWebCameraAdvSet() |
|
29 { |
|
30 iSupportedISORates.Close(); |
|
31 } |
|
32 |
|
33 CWebCameraAdvSet* CWebCameraAdvSet::NewL(CWebCamera& aOwner) |
|
34 { |
|
35 CWebCameraAdvSet* self = new(ELeave) CWebCameraAdvSet(aOwner); |
|
36 CleanupStack::PushL(self); |
|
37 self->ConstructL(); |
|
38 CleanupStack::Pop(self); |
|
39 |
|
40 return self; |
|
41 } |
|
42 |
|
43 void CWebCameraAdvSet::Release() |
|
44 { |
|
45 } |
|
46 |
|
47 void CWebCameraAdvSet::Init() |
|
48 { |
|
49 } |
|
50 |
|
51 void CWebCameraAdvSet::ConstructL() |
|
52 { |
|
53 iSupportedISORates.Reset(); |
|
54 iSupportedISORates.AppendL(KDefaultIsoRate); |
|
55 } |
|
56 |
|
57 CCamera::CCameraAdvancedSettings::TCameraType CWebCameraAdvSet::CameraType() const |
|
58 { |
|
59 return CCamera::CCameraAdvancedSettings::ECameraPluggable; |
|
60 } |
|
61 |
|
62 CCamera::CCameraAdvancedSettings::TCameraType CWebCameraAdvSet::CameraType(TInt /*aCameraIndex*/) const |
|
63 { |
|
64 return CCamera::CCameraAdvancedSettings::ECameraUnknown; |
|
65 } |
|
66 |
|
67 TBool CWebCameraAdvSet::IsCameraPresent() const |
|
68 { |
|
69 return EFalse; |
|
70 } |
|
71 |
|
72 TBool CWebCameraAdvSet::IsCameraPresent(TInt /*aCameraIndex*/) const |
|
73 { |
|
74 return EFalse; |
|
75 } |
|
76 |
|
77 TInt CWebCameraAdvSet::CameraIndex() const |
|
78 { |
|
79 return KErrNotSupported; |
|
80 } |
|
81 |
|
82 TInt CWebCameraAdvSet::SupportedStabilizationModes() const |
|
83 { |
|
84 return 0; |
|
85 } |
|
86 |
|
87 CCamera::CCameraAdvancedSettings::TStabilizationMode CWebCameraAdvSet::StabilizationMode() const |
|
88 { |
|
89 return CCamera::CCameraAdvancedSettings::EStabilizationModeOff; |
|
90 } |
|
91 |
|
92 void CWebCameraAdvSet::SetStabilizationMode(CCamera::CCameraAdvancedSettings::TStabilizationMode /*aStabilizationMode*/) |
|
93 { |
|
94 User::Leave(KErrNotSupported); |
|
95 } |
|
96 |
|
97 TInt CWebCameraAdvSet::SupportedFocusModes() const |
|
98 { |
|
99 return KErrNotSupported; |
|
100 } |
|
101 |
|
102 CCamera::CCameraAdvancedSettings::TFocusMode CWebCameraAdvSet::FocusMode() const |
|
103 { |
|
104 return CCamera::CCameraAdvancedSettings::EFocusModeAuto; |
|
105 } |
|
106 |
|
107 void CWebCameraAdvSet::SetFocusMode(CCamera::CCameraAdvancedSettings::TFocusMode /*aFocusMode*/) |
|
108 { |
|
109 User::Leave(KErrNotSupported); |
|
110 } |
|
111 |
|
112 TInt CWebCameraAdvSet::SupportedFocusRanges() const |
|
113 { |
|
114 return KErrNotSupported; |
|
115 } |
|
116 |
|
117 CCamera::CCameraAdvancedSettings::TFocusRange CWebCameraAdvSet::FocusRange() const |
|
118 { |
|
119 return CCamera::CCameraAdvancedSettings::EFocusRangeAuto; |
|
120 } |
|
121 |
|
122 void CWebCameraAdvSet::SetFocusRange(CCamera::CCameraAdvancedSettings::TFocusRange /*aFocusRange*/) |
|
123 { |
|
124 User::Leave(KErrNotSupported); |
|
125 } |
|
126 |
|
127 TInt CWebCameraAdvSet::SupportedAutoFocusTypes() const |
|
128 { |
|
129 return KErrNotSupported; |
|
130 } |
|
131 |
|
132 CCamera::CCameraAdvancedSettings::TAutoFocusType CWebCameraAdvSet::AutoFocusType() const |
|
133 { |
|
134 return CCamera::CCameraAdvancedSettings::EAutoFocusTypeOff; |
|
135 } |
|
136 |
|
137 void CWebCameraAdvSet::SetAutoFocusType(CCamera::CCameraAdvancedSettings::TAutoFocusType /*aAutoFocusType*/) |
|
138 { |
|
139 User::Leave(KErrNotSupported); |
|
140 } |
|
141 |
|
142 TInt CWebCameraAdvSet::SupportedAutoFocusAreas() const |
|
143 { |
|
144 return KErrNotSupported; |
|
145 } |
|
146 |
|
147 CCamera::CCameraAdvancedSettings::TAutoFocusArea CWebCameraAdvSet::AutoFocusArea() const |
|
148 { |
|
149 return CCamera::CCameraAdvancedSettings::EAutoFocusTypeAuto; |
|
150 } |
|
151 |
|
152 void CWebCameraAdvSet::SetAutoFocusArea(CCamera::CCameraAdvancedSettings::TAutoFocusArea /*aAutoFocusArea*/) |
|
153 { |
|
154 User::Leave(KErrNotSupported); |
|
155 } |
|
156 |
|
157 TInt CWebCameraAdvSet::FocusDistance() const |
|
158 { |
|
159 return KErrNotSupported; |
|
160 } |
|
161 |
|
162 void CWebCameraAdvSet::SetFocusDistance(TInt /*aDistance*/) |
|
163 { |
|
164 User::Leave(KErrNotSupported); |
|
165 } |
|
166 |
|
167 TInt CWebCameraAdvSet::GetMinFocalLength() const |
|
168 { |
|
169 return KErrNotSupported; |
|
170 } |
|
171 |
|
172 void CWebCameraAdvSet::GetSupportedIsoRatesL(RArray<TInt>& aSupportedIsoRates) const |
|
173 { |
|
174 if(iSupportedISORates.Count() == 0) |
|
175 { |
|
176 User::Leave(KErrNotSupported); |
|
177 } |
|
178 |
|
179 for(TInt index=0; index < iSupportedISORates.Count(); index++) |
|
180 { |
|
181 aSupportedIsoRates.AppendL(iSupportedISORates[index]); |
|
182 } |
|
183 } |
|
184 |
|
185 TInt CWebCameraAdvSet::IsoRate() const |
|
186 { |
|
187 return KDefaultIsoRate; |
|
188 } |
|
189 |
|
190 void CWebCameraAdvSet::SetIsoRate(TInt /*aRate*/) |
|
191 { |
|
192 User::Leave(KErrNotSupported); |
|
193 } |
|
194 |
|
195 void CWebCameraAdvSet::GetSupportedISORateTypeL(TInt& /*aSupportedISORateTypes*/) const |
|
196 { |
|
197 User::Leave(KErrNotSupported); |
|
198 } |
|
199 |
|
200 void CWebCameraAdvSet::SetISORate(CCamera::CCameraAdvancedSettings::TISORateType /*aISORateType*/, TInt /*aParam*/) |
|
201 { |
|
202 User::Leave(KErrNotSupported); |
|
203 } |
|
204 |
|
205 void CWebCameraAdvSet::GetISORateL(CCamera::CCameraAdvancedSettings::TISORateType& /*aISORateType*/, TInt& /*aParam*/, TInt& /*aISORate*/) const |
|
206 { |
|
207 User::Leave(KErrNotSupported); |
|
208 } |
|
209 |
|
210 void CWebCameraAdvSet::GetAperturesL(RArray<TInt>& /*aFStops*/, TValueInfo& /*aInfo*/) const |
|
211 { |
|
212 User::Leave(KErrNotSupported); |
|
213 } |
|
214 |
|
215 TInt CWebCameraAdvSet::Aperture() const |
|
216 { |
|
217 return KErrNotSupported; |
|
218 } |
|
219 |
|
220 void CWebCameraAdvSet::SetAperture(TInt /*aFStop*/) |
|
221 { |
|
222 User::Leave(KErrNotSupported); |
|
223 } |
|
224 |
|
225 void CWebCameraAdvSet::GetShutterSpeedsL(RArray<TInt>& /*aShutterSpeeds*/, TValueInfo& /*aInfo*/) const |
|
226 { |
|
227 User::Leave(KErrNotSupported); |
|
228 } |
|
229 |
|
230 TInt CWebCameraAdvSet::ShutterSpeed() const |
|
231 { |
|
232 return KErrNotSupported; |
|
233 } |
|
234 |
|
235 void CWebCameraAdvSet::SetShutterSpeed(TInt /*aShutterSpeed*/) |
|
236 { |
|
237 User::Leave(KErrNotSupported); |
|
238 } |
|
239 |
|
240 TInt CWebCameraAdvSet::SupportedMeteringModes() const |
|
241 { |
|
242 return KErrNotSupported; |
|
243 } |
|
244 |
|
245 CCamera::CCameraAdvancedSettings::TMeteringMode CWebCameraAdvSet::MeteringMode() const |
|
246 { |
|
247 return CCamera::CCameraAdvancedSettings::EMeteringModeAuto; |
|
248 } |
|
249 |
|
250 void CWebCameraAdvSet::SetMeteringMode(CCamera::CCameraAdvancedSettings::TMeteringMode /*aMeteringMode*/) |
|
251 { |
|
252 User::Leave(KErrNotSupported); |
|
253 } |
|
254 |
|
255 TInt CWebCameraAdvSet::SupportedDriveModes() const |
|
256 { |
|
257 return KErrNotSupported; |
|
258 } |
|
259 |
|
260 CCamera::CCameraAdvancedSettings::TDriveMode CWebCameraAdvSet::DriveMode() const |
|
261 { |
|
262 return CCamera::CCameraAdvancedSettings::EDriveModeAuto; |
|
263 } |
|
264 |
|
265 void CWebCameraAdvSet::SetDriveMode(CCamera::CCameraAdvancedSettings::TDriveMode /*aDriveMode*/) |
|
266 { |
|
267 User::Leave(KErrNotSupported); |
|
268 } |
|
269 |
|
270 TInt CWebCameraAdvSet::SupportedBracketModes() const |
|
271 { |
|
272 return KErrNotSupported; |
|
273 } |
|
274 |
|
275 CCamera::CCameraAdvancedSettings::TBracketMode CWebCameraAdvSet::BracketMode() const |
|
276 { |
|
277 return CCamera::CCameraAdvancedSettings::EBracketModeOff; |
|
278 } |
|
279 |
|
280 void CWebCameraAdvSet::SetBracketMode(CCamera::CCameraAdvancedSettings::TBracketMode /*aBracketMode*/) |
|
281 { |
|
282 User::Leave(KErrNotSupported); |
|
283 } |
|
284 |
|
285 TInt CWebCameraAdvSet::SupportedBracketParameters() const |
|
286 { |
|
287 return KErrNotSupported; |
|
288 } |
|
289 |
|
290 CCamera::CCameraAdvancedSettings::TBracketParameter CWebCameraAdvSet::BracketParameter() const |
|
291 { |
|
292 return CCamera::CCameraAdvancedSettings::EBracketParameterNone; |
|
293 } |
|
294 |
|
295 void CWebCameraAdvSet::SetBracketParameter(CCamera::CCameraAdvancedSettings::TBracketParameter /*aBracketParameter*/) |
|
296 { |
|
297 User::Leave(KErrNotSupported); |
|
298 } |
|
299 |
|
300 TInt CWebCameraAdvSet::SupportedBracketSteps() const |
|
301 { |
|
302 return KErrNotSupported; |
|
303 } |
|
304 |
|
305 CCamera::CCameraAdvancedSettings::TBracketStep CWebCameraAdvSet::BracketStep() const |
|
306 { |
|
307 return CCamera::CCameraAdvancedSettings::EBracketStepNonConfig; |
|
308 } |
|
309 |
|
310 void CWebCameraAdvSet::SetBracketStep(CCamera::CCameraAdvancedSettings::TBracketStep /*aBracketStep*/) |
|
311 { |
|
312 User::Leave(KErrNotSupported); |
|
313 } |
|
314 |
|
315 void CWebCameraAdvSet::GetBracketMerge(TInt& /*aStartIndex*/, TInt& /*aFrames*/) const |
|
316 { |
|
317 User::Leave(KErrNotSupported); |
|
318 } |
|
319 |
|
320 void CWebCameraAdvSet::SetBracketMerge(TInt /*aStartIndex*/ , TInt /*aFrames*/) |
|
321 { |
|
322 User::Leave(KErrNotSupported); |
|
323 } |
|
324 |
|
325 TInt CWebCameraAdvSet::SupportedFlashModes() const |
|
326 { |
|
327 return KErrNotSupported; |
|
328 } |
|
329 |
|
330 CCamera::TFlash CWebCameraAdvSet::FlashMode() const |
|
331 { |
|
332 return CCamera::EFlashNone; |
|
333 } |
|
334 |
|
335 void CWebCameraAdvSet::SetFlashMode(CCamera::TFlash /*aMode*/) |
|
336 { |
|
337 User::Leave(KErrNotSupported); |
|
338 } |
|
339 |
|
340 TBool CWebCameraAdvSet::RedEyeReduceOn() const |
|
341 { |
|
342 return EFalse; |
|
343 } |
|
344 |
|
345 void CWebCameraAdvSet::SetRedEyeReduceOn(TBool /*aState*/) |
|
346 { |
|
347 User::Leave(KErrNotSupported); |
|
348 } |
|
349 |
|
350 void CWebCameraAdvSet::GetFlashCompensationStepsL(RArray<TInt>& /*aFlashCompensationSteps*/, TValueInfo& /*aInfo*/) const |
|
351 { |
|
352 User::Leave(KErrNotSupported); |
|
353 } |
|
354 |
|
355 TInt CWebCameraAdvSet::FlashCompensationStep() const |
|
356 { |
|
357 return KErrNotSupported; |
|
358 } |
|
359 |
|
360 TInt CWebCameraAdvSet::GetFlashCompensationStep(TInt& /*aFlashCompensationStep*/) const |
|
361 { |
|
362 return KErrNotSupported; |
|
363 } |
|
364 |
|
365 void CWebCameraAdvSet::GetFlashCompensationRangeInSteps(TInt& /*aNegativeCompensation*/, TInt& /*aPositiveCompensation*/) const |
|
366 { |
|
367 User::Leave(KErrNotSupported); |
|
368 } |
|
369 |
|
370 void CWebCameraAdvSet::SetFlashCompensationStep(TInt /*aFlashCompensationStep*/) |
|
371 { |
|
372 User::Leave(KErrNotSupported); |
|
373 } |
|
374 |
|
375 TInt CWebCameraAdvSet::FlashCompensation() const |
|
376 { |
|
377 return KErrNotSupported; |
|
378 } |
|
379 |
|
380 TInt CWebCameraAdvSet::GetFlashCompensation(TInt& /*aFlashCompensation*/) const |
|
381 { |
|
382 return KErrNotSupported; |
|
383 } |
|
384 |
|
385 void CWebCameraAdvSet::SetFlashCompensation(TInt /*aFlashCompensation*/) |
|
386 { |
|
387 User::Leave(KErrNotSupported); |
|
388 } |
|
389 |
|
390 TBool CWebCameraAdvSet::IsExternalFlashPresent() const |
|
391 { |
|
392 return EFalse; |
|
393 } |
|
394 |
|
395 void CWebCameraAdvSet::GetManualFlashPowerLevelsL(RArray<TInt>& /*aManualFlashPowerLevels*/, TValueInfo& /*aInfo*/) const |
|
396 { |
|
397 User::Leave(KErrNotSupported); |
|
398 } |
|
399 |
|
400 TInt CWebCameraAdvSet::ManualFlashPowerLevel() const |
|
401 { |
|
402 return KErrNotSupported; |
|
403 } |
|
404 |
|
405 void CWebCameraAdvSet::SetManualFlashPowerLevel(TInt /*aManualFlashPowerLevel*/) |
|
406 { |
|
407 User::Leave(KErrNotSupported); |
|
408 } |
|
409 |
|
410 TInt CWebCameraAdvSet::SupportedExposureModes() const |
|
411 { |
|
412 return CCamera::EExposureAuto; |
|
413 } |
|
414 |
|
415 CCamera::TExposure CWebCameraAdvSet::ExposureMode() const |
|
416 { |
|
417 return CCamera::EExposureAuto; |
|
418 } |
|
419 |
|
420 void CWebCameraAdvSet::SetExposureMode(CCamera::TExposure /*aExposureMode*/) |
|
421 { |
|
422 User::Leave(KErrNotSupported); |
|
423 } |
|
424 |
|
425 void CWebCameraAdvSet::GetExposureCompensationStepsL(RArray<TInt>& aExposureCompensationSteps, TValueInfo& aInfo) const |
|
426 { |
|
427 aExposureCompensationSteps.Reset(); |
|
428 aInfo = ENotActive; |
|
429 } |
|
430 |
|
431 void CWebCameraAdvSet::GetExposureCompensationRangeInSteps(TInt& /*aNegativeCompensation*/, TInt& /*aPositiveCompensation*/) const |
|
432 { |
|
433 User::Leave(KErrNotSupported); |
|
434 } |
|
435 |
|
436 TInt CWebCameraAdvSet::ExposureCompensationStep() const |
|
437 { |
|
438 return 0; |
|
439 } |
|
440 |
|
441 TInt CWebCameraAdvSet::GetExposureCompensationStep(TInt& /*aExposureCompensationStep*/) const |
|
442 { |
|
443 return KErrNotSupported; |
|
444 } |
|
445 |
|
446 void CWebCameraAdvSet::SetExposureCompensationStep(TInt /*aExposureCompensationStep*/) |
|
447 { |
|
448 User::Leave(KErrNotSupported); |
|
449 } |
|
450 |
|
451 TInt CWebCameraAdvSet::ExposureCompensation() const |
|
452 { |
|
453 return KErrNotSupported; |
|
454 } |
|
455 |
|
456 TInt CWebCameraAdvSet::GetExposureCompensation(TInt& /*aExposureCompensation*/) const |
|
457 { |
|
458 return KErrNotSupported; |
|
459 } |
|
460 |
|
461 void CWebCameraAdvSet::SetExposureCompensation(TInt /*aExposureCompensation*/) |
|
462 { |
|
463 User::Leave(KErrNotSupported); |
|
464 } |
|
465 |
|
466 TInt CWebCameraAdvSet::SupportedWhiteBalanceModes() const |
|
467 { |
|
468 return KErrNotSupported; |
|
469 } |
|
470 |
|
471 CCamera::TWhiteBalance CWebCameraAdvSet::WhiteBalanceMode() const |
|
472 { |
|
473 return CCamera::EWBAuto; |
|
474 } |
|
475 |
|
476 void CWebCameraAdvSet::SetWhiteBalanceMode(CCamera::TWhiteBalance /*aWhiteBalanceMode*/) |
|
477 { |
|
478 User::Leave(KErrNotSupported); |
|
479 } |
|
480 |
|
481 TBool CWebCameraAdvSet::ApertureExposureLockOn() const |
|
482 { |
|
483 return EFalse; |
|
484 } |
|
485 |
|
486 void CWebCameraAdvSet::SetApertureExposureLockOn(TBool /*aAELock*/) |
|
487 { |
|
488 User::Leave(KErrNotSupported); |
|
489 } |
|
490 |
|
491 TBool CWebCameraAdvSet::ShootClickOn() const |
|
492 { |
|
493 return EFalse; |
|
494 } |
|
495 |
|
496 void CWebCameraAdvSet::SetShootClickOn(TBool /*aShootClickOn*/) |
|
497 { |
|
498 User::Leave(KErrNotSupported); |
|
499 } |
|
500 |
|
501 void CWebCameraAdvSet::GetTimerIntervalsL(RArray<TInt>& /*aTimerIntervals*/, TValueInfo& /*aInfo*/) const |
|
502 { |
|
503 User::Leave(KErrNotSupported); |
|
504 } |
|
505 |
|
506 TInt CWebCameraAdvSet::TimerInterval() const |
|
507 { |
|
508 return KErrNotSupported; |
|
509 } |
|
510 |
|
511 void CWebCameraAdvSet::SetTimerInterval(TInt /*aTimerInterval*/) |
|
512 { |
|
513 User::Leave(KErrNotSupported); |
|
514 } |
|
515 |
|
516 void CWebCameraAdvSet::GetTimeLapsePeriodRange(TTime& /*aTimeLapseMin*/, TTime& /*aTimeLapseMax*/) const |
|
517 { |
|
518 User::Leave(KErrNotSupported); |
|
519 } |
|
520 |
|
521 void CWebCameraAdvSet::GetTimeLapse(TTime& /*aStart*/, TTime& /*aEnd*/, TTime& /*aInterval*/) const |
|
522 { |
|
523 User::Leave(KErrNotSupported); |
|
524 } |
|
525 |
|
526 void CWebCameraAdvSet::SetTimeLapse(const TTime& /*aStart*/, const TTime& /*aEnd*/, const TTime& /*aInterval*/) |
|
527 { |
|
528 User::Leave(KErrNotSupported); |
|
529 } |
|
530 |
|
531 CCamera::CCameraAdvancedSettings::TPictureOrientation CWebCameraAdvSet::PictureOrientation() const |
|
532 { |
|
533 return CCamera::CCameraAdvancedSettings::EPictureOrientationUnknown; |
|
534 } |
|
535 |
|
536 void CWebCameraAdvSet::SetPictureOrientation(CCamera::CCameraAdvancedSettings::TPictureOrientation /*aOrientation*/) |
|
537 { |
|
538 User::Leave(KErrNotSupported); |
|
539 } |
|
540 |
|
541 TInt CWebCameraAdvSet::SupportedPixelAspectRatios() const |
|
542 { |
|
543 return KErrNotSupported; |
|
544 } |
|
545 |
|
546 CCamera::CCameraAdvancedSettings::TPixelAspectRatio CWebCameraAdvSet::PixelAspectRatio() const |
|
547 { |
|
548 return CCamera::CCameraAdvancedSettings::EPixelAspectUnknown; |
|
549 } |
|
550 |
|
551 void CWebCameraAdvSet::SetPixelAspectRatio(CCamera::CCameraAdvancedSettings::TPixelAspectRatio /*aPixelAspectRatio*/) |
|
552 { |
|
553 User::Leave(KErrNotSupported); |
|
554 } |
|
555 |
|
556 TInt CWebCameraAdvSet::SupportedYuvRanges() const |
|
557 { |
|
558 return KErrNotSupported; |
|
559 } |
|
560 |
|
561 CCamera::CCameraAdvancedSettings::TYuvRange CWebCameraAdvSet::YuvRange() const |
|
562 { |
|
563 return CCamera::CCameraAdvancedSettings::EYuvRangeUnknown; |
|
564 } |
|
565 |
|
566 void CWebCameraAdvSet::SetYuvRange(CCamera::CCameraAdvancedSettings::TYuvRange /*aYuvRange*/) |
|
567 { |
|
568 User::Leave(KErrNotSupported); |
|
569 } |
|
570 |
|
571 TInt CWebCameraAdvSet::BurstImages() const |
|
572 { |
|
573 return KErrNotSupported; |
|
574 } |
|
575 |
|
576 void CWebCameraAdvSet::SetBurstImages(TInt /*aImages*/) |
|
577 { |
|
578 User::Leave(KErrNotSupported); |
|
579 } |
|
580 |
|
581 void CWebCameraAdvSet::GetOpticalZoomStepsL(RArray<TInt>& /*aOpticalZoomSteps*/, TValueInfo& /*aInfo*/) const |
|
582 { |
|
583 User::Leave(KErrNotSupported); |
|
584 } |
|
585 |
|
586 TInt CWebCameraAdvSet::OpticalZoom() const |
|
587 { |
|
588 return KECamFineResolutionFactor; |
|
589 } |
|
590 |
|
591 void CWebCameraAdvSet::SetOpticalZoom(TInt /*aOpticalZoom*/) |
|
592 { |
|
593 User::Leave(KErrNotSupported); |
|
594 } |
|
595 |
|
596 void CWebCameraAdvSet::GetDigitalZoomStepsL(RArray<TInt>& aDigitalZoomSteps, TValueInfo& aInfo) const |
|
597 { |
|
598 aDigitalZoomSteps.Reset(); |
|
599 aDigitalZoomSteps.AppendL(KECamFineResolutionFactor); |
|
600 aInfo = EDiscreteSteps; |
|
601 } |
|
602 |
|
603 void CWebCameraAdvSet::GetDigitalZoomStepsForStillL(RArray<TInt>& aDigitalZoomSteps, TValueInfo& aInfo, TInt /*aSizeIndex*/, |
|
604 CCamera::TFormat /*aFormat*/, TBool& /*aIsInfluencePossible*/) const |
|
605 { |
|
606 aDigitalZoomSteps.Reset(); |
|
607 aDigitalZoomSteps.AppendL(KECamFineResolutionFactor); |
|
608 aInfo = EDiscreteSteps; |
|
609 } |
|
610 |
|
611 void CWebCameraAdvSet::GetDigitalZoomStepsForVideoL(RArray<TInt>& aDigitalZoomSteps, TValueInfo& aInfo, TInt /*aFrameRateIndex*/, |
|
612 TInt /*aSizeIndex*/, CCamera::TFormat /*aFormat*/, TBool& /*aIsInfluencePossible*/, CCamera::TExposure /*aExposure*/) const |
|
613 { |
|
614 aDigitalZoomSteps.Reset(); |
|
615 aDigitalZoomSteps.AppendL(KECamFineResolutionFactor); |
|
616 aInfo = EDiscreteSteps; |
|
617 } |
|
618 |
|
619 TInt CWebCameraAdvSet::DigitalZoom() const |
|
620 { |
|
621 return KErrNotSupported; |
|
622 } |
|
623 |
|
624 void CWebCameraAdvSet::SetDigitalZoom(TInt /*aDigitalZoom*/) |
|
625 { |
|
626 User::Leave(KErrNotSupported); |
|
627 } |
|
628 |
|
629 TBool CWebCameraAdvSet::ExposureLockOn() const |
|
630 { |
|
631 return EFalse; |
|
632 } |
|
633 |
|
634 void CWebCameraAdvSet::SetExposureLockOn(TBool /*aState*/) |
|
635 { |
|
636 User::Leave(KErrNotSupported); |
|
637 } |
|
638 |
|
639 TBool CWebCameraAdvSet::AutoFocusLockOn() const |
|
640 { |
|
641 return EFalse; |
|
642 } |
|
643 |
|
644 void CWebCameraAdvSet::SetAutoFocusLockOn(TBool /*aState*/) |
|
645 { |
|
646 User::Leave(KErrNotSupported); |
|
647 } |
|
648 |
|
649 void CWebCameraAdvSet::GetSupportedSettingsL(RArray<TUid>& /*aSettings*/) const |
|
650 { |
|
651 User::Leave(KErrNotSupported); |
|
652 } |
|
653 |
|
654 void CWebCameraAdvSet::GetActiveSettingsL(RArray<TUid>& /*aActiveSettings*/) const |
|
655 { |
|
656 User::Leave(KErrNotSupported); |
|
657 } |
|
658 |
|
659 void CWebCameraAdvSet::GetDisabledSettingsL(RArray<TUid>& /*aDisbledSettings*/) const |
|
660 { |
|
661 User::Leave(KErrNotSupported); |
|
662 } |
|
663 |
|
664 void CWebCameraAdvSet::SetAutomaticSizeSelectionChangeOn(TBool /*aSetOn*/) |
|
665 { |
|
666 } |
|
667 |
|
668 TBool CWebCameraAdvSet::AutomaticSizeSelectionChangeOn() const |
|
669 { |
|
670 return EFalse; |
|
671 } |
|
672 |
|
673 void CWebCameraAdvSet::GetSupportedContinuousAutoFocusTimeoutsL(RArray<TInt>& /*aTimeouts*/, TValueInfo& /*aInfo*/) const |
|
674 { |
|
675 User::Leave(KErrNotSupported); |
|
676 } |
|
677 |
|
678 void CWebCameraAdvSet::SetContinuousAutoFocusTimeout(TInt /*aTimeout*/) |
|
679 { |
|
680 User::Leave(KErrNotSupported); |
|
681 } |
|
682 |
|
683 void CWebCameraAdvSet::SetStabilizationEffect(CCamera::CCameraAdvancedSettings::TStabilizationEffect /*aEffect*/) |
|
684 { |
|
685 User::Leave(KErrNotSupported); |
|
686 } |
|
687 |
|
688 CCamera::CCameraAdvancedSettings::TStabilizationEffect CWebCameraAdvSet::StabilizationEffect() const |
|
689 { |
|
690 return CCamera::CCameraAdvancedSettings::EStabilizationOff; |
|
691 } |
|
692 |
|
693 TInt CWebCameraAdvSet::SupportedStabilizationEffects() const |
|
694 { |
|
695 return CCamera::CCameraAdvancedSettings::EStabilizationOff; |
|
696 } |
|
697 |
|
698 TInt CWebCameraAdvSet::SupportedStabilizationComplexityValues() const |
|
699 { |
|
700 return CCamera::CCameraAdvancedSettings::EStabilizationOff; |
|
701 } |
|
702 |
|
703 CCamera::CCameraAdvancedSettings::TStabilizationAlgorithmComplexity CWebCameraAdvSet::StabilizationComplexity() const |
|
704 { |
|
705 return CCamera::CCameraAdvancedSettings::EStabilizationComplexityAuto; |
|
706 } |
|
707 |
|
708 void CWebCameraAdvSet::SetStabilizationComplexity(CCamera::CCameraAdvancedSettings::TStabilizationAlgorithmComplexity /*aComplexity*/) |
|
709 { |
|
710 User::Leave(KErrNotSupported); |
|
711 } |
|
712 |
|
713 CCamera::CCameraAdvancedSettings::TWBUnits CWebCameraAdvSet::SupportedWBUnits() const |
|
714 { |
|
715 return CCamera::CCameraAdvancedSettings::EWBUnknown; |
|
716 } |
|
717 |
|
718 void CWebCameraAdvSet::SetWBRgbValue(const TRgb& /*aValue*/) |
|
719 { |
|
720 User::Leave(KErrNotSupported); |
|
721 } |
|
722 |
|
723 void CWebCameraAdvSet::GetWBRgbValue(TRgb& /*aValue*/) const |
|
724 { |
|
725 User::Leave(KErrNotSupported); |
|
726 } |
|
727 |
|
728 void CWebCameraAdvSet::GetWBSupportedColorTemperaturesL(RArray<TInt>& /*aWBColorTemperatures*/, TValueInfo& /*aInfo*/) const |
|
729 { |
|
730 User::Leave(KErrNotSupported); |
|
731 } |
|
732 |
|
733 void CWebCameraAdvSet::SetWBColorTemperature(TInt /*aColorTemperature*/) |
|
734 { |
|
735 User::Leave(KErrNotSupported); |
|
736 } |
|
737 |
|
738 TInt CWebCameraAdvSet::WBColorTemperature() const |
|
739 { |
|
740 return KErrNotSupported; |
|
741 } |
|
742 |
|
743 TInt CWebCameraAdvSet::ContinuousAutoFocusTimeout() const |
|
744 { |
|
745 return KErrNotSupported; |
|
746 } |
|
747 |
|
748 TInt CWebCameraAdvSet::IsFlashReady(TBool& aReady) const |
|
749 { |
|
750 aReady = 0; |
|
751 return KErrNone; |
|
752 } |
|
753 |
|
754 void CWebCameraAdvSet::GetCurrentFocusModeStepsL(RArray<TInt>& /*aFocusModeSteps*/, TValueInfo& /*aInfo*/) const |
|
755 { |
|
756 User::Leave(KErrNotSupported); |
|
757 } |
|
758 |
|
759 void CWebCameraAdvSet::SetReferenceScreen(CWsScreenDevice& /*aScreenDevice*/) |
|
760 { |
|
761 User::Leave(KErrNotSupported); |
|
762 } |
|
763 |
|
764 void CWebCameraAdvSet::GetPreCaptureWarningSupportedL(CCamera::CCameraAdvancedSettings::TCameraMode /*aCameraMode*/, TInt& /*aPreCaptureWarningSupported*/) const |
|
765 { |
|
766 User::Leave(KErrNotSupported); |
|
767 } |
|
768 |
|
769 void CWebCameraAdvSet::SubscribeToPreCaptureWarningL(TInt /*aPreCaptureWarning*/) |
|
770 { |
|
771 User::Leave(KErrNotSupported); |
|
772 } |
|
773 |
|
774 void CWebCameraAdvSet::UnSubscribePreCaptureWarningL() |
|
775 { |
|
776 User::Leave(KErrNotSupported); |
|
777 } |
|
778 |
|
779 void CWebCameraAdvSet::GetPreCaptureWarningL(TInt& /*aPreCaptureWarning*/) const |
|
780 { |
|
781 User::Leave(KErrNotSupported); |
|
782 } |
|
783 |
|
784 void CWebCameraAdvSet::GetSupportedAFAssistantLightL(TInt& /*aSupportedAFAssistantLight*/) const |
|
785 { |
|
786 User::Leave(KErrNotSupported); |
|
787 } |
|
788 |
|
789 void CWebCameraAdvSet::GetAFAssistantLightL(CCamera::CCameraAdvancedSettings::TAFAssistantLight& /*aAFAssistantLight*/) const |
|
790 { |
|
791 User::Leave(KErrNotSupported); |
|
792 } |
|
793 |
|
794 void CWebCameraAdvSet::SetAFAssistantLight(CCamera::CCameraAdvancedSettings::TAFAssistantLight /*aAFAssistantLight*/) |
|
795 { |
|
796 User::Leave(KErrNotSupported); |
|
797 } |
|
798 |
|
799 |