3 <!-- Copyright (C) 2012 The Android Open Source Project
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-2.0
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
18 <!-- automatically generated from html.mako. do NOT edit directly -->
19 <meta charset="utf-8" />
20 <title>Android Camera HAL3.2 Properties</title>
21 <style type="text/css">
22 body { background-color: #f7f7f7; font-family: Roboto, sans-serif;}
23 h1 { color: #333333; }
24 h2 { color: #333333; }
25 a:link { color: #258aaf; text-decoration: none}
26 a:hover { color: #459aaf; text-decoration: underline }
27 a:visited { color: #154a5f; text-decoration: none}
28 .section { color: #eeeeee; font-size: 1.5em; font-weight: bold; background-color: #888888; padding: 0.5em 0em 0.5em 0.5em; border-width: thick thin thin thin; border-color: #111111 #777777 #777777 #777777}
29 .kind { color: #eeeeee; font-size: 1.2em; font-weight: bold; padding-left: 1.5em; background-color: #aaaaaa }
30 .entry { background-color: #f0f0f0 }
31 .entry_cont { background-color: #f0f0f0 }
32 .entries_header { background-color: #dddddd; text-align: center}
35 .toc_section_header { font-size:1.3em; }
36 .toc_kind_header { font-size:1.2em; }
37 .toc_deprecated { text-decoration:line-through; }
39 /* table column sizes */
40 table { border-collapse:collapse; table-layout: fixed; width: 100%; word-wrap: break-word }
41 td,th { border: 1px solid; border-color: #aaaaaa; padding-left: 0.5em; padding-right: 0.5em }
42 .th_name { width: 20% }
43 .th_units { width: 10% }
44 .th_tags { width: 5% }
45 .th_details { width: 25% }
46 .th_type { width: 20% }
47 .th_description { width: 20% }
48 .th_range { width: 10% }
49 td { font-size: 0.9em; }
51 /* hide the first thead, we need it there only to enforce column sizes */
52 .thead_dummy { visibility: hidden; }
55 .entry_name { color: #333333; padding-left:1.0em; font-size:1.1em; font-family: monospace; vertical-align:top; }
56 .entry_name_deprecated { text-decoration:line-through; }
58 /* Entry type flair */
59 .entry_type_name { font-size:1.1em; color: #669900; font-weight: bold;}
60 .entry_type_name_enum:after { color: #669900; font-weight: bold; content:" (enum)" }
61 .entry_type_visibility { font-weight: bolder; padding-left:1em}
62 .entry_type_synthetic { font-weight: bolder; color: #996600; }
63 .entry_type_hwlevel { font-weight: bolder; color: #000066; }
64 .entry_type_deprecated { font-weight: bolder; color: #4D4D4D; }
65 .entry_type_enum_name { font-family: monospace; font-weight: bolder; }
66 .entry_type_enum_notes:before { content:" - " }
67 .entry_type_enum_notes>p:first-child { display:inline; }
68 .entry_type_enum_value:before { content:" = " }
69 .entry_type_enum_value { font-family: monospace; }
70 .entry ul { margin: 0 0 0 0; list-style-position: inside; padding-left: 0.5em; }
71 .entry ul li { padding: 0 0 0 0; margin: 0 0 0 0;}
72 .entry_range_deprecated { font-weight: bolder; }
74 /* Entry tags flair */
75 .entry_tags ul { list-style-type: none; }
77 /* Entry details (full docs) flair */
78 .entry_details_header { font-weight: bold; background-color: #dddddd;
79 text-align: center; font-size: 1.1em; margin-left: 0em; margin-right: 0em; }
81 /* Entry spacer flair */
82 .entry_spacer { background-color: transparent; border-style: none; height: 0.5em; }
84 /* TODO: generate abbr element for each tag link? */
85 /* TODO for each x.y.z try to link it to the entry */
93 supposedly there is a bug in chrome that it lays out tables before
94 it knows its being printed, so the page-break-* styles are ignored
96 tr { page-break-after: always; page-break-inside: avoid; }
105 <h1>Android Camera HAL3.2 Properties</h1>
108 <h2>Table of Contents</h2>
110 <li><a href="#tag_index" class="toc_section_header">Tags</a></li>
112 <span class="toc_section_header"><a href="#section_colorCorrection">colorCorrection</a></span>
113 <ul class="toc_section">
115 <span class="toc_kind_header">controls</span>
116 <ul class="toc_section">
118 ><a href="#controls_android.colorCorrection.mode">android.colorCorrection.mode</a></li>
120 ><a href="#controls_android.colorCorrection.transform">android.colorCorrection.transform</a></li>
122 ><a href="#controls_android.colorCorrection.gains">android.colorCorrection.gains</a></li>
124 ><a href="#controls_android.colorCorrection.aberrationMode">android.colorCorrection.aberrationMode</a></li>
128 <span class="toc_kind_header">dynamic</span>
129 <ul class="toc_section">
131 ><a href="#dynamic_android.colorCorrection.mode">android.colorCorrection.mode</a></li>
133 ><a href="#dynamic_android.colorCorrection.transform">android.colorCorrection.transform</a></li>
135 ><a href="#dynamic_android.colorCorrection.gains">android.colorCorrection.gains</a></li>
137 ><a href="#dynamic_android.colorCorrection.aberrationMode">android.colorCorrection.aberrationMode</a></li>
141 <span class="toc_kind_header">static</span>
142 <ul class="toc_section">
144 ><a href="#static_android.colorCorrection.availableAberrationModes">android.colorCorrection.availableAberrationModes</a></li>
147 </ul> <!-- toc_section -->
150 <span class="toc_section_header"><a href="#section_control">control</a></span>
151 <ul class="toc_section">
153 <span class="toc_kind_header">controls</span>
154 <ul class="toc_section">
156 ><a href="#controls_android.control.aeAntibandingMode">android.control.aeAntibandingMode</a></li>
158 ><a href="#controls_android.control.aeExposureCompensation">android.control.aeExposureCompensation</a></li>
160 ><a href="#controls_android.control.aeLock">android.control.aeLock</a></li>
162 ><a href="#controls_android.control.aeMode">android.control.aeMode</a></li>
164 ><a href="#controls_android.control.aeRegions">android.control.aeRegions</a></li>
166 ><a href="#controls_android.control.aeTargetFpsRange">android.control.aeTargetFpsRange</a></li>
168 ><a href="#controls_android.control.aePrecaptureTrigger">android.control.aePrecaptureTrigger</a></li>
170 ><a href="#controls_android.control.afMode">android.control.afMode</a></li>
172 ><a href="#controls_android.control.afRegions">android.control.afRegions</a></li>
174 ><a href="#controls_android.control.afTrigger">android.control.afTrigger</a></li>
176 ><a href="#controls_android.control.awbLock">android.control.awbLock</a></li>
178 ><a href="#controls_android.control.awbMode">android.control.awbMode</a></li>
180 ><a href="#controls_android.control.awbRegions">android.control.awbRegions</a></li>
182 ><a href="#controls_android.control.captureIntent">android.control.captureIntent</a></li>
184 ><a href="#controls_android.control.effectMode">android.control.effectMode</a></li>
186 ><a href="#controls_android.control.mode">android.control.mode</a></li>
188 ><a href="#controls_android.control.sceneMode">android.control.sceneMode</a></li>
190 ><a href="#controls_android.control.videoStabilizationMode">android.control.videoStabilizationMode</a></li>
194 <span class="toc_kind_header">static</span>
195 <ul class="toc_section">
197 ><a href="#static_android.control.aeAvailableAntibandingModes">android.control.aeAvailableAntibandingModes</a></li>
199 ><a href="#static_android.control.aeAvailableModes">android.control.aeAvailableModes</a></li>
201 ><a href="#static_android.control.aeAvailableTargetFpsRanges">android.control.aeAvailableTargetFpsRanges</a></li>
203 ><a href="#static_android.control.aeCompensationRange">android.control.aeCompensationRange</a></li>
205 ><a href="#static_android.control.aeCompensationStep">android.control.aeCompensationStep</a></li>
207 ><a href="#static_android.control.afAvailableModes">android.control.afAvailableModes</a></li>
209 ><a href="#static_android.control.availableEffects">android.control.availableEffects</a></li>
211 ><a href="#static_android.control.availableSceneModes">android.control.availableSceneModes</a></li>
213 ><a href="#static_android.control.availableVideoStabilizationModes">android.control.availableVideoStabilizationModes</a></li>
215 ><a href="#static_android.control.awbAvailableModes">android.control.awbAvailableModes</a></li>
217 ><a href="#static_android.control.maxRegions">android.control.maxRegions</a></li>
219 ><a href="#static_android.control.maxRegionsAe">android.control.maxRegionsAe</a></li>
221 ><a href="#static_android.control.maxRegionsAwb">android.control.maxRegionsAwb</a></li>
223 ><a href="#static_android.control.maxRegionsAf">android.control.maxRegionsAf</a></li>
225 ><a href="#static_android.control.sceneModeOverrides">android.control.sceneModeOverrides</a></li>
227 ><a href="#static_android.control.availableHighSpeedVideoConfigurations">android.control.availableHighSpeedVideoConfigurations</a></li>
231 <span class="toc_kind_header">dynamic</span>
232 <ul class="toc_section">
234 class="toc_deprecated"
235 ><a href="#dynamic_android.control.aePrecaptureId">android.control.aePrecaptureId</a></li>
237 ><a href="#dynamic_android.control.aeAntibandingMode">android.control.aeAntibandingMode</a></li>
239 ><a href="#dynamic_android.control.aeExposureCompensation">android.control.aeExposureCompensation</a></li>
241 ><a href="#dynamic_android.control.aeLock">android.control.aeLock</a></li>
243 ><a href="#dynamic_android.control.aeMode">android.control.aeMode</a></li>
245 ><a href="#dynamic_android.control.aeRegions">android.control.aeRegions</a></li>
247 ><a href="#dynamic_android.control.aeTargetFpsRange">android.control.aeTargetFpsRange</a></li>
249 ><a href="#dynamic_android.control.aePrecaptureTrigger">android.control.aePrecaptureTrigger</a></li>
251 ><a href="#dynamic_android.control.aeState">android.control.aeState</a></li>
253 ><a href="#dynamic_android.control.afMode">android.control.afMode</a></li>
255 ><a href="#dynamic_android.control.afRegions">android.control.afRegions</a></li>
257 ><a href="#dynamic_android.control.afTrigger">android.control.afTrigger</a></li>
259 ><a href="#dynamic_android.control.afState">android.control.afState</a></li>
261 class="toc_deprecated"
262 ><a href="#dynamic_android.control.afTriggerId">android.control.afTriggerId</a></li>
264 ><a href="#dynamic_android.control.awbLock">android.control.awbLock</a></li>
266 ><a href="#dynamic_android.control.awbMode">android.control.awbMode</a></li>
268 ><a href="#dynamic_android.control.awbRegions">android.control.awbRegions</a></li>
270 ><a href="#dynamic_android.control.captureIntent">android.control.captureIntent</a></li>
272 ><a href="#dynamic_android.control.awbState">android.control.awbState</a></li>
274 ><a href="#dynamic_android.control.effectMode">android.control.effectMode</a></li>
276 ><a href="#dynamic_android.control.mode">android.control.mode</a></li>
278 ><a href="#dynamic_android.control.sceneMode">android.control.sceneMode</a></li>
280 ><a href="#dynamic_android.control.videoStabilizationMode">android.control.videoStabilizationMode</a></li>
283 </ul> <!-- toc_section -->
286 <span class="toc_section_header"><a href="#section_demosaic">demosaic</a></span>
287 <ul class="toc_section">
289 <span class="toc_kind_header">controls</span>
290 <ul class="toc_section">
292 ><a href="#controls_android.demosaic.mode">android.demosaic.mode</a></li>
295 </ul> <!-- toc_section -->
298 <span class="toc_section_header"><a href="#section_edge">edge</a></span>
299 <ul class="toc_section">
301 <span class="toc_kind_header">controls</span>
302 <ul class="toc_section">
304 ><a href="#controls_android.edge.mode">android.edge.mode</a></li>
306 ><a href="#controls_android.edge.strength">android.edge.strength</a></li>
310 <span class="toc_kind_header">static</span>
311 <ul class="toc_section">
313 ><a href="#static_android.edge.availableEdgeModes">android.edge.availableEdgeModes</a></li>
317 <span class="toc_kind_header">dynamic</span>
318 <ul class="toc_section">
320 ><a href="#dynamic_android.edge.mode">android.edge.mode</a></li>
323 </ul> <!-- toc_section -->
326 <span class="toc_section_header"><a href="#section_flash">flash</a></span>
327 <ul class="toc_section">
329 <span class="toc_kind_header">controls</span>
330 <ul class="toc_section">
332 ><a href="#controls_android.flash.firingPower">android.flash.firingPower</a></li>
334 ><a href="#controls_android.flash.firingTime">android.flash.firingTime</a></li>
336 ><a href="#controls_android.flash.mode">android.flash.mode</a></li>
340 <span class="toc_kind_header">static</span>
341 <ul class="toc_section">
344 ><a href="#static_android.flash.info.available">android.flash.info.available</a></li>
346 ><a href="#static_android.flash.info.chargeDuration">android.flash.info.chargeDuration</a></li>
349 ><a href="#static_android.flash.colorTemperature">android.flash.colorTemperature</a></li>
351 ><a href="#static_android.flash.maxEnergy">android.flash.maxEnergy</a></li>
355 <span class="toc_kind_header">dynamic</span>
356 <ul class="toc_section">
358 ><a href="#dynamic_android.flash.firingPower">android.flash.firingPower</a></li>
360 ><a href="#dynamic_android.flash.firingTime">android.flash.firingTime</a></li>
362 ><a href="#dynamic_android.flash.mode">android.flash.mode</a></li>
364 ><a href="#dynamic_android.flash.state">android.flash.state</a></li>
367 </ul> <!-- toc_section -->
370 <span class="toc_section_header"><a href="#section_hotPixel">hotPixel</a></span>
371 <ul class="toc_section">
373 <span class="toc_kind_header">controls</span>
374 <ul class="toc_section">
376 ><a href="#controls_android.hotPixel.mode">android.hotPixel.mode</a></li>
380 <span class="toc_kind_header">static</span>
381 <ul class="toc_section">
383 ><a href="#static_android.hotPixel.availableHotPixelModes">android.hotPixel.availableHotPixelModes</a></li>
387 <span class="toc_kind_header">dynamic</span>
388 <ul class="toc_section">
390 ><a href="#dynamic_android.hotPixel.mode">android.hotPixel.mode</a></li>
393 </ul> <!-- toc_section -->
396 <span class="toc_section_header"><a href="#section_jpeg">jpeg</a></span>
397 <ul class="toc_section">
399 <span class="toc_kind_header">controls</span>
400 <ul class="toc_section">
402 ><a href="#controls_android.jpeg.gpsLocation">android.jpeg.gpsLocation</a></li>
404 ><a href="#controls_android.jpeg.gpsCoordinates">android.jpeg.gpsCoordinates</a></li>
406 ><a href="#controls_android.jpeg.gpsProcessingMethod">android.jpeg.gpsProcessingMethod</a></li>
408 ><a href="#controls_android.jpeg.gpsTimestamp">android.jpeg.gpsTimestamp</a></li>
410 ><a href="#controls_android.jpeg.orientation">android.jpeg.orientation</a></li>
412 ><a href="#controls_android.jpeg.quality">android.jpeg.quality</a></li>
414 ><a href="#controls_android.jpeg.thumbnailQuality">android.jpeg.thumbnailQuality</a></li>
416 ><a href="#controls_android.jpeg.thumbnailSize">android.jpeg.thumbnailSize</a></li>
420 <span class="toc_kind_header">static</span>
421 <ul class="toc_section">
423 ><a href="#static_android.jpeg.availableThumbnailSizes">android.jpeg.availableThumbnailSizes</a></li>
425 ><a href="#static_android.jpeg.maxSize">android.jpeg.maxSize</a></li>
429 <span class="toc_kind_header">dynamic</span>
430 <ul class="toc_section">
432 ><a href="#dynamic_android.jpeg.gpsLocation">android.jpeg.gpsLocation</a></li>
434 ><a href="#dynamic_android.jpeg.gpsCoordinates">android.jpeg.gpsCoordinates</a></li>
436 ><a href="#dynamic_android.jpeg.gpsProcessingMethod">android.jpeg.gpsProcessingMethod</a></li>
438 ><a href="#dynamic_android.jpeg.gpsTimestamp">android.jpeg.gpsTimestamp</a></li>
440 ><a href="#dynamic_android.jpeg.orientation">android.jpeg.orientation</a></li>
442 ><a href="#dynamic_android.jpeg.quality">android.jpeg.quality</a></li>
444 ><a href="#dynamic_android.jpeg.size">android.jpeg.size</a></li>
446 ><a href="#dynamic_android.jpeg.thumbnailQuality">android.jpeg.thumbnailQuality</a></li>
448 ><a href="#dynamic_android.jpeg.thumbnailSize">android.jpeg.thumbnailSize</a></li>
451 </ul> <!-- toc_section -->
454 <span class="toc_section_header"><a href="#section_lens">lens</a></span>
455 <ul class="toc_section">
457 <span class="toc_kind_header">controls</span>
458 <ul class="toc_section">
460 ><a href="#controls_android.lens.aperture">android.lens.aperture</a></li>
462 ><a href="#controls_android.lens.filterDensity">android.lens.filterDensity</a></li>
464 ><a href="#controls_android.lens.focalLength">android.lens.focalLength</a></li>
466 ><a href="#controls_android.lens.focusDistance">android.lens.focusDistance</a></li>
468 ><a href="#controls_android.lens.opticalStabilizationMode">android.lens.opticalStabilizationMode</a></li>
472 <span class="toc_kind_header">static</span>
473 <ul class="toc_section">
476 ><a href="#static_android.lens.info.availableApertures">android.lens.info.availableApertures</a></li>
478 ><a href="#static_android.lens.info.availableFilterDensities">android.lens.info.availableFilterDensities</a></li>
480 ><a href="#static_android.lens.info.availableFocalLengths">android.lens.info.availableFocalLengths</a></li>
482 ><a href="#static_android.lens.info.availableOpticalStabilization">android.lens.info.availableOpticalStabilization</a></li>
484 ><a href="#static_android.lens.info.hyperfocalDistance">android.lens.info.hyperfocalDistance</a></li>
486 ><a href="#static_android.lens.info.minimumFocusDistance">android.lens.info.minimumFocusDistance</a></li>
488 ><a href="#static_android.lens.info.shadingMapSize">android.lens.info.shadingMapSize</a></li>
490 ><a href="#static_android.lens.info.focusDistanceCalibration">android.lens.info.focusDistanceCalibration</a></li>
493 ><a href="#static_android.lens.facing">android.lens.facing</a></li>
495 ><a href="#static_android.lens.opticalAxisAngle">android.lens.opticalAxisAngle</a></li>
497 ><a href="#static_android.lens.position">android.lens.position</a></li>
501 <span class="toc_kind_header">dynamic</span>
502 <ul class="toc_section">
504 ><a href="#dynamic_android.lens.aperture">android.lens.aperture</a></li>
506 ><a href="#dynamic_android.lens.filterDensity">android.lens.filterDensity</a></li>
508 ><a href="#dynamic_android.lens.focalLength">android.lens.focalLength</a></li>
510 ><a href="#dynamic_android.lens.focusDistance">android.lens.focusDistance</a></li>
512 ><a href="#dynamic_android.lens.focusRange">android.lens.focusRange</a></li>
514 ><a href="#dynamic_android.lens.opticalStabilizationMode">android.lens.opticalStabilizationMode</a></li>
516 ><a href="#dynamic_android.lens.state">android.lens.state</a></li>
519 </ul> <!-- toc_section -->
522 <span class="toc_section_header"><a href="#section_noiseReduction">noiseReduction</a></span>
523 <ul class="toc_section">
525 <span class="toc_kind_header">controls</span>
526 <ul class="toc_section">
528 ><a href="#controls_android.noiseReduction.mode">android.noiseReduction.mode</a></li>
530 ><a href="#controls_android.noiseReduction.strength">android.noiseReduction.strength</a></li>
534 <span class="toc_kind_header">static</span>
535 <ul class="toc_section">
537 ><a href="#static_android.noiseReduction.availableNoiseReductionModes">android.noiseReduction.availableNoiseReductionModes</a></li>
541 <span class="toc_kind_header">dynamic</span>
542 <ul class="toc_section">
544 ><a href="#dynamic_android.noiseReduction.mode">android.noiseReduction.mode</a></li>
547 </ul> <!-- toc_section -->
550 <span class="toc_section_header"><a href="#section_quirks">quirks</a></span>
551 <ul class="toc_section">
553 <span class="toc_kind_header">static</span>
554 <ul class="toc_section">
556 class="toc_deprecated"
557 ><a href="#static_android.quirks.meteringCropRegion">android.quirks.meteringCropRegion</a></li>
559 class="toc_deprecated"
560 ><a href="#static_android.quirks.triggerAfWithAuto">android.quirks.triggerAfWithAuto</a></li>
562 class="toc_deprecated"
563 ><a href="#static_android.quirks.useZslFormat">android.quirks.useZslFormat</a></li>
565 class="toc_deprecated"
566 ><a href="#static_android.quirks.usePartialResult">android.quirks.usePartialResult</a></li>
570 <span class="toc_kind_header">dynamic</span>
571 <ul class="toc_section">
573 class="toc_deprecated"
574 ><a href="#dynamic_android.quirks.partialResult">android.quirks.partialResult</a></li>
577 </ul> <!-- toc_section -->
580 <span class="toc_section_header"><a href="#section_request">request</a></span>
581 <ul class="toc_section">
583 <span class="toc_kind_header">controls</span>
584 <ul class="toc_section">
586 class="toc_deprecated"
587 ><a href="#controls_android.request.frameCount">android.request.frameCount</a></li>
589 ><a href="#controls_android.request.id">android.request.id</a></li>
591 class="toc_deprecated"
592 ><a href="#controls_android.request.inputStreams">android.request.inputStreams</a></li>
594 ><a href="#controls_android.request.metadataMode">android.request.metadataMode</a></li>
596 class="toc_deprecated"
597 ><a href="#controls_android.request.outputStreams">android.request.outputStreams</a></li>
599 class="toc_deprecated"
600 ><a href="#controls_android.request.type">android.request.type</a></li>
604 <span class="toc_kind_header">static</span>
605 <ul class="toc_section">
607 ><a href="#static_android.request.maxNumOutputStreams">android.request.maxNumOutputStreams</a></li>
609 ><a href="#static_android.request.maxNumOutputRaw">android.request.maxNumOutputRaw</a></li>
611 ><a href="#static_android.request.maxNumOutputProc">android.request.maxNumOutputProc</a></li>
613 ><a href="#static_android.request.maxNumOutputProcStalling">android.request.maxNumOutputProcStalling</a></li>
615 class="toc_deprecated"
616 ><a href="#static_android.request.maxNumReprocessStreams">android.request.maxNumReprocessStreams</a></li>
618 ><a href="#static_android.request.maxNumInputStreams">android.request.maxNumInputStreams</a></li>
620 ><a href="#static_android.request.pipelineMaxDepth">android.request.pipelineMaxDepth</a></li>
622 ><a href="#static_android.request.partialResultCount">android.request.partialResultCount</a></li>
624 ><a href="#static_android.request.availableCapabilities">android.request.availableCapabilities</a></li>
626 ><a href="#static_android.request.availableRequestKeys">android.request.availableRequestKeys</a></li>
628 ><a href="#static_android.request.availableResultKeys">android.request.availableResultKeys</a></li>
630 ><a href="#static_android.request.availableCharacteristicsKeys">android.request.availableCharacteristicsKeys</a></li>
634 <span class="toc_kind_header">dynamic</span>
635 <ul class="toc_section">
637 class="toc_deprecated"
638 ><a href="#dynamic_android.request.frameCount">android.request.frameCount</a></li>
640 ><a href="#dynamic_android.request.id">android.request.id</a></li>
642 ><a href="#dynamic_android.request.metadataMode">android.request.metadataMode</a></li>
644 class="toc_deprecated"
645 ><a href="#dynamic_android.request.outputStreams">android.request.outputStreams</a></li>
647 ><a href="#dynamic_android.request.pipelineDepth">android.request.pipelineDepth</a></li>
650 </ul> <!-- toc_section -->
653 <span class="toc_section_header"><a href="#section_scaler">scaler</a></span>
654 <ul class="toc_section">
656 <span class="toc_kind_header">controls</span>
657 <ul class="toc_section">
659 ><a href="#controls_android.scaler.cropRegion">android.scaler.cropRegion</a></li>
663 <span class="toc_kind_header">static</span>
664 <ul class="toc_section">
666 class="toc_deprecated"
667 ><a href="#static_android.scaler.availableFormats">android.scaler.availableFormats</a></li>
669 class="toc_deprecated"
670 ><a href="#static_android.scaler.availableJpegMinDurations">android.scaler.availableJpegMinDurations</a></li>
672 class="toc_deprecated"
673 ><a href="#static_android.scaler.availableJpegSizes">android.scaler.availableJpegSizes</a></li>
675 ><a href="#static_android.scaler.availableMaxDigitalZoom">android.scaler.availableMaxDigitalZoom</a></li>
677 class="toc_deprecated"
678 ><a href="#static_android.scaler.availableProcessedMinDurations">android.scaler.availableProcessedMinDurations</a></li>
680 class="toc_deprecated"
681 ><a href="#static_android.scaler.availableProcessedSizes">android.scaler.availableProcessedSizes</a></li>
683 class="toc_deprecated"
684 ><a href="#static_android.scaler.availableRawMinDurations">android.scaler.availableRawMinDurations</a></li>
686 class="toc_deprecated"
687 ><a href="#static_android.scaler.availableRawSizes">android.scaler.availableRawSizes</a></li>
689 ><a href="#static_android.scaler.availableInputOutputFormatsMap">android.scaler.availableInputOutputFormatsMap</a></li>
691 ><a href="#static_android.scaler.availableStreamConfigurations">android.scaler.availableStreamConfigurations</a></li>
693 ><a href="#static_android.scaler.availableMinFrameDurations">android.scaler.availableMinFrameDurations</a></li>
695 ><a href="#static_android.scaler.availableStallDurations">android.scaler.availableStallDurations</a></li>
697 ><a href="#static_android.scaler.streamConfigurationMap">android.scaler.streamConfigurationMap</a></li>
699 ><a href="#static_android.scaler.croppingType">android.scaler.croppingType</a></li>
703 <span class="toc_kind_header">dynamic</span>
704 <ul class="toc_section">
706 ><a href="#dynamic_android.scaler.cropRegion">android.scaler.cropRegion</a></li>
709 </ul> <!-- toc_section -->
712 <span class="toc_section_header"><a href="#section_sensor">sensor</a></span>
713 <ul class="toc_section">
715 <span class="toc_kind_header">controls</span>
716 <ul class="toc_section">
718 ><a href="#controls_android.sensor.exposureTime">android.sensor.exposureTime</a></li>
720 ><a href="#controls_android.sensor.frameDuration">android.sensor.frameDuration</a></li>
722 ><a href="#controls_android.sensor.sensitivity">android.sensor.sensitivity</a></li>
724 ><a href="#controls_android.sensor.testPatternData">android.sensor.testPatternData</a></li>
726 ><a href="#controls_android.sensor.testPatternMode">android.sensor.testPatternMode</a></li>
730 <span class="toc_kind_header">static</span>
731 <ul class="toc_section">
734 ><a href="#static_android.sensor.info.activeArraySize">android.sensor.info.activeArraySize</a></li>
736 ><a href="#static_android.sensor.info.sensitivityRange">android.sensor.info.sensitivityRange</a></li>
738 ><a href="#static_android.sensor.info.colorFilterArrangement">android.sensor.info.colorFilterArrangement</a></li>
740 ><a href="#static_android.sensor.info.exposureTimeRange">android.sensor.info.exposureTimeRange</a></li>
742 ><a href="#static_android.sensor.info.maxFrameDuration">android.sensor.info.maxFrameDuration</a></li>
744 ><a href="#static_android.sensor.info.physicalSize">android.sensor.info.physicalSize</a></li>
746 ><a href="#static_android.sensor.info.pixelArraySize">android.sensor.info.pixelArraySize</a></li>
748 ><a href="#static_android.sensor.info.whiteLevel">android.sensor.info.whiteLevel</a></li>
750 ><a href="#static_android.sensor.info.timestampSource">android.sensor.info.timestampSource</a></li>
753 ><a href="#static_android.sensor.referenceIlluminant1">android.sensor.referenceIlluminant1</a></li>
755 ><a href="#static_android.sensor.referenceIlluminant2">android.sensor.referenceIlluminant2</a></li>
757 ><a href="#static_android.sensor.calibrationTransform1">android.sensor.calibrationTransform1</a></li>
759 ><a href="#static_android.sensor.calibrationTransform2">android.sensor.calibrationTransform2</a></li>
761 ><a href="#static_android.sensor.colorTransform1">android.sensor.colorTransform1</a></li>
763 ><a href="#static_android.sensor.colorTransform2">android.sensor.colorTransform2</a></li>
765 ><a href="#static_android.sensor.forwardMatrix1">android.sensor.forwardMatrix1</a></li>
767 ><a href="#static_android.sensor.forwardMatrix2">android.sensor.forwardMatrix2</a></li>
769 ><a href="#static_android.sensor.baseGainFactor">android.sensor.baseGainFactor</a></li>
771 ><a href="#static_android.sensor.blackLevelPattern">android.sensor.blackLevelPattern</a></li>
773 ><a href="#static_android.sensor.maxAnalogSensitivity">android.sensor.maxAnalogSensitivity</a></li>
775 ><a href="#static_android.sensor.orientation">android.sensor.orientation</a></li>
777 ><a href="#static_android.sensor.profileHueSatMapDimensions">android.sensor.profileHueSatMapDimensions</a></li>
779 ><a href="#static_android.sensor.availableTestPatternModes">android.sensor.availableTestPatternModes</a></li>
783 <span class="toc_kind_header">dynamic</span>
784 <ul class="toc_section">
786 ><a href="#dynamic_android.sensor.exposureTime">android.sensor.exposureTime</a></li>
788 ><a href="#dynamic_android.sensor.frameDuration">android.sensor.frameDuration</a></li>
790 ><a href="#dynamic_android.sensor.sensitivity">android.sensor.sensitivity</a></li>
792 ><a href="#dynamic_android.sensor.timestamp">android.sensor.timestamp</a></li>
794 ><a href="#dynamic_android.sensor.temperature">android.sensor.temperature</a></li>
796 ><a href="#dynamic_android.sensor.neutralColorPoint">android.sensor.neutralColorPoint</a></li>
798 ><a href="#dynamic_android.sensor.noiseProfile">android.sensor.noiseProfile</a></li>
800 ><a href="#dynamic_android.sensor.profileHueSatMap">android.sensor.profileHueSatMap</a></li>
802 ><a href="#dynamic_android.sensor.profileToneCurve">android.sensor.profileToneCurve</a></li>
804 ><a href="#dynamic_android.sensor.greenSplit">android.sensor.greenSplit</a></li>
806 ><a href="#dynamic_android.sensor.testPatternData">android.sensor.testPatternData</a></li>
808 ><a href="#dynamic_android.sensor.testPatternMode">android.sensor.testPatternMode</a></li>
810 ><a href="#dynamic_android.sensor.rollingShutterSkew">android.sensor.rollingShutterSkew</a></li>
813 </ul> <!-- toc_section -->
816 <span class="toc_section_header"><a href="#section_shading">shading</a></span>
817 <ul class="toc_section">
819 <span class="toc_kind_header">controls</span>
820 <ul class="toc_section">
822 ><a href="#controls_android.shading.mode">android.shading.mode</a></li>
824 ><a href="#controls_android.shading.strength">android.shading.strength</a></li>
828 <span class="toc_kind_header">dynamic</span>
829 <ul class="toc_section">
831 ><a href="#dynamic_android.shading.mode">android.shading.mode</a></li>
834 </ul> <!-- toc_section -->
837 <span class="toc_section_header"><a href="#section_statistics">statistics</a></span>
838 <ul class="toc_section">
840 <span class="toc_kind_header">controls</span>
841 <ul class="toc_section">
843 ><a href="#controls_android.statistics.faceDetectMode">android.statistics.faceDetectMode</a></li>
845 ><a href="#controls_android.statistics.histogramMode">android.statistics.histogramMode</a></li>
847 ><a href="#controls_android.statistics.sharpnessMapMode">android.statistics.sharpnessMapMode</a></li>
849 ><a href="#controls_android.statistics.hotPixelMapMode">android.statistics.hotPixelMapMode</a></li>
851 ><a href="#controls_android.statistics.lensShadingMapMode">android.statistics.lensShadingMapMode</a></li>
855 <span class="toc_kind_header">static</span>
856 <ul class="toc_section">
859 ><a href="#static_android.statistics.info.availableFaceDetectModes">android.statistics.info.availableFaceDetectModes</a></li>
861 ><a href="#static_android.statistics.info.histogramBucketCount">android.statistics.info.histogramBucketCount</a></li>
863 ><a href="#static_android.statistics.info.maxFaceCount">android.statistics.info.maxFaceCount</a></li>
865 ><a href="#static_android.statistics.info.maxHistogramCount">android.statistics.info.maxHistogramCount</a></li>
867 ><a href="#static_android.statistics.info.maxSharpnessMapValue">android.statistics.info.maxSharpnessMapValue</a></li>
869 ><a href="#static_android.statistics.info.sharpnessMapSize">android.statistics.info.sharpnessMapSize</a></li>
871 ><a href="#static_android.statistics.info.availableHotPixelMapModes">android.statistics.info.availableHotPixelMapModes</a></li>
876 <span class="toc_kind_header">dynamic</span>
877 <ul class="toc_section">
879 ><a href="#dynamic_android.statistics.faceDetectMode">android.statistics.faceDetectMode</a></li>
881 ><a href="#dynamic_android.statistics.faceIds">android.statistics.faceIds</a></li>
883 ><a href="#dynamic_android.statistics.faceLandmarks">android.statistics.faceLandmarks</a></li>
885 ><a href="#dynamic_android.statistics.faceRectangles">android.statistics.faceRectangles</a></li>
887 ><a href="#dynamic_android.statistics.faceScores">android.statistics.faceScores</a></li>
889 ><a href="#dynamic_android.statistics.faces">android.statistics.faces</a></li>
891 ><a href="#dynamic_android.statistics.histogram">android.statistics.histogram</a></li>
893 ><a href="#dynamic_android.statistics.histogramMode">android.statistics.histogramMode</a></li>
895 ><a href="#dynamic_android.statistics.sharpnessMap">android.statistics.sharpnessMap</a></li>
897 ><a href="#dynamic_android.statistics.sharpnessMapMode">android.statistics.sharpnessMapMode</a></li>
899 ><a href="#dynamic_android.statistics.lensShadingCorrectionMap">android.statistics.lensShadingCorrectionMap</a></li>
901 ><a href="#dynamic_android.statistics.lensShadingMap">android.statistics.lensShadingMap</a></li>
903 class="toc_deprecated"
904 ><a href="#dynamic_android.statistics.predictedColorGains">android.statistics.predictedColorGains</a></li>
906 class="toc_deprecated"
907 ><a href="#dynamic_android.statistics.predictedColorTransform">android.statistics.predictedColorTransform</a></li>
909 ><a href="#dynamic_android.statistics.sceneFlicker">android.statistics.sceneFlicker</a></li>
911 ><a href="#dynamic_android.statistics.hotPixelMapMode">android.statistics.hotPixelMapMode</a></li>
913 ><a href="#dynamic_android.statistics.hotPixelMap">android.statistics.hotPixelMap</a></li>
915 ><a href="#dynamic_android.statistics.lensShadingMapMode">android.statistics.lensShadingMapMode</a></li>
918 </ul> <!-- toc_section -->
921 <span class="toc_section_header"><a href="#section_tonemap">tonemap</a></span>
922 <ul class="toc_section">
924 <span class="toc_kind_header">controls</span>
925 <ul class="toc_section">
927 ><a href="#controls_android.tonemap.curveBlue">android.tonemap.curveBlue</a></li>
929 ><a href="#controls_android.tonemap.curveGreen">android.tonemap.curveGreen</a></li>
931 ><a href="#controls_android.tonemap.curveRed">android.tonemap.curveRed</a></li>
933 ><a href="#controls_android.tonemap.curve">android.tonemap.curve</a></li>
935 ><a href="#controls_android.tonemap.mode">android.tonemap.mode</a></li>
939 <span class="toc_kind_header">static</span>
940 <ul class="toc_section">
942 ><a href="#static_android.tonemap.maxCurvePoints">android.tonemap.maxCurvePoints</a></li>
944 ><a href="#static_android.tonemap.availableToneMapModes">android.tonemap.availableToneMapModes</a></li>
948 <span class="toc_kind_header">dynamic</span>
949 <ul class="toc_section">
951 ><a href="#dynamic_android.tonemap.curveBlue">android.tonemap.curveBlue</a></li>
953 ><a href="#dynamic_android.tonemap.curveGreen">android.tonemap.curveGreen</a></li>
955 ><a href="#dynamic_android.tonemap.curveRed">android.tonemap.curveRed</a></li>
957 ><a href="#dynamic_android.tonemap.curve">android.tonemap.curve</a></li>
959 ><a href="#dynamic_android.tonemap.mode">android.tonemap.mode</a></li>
962 </ul> <!-- toc_section -->
965 <span class="toc_section_header"><a href="#section_led">led</a></span>
966 <ul class="toc_section">
968 <span class="toc_kind_header">controls</span>
969 <ul class="toc_section">
971 ><a href="#controls_android.led.transmit">android.led.transmit</a></li>
975 <span class="toc_kind_header">dynamic</span>
976 <ul class="toc_section">
978 ><a href="#dynamic_android.led.transmit">android.led.transmit</a></li>
982 <span class="toc_kind_header">static</span>
983 <ul class="toc_section">
985 ><a href="#static_android.led.availableLeds">android.led.availableLeds</a></li>
988 </ul> <!-- toc_section -->
991 <span class="toc_section_header"><a href="#section_info">info</a></span>
992 <ul class="toc_section">
994 <span class="toc_kind_header">static</span>
995 <ul class="toc_section">
997 ><a href="#static_android.info.supportedHardwareLevel">android.info.supportedHardwareLevel</a></li>
1000 </ul> <!-- toc_section -->
1003 <span class="toc_section_header"><a href="#section_blackLevel">blackLevel</a></span>
1004 <ul class="toc_section">
1006 <span class="toc_kind_header">controls</span>
1007 <ul class="toc_section">
1009 ><a href="#controls_android.blackLevel.lock">android.blackLevel.lock</a></li>
1013 <span class="toc_kind_header">dynamic</span>
1014 <ul class="toc_section">
1016 ><a href="#dynamic_android.blackLevel.lock">android.blackLevel.lock</a></li>
1019 </ul> <!-- toc_section -->
1022 <span class="toc_section_header"><a href="#section_sync">sync</a></span>
1023 <ul class="toc_section">
1025 <span class="toc_kind_header">dynamic</span>
1026 <ul class="toc_section">
1028 ><a href="#dynamic_android.sync.frameNumber">android.sync.frameNumber</a></li>
1032 <span class="toc_kind_header">static</span>
1033 <ul class="toc_section">
1035 ><a href="#static_android.sync.maxLatency">android.sync.maxLatency</a></li>
1038 </ul> <!-- toc_section -->
1044 <table class="properties">
1046 <thead class="thead_dummy">
1048 <th class="th_name">Property Name</th>
1049 <th class="th_type">Type</th>
1050 <th class="th_description">Description</th>
1051 <th class="th_units">Units</th>
1052 <th class="th_range">Range</th>
1053 <th class="th_tags">Tags</th>
1055 </thead> <!-- so that the first occurrence of thead is not
1056 above the first occurrence of tr -->
1057 <!-- <namespace name="android"> -->
1058 <tr><td colspan="6" id="section_colorCorrection" class="section">colorCorrection</td></tr>
1061 <tr><td colspan="6" class="kind">controls</td></tr>
1063 <thead class="entries_header">
1065 <th class="th_name">Property Name</th>
1066 <th class="th_type">Type</th>
1067 <th class="th_description">Description</th>
1068 <th class="th_units">Units</th>
1069 <th class="th_range">Range</th>
1070 <th class="th_tags">Tags</th>
1085 <tr class="entry" id="controls_android.colorCorrection.mode">
1086 <td class="entry_name
1088 android.<wbr/>color<wbr/>Correction.<wbr/>mode
1090 <td class="entry_type">
1091 <span class="entry_type_name entry_type_name_enum">byte</span>
1093 <span class="entry_type_visibility"> [public]</span>
1096 <span class="entry_type_hwlevel">[full] </span>
1100 <ul class="entry_type_enum">
1102 <span class="entry_type_enum_name">TRANSFORM_MATRIX</span>
1103 <span class="entry_type_enum_notes"><p>Use the <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a> matrix
1104 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> to do color conversion.<wbr/></p>
1105 <p>All advanced white balance adjustments (not specified
1106 by our white balance pipeline) must be disabled.<wbr/></p>
1107 <p>If AWB is enabled with <code><a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> != OFF</code>,<wbr/> then
1108 TRANSFORM_<wbr/>MATRIX is ignored.<wbr/> The camera device will override
1109 this value to either FAST or HIGH_<wbr/>QUALITY.<wbr/></p></span>
1112 <span class="entry_type_enum_name">FAST</span>
1113 <span class="entry_type_enum_notes"><p>Color correction processing must not slow down
1114 capture rate relative to sensor raw output.<wbr/></p>
1115 <p>Advanced white balance adjustments above and beyond
1116 the specified white balance pipeline may be applied.<wbr/></p>
1117 <p>If AWB is enabled with <code><a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> != OFF</code>,<wbr/> then
1118 the camera device uses the last frame's AWB values
1119 (or defaults if AWB has never been run).<wbr/></p></span>
1122 <span class="entry_type_enum_name">HIGH_QUALITY</span>
1123 <span class="entry_type_enum_notes"><p>Color correction processing operates at improved
1124 quality but reduced capture rate (relative to sensor raw
1126 <p>Advanced white balance adjustments above and beyond
1127 the specified white balance pipeline may be applied.<wbr/></p>
1128 <p>If AWB is enabled with <code><a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> != OFF</code>,<wbr/> then
1129 the camera device uses the last frame's AWB values
1130 (or defaults if AWB has never been run).<wbr/></p></span>
1134 </td> <!-- entry_type -->
1136 <td class="entry_description">
1137 <p>The mode control selects how the image data is converted from the
1138 sensor's native color into linear sRGB color.<wbr/></p>
1141 <td class="entry_units">
1144 <td class="entry_range">
1147 <td class="entry_tags">
1151 <tr class="entries_header">
1152 <th class="th_details" colspan="5">Details</th>
1154 <tr class="entry_cont">
1155 <td class="entry_details" colspan="5">
1156 <p>When auto-white balance (AWB) is enabled with <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> this
1157 control is overridden by the AWB routine.<wbr/> When AWB is disabled,<wbr/> the
1158 application controls how the color mapping is performed.<wbr/></p>
1159 <p>We define the expected processing pipeline below.<wbr/> For consistency
1160 across devices,<wbr/> this is always the case with TRANSFORM_<wbr/>MATRIX.<wbr/></p>
1161 <p>When either FULL or HIGH_<wbr/>QUALITY is used,<wbr/> the camera device may
1162 do additional processing but <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> and
1163 <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a> will still be provided by the
1164 camera device (in the results) and be roughly correct.<wbr/></p>
1165 <p>Switching to TRANSFORM_<wbr/>MATRIX and using the data provided from
1166 FAST or HIGH_<wbr/>QUALITY will yield a picture with the same white point
1167 as what was produced by the camera device in the earlier frame.<wbr/></p>
1168 <p>The expected processing pipeline is as follows:</p>
1169 <p><img alt="White balance processing pipeline" src="images/camera2/metadata/android.colorCorrection.mode/processing_pipeline.png"/></p>
1170 <p>The white balance is encoded by two values,<wbr/> a 4-channel white-balance
1171 gain vector (applied in the Bayer domain),<wbr/> and a 3x3 color transform
1172 matrix (applied after demosaic).<wbr/></p>
1173 <p>The 4-channel white-balance gains are defined as:</p>
1174 <pre><code><a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> = [ R G_<wbr/>even G_<wbr/>odd B ]
1176 <p>where <code>G_<wbr/>even</code> is the gain for green pixels on even rows of the
1177 output,<wbr/> and <code>G_<wbr/>odd</code> is the gain for green pixels on the odd rows.<wbr/>
1178 These may be identical for a given camera device implementation; if
1179 the camera device does not support a separate gain for even/<wbr/>odd green
1180 channels,<wbr/> it will use the <code>G_<wbr/>even</code> value,<wbr/> and write <code>G_<wbr/>odd</code> equal to
1181 <code>G_<wbr/>even</code> in the output result metadata.<wbr/></p>
1182 <p>The matrices for color transforms are defined as a 9-entry vector:</p>
1183 <pre><code><a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a> = [ I0 I1 I2 I3 I4 I5 I6 I7 I8 ]
1185 <p>which define a transform from input sensor colors,<wbr/> <code>P_<wbr/>in = [ r g b ]</code>,<wbr/>
1186 to output linear sRGB,<wbr/> <code>P_<wbr/>out = [ r' g' b' ]</code>,<wbr/></p>
1187 <p>with colors as follows:</p>
1188 <pre><code>r' = I0r + I1g + I2b
1189 g' = I3r + I4g + I5b
1190 b' = I6r + I7g + I8b
1192 <p>Both the input and output value ranges must match.<wbr/> Overflow/<wbr/>underflow
1193 values are clipped to fit within the range.<wbr/></p>
1198 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
1199 <!-- end of entry -->
1202 <tr class="entry" id="controls_android.colorCorrection.transform">
1203 <td class="entry_name
1205 android.<wbr/>color<wbr/>Correction.<wbr/>transform
1207 <td class="entry_type">
1208 <span class="entry_type_name">rational</span>
1209 <span class="entry_type_container">x</span>
1211 <span class="entry_type_array">
1214 <span class="entry_type_visibility"> [public as colorSpaceTransform]</span>
1217 <span class="entry_type_hwlevel">[full] </span>
1220 <div class="entry_type_notes">3x3 rational matrix in row-major order</div>
1223 </td> <!-- entry_type -->
1225 <td class="entry_description">
1226 <p>A color transform matrix to use to transform
1227 from sensor RGB color space to output linear sRGB color space.<wbr/></p>
1230 <td class="entry_units">
1231 Unitless scale factors
1234 <td class="entry_range">
1237 <td class="entry_tags">
1241 <tr class="entries_header">
1242 <th class="th_details" colspan="5">Details</th>
1244 <tr class="entry_cont">
1245 <td class="entry_details" colspan="5">
1246 <p>This matrix is either set by the camera device when the request
1247 <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is not TRANSFORM_<wbr/>MATRIX,<wbr/> or
1248 directly by the application in the request when the
1249 <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is TRANSFORM_<wbr/>MATRIX.<wbr/></p>
1250 <p>In the latter case,<wbr/> the camera device may round the matrix to account
1251 for precision issues; the final rounded matrix should be reported back
1252 in this matrix result metadata.<wbr/> The transform should keep the magnitude
1253 of the output color values within <code>[0,<wbr/> 1.<wbr/>0]</code> (assuming input color
1254 values is within the normalized range <code>[0,<wbr/> 1.<wbr/>0]</code>),<wbr/> or clipping may occur.<wbr/></p>
1259 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
1260 <!-- end of entry -->
1263 <tr class="entry" id="controls_android.colorCorrection.gains">
1264 <td class="entry_name
1266 android.<wbr/>color<wbr/>Correction.<wbr/>gains
1268 <td class="entry_type">
1269 <span class="entry_type_name">float</span>
1270 <span class="entry_type_container">x</span>
1272 <span class="entry_type_array">
1275 <span class="entry_type_visibility"> [public as rggbChannelVector]</span>
1278 <span class="entry_type_hwlevel">[full] </span>
1281 <div class="entry_type_notes">A 1D array of floats for 4 color channel gains</div>
1284 </td> <!-- entry_type -->
1286 <td class="entry_description">
1287 <p>Gains applying to Bayer raw color channels for
1288 white-balance.<wbr/></p>
1291 <td class="entry_units">
1292 Unitless gain factors
1295 <td class="entry_range">
1298 <td class="entry_tags">
1302 <tr class="entries_header">
1303 <th class="th_details" colspan="5">Details</th>
1305 <tr class="entry_cont">
1306 <td class="entry_details" colspan="5">
1307 <p>These per-channel gains are either set by the camera device
1308 when the request <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is not
1309 TRANSFORM_<wbr/>MATRIX,<wbr/> or directly by the application in the
1310 request when the <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is
1311 TRANSFORM_<wbr/>MATRIX.<wbr/></p>
1312 <p>The gains in the result metadata are the gains actually
1313 applied by the camera device to the current frame.<wbr/></p>
1317 <tr class="entries_header">
1318 <th class="th_details" colspan="5">HAL Implementation Details</th>
1320 <tr class="entry_cont">
1321 <td class="entry_details" colspan="5">
1322 <p>The 4-channel white-balance gains are defined in
1323 the order of <code>[R G_<wbr/>even G_<wbr/>odd B]</code>,<wbr/> where <code>G_<wbr/>even</code> is the gain
1324 for green pixels on even rows of the output,<wbr/> and <code>G_<wbr/>odd</code>
1325 is the gain for green pixels on the odd rows.<wbr/></p>
1326 <p>If a HAL does not support a separate gain for even/<wbr/>odd green
1327 channels,<wbr/> it must use the <code>G_<wbr/>even</code> value,<wbr/> and write
1328 <code>G_<wbr/>odd</code> equal to <code>G_<wbr/>even</code> in the output result metadata.<wbr/></p>
1332 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
1333 <!-- end of entry -->
1336 <tr class="entry" id="controls_android.colorCorrection.aberrationMode">
1337 <td class="entry_name
1339 android.<wbr/>color<wbr/>Correction.<wbr/>aberration<wbr/>Mode
1341 <td class="entry_type">
1342 <span class="entry_type_name entry_type_name_enum">byte</span>
1344 <span class="entry_type_visibility"> [public]</span>
1347 <span class="entry_type_hwlevel">[legacy] </span>
1351 <ul class="entry_type_enum">
1353 <span class="entry_type_enum_name">OFF</span>
1354 <span class="entry_type_enum_notes"><p>No aberration correction is applied.<wbr/></p></span>
1357 <span class="entry_type_enum_name">FAST</span>
1358 <span class="entry_type_enum_notes"><p>Aberration correction will not slow down capture rate
1359 relative to sensor raw output.<wbr/></p></span>
1362 <span class="entry_type_enum_name">HIGH_QUALITY</span>
1363 <span class="entry_type_enum_notes"><p>Aberration correction operates at improved quality but reduced
1364 capture rate (relative to sensor raw output).<wbr/></p></span>
1368 </td> <!-- entry_type -->
1370 <td class="entry_description">
1371 <p>Mode of operation for the chromatic aberration correction algorithm.<wbr/></p>
1374 <td class="entry_units">
1377 <td class="entry_range">
1378 <p><a href="#static_android.colorCorrection.availableAberrationModes">android.<wbr/>color<wbr/>Correction.<wbr/>available<wbr/>Aberration<wbr/>Modes</a></p>
1381 <td class="entry_tags">
1385 <tr class="entries_header">
1386 <th class="th_details" colspan="5">Details</th>
1388 <tr class="entry_cont">
1389 <td class="entry_details" colspan="5">
1390 <p>Chromatic (color) aberration is caused by the fact that different wavelengths of light
1391 can not focus on the same point after exiting from the lens.<wbr/> This metadata defines
1392 the high level control of chromatic aberration correction algorithm,<wbr/> which aims to
1393 minimize the chromatic artifacts that may occur along the object boundaries in an
1395 <p>FAST/<wbr/>HIGH_<wbr/>QUALITY both mean that camera device determined aberration
1396 correction will be applied.<wbr/> HIGH_<wbr/>QUALITY mode indicates that the camera device will
1397 use the highest-quality aberration correction algorithms,<wbr/> even if it slows down
1398 capture rate.<wbr/> FAST means the camera device will not slow down capture rate when
1399 applying aberration correction.<wbr/></p>
1400 <p>LEGACY devices will always be in FAST mode.<wbr/></p>
1405 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
1406 <!-- end of entry -->
1410 <!-- end of kind -->
1412 <tr><td colspan="6" class="kind">dynamic</td></tr>
1414 <thead class="entries_header">
1416 <th class="th_name">Property Name</th>
1417 <th class="th_type">Type</th>
1418 <th class="th_description">Description</th>
1419 <th class="th_units">Units</th>
1420 <th class="th_range">Range</th>
1421 <th class="th_tags">Tags</th>
1436 <tr class="entry" id="dynamic_android.colorCorrection.mode">
1437 <td class="entry_name
1439 android.<wbr/>color<wbr/>Correction.<wbr/>mode
1441 <td class="entry_type">
1442 <span class="entry_type_name entry_type_name_enum">byte</span>
1444 <span class="entry_type_visibility"> [public]</span>
1447 <span class="entry_type_hwlevel">[full] </span>
1451 <ul class="entry_type_enum">
1453 <span class="entry_type_enum_name">TRANSFORM_MATRIX</span>
1454 <span class="entry_type_enum_notes"><p>Use the <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a> matrix
1455 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> to do color conversion.<wbr/></p>
1456 <p>All advanced white balance adjustments (not specified
1457 by our white balance pipeline) must be disabled.<wbr/></p>
1458 <p>If AWB is enabled with <code><a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> != OFF</code>,<wbr/> then
1459 TRANSFORM_<wbr/>MATRIX is ignored.<wbr/> The camera device will override
1460 this value to either FAST or HIGH_<wbr/>QUALITY.<wbr/></p></span>
1463 <span class="entry_type_enum_name">FAST</span>
1464 <span class="entry_type_enum_notes"><p>Color correction processing must not slow down
1465 capture rate relative to sensor raw output.<wbr/></p>
1466 <p>Advanced white balance adjustments above and beyond
1467 the specified white balance pipeline may be applied.<wbr/></p>
1468 <p>If AWB is enabled with <code><a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> != OFF</code>,<wbr/> then
1469 the camera device uses the last frame's AWB values
1470 (or defaults if AWB has never been run).<wbr/></p></span>
1473 <span class="entry_type_enum_name">HIGH_QUALITY</span>
1474 <span class="entry_type_enum_notes"><p>Color correction processing operates at improved
1475 quality but reduced capture rate (relative to sensor raw
1477 <p>Advanced white balance adjustments above and beyond
1478 the specified white balance pipeline may be applied.<wbr/></p>
1479 <p>If AWB is enabled with <code><a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> != OFF</code>,<wbr/> then
1480 the camera device uses the last frame's AWB values
1481 (or defaults if AWB has never been run).<wbr/></p></span>
1485 </td> <!-- entry_type -->
1487 <td class="entry_description">
1488 <p>The mode control selects how the image data is converted from the
1489 sensor's native color into linear sRGB color.<wbr/></p>
1492 <td class="entry_units">
1495 <td class="entry_range">
1498 <td class="entry_tags">
1502 <tr class="entries_header">
1503 <th class="th_details" colspan="5">Details</th>
1505 <tr class="entry_cont">
1506 <td class="entry_details" colspan="5">
1507 <p>When auto-white balance (AWB) is enabled with <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> this
1508 control is overridden by the AWB routine.<wbr/> When AWB is disabled,<wbr/> the
1509 application controls how the color mapping is performed.<wbr/></p>
1510 <p>We define the expected processing pipeline below.<wbr/> For consistency
1511 across devices,<wbr/> this is always the case with TRANSFORM_<wbr/>MATRIX.<wbr/></p>
1512 <p>When either FULL or HIGH_<wbr/>QUALITY is used,<wbr/> the camera device may
1513 do additional processing but <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> and
1514 <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a> will still be provided by the
1515 camera device (in the results) and be roughly correct.<wbr/></p>
1516 <p>Switching to TRANSFORM_<wbr/>MATRIX and using the data provided from
1517 FAST or HIGH_<wbr/>QUALITY will yield a picture with the same white point
1518 as what was produced by the camera device in the earlier frame.<wbr/></p>
1519 <p>The expected processing pipeline is as follows:</p>
1520 <p><img alt="White balance processing pipeline" src="images/camera2/metadata/android.colorCorrection.mode/processing_pipeline.png"/></p>
1521 <p>The white balance is encoded by two values,<wbr/> a 4-channel white-balance
1522 gain vector (applied in the Bayer domain),<wbr/> and a 3x3 color transform
1523 matrix (applied after demosaic).<wbr/></p>
1524 <p>The 4-channel white-balance gains are defined as:</p>
1525 <pre><code><a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> = [ R G_<wbr/>even G_<wbr/>odd B ]
1527 <p>where <code>G_<wbr/>even</code> is the gain for green pixels on even rows of the
1528 output,<wbr/> and <code>G_<wbr/>odd</code> is the gain for green pixels on the odd rows.<wbr/>
1529 These may be identical for a given camera device implementation; if
1530 the camera device does not support a separate gain for even/<wbr/>odd green
1531 channels,<wbr/> it will use the <code>G_<wbr/>even</code> value,<wbr/> and write <code>G_<wbr/>odd</code> equal to
1532 <code>G_<wbr/>even</code> in the output result metadata.<wbr/></p>
1533 <p>The matrices for color transforms are defined as a 9-entry vector:</p>
1534 <pre><code><a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a> = [ I0 I1 I2 I3 I4 I5 I6 I7 I8 ]
1536 <p>which define a transform from input sensor colors,<wbr/> <code>P_<wbr/>in = [ r g b ]</code>,<wbr/>
1537 to output linear sRGB,<wbr/> <code>P_<wbr/>out = [ r' g' b' ]</code>,<wbr/></p>
1538 <p>with colors as follows:</p>
1539 <pre><code>r' = I0r + I1g + I2b
1540 g' = I3r + I4g + I5b
1541 b' = I6r + I7g + I8b
1543 <p>Both the input and output value ranges must match.<wbr/> Overflow/<wbr/>underflow
1544 values are clipped to fit within the range.<wbr/></p>
1549 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
1550 <!-- end of entry -->
1553 <tr class="entry" id="dynamic_android.colorCorrection.transform">
1554 <td class="entry_name
1556 android.<wbr/>color<wbr/>Correction.<wbr/>transform
1558 <td class="entry_type">
1559 <span class="entry_type_name">rational</span>
1560 <span class="entry_type_container">x</span>
1562 <span class="entry_type_array">
1565 <span class="entry_type_visibility"> [public as colorSpaceTransform]</span>
1568 <span class="entry_type_hwlevel">[full] </span>
1571 <div class="entry_type_notes">3x3 rational matrix in row-major order</div>
1574 </td> <!-- entry_type -->
1576 <td class="entry_description">
1577 <p>A color transform matrix to use to transform
1578 from sensor RGB color space to output linear sRGB color space.<wbr/></p>
1581 <td class="entry_units">
1582 Unitless scale factors
1585 <td class="entry_range">
1588 <td class="entry_tags">
1592 <tr class="entries_header">
1593 <th class="th_details" colspan="5">Details</th>
1595 <tr class="entry_cont">
1596 <td class="entry_details" colspan="5">
1597 <p>This matrix is either set by the camera device when the request
1598 <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is not TRANSFORM_<wbr/>MATRIX,<wbr/> or
1599 directly by the application in the request when the
1600 <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is TRANSFORM_<wbr/>MATRIX.<wbr/></p>
1601 <p>In the latter case,<wbr/> the camera device may round the matrix to account
1602 for precision issues; the final rounded matrix should be reported back
1603 in this matrix result metadata.<wbr/> The transform should keep the magnitude
1604 of the output color values within <code>[0,<wbr/> 1.<wbr/>0]</code> (assuming input color
1605 values is within the normalized range <code>[0,<wbr/> 1.<wbr/>0]</code>),<wbr/> or clipping may occur.<wbr/></p>
1610 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
1611 <!-- end of entry -->
1614 <tr class="entry" id="dynamic_android.colorCorrection.gains">
1615 <td class="entry_name
1617 android.<wbr/>color<wbr/>Correction.<wbr/>gains
1619 <td class="entry_type">
1620 <span class="entry_type_name">float</span>
1621 <span class="entry_type_container">x</span>
1623 <span class="entry_type_array">
1626 <span class="entry_type_visibility"> [public as rggbChannelVector]</span>
1629 <span class="entry_type_hwlevel">[full] </span>
1632 <div class="entry_type_notes">A 1D array of floats for 4 color channel gains</div>
1635 </td> <!-- entry_type -->
1637 <td class="entry_description">
1638 <p>Gains applying to Bayer raw color channels for
1639 white-balance.<wbr/></p>
1642 <td class="entry_units">
1643 Unitless gain factors
1646 <td class="entry_range">
1649 <td class="entry_tags">
1653 <tr class="entries_header">
1654 <th class="th_details" colspan="5">Details</th>
1656 <tr class="entry_cont">
1657 <td class="entry_details" colspan="5">
1658 <p>These per-channel gains are either set by the camera device
1659 when the request <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is not
1660 TRANSFORM_<wbr/>MATRIX,<wbr/> or directly by the application in the
1661 request when the <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is
1662 TRANSFORM_<wbr/>MATRIX.<wbr/></p>
1663 <p>The gains in the result metadata are the gains actually
1664 applied by the camera device to the current frame.<wbr/></p>
1668 <tr class="entries_header">
1669 <th class="th_details" colspan="5">HAL Implementation Details</th>
1671 <tr class="entry_cont">
1672 <td class="entry_details" colspan="5">
1673 <p>The 4-channel white-balance gains are defined in
1674 the order of <code>[R G_<wbr/>even G_<wbr/>odd B]</code>,<wbr/> where <code>G_<wbr/>even</code> is the gain
1675 for green pixels on even rows of the output,<wbr/> and <code>G_<wbr/>odd</code>
1676 is the gain for green pixels on the odd rows.<wbr/></p>
1677 <p>If a HAL does not support a separate gain for even/<wbr/>odd green
1678 channels,<wbr/> it must use the <code>G_<wbr/>even</code> value,<wbr/> and write
1679 <code>G_<wbr/>odd</code> equal to <code>G_<wbr/>even</code> in the output result metadata.<wbr/></p>
1683 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
1684 <!-- end of entry -->
1687 <tr class="entry" id="dynamic_android.colorCorrection.aberrationMode">
1688 <td class="entry_name
1690 android.<wbr/>color<wbr/>Correction.<wbr/>aberration<wbr/>Mode
1692 <td class="entry_type">
1693 <span class="entry_type_name entry_type_name_enum">byte</span>
1695 <span class="entry_type_visibility"> [public]</span>
1698 <span class="entry_type_hwlevel">[legacy] </span>
1702 <ul class="entry_type_enum">
1704 <span class="entry_type_enum_name">OFF</span>
1705 <span class="entry_type_enum_notes"><p>No aberration correction is applied.<wbr/></p></span>
1708 <span class="entry_type_enum_name">FAST</span>
1709 <span class="entry_type_enum_notes"><p>Aberration correction will not slow down capture rate
1710 relative to sensor raw output.<wbr/></p></span>
1713 <span class="entry_type_enum_name">HIGH_QUALITY</span>
1714 <span class="entry_type_enum_notes"><p>Aberration correction operates at improved quality but reduced
1715 capture rate (relative to sensor raw output).<wbr/></p></span>
1719 </td> <!-- entry_type -->
1721 <td class="entry_description">
1722 <p>Mode of operation for the chromatic aberration correction algorithm.<wbr/></p>
1725 <td class="entry_units">
1728 <td class="entry_range">
1729 <p><a href="#static_android.colorCorrection.availableAberrationModes">android.<wbr/>color<wbr/>Correction.<wbr/>available<wbr/>Aberration<wbr/>Modes</a></p>
1732 <td class="entry_tags">
1736 <tr class="entries_header">
1737 <th class="th_details" colspan="5">Details</th>
1739 <tr class="entry_cont">
1740 <td class="entry_details" colspan="5">
1741 <p>Chromatic (color) aberration is caused by the fact that different wavelengths of light
1742 can not focus on the same point after exiting from the lens.<wbr/> This metadata defines
1743 the high level control of chromatic aberration correction algorithm,<wbr/> which aims to
1744 minimize the chromatic artifacts that may occur along the object boundaries in an
1746 <p>FAST/<wbr/>HIGH_<wbr/>QUALITY both mean that camera device determined aberration
1747 correction will be applied.<wbr/> HIGH_<wbr/>QUALITY mode indicates that the camera device will
1748 use the highest-quality aberration correction algorithms,<wbr/> even if it slows down
1749 capture rate.<wbr/> FAST means the camera device will not slow down capture rate when
1750 applying aberration correction.<wbr/></p>
1751 <p>LEGACY devices will always be in FAST mode.<wbr/></p>
1756 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
1757 <!-- end of entry -->
1761 <!-- end of kind -->
1763 <tr><td colspan="6" class="kind">static</td></tr>
1765 <thead class="entries_header">
1767 <th class="th_name">Property Name</th>
1768 <th class="th_type">Type</th>
1769 <th class="th_description">Description</th>
1770 <th class="th_units">Units</th>
1771 <th class="th_range">Range</th>
1772 <th class="th_tags">Tags</th>
1787 <tr class="entry" id="static_android.colorCorrection.availableAberrationModes">
1788 <td class="entry_name
1790 android.<wbr/>color<wbr/>Correction.<wbr/>available<wbr/>Aberration<wbr/>Modes
1792 <td class="entry_type">
1793 <span class="entry_type_name">byte</span>
1794 <span class="entry_type_container">x</span>
1796 <span class="entry_type_array">
1799 <span class="entry_type_visibility"> [public as enumList]</span>
1802 <span class="entry_type_hwlevel">[legacy] </span>
1805 <div class="entry_type_notes">list of enums</div>
1808 </td> <!-- entry_type -->
1810 <td class="entry_description">
1811 <p>List of aberration correction modes for <a href="#controls_android.colorCorrection.aberrationMode">android.<wbr/>color<wbr/>Correction.<wbr/>aberration<wbr/>Mode</a> that are
1812 supported by this camera device.<wbr/></p>
1815 <td class="entry_units">
1818 <td class="entry_range">
1819 <p>Any value listed in <a href="#controls_android.colorCorrection.aberrationMode">android.<wbr/>color<wbr/>Correction.<wbr/>aberration<wbr/>Mode</a></p>
1822 <td class="entry_tags">
1823 <ul class="entry_tags">
1824 <li><a href="#tag_V1">V1</a></li>
1829 <tr class="entries_header">
1830 <th class="th_details" colspan="5">Details</th>
1832 <tr class="entry_cont">
1833 <td class="entry_details" colspan="5">
1834 <p>This key lists the valid modes for <a href="#controls_android.colorCorrection.aberrationMode">android.<wbr/>color<wbr/>Correction.<wbr/>aberration<wbr/>Mode</a>.<wbr/> If no
1835 aberration correction modes are available for a device,<wbr/> this list will solely include
1837 <p>For FULL capability device (<a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> <code>==</code> FULL),<wbr/> OFF is
1838 always included.<wbr/></p>
1839 <p>LEGACY devices will always only support FAST mode.<wbr/></p>
1844 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
1845 <!-- end of entry -->
1849 <!-- end of kind -->
1852 <!-- end of section -->
1853 <tr><td colspan="6" id="section_control" class="section">control</td></tr>
1856 <tr><td colspan="6" class="kind">controls</td></tr>
1858 <thead class="entries_header">
1860 <th class="th_name">Property Name</th>
1861 <th class="th_type">Type</th>
1862 <th class="th_description">Description</th>
1863 <th class="th_units">Units</th>
1864 <th class="th_range">Range</th>
1865 <th class="th_tags">Tags</th>
1880 <tr class="entry" id="controls_android.control.aeAntibandingMode">
1881 <td class="entry_name
1883 android.<wbr/>control.<wbr/>ae<wbr/>Antibanding<wbr/>Mode
1885 <td class="entry_type">
1886 <span class="entry_type_name entry_type_name_enum">byte</span>
1888 <span class="entry_type_visibility"> [public]</span>
1891 <span class="entry_type_hwlevel">[legacy] </span>
1895 <ul class="entry_type_enum">
1897 <span class="entry_type_enum_name">OFF</span>
1898 <span class="entry_type_enum_notes"><p>The camera device will not adjust exposure duration to
1899 avoid banding problems.<wbr/></p></span>
1902 <span class="entry_type_enum_name">50HZ</span>
1903 <span class="entry_type_enum_notes"><p>The camera device will adjust exposure duration to
1904 avoid banding problems with 50Hz illumination sources.<wbr/></p></span>
1907 <span class="entry_type_enum_name">60HZ</span>
1908 <span class="entry_type_enum_notes"><p>The camera device will adjust exposure duration to
1909 avoid banding problems with 60Hz illumination
1910 sources.<wbr/></p></span>
1913 <span class="entry_type_enum_name">AUTO</span>
1914 <span class="entry_type_enum_notes"><p>The camera device will automatically adapt its
1915 antibanding routine to the current illumination
1916 conditions.<wbr/> This is the default.<wbr/></p></span>
1920 </td> <!-- entry_type -->
1922 <td class="entry_description">
1923 <p>The desired setting for the camera device's auto-exposure
1924 algorithm's antibanding compensation.<wbr/></p>
1927 <td class="entry_units">
1930 <td class="entry_range">
1931 <p><a href="#static_android.control.aeAvailableAntibandingModes">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Antibanding<wbr/>Modes</a></p>
1934 <td class="entry_tags">
1935 <ul class="entry_tags">
1936 <li><a href="#tag_BC">BC</a></li>
1941 <tr class="entries_header">
1942 <th class="th_details" colspan="5">Details</th>
1944 <tr class="entry_cont">
1945 <td class="entry_details" colspan="5">
1946 <p>Some kinds of lighting fixtures,<wbr/> such as some fluorescent
1947 lights,<wbr/> flicker at the rate of the power supply frequency
1948 (60Hz or 50Hz,<wbr/> depending on country).<wbr/> While this is
1949 typically not noticeable to a person,<wbr/> it can be visible to
1950 a camera device.<wbr/> If a camera sets its exposure time to the
1951 wrong value,<wbr/> the flicker may become visible in the
1952 viewfinder as flicker or in a final captured image,<wbr/> as a
1953 set of variable-brightness bands across the image.<wbr/></p>
1954 <p>Therefore,<wbr/> the auto-exposure routines of camera devices
1955 include antibanding routines that ensure that the chosen
1956 exposure value will not cause such banding.<wbr/> The choice of
1957 exposure time depends on the rate of flicker,<wbr/> which the
1958 camera device can detect automatically,<wbr/> or the expected
1959 rate can be selected by the application using this
1961 <p>A given camera device may not support all of the possible
1962 options for the antibanding mode.<wbr/> The
1963 <a href="#static_android.control.aeAvailableAntibandingModes">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Antibanding<wbr/>Modes</a> key contains
1964 the available modes for a given camera device.<wbr/></p>
1965 <p>The default mode is AUTO,<wbr/> which is supported by all
1966 camera devices.<wbr/></p>
1967 <p>If manual exposure control is enabled (by setting
1968 <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> or <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> to OFF),<wbr/>
1969 then this setting has no effect,<wbr/> and the application must
1970 ensure it selects exposure times that do not cause banding
1971 issues.<wbr/> The <a href="#dynamic_android.statistics.sceneFlicker">android.<wbr/>statistics.<wbr/>scene<wbr/>Flicker</a> key can assist
1972 the application in this.<wbr/></p>
1976 <tr class="entries_header">
1977 <th class="th_details" colspan="5">HAL Implementation Details</th>
1979 <tr class="entry_cont">
1980 <td class="entry_details" colspan="5">
1981 <p>For all capture request templates,<wbr/> this field must be set
1982 to AUTO.<wbr/> AUTO is the only mode that must supported;
1983 OFF,<wbr/> 50HZ,<wbr/> 60HZ are all optional.<wbr/></p>
1984 <p>If manual exposure control is enabled (by setting
1985 <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> or <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> to OFF),<wbr/>
1986 then the exposure values provided by the application must not be
1987 adjusted for antibanding.<wbr/></p>
1991 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
1992 <!-- end of entry -->
1995 <tr class="entry" id="controls_android.control.aeExposureCompensation">
1996 <td class="entry_name
1998 android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation
2000 <td class="entry_type">
2001 <span class="entry_type_name">int32</span>
2003 <span class="entry_type_visibility"> [public]</span>
2006 <span class="entry_type_hwlevel">[legacy] </span>
2011 </td> <!-- entry_type -->
2013 <td class="entry_description">
2014 <p>Adjustment to auto-exposure (AE) target image
2015 brightness.<wbr/></p>
2018 <td class="entry_units">
2022 <td class="entry_range">
2023 <p><a href="#static_android.control.aeCompensationRange">android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Range</a></p>
2026 <td class="entry_tags">
2027 <ul class="entry_tags">
2028 <li><a href="#tag_BC">BC</a></li>
2033 <tr class="entries_header">
2034 <th class="th_details" colspan="5">Details</th>
2036 <tr class="entry_cont">
2037 <td class="entry_details" colspan="5">
2038 <p>The adjustment is measured as a count of steps,<wbr/> with the
2039 step size defined by <a href="#static_android.control.aeCompensationStep">android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Step</a> and the
2040 allowed range by <a href="#static_android.control.aeCompensationRange">android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Range</a>.<wbr/></p>
2041 <p>For example,<wbr/> if the exposure value (EV) step is 0.<wbr/>333,<wbr/> '6'
2042 will mean an exposure compensation of +2 EV; -3 will mean an
2043 exposure compensation of -1 EV.<wbr/> One EV represents a doubling
2044 of image brightness.<wbr/> Note that this control will only be
2045 effective if <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> <code>!=</code> OFF.<wbr/> This control
2046 will take effect even when <a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> <code>== true</code>.<wbr/></p>
2047 <p>In the event of exposure compensation value being changed,<wbr/> camera device
2048 may take several frames to reach the newly requested exposure target.<wbr/>
2049 During that time,<wbr/> <a href="#dynamic_android.control.aeState">android.<wbr/>control.<wbr/>ae<wbr/>State</a> field will be in the SEARCHING
2050 state.<wbr/> Once the new exposure target is reached,<wbr/> <a href="#dynamic_android.control.aeState">android.<wbr/>control.<wbr/>ae<wbr/>State</a> will
2051 change from SEARCHING to either CONVERGED,<wbr/> LOCKED (if AE lock is enabled),<wbr/> or
2052 FLASH_<wbr/>REQUIRED (if the scene is too dark for still capture).<wbr/></p>
2057 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
2058 <!-- end of entry -->
2061 <tr class="entry" id="controls_android.control.aeLock">
2062 <td class="entry_name
2064 android.<wbr/>control.<wbr/>ae<wbr/>Lock
2066 <td class="entry_type">
2067 <span class="entry_type_name entry_type_name_enum">byte</span>
2069 <span class="entry_type_visibility"> [public as boolean]</span>
2072 <span class="entry_type_hwlevel">[legacy] </span>
2076 <ul class="entry_type_enum">
2078 <span class="entry_type_enum_name">OFF</span>
2079 <span class="entry_type_enum_notes"><p>Auto-exposure lock is disabled; the AE algorithm
2080 is free to update its parameters.<wbr/></p></span>
2083 <span class="entry_type_enum_name">ON</span>
2084 <span class="entry_type_enum_notes"><p>Auto-exposure lock is enabled; the AE algorithm
2085 must not update the exposure and sensitivity parameters
2086 while the lock is active.<wbr/></p>
2087 <p><a href="#controls_android.control.aeExposureCompensation">android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation</a> setting changes
2088 will still take effect while auto-exposure is locked.<wbr/></p>
2089 <p>Some rare LEGACY devices may not support
2090 this,<wbr/> in which case the value will always be overridden to OFF.<wbr/></p></span>
2094 </td> <!-- entry_type -->
2096 <td class="entry_description">
2097 <p>Whether auto-exposure (AE) is currently locked to its latest
2098 calculated values.<wbr/></p>
2101 <td class="entry_units">
2104 <td class="entry_range">
2107 <td class="entry_tags">
2108 <ul class="entry_tags">
2109 <li><a href="#tag_BC">BC</a></li>
2114 <tr class="entries_header">
2115 <th class="th_details" colspan="5">Details</th>
2117 <tr class="entry_cont">
2118 <td class="entry_details" colspan="5">
2119 <p>When set to <code>true</code> (ON),<wbr/> the AE algorithm is locked to its latest parameters,<wbr/>
2120 and will not change exposure settings until the lock is set to <code>false</code> (OFF).<wbr/></p>
2121 <p>Note that even when AE is locked,<wbr/> the flash may be fired if
2122 the <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is ON_<wbr/>AUTO_<wbr/>FLASH /<wbr/>
2123 ON_<wbr/>ALWAYS_<wbr/>FLASH /<wbr/> ON_<wbr/>AUTO_<wbr/>FLASH_<wbr/>REDEYE.<wbr/></p>
2124 <p>When <a href="#controls_android.control.aeExposureCompensation">android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation</a> is changed,<wbr/> even if the AE lock
2125 is ON,<wbr/> the camera device will still adjust its exposure value.<wbr/></p>
2126 <p>If AE precapture is triggered (see <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>)
2127 when AE is already locked,<wbr/> the camera device will not change the exposure time
2128 (<a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>) and sensitivity (<a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>)
2129 parameters.<wbr/> The flash may be fired if the <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>
2130 is ON_<wbr/>AUTO_<wbr/>FLASH/<wbr/>ON_<wbr/>AUTO_<wbr/>FLASH_<wbr/>REDEYE and the scene is too dark.<wbr/> If the
2131 <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is ON_<wbr/>ALWAYS_<wbr/>FLASH,<wbr/> the scene may become overexposed.<wbr/></p>
2132 <p>Since the camera device has a pipeline of in-flight requests,<wbr/> the settings that
2133 get locked do not necessarily correspond to the settings that were present in the
2134 latest capture result received from the camera device,<wbr/> since additional captures
2135 and AE updates may have occurred even before the result was sent out.<wbr/> If an
2136 application is switching between automatic and manual control and wishes to eliminate
2137 any flicker during the switch,<wbr/> the following procedure is recommended:</p>
2139 <li>Starting in auto-AE mode:</li>
2141 <li>Wait for the first result to be output that has the AE locked</li>
2142 <li>Copy exposure settings from that result into a request,<wbr/> set the request to manual AE</li>
2143 <li>Submit the capture request,<wbr/> proceed to run manual AE as desired.<wbr/></li>
2145 <p>See <a href="#dynamic_android.control.aeState">android.<wbr/>control.<wbr/>ae<wbr/>State</a> for AE lock related state transition details.<wbr/></p>
2150 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
2151 <!-- end of entry -->
2154 <tr class="entry" id="controls_android.control.aeMode">
2155 <td class="entry_name
2157 android.<wbr/>control.<wbr/>ae<wbr/>Mode
2159 <td class="entry_type">
2160 <span class="entry_type_name entry_type_name_enum">byte</span>
2162 <span class="entry_type_visibility"> [public]</span>
2165 <span class="entry_type_hwlevel">[legacy] </span>
2169 <ul class="entry_type_enum">
2171 <span class="entry_type_enum_name">OFF</span>
2172 <span class="entry_type_enum_notes"><p>The camera device's autoexposure routine is disabled.<wbr/></p>
2173 <p>The application-selected <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/>
2174 <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a> and
2175 <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> are used by the camera
2176 device,<wbr/> along with android.<wbr/>flash.<wbr/>* fields,<wbr/> if there's
2177 a flash unit for this camera device.<wbr/></p>
2178 <p>LEGACY devices do not support the OFF mode and will
2179 override attempts to use this value to ON.<wbr/></p></span>
2182 <span class="entry_type_enum_name">ON</span>
2183 <span class="entry_type_enum_notes"><p>The camera device's autoexposure routine is active,<wbr/>
2184 with no flash control.<wbr/></p>
2185 <p>The application's values for
2186 <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/>
2187 <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and
2188 <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> are ignored.<wbr/> The
2189 application has control over the various
2190 android.<wbr/>flash.<wbr/>* fields.<wbr/></p></span>
2193 <span class="entry_type_enum_name">ON_AUTO_FLASH</span>
2194 <span class="entry_type_enum_notes"><p>Like ON,<wbr/> except that the camera device also controls
2195 the camera's flash unit,<wbr/> firing it in low-light
2196 conditions.<wbr/></p>
2197 <p>The flash may be fired during a precapture sequence
2198 (triggered by <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>) and
2199 may be fired for captures for which the
2200 <a href="#controls_android.control.captureIntent">android.<wbr/>control.<wbr/>capture<wbr/>Intent</a> field is set to
2201 STILL_<wbr/>CAPTURE</p></span>
2204 <span class="entry_type_enum_name">ON_ALWAYS_FLASH</span>
2205 <span class="entry_type_enum_notes"><p>Like ON,<wbr/> except that the camera device also controls
2206 the camera's flash unit,<wbr/> always firing it for still
2208 <p>The flash may be fired during a precapture sequence
2209 (triggered by <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>) and
2210 will always be fired for captures for which the
2211 <a href="#controls_android.control.captureIntent">android.<wbr/>control.<wbr/>capture<wbr/>Intent</a> field is set to
2212 STILL_<wbr/>CAPTURE</p></span>
2215 <span class="entry_type_enum_name">ON_AUTO_FLASH_REDEYE</span>
2216 <span class="entry_type_enum_notes"><p>Like ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/> but with automatic red eye
2217 reduction.<wbr/></p>
2218 <p>If deemed necessary by the camera device,<wbr/> a red eye
2219 reduction flash will fire during the precapture
2220 sequence.<wbr/></p></span>
2224 </td> <!-- entry_type -->
2226 <td class="entry_description">
2227 <p>The desired mode for the camera device's
2228 auto-exposure routine.<wbr/></p>
2231 <td class="entry_units">
2234 <td class="entry_range">
2235 <p><a href="#static_android.control.aeAvailableModes">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Modes</a></p>
2238 <td class="entry_tags">
2239 <ul class="entry_tags">
2240 <li><a href="#tag_BC">BC</a></li>
2245 <tr class="entries_header">
2246 <th class="th_details" colspan="5">Details</th>
2248 <tr class="entry_cont">
2249 <td class="entry_details" colspan="5">
2250 <p>This control is only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is
2252 <p>When set to any of the ON modes,<wbr/> the camera device's
2253 auto-exposure routine is enabled,<wbr/> overriding the
2254 application's selected exposure time,<wbr/> sensor sensitivity,<wbr/>
2255 and frame duration (<a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/>
2256 <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and
2257 <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a>).<wbr/> If one of the FLASH modes
2258 is selected,<wbr/> the camera device's flash unit controls are
2259 also overridden.<wbr/></p>
2260 <p>The FLASH modes are only available if the camera device
2261 has a flash unit (<a href="#static_android.flash.info.available">android.<wbr/>flash.<wbr/>info.<wbr/>available</a> is <code>true</code>).<wbr/></p>
2262 <p>If flash TORCH mode is desired,<wbr/> this field must be set to
2263 ON or OFF,<wbr/> and <a href="#controls_android.flash.mode">android.<wbr/>flash.<wbr/>mode</a> set to TORCH.<wbr/></p>
2264 <p>When set to any of the ON modes,<wbr/> the values chosen by the
2265 camera device auto-exposure routine for the overridden
2266 fields for a given capture will be available in its
2267 CaptureResult.<wbr/></p>
2272 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
2273 <!-- end of entry -->
2276 <tr class="entry" id="controls_android.control.aeRegions">
2277 <td class="entry_name
2279 android.<wbr/>control.<wbr/>ae<wbr/>Regions
2281 <td class="entry_type">
2282 <span class="entry_type_name">int32</span>
2283 <span class="entry_type_container">x</span>
2285 <span class="entry_type_array">
2288 <span class="entry_type_visibility"> [public as meteringRectangle]</span>
2295 </td> <!-- entry_type -->
2297 <td class="entry_description">
2298 <p>List of metering areas to use for auto-exposure adjustment.<wbr/></p>
2301 <td class="entry_units">
2302 Pixel coordinates within android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size
2305 <td class="entry_range">
2306 <p>Coordinates must be between <code>[(0,<wbr/>0),<wbr/> (width,<wbr/> height))</code> of
2307 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a></p>
2310 <td class="entry_tags">
2311 <ul class="entry_tags">
2312 <li><a href="#tag_BC">BC</a></li>
2317 <tr class="entries_header">
2318 <th class="th_details" colspan="5">Details</th>
2320 <tr class="entry_cont">
2321 <td class="entry_details" colspan="5">
2322 <p>Not available if <a href="#static_android.control.maxRegionsAe">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Ae</a> is 0.<wbr/>
2323 Otherwise will always be present.<wbr/></p>
2324 <p>The maximum number of regions supported by the device is determined by the value
2325 of <a href="#static_android.control.maxRegionsAe">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Ae</a>.<wbr/></p>
2326 <p>The coordinate system is based on the active pixel array,<wbr/>
2327 with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and
2328 (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/>
2329 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the
2330 bottom-right pixel in the active pixel array.<wbr/></p>
2331 <p>The weight must be within <code>[0,<wbr/> 1000]</code>,<wbr/> and represents a weight
2332 for every pixel in the area.<wbr/> This means that a large metering area
2333 with the same weight as a smaller area will have more effect in
2334 the metering result.<wbr/> Metering areas can partially overlap and the
2335 camera device will add the weights in the overlap region.<wbr/></p>
2336 <p>The weights are relative to weights of other exposure metering regions,<wbr/> so if only one
2337 region is used,<wbr/> all non-zero weights will have the same effect.<wbr/> A region with 0
2338 weight is ignored.<wbr/></p>
2339 <p>If all regions have 0 weight,<wbr/> then no specific metering area needs to be used by the
2340 camera device.<wbr/></p>
2341 <p>If the metering region is outside the used <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a> returned in
2342 capture result metadata,<wbr/> the camera device will ignore the sections outside the crop
2343 region and output only the intersection rectangle as the metering region in the result
2344 metadata.<wbr/> If the region is entirely outside the crop region,<wbr/> it will be ignored and
2345 not reported in the result metadata.<wbr/></p>
2349 <tr class="entries_header">
2350 <th class="th_details" colspan="5">HAL Implementation Details</th>
2352 <tr class="entry_cont">
2353 <td class="entry_details" colspan="5">
2354 <p>The HAL level representation of MeteringRectangle[] is a
2355 int[5 * area_<wbr/>count].<wbr/>
2356 Every five elements represent a metering region of
2357 (xmin,<wbr/> ymin,<wbr/> xmax,<wbr/> ymax,<wbr/> weight).<wbr/>
2358 The rectangle is defined to be inclusive on xmin and ymin,<wbr/> but
2359 exclusive on xmax and ymax.<wbr/></p>
2363 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
2364 <!-- end of entry -->
2367 <tr class="entry" id="controls_android.control.aeTargetFpsRange">
2368 <td class="entry_name
2370 android.<wbr/>control.<wbr/>ae<wbr/>Target<wbr/>Fps<wbr/>Range
2372 <td class="entry_type">
2373 <span class="entry_type_name">int32</span>
2374 <span class="entry_type_container">x</span>
2376 <span class="entry_type_array">
2379 <span class="entry_type_visibility"> [public as rangeInt]</span>
2382 <span class="entry_type_hwlevel">[legacy] </span>
2387 </td> <!-- entry_type -->
2389 <td class="entry_description">
2390 <p>Range over which the auto-exposure routine can
2391 adjust the capture frame rate to maintain good
2395 <td class="entry_units">
2396 Frames per second (FPS)
2399 <td class="entry_range">
2400 <p>Any of the entries in <a href="#static_android.control.aeAvailableTargetFpsRanges">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Target<wbr/>Fps<wbr/>Ranges</a></p>
2403 <td class="entry_tags">
2404 <ul class="entry_tags">
2405 <li><a href="#tag_BC">BC</a></li>
2410 <tr class="entries_header">
2411 <th class="th_details" colspan="5">Details</th>
2413 <tr class="entry_cont">
2414 <td class="entry_details" colspan="5">
2415 <p>Only constrains auto-exposure (AE) algorithm,<wbr/> not
2416 manual control of <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a> and
2417 <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a>.<wbr/></p>
2422 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
2423 <!-- end of entry -->
2426 <tr class="entry" id="controls_android.control.aePrecaptureTrigger">
2427 <td class="entry_name
2429 android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger
2431 <td class="entry_type">
2432 <span class="entry_type_name entry_type_name_enum">byte</span>
2434 <span class="entry_type_visibility"> [public]</span>
2437 <span class="entry_type_hwlevel">[limited] </span>
2441 <ul class="entry_type_enum">
2443 <span class="entry_type_enum_name">IDLE</span>
2444 <span class="entry_type_enum_notes"><p>The trigger is idle.<wbr/></p></span>
2447 <span class="entry_type_enum_name">START</span>
2448 <span class="entry_type_enum_notes"><p>The precapture metering sequence will be started
2449 by the camera device.<wbr/></p>
2450 <p>The exact effect of the precapture trigger depends on
2451 the current AE mode and state.<wbr/></p></span>
2455 </td> <!-- entry_type -->
2457 <td class="entry_description">
2458 <p>Whether the camera device will trigger a precapture
2459 metering sequence when it processes this request.<wbr/></p>
2462 <td class="entry_units">
2465 <td class="entry_range">
2468 <td class="entry_tags">
2469 <ul class="entry_tags">
2470 <li><a href="#tag_BC">BC</a></li>
2475 <tr class="entries_header">
2476 <th class="th_details" colspan="5">Details</th>
2478 <tr class="entry_cont">
2479 <td class="entry_details" colspan="5">
2480 <p>This entry is normally set to IDLE,<wbr/> or is not
2481 included at all in the request settings.<wbr/> When included and
2482 set to START,<wbr/> the camera device will trigger the autoexposure
2483 precapture metering sequence.<wbr/></p>
2484 <p>The precapture sequence should triggered before starting a
2485 high-quality still capture for final metering decisions to
2486 be made,<wbr/> and for firing pre-capture flash pulses to estimate
2487 scene brightness and required final capture flash power,<wbr/> when
2488 the flash is enabled.<wbr/></p>
2489 <p>Normally,<wbr/> this entry should be set to START for only a
2490 single request,<wbr/> and the application should wait until the
2491 sequence completes before starting a new one.<wbr/></p>
2492 <p>The exact effect of auto-exposure (AE) precapture trigger
2493 depends on the current AE mode and state; see
2494 <a href="#dynamic_android.control.aeState">android.<wbr/>control.<wbr/>ae<wbr/>State</a> for AE precapture state transition
2496 <p>On LEGACY-level devices,<wbr/> the precapture trigger is not supported;
2497 capturing a high-resolution JPEG image will automatically trigger a
2498 precapture sequence before the high-resolution capture,<wbr/> including
2499 potentially firing a pre-capture flash.<wbr/></p>
2504 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
2505 <!-- end of entry -->
2508 <tr class="entry" id="controls_android.control.afMode">
2509 <td class="entry_name
2511 android.<wbr/>control.<wbr/>af<wbr/>Mode
2513 <td class="entry_type">
2514 <span class="entry_type_name entry_type_name_enum">byte</span>
2516 <span class="entry_type_visibility"> [public]</span>
2519 <span class="entry_type_hwlevel">[legacy] </span>
2523 <ul class="entry_type_enum">
2525 <span class="entry_type_enum_name">OFF</span>
2526 <span class="entry_type_enum_notes"><p>The auto-focus routine does not control the lens;
2527 <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> is controlled by the
2528 application.<wbr/></p></span>
2531 <span class="entry_type_enum_name">AUTO</span>
2532 <span class="entry_type_enum_notes"><p>Basic automatic focus mode.<wbr/></p>
2533 <p>In this mode,<wbr/> the lens does not move unless
2534 the autofocus trigger action is called.<wbr/> When that trigger
2535 is activated,<wbr/> AF will transition to ACTIVE_<wbr/>SCAN,<wbr/> then to
2536 the outcome of the scan (FOCUSED or NOT_<wbr/>FOCUSED).<wbr/></p>
2537 <p>Always supported if lens is not fixed focus.<wbr/></p>
2538 <p>Use <a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a> to determine if lens
2539 is fixed-focus.<wbr/></p>
2540 <p>Triggering AF_<wbr/>CANCEL resets the lens position to default,<wbr/>
2541 and sets the AF state to INACTIVE.<wbr/></p></span>
2544 <span class="entry_type_enum_name">MACRO</span>
2545 <span class="entry_type_enum_notes"><p>Close-up focusing mode.<wbr/></p>
2546 <p>In this mode,<wbr/> the lens does not move unless the
2547 autofocus trigger action is called.<wbr/> When that trigger is
2548 activated,<wbr/> AF will transition to ACTIVE_<wbr/>SCAN,<wbr/> then to
2549 the outcome of the scan (FOCUSED or NOT_<wbr/>FOCUSED).<wbr/> This
2550 mode is optimized for focusing on objects very close to
2551 the camera.<wbr/></p>
2552 <p>When that trigger is activated,<wbr/> AF will transition to
2553 ACTIVE_<wbr/>SCAN,<wbr/> then to the outcome of the scan (FOCUSED or
2554 NOT_<wbr/>FOCUSED).<wbr/> Triggering cancel AF resets the lens
2555 position to default,<wbr/> and sets the AF state to
2556 INACTIVE.<wbr/></p></span>
2559 <span class="entry_type_enum_name">CONTINUOUS_VIDEO</span>
2560 <span class="entry_type_enum_notes"><p>In this mode,<wbr/> the AF algorithm modifies the lens
2561 position continually to attempt to provide a
2562 constantly-in-focus image stream.<wbr/></p>
2563 <p>The focusing behavior should be suitable for good quality
2564 video recording; typically this means slower focus
2565 movement and no overshoots.<wbr/> When the AF trigger is not
2566 involved,<wbr/> the AF algorithm should start in INACTIVE state,<wbr/>
2567 and then transition into PASSIVE_<wbr/>SCAN and PASSIVE_<wbr/>FOCUSED
2568 states as appropriate.<wbr/> When the AF trigger is activated,<wbr/>
2569 the algorithm should immediately transition into
2570 AF_<wbr/>FOCUSED or AF_<wbr/>NOT_<wbr/>FOCUSED as appropriate,<wbr/> and lock the
2571 lens position until a cancel AF trigger is received.<wbr/></p>
2572 <p>Once cancel is received,<wbr/> the algorithm should transition
2573 back to INACTIVE and resume passive scan.<wbr/> Note that this
2574 behavior is not identical to CONTINUOUS_<wbr/>PICTURE,<wbr/> since an
2575 ongoing PASSIVE_<wbr/>SCAN must immediately be
2576 canceled.<wbr/></p></span>
2579 <span class="entry_type_enum_name">CONTINUOUS_PICTURE</span>
2580 <span class="entry_type_enum_notes"><p>In this mode,<wbr/> the AF algorithm modifies the lens
2581 position continually to attempt to provide a
2582 constantly-in-focus image stream.<wbr/></p>
2583 <p>The focusing behavior should be suitable for still image
2584 capture; typically this means focusing as fast as
2585 possible.<wbr/> When the AF trigger is not involved,<wbr/> the AF
2586 algorithm should start in INACTIVE state,<wbr/> and then
2587 transition into PASSIVE_<wbr/>SCAN and PASSIVE_<wbr/>FOCUSED states as
2588 appropriate as it attempts to maintain focus.<wbr/> When the AF
2589 trigger is activated,<wbr/> the algorithm should finish its
2590 PASSIVE_<wbr/>SCAN if active,<wbr/> and then transition into
2591 AF_<wbr/>FOCUSED or AF_<wbr/>NOT_<wbr/>FOCUSED as appropriate,<wbr/> and lock the
2592 lens position until a cancel AF trigger is received.<wbr/></p>
2593 <p>When the AF cancel trigger is activated,<wbr/> the algorithm
2594 should transition back to INACTIVE and then act as if it
2595 has just been started.<wbr/></p></span>
2598 <span class="entry_type_enum_name">EDOF</span>
2599 <span class="entry_type_enum_notes"><p>Extended depth of field (digital focus) mode.<wbr/></p>
2600 <p>The camera device will produce images with an extended
2601 depth of field automatically; no special focusing
2602 operations need to be done before taking a picture.<wbr/></p>
2603 <p>AF triggers are ignored,<wbr/> and the AF state will always be
2604 INACTIVE.<wbr/></p></span>
2608 </td> <!-- entry_type -->
2610 <td class="entry_description">
2611 <p>Whether auto-focus (AF) is currently enabled,<wbr/> and what
2612 mode it is set to.<wbr/></p>
2615 <td class="entry_units">
2618 <td class="entry_range">
2619 <p><a href="#static_android.control.afAvailableModes">android.<wbr/>control.<wbr/>af<wbr/>Available<wbr/>Modes</a></p>
2622 <td class="entry_tags">
2623 <ul class="entry_tags">
2624 <li><a href="#tag_BC">BC</a></li>
2629 <tr class="entries_header">
2630 <th class="th_details" colspan="5">Details</th>
2632 <tr class="entry_cont">
2633 <td class="entry_details" colspan="5">
2634 <p>Only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> = AUTO and the lens is not fixed focus
2635 (i.<wbr/>e.<wbr/> <code><a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a> > 0</code>).<wbr/></p>
2636 <p>If the lens is controlled by the camera device auto-focus algorithm,<wbr/>
2637 the camera device will report the current AF status in <a href="#dynamic_android.control.afState">android.<wbr/>control.<wbr/>af<wbr/>State</a>
2638 in result metadata.<wbr/></p>
2642 <tr class="entries_header">
2643 <th class="th_details" colspan="5">HAL Implementation Details</th>
2645 <tr class="entry_cont">
2646 <td class="entry_details" colspan="5">
2647 <p>When afMode is AUTO or MACRO,<wbr/> the lens must not move until an AF trigger is sent in a
2648 request (<a href="#controls_android.control.afTrigger">android.<wbr/>control.<wbr/>af<wbr/>Trigger</a> <code>==</code> START).<wbr/> After an AF trigger,<wbr/> the afState will end
2649 up with either FOCUSED_<wbr/>LOCKED or NOT_<wbr/>FOCUSED_<wbr/>LOCKED state (see
2650 <a href="#dynamic_android.control.afState">android.<wbr/>control.<wbr/>af<wbr/>State</a> for detailed state transitions),<wbr/> which indicates that the lens is
2651 locked and will not move.<wbr/> If camera movement (e.<wbr/>g.<wbr/> tilting camera) causes the lens to move
2652 after the lens is locked,<wbr/> the HAL must compensate this movement appropriately such that
2653 the same focal plane remains in focus.<wbr/></p>
2654 <p>When afMode is one of the continuous auto focus modes,<wbr/> the HAL is free to start a AF
2655 scan whenever it's not locked.<wbr/> When the lens is locked after an AF trigger
2656 (see <a href="#dynamic_android.control.afState">android.<wbr/>control.<wbr/>af<wbr/>State</a> for detailed state transitions),<wbr/> the HAL should maintain the
2657 same lock behavior as above.<wbr/></p>
2658 <p>When afMode is OFF,<wbr/> the application controls focus manually.<wbr/> The accuracy of the
2659 focus distance control depends on the <a href="#static_android.lens.info.focusDistanceCalibration">android.<wbr/>lens.<wbr/>info.<wbr/>focus<wbr/>Distance<wbr/>Calibration</a>.<wbr/>
2660 However,<wbr/> the lens must not move regardless of the camera movement for any focus distance
2661 manual control.<wbr/></p>
2662 <p>To put this in concrete terms,<wbr/> if the camera has lens elements which may move based on
2663 camera orientation or motion (e.<wbr/>g.<wbr/> due to gravity),<wbr/> then the HAL must drive the lens to
2664 remain in a fixed position invariant to the camera's orientation or motion,<wbr/> for example,<wbr/>
2665 by using accelerometer measurements in the lens control logic.<wbr/> This is a typical issue
2666 that will arise on camera modules with open-loop VCMs.<wbr/></p>
2670 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
2671 <!-- end of entry -->
2674 <tr class="entry" id="controls_android.control.afRegions">
2675 <td class="entry_name
2677 android.<wbr/>control.<wbr/>af<wbr/>Regions
2679 <td class="entry_type">
2680 <span class="entry_type_name">int32</span>
2681 <span class="entry_type_container">x</span>
2683 <span class="entry_type_array">
2686 <span class="entry_type_visibility"> [public as meteringRectangle]</span>
2693 </td> <!-- entry_type -->
2695 <td class="entry_description">
2696 <p>List of metering areas to use for auto-focus.<wbr/></p>
2699 <td class="entry_units">
2700 Pixel coordinates within android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size
2703 <td class="entry_range">
2704 <p>Coordinates must be between <code>[(0,<wbr/>0),<wbr/> (width,<wbr/> height))</code> of
2705 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a></p>
2708 <td class="entry_tags">
2709 <ul class="entry_tags">
2710 <li><a href="#tag_BC">BC</a></li>
2715 <tr class="entries_header">
2716 <th class="th_details" colspan="5">Details</th>
2718 <tr class="entry_cont">
2719 <td class="entry_details" colspan="5">
2720 <p>Not available if <a href="#static_android.control.maxRegionsAf">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Af</a> is 0.<wbr/>
2721 Otherwise will always be present.<wbr/></p>
2722 <p>The maximum number of focus areas supported by the device is determined by the value
2723 of <a href="#static_android.control.maxRegionsAf">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Af</a>.<wbr/></p>
2724 <p>The coordinate system is based on the active pixel array,<wbr/>
2725 with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and
2726 (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/>
2727 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the
2728 bottom-right pixel in the active pixel array.<wbr/></p>
2729 <p>The weight must be within <code>[0,<wbr/> 1000]</code>,<wbr/> and represents a weight
2730 for every pixel in the area.<wbr/> This means that a large metering area
2731 with the same weight as a smaller area will have more effect in
2732 the metering result.<wbr/> Metering areas can partially overlap and the
2733 camera device will add the weights in the overlap region.<wbr/></p>
2734 <p>The weights are relative to weights of other metering regions,<wbr/> so if only one region
2735 is used,<wbr/> all non-zero weights will have the same effect.<wbr/> A region with 0 weight is
2737 <p>If all regions have 0 weight,<wbr/> then no specific metering area needs to be used by the
2738 camera device.<wbr/></p>
2739 <p>If the metering region is outside the used <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a> returned in
2740 capture result metadata,<wbr/> the camera device will ignore the sections outside the crop
2741 region and output only the intersection rectangle as the metering region in the result
2742 metadata.<wbr/> If the region is entirely outside the crop region,<wbr/> it will be ignored and
2743 not reported in the result metadata.<wbr/></p>
2747 <tr class="entries_header">
2748 <th class="th_details" colspan="5">HAL Implementation Details</th>
2750 <tr class="entry_cont">
2751 <td class="entry_details" colspan="5">
2752 <p>The HAL level representation of MeteringRectangle[] is a
2753 int[5 * area_<wbr/>count].<wbr/>
2754 Every five elements represent a metering region of
2755 (xmin,<wbr/> ymin,<wbr/> xmax,<wbr/> ymax,<wbr/> weight).<wbr/>
2756 The rectangle is defined to be inclusive on xmin and ymin,<wbr/> but
2757 exclusive on xmax and ymax.<wbr/></p>
2761 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
2762 <!-- end of entry -->
2765 <tr class="entry" id="controls_android.control.afTrigger">
2766 <td class="entry_name
2768 android.<wbr/>control.<wbr/>af<wbr/>Trigger
2770 <td class="entry_type">
2771 <span class="entry_type_name entry_type_name_enum">byte</span>
2773 <span class="entry_type_visibility"> [public]</span>
2776 <span class="entry_type_hwlevel">[legacy] </span>
2780 <ul class="entry_type_enum">
2782 <span class="entry_type_enum_name">IDLE</span>
2783 <span class="entry_type_enum_notes"><p>The trigger is idle.<wbr/></p></span>
2786 <span class="entry_type_enum_name">START</span>
2787 <span class="entry_type_enum_notes"><p>Autofocus will trigger now.<wbr/></p></span>
2790 <span class="entry_type_enum_name">CANCEL</span>
2791 <span class="entry_type_enum_notes"><p>Autofocus will return to its initial
2792 state,<wbr/> and cancel any currently active trigger.<wbr/></p></span>
2796 </td> <!-- entry_type -->
2798 <td class="entry_description">
2799 <p>Whether the camera device will trigger autofocus for this request.<wbr/></p>
2802 <td class="entry_units">
2805 <td class="entry_range">
2808 <td class="entry_tags">
2809 <ul class="entry_tags">
2810 <li><a href="#tag_BC">BC</a></li>
2815 <tr class="entries_header">
2816 <th class="th_details" colspan="5">Details</th>
2818 <tr class="entry_cont">
2819 <td class="entry_details" colspan="5">
2820 <p>This entry is normally set to IDLE,<wbr/> or is not
2821 included at all in the request settings.<wbr/></p>
2822 <p>When included and set to START,<wbr/> the camera device will trigger the
2823 autofocus algorithm.<wbr/> If autofocus is disabled,<wbr/> this trigger has no effect.<wbr/></p>
2824 <p>When set to CANCEL,<wbr/> the camera device will cancel any active trigger,<wbr/>
2825 and return to its initial AF state.<wbr/></p>
2826 <p>Generally,<wbr/> applications should set this entry to START or CANCEL for only a
2827 single capture,<wbr/> and then return it to IDLE (or not set at all).<wbr/> Specifying
2828 START for multiple captures in a row means restarting the AF operation over
2829 and over again.<wbr/></p>
2830 <p>See <a href="#dynamic_android.control.afState">android.<wbr/>control.<wbr/>af<wbr/>State</a> for what the trigger means for each AF mode.<wbr/></p>
2835 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
2836 <!-- end of entry -->
2839 <tr class="entry" id="controls_android.control.awbLock">
2840 <td class="entry_name
2842 android.<wbr/>control.<wbr/>awb<wbr/>Lock
2844 <td class="entry_type">
2845 <span class="entry_type_name entry_type_name_enum">byte</span>
2847 <span class="entry_type_visibility"> [public as boolean]</span>
2850 <span class="entry_type_hwlevel">[legacy] </span>
2854 <ul class="entry_type_enum">
2856 <span class="entry_type_enum_name">OFF</span>
2857 <span class="entry_type_enum_notes"><p>Auto-white balance lock is disabled; the AWB
2858 algorithm is free to update its parameters if in AUTO
2859 mode.<wbr/></p></span>
2862 <span class="entry_type_enum_name">ON</span>
2863 <span class="entry_type_enum_notes"><p>Auto-white balance lock is enabled; the AWB
2864 algorithm will not update its parameters while the lock
2865 is active.<wbr/></p></span>
2869 </td> <!-- entry_type -->
2871 <td class="entry_description">
2872 <p>Whether auto-white balance (AWB) is currently locked to its
2873 latest calculated values.<wbr/></p>
2876 <td class="entry_units">
2879 <td class="entry_range">
2882 <td class="entry_tags">
2883 <ul class="entry_tags">
2884 <li><a href="#tag_BC">BC</a></li>
2889 <tr class="entries_header">
2890 <th class="th_details" colspan="5">Details</th>
2892 <tr class="entry_cont">
2893 <td class="entry_details" colspan="5">
2894 <p>When set to <code>true</code> (ON),<wbr/> the AWB algorithm is locked to its latest parameters,<wbr/>
2895 and will not change color balance settings until the lock is set to <code>false</code> (OFF).<wbr/></p>
2896 <p>Since the camera device has a pipeline of in-flight requests,<wbr/> the settings that
2897 get locked do not necessarily correspond to the settings that were present in the
2898 latest capture result received from the camera device,<wbr/> since additional captures
2899 and AWB updates may have occurred even before the result was sent out.<wbr/> If an
2900 application is switching between automatic and manual control and wishes to eliminate
2901 any flicker during the switch,<wbr/> the following procedure is recommended:</p>
2903 <li>Starting in auto-AWB mode:</li>
2905 <li>Wait for the first result to be output that has the AWB locked</li>
2906 <li>Copy AWB settings from that result into a request,<wbr/> set the request to manual AWB</li>
2907 <li>Submit the capture request,<wbr/> proceed to run manual AWB as desired.<wbr/></li>
2909 <p>Note that AWB lock is only meaningful when
2910 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> is in the AUTO mode; in other modes,<wbr/>
2911 AWB is already fixed to a specific setting.<wbr/></p>
2912 <p>Some LEGACY devices may not support ON; the value is then overridden to OFF.<wbr/></p>
2917 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
2918 <!-- end of entry -->
2921 <tr class="entry" id="controls_android.control.awbMode">
2922 <td class="entry_name
2924 android.<wbr/>control.<wbr/>awb<wbr/>Mode
2926 <td class="entry_type">
2927 <span class="entry_type_name entry_type_name_enum">byte</span>
2929 <span class="entry_type_visibility"> [public]</span>
2932 <span class="entry_type_hwlevel">[legacy] </span>
2936 <ul class="entry_type_enum">
2938 <span class="entry_type_enum_name">OFF</span>
2939 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled.<wbr/></p>
2940 <p>The application-selected color transform matrix
2941 (<a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>) and gains
2942 (<a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a>) are used by the camera
2943 device for manual white balance control.<wbr/></p></span>
2946 <span class="entry_type_enum_name">AUTO</span>
2947 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is active.<wbr/></p>
2948 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
2949 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
2950 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
2951 values used by the camera device for the transform and gains
2952 will be available in the capture result for this request.<wbr/></p></span>
2955 <span class="entry_type_enum_name">INCANDESCENT</span>
2956 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
2957 the camera device uses incandescent light as the assumed scene
2958 illumination for white balance.<wbr/></p>
2959 <p>While the exact white balance transforms are up to the
2960 camera device,<wbr/> they will approximately match the CIE
2961 standard illuminant A.<wbr/></p>
2962 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
2963 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
2964 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
2965 values used by the camera device for the transform and gains
2966 will be available in the capture result for this request.<wbr/></p></span>
2969 <span class="entry_type_enum_name">FLUORESCENT</span>
2970 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
2971 the camera device uses fluorescent light as the assumed scene
2972 illumination for white balance.<wbr/></p>
2973 <p>While the exact white balance transforms are up to the
2974 camera device,<wbr/> they will approximately match the CIE
2975 standard illuminant F2.<wbr/></p>
2976 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
2977 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
2978 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
2979 values used by the camera device for the transform and gains
2980 will be available in the capture result for this request.<wbr/></p></span>
2983 <span class="entry_type_enum_name">WARM_FLUORESCENT</span>
2984 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
2985 the camera device uses warm fluorescent light as the assumed scene
2986 illumination for white balance.<wbr/></p>
2987 <p>While the exact white balance transforms are up to the
2988 camera device,<wbr/> they will approximately match the CIE
2989 standard illuminant F4.<wbr/></p>
2990 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
2991 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
2992 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
2993 values used by the camera device for the transform and gains
2994 will be available in the capture result for this request.<wbr/></p></span>
2997 <span class="entry_type_enum_name">DAYLIGHT</span>
2998 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
2999 the camera device uses daylight light as the assumed scene
3000 illumination for white balance.<wbr/></p>
3001 <p>While the exact white balance transforms are up to the
3002 camera device,<wbr/> they will approximately match the CIE
3003 standard illuminant D65.<wbr/></p>
3004 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
3005 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
3006 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
3007 values used by the camera device for the transform and gains
3008 will be available in the capture result for this request.<wbr/></p></span>
3011 <span class="entry_type_enum_name">CLOUDY_DAYLIGHT</span>
3012 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
3013 the camera device uses cloudy daylight light as the assumed scene
3014 illumination for white balance.<wbr/></p>
3015 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
3016 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
3017 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
3018 values used by the camera device for the transform and gains
3019 will be available in the capture result for this request.<wbr/></p></span>
3022 <span class="entry_type_enum_name">TWILIGHT</span>
3023 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
3024 the camera device uses twilight light as the assumed scene
3025 illumination for white balance.<wbr/></p>
3026 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
3027 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
3028 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
3029 values used by the camera device for the transform and gains
3030 will be available in the capture result for this request.<wbr/></p></span>
3033 <span class="entry_type_enum_name">SHADE</span>
3034 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
3035 the camera device uses shade light as the assumed scene
3036 illumination for white balance.<wbr/></p>
3037 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
3038 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
3039 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
3040 values used by the camera device for the transform and gains
3041 will be available in the capture result for this request.<wbr/></p></span>
3045 </td> <!-- entry_type -->
3047 <td class="entry_description">
3048 <p>Whether auto-white balance (AWB) is currently setting the color
3049 transform fields,<wbr/> and what its illumination target
3053 <td class="entry_units">
3056 <td class="entry_range">
3057 <p><a href="#static_android.control.awbAvailableModes">android.<wbr/>control.<wbr/>awb<wbr/>Available<wbr/>Modes</a></p>
3060 <td class="entry_tags">
3061 <ul class="entry_tags">
3062 <li><a href="#tag_BC">BC</a></li>
3067 <tr class="entries_header">
3068 <th class="th_details" colspan="5">Details</th>
3070 <tr class="entry_cont">
3071 <td class="entry_details" colspan="5">
3072 <p>This control is only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is AUTO.<wbr/></p>
3073 <p>When set to the ON mode,<wbr/> the camera device's auto-white balance
3074 routine is enabled,<wbr/> overriding the application's selected
3075 <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>,<wbr/> <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> and
3076 <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a>.<wbr/></p>
3077 <p>When set to the OFF mode,<wbr/> the camera device's auto-white balance
3078 routine is disabled.<wbr/> The application manually controls the white
3079 balance by <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>,<wbr/> <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a>
3080 and <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a>.<wbr/></p>
3081 <p>When set to any other modes,<wbr/> the camera device's auto-white
3082 balance routine is disabled.<wbr/> The camera device uses each
3083 particular illumination target for white balance
3084 adjustment.<wbr/> The application's values for
3085 <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>,<wbr/>
3086 <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> and
3087 <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> are ignored.<wbr/></p>
3092 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
3093 <!-- end of entry -->
3096 <tr class="entry" id="controls_android.control.awbRegions">
3097 <td class="entry_name
3099 android.<wbr/>control.<wbr/>awb<wbr/>Regions
3101 <td class="entry_type">
3102 <span class="entry_type_name">int32</span>
3103 <span class="entry_type_container">x</span>
3105 <span class="entry_type_array">
3108 <span class="entry_type_visibility"> [public as meteringRectangle]</span>
3115 </td> <!-- entry_type -->
3117 <td class="entry_description">
3118 <p>List of metering areas to use for auto-white-balance illuminant
3119 estimation.<wbr/></p>
3122 <td class="entry_units">
3123 Pixel coordinates within android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size
3126 <td class="entry_range">
3127 <p>Coordinates must be between <code>[(0,<wbr/>0),<wbr/> (width,<wbr/> height))</code> of
3128 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a></p>
3131 <td class="entry_tags">
3132 <ul class="entry_tags">
3133 <li><a href="#tag_BC">BC</a></li>
3138 <tr class="entries_header">
3139 <th class="th_details" colspan="5">Details</th>
3141 <tr class="entry_cont">
3142 <td class="entry_details" colspan="5">
3143 <p>Not available if <a href="#static_android.control.maxRegionsAwb">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Awb</a> is 0.<wbr/>
3144 Otherwise will always be present.<wbr/></p>
3145 <p>The maximum number of regions supported by the device is determined by the value
3146 of <a href="#static_android.control.maxRegionsAwb">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Awb</a>.<wbr/></p>
3147 <p>The coordinate system is based on the active pixel array,<wbr/>
3148 with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and
3149 (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/>
3150 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the
3151 bottom-right pixel in the active pixel array.<wbr/></p>
3152 <p>The weight must range from 0 to 1000,<wbr/> and represents a weight
3153 for every pixel in the area.<wbr/> This means that a large metering area
3154 with the same weight as a smaller area will have more effect in
3155 the metering result.<wbr/> Metering areas can partially overlap and the
3156 camera device will add the weights in the overlap region.<wbr/></p>
3157 <p>The weights are relative to weights of other white balance metering regions,<wbr/> so if
3158 only one region is used,<wbr/> all non-zero weights will have the same effect.<wbr/> A region with
3159 0 weight is ignored.<wbr/></p>
3160 <p>If all regions have 0 weight,<wbr/> then no specific metering area needs to be used by the
3161 camera device.<wbr/></p>
3162 <p>If the metering region is outside the used <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a> returned in
3163 capture result metadata,<wbr/> the camera device will ignore the sections outside the crop
3164 region and output only the intersection rectangle as the metering region in the result
3165 metadata.<wbr/> If the region is entirely outside the crop region,<wbr/> it will be ignored and
3166 not reported in the result metadata.<wbr/></p>
3170 <tr class="entries_header">
3171 <th class="th_details" colspan="5">HAL Implementation Details</th>
3173 <tr class="entry_cont">
3174 <td class="entry_details" colspan="5">
3175 <p>The HAL level representation of MeteringRectangle[] is a
3176 int[5 * area_<wbr/>count].<wbr/>
3177 Every five elements represent a metering region of
3178 (xmin,<wbr/> ymin,<wbr/> xmax,<wbr/> ymax,<wbr/> weight).<wbr/>
3179 The rectangle is defined to be inclusive on xmin and ymin,<wbr/> but
3180 exclusive on xmax and ymax.<wbr/></p>
3184 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
3185 <!-- end of entry -->
3188 <tr class="entry" id="controls_android.control.captureIntent">
3189 <td class="entry_name
3191 android.<wbr/>control.<wbr/>capture<wbr/>Intent
3193 <td class="entry_type">
3194 <span class="entry_type_name entry_type_name_enum">byte</span>
3196 <span class="entry_type_visibility"> [public]</span>
3199 <span class="entry_type_hwlevel">[legacy] </span>
3203 <ul class="entry_type_enum">
3205 <span class="entry_type_enum_name">CUSTOM</span>
3206 <span class="entry_type_enum_notes"><p>The goal of this request doesn't fall into the other
3207 categories.<wbr/> The camera device will default to preview-like
3208 behavior.<wbr/></p></span>
3211 <span class="entry_type_enum_name">PREVIEW</span>
3212 <span class="entry_type_enum_notes"><p>This request is for a preview-like use case.<wbr/></p>
3213 <p>The precapture trigger may be used to start off a metering
3214 w/<wbr/>flash sequence.<wbr/></p></span>
3217 <span class="entry_type_enum_name">STILL_CAPTURE</span>
3218 <span class="entry_type_enum_notes"><p>This request is for a still capture-type
3220 <p>If the flash unit is under automatic control,<wbr/> it may fire as needed.<wbr/></p></span>
3223 <span class="entry_type_enum_name">VIDEO_RECORD</span>
3224 <span class="entry_type_enum_notes"><p>This request is for a video recording
3225 use case.<wbr/></p></span>
3228 <span class="entry_type_enum_name">VIDEO_SNAPSHOT</span>
3229 <span class="entry_type_enum_notes"><p>This request is for a video snapshot (still
3230 image while recording video) use case.<wbr/></p>
3231 <p>The camera device should take the highest-quality image
3232 possible (given the other settings) without disrupting the
3233 frame rate of video recording.<wbr/> </p></span>
3236 <span class="entry_type_enum_name">ZERO_SHUTTER_LAG</span>
3237 <span class="entry_type_enum_notes"><p>This request is for a ZSL usecase; the
3238 application will stream full-resolution images and
3239 reprocess one or several later for a final
3240 capture.<wbr/></p></span>
3243 <span class="entry_type_enum_name">MANUAL</span>
3244 <span class="entry_type_enum_notes"><p>This request is for manual capture use case where
3245 the applications want to directly control the capture parameters.<wbr/></p>
3246 <p>For example,<wbr/> the application may wish to manually control
3247 <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/> <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> etc.<wbr/></p></span>
3251 </td> <!-- entry_type -->
3253 <td class="entry_description">
3254 <p>Information to the camera device 3A (auto-exposure,<wbr/>
3255 auto-focus,<wbr/> auto-white balance) routines about the purpose
3256 of this capture,<wbr/> to help the camera device to decide optimal 3A
3260 <td class="entry_units">
3263 <td class="entry_range">
3266 <td class="entry_tags">
3267 <ul class="entry_tags">
3268 <li><a href="#tag_BC">BC</a></li>
3273 <tr class="entries_header">
3274 <th class="th_details" colspan="5">Details</th>
3276 <tr class="entry_cont">
3277 <td class="entry_details" colspan="5">
3278 <p>This control (except for MANUAL) is only effective if
3279 <code><a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> != OFF</code> and any 3A routine is active.<wbr/></p>
3280 <p>ZERO_<wbr/>SHUTTER_<wbr/>LAG will be supported if <a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a>
3281 contains ZSL.<wbr/> MANUAL will be supported if <a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a>
3282 contains MANUAL_<wbr/>SENSOR.<wbr/> Other intent values are always supported.<wbr/></p>
3287 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
3288 <!-- end of entry -->
3291 <tr class="entry" id="controls_android.control.effectMode">
3292 <td class="entry_name
3294 android.<wbr/>control.<wbr/>effect<wbr/>Mode
3296 <td class="entry_type">
3297 <span class="entry_type_name entry_type_name_enum">byte</span>
3299 <span class="entry_type_visibility"> [public]</span>
3302 <span class="entry_type_hwlevel">[legacy] </span>
3306 <ul class="entry_type_enum">
3308 <span class="entry_type_enum_name">OFF</span>
3309 <span class="entry_type_enum_notes"><p>No color effect will be applied.<wbr/></p></span>
3312 <span class="entry_type_enum_name">MONO</span>
3313 <span class="entry_type_enum_optional">[optional]</span>
3314 <span class="entry_type_enum_notes"><p>A "monocolor" effect where the image is mapped into
3315 a single color.<wbr/></p>
3316 <p>This will typically be grayscale.<wbr/></p></span>
3319 <span class="entry_type_enum_name">NEGATIVE</span>
3320 <span class="entry_type_enum_optional">[optional]</span>
3321 <span class="entry_type_enum_notes"><p>A "photo-negative" effect where the image's colors
3322 are inverted.<wbr/></p></span>
3325 <span class="entry_type_enum_name">SOLARIZE</span>
3326 <span class="entry_type_enum_optional">[optional]</span>
3327 <span class="entry_type_enum_notes"><p>A "solarisation" effect (Sabattier effect) where the
3328 image is wholly or partially reversed in
3329 tone.<wbr/></p></span>
3332 <span class="entry_type_enum_name">SEPIA</span>
3333 <span class="entry_type_enum_optional">[optional]</span>
3334 <span class="entry_type_enum_notes"><p>A "sepia" effect where the image is mapped into warm
3335 gray,<wbr/> red,<wbr/> and brown tones.<wbr/></p></span>
3338 <span class="entry_type_enum_name">POSTERIZE</span>
3339 <span class="entry_type_enum_optional">[optional]</span>
3340 <span class="entry_type_enum_notes"><p>A "posterization" effect where the image uses
3341 discrete regions of tone rather than a continuous
3342 gradient of tones.<wbr/></p></span>
3345 <span class="entry_type_enum_name">WHITEBOARD</span>
3346 <span class="entry_type_enum_optional">[optional]</span>
3347 <span class="entry_type_enum_notes"><p>A "whiteboard" effect where the image is typically displayed
3348 as regions of white,<wbr/> with black or grey details.<wbr/></p></span>
3351 <span class="entry_type_enum_name">BLACKBOARD</span>
3352 <span class="entry_type_enum_optional">[optional]</span>
3353 <span class="entry_type_enum_notes"><p>A "blackboard" effect where the image is typically displayed
3354 as regions of black,<wbr/> with white or grey details.<wbr/></p></span>
3357 <span class="entry_type_enum_name">AQUA</span>
3358 <span class="entry_type_enum_optional">[optional]</span>
3359 <span class="entry_type_enum_notes"><p>An "aqua" effect where a blue hue is added to the image.<wbr/></p></span>
3363 </td> <!-- entry_type -->
3365 <td class="entry_description">
3366 <p>A special color effect to apply.<wbr/></p>
3369 <td class="entry_units">
3372 <td class="entry_range">
3373 <p><a href="#static_android.control.availableEffects">android.<wbr/>control.<wbr/>available<wbr/>Effects</a></p>
3376 <td class="entry_tags">
3377 <ul class="entry_tags">
3378 <li><a href="#tag_BC">BC</a></li>
3383 <tr class="entries_header">
3384 <th class="th_details" colspan="5">Details</th>
3386 <tr class="entry_cont">
3387 <td class="entry_details" colspan="5">
3388 <p>When this mode is set,<wbr/> a color effect will be applied
3389 to images produced by the camera device.<wbr/> The interpretation
3390 and implementation of these color effects is left to the
3391 implementor of the camera device,<wbr/> and should not be
3392 depended on to be consistent (or present) across all
3398 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
3399 <!-- end of entry -->
3402 <tr class="entry" id="controls_android.control.mode">
3403 <td class="entry_name
3405 android.<wbr/>control.<wbr/>mode
3407 <td class="entry_type">
3408 <span class="entry_type_name entry_type_name_enum">byte</span>
3410 <span class="entry_type_visibility"> [public]</span>
3413 <span class="entry_type_hwlevel">[legacy] </span>
3417 <ul class="entry_type_enum">
3419 <span class="entry_type_enum_name">OFF</span>
3420 <span class="entry_type_enum_notes"><p>Full application control of pipeline.<wbr/></p>
3421 <p>All control by the device's metering and focusing (3A)
3422 routines is disabled,<wbr/> and no other settings in
3423 android.<wbr/>control.<wbr/>* have any effect,<wbr/> except that
3424 <a href="#controls_android.control.captureIntent">android.<wbr/>control.<wbr/>capture<wbr/>Intent</a> may be used by the camera
3425 device to select post-processing values for processing
3426 blocks that do not allow for manual control,<wbr/> or are not
3427 exposed by the camera API.<wbr/></p>
3428 <p>However,<wbr/> the camera device's 3A routines may continue to
3429 collect statistics and update their internal state so that
3430 when control is switched to AUTO mode,<wbr/> good control values
3431 can be immediately applied.<wbr/></p></span>
3434 <span class="entry_type_enum_name">AUTO</span>
3435 <span class="entry_type_enum_notes"><p>Use settings for each individual 3A routine.<wbr/></p>
3436 <p>Manual control of capture parameters is disabled.<wbr/> All
3437 controls in android.<wbr/>control.<wbr/>* besides sceneMode take
3438 effect.<wbr/></p></span>
3441 <span class="entry_type_enum_name">USE_SCENE_MODE</span>
3442 <span class="entry_type_enum_notes"><p>Use a specific scene mode.<wbr/></p>
3443 <p>Enabling this disables control.<wbr/>aeMode,<wbr/> control.<wbr/>awbMode and
3444 control.<wbr/>afMode controls; the camera device will ignore
3445 those settings while USE_<wbr/>SCENE_<wbr/>MODE is active (except for
3446 FACE_<wbr/>PRIORITY scene mode).<wbr/> Other control entries are still
3447 active.<wbr/> This setting can only be used if scene mode is
3448 supported (i.<wbr/>e.<wbr/> <a href="#static_android.control.availableSceneModes">android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes</a>
3449 contain some modes other than DISABLED).<wbr/></p></span>
3452 <span class="entry_type_enum_name">OFF_KEEP_STATE</span>
3453 <span class="entry_type_enum_notes"><p>Same as OFF mode,<wbr/> except that this capture will not be
3454 used by camera device background auto-exposure,<wbr/> auto-white balance and
3455 auto-focus algorithms (3A) to update their statistics.<wbr/></p>
3456 <p>Specifically,<wbr/> the 3A routines are locked to the last
3457 values set from a request with AUTO,<wbr/> OFF,<wbr/> or
3458 USE_<wbr/>SCENE_<wbr/>MODE,<wbr/> and any statistics or state updates
3459 collected from manual captures with OFF_<wbr/>KEEP_<wbr/>STATE will be
3460 discarded by the camera device.<wbr/></p></span>
3464 </td> <!-- entry_type -->
3466 <td class="entry_description">
3467 <p>Overall mode of 3A (auto-exposure,<wbr/> auto-white-balance,<wbr/> auto-focus) control
3471 <td class="entry_units">
3474 <td class="entry_range">
3477 <td class="entry_tags">
3478 <ul class="entry_tags">
3479 <li><a href="#tag_BC">BC</a></li>
3484 <tr class="entries_header">
3485 <th class="th_details" colspan="5">Details</th>
3487 <tr class="entry_cont">
3488 <td class="entry_details" colspan="5">
3489 <p>This is a top-level 3A control switch.<wbr/> When set to OFF,<wbr/> all 3A control
3490 by the camera device is disabled.<wbr/> The application must set the fields for
3491 capture parameters itself.<wbr/></p>
3492 <p>When set to AUTO,<wbr/> the individual algorithm controls in
3493 android.<wbr/>control.<wbr/>* are in effect,<wbr/> such as <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a>.<wbr/></p>
3494 <p>When set to USE_<wbr/>SCENE_<wbr/>MODE,<wbr/> the individual controls in
3495 android.<wbr/>control.<wbr/>* are mostly disabled,<wbr/> and the camera device implements
3496 one of the scene mode settings (such as ACTION,<wbr/> SUNSET,<wbr/> or PARTY)
3497 as it wishes.<wbr/> The camera device scene mode 3A settings are provided by
3498 <a href="#static_android.control.sceneModeOverrides">android.<wbr/>control.<wbr/>scene<wbr/>Mode<wbr/>Overrides</a>.<wbr/></p>
3499 <p>When set to OFF_<wbr/>KEEP_<wbr/>STATE,<wbr/> it is similar to OFF mode,<wbr/> the only difference
3500 is that this frame will not be used by camera device background 3A statistics
3501 update,<wbr/> as if this frame is never captured.<wbr/> This mode can be used in the scenario
3502 where the application doesn't want a 3A manual control capture to affect
3503 the subsequent auto 3A capture results.<wbr/></p>
3504 <p>LEGACY mode devices will only support AUTO and USE_<wbr/>SCENE_<wbr/>MODE modes.<wbr/>
3505 LIMITED mode devices will only support OFF and OFF_<wbr/>KEEP_<wbr/>STATE if they
3506 support the MANUAL_<wbr/>SENSOR and MANUAL_<wbr/>POST_<wbr/>PROCSESING capabilities.<wbr/>
3507 FULL mode devices will always support OFF and OFF_<wbr/>KEEP_<wbr/>STATE.<wbr/></p>
3512 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
3513 <!-- end of entry -->
3516 <tr class="entry" id="controls_android.control.sceneMode">
3517 <td class="entry_name
3519 android.<wbr/>control.<wbr/>scene<wbr/>Mode
3521 <td class="entry_type">
3522 <span class="entry_type_name entry_type_name_enum">byte</span>
3524 <span class="entry_type_visibility"> [public]</span>
3527 <span class="entry_type_hwlevel">[legacy] </span>
3531 <ul class="entry_type_enum">
3533 <span class="entry_type_enum_name">DISABLED</span>
3534 <span class="entry_type_enum_value">0</span>
3535 <span class="entry_type_enum_notes"><p>Indicates that no scene modes are set for a given capture request.<wbr/></p></span>
3538 <span class="entry_type_enum_name">FACE_PRIORITY</span>
3539 <span class="entry_type_enum_notes"><p>If face detection support exists,<wbr/> use face
3540 detection data for auto-focus,<wbr/> auto-white balance,<wbr/> and
3541 auto-exposure routines.<wbr/></p>
3542 <p>If face detection statistics are disabled
3543 (i.<wbr/>e.<wbr/> <a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a> is set to OFF),<wbr/>
3544 this should still operate correctly (but will not return
3545 face detection statistics to the framework).<wbr/></p>
3546 <p>Unlike the other scene modes,<wbr/> <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/>
3547 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a>
3548 remain active when FACE_<wbr/>PRIORITY is set.<wbr/></p></span>
3551 <span class="entry_type_enum_name">ACTION</span>
3552 <span class="entry_type_enum_optional">[optional]</span>
3553 <span class="entry_type_enum_notes"><p>Optimized for photos of quickly moving objects.<wbr/></p>
3554 <p>Similar to SPORTS.<wbr/></p></span>
3557 <span class="entry_type_enum_name">PORTRAIT</span>
3558 <span class="entry_type_enum_optional">[optional]</span>
3559 <span class="entry_type_enum_notes"><p>Optimized for still photos of people.<wbr/></p></span>
3562 <span class="entry_type_enum_name">LANDSCAPE</span>
3563 <span class="entry_type_enum_optional">[optional]</span>
3564 <span class="entry_type_enum_notes"><p>Optimized for photos of distant macroscopic objects.<wbr/></p></span>
3567 <span class="entry_type_enum_name">NIGHT</span>
3568 <span class="entry_type_enum_optional">[optional]</span>
3569 <span class="entry_type_enum_notes"><p>Optimized for low-light settings.<wbr/></p></span>
3572 <span class="entry_type_enum_name">NIGHT_PORTRAIT</span>
3573 <span class="entry_type_enum_optional">[optional]</span>
3574 <span class="entry_type_enum_notes"><p>Optimized for still photos of people in low-light
3575 settings.<wbr/></p></span>
3578 <span class="entry_type_enum_name">THEATRE</span>
3579 <span class="entry_type_enum_optional">[optional]</span>
3580 <span class="entry_type_enum_notes"><p>Optimized for dim,<wbr/> indoor settings where flash must
3581 remain off.<wbr/></p></span>
3584 <span class="entry_type_enum_name">BEACH</span>
3585 <span class="entry_type_enum_optional">[optional]</span>
3586 <span class="entry_type_enum_notes"><p>Optimized for bright,<wbr/> outdoor beach settings.<wbr/></p></span>
3589 <span class="entry_type_enum_name">SNOW</span>
3590 <span class="entry_type_enum_optional">[optional]</span>
3591 <span class="entry_type_enum_notes"><p>Optimized for bright,<wbr/> outdoor settings containing snow.<wbr/></p></span>
3594 <span class="entry_type_enum_name">SUNSET</span>
3595 <span class="entry_type_enum_optional">[optional]</span>
3596 <span class="entry_type_enum_notes"><p>Optimized for scenes of the setting sun.<wbr/></p></span>
3599 <span class="entry_type_enum_name">STEADYPHOTO</span>
3600 <span class="entry_type_enum_optional">[optional]</span>
3601 <span class="entry_type_enum_notes"><p>Optimized to avoid blurry photos due to small amounts of
3602 device motion (for example: due to hand shake).<wbr/></p></span>
3605 <span class="entry_type_enum_name">FIREWORKS</span>
3606 <span class="entry_type_enum_optional">[optional]</span>
3607 <span class="entry_type_enum_notes"><p>Optimized for nighttime photos of fireworks.<wbr/></p></span>
3610 <span class="entry_type_enum_name">SPORTS</span>
3611 <span class="entry_type_enum_optional">[optional]</span>
3612 <span class="entry_type_enum_notes"><p>Optimized for photos of quickly moving people.<wbr/></p>
3613 <p>Similar to ACTION.<wbr/></p></span>
3616 <span class="entry_type_enum_name">PARTY</span>
3617 <span class="entry_type_enum_optional">[optional]</span>
3618 <span class="entry_type_enum_notes"><p>Optimized for dim,<wbr/> indoor settings with multiple moving
3619 people.<wbr/></p></span>
3622 <span class="entry_type_enum_name">CANDLELIGHT</span>
3623 <span class="entry_type_enum_optional">[optional]</span>
3624 <span class="entry_type_enum_notes"><p>Optimized for dim settings where the main light source
3625 is a flame.<wbr/></p></span>
3628 <span class="entry_type_enum_name">BARCODE</span>
3629 <span class="entry_type_enum_optional">[optional]</span>
3630 <span class="entry_type_enum_notes"><p>Optimized for accurately capturing a photo of barcode
3631 for use by camera applications that wish to read the
3632 barcode value.<wbr/></p></span>
3635 <span class="entry_type_enum_name">HIGH_SPEED_VIDEO</span>
3636 <span class="entry_type_enum_optional">[optional]</span>
3637 <span class="entry_type_enum_notes"><p>Optimized for high speed video recording (frame rate >=60fps) use case.<wbr/></p>
3638 <p>The supported high speed video sizes and fps ranges are specified in
3639 <a href="#static_android.control.availableHighSpeedVideoConfigurations">android.<wbr/>control.<wbr/>available<wbr/>High<wbr/>Speed<wbr/>Video<wbr/>Configurations</a>.<wbr/> To get desired
3640 output frame rates,<wbr/> the application is only allowed to select video size
3641 and fps range combinations listed in this static metadata.<wbr/> The fps range
3642 can be control via <a href="#controls_android.control.aeTargetFpsRange">android.<wbr/>control.<wbr/>ae<wbr/>Target<wbr/>Fps<wbr/>Range</a>.<wbr/></p>
3643 <p>In this mode,<wbr/> the camera device will override aeMode,<wbr/> awbMode,<wbr/> and afMode to
3644 ON,<wbr/> ON,<wbr/> and CONTINUOUS_<wbr/>VIDEO,<wbr/> respectively.<wbr/> All post-processing block mode
3645 controls will be overridden to be FAST.<wbr/> Therefore,<wbr/> no manual control of capture
3646 and post-processing parameters is possible.<wbr/> All other controls operate the
3647 same as when <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> == AUTO.<wbr/> This means that all other
3648 android.<wbr/>control.<wbr/>* fields continue to work,<wbr/> such as</p>
3650 <li><a href="#controls_android.control.aeTargetFpsRange">android.<wbr/>control.<wbr/>ae<wbr/>Target<wbr/>Fps<wbr/>Range</a></li>
3651 <li><a href="#controls_android.control.aeExposureCompensation">android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation</a></li>
3652 <li><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a></li>
3653 <li><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a></li>
3654 <li><a href="#controls_android.control.effectMode">android.<wbr/>control.<wbr/>effect<wbr/>Mode</a></li>
3655 <li><a href="#controls_android.control.aeRegions">android.<wbr/>control.<wbr/>ae<wbr/>Regions</a></li>
3656 <li><a href="#controls_android.control.afRegions">android.<wbr/>control.<wbr/>af<wbr/>Regions</a></li>
3657 <li><a href="#controls_android.control.awbRegions">android.<wbr/>control.<wbr/>awb<wbr/>Regions</a></li>
3658 <li><a href="#controls_android.control.afTrigger">android.<wbr/>control.<wbr/>af<wbr/>Trigger</a></li>
3659 <li><a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a></li>
3661 <p>Outside of android.<wbr/>control.<wbr/>*,<wbr/> the following controls will work:</p>
3663 <li><a href="#controls_android.flash.mode">android.<wbr/>flash.<wbr/>mode</a> (automatic flash for still capture will not work since aeMode is ON)</li>
3664 <li><a href="#controls_android.lens.opticalStabilizationMode">android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode</a> (if it is supported)</li>
3665 <li><a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a></li>
3666 <li><a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a></li>
3668 <p>For high speed recording use case,<wbr/> the actual maximum supported frame rate may
3669 be lower than what camera can output,<wbr/> depending on the destination Surfaces for
3670 the image data.<wbr/> For example,<wbr/> if the destination surface is from video encoder,<wbr/>
3671 the application need check if the video encoder is capable of supporting the
3672 high frame rate for a given video size,<wbr/> or it will end up with lower recording
3673 frame rate.<wbr/> If the destination surface is from preview window,<wbr/> the preview frame
3674 rate will be bounded by the screen refresh rate.<wbr/></p>
3675 <p>The camera device will only support up to 2 output high speed streams
3676 (processed non-stalling format defined in <a href="#static_android.request.maxNumOutputStreams">android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Output<wbr/>Streams</a>)
3677 in this mode.<wbr/> This control will be effective only if all of below conditions are true:</p>
3679 <li>The application created no more than maxNumHighSpeedStreams processed non-stalling
3680 format output streams,<wbr/> where maxNumHighSpeedStreams is calculated as
3681 min(2,<wbr/> <a href="#static_android.request.maxNumOutputStreams">android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Output<wbr/>Streams</a>[Processed (but not-stalling)]).<wbr/></li>
3682 <li>The stream sizes are selected from the sizes reported by
3683 <a href="#static_android.control.availableHighSpeedVideoConfigurations">android.<wbr/>control.<wbr/>available<wbr/>High<wbr/>Speed<wbr/>Video<wbr/>Configurations</a>.<wbr/></li>
3684 <li>No processed non-stalling or raw streams are configured.<wbr/></li>
3686 <p>When above conditions are NOT satistied,<wbr/> the controls of this mode and
3687 <a href="#controls_android.control.aeTargetFpsRange">android.<wbr/>control.<wbr/>ae<wbr/>Target<wbr/>Fps<wbr/>Range</a> will be ignored by the camera device,<wbr/>
3688 the camera device will fall back to <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> <code>==</code> AUTO,<wbr/>
3689 and the returned capture result metadata will give the fps range choosen
3690 by the camera device.<wbr/></p>
3691 <p>Switching into or out of this mode may trigger some camera ISP/<wbr/>sensor
3692 reconfigurations,<wbr/> which may introduce extra latency.<wbr/> It is recommended that
3693 the application avoids unnecessary scene mode switch as much as possible.<wbr/></p></span>
3696 <span class="entry_type_enum_name">HDR</span>
3697 <span class="entry_type_enum_optional">[optional]</span>
3698 <span class="entry_type_enum_optional">[hidden]</span>
3699 <span class="entry_type_enum_notes"><p>Turn on custom high dynamic range (HDR) mode.<wbr/></p>
3700 <p>This is intended for LEGACY mode devices only;
3701 HAL3+ camera devices should not implement this mode.<wbr/></p></span>
3705 </td> <!-- entry_type -->
3707 <td class="entry_description">
3708 <p>Control for which scene mode is currently active.<wbr/></p>
3711 <td class="entry_units">
3714 <td class="entry_range">
3715 <p><a href="#static_android.control.availableSceneModes">android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes</a></p>
3718 <td class="entry_tags">
3719 <ul class="entry_tags">
3720 <li><a href="#tag_BC">BC</a></li>
3725 <tr class="entries_header">
3726 <th class="th_details" colspan="5">Details</th>
3728 <tr class="entry_cont">
3729 <td class="entry_details" colspan="5">
3730 <p>Scene modes are custom camera modes optimized for a certain set of conditions and
3731 capture settings.<wbr/></p>
3732 <p>This is the mode that that is active when
3733 <code><a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> == USE_<wbr/>SCENE_<wbr/>MODE</code>.<wbr/> Aside from FACE_<wbr/>PRIORITY,<wbr/>
3734 these modes will disable <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/>
3735 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> while in use.<wbr/></p>
3736 <p>The interpretation and implementation of these scene modes is left
3737 to the implementor of the camera device.<wbr/> Their behavior will not be
3738 consistent across all devices,<wbr/> and any given device may only implement
3739 a subset of these modes.<wbr/></p>
3743 <tr class="entries_header">
3744 <th class="th_details" colspan="5">HAL Implementation Details</th>
3746 <tr class="entry_cont">
3747 <td class="entry_details" colspan="5">
3748 <p>HAL implementations that include scene modes are expected to provide
3749 the per-scene settings to use for <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/>
3750 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> in
3751 <a href="#static_android.control.sceneModeOverrides">android.<wbr/>control.<wbr/>scene<wbr/>Mode<wbr/>Overrides</a>.<wbr/></p>
3752 <p>For HIGH_<wbr/>SPEED_<wbr/>VIDEO mode,<wbr/> if it is included in <a href="#static_android.control.availableSceneModes">android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes</a>,<wbr/>
3753 the HAL must list supported video size and fps range in
3754 <a href="#static_android.control.availableHighSpeedVideoConfigurations">android.<wbr/>control.<wbr/>available<wbr/>High<wbr/>Speed<wbr/>Video<wbr/>Configurations</a>.<wbr/> For a given size,<wbr/> e.<wbr/>g.<wbr/>
3755 1280x720,<wbr/> if the HAL has two different sensor configurations for normal streaming
3756 mode and high speed streaming,<wbr/> when this scene mode is set/<wbr/>reset in a sequence of capture
3757 requests,<wbr/> the HAL may have to switch between different sensor modes.<wbr/></p>
3761 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
3762 <!-- end of entry -->
3765 <tr class="entry" id="controls_android.control.videoStabilizationMode">
3766 <td class="entry_name
3768 android.<wbr/>control.<wbr/>video<wbr/>Stabilization<wbr/>Mode
3770 <td class="entry_type">
3771 <span class="entry_type_name entry_type_name_enum">byte</span>
3773 <span class="entry_type_visibility"> [public]</span>
3776 <span class="entry_type_hwlevel">[legacy] </span>
3780 <ul class="entry_type_enum">
3782 <span class="entry_type_enum_name">OFF</span>
3783 <span class="entry_type_enum_notes"><p>Video stabilization is disabled.<wbr/></p></span>
3786 <span class="entry_type_enum_name">ON</span>
3787 <span class="entry_type_enum_notes"><p>Video stabilization is enabled.<wbr/></p></span>
3791 </td> <!-- entry_type -->
3793 <td class="entry_description">
3794 <p>Whether video stabilization is
3798 <td class="entry_units">
3801 <td class="entry_range">
3804 <td class="entry_tags">
3805 <ul class="entry_tags">
3806 <li><a href="#tag_BC">BC</a></li>
3811 <tr class="entries_header">
3812 <th class="th_details" colspan="5">Details</th>
3814 <tr class="entry_cont">
3815 <td class="entry_details" colspan="5">
3816 <p>Video stabilization automatically translates and scales images from
3817 the camera in order to stabilize motion between consecutive frames.<wbr/></p>
3818 <p>If enabled,<wbr/> video stabilization can modify the
3819 <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a> to keep the video stream stabilized.<wbr/></p>
3820 <p>Switching between different video stabilization modes may take several
3821 frames to initialize,<wbr/> the camera device will report the current mode
3822 in capture result metadata.<wbr/> For example,<wbr/> When "ON" mode is requested,<wbr/>
3823 the video stabilization modes in the first several capture results may
3824 still be "OFF",<wbr/> and it will become "ON" when the initialization is
3826 <p>If a camera device supports both this mode and OIS
3827 (<a href="#controls_android.lens.opticalStabilizationMode">android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode</a>),<wbr/> turning both modes on may
3828 produce undesirable interaction,<wbr/> so it is recommended not to enable
3829 both at the same time.<wbr/></p>
3834 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
3835 <!-- end of entry -->
3839 <!-- end of kind -->
3841 <tr><td colspan="6" class="kind">static</td></tr>
3843 <thead class="entries_header">
3845 <th class="th_name">Property Name</th>
3846 <th class="th_type">Type</th>
3847 <th class="th_description">Description</th>
3848 <th class="th_units">Units</th>
3849 <th class="th_range">Range</th>
3850 <th class="th_tags">Tags</th>
3865 <tr class="entry" id="static_android.control.aeAvailableAntibandingModes">
3866 <td class="entry_name
3868 android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Antibanding<wbr/>Modes
3870 <td class="entry_type">
3871 <span class="entry_type_name">byte</span>
3872 <span class="entry_type_container">x</span>
3874 <span class="entry_type_array">
3877 <span class="entry_type_visibility"> [public as enumList]</span>
3880 <span class="entry_type_hwlevel">[legacy] </span>
3883 <div class="entry_type_notes">list of enums</div>
3886 </td> <!-- entry_type -->
3888 <td class="entry_description">
3889 <p>List of auto-exposure antibanding modes for <a href="#controls_android.control.aeAntibandingMode">android.<wbr/>control.<wbr/>ae<wbr/>Antibanding<wbr/>Mode</a> that are
3890 supported by this camera device.<wbr/></p>
3893 <td class="entry_units">
3896 <td class="entry_range">
3897 <p>Any value listed in <a href="#controls_android.control.aeAntibandingMode">android.<wbr/>control.<wbr/>ae<wbr/>Antibanding<wbr/>Mode</a></p>
3900 <td class="entry_tags">
3901 <ul class="entry_tags">
3902 <li><a href="#tag_BC">BC</a></li>
3907 <tr class="entries_header">
3908 <th class="th_details" colspan="5">Details</th>
3910 <tr class="entry_cont">
3911 <td class="entry_details" colspan="5">
3912 <p>Not all of the auto-exposure anti-banding modes may be
3913 supported by a given camera device.<wbr/> This field lists the
3914 valid anti-banding modes that the application may request
3915 for this camera device with the
3916 <a href="#controls_android.control.aeAntibandingMode">android.<wbr/>control.<wbr/>ae<wbr/>Antibanding<wbr/>Mode</a> control.<wbr/> This list
3917 always includes AUTO.<wbr/></p>
3922 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
3923 <!-- end of entry -->
3926 <tr class="entry" id="static_android.control.aeAvailableModes">
3927 <td class="entry_name
3929 android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Modes
3931 <td class="entry_type">
3932 <span class="entry_type_name">byte</span>
3933 <span class="entry_type_container">x</span>
3935 <span class="entry_type_array">
3938 <span class="entry_type_visibility"> [public as enumList]</span>
3941 <span class="entry_type_hwlevel">[legacy] </span>
3944 <div class="entry_type_notes">list of enums</div>
3947 </td> <!-- entry_type -->
3949 <td class="entry_description">
3950 <p>List of auto-exposure modes for <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> that are supported by this camera
3954 <td class="entry_units">
3957 <td class="entry_range">
3958 <p>Any value listed in <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a></p>
3961 <td class="entry_tags">
3962 <ul class="entry_tags">
3963 <li><a href="#tag_BC">BC</a></li>
3968 <tr class="entries_header">
3969 <th class="th_details" colspan="5">Details</th>
3971 <tr class="entry_cont">
3972 <td class="entry_details" colspan="5">
3973 <p>Not all the auto-exposure modes may be supported by a
3974 given camera device,<wbr/> especially if no flash unit is
3975 available.<wbr/> This entry lists the valid modes for
3976 <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> for this camera device.<wbr/></p>
3977 <p>All camera devices support ON,<wbr/> and all camera devices with flash
3978 units support ON_<wbr/>AUTO_<wbr/>FLASH and ON_<wbr/>ALWAYS_<wbr/>FLASH.<wbr/></p>
3979 <p>FULL mode camera devices always support OFF mode,<wbr/>
3980 which enables application control of camera exposure time,<wbr/>
3981 sensitivity,<wbr/> and frame duration.<wbr/></p>
3982 <p>LEGACY mode camera devices never support OFF mode.<wbr/>
3983 LIMITED mode devices support OFF if they support the MANUAL_<wbr/>SENSOR
3984 capability.<wbr/></p>
3989 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
3990 <!-- end of entry -->
3993 <tr class="entry" id="static_android.control.aeAvailableTargetFpsRanges">
3994 <td class="entry_name
3996 android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Target<wbr/>Fps<wbr/>Ranges
3998 <td class="entry_type">
3999 <span class="entry_type_name">int32</span>
4000 <span class="entry_type_container">x</span>
4002 <span class="entry_type_array">
4005 <span class="entry_type_visibility"> [public as rangeInt]</span>
4008 <span class="entry_type_hwlevel">[legacy] </span>
4011 <div class="entry_type_notes">list of pairs of frame rates</div>
4014 </td> <!-- entry_type -->
4016 <td class="entry_description">
4017 <p>List of frame rate ranges for <a href="#controls_android.control.aeTargetFpsRange">android.<wbr/>control.<wbr/>ae<wbr/>Target<wbr/>Fps<wbr/>Range</a> supported by
4018 this camera device.<wbr/></p>
4021 <td class="entry_units">
4022 Frames per second (FPS)
4025 <td class="entry_range">
4028 <td class="entry_tags">
4029 <ul class="entry_tags">
4030 <li><a href="#tag_BC">BC</a></li>
4035 <tr class="entries_header">
4036 <th class="th_details" colspan="5">Details</th>
4038 <tr class="entry_cont">
4039 <td class="entry_details" colspan="5">
4040 <p>For devices at the LIMITED level or above,<wbr/> this list will include at least (30,<wbr/> 30) for
4041 constant-framerate recording.<wbr/></p>
4046 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4047 <!-- end of entry -->
4050 <tr class="entry" id="static_android.control.aeCompensationRange">
4051 <td class="entry_name
4053 android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Range
4055 <td class="entry_type">
4056 <span class="entry_type_name">int32</span>
4057 <span class="entry_type_container">x</span>
4059 <span class="entry_type_array">
4062 <span class="entry_type_visibility"> [public as rangeInt]</span>
4065 <span class="entry_type_hwlevel">[legacy] </span>
4070 </td> <!-- entry_type -->
4072 <td class="entry_description">
4073 <p>Maximum and minimum exposure compensation values for
4074 <a href="#controls_android.control.aeExposureCompensation">android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation</a>,<wbr/> in counts of <a href="#static_android.control.aeCompensationStep">android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Step</a>,<wbr/>
4075 that are supported by this camera device.<wbr/></p>
4078 <td class="entry_units">
4081 <td class="entry_range">
4082 <p><code>Min.<wbr/>exposure compensation * <a href="#static_android.control.aeCompensationStep">android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Step</a> <= -2 EV</code></p>
4083 <p><code>Max.<wbr/>exposure compensation * <a href="#static_android.control.aeCompensationStep">android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Step</a> >= 2 EV</code></p>
4086 <td class="entry_tags">
4087 <ul class="entry_tags">
4088 <li><a href="#tag_BC">BC</a></li>
4095 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4096 <!-- end of entry -->
4099 <tr class="entry" id="static_android.control.aeCompensationStep">
4100 <td class="entry_name
4102 android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Step
4104 <td class="entry_type">
4105 <span class="entry_type_name">rational</span>
4107 <span class="entry_type_visibility"> [public]</span>
4110 <span class="entry_type_hwlevel">[legacy] </span>
4115 </td> <!-- entry_type -->
4117 <td class="entry_description">
4118 <p>Smallest step by which the exposure compensation
4119 can be changed.<wbr/></p>
4122 <td class="entry_units">
4126 <td class="entry_range">
4129 <td class="entry_tags">
4130 <ul class="entry_tags">
4131 <li><a href="#tag_BC">BC</a></li>
4136 <tr class="entries_header">
4137 <th class="th_details" colspan="5">Details</th>
4139 <tr class="entry_cont">
4140 <td class="entry_details" colspan="5">
4141 <p>This is the unit for <a href="#controls_android.control.aeExposureCompensation">android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation</a>.<wbr/> For example,<wbr/> if this key has
4142 a value of <code>1/<wbr/>2</code>,<wbr/> then a setting of <code>-2</code> for <a href="#controls_android.control.aeExposureCompensation">android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation</a> means
4143 that the target EV offset for the auto-exposure routine is -1 EV.<wbr/></p>
4144 <p>One unit of EV compensation changes the brightness of the captured image by a factor
4145 of two.<wbr/> +1 EV doubles the image brightness,<wbr/> while -1 EV halves the image brightness.<wbr/></p>
4149 <tr class="entries_header">
4150 <th class="th_details" colspan="5">HAL Implementation Details</th>
4152 <tr class="entry_cont">
4153 <td class="entry_details" colspan="5">
4154 <p>This must be less than or equal to 1/<wbr/>2.<wbr/></p>
4158 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4159 <!-- end of entry -->
4162 <tr class="entry" id="static_android.control.afAvailableModes">
4163 <td class="entry_name
4165 android.<wbr/>control.<wbr/>af<wbr/>Available<wbr/>Modes
4167 <td class="entry_type">
4168 <span class="entry_type_name">byte</span>
4169 <span class="entry_type_container">x</span>
4171 <span class="entry_type_array">
4174 <span class="entry_type_visibility"> [public as enumList]</span>
4177 <span class="entry_type_hwlevel">[legacy] </span>
4180 <div class="entry_type_notes">List of enums</div>
4183 </td> <!-- entry_type -->
4185 <td class="entry_description">
4186 <p>List of auto-focus (AF) modes for <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> that are
4187 supported by this camera device.<wbr/></p>
4190 <td class="entry_units">
4193 <td class="entry_range">
4194 <p>Any value listed in <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a></p>
4197 <td class="entry_tags">
4198 <ul class="entry_tags">
4199 <li><a href="#tag_BC">BC</a></li>
4204 <tr class="entries_header">
4205 <th class="th_details" colspan="5">Details</th>
4207 <tr class="entry_cont">
4208 <td class="entry_details" colspan="5">
4209 <p>Not all the auto-focus modes may be supported by a
4210 given camera device.<wbr/> This entry lists the valid modes for
4211 <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> for this camera device.<wbr/></p>
4212 <p>All LIMITED and FULL mode camera devices will support OFF mode,<wbr/> and all
4213 camera devices with adjustable focuser units
4214 (<code><a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a> > 0</code>) will support AUTO mode.<wbr/></p>
4215 <p>LEGACY devices will support OFF mode only if they support
4216 focusing to infinity (by also setting <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> to
4217 <code>0.<wbr/>0f</code>).<wbr/></p>
4222 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4223 <!-- end of entry -->
4226 <tr class="entry" id="static_android.control.availableEffects">
4227 <td class="entry_name
4229 android.<wbr/>control.<wbr/>available<wbr/>Effects
4231 <td class="entry_type">
4232 <span class="entry_type_name">byte</span>
4233 <span class="entry_type_container">x</span>
4235 <span class="entry_type_array">
4238 <span class="entry_type_visibility"> [public as enumList]</span>
4241 <span class="entry_type_hwlevel">[legacy] </span>
4244 <div class="entry_type_notes">List of enums (android.<wbr/>control.<wbr/>effect<wbr/>Mode).<wbr/></div>
4247 </td> <!-- entry_type -->
4249 <td class="entry_description">
4250 <p>List of color effects for <a href="#controls_android.control.effectMode">android.<wbr/>control.<wbr/>effect<wbr/>Mode</a> that are supported by this camera
4254 <td class="entry_units">
4257 <td class="entry_range">
4258 <p>Any value listed in <a href="#controls_android.control.effectMode">android.<wbr/>control.<wbr/>effect<wbr/>Mode</a></p>
4261 <td class="entry_tags">
4262 <ul class="entry_tags">
4263 <li><a href="#tag_BC">BC</a></li>
4268 <tr class="entries_header">
4269 <th class="th_details" colspan="5">Details</th>
4271 <tr class="entry_cont">
4272 <td class="entry_details" colspan="5">
4273 <p>This list contains the color effect modes that can be applied to
4274 images produced by the camera device.<wbr/>
4275 Implementations are not expected to be consistent across all devices.<wbr/>
4276 If no color effect modes are available for a device,<wbr/> this will only list
4278 <p>A color effect will only be applied if
4279 <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> != OFF.<wbr/> OFF is always included in this list.<wbr/></p>
4280 <p>This control has no effect on the operation of other control routines such
4281 as auto-exposure,<wbr/> white balance,<wbr/> or focus.<wbr/></p>
4286 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4287 <!-- end of entry -->
4290 <tr class="entry" id="static_android.control.availableSceneModes">
4291 <td class="entry_name
4293 android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes
4295 <td class="entry_type">
4296 <span class="entry_type_name">byte</span>
4297 <span class="entry_type_container">x</span>
4299 <span class="entry_type_array">
4302 <span class="entry_type_visibility"> [public as enumList]</span>
4305 <span class="entry_type_hwlevel">[legacy] </span>
4308 <div class="entry_type_notes">List of enums (android.<wbr/>control.<wbr/>scene<wbr/>Mode).<wbr/></div>
4311 </td> <!-- entry_type -->
4313 <td class="entry_description">
4314 <p>List of scene modes for <a href="#controls_android.control.sceneMode">android.<wbr/>control.<wbr/>scene<wbr/>Mode</a> that are supported by this camera
4318 <td class="entry_units">
4321 <td class="entry_range">
4322 <p>Any value listed in <a href="#controls_android.control.sceneMode">android.<wbr/>control.<wbr/>scene<wbr/>Mode</a></p>
4325 <td class="entry_tags">
4326 <ul class="entry_tags">
4327 <li><a href="#tag_BC">BC</a></li>
4332 <tr class="entries_header">
4333 <th class="th_details" colspan="5">Details</th>
4335 <tr class="entry_cont">
4336 <td class="entry_details" colspan="5">
4337 <p>This list contains scene modes that can be set for the camera device.<wbr/>
4338 Only scene modes that have been fully implemented for the
4339 camera device may be included here.<wbr/> Implementations are not expected
4340 to be consistent across all devices.<wbr/></p>
4341 <p>If no scene modes are supported by the camera device,<wbr/> this
4342 will be set to DISABLED.<wbr/> Otherwise DISABLED will not be listed.<wbr/></p>
4343 <p>FACE_<wbr/>PRIORITY is always listed if face detection is
4344 supported (i.<wbr/>e.<wbr/><code><a href="#static_android.statistics.info.maxFaceCount">android.<wbr/>statistics.<wbr/>info.<wbr/>max<wbr/>Face<wbr/>Count</a> >
4345 0</code>).<wbr/></p>
4350 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4351 <!-- end of entry -->
4354 <tr class="entry" id="static_android.control.availableVideoStabilizationModes">
4355 <td class="entry_name
4357 android.<wbr/>control.<wbr/>available<wbr/>Video<wbr/>Stabilization<wbr/>Modes
4359 <td class="entry_type">
4360 <span class="entry_type_name">byte</span>
4361 <span class="entry_type_container">x</span>
4363 <span class="entry_type_array">
4366 <span class="entry_type_visibility"> [public as enumList]</span>
4369 <span class="entry_type_hwlevel">[legacy] </span>
4372 <div class="entry_type_notes">List of enums.<wbr/></div>
4375 </td> <!-- entry_type -->
4377 <td class="entry_description">
4378 <p>List of video stabilization modes for <a href="#controls_android.control.videoStabilizationMode">android.<wbr/>control.<wbr/>video<wbr/>Stabilization<wbr/>Mode</a>
4379 that are supported by this camera device.<wbr/></p>
4382 <td class="entry_units">
4385 <td class="entry_range">
4386 <p>Any value listed in <a href="#controls_android.control.videoStabilizationMode">android.<wbr/>control.<wbr/>video<wbr/>Stabilization<wbr/>Mode</a></p>
4389 <td class="entry_tags">
4390 <ul class="entry_tags">
4391 <li><a href="#tag_BC">BC</a></li>
4396 <tr class="entries_header">
4397 <th class="th_details" colspan="5">Details</th>
4399 <tr class="entry_cont">
4400 <td class="entry_details" colspan="5">
4401 <p>OFF will always be listed.<wbr/></p>
4406 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4407 <!-- end of entry -->
4410 <tr class="entry" id="static_android.control.awbAvailableModes">
4411 <td class="entry_name
4413 android.<wbr/>control.<wbr/>awb<wbr/>Available<wbr/>Modes
4415 <td class="entry_type">
4416 <span class="entry_type_name">byte</span>
4417 <span class="entry_type_container">x</span>
4419 <span class="entry_type_array">
4422 <span class="entry_type_visibility"> [public as enumList]</span>
4425 <span class="entry_type_hwlevel">[legacy] </span>
4428 <div class="entry_type_notes">List of enums</div>
4431 </td> <!-- entry_type -->
4433 <td class="entry_description">
4434 <p>List of auto-white-balance modes for <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> that are supported by this
4435 camera device.<wbr/></p>
4438 <td class="entry_units">
4441 <td class="entry_range">
4442 <p>Any value listed in <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a></p>
4445 <td class="entry_tags">
4446 <ul class="entry_tags">
4447 <li><a href="#tag_BC">BC</a></li>
4452 <tr class="entries_header">
4453 <th class="th_details" colspan="5">Details</th>
4455 <tr class="entry_cont">
4456 <td class="entry_details" colspan="5">
4457 <p>Not all the auto-white-balance modes may be supported by a
4458 given camera device.<wbr/> This entry lists the valid modes for
4459 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> for this camera device.<wbr/></p>
4460 <p>All camera devices will support ON mode.<wbr/></p>
4461 <p>Camera devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability will always support OFF
4462 mode,<wbr/> which enables application control of white balance,<wbr/> by using
4463 <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a> and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a>(<a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> must be set to TRANSFORM_<wbr/>MATRIX).<wbr/> This includes all FULL
4464 mode camera devices.<wbr/></p>
4469 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4470 <!-- end of entry -->
4473 <tr class="entry" id="static_android.control.maxRegions">
4474 <td class="entry_name
4476 android.<wbr/>control.<wbr/>max<wbr/>Regions
4478 <td class="entry_type">
4479 <span class="entry_type_name">int32</span>
4480 <span class="entry_type_container">x</span>
4482 <span class="entry_type_array">
4485 <span class="entry_type_visibility"> [hidden]</span>
4488 <span class="entry_type_hwlevel">[legacy] </span>
4493 </td> <!-- entry_type -->
4495 <td class="entry_description">
4496 <p>List of the maximum number of regions that can be used for metering in
4497 auto-exposure (AE),<wbr/> auto-white balance (AWB),<wbr/> and auto-focus (AF);
4498 this corresponds to the the maximum number of elements in
4499 <a href="#controls_android.control.aeRegions">android.<wbr/>control.<wbr/>ae<wbr/>Regions</a>,<wbr/> <a href="#controls_android.control.awbRegions">android.<wbr/>control.<wbr/>awb<wbr/>Regions</a>,<wbr/>
4500 and <a href="#controls_android.control.afRegions">android.<wbr/>control.<wbr/>af<wbr/>Regions</a>.<wbr/></p>
4503 <td class="entry_units">
4506 <td class="entry_range">
4507 <p>Value must be >= 0 for each element.<wbr/> For full-capability devices
4508 this value must be >= 1 for AE and AF.<wbr/> The order of the elements is:
4509 <code>(AE,<wbr/> AWB,<wbr/> AF)</code>.<wbr/></p>
4512 <td class="entry_tags">
4513 <ul class="entry_tags">
4514 <li><a href="#tag_BC">BC</a></li>
4521 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4522 <!-- end of entry -->
4525 <tr class="entry" id="static_android.control.maxRegionsAe">
4526 <td class="entry_name
4528 android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Ae
4530 <td class="entry_type">
4531 <span class="entry_type_name">int32</span>
4533 <span class="entry_type_visibility"> [public]</span>
4535 <span class="entry_type_synthetic">[synthetic] </span>
4537 <span class="entry_type_hwlevel">[legacy] </span>
4542 </td> <!-- entry_type -->
4544 <td class="entry_description">
4545 <p>The maximum number of metering regions that can be used by the auto-exposure (AE)
4549 <td class="entry_units">
4552 <td class="entry_range">
4553 <p>Value will be >= 0.<wbr/> For FULL-capability devices,<wbr/> this
4554 value will be >= 1.<wbr/></p>
4557 <td class="entry_tags">
4561 <tr class="entries_header">
4562 <th class="th_details" colspan="5">Details</th>
4564 <tr class="entry_cont">
4565 <td class="entry_details" colspan="5">
4566 <p>This corresponds to the the maximum allowed number of elements in
4567 <a href="#controls_android.control.aeRegions">android.<wbr/>control.<wbr/>ae<wbr/>Regions</a>.<wbr/></p>
4571 <tr class="entries_header">
4572 <th class="th_details" colspan="5">HAL Implementation Details</th>
4574 <tr class="entry_cont">
4575 <td class="entry_details" colspan="5">
4576 <p>This entry is private to the framework.<wbr/> Fill in
4577 maxRegions to have this entry be automatically populated.<wbr/></p>
4581 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4582 <!-- end of entry -->
4585 <tr class="entry" id="static_android.control.maxRegionsAwb">
4586 <td class="entry_name
4588 android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Awb
4590 <td class="entry_type">
4591 <span class="entry_type_name">int32</span>
4593 <span class="entry_type_visibility"> [public]</span>
4595 <span class="entry_type_synthetic">[synthetic] </span>
4597 <span class="entry_type_hwlevel">[legacy] </span>
4602 </td> <!-- entry_type -->
4604 <td class="entry_description">
4605 <p>The maximum number of metering regions that can be used by the auto-white balance (AWB)
4609 <td class="entry_units">
4612 <td class="entry_range">
4613 <p>Value will be >= 0.<wbr/></p>
4616 <td class="entry_tags">
4620 <tr class="entries_header">
4621 <th class="th_details" colspan="5">Details</th>
4623 <tr class="entry_cont">
4624 <td class="entry_details" colspan="5">
4625 <p>This corresponds to the the maximum allowed number of elements in
4626 <a href="#controls_android.control.awbRegions">android.<wbr/>control.<wbr/>awb<wbr/>Regions</a>.<wbr/></p>
4630 <tr class="entries_header">
4631 <th class="th_details" colspan="5">HAL Implementation Details</th>
4633 <tr class="entry_cont">
4634 <td class="entry_details" colspan="5">
4635 <p>This entry is private to the framework.<wbr/> Fill in
4636 maxRegions to have this entry be automatically populated.<wbr/></p>
4640 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4641 <!-- end of entry -->
4644 <tr class="entry" id="static_android.control.maxRegionsAf">
4645 <td class="entry_name
4647 android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Af
4649 <td class="entry_type">
4650 <span class="entry_type_name">int32</span>
4652 <span class="entry_type_visibility"> [public]</span>
4654 <span class="entry_type_synthetic">[synthetic] </span>
4656 <span class="entry_type_hwlevel">[legacy] </span>
4661 </td> <!-- entry_type -->
4663 <td class="entry_description">
4664 <p>The maximum number of metering regions that can be used by the auto-focus (AF) routine.<wbr/></p>
4667 <td class="entry_units">
4670 <td class="entry_range">
4671 <p>Value will be >= 0.<wbr/> For FULL-capability devices,<wbr/> this
4672 value will be >= 1.<wbr/></p>
4675 <td class="entry_tags">
4679 <tr class="entries_header">
4680 <th class="th_details" colspan="5">Details</th>
4682 <tr class="entry_cont">
4683 <td class="entry_details" colspan="5">
4684 <p>This corresponds to the the maximum allowed number of elements in
4685 <a href="#controls_android.control.afRegions">android.<wbr/>control.<wbr/>af<wbr/>Regions</a>.<wbr/></p>
4689 <tr class="entries_header">
4690 <th class="th_details" colspan="5">HAL Implementation Details</th>
4692 <tr class="entry_cont">
4693 <td class="entry_details" colspan="5">
4694 <p>This entry is private to the framework.<wbr/> Fill in
4695 maxRegions to have this entry be automatically populated.<wbr/></p>
4699 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4700 <!-- end of entry -->
4703 <tr class="entry" id="static_android.control.sceneModeOverrides">
4704 <td class="entry_name
4706 android.<wbr/>control.<wbr/>scene<wbr/>Mode<wbr/>Overrides
4708 <td class="entry_type">
4709 <span class="entry_type_name">byte</span>
4710 <span class="entry_type_container">x</span>
4712 <span class="entry_type_array">
4713 3 x length(availableSceneModes)
4715 <span class="entry_type_visibility"> [system]</span>
4718 <span class="entry_type_hwlevel">[limited] </span>
4723 </td> <!-- entry_type -->
4725 <td class="entry_description">
4726 <p>Ordered list of auto-exposure,<wbr/> auto-white balance,<wbr/> and auto-focus
4727 settings to use with each available scene mode.<wbr/></p>
4730 <td class="entry_units">
4733 <td class="entry_range">
4734 <p>For each available scene mode,<wbr/> the list must contain three
4735 entries containing the <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/>
4736 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> values used
4737 by the camera device.<wbr/> The entry order is <code>(aeMode,<wbr/> awbMode,<wbr/> afMode)</code>
4738 where aeMode has the lowest index position.<wbr/></p>
4741 <td class="entry_tags">
4742 <ul class="entry_tags">
4743 <li><a href="#tag_BC">BC</a></li>
4748 <tr class="entries_header">
4749 <th class="th_details" colspan="5">Details</th>
4751 <tr class="entry_cont">
4752 <td class="entry_details" colspan="5">
4753 <p>When a scene mode is enabled,<wbr/> the camera device is expected
4754 to override <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/> <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/>
4755 and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> with its preferred settings for
4756 that scene mode.<wbr/></p>
4757 <p>The order of this list matches that of availableSceneModes,<wbr/>
4758 with 3 entries for each mode.<wbr/> The overrides listed
4759 for FACE_<wbr/>PRIORITY are ignored,<wbr/> since for that
4760 mode the application-set <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/>
4761 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> values are
4762 used instead,<wbr/> matching the behavior when <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a>
4763 is set to AUTO.<wbr/> It is recommended that the FACE_<wbr/>PRIORITY
4764 overrides should be set to 0.<wbr/></p>
4765 <p>For example,<wbr/> if availableSceneModes contains
4766 <code>(FACE_<wbr/>PRIORITY,<wbr/> ACTION,<wbr/> NIGHT)</code>,<wbr/> then the camera framework
4767 expects sceneModeOverrides to have 9 entries formatted like:
4768 <code>(0,<wbr/> 0,<wbr/> 0,<wbr/> ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/> AUTO,<wbr/> CONTINUOUS_<wbr/>PICTURE,<wbr/>
4769 ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/> INCANDESCENT,<wbr/> AUTO)</code>.<wbr/></p>
4773 <tr class="entries_header">
4774 <th class="th_details" colspan="5">HAL Implementation Details</th>
4776 <tr class="entry_cont">
4777 <td class="entry_details" colspan="5">
4778 <p>To maintain backward compatibility,<wbr/> this list will be made available
4779 in the static metadata of the camera service.<wbr/> The camera service will
4780 use these values to set <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/>
4781 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> when using a scene
4782 mode other than FACE_<wbr/>PRIORITY.<wbr/></p>
4786 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4787 <!-- end of entry -->
4790 <tr class="entry" id="static_android.control.availableHighSpeedVideoConfigurations">
4791 <td class="entry_name
4793 android.<wbr/>control.<wbr/>available<wbr/>High<wbr/>Speed<wbr/>Video<wbr/>Configurations
4795 <td class="entry_type">
4796 <span class="entry_type_name">int32</span>
4797 <span class="entry_type_container">x</span>
4799 <span class="entry_type_array">
4802 <span class="entry_type_visibility"> [hidden as highSpeedVideoConfiguration]</span>
4805 <span class="entry_type_hwlevel">[limited] </span>
4810 </td> <!-- entry_type -->
4812 <td class="entry_description">
4813 <p>List of available high speed video size and fps range configurations
4814 supported by the camera device,<wbr/> in the format of (width,<wbr/> height,<wbr/> fps_<wbr/>min,<wbr/> fps_<wbr/>max).<wbr/></p>
4817 <td class="entry_units">
4820 <td class="entry_range">
4821 <p>For each configuration,<wbr/> the fps_<wbr/>max >= 60fps.<wbr/></p>
4824 <td class="entry_tags">
4825 <ul class="entry_tags">
4826 <li><a href="#tag_V1">V1</a></li>
4831 <tr class="entries_header">
4832 <th class="th_details" colspan="5">Details</th>
4834 <tr class="entry_cont">
4835 <td class="entry_details" colspan="5">
4836 <p>When HIGH_<wbr/>SPEED_<wbr/>VIDEO is supported in <a href="#static_android.control.availableSceneModes">android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes</a>,<wbr/>
4837 this metadata will list the supported high speed video size and fps range
4838 configurations.<wbr/> All the sizes listed in this configuration will be a subset
4839 of the sizes reported by StreamConfigurationMap#getOutputSizes for processed
4840 non-stalling formats.<wbr/></p>
4841 <p>For the high speed video use case,<wbr/> where the application will set
4842 <a href="#controls_android.control.sceneMode">android.<wbr/>control.<wbr/>scene<wbr/>Mode</a> to HIGH_<wbr/>SPEED_<wbr/>VIDEO in capture requests,<wbr/> the application must
4843 select the video size and fps range from this metadata to configure the recording and
4844 preview streams and setup the recording requests.<wbr/> For example,<wbr/> if the application intends
4845 to do high speed recording,<wbr/> it can select the maximum size reported by this metadata to
4846 configure output streams.<wbr/> Once the size is selected,<wbr/> application can filter this metadata
4847 by selected size and get the supported fps ranges,<wbr/> and use these fps ranges to setup the
4848 recording requests.<wbr/> Note that for the use case of multiple output streams,<wbr/> application
4849 must select one unique size from this metadata to use.<wbr/> Otherwise a request error might
4851 <p>For normal video recording use case,<wbr/> where some application will NOT set
4852 <a href="#controls_android.control.sceneMode">android.<wbr/>control.<wbr/>scene<wbr/>Mode</a> to HIGH_<wbr/>SPEED_<wbr/>VIDEO in capture requests,<wbr/> the fps ranges
4853 reported in this metadata must not be used to setup capture requests,<wbr/> or it will cause
4854 request error.<wbr/></p>
4858 <tr class="entries_header">
4859 <th class="th_details" colspan="5">HAL Implementation Details</th>
4861 <tr class="entry_cont">
4862 <td class="entry_details" colspan="5">
4863 <p>All the sizes listed in this configuration will be a subset of the sizes reported by
4864 <a href="#static_android.scaler.availableStreamConfigurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stream<wbr/>Configurations</a> for processed non-stalling output formats.<wbr/>
4865 Note that for all high speed video configurations,<wbr/> HAL must be able to support a minimum
4866 of two streams,<wbr/> though the application might choose to configure just one stream.<wbr/></p>
4867 <p>Since the HIGH_<wbr/>SPEED_<wbr/>VIDEO mode may be turned on for preview view only case,<wbr/> the preview
4868 fps is bounded by device refresh rate (e.<wbr/>g.<wbr/> 60fps).<wbr/> For a given resolution,<wbr/> it is
4869 recommended that this list includes some fps ranges (e.<wbr/>g.<wbr/> [30,<wbr/> 60]) that is suitable
4870 for preview only streaming case.<wbr/></p>
4874 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4875 <!-- end of entry -->
4879 <!-- end of kind -->
4881 <tr><td colspan="6" class="kind">dynamic</td></tr>
4883 <thead class="entries_header">
4885 <th class="th_name">Property Name</th>
4886 <th class="th_type">Type</th>
4887 <th class="th_description">Description</th>
4888 <th class="th_units">Units</th>
4889 <th class="th_range">Range</th>
4890 <th class="th_tags">Tags</th>
4905 <tr class="entry" id="dynamic_android.control.aePrecaptureId">
4906 <td class="entry_name
4907 entry_name_deprecated
4909 android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Id
4911 <td class="entry_type">
4912 <span class="entry_type_name">int32</span>
4914 <span class="entry_type_visibility"> [system]</span>
4918 <span class="entry_type_deprecated">[deprecated] </span>
4922 </td> <!-- entry_type -->
4924 <td class="entry_description">
4925 <p>The ID sent with the latest
4926 CAMERA2_<wbr/>TRIGGER_<wbr/>PRECAPTURE_<wbr/>METERING call</p>
4929 <td class="entry_units">
4932 <td class="entry_range">
4933 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
4936 <td class="entry_tags">
4940 <tr class="entries_header">
4941 <th class="th_details" colspan="5">Details</th>
4943 <tr class="entry_cont">
4944 <td class="entry_details" colspan="5">
4946 CAMERA2_<wbr/>TRIGGER_<wbr/>PRECAPTURE_<wbr/>METERING trigger received yet
4947 by HAL.<wbr/> Always updated even if AE algorithm ignores the
4953 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
4954 <!-- end of entry -->
4957 <tr class="entry" id="dynamic_android.control.aeAntibandingMode">
4958 <td class="entry_name
4960 android.<wbr/>control.<wbr/>ae<wbr/>Antibanding<wbr/>Mode
4962 <td class="entry_type">
4963 <span class="entry_type_name entry_type_name_enum">byte</span>
4965 <span class="entry_type_visibility"> [public]</span>
4968 <span class="entry_type_hwlevel">[legacy] </span>
4972 <ul class="entry_type_enum">
4974 <span class="entry_type_enum_name">OFF</span>
4975 <span class="entry_type_enum_notes"><p>The camera device will not adjust exposure duration to
4976 avoid banding problems.<wbr/></p></span>
4979 <span class="entry_type_enum_name">50HZ</span>
4980 <span class="entry_type_enum_notes"><p>The camera device will adjust exposure duration to
4981 avoid banding problems with 50Hz illumination sources.<wbr/></p></span>
4984 <span class="entry_type_enum_name">60HZ</span>
4985 <span class="entry_type_enum_notes"><p>The camera device will adjust exposure duration to
4986 avoid banding problems with 60Hz illumination
4987 sources.<wbr/></p></span>
4990 <span class="entry_type_enum_name">AUTO</span>
4991 <span class="entry_type_enum_notes"><p>The camera device will automatically adapt its
4992 antibanding routine to the current illumination
4993 conditions.<wbr/> This is the default.<wbr/></p></span>
4997 </td> <!-- entry_type -->
4999 <td class="entry_description">
5000 <p>The desired setting for the camera device's auto-exposure
5001 algorithm's antibanding compensation.<wbr/></p>
5004 <td class="entry_units">
5007 <td class="entry_range">
5008 <p><a href="#static_android.control.aeAvailableAntibandingModes">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Antibanding<wbr/>Modes</a></p>
5011 <td class="entry_tags">
5012 <ul class="entry_tags">
5013 <li><a href="#tag_BC">BC</a></li>
5018 <tr class="entries_header">
5019 <th class="th_details" colspan="5">Details</th>
5021 <tr class="entry_cont">
5022 <td class="entry_details" colspan="5">
5023 <p>Some kinds of lighting fixtures,<wbr/> such as some fluorescent
5024 lights,<wbr/> flicker at the rate of the power supply frequency
5025 (60Hz or 50Hz,<wbr/> depending on country).<wbr/> While this is
5026 typically not noticeable to a person,<wbr/> it can be visible to
5027 a camera device.<wbr/> If a camera sets its exposure time to the
5028 wrong value,<wbr/> the flicker may become visible in the
5029 viewfinder as flicker or in a final captured image,<wbr/> as a
5030 set of variable-brightness bands across the image.<wbr/></p>
5031 <p>Therefore,<wbr/> the auto-exposure routines of camera devices
5032 include antibanding routines that ensure that the chosen
5033 exposure value will not cause such banding.<wbr/> The choice of
5034 exposure time depends on the rate of flicker,<wbr/> which the
5035 camera device can detect automatically,<wbr/> or the expected
5036 rate can be selected by the application using this
5038 <p>A given camera device may not support all of the possible
5039 options for the antibanding mode.<wbr/> The
5040 <a href="#static_android.control.aeAvailableAntibandingModes">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Antibanding<wbr/>Modes</a> key contains
5041 the available modes for a given camera device.<wbr/></p>
5042 <p>The default mode is AUTO,<wbr/> which is supported by all
5043 camera devices.<wbr/></p>
5044 <p>If manual exposure control is enabled (by setting
5045 <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> or <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> to OFF),<wbr/>
5046 then this setting has no effect,<wbr/> and the application must
5047 ensure it selects exposure times that do not cause banding
5048 issues.<wbr/> The <a href="#dynamic_android.statistics.sceneFlicker">android.<wbr/>statistics.<wbr/>scene<wbr/>Flicker</a> key can assist
5049 the application in this.<wbr/></p>
5053 <tr class="entries_header">
5054 <th class="th_details" colspan="5">HAL Implementation Details</th>
5056 <tr class="entry_cont">
5057 <td class="entry_details" colspan="5">
5058 <p>For all capture request templates,<wbr/> this field must be set
5059 to AUTO.<wbr/> AUTO is the only mode that must supported;
5060 OFF,<wbr/> 50HZ,<wbr/> 60HZ are all optional.<wbr/></p>
5061 <p>If manual exposure control is enabled (by setting
5062 <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> or <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> to OFF),<wbr/>
5063 then the exposure values provided by the application must not be
5064 adjusted for antibanding.<wbr/></p>
5068 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
5069 <!-- end of entry -->
5072 <tr class="entry" id="dynamic_android.control.aeExposureCompensation">
5073 <td class="entry_name
5075 android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation
5077 <td class="entry_type">
5078 <span class="entry_type_name">int32</span>
5080 <span class="entry_type_visibility"> [public]</span>
5083 <span class="entry_type_hwlevel">[legacy] </span>
5088 </td> <!-- entry_type -->
5090 <td class="entry_description">
5091 <p>Adjustment to auto-exposure (AE) target image
5092 brightness.<wbr/></p>
5095 <td class="entry_units">
5099 <td class="entry_range">
5100 <p><a href="#static_android.control.aeCompensationRange">android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Range</a></p>
5103 <td class="entry_tags">
5104 <ul class="entry_tags">
5105 <li><a href="#tag_BC">BC</a></li>
5110 <tr class="entries_header">
5111 <th class="th_details" colspan="5">Details</th>
5113 <tr class="entry_cont">
5114 <td class="entry_details" colspan="5">
5115 <p>The adjustment is measured as a count of steps,<wbr/> with the
5116 step size defined by <a href="#static_android.control.aeCompensationStep">android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Step</a> and the
5117 allowed range by <a href="#static_android.control.aeCompensationRange">android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Range</a>.<wbr/></p>
5118 <p>For example,<wbr/> if the exposure value (EV) step is 0.<wbr/>333,<wbr/> '6'
5119 will mean an exposure compensation of +2 EV; -3 will mean an
5120 exposure compensation of -1 EV.<wbr/> One EV represents a doubling
5121 of image brightness.<wbr/> Note that this control will only be
5122 effective if <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> <code>!=</code> OFF.<wbr/> This control
5123 will take effect even when <a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> <code>== true</code>.<wbr/></p>
5124 <p>In the event of exposure compensation value being changed,<wbr/> camera device
5125 may take several frames to reach the newly requested exposure target.<wbr/>
5126 During that time,<wbr/> <a href="#dynamic_android.control.aeState">android.<wbr/>control.<wbr/>ae<wbr/>State</a> field will be in the SEARCHING
5127 state.<wbr/> Once the new exposure target is reached,<wbr/> <a href="#dynamic_android.control.aeState">android.<wbr/>control.<wbr/>ae<wbr/>State</a> will
5128 change from SEARCHING to either CONVERGED,<wbr/> LOCKED (if AE lock is enabled),<wbr/> or
5129 FLASH_<wbr/>REQUIRED (if the scene is too dark for still capture).<wbr/></p>
5134 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
5135 <!-- end of entry -->
5138 <tr class="entry" id="dynamic_android.control.aeLock">
5139 <td class="entry_name
5141 android.<wbr/>control.<wbr/>ae<wbr/>Lock
5143 <td class="entry_type">
5144 <span class="entry_type_name entry_type_name_enum">byte</span>
5146 <span class="entry_type_visibility"> [public as boolean]</span>
5149 <span class="entry_type_hwlevel">[legacy] </span>
5153 <ul class="entry_type_enum">
5155 <span class="entry_type_enum_name">OFF</span>
5156 <span class="entry_type_enum_notes"><p>Auto-exposure lock is disabled; the AE algorithm
5157 is free to update its parameters.<wbr/></p></span>
5160 <span class="entry_type_enum_name">ON</span>
5161 <span class="entry_type_enum_notes"><p>Auto-exposure lock is enabled; the AE algorithm
5162 must not update the exposure and sensitivity parameters
5163 while the lock is active.<wbr/></p>
5164 <p><a href="#controls_android.control.aeExposureCompensation">android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation</a> setting changes
5165 will still take effect while auto-exposure is locked.<wbr/></p>
5166 <p>Some rare LEGACY devices may not support
5167 this,<wbr/> in which case the value will always be overridden to OFF.<wbr/></p></span>
5171 </td> <!-- entry_type -->
5173 <td class="entry_description">
5174 <p>Whether auto-exposure (AE) is currently locked to its latest
5175 calculated values.<wbr/></p>
5178 <td class="entry_units">
5181 <td class="entry_range">
5184 <td class="entry_tags">
5185 <ul class="entry_tags">
5186 <li><a href="#tag_BC">BC</a></li>
5191 <tr class="entries_header">
5192 <th class="th_details" colspan="5">Details</th>
5194 <tr class="entry_cont">
5195 <td class="entry_details" colspan="5">
5196 <p>When set to <code>true</code> (ON),<wbr/> the AE algorithm is locked to its latest parameters,<wbr/>
5197 and will not change exposure settings until the lock is set to <code>false</code> (OFF).<wbr/></p>
5198 <p>Note that even when AE is locked,<wbr/> the flash may be fired if
5199 the <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is ON_<wbr/>AUTO_<wbr/>FLASH /<wbr/>
5200 ON_<wbr/>ALWAYS_<wbr/>FLASH /<wbr/> ON_<wbr/>AUTO_<wbr/>FLASH_<wbr/>REDEYE.<wbr/></p>
5201 <p>When <a href="#controls_android.control.aeExposureCompensation">android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation</a> is changed,<wbr/> even if the AE lock
5202 is ON,<wbr/> the camera device will still adjust its exposure value.<wbr/></p>
5203 <p>If AE precapture is triggered (see <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>)
5204 when AE is already locked,<wbr/> the camera device will not change the exposure time
5205 (<a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>) and sensitivity (<a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>)
5206 parameters.<wbr/> The flash may be fired if the <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>
5207 is ON_<wbr/>AUTO_<wbr/>FLASH/<wbr/>ON_<wbr/>AUTO_<wbr/>FLASH_<wbr/>REDEYE and the scene is too dark.<wbr/> If the
5208 <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is ON_<wbr/>ALWAYS_<wbr/>FLASH,<wbr/> the scene may become overexposed.<wbr/></p>
5209 <p>Since the camera device has a pipeline of in-flight requests,<wbr/> the settings that
5210 get locked do not necessarily correspond to the settings that were present in the
5211 latest capture result received from the camera device,<wbr/> since additional captures
5212 and AE updates may have occurred even before the result was sent out.<wbr/> If an
5213 application is switching between automatic and manual control and wishes to eliminate
5214 any flicker during the switch,<wbr/> the following procedure is recommended:</p>
5216 <li>Starting in auto-AE mode:</li>
5218 <li>Wait for the first result to be output that has the AE locked</li>
5219 <li>Copy exposure settings from that result into a request,<wbr/> set the request to manual AE</li>
5220 <li>Submit the capture request,<wbr/> proceed to run manual AE as desired.<wbr/></li>
5222 <p>See <a href="#dynamic_android.control.aeState">android.<wbr/>control.<wbr/>ae<wbr/>State</a> for AE lock related state transition details.<wbr/></p>
5227 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
5228 <!-- end of entry -->
5231 <tr class="entry" id="dynamic_android.control.aeMode">
5232 <td class="entry_name
5234 android.<wbr/>control.<wbr/>ae<wbr/>Mode
5236 <td class="entry_type">
5237 <span class="entry_type_name entry_type_name_enum">byte</span>
5239 <span class="entry_type_visibility"> [public]</span>
5242 <span class="entry_type_hwlevel">[legacy] </span>
5246 <ul class="entry_type_enum">
5248 <span class="entry_type_enum_name">OFF</span>
5249 <span class="entry_type_enum_notes"><p>The camera device's autoexposure routine is disabled.<wbr/></p>
5250 <p>The application-selected <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/>
5251 <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a> and
5252 <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> are used by the camera
5253 device,<wbr/> along with android.<wbr/>flash.<wbr/>* fields,<wbr/> if there's
5254 a flash unit for this camera device.<wbr/></p>
5255 <p>LEGACY devices do not support the OFF mode and will
5256 override attempts to use this value to ON.<wbr/></p></span>
5259 <span class="entry_type_enum_name">ON</span>
5260 <span class="entry_type_enum_notes"><p>The camera device's autoexposure routine is active,<wbr/>
5261 with no flash control.<wbr/></p>
5262 <p>The application's values for
5263 <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/>
5264 <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and
5265 <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> are ignored.<wbr/> The
5266 application has control over the various
5267 android.<wbr/>flash.<wbr/>* fields.<wbr/></p></span>
5270 <span class="entry_type_enum_name">ON_AUTO_FLASH</span>
5271 <span class="entry_type_enum_notes"><p>Like ON,<wbr/> except that the camera device also controls
5272 the camera's flash unit,<wbr/> firing it in low-light
5273 conditions.<wbr/></p>
5274 <p>The flash may be fired during a precapture sequence
5275 (triggered by <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>) and
5276 may be fired for captures for which the
5277 <a href="#controls_android.control.captureIntent">android.<wbr/>control.<wbr/>capture<wbr/>Intent</a> field is set to
5278 STILL_<wbr/>CAPTURE</p></span>
5281 <span class="entry_type_enum_name">ON_ALWAYS_FLASH</span>
5282 <span class="entry_type_enum_notes"><p>Like ON,<wbr/> except that the camera device also controls
5283 the camera's flash unit,<wbr/> always firing it for still
5285 <p>The flash may be fired during a precapture sequence
5286 (triggered by <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>) and
5287 will always be fired for captures for which the
5288 <a href="#controls_android.control.captureIntent">android.<wbr/>control.<wbr/>capture<wbr/>Intent</a> field is set to
5289 STILL_<wbr/>CAPTURE</p></span>
5292 <span class="entry_type_enum_name">ON_AUTO_FLASH_REDEYE</span>
5293 <span class="entry_type_enum_notes"><p>Like ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/> but with automatic red eye
5294 reduction.<wbr/></p>
5295 <p>If deemed necessary by the camera device,<wbr/> a red eye
5296 reduction flash will fire during the precapture
5297 sequence.<wbr/></p></span>
5301 </td> <!-- entry_type -->
5303 <td class="entry_description">
5304 <p>The desired mode for the camera device's
5305 auto-exposure routine.<wbr/></p>
5308 <td class="entry_units">
5311 <td class="entry_range">
5312 <p><a href="#static_android.control.aeAvailableModes">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Modes</a></p>
5315 <td class="entry_tags">
5316 <ul class="entry_tags">
5317 <li><a href="#tag_BC">BC</a></li>
5322 <tr class="entries_header">
5323 <th class="th_details" colspan="5">Details</th>
5325 <tr class="entry_cont">
5326 <td class="entry_details" colspan="5">
5327 <p>This control is only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is
5329 <p>When set to any of the ON modes,<wbr/> the camera device's
5330 auto-exposure routine is enabled,<wbr/> overriding the
5331 application's selected exposure time,<wbr/> sensor sensitivity,<wbr/>
5332 and frame duration (<a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/>
5333 <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and
5334 <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a>).<wbr/> If one of the FLASH modes
5335 is selected,<wbr/> the camera device's flash unit controls are
5336 also overridden.<wbr/></p>
5337 <p>The FLASH modes are only available if the camera device
5338 has a flash unit (<a href="#static_android.flash.info.available">android.<wbr/>flash.<wbr/>info.<wbr/>available</a> is <code>true</code>).<wbr/></p>
5339 <p>If flash TORCH mode is desired,<wbr/> this field must be set to
5340 ON or OFF,<wbr/> and <a href="#controls_android.flash.mode">android.<wbr/>flash.<wbr/>mode</a> set to TORCH.<wbr/></p>
5341 <p>When set to any of the ON modes,<wbr/> the values chosen by the
5342 camera device auto-exposure routine for the overridden
5343 fields for a given capture will be available in its
5344 CaptureResult.<wbr/></p>
5349 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
5350 <!-- end of entry -->
5353 <tr class="entry" id="dynamic_android.control.aeRegions">
5354 <td class="entry_name
5356 android.<wbr/>control.<wbr/>ae<wbr/>Regions
5358 <td class="entry_type">
5359 <span class="entry_type_name">int32</span>
5360 <span class="entry_type_container">x</span>
5362 <span class="entry_type_array">
5365 <span class="entry_type_visibility"> [public as meteringRectangle]</span>
5372 </td> <!-- entry_type -->
5374 <td class="entry_description">
5375 <p>List of metering areas to use for auto-exposure adjustment.<wbr/></p>
5378 <td class="entry_units">
5379 Pixel coordinates within android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size
5382 <td class="entry_range">
5383 <p>Coordinates must be between <code>[(0,<wbr/>0),<wbr/> (width,<wbr/> height))</code> of
5384 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a></p>
5387 <td class="entry_tags">
5388 <ul class="entry_tags">
5389 <li><a href="#tag_BC">BC</a></li>
5394 <tr class="entries_header">
5395 <th class="th_details" colspan="5">Details</th>
5397 <tr class="entry_cont">
5398 <td class="entry_details" colspan="5">
5399 <p>Not available if <a href="#static_android.control.maxRegionsAe">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Ae</a> is 0.<wbr/>
5400 Otherwise will always be present.<wbr/></p>
5401 <p>The maximum number of regions supported by the device is determined by the value
5402 of <a href="#static_android.control.maxRegionsAe">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Ae</a>.<wbr/></p>
5403 <p>The coordinate system is based on the active pixel array,<wbr/>
5404 with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and
5405 (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/>
5406 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the
5407 bottom-right pixel in the active pixel array.<wbr/></p>
5408 <p>The weight must be within <code>[0,<wbr/> 1000]</code>,<wbr/> and represents a weight
5409 for every pixel in the area.<wbr/> This means that a large metering area
5410 with the same weight as a smaller area will have more effect in
5411 the metering result.<wbr/> Metering areas can partially overlap and the
5412 camera device will add the weights in the overlap region.<wbr/></p>
5413 <p>The weights are relative to weights of other exposure metering regions,<wbr/> so if only one
5414 region is used,<wbr/> all non-zero weights will have the same effect.<wbr/> A region with 0
5415 weight is ignored.<wbr/></p>
5416 <p>If all regions have 0 weight,<wbr/> then no specific metering area needs to be used by the
5417 camera device.<wbr/></p>
5418 <p>If the metering region is outside the used <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a> returned in
5419 capture result metadata,<wbr/> the camera device will ignore the sections outside the crop
5420 region and output only the intersection rectangle as the metering region in the result
5421 metadata.<wbr/> If the region is entirely outside the crop region,<wbr/> it will be ignored and
5422 not reported in the result metadata.<wbr/></p>
5426 <tr class="entries_header">
5427 <th class="th_details" colspan="5">HAL Implementation Details</th>
5429 <tr class="entry_cont">
5430 <td class="entry_details" colspan="5">
5431 <p>The HAL level representation of MeteringRectangle[] is a
5432 int[5 * area_<wbr/>count].<wbr/>
5433 Every five elements represent a metering region of
5434 (xmin,<wbr/> ymin,<wbr/> xmax,<wbr/> ymax,<wbr/> weight).<wbr/>
5435 The rectangle is defined to be inclusive on xmin and ymin,<wbr/> but
5436 exclusive on xmax and ymax.<wbr/></p>
5440 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
5441 <!-- end of entry -->
5444 <tr class="entry" id="dynamic_android.control.aeTargetFpsRange">
5445 <td class="entry_name
5447 android.<wbr/>control.<wbr/>ae<wbr/>Target<wbr/>Fps<wbr/>Range
5449 <td class="entry_type">
5450 <span class="entry_type_name">int32</span>
5451 <span class="entry_type_container">x</span>
5453 <span class="entry_type_array">
5456 <span class="entry_type_visibility"> [public as rangeInt]</span>
5459 <span class="entry_type_hwlevel">[legacy] </span>
5464 </td> <!-- entry_type -->
5466 <td class="entry_description">
5467 <p>Range over which the auto-exposure routine can
5468 adjust the capture frame rate to maintain good
5472 <td class="entry_units">
5473 Frames per second (FPS)
5476 <td class="entry_range">
5477 <p>Any of the entries in <a href="#static_android.control.aeAvailableTargetFpsRanges">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Target<wbr/>Fps<wbr/>Ranges</a></p>
5480 <td class="entry_tags">
5481 <ul class="entry_tags">
5482 <li><a href="#tag_BC">BC</a></li>
5487 <tr class="entries_header">
5488 <th class="th_details" colspan="5">Details</th>
5490 <tr class="entry_cont">
5491 <td class="entry_details" colspan="5">
5492 <p>Only constrains auto-exposure (AE) algorithm,<wbr/> not
5493 manual control of <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a> and
5494 <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a>.<wbr/></p>
5499 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
5500 <!-- end of entry -->
5503 <tr class="entry" id="dynamic_android.control.aePrecaptureTrigger">
5504 <td class="entry_name
5506 android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger
5508 <td class="entry_type">
5509 <span class="entry_type_name entry_type_name_enum">byte</span>
5511 <span class="entry_type_visibility"> [public]</span>
5514 <span class="entry_type_hwlevel">[limited] </span>
5518 <ul class="entry_type_enum">
5520 <span class="entry_type_enum_name">IDLE</span>
5521 <span class="entry_type_enum_notes"><p>The trigger is idle.<wbr/></p></span>
5524 <span class="entry_type_enum_name">START</span>
5525 <span class="entry_type_enum_notes"><p>The precapture metering sequence will be started
5526 by the camera device.<wbr/></p>
5527 <p>The exact effect of the precapture trigger depends on
5528 the current AE mode and state.<wbr/></p></span>
5532 </td> <!-- entry_type -->
5534 <td class="entry_description">
5535 <p>Whether the camera device will trigger a precapture
5536 metering sequence when it processes this request.<wbr/></p>
5539 <td class="entry_units">
5542 <td class="entry_range">
5545 <td class="entry_tags">
5546 <ul class="entry_tags">
5547 <li><a href="#tag_BC">BC</a></li>
5552 <tr class="entries_header">
5553 <th class="th_details" colspan="5">Details</th>
5555 <tr class="entry_cont">
5556 <td class="entry_details" colspan="5">
5557 <p>This entry is normally set to IDLE,<wbr/> or is not
5558 included at all in the request settings.<wbr/> When included and
5559 set to START,<wbr/> the camera device will trigger the autoexposure
5560 precapture metering sequence.<wbr/></p>
5561 <p>The precapture sequence should triggered before starting a
5562 high-quality still capture for final metering decisions to
5563 be made,<wbr/> and for firing pre-capture flash pulses to estimate
5564 scene brightness and required final capture flash power,<wbr/> when
5565 the flash is enabled.<wbr/></p>
5566 <p>Normally,<wbr/> this entry should be set to START for only a
5567 single request,<wbr/> and the application should wait until the
5568 sequence completes before starting a new one.<wbr/></p>
5569 <p>The exact effect of auto-exposure (AE) precapture trigger
5570 depends on the current AE mode and state; see
5571 <a href="#dynamic_android.control.aeState">android.<wbr/>control.<wbr/>ae<wbr/>State</a> for AE precapture state transition
5573 <p>On LEGACY-level devices,<wbr/> the precapture trigger is not supported;
5574 capturing a high-resolution JPEG image will automatically trigger a
5575 precapture sequence before the high-resolution capture,<wbr/> including
5576 potentially firing a pre-capture flash.<wbr/></p>
5581 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
5582 <!-- end of entry -->
5585 <tr class="entry" id="dynamic_android.control.aeState">
5586 <td class="entry_name
5588 android.<wbr/>control.<wbr/>ae<wbr/>State
5590 <td class="entry_type">
5591 <span class="entry_type_name entry_type_name_enum">byte</span>
5593 <span class="entry_type_visibility"> [public]</span>
5596 <span class="entry_type_hwlevel">[limited] </span>
5600 <ul class="entry_type_enum">
5602 <span class="entry_type_enum_name">INACTIVE</span>
5603 <span class="entry_type_enum_notes"><p>AE is off or recently reset.<wbr/></p>
5604 <p>When a camera device is opened,<wbr/> it starts in
5605 this state.<wbr/> This is a transient state,<wbr/> the camera device may skip reporting
5606 this state in capture result.<wbr/></p></span>
5609 <span class="entry_type_enum_name">SEARCHING</span>
5610 <span class="entry_type_enum_notes"><p>AE doesn't yet have a good set of control values
5611 for the current scene.<wbr/></p>
5612 <p>This is a transient state,<wbr/> the camera device may skip
5613 reporting this state in capture result.<wbr/></p></span>
5616 <span class="entry_type_enum_name">CONVERGED</span>
5617 <span class="entry_type_enum_notes"><p>AE has a good set of control values for the
5618 current scene.<wbr/></p></span>
5621 <span class="entry_type_enum_name">LOCKED</span>
5622 <span class="entry_type_enum_notes"><p>AE has been locked.<wbr/></p></span>
5625 <span class="entry_type_enum_name">FLASH_REQUIRED</span>
5626 <span class="entry_type_enum_notes"><p>AE has a good set of control values,<wbr/> but flash
5627 needs to be fired for good quality still
5628 capture.<wbr/></p></span>
5631 <span class="entry_type_enum_name">PRECAPTURE</span>
5632 <span class="entry_type_enum_notes"><p>AE has been asked to do a precapture sequence
5633 and is currently executing it.<wbr/></p>
5634 <p>Precapture can be triggered through setting
5635 <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a> to START.<wbr/></p>
5636 <p>Once PRECAPTURE completes,<wbr/> AE will transition to CONVERGED
5637 or FLASH_<wbr/>REQUIRED as appropriate.<wbr/> This is a transient
5638 state,<wbr/> the camera device may skip reporting this state in
5639 capture result.<wbr/></p></span>
5643 </td> <!-- entry_type -->
5645 <td class="entry_description">
5646 <p>Current state of the auto-exposure (AE) algorithm.<wbr/></p>
5649 <td class="entry_units">
5652 <td class="entry_range">
5655 <td class="entry_tags">
5659 <tr class="entries_header">
5660 <th class="th_details" colspan="5">Details</th>
5662 <tr class="entry_cont">
5663 <td class="entry_details" colspan="5">
5664 <p>Switching between or enabling AE modes (<a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>) always
5665 resets the AE state to INACTIVE.<wbr/> Similarly,<wbr/> switching between <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a>,<wbr/>
5666 or <a href="#controls_android.control.sceneMode">android.<wbr/>control.<wbr/>scene<wbr/>Mode</a> if <code><a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> == USE_<wbr/>SCENE_<wbr/>MODE</code> resets all
5667 the algorithm states to INACTIVE.<wbr/></p>
5668 <p>The camera device can do several state transitions between two results,<wbr/> if it is
5669 allowed by the state transition table.<wbr/> For example: INACTIVE may never actually be
5670 seen in a result.<wbr/></p>
5671 <p>The state in the result is the state for this image (in sync with this image): if
5672 AE state becomes CONVERGED,<wbr/> then the image data associated with this result should
5673 be good to use.<wbr/></p>
5674 <p>Below are state transition tables for different AE modes.<wbr/></p>
5678 <th align="center">State</th>
5679 <th align="center">Transition Cause</th>
5680 <th align="center">New State</th>
5681 <th align="center">Notes</th>
5686 <td align="center">INACTIVE</td>
5687 <td align="center"></td>
5688 <td align="center">INACTIVE</td>
5689 <td align="center">Camera device auto exposure algorithm is disabled</td>
5693 <p>When <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is AE_<wbr/>MODE_<wbr/>ON_<wbr/>*:</p>
5697 <th align="center">State</th>
5698 <th align="center">Transition Cause</th>
5699 <th align="center">New State</th>
5700 <th align="center">Notes</th>
5705 <td align="center">INACTIVE</td>
5706 <td align="center">Camera device initiates AE scan</td>
5707 <td align="center">SEARCHING</td>
5708 <td align="center">Values changing</td>
5711 <td align="center">INACTIVE</td>
5712 <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is ON</td>
5713 <td align="center">LOCKED</td>
5714 <td align="center">Values locked</td>
5717 <td align="center">SEARCHING</td>
5718 <td align="center">Camera device finishes AE scan</td>
5719 <td align="center">CONVERGED</td>
5720 <td align="center">Good values,<wbr/> not changing</td>
5723 <td align="center">SEARCHING</td>
5724 <td align="center">Camera device finishes AE scan</td>
5725 <td align="center">FLASH_<wbr/>REQUIRED</td>
5726 <td align="center">Converged but too dark w/<wbr/>o flash</td>
5729 <td align="center">SEARCHING</td>
5730 <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is ON</td>
5731 <td align="center">LOCKED</td>
5732 <td align="center">Values locked</td>
5735 <td align="center">CONVERGED</td>
5736 <td align="center">Camera device initiates AE scan</td>
5737 <td align="center">SEARCHING</td>
5738 <td align="center">Values changing</td>
5741 <td align="center">CONVERGED</td>
5742 <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is ON</td>
5743 <td align="center">LOCKED</td>
5744 <td align="center">Values locked</td>
5747 <td align="center">FLASH_<wbr/>REQUIRED</td>
5748 <td align="center">Camera device initiates AE scan</td>
5749 <td align="center">SEARCHING</td>
5750 <td align="center">Values changing</td>
5753 <td align="center">FLASH_<wbr/>REQUIRED</td>
5754 <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is ON</td>
5755 <td align="center">LOCKED</td>
5756 <td align="center">Values locked</td>
5759 <td align="center">LOCKED</td>
5760 <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is OFF</td>
5761 <td align="center">SEARCHING</td>
5762 <td align="center">Values not good after unlock</td>
5765 <td align="center">LOCKED</td>
5766 <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is OFF</td>
5767 <td align="center">CONVERGED</td>
5768 <td align="center">Values good after unlock</td>
5771 <td align="center">LOCKED</td>
5772 <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is OFF</td>
5773 <td align="center">FLASH_<wbr/>REQUIRED</td>
5774 <td align="center">Exposure good,<wbr/> but too dark</td>
5777 <td align="center">PRECAPTURE</td>
5778 <td align="center">Sequence done.<wbr/> <a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is OFF</td>
5779 <td align="center">CONVERGED</td>
5780 <td align="center">Ready for high-quality capture</td>
5783 <td align="center">PRECAPTURE</td>
5784 <td align="center">Sequence done.<wbr/> <a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is ON</td>
5785 <td align="center">LOCKED</td>
5786 <td align="center">Ready for high-quality capture</td>
5789 <td align="center">Any state</td>
5790 <td align="center"><a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a> is START</td>
5791 <td align="center">PRECAPTURE</td>
5792 <td align="center">Start AE precapture metering sequence</td>
5796 <p>For the above table,<wbr/> the camera device may skip reporting any state changes that happen
5797 without application intervention (i.<wbr/>e.<wbr/> mode switch,<wbr/> trigger,<wbr/> locking).<wbr/> Any state that
5798 can be skipped in that manner is called a transient state.<wbr/></p>
5799 <p>For example,<wbr/> for above AE modes (AE_<wbr/>MODE_<wbr/>ON_<wbr/>*),<wbr/> in addition to the state transitions
5800 listed in above table,<wbr/> it is also legal for the camera device to skip one or more
5801 transient states between two results.<wbr/> See below table for examples:</p>
5805 <th align="center">State</th>
5806 <th align="center">Transition Cause</th>
5807 <th align="center">New State</th>
5808 <th align="center">Notes</th>
5813 <td align="center">INACTIVE</td>
5814 <td align="center">Camera device finished AE scan</td>
5815 <td align="center">CONVERGED</td>
5816 <td align="center">Values are already good,<wbr/> transient states are skipped by camera device.<wbr/></td>
5819 <td align="center">Any state</td>
5820 <td align="center"><a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a> is START,<wbr/> sequence done</td>
5821 <td align="center">FLASH_<wbr/>REQUIRED</td>
5822 <td align="center">Converged but too dark w/<wbr/>o flash after a precapture sequence,<wbr/> transient states are skipped by camera device.<wbr/></td>
5825 <td align="center">Any state</td>
5826 <td align="center"><a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a> is START,<wbr/> sequence done</td>
5827 <td align="center">CONVERGED</td>
5828 <td align="center">Converged after a precapture sequence,<wbr/> transient states are skipped by camera device.<wbr/></td>
5831 <td align="center">CONVERGED</td>
5832 <td align="center">Camera device finished AE scan</td>
5833 <td align="center">FLASH_<wbr/>REQUIRED</td>
5834 <td align="center">Converged but too dark w/<wbr/>o flash after a new scan,<wbr/> transient states are skipped by camera device.<wbr/></td>
5837 <td align="center">FLASH_<wbr/>REQUIRED</td>
5838 <td align="center">Camera device finished AE scan</td>
5839 <td align="center">CONVERGED</td>
5840 <td align="center">Converged after a new scan,<wbr/> transient states are skipped by camera device.<wbr/></td>
5848 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
5849 <!-- end of entry -->
5852 <tr class="entry" id="dynamic_android.control.afMode">
5853 <td class="entry_name
5855 android.<wbr/>control.<wbr/>af<wbr/>Mode
5857 <td class="entry_type">
5858 <span class="entry_type_name entry_type_name_enum">byte</span>
5860 <span class="entry_type_visibility"> [public]</span>
5863 <span class="entry_type_hwlevel">[legacy] </span>
5867 <ul class="entry_type_enum">
5869 <span class="entry_type_enum_name">OFF</span>
5870 <span class="entry_type_enum_notes"><p>The auto-focus routine does not control the lens;
5871 <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> is controlled by the
5872 application.<wbr/></p></span>
5875 <span class="entry_type_enum_name">AUTO</span>
5876 <span class="entry_type_enum_notes"><p>Basic automatic focus mode.<wbr/></p>
5877 <p>In this mode,<wbr/> the lens does not move unless
5878 the autofocus trigger action is called.<wbr/> When that trigger
5879 is activated,<wbr/> AF will transition to ACTIVE_<wbr/>SCAN,<wbr/> then to
5880 the outcome of the scan (FOCUSED or NOT_<wbr/>FOCUSED).<wbr/></p>
5881 <p>Always supported if lens is not fixed focus.<wbr/></p>
5882 <p>Use <a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a> to determine if lens
5883 is fixed-focus.<wbr/></p>
5884 <p>Triggering AF_<wbr/>CANCEL resets the lens position to default,<wbr/>
5885 and sets the AF state to INACTIVE.<wbr/></p></span>
5888 <span class="entry_type_enum_name">MACRO</span>
5889 <span class="entry_type_enum_notes"><p>Close-up focusing mode.<wbr/></p>
5890 <p>In this mode,<wbr/> the lens does not move unless the
5891 autofocus trigger action is called.<wbr/> When that trigger is
5892 activated,<wbr/> AF will transition to ACTIVE_<wbr/>SCAN,<wbr/> then to
5893 the outcome of the scan (FOCUSED or NOT_<wbr/>FOCUSED).<wbr/> This
5894 mode is optimized for focusing on objects very close to
5895 the camera.<wbr/></p>
5896 <p>When that trigger is activated,<wbr/> AF will transition to
5897 ACTIVE_<wbr/>SCAN,<wbr/> then to the outcome of the scan (FOCUSED or
5898 NOT_<wbr/>FOCUSED).<wbr/> Triggering cancel AF resets the lens
5899 position to default,<wbr/> and sets the AF state to
5900 INACTIVE.<wbr/></p></span>
5903 <span class="entry_type_enum_name">CONTINUOUS_VIDEO</span>
5904 <span class="entry_type_enum_notes"><p>In this mode,<wbr/> the AF algorithm modifies the lens
5905 position continually to attempt to provide a
5906 constantly-in-focus image stream.<wbr/></p>
5907 <p>The focusing behavior should be suitable for good quality
5908 video recording; typically this means slower focus
5909 movement and no overshoots.<wbr/> When the AF trigger is not
5910 involved,<wbr/> the AF algorithm should start in INACTIVE state,<wbr/>
5911 and then transition into PASSIVE_<wbr/>SCAN and PASSIVE_<wbr/>FOCUSED
5912 states as appropriate.<wbr/> When the AF trigger is activated,<wbr/>
5913 the algorithm should immediately transition into
5914 AF_<wbr/>FOCUSED or AF_<wbr/>NOT_<wbr/>FOCUSED as appropriate,<wbr/> and lock the
5915 lens position until a cancel AF trigger is received.<wbr/></p>
5916 <p>Once cancel is received,<wbr/> the algorithm should transition
5917 back to INACTIVE and resume passive scan.<wbr/> Note that this
5918 behavior is not identical to CONTINUOUS_<wbr/>PICTURE,<wbr/> since an
5919 ongoing PASSIVE_<wbr/>SCAN must immediately be
5920 canceled.<wbr/></p></span>
5923 <span class="entry_type_enum_name">CONTINUOUS_PICTURE</span>
5924 <span class="entry_type_enum_notes"><p>In this mode,<wbr/> the AF algorithm modifies the lens
5925 position continually to attempt to provide a
5926 constantly-in-focus image stream.<wbr/></p>
5927 <p>The focusing behavior should be suitable for still image
5928 capture; typically this means focusing as fast as
5929 possible.<wbr/> When the AF trigger is not involved,<wbr/> the AF
5930 algorithm should start in INACTIVE state,<wbr/> and then
5931 transition into PASSIVE_<wbr/>SCAN and PASSIVE_<wbr/>FOCUSED states as
5932 appropriate as it attempts to maintain focus.<wbr/> When the AF
5933 trigger is activated,<wbr/> the algorithm should finish its
5934 PASSIVE_<wbr/>SCAN if active,<wbr/> and then transition into
5935 AF_<wbr/>FOCUSED or AF_<wbr/>NOT_<wbr/>FOCUSED as appropriate,<wbr/> and lock the
5936 lens position until a cancel AF trigger is received.<wbr/></p>
5937 <p>When the AF cancel trigger is activated,<wbr/> the algorithm
5938 should transition back to INACTIVE and then act as if it
5939 has just been started.<wbr/></p></span>
5942 <span class="entry_type_enum_name">EDOF</span>
5943 <span class="entry_type_enum_notes"><p>Extended depth of field (digital focus) mode.<wbr/></p>
5944 <p>The camera device will produce images with an extended
5945 depth of field automatically; no special focusing
5946 operations need to be done before taking a picture.<wbr/></p>
5947 <p>AF triggers are ignored,<wbr/> and the AF state will always be
5948 INACTIVE.<wbr/></p></span>
5952 </td> <!-- entry_type -->
5954 <td class="entry_description">
5955 <p>Whether auto-focus (AF) is currently enabled,<wbr/> and what
5956 mode it is set to.<wbr/></p>
5959 <td class="entry_units">
5962 <td class="entry_range">
5963 <p><a href="#static_android.control.afAvailableModes">android.<wbr/>control.<wbr/>af<wbr/>Available<wbr/>Modes</a></p>
5966 <td class="entry_tags">
5967 <ul class="entry_tags">
5968 <li><a href="#tag_BC">BC</a></li>
5973 <tr class="entries_header">
5974 <th class="th_details" colspan="5">Details</th>
5976 <tr class="entry_cont">
5977 <td class="entry_details" colspan="5">
5978 <p>Only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> = AUTO and the lens is not fixed focus
5979 (i.<wbr/>e.<wbr/> <code><a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a> > 0</code>).<wbr/></p>
5980 <p>If the lens is controlled by the camera device auto-focus algorithm,<wbr/>
5981 the camera device will report the current AF status in <a href="#dynamic_android.control.afState">android.<wbr/>control.<wbr/>af<wbr/>State</a>
5982 in result metadata.<wbr/></p>
5986 <tr class="entries_header">
5987 <th class="th_details" colspan="5">HAL Implementation Details</th>
5989 <tr class="entry_cont">
5990 <td class="entry_details" colspan="5">
5991 <p>When afMode is AUTO or MACRO,<wbr/> the lens must not move until an AF trigger is sent in a
5992 request (<a href="#controls_android.control.afTrigger">android.<wbr/>control.<wbr/>af<wbr/>Trigger</a> <code>==</code> START).<wbr/> After an AF trigger,<wbr/> the afState will end
5993 up with either FOCUSED_<wbr/>LOCKED or NOT_<wbr/>FOCUSED_<wbr/>LOCKED state (see
5994 <a href="#dynamic_android.control.afState">android.<wbr/>control.<wbr/>af<wbr/>State</a> for detailed state transitions),<wbr/> which indicates that the lens is
5995 locked and will not move.<wbr/> If camera movement (e.<wbr/>g.<wbr/> tilting camera) causes the lens to move
5996 after the lens is locked,<wbr/> the HAL must compensate this movement appropriately such that
5997 the same focal plane remains in focus.<wbr/></p>
5998 <p>When afMode is one of the continuous auto focus modes,<wbr/> the HAL is free to start a AF
5999 scan whenever it's not locked.<wbr/> When the lens is locked after an AF trigger
6000 (see <a href="#dynamic_android.control.afState">android.<wbr/>control.<wbr/>af<wbr/>State</a> for detailed state transitions),<wbr/> the HAL should maintain the
6001 same lock behavior as above.<wbr/></p>
6002 <p>When afMode is OFF,<wbr/> the application controls focus manually.<wbr/> The accuracy of the
6003 focus distance control depends on the <a href="#static_android.lens.info.focusDistanceCalibration">android.<wbr/>lens.<wbr/>info.<wbr/>focus<wbr/>Distance<wbr/>Calibration</a>.<wbr/>
6004 However,<wbr/> the lens must not move regardless of the camera movement for any focus distance
6005 manual control.<wbr/></p>
6006 <p>To put this in concrete terms,<wbr/> if the camera has lens elements which may move based on
6007 camera orientation or motion (e.<wbr/>g.<wbr/> due to gravity),<wbr/> then the HAL must drive the lens to
6008 remain in a fixed position invariant to the camera's orientation or motion,<wbr/> for example,<wbr/>
6009 by using accelerometer measurements in the lens control logic.<wbr/> This is a typical issue
6010 that will arise on camera modules with open-loop VCMs.<wbr/></p>
6014 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
6015 <!-- end of entry -->
6018 <tr class="entry" id="dynamic_android.control.afRegions">
6019 <td class="entry_name
6021 android.<wbr/>control.<wbr/>af<wbr/>Regions
6023 <td class="entry_type">
6024 <span class="entry_type_name">int32</span>
6025 <span class="entry_type_container">x</span>
6027 <span class="entry_type_array">
6030 <span class="entry_type_visibility"> [public as meteringRectangle]</span>
6037 </td> <!-- entry_type -->
6039 <td class="entry_description">
6040 <p>List of metering areas to use for auto-focus.<wbr/></p>
6043 <td class="entry_units">
6044 Pixel coordinates within android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size
6047 <td class="entry_range">
6048 <p>Coordinates must be between <code>[(0,<wbr/>0),<wbr/> (width,<wbr/> height))</code> of
6049 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a></p>
6052 <td class="entry_tags">
6053 <ul class="entry_tags">
6054 <li><a href="#tag_BC">BC</a></li>
6059 <tr class="entries_header">
6060 <th class="th_details" colspan="5">Details</th>
6062 <tr class="entry_cont">
6063 <td class="entry_details" colspan="5">
6064 <p>Not available if <a href="#static_android.control.maxRegionsAf">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Af</a> is 0.<wbr/>
6065 Otherwise will always be present.<wbr/></p>
6066 <p>The maximum number of focus areas supported by the device is determined by the value
6067 of <a href="#static_android.control.maxRegionsAf">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Af</a>.<wbr/></p>
6068 <p>The coordinate system is based on the active pixel array,<wbr/>
6069 with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and
6070 (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/>
6071 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the
6072 bottom-right pixel in the active pixel array.<wbr/></p>
6073 <p>The weight must be within <code>[0,<wbr/> 1000]</code>,<wbr/> and represents a weight
6074 for every pixel in the area.<wbr/> This means that a large metering area
6075 with the same weight as a smaller area will have more effect in
6076 the metering result.<wbr/> Metering areas can partially overlap and the
6077 camera device will add the weights in the overlap region.<wbr/></p>
6078 <p>The weights are relative to weights of other metering regions,<wbr/> so if only one region
6079 is used,<wbr/> all non-zero weights will have the same effect.<wbr/> A region with 0 weight is
6081 <p>If all regions have 0 weight,<wbr/> then no specific metering area needs to be used by the
6082 camera device.<wbr/></p>
6083 <p>If the metering region is outside the used <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a> returned in
6084 capture result metadata,<wbr/> the camera device will ignore the sections outside the crop
6085 region and output only the intersection rectangle as the metering region in the result
6086 metadata.<wbr/> If the region is entirely outside the crop region,<wbr/> it will be ignored and
6087 not reported in the result metadata.<wbr/></p>
6091 <tr class="entries_header">
6092 <th class="th_details" colspan="5">HAL Implementation Details</th>
6094 <tr class="entry_cont">
6095 <td class="entry_details" colspan="5">
6096 <p>The HAL level representation of MeteringRectangle[] is a
6097 int[5 * area_<wbr/>count].<wbr/>
6098 Every five elements represent a metering region of
6099 (xmin,<wbr/> ymin,<wbr/> xmax,<wbr/> ymax,<wbr/> weight).<wbr/>
6100 The rectangle is defined to be inclusive on xmin and ymin,<wbr/> but
6101 exclusive on xmax and ymax.<wbr/></p>
6105 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
6106 <!-- end of entry -->
6109 <tr class="entry" id="dynamic_android.control.afTrigger">
6110 <td class="entry_name
6112 android.<wbr/>control.<wbr/>af<wbr/>Trigger
6114 <td class="entry_type">
6115 <span class="entry_type_name entry_type_name_enum">byte</span>
6117 <span class="entry_type_visibility"> [public]</span>
6120 <span class="entry_type_hwlevel">[legacy] </span>
6124 <ul class="entry_type_enum">
6126 <span class="entry_type_enum_name">IDLE</span>
6127 <span class="entry_type_enum_notes"><p>The trigger is idle.<wbr/></p></span>
6130 <span class="entry_type_enum_name">START</span>
6131 <span class="entry_type_enum_notes"><p>Autofocus will trigger now.<wbr/></p></span>
6134 <span class="entry_type_enum_name">CANCEL</span>
6135 <span class="entry_type_enum_notes"><p>Autofocus will return to its initial
6136 state,<wbr/> and cancel any currently active trigger.<wbr/></p></span>
6140 </td> <!-- entry_type -->
6142 <td class="entry_description">
6143 <p>Whether the camera device will trigger autofocus for this request.<wbr/></p>
6146 <td class="entry_units">
6149 <td class="entry_range">
6152 <td class="entry_tags">
6153 <ul class="entry_tags">
6154 <li><a href="#tag_BC">BC</a></li>
6159 <tr class="entries_header">
6160 <th class="th_details" colspan="5">Details</th>
6162 <tr class="entry_cont">
6163 <td class="entry_details" colspan="5">
6164 <p>This entry is normally set to IDLE,<wbr/> or is not
6165 included at all in the request settings.<wbr/></p>
6166 <p>When included and set to START,<wbr/> the camera device will trigger the
6167 autofocus algorithm.<wbr/> If autofocus is disabled,<wbr/> this trigger has no effect.<wbr/></p>
6168 <p>When set to CANCEL,<wbr/> the camera device will cancel any active trigger,<wbr/>
6169 and return to its initial AF state.<wbr/></p>
6170 <p>Generally,<wbr/> applications should set this entry to START or CANCEL for only a
6171 single capture,<wbr/> and then return it to IDLE (or not set at all).<wbr/> Specifying
6172 START for multiple captures in a row means restarting the AF operation over
6173 and over again.<wbr/></p>
6174 <p>See <a href="#dynamic_android.control.afState">android.<wbr/>control.<wbr/>af<wbr/>State</a> for what the trigger means for each AF mode.<wbr/></p>
6179 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
6180 <!-- end of entry -->
6183 <tr class="entry" id="dynamic_android.control.afState">
6184 <td class="entry_name
6186 android.<wbr/>control.<wbr/>af<wbr/>State
6188 <td class="entry_type">
6189 <span class="entry_type_name entry_type_name_enum">byte</span>
6191 <span class="entry_type_visibility"> [public]</span>
6194 <span class="entry_type_hwlevel">[legacy] </span>
6198 <ul class="entry_type_enum">
6200 <span class="entry_type_enum_name">INACTIVE</span>
6201 <span class="entry_type_enum_notes"><p>AF is off or has not yet tried to scan/<wbr/>been asked
6203 <p>When a camera device is opened,<wbr/> it starts in this
6204 state.<wbr/> This is a transient state,<wbr/> the camera device may
6205 skip reporting this state in capture
6206 result.<wbr/></p></span>
6209 <span class="entry_type_enum_name">PASSIVE_SCAN</span>
6210 <span class="entry_type_enum_notes"><p>AF is currently performing an AF scan initiated the
6211 camera device in a continuous autofocus mode.<wbr/></p>
6212 <p>Only used by CONTINUOUS_<wbr/>* AF modes.<wbr/> This is a transient
6213 state,<wbr/> the camera device may skip reporting this state in
6214 capture result.<wbr/></p></span>
6217 <span class="entry_type_enum_name">PASSIVE_FOCUSED</span>
6218 <span class="entry_type_enum_notes"><p>AF currently believes it is in focus,<wbr/> but may
6219 restart scanning at any time.<wbr/></p>
6220 <p>Only used by CONTINUOUS_<wbr/>* AF modes.<wbr/> This is a transient
6221 state,<wbr/> the camera device may skip reporting this state in
6222 capture result.<wbr/></p></span>
6225 <span class="entry_type_enum_name">ACTIVE_SCAN</span>
6226 <span class="entry_type_enum_notes"><p>AF is performing an AF scan because it was
6227 triggered by AF trigger.<wbr/></p>
6228 <p>Only used by AUTO or MACRO AF modes.<wbr/> This is a transient
6229 state,<wbr/> the camera device may skip reporting this state in
6230 capture result.<wbr/></p></span>
6233 <span class="entry_type_enum_name">FOCUSED_LOCKED</span>
6234 <span class="entry_type_enum_notes"><p>AF believes it is focused correctly and has locked
6236 <p>This state is reached only after an explicit START AF trigger has been
6237 sent (<a href="#controls_android.control.afTrigger">android.<wbr/>control.<wbr/>af<wbr/>Trigger</a>),<wbr/> when good focus has been obtained.<wbr/></p>
6238 <p>The lens will remain stationary until the AF mode (<a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a>) is changed or
6239 a new AF trigger is sent to the camera device (<a href="#controls_android.control.afTrigger">android.<wbr/>control.<wbr/>af<wbr/>Trigger</a>).<wbr/></p></span>
6242 <span class="entry_type_enum_name">NOT_FOCUSED_LOCKED</span>
6243 <span class="entry_type_enum_notes"><p>AF has failed to focus successfully and has locked
6245 <p>This state is reached only after an explicit START AF trigger has been
6246 sent (<a href="#controls_android.control.afTrigger">android.<wbr/>control.<wbr/>af<wbr/>Trigger</a>),<wbr/> when good focus cannot be obtained.<wbr/></p>
6247 <p>The lens will remain stationary until the AF mode (<a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a>) is changed or
6248 a new AF trigger is sent to the camera device (<a href="#controls_android.control.afTrigger">android.<wbr/>control.<wbr/>af<wbr/>Trigger</a>).<wbr/></p></span>
6251 <span class="entry_type_enum_name">PASSIVE_UNFOCUSED</span>
6252 <span class="entry_type_enum_notes"><p>AF finished a passive scan without finding focus,<wbr/>
6253 and may restart scanning at any time.<wbr/></p>
6254 <p>Only used by CONTINUOUS_<wbr/>* AF modes.<wbr/> This is a transient state,<wbr/> the camera
6255 device may skip reporting this state in capture result.<wbr/></p>
6256 <p>LEGACY camera devices do not support this state.<wbr/> When a passive
6257 scan has finished,<wbr/> it will always go to PASSIVE_<wbr/>FOCUSED.<wbr/></p></span>
6261 </td> <!-- entry_type -->
6263 <td class="entry_description">
6264 <p>Current state of auto-focus (AF) algorithm.<wbr/></p>
6267 <td class="entry_units">
6270 <td class="entry_range">
6273 <td class="entry_tags">
6277 <tr class="entries_header">
6278 <th class="th_details" colspan="5">Details</th>
6280 <tr class="entry_cont">
6281 <td class="entry_details" colspan="5">
6282 <p>Switching between or enabling AF modes (<a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a>) always
6283 resets the AF state to INACTIVE.<wbr/> Similarly,<wbr/> switching between <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a>,<wbr/>
6284 or <a href="#controls_android.control.sceneMode">android.<wbr/>control.<wbr/>scene<wbr/>Mode</a> if <code><a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> == USE_<wbr/>SCENE_<wbr/>MODE</code> resets all
6285 the algorithm states to INACTIVE.<wbr/></p>
6286 <p>The camera device can do several state transitions between two results,<wbr/> if it is
6287 allowed by the state transition table.<wbr/> For example: INACTIVE may never actually be
6288 seen in a result.<wbr/></p>
6289 <p>The state in the result is the state for this image (in sync with this image): if
6290 AF state becomes FOCUSED,<wbr/> then the image data associated with this result should
6292 <p>Below are state transition tables for different AF modes.<wbr/></p>
6293 <p>When <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> is AF_<wbr/>MODE_<wbr/>OFF or AF_<wbr/>MODE_<wbr/>EDOF:</p>
6297 <th align="center">State</th>
6298 <th align="center">Transition Cause</th>
6299 <th align="center">New State</th>
6300 <th align="center">Notes</th>
6305 <td align="center">INACTIVE</td>
6306 <td align="center"></td>
6307 <td align="center">INACTIVE</td>
6308 <td align="center">Never changes</td>
6312 <p>When <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> is AF_<wbr/>MODE_<wbr/>AUTO or AF_<wbr/>MODE_<wbr/>MACRO:</p>
6316 <th align="center">State</th>
6317 <th align="center">Transition Cause</th>
6318 <th align="center">New State</th>
6319 <th align="center">Notes</th>
6324 <td align="center">INACTIVE</td>
6325 <td align="center">AF_<wbr/>TRIGGER</td>
6326 <td align="center">ACTIVE_<wbr/>SCAN</td>
6327 <td align="center">Start AF sweep,<wbr/> Lens now moving</td>
6330 <td align="center">ACTIVE_<wbr/>SCAN</td>
6331 <td align="center">AF sweep done</td>
6332 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6333 <td align="center">Focused,<wbr/> Lens now locked</td>
6336 <td align="center">ACTIVE_<wbr/>SCAN</td>
6337 <td align="center">AF sweep done</td>
6338 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6339 <td align="center">Not focused,<wbr/> Lens now locked</td>
6342 <td align="center">ACTIVE_<wbr/>SCAN</td>
6343 <td align="center">AF_<wbr/>CANCEL</td>
6344 <td align="center">INACTIVE</td>
6345 <td align="center">Cancel/<wbr/>reset AF,<wbr/> Lens now locked</td>
6348 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6349 <td align="center">AF_<wbr/>CANCEL</td>
6350 <td align="center">INACTIVE</td>
6351 <td align="center">Cancel/<wbr/>reset AF</td>
6354 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6355 <td align="center">AF_<wbr/>TRIGGER</td>
6356 <td align="center">ACTIVE_<wbr/>SCAN</td>
6357 <td align="center">Start new sweep,<wbr/> Lens now moving</td>
6360 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6361 <td align="center">AF_<wbr/>CANCEL</td>
6362 <td align="center">INACTIVE</td>
6363 <td align="center">Cancel/<wbr/>reset AF</td>
6366 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6367 <td align="center">AF_<wbr/>TRIGGER</td>
6368 <td align="center">ACTIVE_<wbr/>SCAN</td>
6369 <td align="center">Start new sweep,<wbr/> Lens now moving</td>
6372 <td align="center">Any state</td>
6373 <td align="center">Mode change</td>
6374 <td align="center">INACTIVE</td>
6375 <td align="center"></td>
6379 <p>For the above table,<wbr/> the camera device may skip reporting any state changes that happen
6380 without application intervention (i.<wbr/>e.<wbr/> mode switch,<wbr/> trigger,<wbr/> locking).<wbr/> Any state that
6381 can be skipped in that manner is called a transient state.<wbr/></p>
6382 <p>For example,<wbr/> for these AF modes (AF_<wbr/>MODE_<wbr/>AUTO and AF_<wbr/>MODE_<wbr/>MACRO),<wbr/> in addition to the
6383 state transitions listed in above table,<wbr/> it is also legal for the camera device to skip
6384 one or more transient states between two results.<wbr/> See below table for examples:</p>
6388 <th align="center">State</th>
6389 <th align="center">Transition Cause</th>
6390 <th align="center">New State</th>
6391 <th align="center">Notes</th>
6396 <td align="center">INACTIVE</td>
6397 <td align="center">AF_<wbr/>TRIGGER</td>
6398 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6399 <td align="center">Focus is already good or good after a scan,<wbr/> lens is now locked.<wbr/></td>
6402 <td align="center">INACTIVE</td>
6403 <td align="center">AF_<wbr/>TRIGGER</td>
6404 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6405 <td align="center">Focus failed after a scan,<wbr/> lens is now locked.<wbr/></td>
6408 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6409 <td align="center">AF_<wbr/>TRIGGER</td>
6410 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6411 <td align="center">Focus is already good or good after a scan,<wbr/> lens is now locked.<wbr/></td>
6414 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6415 <td align="center">AF_<wbr/>TRIGGER</td>
6416 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6417 <td align="center">Focus is good after a scan,<wbr/> lens is not locked.<wbr/></td>
6421 <p>When <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> is AF_<wbr/>MODE_<wbr/>CONTINUOUS_<wbr/>VIDEO:</p>
6425 <th align="center">State</th>
6426 <th align="center">Transition Cause</th>
6427 <th align="center">New State</th>
6428 <th align="center">Notes</th>
6433 <td align="center">INACTIVE</td>
6434 <td align="center">Camera device initiates new scan</td>
6435 <td align="center">PASSIVE_<wbr/>SCAN</td>
6436 <td align="center">Start AF scan,<wbr/> Lens now moving</td>
6439 <td align="center">INACTIVE</td>
6440 <td align="center">AF_<wbr/>TRIGGER</td>
6441 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6442 <td align="center">AF state query,<wbr/> Lens now locked</td>
6445 <td align="center">PASSIVE_<wbr/>SCAN</td>
6446 <td align="center">Camera device completes current scan</td>
6447 <td align="center">PASSIVE_<wbr/>FOCUSED</td>
6448 <td align="center">End AF scan,<wbr/> Lens now locked</td>
6451 <td align="center">PASSIVE_<wbr/>SCAN</td>
6452 <td align="center">Camera device fails current scan</td>
6453 <td align="center">PASSIVE_<wbr/>UNFOCUSED</td>
6454 <td align="center">End AF scan,<wbr/> Lens now locked</td>
6457 <td align="center">PASSIVE_<wbr/>SCAN</td>
6458 <td align="center">AF_<wbr/>TRIGGER</td>
6459 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6460 <td align="center">Immediate transition,<wbr/> if focus is good.<wbr/> Lens now locked</td>
6463 <td align="center">PASSIVE_<wbr/>SCAN</td>
6464 <td align="center">AF_<wbr/>TRIGGER</td>
6465 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6466 <td align="center">Immediate transition,<wbr/> if focus is bad.<wbr/> Lens now locked</td>
6469 <td align="center">PASSIVE_<wbr/>SCAN</td>
6470 <td align="center">AF_<wbr/>CANCEL</td>
6471 <td align="center">INACTIVE</td>
6472 <td align="center">Reset lens position,<wbr/> Lens now locked</td>
6475 <td align="center">PASSIVE_<wbr/>FOCUSED</td>
6476 <td align="center">Camera device initiates new scan</td>
6477 <td align="center">PASSIVE_<wbr/>SCAN</td>
6478 <td align="center">Start AF scan,<wbr/> Lens now moving</td>
6481 <td align="center">PASSIVE_<wbr/>UNFOCUSED</td>
6482 <td align="center">Camera device initiates new scan</td>
6483 <td align="center">PASSIVE_<wbr/>SCAN</td>
6484 <td align="center">Start AF scan,<wbr/> Lens now moving</td>
6487 <td align="center">PASSIVE_<wbr/>FOCUSED</td>
6488 <td align="center">AF_<wbr/>TRIGGER</td>
6489 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6490 <td align="center">Immediate transition,<wbr/> lens now locked</td>
6493 <td align="center">PASSIVE_<wbr/>UNFOCUSED</td>
6494 <td align="center">AF_<wbr/>TRIGGER</td>
6495 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6496 <td align="center">Immediate transition,<wbr/> lens now locked</td>
6499 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6500 <td align="center">AF_<wbr/>TRIGGER</td>
6501 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6502 <td align="center">No effect</td>
6505 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6506 <td align="center">AF_<wbr/>CANCEL</td>
6507 <td align="center">INACTIVE</td>
6508 <td align="center">Restart AF scan</td>
6511 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6512 <td align="center">AF_<wbr/>TRIGGER</td>
6513 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6514 <td align="center">No effect</td>
6517 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6518 <td align="center">AF_<wbr/>CANCEL</td>
6519 <td align="center">INACTIVE</td>
6520 <td align="center">Restart AF scan</td>
6524 <p>When <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> is AF_<wbr/>MODE_<wbr/>CONTINUOUS_<wbr/>PICTURE:</p>
6528 <th align="center">State</th>
6529 <th align="center">Transition Cause</th>
6530 <th align="center">New State</th>
6531 <th align="center">Notes</th>
6536 <td align="center">INACTIVE</td>
6537 <td align="center">Camera device initiates new scan</td>
6538 <td align="center">PASSIVE_<wbr/>SCAN</td>
6539 <td align="center">Start AF scan,<wbr/> Lens now moving</td>
6542 <td align="center">INACTIVE</td>
6543 <td align="center">AF_<wbr/>TRIGGER</td>
6544 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6545 <td align="center">AF state query,<wbr/> Lens now locked</td>
6548 <td align="center">PASSIVE_<wbr/>SCAN</td>
6549 <td align="center">Camera device completes current scan</td>
6550 <td align="center">PASSIVE_<wbr/>FOCUSED</td>
6551 <td align="center">End AF scan,<wbr/> Lens now locked</td>
6554 <td align="center">PASSIVE_<wbr/>SCAN</td>
6555 <td align="center">Camera device fails current scan</td>
6556 <td align="center">PASSIVE_<wbr/>UNFOCUSED</td>
6557 <td align="center">End AF scan,<wbr/> Lens now locked</td>
6560 <td align="center">PASSIVE_<wbr/>SCAN</td>
6561 <td align="center">AF_<wbr/>TRIGGER</td>
6562 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6563 <td align="center">Eventual transition once the focus is good.<wbr/> Lens now locked</td>
6566 <td align="center">PASSIVE_<wbr/>SCAN</td>
6567 <td align="center">AF_<wbr/>TRIGGER</td>
6568 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6569 <td align="center">Eventual transition if cannot find focus.<wbr/> Lens now locked</td>
6572 <td align="center">PASSIVE_<wbr/>SCAN</td>
6573 <td align="center">AF_<wbr/>CANCEL</td>
6574 <td align="center">INACTIVE</td>
6575 <td align="center">Reset lens position,<wbr/> Lens now locked</td>
6578 <td align="center">PASSIVE_<wbr/>FOCUSED</td>
6579 <td align="center">Camera device initiates new scan</td>
6580 <td align="center">PASSIVE_<wbr/>SCAN</td>
6581 <td align="center">Start AF scan,<wbr/> Lens now moving</td>
6584 <td align="center">PASSIVE_<wbr/>UNFOCUSED</td>
6585 <td align="center">Camera device initiates new scan</td>
6586 <td align="center">PASSIVE_<wbr/>SCAN</td>
6587 <td align="center">Start AF scan,<wbr/> Lens now moving</td>
6590 <td align="center">PASSIVE_<wbr/>FOCUSED</td>
6591 <td align="center">AF_<wbr/>TRIGGER</td>
6592 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6593 <td align="center">Immediate trans.<wbr/> Lens now locked</td>
6596 <td align="center">PASSIVE_<wbr/>UNFOCUSED</td>
6597 <td align="center">AF_<wbr/>TRIGGER</td>
6598 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6599 <td align="center">Immediate trans.<wbr/> Lens now locked</td>
6602 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6603 <td align="center">AF_<wbr/>TRIGGER</td>
6604 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6605 <td align="center">No effect</td>
6608 <td align="center">FOCUSED_<wbr/>LOCKED</td>
6609 <td align="center">AF_<wbr/>CANCEL</td>
6610 <td align="center">INACTIVE</td>
6611 <td align="center">Restart AF scan</td>
6614 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6615 <td align="center">AF_<wbr/>TRIGGER</td>
6616 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6617 <td align="center">No effect</td>
6620 <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td>
6621 <td align="center">AF_<wbr/>CANCEL</td>
6622 <td align="center">INACTIVE</td>
6623 <td align="center">Restart AF scan</td>
6627 <p>When switch between AF_<wbr/>MODE_<wbr/>CONTINUOUS_<wbr/>* (CAF modes) and AF_<wbr/>MODE_<wbr/>AUTO/<wbr/>AF_<wbr/>MODE_<wbr/>MACRO
6628 (AUTO modes),<wbr/> the initial INACTIVE or PASSIVE_<wbr/>SCAN states may be skipped by the
6629 camera device.<wbr/> When a trigger is included in a mode switch request,<wbr/> the trigger
6630 will be evaluated in the context of the new mode in the request.<wbr/>
6631 See below table for examples:</p>
6635 <th align="center">State</th>
6636 <th align="center">Transition Cause</th>
6637 <th align="center">New State</th>
6638 <th align="center">Notes</th>
6643 <td align="center">any state</td>
6644 <td align="center">CAF-->AUTO mode switch</td>
6645 <td align="center">INACTIVE</td>
6646 <td align="center">Mode switch without trigger,<wbr/> initial state must be INACTIVE</td>
6649 <td align="center">any state</td>
6650 <td align="center">CAF-->AUTO mode switch with AF_<wbr/>TRIGGER</td>
6651 <td align="center">trigger-reachable states from INACTIVE</td>
6652 <td align="center">Mode switch with trigger,<wbr/> INACTIVE is skipped</td>
6655 <td align="center">any state</td>
6656 <td align="center">AUTO-->CAF mode switch</td>
6657 <td align="center">passively reachable states from INACTIVE</td>
6658 <td align="center">Mode switch without trigger,<wbr/> passive transient state is skipped</td>
6666 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
6667 <!-- end of entry -->
6670 <tr class="entry" id="dynamic_android.control.afTriggerId">
6671 <td class="entry_name
6672 entry_name_deprecated
6674 android.<wbr/>control.<wbr/>af<wbr/>Trigger<wbr/>Id
6676 <td class="entry_type">
6677 <span class="entry_type_name">int32</span>
6679 <span class="entry_type_visibility"> [system]</span>
6683 <span class="entry_type_deprecated">[deprecated] </span>
6687 </td> <!-- entry_type -->
6689 <td class="entry_description">
6690 <p>The ID sent with the latest
6691 CAMERA2_<wbr/>TRIGGER_<wbr/>AUTOFOCUS call</p>
6694 <td class="entry_units">
6697 <td class="entry_range">
6698 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
6701 <td class="entry_tags">
6705 <tr class="entries_header">
6706 <th class="th_details" colspan="5">Details</th>
6708 <tr class="entry_cont">
6709 <td class="entry_details" colspan="5">
6710 <p>Must be 0 if no CAMERA2_<wbr/>TRIGGER_<wbr/>AUTOFOCUS trigger
6711 received yet by HAL.<wbr/> Always updated even if AF algorithm
6712 ignores the trigger</p>
6717 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
6718 <!-- end of entry -->
6721 <tr class="entry" id="dynamic_android.control.awbLock">
6722 <td class="entry_name
6724 android.<wbr/>control.<wbr/>awb<wbr/>Lock
6726 <td class="entry_type">
6727 <span class="entry_type_name entry_type_name_enum">byte</span>
6729 <span class="entry_type_visibility"> [public as boolean]</span>
6732 <span class="entry_type_hwlevel">[legacy] </span>
6736 <ul class="entry_type_enum">
6738 <span class="entry_type_enum_name">OFF</span>
6739 <span class="entry_type_enum_notes"><p>Auto-white balance lock is disabled; the AWB
6740 algorithm is free to update its parameters if in AUTO
6741 mode.<wbr/></p></span>
6744 <span class="entry_type_enum_name">ON</span>
6745 <span class="entry_type_enum_notes"><p>Auto-white balance lock is enabled; the AWB
6746 algorithm will not update its parameters while the lock
6747 is active.<wbr/></p></span>
6751 </td> <!-- entry_type -->
6753 <td class="entry_description">
6754 <p>Whether auto-white balance (AWB) is currently locked to its
6755 latest calculated values.<wbr/></p>
6758 <td class="entry_units">
6761 <td class="entry_range">
6764 <td class="entry_tags">
6765 <ul class="entry_tags">
6766 <li><a href="#tag_BC">BC</a></li>
6771 <tr class="entries_header">
6772 <th class="th_details" colspan="5">Details</th>
6774 <tr class="entry_cont">
6775 <td class="entry_details" colspan="5">
6776 <p>When set to <code>true</code> (ON),<wbr/> the AWB algorithm is locked to its latest parameters,<wbr/>
6777 and will not change color balance settings until the lock is set to <code>false</code> (OFF).<wbr/></p>
6778 <p>Since the camera device has a pipeline of in-flight requests,<wbr/> the settings that
6779 get locked do not necessarily correspond to the settings that were present in the
6780 latest capture result received from the camera device,<wbr/> since additional captures
6781 and AWB updates may have occurred even before the result was sent out.<wbr/> If an
6782 application is switching between automatic and manual control and wishes to eliminate
6783 any flicker during the switch,<wbr/> the following procedure is recommended:</p>
6785 <li>Starting in auto-AWB mode:</li>
6787 <li>Wait for the first result to be output that has the AWB locked</li>
6788 <li>Copy AWB settings from that result into a request,<wbr/> set the request to manual AWB</li>
6789 <li>Submit the capture request,<wbr/> proceed to run manual AWB as desired.<wbr/></li>
6791 <p>Note that AWB lock is only meaningful when
6792 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> is in the AUTO mode; in other modes,<wbr/>
6793 AWB is already fixed to a specific setting.<wbr/></p>
6794 <p>Some LEGACY devices may not support ON; the value is then overridden to OFF.<wbr/></p>
6799 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
6800 <!-- end of entry -->
6803 <tr class="entry" id="dynamic_android.control.awbMode">
6804 <td class="entry_name
6806 android.<wbr/>control.<wbr/>awb<wbr/>Mode
6808 <td class="entry_type">
6809 <span class="entry_type_name entry_type_name_enum">byte</span>
6811 <span class="entry_type_visibility"> [public]</span>
6814 <span class="entry_type_hwlevel">[legacy] </span>
6818 <ul class="entry_type_enum">
6820 <span class="entry_type_enum_name">OFF</span>
6821 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled.<wbr/></p>
6822 <p>The application-selected color transform matrix
6823 (<a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>) and gains
6824 (<a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a>) are used by the camera
6825 device for manual white balance control.<wbr/></p></span>
6828 <span class="entry_type_enum_name">AUTO</span>
6829 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is active.<wbr/></p>
6830 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
6831 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
6832 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
6833 values used by the camera device for the transform and gains
6834 will be available in the capture result for this request.<wbr/></p></span>
6837 <span class="entry_type_enum_name">INCANDESCENT</span>
6838 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
6839 the camera device uses incandescent light as the assumed scene
6840 illumination for white balance.<wbr/></p>
6841 <p>While the exact white balance transforms are up to the
6842 camera device,<wbr/> they will approximately match the CIE
6843 standard illuminant A.<wbr/></p>
6844 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
6845 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
6846 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
6847 values used by the camera device for the transform and gains
6848 will be available in the capture result for this request.<wbr/></p></span>
6851 <span class="entry_type_enum_name">FLUORESCENT</span>
6852 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
6853 the camera device uses fluorescent light as the assumed scene
6854 illumination for white balance.<wbr/></p>
6855 <p>While the exact white balance transforms are up to the
6856 camera device,<wbr/> they will approximately match the CIE
6857 standard illuminant F2.<wbr/></p>
6858 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
6859 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
6860 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
6861 values used by the camera device for the transform and gains
6862 will be available in the capture result for this request.<wbr/></p></span>
6865 <span class="entry_type_enum_name">WARM_FLUORESCENT</span>
6866 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
6867 the camera device uses warm fluorescent light as the assumed scene
6868 illumination for white balance.<wbr/></p>
6869 <p>While the exact white balance transforms are up to the
6870 camera device,<wbr/> they will approximately match the CIE
6871 standard illuminant F4.<wbr/></p>
6872 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
6873 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
6874 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
6875 values used by the camera device for the transform and gains
6876 will be available in the capture result for this request.<wbr/></p></span>
6879 <span class="entry_type_enum_name">DAYLIGHT</span>
6880 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
6881 the camera device uses daylight light as the assumed scene
6882 illumination for white balance.<wbr/></p>
6883 <p>While the exact white balance transforms are up to the
6884 camera device,<wbr/> they will approximately match the CIE
6885 standard illuminant D65.<wbr/></p>
6886 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
6887 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
6888 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
6889 values used by the camera device for the transform and gains
6890 will be available in the capture result for this request.<wbr/></p></span>
6893 <span class="entry_type_enum_name">CLOUDY_DAYLIGHT</span>
6894 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
6895 the camera device uses cloudy daylight light as the assumed scene
6896 illumination for white balance.<wbr/></p>
6897 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
6898 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
6899 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
6900 values used by the camera device for the transform and gains
6901 will be available in the capture result for this request.<wbr/></p></span>
6904 <span class="entry_type_enum_name">TWILIGHT</span>
6905 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
6906 the camera device uses twilight light as the assumed scene
6907 illumination for white balance.<wbr/></p>
6908 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
6909 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
6910 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
6911 values used by the camera device for the transform and gains
6912 will be available in the capture result for this request.<wbr/></p></span>
6915 <span class="entry_type_enum_name">SHADE</span>
6916 <span class="entry_type_enum_notes"><p>The camera device's auto-white balance routine is disabled;
6917 the camera device uses shade light as the assumed scene
6918 illumination for white balance.<wbr/></p>
6919 <p>The application's values for <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>
6920 and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/>
6921 For devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability,<wbr/> the
6922 values used by the camera device for the transform and gains
6923 will be available in the capture result for this request.<wbr/></p></span>
6927 </td> <!-- entry_type -->
6929 <td class="entry_description">
6930 <p>Whether auto-white balance (AWB) is currently setting the color
6931 transform fields,<wbr/> and what its illumination target
6935 <td class="entry_units">
6938 <td class="entry_range">
6939 <p><a href="#static_android.control.awbAvailableModes">android.<wbr/>control.<wbr/>awb<wbr/>Available<wbr/>Modes</a></p>
6942 <td class="entry_tags">
6943 <ul class="entry_tags">
6944 <li><a href="#tag_BC">BC</a></li>
6949 <tr class="entries_header">
6950 <th class="th_details" colspan="5">Details</th>
6952 <tr class="entry_cont">
6953 <td class="entry_details" colspan="5">
6954 <p>This control is only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is AUTO.<wbr/></p>
6955 <p>When set to the ON mode,<wbr/> the camera device's auto-white balance
6956 routine is enabled,<wbr/> overriding the application's selected
6957 <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>,<wbr/> <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> and
6958 <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a>.<wbr/></p>
6959 <p>When set to the OFF mode,<wbr/> the camera device's auto-white balance
6960 routine is disabled.<wbr/> The application manually controls the white
6961 balance by <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>,<wbr/> <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a>
6962 and <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a>.<wbr/></p>
6963 <p>When set to any other modes,<wbr/> the camera device's auto-white
6964 balance routine is disabled.<wbr/> The camera device uses each
6965 particular illumination target for white balance
6966 adjustment.<wbr/> The application's values for
6967 <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>,<wbr/>
6968 <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> and
6969 <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> are ignored.<wbr/></p>
6974 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
6975 <!-- end of entry -->
6978 <tr class="entry" id="dynamic_android.control.awbRegions">
6979 <td class="entry_name
6981 android.<wbr/>control.<wbr/>awb<wbr/>Regions
6983 <td class="entry_type">
6984 <span class="entry_type_name">int32</span>
6985 <span class="entry_type_container">x</span>
6987 <span class="entry_type_array">
6990 <span class="entry_type_visibility"> [public as meteringRectangle]</span>
6997 </td> <!-- entry_type -->
6999 <td class="entry_description">
7000 <p>List of metering areas to use for auto-white-balance illuminant
7001 estimation.<wbr/></p>
7004 <td class="entry_units">
7005 Pixel coordinates within android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size
7008 <td class="entry_range">
7009 <p>Coordinates must be between <code>[(0,<wbr/>0),<wbr/> (width,<wbr/> height))</code> of
7010 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a></p>
7013 <td class="entry_tags">
7014 <ul class="entry_tags">
7015 <li><a href="#tag_BC">BC</a></li>
7020 <tr class="entries_header">
7021 <th class="th_details" colspan="5">Details</th>
7023 <tr class="entry_cont">
7024 <td class="entry_details" colspan="5">
7025 <p>Not available if <a href="#static_android.control.maxRegionsAwb">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Awb</a> is 0.<wbr/>
7026 Otherwise will always be present.<wbr/></p>
7027 <p>The maximum number of regions supported by the device is determined by the value
7028 of <a href="#static_android.control.maxRegionsAwb">android.<wbr/>control.<wbr/>max<wbr/>Regions<wbr/>Awb</a>.<wbr/></p>
7029 <p>The coordinate system is based on the active pixel array,<wbr/>
7030 with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and
7031 (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/>
7032 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the
7033 bottom-right pixel in the active pixel array.<wbr/></p>
7034 <p>The weight must range from 0 to 1000,<wbr/> and represents a weight
7035 for every pixel in the area.<wbr/> This means that a large metering area
7036 with the same weight as a smaller area will have more effect in
7037 the metering result.<wbr/> Metering areas can partially overlap and the
7038 camera device will add the weights in the overlap region.<wbr/></p>
7039 <p>The weights are relative to weights of other white balance metering regions,<wbr/> so if
7040 only one region is used,<wbr/> all non-zero weights will have the same effect.<wbr/> A region with
7041 0 weight is ignored.<wbr/></p>
7042 <p>If all regions have 0 weight,<wbr/> then no specific metering area needs to be used by the
7043 camera device.<wbr/></p>
7044 <p>If the metering region is outside the used <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a> returned in
7045 capture result metadata,<wbr/> the camera device will ignore the sections outside the crop
7046 region and output only the intersection rectangle as the metering region in the result
7047 metadata.<wbr/> If the region is entirely outside the crop region,<wbr/> it will be ignored and
7048 not reported in the result metadata.<wbr/></p>
7052 <tr class="entries_header">
7053 <th class="th_details" colspan="5">HAL Implementation Details</th>
7055 <tr class="entry_cont">
7056 <td class="entry_details" colspan="5">
7057 <p>The HAL level representation of MeteringRectangle[] is a
7058 int[5 * area_<wbr/>count].<wbr/>
7059 Every five elements represent a metering region of
7060 (xmin,<wbr/> ymin,<wbr/> xmax,<wbr/> ymax,<wbr/> weight).<wbr/>
7061 The rectangle is defined to be inclusive on xmin and ymin,<wbr/> but
7062 exclusive on xmax and ymax.<wbr/></p>
7066 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
7067 <!-- end of entry -->
7070 <tr class="entry" id="dynamic_android.control.captureIntent">
7071 <td class="entry_name
7073 android.<wbr/>control.<wbr/>capture<wbr/>Intent
7075 <td class="entry_type">
7076 <span class="entry_type_name entry_type_name_enum">byte</span>
7078 <span class="entry_type_visibility"> [public]</span>
7081 <span class="entry_type_hwlevel">[legacy] </span>
7085 <ul class="entry_type_enum">
7087 <span class="entry_type_enum_name">CUSTOM</span>
7088 <span class="entry_type_enum_notes"><p>The goal of this request doesn't fall into the other
7089 categories.<wbr/> The camera device will default to preview-like
7090 behavior.<wbr/></p></span>
7093 <span class="entry_type_enum_name">PREVIEW</span>
7094 <span class="entry_type_enum_notes"><p>This request is for a preview-like use case.<wbr/></p>
7095 <p>The precapture trigger may be used to start off a metering
7096 w/<wbr/>flash sequence.<wbr/></p></span>
7099 <span class="entry_type_enum_name">STILL_CAPTURE</span>
7100 <span class="entry_type_enum_notes"><p>This request is for a still capture-type
7102 <p>If the flash unit is under automatic control,<wbr/> it may fire as needed.<wbr/></p></span>
7105 <span class="entry_type_enum_name">VIDEO_RECORD</span>
7106 <span class="entry_type_enum_notes"><p>This request is for a video recording
7107 use case.<wbr/></p></span>
7110 <span class="entry_type_enum_name">VIDEO_SNAPSHOT</span>
7111 <span class="entry_type_enum_notes"><p>This request is for a video snapshot (still
7112 image while recording video) use case.<wbr/></p>
7113 <p>The camera device should take the highest-quality image
7114 possible (given the other settings) without disrupting the
7115 frame rate of video recording.<wbr/> </p></span>
7118 <span class="entry_type_enum_name">ZERO_SHUTTER_LAG</span>
7119 <span class="entry_type_enum_notes"><p>This request is for a ZSL usecase; the
7120 application will stream full-resolution images and
7121 reprocess one or several later for a final
7122 capture.<wbr/></p></span>
7125 <span class="entry_type_enum_name">MANUAL</span>
7126 <span class="entry_type_enum_notes"><p>This request is for manual capture use case where
7127 the applications want to directly control the capture parameters.<wbr/></p>
7128 <p>For example,<wbr/> the application may wish to manually control
7129 <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/> <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> etc.<wbr/></p></span>
7133 </td> <!-- entry_type -->
7135 <td class="entry_description">
7136 <p>Information to the camera device 3A (auto-exposure,<wbr/>
7137 auto-focus,<wbr/> auto-white balance) routines about the purpose
7138 of this capture,<wbr/> to help the camera device to decide optimal 3A
7142 <td class="entry_units">
7145 <td class="entry_range">
7148 <td class="entry_tags">
7149 <ul class="entry_tags">
7150 <li><a href="#tag_BC">BC</a></li>
7155 <tr class="entries_header">
7156 <th class="th_details" colspan="5">Details</th>
7158 <tr class="entry_cont">
7159 <td class="entry_details" colspan="5">
7160 <p>This control (except for MANUAL) is only effective if
7161 <code><a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> != OFF</code> and any 3A routine is active.<wbr/></p>
7162 <p>ZERO_<wbr/>SHUTTER_<wbr/>LAG will be supported if <a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a>
7163 contains ZSL.<wbr/> MANUAL will be supported if <a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a>
7164 contains MANUAL_<wbr/>SENSOR.<wbr/> Other intent values are always supported.<wbr/></p>
7169 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
7170 <!-- end of entry -->
7173 <tr class="entry" id="dynamic_android.control.awbState">
7174 <td class="entry_name
7176 android.<wbr/>control.<wbr/>awb<wbr/>State
7178 <td class="entry_type">
7179 <span class="entry_type_name entry_type_name_enum">byte</span>
7181 <span class="entry_type_visibility"> [public]</span>
7184 <span class="entry_type_hwlevel">[limited] </span>
7188 <ul class="entry_type_enum">
7190 <span class="entry_type_enum_name">INACTIVE</span>
7191 <span class="entry_type_enum_notes"><p>AWB is not in auto mode,<wbr/> or has not yet started metering.<wbr/></p>
7192 <p>When a camera device is opened,<wbr/> it starts in this
7193 state.<wbr/> This is a transient state,<wbr/> the camera device may
7194 skip reporting this state in capture
7195 result.<wbr/></p></span>
7198 <span class="entry_type_enum_name">SEARCHING</span>
7199 <span class="entry_type_enum_notes"><p>AWB doesn't yet have a good set of control
7200 values for the current scene.<wbr/></p>
7201 <p>This is a transient state,<wbr/> the camera device
7202 may skip reporting this state in capture result.<wbr/></p></span>
7205 <span class="entry_type_enum_name">CONVERGED</span>
7206 <span class="entry_type_enum_notes"><p>AWB has a good set of control values for the
7207 current scene.<wbr/></p></span>
7210 <span class="entry_type_enum_name">LOCKED</span>
7211 <span class="entry_type_enum_notes"><p>AWB has been locked.<wbr/></p></span>
7215 </td> <!-- entry_type -->
7217 <td class="entry_description">
7218 <p>Current state of auto-white balance (AWB) algorithm.<wbr/></p>
7221 <td class="entry_units">
7224 <td class="entry_range">
7227 <td class="entry_tags">
7231 <tr class="entries_header">
7232 <th class="th_details" colspan="5">Details</th>
7234 <tr class="entry_cont">
7235 <td class="entry_details" colspan="5">
7236 <p>Switching between or enabling AWB modes (<a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>) always
7237 resets the AWB state to INACTIVE.<wbr/> Similarly,<wbr/> switching between <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a>,<wbr/>
7238 or <a href="#controls_android.control.sceneMode">android.<wbr/>control.<wbr/>scene<wbr/>Mode</a> if <code><a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> == USE_<wbr/>SCENE_<wbr/>MODE</code> resets all
7239 the algorithm states to INACTIVE.<wbr/></p>
7240 <p>The camera device can do several state transitions between two results,<wbr/> if it is
7241 allowed by the state transition table.<wbr/> So INACTIVE may never actually be seen in
7243 <p>The state in the result is the state for this image (in sync with this image): if
7244 AWB state becomes CONVERGED,<wbr/> then the image data associated with this result should
7245 be good to use.<wbr/></p>
7246 <p>Below are state transition tables for different AWB modes.<wbr/></p>
7247 <p>When <code><a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> != AWB_<wbr/>MODE_<wbr/>AUTO</code>:</p>
7251 <th align="center">State</th>
7252 <th align="center">Transition Cause</th>
7253 <th align="center">New State</th>
7254 <th align="center">Notes</th>
7259 <td align="center">INACTIVE</td>
7260 <td align="center"></td>
7261 <td align="center">INACTIVE</td>
7262 <td align="center">Camera device auto white balance algorithm is disabled</td>
7266 <p>When <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> is AWB_<wbr/>MODE_<wbr/>AUTO:</p>
7270 <th align="center">State</th>
7271 <th align="center">Transition Cause</th>
7272 <th align="center">New State</th>
7273 <th align="center">Notes</th>
7278 <td align="center">INACTIVE</td>
7279 <td align="center">Camera device initiates AWB scan</td>
7280 <td align="center">SEARCHING</td>
7281 <td align="center">Values changing</td>
7284 <td align="center">INACTIVE</td>
7285 <td align="center"><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a> is ON</td>
7286 <td align="center">LOCKED</td>
7287 <td align="center">Values locked</td>
7290 <td align="center">SEARCHING</td>
7291 <td align="center">Camera device finishes AWB scan</td>
7292 <td align="center">CONVERGED</td>
7293 <td align="center">Good values,<wbr/> not changing</td>
7296 <td align="center">SEARCHING</td>
7297 <td align="center"><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a> is ON</td>
7298 <td align="center">LOCKED</td>
7299 <td align="center">Values locked</td>
7302 <td align="center">CONVERGED</td>
7303 <td align="center">Camera device initiates AWB scan</td>
7304 <td align="center">SEARCHING</td>
7305 <td align="center">Values changing</td>
7308 <td align="center">CONVERGED</td>
7309 <td align="center"><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a> is ON</td>
7310 <td align="center">LOCKED</td>
7311 <td align="center">Values locked</td>
7314 <td align="center">LOCKED</td>
7315 <td align="center"><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a> is OFF</td>
7316 <td align="center">SEARCHING</td>
7317 <td align="center">Values not good after unlock</td>
7321 <p>For the above table,<wbr/> the camera device may skip reporting any state changes that happen
7322 without application intervention (i.<wbr/>e.<wbr/> mode switch,<wbr/> trigger,<wbr/> locking).<wbr/> Any state that
7323 can be skipped in that manner is called a transient state.<wbr/></p>
7324 <p>For example,<wbr/> for this AWB mode (AWB_<wbr/>MODE_<wbr/>AUTO),<wbr/> in addition to the state transitions
7325 listed in above table,<wbr/> it is also legal for the camera device to skip one or more
7326 transient states between two results.<wbr/> See below table for examples:</p>
7330 <th align="center">State</th>
7331 <th align="center">Transition Cause</th>
7332 <th align="center">New State</th>
7333 <th align="center">Notes</th>
7338 <td align="center">INACTIVE</td>
7339 <td align="center">Camera device finished AWB scan</td>
7340 <td align="center">CONVERGED</td>
7341 <td align="center">Values are already good,<wbr/> transient states are skipped by camera device.<wbr/></td>
7344 <td align="center">LOCKED</td>
7345 <td align="center"><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a> is OFF</td>
7346 <td align="center">CONVERGED</td>
7347 <td align="center">Values good after unlock,<wbr/> transient states are skipped by camera device.<wbr/></td>
7355 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
7356 <!-- end of entry -->
7359 <tr class="entry" id="dynamic_android.control.effectMode">
7360 <td class="entry_name
7362 android.<wbr/>control.<wbr/>effect<wbr/>Mode
7364 <td class="entry_type">
7365 <span class="entry_type_name entry_type_name_enum">byte</span>
7367 <span class="entry_type_visibility"> [public]</span>
7370 <span class="entry_type_hwlevel">[legacy] </span>
7374 <ul class="entry_type_enum">
7376 <span class="entry_type_enum_name">OFF</span>
7377 <span class="entry_type_enum_notes"><p>No color effect will be applied.<wbr/></p></span>
7380 <span class="entry_type_enum_name">MONO</span>
7381 <span class="entry_type_enum_optional">[optional]</span>
7382 <span class="entry_type_enum_notes"><p>A "monocolor" effect where the image is mapped into
7383 a single color.<wbr/></p>
7384 <p>This will typically be grayscale.<wbr/></p></span>
7387 <span class="entry_type_enum_name">NEGATIVE</span>
7388 <span class="entry_type_enum_optional">[optional]</span>
7389 <span class="entry_type_enum_notes"><p>A "photo-negative" effect where the image's colors
7390 are inverted.<wbr/></p></span>
7393 <span class="entry_type_enum_name">SOLARIZE</span>
7394 <span class="entry_type_enum_optional">[optional]</span>
7395 <span class="entry_type_enum_notes"><p>A "solarisation" effect (Sabattier effect) where the
7396 image is wholly or partially reversed in
7397 tone.<wbr/></p></span>
7400 <span class="entry_type_enum_name">SEPIA</span>
7401 <span class="entry_type_enum_optional">[optional]</span>
7402 <span class="entry_type_enum_notes"><p>A "sepia" effect where the image is mapped into warm
7403 gray,<wbr/> red,<wbr/> and brown tones.<wbr/></p></span>
7406 <span class="entry_type_enum_name">POSTERIZE</span>
7407 <span class="entry_type_enum_optional">[optional]</span>
7408 <span class="entry_type_enum_notes"><p>A "posterization" effect where the image uses
7409 discrete regions of tone rather than a continuous
7410 gradient of tones.<wbr/></p></span>
7413 <span class="entry_type_enum_name">WHITEBOARD</span>
7414 <span class="entry_type_enum_optional">[optional]</span>
7415 <span class="entry_type_enum_notes"><p>A "whiteboard" effect where the image is typically displayed
7416 as regions of white,<wbr/> with black or grey details.<wbr/></p></span>
7419 <span class="entry_type_enum_name">BLACKBOARD</span>
7420 <span class="entry_type_enum_optional">[optional]</span>
7421 <span class="entry_type_enum_notes"><p>A "blackboard" effect where the image is typically displayed
7422 as regions of black,<wbr/> with white or grey details.<wbr/></p></span>
7425 <span class="entry_type_enum_name">AQUA</span>
7426 <span class="entry_type_enum_optional">[optional]</span>
7427 <span class="entry_type_enum_notes"><p>An "aqua" effect where a blue hue is added to the image.<wbr/></p></span>
7431 </td> <!-- entry_type -->
7433 <td class="entry_description">
7434 <p>A special color effect to apply.<wbr/></p>
7437 <td class="entry_units">
7440 <td class="entry_range">
7441 <p><a href="#static_android.control.availableEffects">android.<wbr/>control.<wbr/>available<wbr/>Effects</a></p>
7444 <td class="entry_tags">
7445 <ul class="entry_tags">
7446 <li><a href="#tag_BC">BC</a></li>
7451 <tr class="entries_header">
7452 <th class="th_details" colspan="5">Details</th>
7454 <tr class="entry_cont">
7455 <td class="entry_details" colspan="5">
7456 <p>When this mode is set,<wbr/> a color effect will be applied
7457 to images produced by the camera device.<wbr/> The interpretation
7458 and implementation of these color effects is left to the
7459 implementor of the camera device,<wbr/> and should not be
7460 depended on to be consistent (or present) across all
7466 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
7467 <!-- end of entry -->
7470 <tr class="entry" id="dynamic_android.control.mode">
7471 <td class="entry_name
7473 android.<wbr/>control.<wbr/>mode
7475 <td class="entry_type">
7476 <span class="entry_type_name entry_type_name_enum">byte</span>
7478 <span class="entry_type_visibility"> [public]</span>
7481 <span class="entry_type_hwlevel">[legacy] </span>
7485 <ul class="entry_type_enum">
7487 <span class="entry_type_enum_name">OFF</span>
7488 <span class="entry_type_enum_notes"><p>Full application control of pipeline.<wbr/></p>
7489 <p>All control by the device's metering and focusing (3A)
7490 routines is disabled,<wbr/> and no other settings in
7491 android.<wbr/>control.<wbr/>* have any effect,<wbr/> except that
7492 <a href="#controls_android.control.captureIntent">android.<wbr/>control.<wbr/>capture<wbr/>Intent</a> may be used by the camera
7493 device to select post-processing values for processing
7494 blocks that do not allow for manual control,<wbr/> or are not
7495 exposed by the camera API.<wbr/></p>
7496 <p>However,<wbr/> the camera device's 3A routines may continue to
7497 collect statistics and update their internal state so that
7498 when control is switched to AUTO mode,<wbr/> good control values
7499 can be immediately applied.<wbr/></p></span>
7502 <span class="entry_type_enum_name">AUTO</span>
7503 <span class="entry_type_enum_notes"><p>Use settings for each individual 3A routine.<wbr/></p>
7504 <p>Manual control of capture parameters is disabled.<wbr/> All
7505 controls in android.<wbr/>control.<wbr/>* besides sceneMode take
7506 effect.<wbr/></p></span>
7509 <span class="entry_type_enum_name">USE_SCENE_MODE</span>
7510 <span class="entry_type_enum_notes"><p>Use a specific scene mode.<wbr/></p>
7511 <p>Enabling this disables control.<wbr/>aeMode,<wbr/> control.<wbr/>awbMode and
7512 control.<wbr/>afMode controls; the camera device will ignore
7513 those settings while USE_<wbr/>SCENE_<wbr/>MODE is active (except for
7514 FACE_<wbr/>PRIORITY scene mode).<wbr/> Other control entries are still
7515 active.<wbr/> This setting can only be used if scene mode is
7516 supported (i.<wbr/>e.<wbr/> <a href="#static_android.control.availableSceneModes">android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes</a>
7517 contain some modes other than DISABLED).<wbr/></p></span>
7520 <span class="entry_type_enum_name">OFF_KEEP_STATE</span>
7521 <span class="entry_type_enum_notes"><p>Same as OFF mode,<wbr/> except that this capture will not be
7522 used by camera device background auto-exposure,<wbr/> auto-white balance and
7523 auto-focus algorithms (3A) to update their statistics.<wbr/></p>
7524 <p>Specifically,<wbr/> the 3A routines are locked to the last
7525 values set from a request with AUTO,<wbr/> OFF,<wbr/> or
7526 USE_<wbr/>SCENE_<wbr/>MODE,<wbr/> and any statistics or state updates
7527 collected from manual captures with OFF_<wbr/>KEEP_<wbr/>STATE will be
7528 discarded by the camera device.<wbr/></p></span>
7532 </td> <!-- entry_type -->
7534 <td class="entry_description">
7535 <p>Overall mode of 3A (auto-exposure,<wbr/> auto-white-balance,<wbr/> auto-focus) control
7539 <td class="entry_units">
7542 <td class="entry_range">
7545 <td class="entry_tags">
7546 <ul class="entry_tags">
7547 <li><a href="#tag_BC">BC</a></li>
7552 <tr class="entries_header">
7553 <th class="th_details" colspan="5">Details</th>
7555 <tr class="entry_cont">
7556 <td class="entry_details" colspan="5">
7557 <p>This is a top-level 3A control switch.<wbr/> When set to OFF,<wbr/> all 3A control
7558 by the camera device is disabled.<wbr/> The application must set the fields for
7559 capture parameters itself.<wbr/></p>
7560 <p>When set to AUTO,<wbr/> the individual algorithm controls in
7561 android.<wbr/>control.<wbr/>* are in effect,<wbr/> such as <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a>.<wbr/></p>
7562 <p>When set to USE_<wbr/>SCENE_<wbr/>MODE,<wbr/> the individual controls in
7563 android.<wbr/>control.<wbr/>* are mostly disabled,<wbr/> and the camera device implements
7564 one of the scene mode settings (such as ACTION,<wbr/> SUNSET,<wbr/> or PARTY)
7565 as it wishes.<wbr/> The camera device scene mode 3A settings are provided by
7566 <a href="#static_android.control.sceneModeOverrides">android.<wbr/>control.<wbr/>scene<wbr/>Mode<wbr/>Overrides</a>.<wbr/></p>
7567 <p>When set to OFF_<wbr/>KEEP_<wbr/>STATE,<wbr/> it is similar to OFF mode,<wbr/> the only difference
7568 is that this frame will not be used by camera device background 3A statistics
7569 update,<wbr/> as if this frame is never captured.<wbr/> This mode can be used in the scenario
7570 where the application doesn't want a 3A manual control capture to affect
7571 the subsequent auto 3A capture results.<wbr/></p>
7572 <p>LEGACY mode devices will only support AUTO and USE_<wbr/>SCENE_<wbr/>MODE modes.<wbr/>
7573 LIMITED mode devices will only support OFF and OFF_<wbr/>KEEP_<wbr/>STATE if they
7574 support the MANUAL_<wbr/>SENSOR and MANUAL_<wbr/>POST_<wbr/>PROCSESING capabilities.<wbr/>
7575 FULL mode devices will always support OFF and OFF_<wbr/>KEEP_<wbr/>STATE.<wbr/></p>
7580 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
7581 <!-- end of entry -->
7584 <tr class="entry" id="dynamic_android.control.sceneMode">
7585 <td class="entry_name
7587 android.<wbr/>control.<wbr/>scene<wbr/>Mode
7589 <td class="entry_type">
7590 <span class="entry_type_name entry_type_name_enum">byte</span>
7592 <span class="entry_type_visibility"> [public]</span>
7595 <span class="entry_type_hwlevel">[legacy] </span>
7599 <ul class="entry_type_enum">
7601 <span class="entry_type_enum_name">DISABLED</span>
7602 <span class="entry_type_enum_value">0</span>
7603 <span class="entry_type_enum_notes"><p>Indicates that no scene modes are set for a given capture request.<wbr/></p></span>
7606 <span class="entry_type_enum_name">FACE_PRIORITY</span>
7607 <span class="entry_type_enum_notes"><p>If face detection support exists,<wbr/> use face
7608 detection data for auto-focus,<wbr/> auto-white balance,<wbr/> and
7609 auto-exposure routines.<wbr/></p>
7610 <p>If face detection statistics are disabled
7611 (i.<wbr/>e.<wbr/> <a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a> is set to OFF),<wbr/>
7612 this should still operate correctly (but will not return
7613 face detection statistics to the framework).<wbr/></p>
7614 <p>Unlike the other scene modes,<wbr/> <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/>
7615 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a>
7616 remain active when FACE_<wbr/>PRIORITY is set.<wbr/></p></span>
7619 <span class="entry_type_enum_name">ACTION</span>
7620 <span class="entry_type_enum_optional">[optional]</span>
7621 <span class="entry_type_enum_notes"><p>Optimized for photos of quickly moving objects.<wbr/></p>
7622 <p>Similar to SPORTS.<wbr/></p></span>
7625 <span class="entry_type_enum_name">PORTRAIT</span>
7626 <span class="entry_type_enum_optional">[optional]</span>
7627 <span class="entry_type_enum_notes"><p>Optimized for still photos of people.<wbr/></p></span>
7630 <span class="entry_type_enum_name">LANDSCAPE</span>
7631 <span class="entry_type_enum_optional">[optional]</span>
7632 <span class="entry_type_enum_notes"><p>Optimized for photos of distant macroscopic objects.<wbr/></p></span>
7635 <span class="entry_type_enum_name">NIGHT</span>
7636 <span class="entry_type_enum_optional">[optional]</span>
7637 <span class="entry_type_enum_notes"><p>Optimized for low-light settings.<wbr/></p></span>
7640 <span class="entry_type_enum_name">NIGHT_PORTRAIT</span>
7641 <span class="entry_type_enum_optional">[optional]</span>
7642 <span class="entry_type_enum_notes"><p>Optimized for still photos of people in low-light
7643 settings.<wbr/></p></span>
7646 <span class="entry_type_enum_name">THEATRE</span>
7647 <span class="entry_type_enum_optional">[optional]</span>
7648 <span class="entry_type_enum_notes"><p>Optimized for dim,<wbr/> indoor settings where flash must
7649 remain off.<wbr/></p></span>
7652 <span class="entry_type_enum_name">BEACH</span>
7653 <span class="entry_type_enum_optional">[optional]</span>
7654 <span class="entry_type_enum_notes"><p>Optimized for bright,<wbr/> outdoor beach settings.<wbr/></p></span>
7657 <span class="entry_type_enum_name">SNOW</span>
7658 <span class="entry_type_enum_optional">[optional]</span>
7659 <span class="entry_type_enum_notes"><p>Optimized for bright,<wbr/> outdoor settings containing snow.<wbr/></p></span>
7662 <span class="entry_type_enum_name">SUNSET</span>
7663 <span class="entry_type_enum_optional">[optional]</span>
7664 <span class="entry_type_enum_notes"><p>Optimized for scenes of the setting sun.<wbr/></p></span>
7667 <span class="entry_type_enum_name">STEADYPHOTO</span>
7668 <span class="entry_type_enum_optional">[optional]</span>
7669 <span class="entry_type_enum_notes"><p>Optimized to avoid blurry photos due to small amounts of
7670 device motion (for example: due to hand shake).<wbr/></p></span>
7673 <span class="entry_type_enum_name">FIREWORKS</span>
7674 <span class="entry_type_enum_optional">[optional]</span>
7675 <span class="entry_type_enum_notes"><p>Optimized for nighttime photos of fireworks.<wbr/></p></span>
7678 <span class="entry_type_enum_name">SPORTS</span>
7679 <span class="entry_type_enum_optional">[optional]</span>
7680 <span class="entry_type_enum_notes"><p>Optimized for photos of quickly moving people.<wbr/></p>
7681 <p>Similar to ACTION.<wbr/></p></span>
7684 <span class="entry_type_enum_name">PARTY</span>
7685 <span class="entry_type_enum_optional">[optional]</span>
7686 <span class="entry_type_enum_notes"><p>Optimized for dim,<wbr/> indoor settings with multiple moving
7687 people.<wbr/></p></span>
7690 <span class="entry_type_enum_name">CANDLELIGHT</span>
7691 <span class="entry_type_enum_optional">[optional]</span>
7692 <span class="entry_type_enum_notes"><p>Optimized for dim settings where the main light source
7693 is a flame.<wbr/></p></span>
7696 <span class="entry_type_enum_name">BARCODE</span>
7697 <span class="entry_type_enum_optional">[optional]</span>
7698 <span class="entry_type_enum_notes"><p>Optimized for accurately capturing a photo of barcode
7699 for use by camera applications that wish to read the
7700 barcode value.<wbr/></p></span>
7703 <span class="entry_type_enum_name">HIGH_SPEED_VIDEO</span>
7704 <span class="entry_type_enum_optional">[optional]</span>
7705 <span class="entry_type_enum_notes"><p>Optimized for high speed video recording (frame rate >=60fps) use case.<wbr/></p>
7706 <p>The supported high speed video sizes and fps ranges are specified in
7707 <a href="#static_android.control.availableHighSpeedVideoConfigurations">android.<wbr/>control.<wbr/>available<wbr/>High<wbr/>Speed<wbr/>Video<wbr/>Configurations</a>.<wbr/> To get desired
7708 output frame rates,<wbr/> the application is only allowed to select video size
7709 and fps range combinations listed in this static metadata.<wbr/> The fps range
7710 can be control via <a href="#controls_android.control.aeTargetFpsRange">android.<wbr/>control.<wbr/>ae<wbr/>Target<wbr/>Fps<wbr/>Range</a>.<wbr/></p>
7711 <p>In this mode,<wbr/> the camera device will override aeMode,<wbr/> awbMode,<wbr/> and afMode to
7712 ON,<wbr/> ON,<wbr/> and CONTINUOUS_<wbr/>VIDEO,<wbr/> respectively.<wbr/> All post-processing block mode
7713 controls will be overridden to be FAST.<wbr/> Therefore,<wbr/> no manual control of capture
7714 and post-processing parameters is possible.<wbr/> All other controls operate the
7715 same as when <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> == AUTO.<wbr/> This means that all other
7716 android.<wbr/>control.<wbr/>* fields continue to work,<wbr/> such as</p>
7718 <li><a href="#controls_android.control.aeTargetFpsRange">android.<wbr/>control.<wbr/>ae<wbr/>Target<wbr/>Fps<wbr/>Range</a></li>
7719 <li><a href="#controls_android.control.aeExposureCompensation">android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation</a></li>
7720 <li><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a></li>
7721 <li><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a></li>
7722 <li><a href="#controls_android.control.effectMode">android.<wbr/>control.<wbr/>effect<wbr/>Mode</a></li>
7723 <li><a href="#controls_android.control.aeRegions">android.<wbr/>control.<wbr/>ae<wbr/>Regions</a></li>
7724 <li><a href="#controls_android.control.afRegions">android.<wbr/>control.<wbr/>af<wbr/>Regions</a></li>
7725 <li><a href="#controls_android.control.awbRegions">android.<wbr/>control.<wbr/>awb<wbr/>Regions</a></li>
7726 <li><a href="#controls_android.control.afTrigger">android.<wbr/>control.<wbr/>af<wbr/>Trigger</a></li>
7727 <li><a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a></li>
7729 <p>Outside of android.<wbr/>control.<wbr/>*,<wbr/> the following controls will work:</p>
7731 <li><a href="#controls_android.flash.mode">android.<wbr/>flash.<wbr/>mode</a> (automatic flash for still capture will not work since aeMode is ON)</li>
7732 <li><a href="#controls_android.lens.opticalStabilizationMode">android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode</a> (if it is supported)</li>
7733 <li><a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a></li>
7734 <li><a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a></li>
7736 <p>For high speed recording use case,<wbr/> the actual maximum supported frame rate may
7737 be lower than what camera can output,<wbr/> depending on the destination Surfaces for
7738 the image data.<wbr/> For example,<wbr/> if the destination surface is from video encoder,<wbr/>
7739 the application need check if the video encoder is capable of supporting the
7740 high frame rate for a given video size,<wbr/> or it will end up with lower recording
7741 frame rate.<wbr/> If the destination surface is from preview window,<wbr/> the preview frame
7742 rate will be bounded by the screen refresh rate.<wbr/></p>
7743 <p>The camera device will only support up to 2 output high speed streams
7744 (processed non-stalling format defined in <a href="#static_android.request.maxNumOutputStreams">android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Output<wbr/>Streams</a>)
7745 in this mode.<wbr/> This control will be effective only if all of below conditions are true:</p>
7747 <li>The application created no more than maxNumHighSpeedStreams processed non-stalling
7748 format output streams,<wbr/> where maxNumHighSpeedStreams is calculated as
7749 min(2,<wbr/> <a href="#static_android.request.maxNumOutputStreams">android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Output<wbr/>Streams</a>[Processed (but not-stalling)]).<wbr/></li>
7750 <li>The stream sizes are selected from the sizes reported by
7751 <a href="#static_android.control.availableHighSpeedVideoConfigurations">android.<wbr/>control.<wbr/>available<wbr/>High<wbr/>Speed<wbr/>Video<wbr/>Configurations</a>.<wbr/></li>
7752 <li>No processed non-stalling or raw streams are configured.<wbr/></li>
7754 <p>When above conditions are NOT satistied,<wbr/> the controls of this mode and
7755 <a href="#controls_android.control.aeTargetFpsRange">android.<wbr/>control.<wbr/>ae<wbr/>Target<wbr/>Fps<wbr/>Range</a> will be ignored by the camera device,<wbr/>
7756 the camera device will fall back to <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> <code>==</code> AUTO,<wbr/>
7757 and the returned capture result metadata will give the fps range choosen
7758 by the camera device.<wbr/></p>
7759 <p>Switching into or out of this mode may trigger some camera ISP/<wbr/>sensor
7760 reconfigurations,<wbr/> which may introduce extra latency.<wbr/> It is recommended that
7761 the application avoids unnecessary scene mode switch as much as possible.<wbr/></p></span>
7764 <span class="entry_type_enum_name">HDR</span>
7765 <span class="entry_type_enum_optional">[optional]</span>
7766 <span class="entry_type_enum_optional">[hidden]</span>
7767 <span class="entry_type_enum_notes"><p>Turn on custom high dynamic range (HDR) mode.<wbr/></p>
7768 <p>This is intended for LEGACY mode devices only;
7769 HAL3+ camera devices should not implement this mode.<wbr/></p></span>
7773 </td> <!-- entry_type -->
7775 <td class="entry_description">
7776 <p>Control for which scene mode is currently active.<wbr/></p>
7779 <td class="entry_units">
7782 <td class="entry_range">
7783 <p><a href="#static_android.control.availableSceneModes">android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes</a></p>
7786 <td class="entry_tags">
7787 <ul class="entry_tags">
7788 <li><a href="#tag_BC">BC</a></li>
7793 <tr class="entries_header">
7794 <th class="th_details" colspan="5">Details</th>
7796 <tr class="entry_cont">
7797 <td class="entry_details" colspan="5">
7798 <p>Scene modes are custom camera modes optimized for a certain set of conditions and
7799 capture settings.<wbr/></p>
7800 <p>This is the mode that that is active when
7801 <code><a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> == USE_<wbr/>SCENE_<wbr/>MODE</code>.<wbr/> Aside from FACE_<wbr/>PRIORITY,<wbr/>
7802 these modes will disable <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/>
7803 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> while in use.<wbr/></p>
7804 <p>The interpretation and implementation of these scene modes is left
7805 to the implementor of the camera device.<wbr/> Their behavior will not be
7806 consistent across all devices,<wbr/> and any given device may only implement
7807 a subset of these modes.<wbr/></p>
7811 <tr class="entries_header">
7812 <th class="th_details" colspan="5">HAL Implementation Details</th>
7814 <tr class="entry_cont">
7815 <td class="entry_details" colspan="5">
7816 <p>HAL implementations that include scene modes are expected to provide
7817 the per-scene settings to use for <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/>
7818 <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> in
7819 <a href="#static_android.control.sceneModeOverrides">android.<wbr/>control.<wbr/>scene<wbr/>Mode<wbr/>Overrides</a>.<wbr/></p>
7820 <p>For HIGH_<wbr/>SPEED_<wbr/>VIDEO mode,<wbr/> if it is included in <a href="#static_android.control.availableSceneModes">android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes</a>,<wbr/>
7821 the HAL must list supported video size and fps range in
7822 <a href="#static_android.control.availableHighSpeedVideoConfigurations">android.<wbr/>control.<wbr/>available<wbr/>High<wbr/>Speed<wbr/>Video<wbr/>Configurations</a>.<wbr/> For a given size,<wbr/> e.<wbr/>g.<wbr/>
7823 1280x720,<wbr/> if the HAL has two different sensor configurations for normal streaming
7824 mode and high speed streaming,<wbr/> when this scene mode is set/<wbr/>reset in a sequence of capture
7825 requests,<wbr/> the HAL may have to switch between different sensor modes.<wbr/></p>
7829 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
7830 <!-- end of entry -->
7833 <tr class="entry" id="dynamic_android.control.videoStabilizationMode">
7834 <td class="entry_name
7836 android.<wbr/>control.<wbr/>video<wbr/>Stabilization<wbr/>Mode
7838 <td class="entry_type">
7839 <span class="entry_type_name entry_type_name_enum">byte</span>
7841 <span class="entry_type_visibility"> [public]</span>
7844 <span class="entry_type_hwlevel">[legacy] </span>
7848 <ul class="entry_type_enum">
7850 <span class="entry_type_enum_name">OFF</span>
7851 <span class="entry_type_enum_notes"><p>Video stabilization is disabled.<wbr/></p></span>
7854 <span class="entry_type_enum_name">ON</span>
7855 <span class="entry_type_enum_notes"><p>Video stabilization is enabled.<wbr/></p></span>
7859 </td> <!-- entry_type -->
7861 <td class="entry_description">
7862 <p>Whether video stabilization is
7866 <td class="entry_units">
7869 <td class="entry_range">
7872 <td class="entry_tags">
7873 <ul class="entry_tags">
7874 <li><a href="#tag_BC">BC</a></li>
7879 <tr class="entries_header">
7880 <th class="th_details" colspan="5">Details</th>
7882 <tr class="entry_cont">
7883 <td class="entry_details" colspan="5">
7884 <p>Video stabilization automatically translates and scales images from
7885 the camera in order to stabilize motion between consecutive frames.<wbr/></p>
7886 <p>If enabled,<wbr/> video stabilization can modify the
7887 <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a> to keep the video stream stabilized.<wbr/></p>
7888 <p>Switching between different video stabilization modes may take several
7889 frames to initialize,<wbr/> the camera device will report the current mode
7890 in capture result metadata.<wbr/> For example,<wbr/> When "ON" mode is requested,<wbr/>
7891 the video stabilization modes in the first several capture results may
7892 still be "OFF",<wbr/> and it will become "ON" when the initialization is
7894 <p>If a camera device supports both this mode and OIS
7895 (<a href="#controls_android.lens.opticalStabilizationMode">android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode</a>),<wbr/> turning both modes on may
7896 produce undesirable interaction,<wbr/> so it is recommended not to enable
7897 both at the same time.<wbr/></p>
7902 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
7903 <!-- end of entry -->
7907 <!-- end of kind -->
7910 <!-- end of section -->
7911 <tr><td colspan="6" id="section_demosaic" class="section">demosaic</td></tr>
7914 <tr><td colspan="6" class="kind">controls</td></tr>
7916 <thead class="entries_header">
7918 <th class="th_name">Property Name</th>
7919 <th class="th_type">Type</th>
7920 <th class="th_description">Description</th>
7921 <th class="th_units">Units</th>
7922 <th class="th_range">Range</th>
7923 <th class="th_tags">Tags</th>
7938 <tr class="entry" id="controls_android.demosaic.mode">
7939 <td class="entry_name
7941 android.<wbr/>demosaic.<wbr/>mode
7943 <td class="entry_type">
7944 <span class="entry_type_name entry_type_name_enum">byte</span>
7946 <span class="entry_type_visibility"> [system]</span>
7952 <ul class="entry_type_enum">
7954 <span class="entry_type_enum_name">FAST</span>
7955 <span class="entry_type_enum_notes"><p>Minimal or no slowdown of frame rate compared to
7956 Bayer RAW output.<wbr/></p></span>
7959 <span class="entry_type_enum_name">HIGH_QUALITY</span>
7960 <span class="entry_type_enum_notes"><p>Improved processing quality but the frame rate is slowed down
7961 relative to raw output.<wbr/></p></span>
7965 </td> <!-- entry_type -->
7967 <td class="entry_description">
7968 <p>Controls the quality of the demosaicing
7969 processing.<wbr/></p>
7972 <td class="entry_units">
7975 <td class="entry_range">
7978 <td class="entry_tags">
7979 <ul class="entry_tags">
7980 <li><a href="#tag_FUTURE">FUTURE</a></li>
7987 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
7988 <!-- end of entry -->
7992 <!-- end of kind -->
7995 <!-- end of section -->
7996 <tr><td colspan="6" id="section_edge" class="section">edge</td></tr>
7999 <tr><td colspan="6" class="kind">controls</td></tr>
8001 <thead class="entries_header">
8003 <th class="th_name">Property Name</th>
8004 <th class="th_type">Type</th>
8005 <th class="th_description">Description</th>
8006 <th class="th_units">Units</th>
8007 <th class="th_range">Range</th>
8008 <th class="th_tags">Tags</th>
8023 <tr class="entry" id="controls_android.edge.mode">
8024 <td class="entry_name
8026 android.<wbr/>edge.<wbr/>mode
8028 <td class="entry_type">
8029 <span class="entry_type_name entry_type_name_enum">byte</span>
8031 <span class="entry_type_visibility"> [public]</span>
8034 <span class="entry_type_hwlevel">[full] </span>
8038 <ul class="entry_type_enum">
8040 <span class="entry_type_enum_name">OFF</span>
8041 <span class="entry_type_enum_notes"><p>No edge enhancement is applied.<wbr/></p></span>
8044 <span class="entry_type_enum_name">FAST</span>
8045 <span class="entry_type_enum_notes"><p>Apply edge enhancement at a quality level that does not slow down frame rate relative to sensor
8049 <span class="entry_type_enum_name">HIGH_QUALITY</span>
8050 <span class="entry_type_enum_notes"><p>Apply high-quality edge enhancement,<wbr/> at a cost of reducing output frame rate.<wbr/></p></span>
8054 </td> <!-- entry_type -->
8056 <td class="entry_description">
8057 <p>Operation mode for edge
8058 enhancement.<wbr/></p>
8061 <td class="entry_units">
8064 <td class="entry_range">
8065 <p><a href="#static_android.edge.availableEdgeModes">android.<wbr/>edge.<wbr/>available<wbr/>Edge<wbr/>Modes</a></p>
8068 <td class="entry_tags">
8069 <ul class="entry_tags">
8070 <li><a href="#tag_V1">V1</a></li>
8075 <tr class="entries_header">
8076 <th class="th_details" colspan="5">Details</th>
8078 <tr class="entry_cont">
8079 <td class="entry_details" colspan="5">
8080 <p>Edge enhancement improves sharpness and details in the captured image.<wbr/> OFF means
8081 no enhancement will be applied by the camera device.<wbr/></p>
8082 <p>FAST/<wbr/>HIGH_<wbr/>QUALITY both mean camera device determined enhancement
8083 will be applied.<wbr/> HIGH_<wbr/>QUALITY mode indicates that the
8084 camera device will use the highest-quality enhancement algorithms,<wbr/>
8085 even if it slows down capture rate.<wbr/> FAST means the camera device will
8086 not slow down capture rate when applying edge enhancement.<wbr/></p>
8091 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8092 <!-- end of entry -->
8095 <tr class="entry" id="controls_android.edge.strength">
8096 <td class="entry_name
8098 android.<wbr/>edge.<wbr/>strength
8100 <td class="entry_type">
8101 <span class="entry_type_name">byte</span>
8103 <span class="entry_type_visibility"> [system]</span>
8110 </td> <!-- entry_type -->
8112 <td class="entry_description">
8113 <p>Control the amount of edge enhancement
8114 applied to the images</p>
8117 <td class="entry_units">
8118 1-10; 10 is maximum sharpening
8121 <td class="entry_range">
8124 <td class="entry_tags">
8125 <ul class="entry_tags">
8126 <li><a href="#tag_FUTURE">FUTURE</a></li>
8133 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8134 <!-- end of entry -->
8138 <!-- end of kind -->
8140 <tr><td colspan="6" class="kind">static</td></tr>
8142 <thead class="entries_header">
8144 <th class="th_name">Property Name</th>
8145 <th class="th_type">Type</th>
8146 <th class="th_description">Description</th>
8147 <th class="th_units">Units</th>
8148 <th class="th_range">Range</th>
8149 <th class="th_tags">Tags</th>
8164 <tr class="entry" id="static_android.edge.availableEdgeModes">
8165 <td class="entry_name
8167 android.<wbr/>edge.<wbr/>available<wbr/>Edge<wbr/>Modes
8169 <td class="entry_type">
8170 <span class="entry_type_name">byte</span>
8171 <span class="entry_type_container">x</span>
8173 <span class="entry_type_array">
8176 <span class="entry_type_visibility"> [public as enumList]</span>
8179 <span class="entry_type_hwlevel">[full] </span>
8182 <div class="entry_type_notes">list of enums</div>
8185 </td> <!-- entry_type -->
8187 <td class="entry_description">
8188 <p>List of edge enhancement modes for <a href="#controls_android.edge.mode">android.<wbr/>edge.<wbr/>mode</a> that are supported by this camera
8192 <td class="entry_units">
8195 <td class="entry_range">
8196 <p>Any value listed in <a href="#controls_android.edge.mode">android.<wbr/>edge.<wbr/>mode</a></p>
8199 <td class="entry_tags">
8200 <ul class="entry_tags">
8201 <li><a href="#tag_V1">V1</a></li>
8206 <tr class="entries_header">
8207 <th class="th_details" colspan="5">Details</th>
8209 <tr class="entry_cont">
8210 <td class="entry_details" colspan="5">
8211 <p>Full-capability camera devices must always support OFF; all devices will list FAST.<wbr/></p>
8216 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8217 <!-- end of entry -->
8221 <!-- end of kind -->
8223 <tr><td colspan="6" class="kind">dynamic</td></tr>
8225 <thead class="entries_header">
8227 <th class="th_name">Property Name</th>
8228 <th class="th_type">Type</th>
8229 <th class="th_description">Description</th>
8230 <th class="th_units">Units</th>
8231 <th class="th_range">Range</th>
8232 <th class="th_tags">Tags</th>
8247 <tr class="entry" id="dynamic_android.edge.mode">
8248 <td class="entry_name
8250 android.<wbr/>edge.<wbr/>mode
8252 <td class="entry_type">
8253 <span class="entry_type_name entry_type_name_enum">byte</span>
8255 <span class="entry_type_visibility"> [public]</span>
8258 <span class="entry_type_hwlevel">[full] </span>
8262 <ul class="entry_type_enum">
8264 <span class="entry_type_enum_name">OFF</span>
8265 <span class="entry_type_enum_notes"><p>No edge enhancement is applied.<wbr/></p></span>
8268 <span class="entry_type_enum_name">FAST</span>
8269 <span class="entry_type_enum_notes"><p>Apply edge enhancement at a quality level that does not slow down frame rate relative to sensor
8273 <span class="entry_type_enum_name">HIGH_QUALITY</span>
8274 <span class="entry_type_enum_notes"><p>Apply high-quality edge enhancement,<wbr/> at a cost of reducing output frame rate.<wbr/></p></span>
8278 </td> <!-- entry_type -->
8280 <td class="entry_description">
8281 <p>Operation mode for edge
8282 enhancement.<wbr/></p>
8285 <td class="entry_units">
8288 <td class="entry_range">
8289 <p><a href="#static_android.edge.availableEdgeModes">android.<wbr/>edge.<wbr/>available<wbr/>Edge<wbr/>Modes</a></p>
8292 <td class="entry_tags">
8293 <ul class="entry_tags">
8294 <li><a href="#tag_V1">V1</a></li>
8299 <tr class="entries_header">
8300 <th class="th_details" colspan="5">Details</th>
8302 <tr class="entry_cont">
8303 <td class="entry_details" colspan="5">
8304 <p>Edge enhancement improves sharpness and details in the captured image.<wbr/> OFF means
8305 no enhancement will be applied by the camera device.<wbr/></p>
8306 <p>FAST/<wbr/>HIGH_<wbr/>QUALITY both mean camera device determined enhancement
8307 will be applied.<wbr/> HIGH_<wbr/>QUALITY mode indicates that the
8308 camera device will use the highest-quality enhancement algorithms,<wbr/>
8309 even if it slows down capture rate.<wbr/> FAST means the camera device will
8310 not slow down capture rate when applying edge enhancement.<wbr/></p>
8315 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8316 <!-- end of entry -->
8320 <!-- end of kind -->
8323 <!-- end of section -->
8324 <tr><td colspan="6" id="section_flash" class="section">flash</td></tr>
8327 <tr><td colspan="6" class="kind">controls</td></tr>
8329 <thead class="entries_header">
8331 <th class="th_name">Property Name</th>
8332 <th class="th_type">Type</th>
8333 <th class="th_description">Description</th>
8334 <th class="th_units">Units</th>
8335 <th class="th_range">Range</th>
8336 <th class="th_tags">Tags</th>
8351 <tr class="entry" id="controls_android.flash.firingPower">
8352 <td class="entry_name
8354 android.<wbr/>flash.<wbr/>firing<wbr/>Power
8356 <td class="entry_type">
8357 <span class="entry_type_name">byte</span>
8359 <span class="entry_type_visibility"> [system]</span>
8366 </td> <!-- entry_type -->
8368 <td class="entry_description">
8369 <p>Power for flash firing/<wbr/>torch</p>
8372 <td class="entry_units">
8373 10 is max power; 0 is no flash.<wbr/> Linear
8376 <td class="entry_range">
8380 <td class="entry_tags">
8381 <ul class="entry_tags">
8382 <li><a href="#tag_FUTURE">FUTURE</a></li>
8387 <tr class="entries_header">
8388 <th class="th_details" colspan="5">Details</th>
8390 <tr class="entry_cont">
8391 <td class="entry_details" colspan="5">
8392 <p>Power for snapshot may use a different scale than
8393 for torch mode.<wbr/> Only one entry for torch mode will be
8399 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8400 <!-- end of entry -->
8403 <tr class="entry" id="controls_android.flash.firingTime">
8404 <td class="entry_name
8406 android.<wbr/>flash.<wbr/>firing<wbr/>Time
8408 <td class="entry_type">
8409 <span class="entry_type_name">int64</span>
8411 <span class="entry_type_visibility"> [system]</span>
8418 </td> <!-- entry_type -->
8420 <td class="entry_description">
8421 <p>Firing time of flash relative to start of
8425 <td class="entry_units">
8429 <td class="entry_range">
8430 <p>0-(exposure time-flash duration)</p>
8433 <td class="entry_tags">
8434 <ul class="entry_tags">
8435 <li><a href="#tag_FUTURE">FUTURE</a></li>
8440 <tr class="entries_header">
8441 <th class="th_details" colspan="5">Details</th>
8443 <tr class="entry_cont">
8444 <td class="entry_details" colspan="5">
8445 <p>Clamped to (0,<wbr/> exposure time - flash
8446 duration).<wbr/></p>
8451 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8452 <!-- end of entry -->
8455 <tr class="entry" id="controls_android.flash.mode">
8456 <td class="entry_name
8458 android.<wbr/>flash.<wbr/>mode
8460 <td class="entry_type">
8461 <span class="entry_type_name entry_type_name_enum">byte</span>
8463 <span class="entry_type_visibility"> [public]</span>
8466 <span class="entry_type_hwlevel">[legacy] </span>
8470 <ul class="entry_type_enum">
8472 <span class="entry_type_enum_name">OFF</span>
8473 <span class="entry_type_enum_notes"><p>Do not fire the flash for this capture.<wbr/></p></span>
8476 <span class="entry_type_enum_name">SINGLE</span>
8477 <span class="entry_type_enum_notes"><p>If the flash is available and charged,<wbr/> fire flash
8478 for this capture.<wbr/></p></span>
8481 <span class="entry_type_enum_name">TORCH</span>
8482 <span class="entry_type_enum_notes"><p>Transition flash to continuously on.<wbr/></p></span>
8486 </td> <!-- entry_type -->
8488 <td class="entry_description">
8489 <p>The desired mode for for the camera device's flash control.<wbr/></p>
8492 <td class="entry_units">
8495 <td class="entry_range">
8498 <td class="entry_tags">
8499 <ul class="entry_tags">
8500 <li><a href="#tag_BC">BC</a></li>
8505 <tr class="entries_header">
8506 <th class="th_details" colspan="5">Details</th>
8508 <tr class="entry_cont">
8509 <td class="entry_details" colspan="5">
8510 <p>This control is only effective when flash unit is available
8511 (<code><a href="#static_android.flash.info.available">android.<wbr/>flash.<wbr/>info.<wbr/>available</a> == true</code>).<wbr/></p>
8512 <p>When this control is used,<wbr/> the <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> must be set to ON or OFF.<wbr/>
8513 Otherwise,<wbr/> the camera device auto-exposure related flash control (ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/>
8514 ON_<wbr/>ALWAYS_<wbr/>FLASH,<wbr/> or ON_<wbr/>AUTO_<wbr/>FLASH_<wbr/>REDEYE) will override this control.<wbr/></p>
8515 <p>When set to OFF,<wbr/> the camera device will not fire flash for this capture.<wbr/></p>
8516 <p>When set to SINGLE,<wbr/> the camera device will fire flash regardless of the camera
8517 device's auto-exposure routine's result.<wbr/> When used in still capture case,<wbr/> this
8518 control should be used along with auto-exposure (AE) precapture metering sequence
8519 (<a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>),<wbr/> otherwise,<wbr/> the image may be incorrectly exposed.<wbr/></p>
8520 <p>When set to TORCH,<wbr/> the flash will be on continuously.<wbr/> This mode can be used
8521 for use cases such as preview,<wbr/> auto-focus assist,<wbr/> still capture,<wbr/> or video recording.<wbr/></p>
8522 <p>The flash status will be reported by <a href="#dynamic_android.flash.state">android.<wbr/>flash.<wbr/>state</a> in the capture result metadata.<wbr/></p>
8527 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8528 <!-- end of entry -->
8532 <!-- end of kind -->
8534 <tr><td colspan="6" class="kind">static</td></tr>
8536 <thead class="entries_header">
8538 <th class="th_name">Property Name</th>
8539 <th class="th_type">Type</th>
8540 <th class="th_description">Description</th>
8541 <th class="th_units">Units</th>
8542 <th class="th_range">Range</th>
8543 <th class="th_tags">Tags</th>
8560 <tr class="entry" id="static_android.flash.info.available">
8561 <td class="entry_name
8563 android.<wbr/>flash.<wbr/>info.<wbr/>available
8565 <td class="entry_type">
8566 <span class="entry_type_name entry_type_name_enum">byte</span>
8568 <span class="entry_type_visibility"> [public as boolean]</span>
8571 <span class="entry_type_hwlevel">[legacy] </span>
8575 <ul class="entry_type_enum">
8577 <span class="entry_type_enum_name">FALSE</span>
8580 <span class="entry_type_enum_name">TRUE</span>
8584 </td> <!-- entry_type -->
8586 <td class="entry_description">
8587 <p>Whether this camera device has a
8588 flash unit.<wbr/></p>
8591 <td class="entry_units">
8594 <td class="entry_range">
8597 <td class="entry_tags">
8598 <ul class="entry_tags">
8599 <li><a href="#tag_BC">BC</a></li>
8604 <tr class="entries_header">
8605 <th class="th_details" colspan="5">Details</th>
8607 <tr class="entry_cont">
8608 <td class="entry_details" colspan="5">
8609 <p>Will be <code>false</code> if no flash is available.<wbr/></p>
8610 <p>If there is no flash unit,<wbr/> none of the flash controls do
8616 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8617 <!-- end of entry -->
8620 <tr class="entry" id="static_android.flash.info.chargeDuration">
8621 <td class="entry_name
8623 android.<wbr/>flash.<wbr/>info.<wbr/>charge<wbr/>Duration
8625 <td class="entry_type">
8626 <span class="entry_type_name">int64</span>
8628 <span class="entry_type_visibility"> [system]</span>
8635 </td> <!-- entry_type -->
8637 <td class="entry_description">
8638 <p>Time taken before flash can fire
8642 <td class="entry_units">
8646 <td class="entry_range">
8650 <td class="entry_tags">
8651 <ul class="entry_tags">
8652 <li><a href="#tag_FUTURE">FUTURE</a></li>
8657 <tr class="entries_header">
8658 <th class="th_details" colspan="5">Details</th>
8660 <tr class="entry_cont">
8661 <td class="entry_details" colspan="5">
8662 <p>1 second too long/<wbr/>too short for recharge? Should
8663 this be power-dependent?</p>
8668 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8669 <!-- end of entry -->
8675 <tr class="entry" id="static_android.flash.colorTemperature">
8676 <td class="entry_name
8678 android.<wbr/>flash.<wbr/>color<wbr/>Temperature
8680 <td class="entry_type">
8681 <span class="entry_type_name">byte</span>
8683 <span class="entry_type_visibility"> [system]</span>
8690 </td> <!-- entry_type -->
8692 <td class="entry_description">
8693 <p>The x,<wbr/>y whitepoint of the
8697 <td class="entry_units">
8701 <td class="entry_range">
8705 <td class="entry_tags">
8706 <ul class="entry_tags">
8707 <li><a href="#tag_FUTURE">FUTURE</a></li>
8714 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8715 <!-- end of entry -->
8718 <tr class="entry" id="static_android.flash.maxEnergy">
8719 <td class="entry_name
8721 android.<wbr/>flash.<wbr/>max<wbr/>Energy
8723 <td class="entry_type">
8724 <span class="entry_type_name">byte</span>
8726 <span class="entry_type_visibility"> [system]</span>
8733 </td> <!-- entry_type -->
8735 <td class="entry_description">
8736 <p>Max energy output of the flash for a full
8737 power single flash</p>
8740 <td class="entry_units">
8744 <td class="entry_range">
8748 <td class="entry_tags">
8749 <ul class="entry_tags">
8750 <li><a href="#tag_FUTURE">FUTURE</a></li>
8757 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8758 <!-- end of entry -->
8762 <!-- end of kind -->
8764 <tr><td colspan="6" class="kind">dynamic</td></tr>
8766 <thead class="entries_header">
8768 <th class="th_name">Property Name</th>
8769 <th class="th_type">Type</th>
8770 <th class="th_description">Description</th>
8771 <th class="th_units">Units</th>
8772 <th class="th_range">Range</th>
8773 <th class="th_tags">Tags</th>
8788 <tr class="entry" id="dynamic_android.flash.firingPower">
8789 <td class="entry_name
8791 android.<wbr/>flash.<wbr/>firing<wbr/>Power
8793 <td class="entry_type">
8794 <span class="entry_type_name">byte</span>
8796 <span class="entry_type_visibility"> [system]</span>
8803 </td> <!-- entry_type -->
8805 <td class="entry_description">
8806 <p>Power for flash firing/<wbr/>torch</p>
8809 <td class="entry_units">
8810 10 is max power; 0 is no flash.<wbr/> Linear
8813 <td class="entry_range">
8817 <td class="entry_tags">
8818 <ul class="entry_tags">
8819 <li><a href="#tag_FUTURE">FUTURE</a></li>
8824 <tr class="entries_header">
8825 <th class="th_details" colspan="5">Details</th>
8827 <tr class="entry_cont">
8828 <td class="entry_details" colspan="5">
8829 <p>Power for snapshot may use a different scale than
8830 for torch mode.<wbr/> Only one entry for torch mode will be
8836 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8837 <!-- end of entry -->
8840 <tr class="entry" id="dynamic_android.flash.firingTime">
8841 <td class="entry_name
8843 android.<wbr/>flash.<wbr/>firing<wbr/>Time
8845 <td class="entry_type">
8846 <span class="entry_type_name">int64</span>
8848 <span class="entry_type_visibility"> [system]</span>
8855 </td> <!-- entry_type -->
8857 <td class="entry_description">
8858 <p>Firing time of flash relative to start of
8862 <td class="entry_units">
8866 <td class="entry_range">
8867 <p>0-(exposure time-flash duration)</p>
8870 <td class="entry_tags">
8871 <ul class="entry_tags">
8872 <li><a href="#tag_FUTURE">FUTURE</a></li>
8877 <tr class="entries_header">
8878 <th class="th_details" colspan="5">Details</th>
8880 <tr class="entry_cont">
8881 <td class="entry_details" colspan="5">
8882 <p>Clamped to (0,<wbr/> exposure time - flash
8883 duration).<wbr/></p>
8888 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8889 <!-- end of entry -->
8892 <tr class="entry" id="dynamic_android.flash.mode">
8893 <td class="entry_name
8895 android.<wbr/>flash.<wbr/>mode
8897 <td class="entry_type">
8898 <span class="entry_type_name entry_type_name_enum">byte</span>
8900 <span class="entry_type_visibility"> [public]</span>
8903 <span class="entry_type_hwlevel">[legacy] </span>
8907 <ul class="entry_type_enum">
8909 <span class="entry_type_enum_name">OFF</span>
8910 <span class="entry_type_enum_notes"><p>Do not fire the flash for this capture.<wbr/></p></span>
8913 <span class="entry_type_enum_name">SINGLE</span>
8914 <span class="entry_type_enum_notes"><p>If the flash is available and charged,<wbr/> fire flash
8915 for this capture.<wbr/></p></span>
8918 <span class="entry_type_enum_name">TORCH</span>
8919 <span class="entry_type_enum_notes"><p>Transition flash to continuously on.<wbr/></p></span>
8923 </td> <!-- entry_type -->
8925 <td class="entry_description">
8926 <p>The desired mode for for the camera device's flash control.<wbr/></p>
8929 <td class="entry_units">
8932 <td class="entry_range">
8935 <td class="entry_tags">
8936 <ul class="entry_tags">
8937 <li><a href="#tag_BC">BC</a></li>
8942 <tr class="entries_header">
8943 <th class="th_details" colspan="5">Details</th>
8945 <tr class="entry_cont">
8946 <td class="entry_details" colspan="5">
8947 <p>This control is only effective when flash unit is available
8948 (<code><a href="#static_android.flash.info.available">android.<wbr/>flash.<wbr/>info.<wbr/>available</a> == true</code>).<wbr/></p>
8949 <p>When this control is used,<wbr/> the <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> must be set to ON or OFF.<wbr/>
8950 Otherwise,<wbr/> the camera device auto-exposure related flash control (ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/>
8951 ON_<wbr/>ALWAYS_<wbr/>FLASH,<wbr/> or ON_<wbr/>AUTO_<wbr/>FLASH_<wbr/>REDEYE) will override this control.<wbr/></p>
8952 <p>When set to OFF,<wbr/> the camera device will not fire flash for this capture.<wbr/></p>
8953 <p>When set to SINGLE,<wbr/> the camera device will fire flash regardless of the camera
8954 device's auto-exposure routine's result.<wbr/> When used in still capture case,<wbr/> this
8955 control should be used along with auto-exposure (AE) precapture metering sequence
8956 (<a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>),<wbr/> otherwise,<wbr/> the image may be incorrectly exposed.<wbr/></p>
8957 <p>When set to TORCH,<wbr/> the flash will be on continuously.<wbr/> This mode can be used
8958 for use cases such as preview,<wbr/> auto-focus assist,<wbr/> still capture,<wbr/> or video recording.<wbr/></p>
8959 <p>The flash status will be reported by <a href="#dynamic_android.flash.state">android.<wbr/>flash.<wbr/>state</a> in the capture result metadata.<wbr/></p>
8964 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
8965 <!-- end of entry -->
8968 <tr class="entry" id="dynamic_android.flash.state">
8969 <td class="entry_name
8971 android.<wbr/>flash.<wbr/>state
8973 <td class="entry_type">
8974 <span class="entry_type_name entry_type_name_enum">byte</span>
8976 <span class="entry_type_visibility"> [public]</span>
8979 <span class="entry_type_hwlevel">[limited] </span>
8983 <ul class="entry_type_enum">
8985 <span class="entry_type_enum_name">UNAVAILABLE</span>
8986 <span class="entry_type_enum_notes"><p>No flash on camera.<wbr/></p></span>
8989 <span class="entry_type_enum_name">CHARGING</span>
8990 <span class="entry_type_enum_notes"><p>Flash is charging and cannot be fired.<wbr/></p></span>
8993 <span class="entry_type_enum_name">READY</span>
8994 <span class="entry_type_enum_notes"><p>Flash is ready to fire.<wbr/></p></span>
8997 <span class="entry_type_enum_name">FIRED</span>
8998 <span class="entry_type_enum_notes"><p>Flash fired for this capture.<wbr/></p></span>
9001 <span class="entry_type_enum_name">PARTIAL</span>
9002 <span class="entry_type_enum_notes"><p>Flash partially illuminated this frame.<wbr/></p>
9003 <p>This is usually due to the next or previous frame having
9004 the flash fire,<wbr/> and the flash spilling into this capture
9005 due to hardware limitations.<wbr/></p></span>
9009 </td> <!-- entry_type -->
9011 <td class="entry_description">
9012 <p>Current state of the flash
9016 <td class="entry_units">
9019 <td class="entry_range">
9022 <td class="entry_tags">
9026 <tr class="entries_header">
9027 <th class="th_details" colspan="5">Details</th>
9029 <tr class="entry_cont">
9030 <td class="entry_details" colspan="5">
9031 <p>When the camera device doesn't have flash unit
9032 (i.<wbr/>e.<wbr/> <code><a href="#static_android.flash.info.available">android.<wbr/>flash.<wbr/>info.<wbr/>available</a> == false</code>),<wbr/> this state will always be UNAVAILABLE.<wbr/>
9033 Other states indicate the current flash status.<wbr/></p>
9034 <p>In certain conditions,<wbr/> this will be available on LEGACY devices:</p>
9036 <li>Flash-less cameras always return UNAVAILABLE.<wbr/></li>
9037 <li>Using <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> <code>==</code> ON_<wbr/>ALWAYS_<wbr/>FLASH
9038 will always return FIRED.<wbr/></li>
9039 <li>Using <a href="#controls_android.flash.mode">android.<wbr/>flash.<wbr/>mode</a> <code>==</code> TORCH
9040 will always return FIRED.<wbr/></li>
9042 <p>In all other conditions the state will not be available on
9043 LEGACY devices (i.<wbr/>e.<wbr/> it will be <code>null</code>).<wbr/></p>
9048 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9049 <!-- end of entry -->
9053 <!-- end of kind -->
9056 <!-- end of section -->
9057 <tr><td colspan="6" id="section_hotPixel" class="section">hotPixel</td></tr>
9060 <tr><td colspan="6" class="kind">controls</td></tr>
9062 <thead class="entries_header">
9064 <th class="th_name">Property Name</th>
9065 <th class="th_type">Type</th>
9066 <th class="th_description">Description</th>
9067 <th class="th_units">Units</th>
9068 <th class="th_range">Range</th>
9069 <th class="th_tags">Tags</th>
9084 <tr class="entry" id="controls_android.hotPixel.mode">
9085 <td class="entry_name
9087 android.<wbr/>hot<wbr/>Pixel.<wbr/>mode
9089 <td class="entry_type">
9090 <span class="entry_type_name entry_type_name_enum">byte</span>
9092 <span class="entry_type_visibility"> [public]</span>
9098 <ul class="entry_type_enum">
9100 <span class="entry_type_enum_name">OFF</span>
9101 <span class="entry_type_enum_notes"><p>No hot pixel correction is applied.<wbr/></p>
9102 <p>The frame rate must not be reduced relative to sensor raw output
9103 for this option.<wbr/></p>
9104 <p>The hotpixel map may be returned in <a href="#dynamic_android.statistics.hotPixelMap">android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map</a>.<wbr/></p></span>
9107 <span class="entry_type_enum_name">FAST</span>
9108 <span class="entry_type_enum_notes"><p>Hot pixel correction is applied,<wbr/> without reducing frame
9109 rate relative to sensor raw output.<wbr/></p>
9110 <p>The hotpixel map may be returned in <a href="#dynamic_android.statistics.hotPixelMap">android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map</a>.<wbr/></p></span>
9113 <span class="entry_type_enum_name">HIGH_QUALITY</span>
9114 <span class="entry_type_enum_notes"><p>High-quality hot pixel correction is applied,<wbr/> at a cost
9115 of reducing frame rate relative to sensor raw output.<wbr/></p>
9116 <p>The hotpixel map may be returned in <a href="#dynamic_android.statistics.hotPixelMap">android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map</a>.<wbr/></p></span>
9120 </td> <!-- entry_type -->
9122 <td class="entry_description">
9123 <p>Operational mode for hot pixel correction.<wbr/></p>
9126 <td class="entry_units">
9129 <td class="entry_range">
9130 <p><a href="#static_android.hotPixel.availableHotPixelModes">android.<wbr/>hot<wbr/>Pixel.<wbr/>available<wbr/>Hot<wbr/>Pixel<wbr/>Modes</a></p>
9133 <td class="entry_tags">
9134 <ul class="entry_tags">
9135 <li><a href="#tag_V1">V1</a></li>
9136 <li><a href="#tag_RAW">RAW</a></li>
9141 <tr class="entries_header">
9142 <th class="th_details" colspan="5">Details</th>
9144 <tr class="entry_cont">
9145 <td class="entry_details" colspan="5">
9146 <p>Hotpixel correction interpolates out,<wbr/> or otherwise removes,<wbr/> pixels
9147 that do not accurately measure the incoming light (i.<wbr/>e.<wbr/> pixels that
9148 are stuck at an arbitrary value or are oversensitive).<wbr/></p>
9153 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9154 <!-- end of entry -->
9158 <!-- end of kind -->
9160 <tr><td colspan="6" class="kind">static</td></tr>
9162 <thead class="entries_header">
9164 <th class="th_name">Property Name</th>
9165 <th class="th_type">Type</th>
9166 <th class="th_description">Description</th>
9167 <th class="th_units">Units</th>
9168 <th class="th_range">Range</th>
9169 <th class="th_tags">Tags</th>
9184 <tr class="entry" id="static_android.hotPixel.availableHotPixelModes">
9185 <td class="entry_name
9187 android.<wbr/>hot<wbr/>Pixel.<wbr/>available<wbr/>Hot<wbr/>Pixel<wbr/>Modes
9189 <td class="entry_type">
9190 <span class="entry_type_name">byte</span>
9191 <span class="entry_type_container">x</span>
9193 <span class="entry_type_array">
9196 <span class="entry_type_visibility"> [public as enumList]</span>
9201 <div class="entry_type_notes">list of enums</div>
9204 </td> <!-- entry_type -->
9206 <td class="entry_description">
9207 <p>List of hot pixel correction modes for <a href="#controls_android.hotPixel.mode">android.<wbr/>hot<wbr/>Pixel.<wbr/>mode</a> that are supported by this
9208 camera device.<wbr/></p>
9211 <td class="entry_units">
9214 <td class="entry_range">
9215 <p>Any value listed in <a href="#controls_android.hotPixel.mode">android.<wbr/>hot<wbr/>Pixel.<wbr/>mode</a></p>
9218 <td class="entry_tags">
9219 <ul class="entry_tags">
9220 <li><a href="#tag_V1">V1</a></li>
9221 <li><a href="#tag_RAW">RAW</a></li>
9226 <tr class="entries_header">
9227 <th class="th_details" colspan="5">Details</th>
9229 <tr class="entry_cont">
9230 <td class="entry_details" colspan="5">
9231 <p>FULL mode camera devices will always support FAST.<wbr/></p>
9235 <tr class="entries_header">
9236 <th class="th_details" colspan="5">HAL Implementation Details</th>
9238 <tr class="entry_cont">
9239 <td class="entry_details" colspan="5">
9240 <p>To avoid performance issues,<wbr/> there will be significantly fewer hot
9241 pixels than actual pixels on the camera sensor.<wbr/></p>
9245 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9246 <!-- end of entry -->
9250 <!-- end of kind -->
9252 <tr><td colspan="6" class="kind">dynamic</td></tr>
9254 <thead class="entries_header">
9256 <th class="th_name">Property Name</th>
9257 <th class="th_type">Type</th>
9258 <th class="th_description">Description</th>
9259 <th class="th_units">Units</th>
9260 <th class="th_range">Range</th>
9261 <th class="th_tags">Tags</th>
9276 <tr class="entry" id="dynamic_android.hotPixel.mode">
9277 <td class="entry_name
9279 android.<wbr/>hot<wbr/>Pixel.<wbr/>mode
9281 <td class="entry_type">
9282 <span class="entry_type_name entry_type_name_enum">byte</span>
9284 <span class="entry_type_visibility"> [public]</span>
9290 <ul class="entry_type_enum">
9292 <span class="entry_type_enum_name">OFF</span>
9293 <span class="entry_type_enum_notes"><p>No hot pixel correction is applied.<wbr/></p>
9294 <p>The frame rate must not be reduced relative to sensor raw output
9295 for this option.<wbr/></p>
9296 <p>The hotpixel map may be returned in <a href="#dynamic_android.statistics.hotPixelMap">android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map</a>.<wbr/></p></span>
9299 <span class="entry_type_enum_name">FAST</span>
9300 <span class="entry_type_enum_notes"><p>Hot pixel correction is applied,<wbr/> without reducing frame
9301 rate relative to sensor raw output.<wbr/></p>
9302 <p>The hotpixel map may be returned in <a href="#dynamic_android.statistics.hotPixelMap">android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map</a>.<wbr/></p></span>
9305 <span class="entry_type_enum_name">HIGH_QUALITY</span>
9306 <span class="entry_type_enum_notes"><p>High-quality hot pixel correction is applied,<wbr/> at a cost
9307 of reducing frame rate relative to sensor raw output.<wbr/></p>
9308 <p>The hotpixel map may be returned in <a href="#dynamic_android.statistics.hotPixelMap">android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map</a>.<wbr/></p></span>
9312 </td> <!-- entry_type -->
9314 <td class="entry_description">
9315 <p>Operational mode for hot pixel correction.<wbr/></p>
9318 <td class="entry_units">
9321 <td class="entry_range">
9322 <p><a href="#static_android.hotPixel.availableHotPixelModes">android.<wbr/>hot<wbr/>Pixel.<wbr/>available<wbr/>Hot<wbr/>Pixel<wbr/>Modes</a></p>
9325 <td class="entry_tags">
9326 <ul class="entry_tags">
9327 <li><a href="#tag_V1">V1</a></li>
9328 <li><a href="#tag_RAW">RAW</a></li>
9333 <tr class="entries_header">
9334 <th class="th_details" colspan="5">Details</th>
9336 <tr class="entry_cont">
9337 <td class="entry_details" colspan="5">
9338 <p>Hotpixel correction interpolates out,<wbr/> or otherwise removes,<wbr/> pixels
9339 that do not accurately measure the incoming light (i.<wbr/>e.<wbr/> pixels that
9340 are stuck at an arbitrary value or are oversensitive).<wbr/></p>
9345 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9346 <!-- end of entry -->
9350 <!-- end of kind -->
9353 <!-- end of section -->
9354 <tr><td colspan="6" id="section_jpeg" class="section">jpeg</td></tr>
9357 <tr><td colspan="6" class="kind">controls</td></tr>
9359 <thead class="entries_header">
9361 <th class="th_name">Property Name</th>
9362 <th class="th_type">Type</th>
9363 <th class="th_description">Description</th>
9364 <th class="th_units">Units</th>
9365 <th class="th_range">Range</th>
9366 <th class="th_tags">Tags</th>
9381 <tr class="entry" id="controls_android.jpeg.gpsLocation">
9382 <td class="entry_name
9384 android.<wbr/>jpeg.<wbr/>gps<wbr/>Location
9386 <td class="entry_type">
9387 <span class="entry_type_name">byte</span>
9389 <span class="entry_type_visibility"> [public as location]</span>
9391 <span class="entry_type_synthetic">[synthetic] </span>
9393 <span class="entry_type_hwlevel">[legacy] </span>
9398 </td> <!-- entry_type -->
9400 <td class="entry_description">
9401 <p>A location object to use when generating image GPS metadata.<wbr/></p>
9404 <td class="entry_units">
9407 <td class="entry_range">
9410 <td class="entry_tags">
9414 <tr class="entries_header">
9415 <th class="th_details" colspan="5">Details</th>
9417 <tr class="entry_cont">
9418 <td class="entry_details" colspan="5">
9419 <p>Setting a location object in a request will include the GPS coordinates of the location
9420 into any JPEG images captured based on the request.<wbr/> These coordinates can then be
9421 viewed by anyone who receives the JPEG image.<wbr/></p>
9426 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9427 <!-- end of entry -->
9430 <tr class="entry" id="controls_android.jpeg.gpsCoordinates">
9431 <td class="entry_name
9433 android.<wbr/>jpeg.<wbr/>gps<wbr/>Coordinates
9435 <td class="entry_type">
9436 <span class="entry_type_name">double</span>
9437 <span class="entry_type_container">x</span>
9439 <span class="entry_type_array">
9442 <span class="entry_type_visibility"> [hidden]</span>
9445 <span class="entry_type_hwlevel">[legacy] </span>
9448 <div class="entry_type_notes">latitude,<wbr/> longitude,<wbr/> altitude.<wbr/> First two in degrees,<wbr/> the third in meters</div>
9451 </td> <!-- entry_type -->
9453 <td class="entry_description">
9454 <p>GPS coordinates to include in output JPEG
9458 <td class="entry_units">
9461 <td class="entry_range">
9462 <p>(-180 - 180],<wbr/> [-90,<wbr/>90],<wbr/> [-inf,<wbr/> inf]</p>
9465 <td class="entry_tags">
9466 <ul class="entry_tags">
9467 <li><a href="#tag_BC">BC</a></li>
9474 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9475 <!-- end of entry -->
9478 <tr class="entry" id="controls_android.jpeg.gpsProcessingMethod">
9479 <td class="entry_name
9481 android.<wbr/>jpeg.<wbr/>gps<wbr/>Processing<wbr/>Method
9483 <td class="entry_type">
9484 <span class="entry_type_name">byte</span>
9486 <span class="entry_type_visibility"> [hidden as string]</span>
9489 <span class="entry_type_hwlevel">[legacy] </span>
9494 </td> <!-- entry_type -->
9496 <td class="entry_description">
9497 <p>32 characters describing GPS algorithm to
9498 include in EXIF.<wbr/></p>
9501 <td class="entry_units">
9502 UTF-8 null-terminated string
9505 <td class="entry_range">
9508 <td class="entry_tags">
9509 <ul class="entry_tags">
9510 <li><a href="#tag_BC">BC</a></li>
9517 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9518 <!-- end of entry -->
9521 <tr class="entry" id="controls_android.jpeg.gpsTimestamp">
9522 <td class="entry_name
9524 android.<wbr/>jpeg.<wbr/>gps<wbr/>Timestamp
9526 <td class="entry_type">
9527 <span class="entry_type_name">int64</span>
9529 <span class="entry_type_visibility"> [hidden]</span>
9532 <span class="entry_type_hwlevel">[legacy] </span>
9537 </td> <!-- entry_type -->
9539 <td class="entry_description">
9540 <p>Time GPS fix was made to include in
9544 <td class="entry_units">
9545 UTC in seconds since January 1,<wbr/> 1970
9548 <td class="entry_range">
9551 <td class="entry_tags">
9552 <ul class="entry_tags">
9553 <li><a href="#tag_BC">BC</a></li>
9560 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9561 <!-- end of entry -->
9564 <tr class="entry" id="controls_android.jpeg.orientation">
9565 <td class="entry_name
9567 android.<wbr/>jpeg.<wbr/>orientation
9569 <td class="entry_type">
9570 <span class="entry_type_name">int32</span>
9572 <span class="entry_type_visibility"> [public]</span>
9575 <span class="entry_type_hwlevel">[legacy] </span>
9580 </td> <!-- entry_type -->
9582 <td class="entry_description">
9583 <p>The orientation for a JPEG image.<wbr/></p>
9586 <td class="entry_units">
9587 Degrees in multiples of 90
9590 <td class="entry_range">
9591 <p>0,<wbr/> 90,<wbr/> 180,<wbr/> 270</p>
9594 <td class="entry_tags">
9595 <ul class="entry_tags">
9596 <li><a href="#tag_BC">BC</a></li>
9601 <tr class="entries_header">
9602 <th class="th_details" colspan="5">Details</th>
9604 <tr class="entry_cont">
9605 <td class="entry_details" colspan="5">
9606 <p>The clockwise rotation angle in degrees,<wbr/> relative to the orientation
9607 to the camera,<wbr/> that the JPEG picture needs to be rotated by,<wbr/> to be viewed
9609 <p>Camera devices may either encode this value into the JPEG EXIF header,<wbr/> or
9610 rotate the image data to match this orientation.<wbr/></p>
9611 <p>Note that this orientation is relative to the orientation of the camera sensor,<wbr/> given
9612 by <a href="#static_android.sensor.orientation">android.<wbr/>sensor.<wbr/>orientation</a>.<wbr/></p>
9613 <p>To translate from the device orientation given by the Android sensor APIs,<wbr/> the following
9614 sample code may be used:</p>
9615 <pre><code>private int getJpegOrientation(CameraCharacteristics c,<wbr/> int deviceOrientation) {
9616 if (deviceOrientation == android.<wbr/>view.<wbr/>Orientation<wbr/>Event<wbr/>Listener.<wbr/>ORIENTATION_<wbr/>UNKNOWN) return 0;
9617 int sensorOrientation = c.<wbr/>get(Camera<wbr/>Characteristics.<wbr/>SENSOR_<wbr/>ORIENTATION);
9619 //<wbr/> Round device orientation to a multiple of 90
9620 deviceOrientation = (deviceOrientation + 45) /<wbr/> 90 * 90;
9622 //<wbr/> Reverse device orientation for front-facing cameras
9623 boolean facingFront = c.<wbr/>get(Camera<wbr/>Characteristics.<wbr/>LENS_<wbr/>FACING) == Camera<wbr/>Characteristics.<wbr/>LENS_<wbr/>FACING_<wbr/>FRONT;
9624 if (facingFront) deviceOrientation = -deviceOrientation;
9626 //<wbr/> Calculate desired JPEG orientation relative to camera orientation to make
9627 //<wbr/> the image upright relative to the device orientation
9628 int jpegOrientation = (sensorOrientation + deviceOrientation + 360) % 360;
9630 return jpegOrientation;
9637 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9638 <!-- end of entry -->
9641 <tr class="entry" id="controls_android.jpeg.quality">
9642 <td class="entry_name
9644 android.<wbr/>jpeg.<wbr/>quality
9646 <td class="entry_type">
9647 <span class="entry_type_name">byte</span>
9649 <span class="entry_type_visibility"> [public]</span>
9652 <span class="entry_type_hwlevel">[legacy] </span>
9657 </td> <!-- entry_type -->
9659 <td class="entry_description">
9660 <p>Compression quality of the final JPEG
9664 <td class="entry_units">
9667 <td class="entry_range">
9668 <p>1-100; larger is higher quality</p>
9671 <td class="entry_tags">
9672 <ul class="entry_tags">
9673 <li><a href="#tag_BC">BC</a></li>
9678 <tr class="entries_header">
9679 <th class="th_details" colspan="5">Details</th>
9681 <tr class="entry_cont">
9682 <td class="entry_details" colspan="5">
9683 <p>85-95 is typical usage range.<wbr/></p>
9688 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9689 <!-- end of entry -->
9692 <tr class="entry" id="controls_android.jpeg.thumbnailQuality">
9693 <td class="entry_name
9695 android.<wbr/>jpeg.<wbr/>thumbnail<wbr/>Quality
9697 <td class="entry_type">
9698 <span class="entry_type_name">byte</span>
9700 <span class="entry_type_visibility"> [public]</span>
9703 <span class="entry_type_hwlevel">[legacy] </span>
9708 </td> <!-- entry_type -->
9710 <td class="entry_description">
9711 <p>Compression quality of JPEG
9712 thumbnail.<wbr/></p>
9715 <td class="entry_units">
9718 <td class="entry_range">
9719 <p>1-100; larger is higher quality</p>
9722 <td class="entry_tags">
9723 <ul class="entry_tags">
9724 <li><a href="#tag_BC">BC</a></li>
9731 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9732 <!-- end of entry -->
9735 <tr class="entry" id="controls_android.jpeg.thumbnailSize">
9736 <td class="entry_name
9738 android.<wbr/>jpeg.<wbr/>thumbnail<wbr/>Size
9740 <td class="entry_type">
9741 <span class="entry_type_name">int32</span>
9742 <span class="entry_type_container">x</span>
9744 <span class="entry_type_array">
9747 <span class="entry_type_visibility"> [public as size]</span>
9750 <span class="entry_type_hwlevel">[legacy] </span>
9755 </td> <!-- entry_type -->
9757 <td class="entry_description">
9758 <p>Resolution of embedded JPEG thumbnail.<wbr/></p>
9761 <td class="entry_units">
9764 <td class="entry_range">
9765 <p><a href="#static_android.jpeg.availableThumbnailSizes">android.<wbr/>jpeg.<wbr/>available<wbr/>Thumbnail<wbr/>Sizes</a></p>
9768 <td class="entry_tags">
9769 <ul class="entry_tags">
9770 <li><a href="#tag_BC">BC</a></li>
9775 <tr class="entries_header">
9776 <th class="th_details" colspan="5">Details</th>
9778 <tr class="entry_cont">
9779 <td class="entry_details" colspan="5">
9780 <p>When set to (0,<wbr/> 0) value,<wbr/> the JPEG EXIF will not contain thumbnail,<wbr/>
9781 but the captured JPEG will still be a valid image.<wbr/></p>
9782 <p>For best results,<wbr/> when issuing a request for a JPEG image,<wbr/> the thumbnail size selected
9783 should have the same aspect ratio as the main JPEG output.<wbr/></p>
9784 <p>If the thumbnail image aspect ratio differs from the JPEG primary image aspect
9785 ratio,<wbr/> the camera device creates the thumbnail by cropping it from the primary image.<wbr/>
9786 For example,<wbr/> if the primary image has 4:3 aspect ratio,<wbr/> the thumbnail image has
9787 16:9 aspect ratio,<wbr/> the primary image will be cropped vertically (letterbox) to
9788 generate the thumbnail image.<wbr/> The thumbnail image will always have a smaller Field
9789 Of View (FOV) than the primary image when aspect ratios differ.<wbr/></p>
9793 <tr class="entries_header">
9794 <th class="th_details" colspan="5">HAL Implementation Details</th>
9796 <tr class="entry_cont">
9797 <td class="entry_details" colspan="5">
9798 <p>The HAL must not squeeze or stretch the downscaled primary image to generate thumbnail.<wbr/>
9799 The cropping must be done on the primary jpeg image rather than the sensor active array.<wbr/>
9800 The stream cropping rule specified by "S5.<wbr/> Cropping" in camera3.<wbr/>h doesn't apply to the
9801 thumbnail image cropping.<wbr/></p>
9805 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9806 <!-- end of entry -->
9810 <!-- end of kind -->
9812 <tr><td colspan="6" class="kind">static</td></tr>
9814 <thead class="entries_header">
9816 <th class="th_name">Property Name</th>
9817 <th class="th_type">Type</th>
9818 <th class="th_description">Description</th>
9819 <th class="th_units">Units</th>
9820 <th class="th_range">Range</th>
9821 <th class="th_tags">Tags</th>
9836 <tr class="entry" id="static_android.jpeg.availableThumbnailSizes">
9837 <td class="entry_name
9839 android.<wbr/>jpeg.<wbr/>available<wbr/>Thumbnail<wbr/>Sizes
9841 <td class="entry_type">
9842 <span class="entry_type_name">int32</span>
9843 <span class="entry_type_container">x</span>
9845 <span class="entry_type_array">
9848 <span class="entry_type_visibility"> [public as size]</span>
9851 <span class="entry_type_hwlevel">[legacy] </span>
9856 </td> <!-- entry_type -->
9858 <td class="entry_description">
9859 <p>List of JPEG thumbnail sizes for <a href="#controls_android.jpeg.thumbnailSize">android.<wbr/>jpeg.<wbr/>thumbnail<wbr/>Size</a> supported by this
9860 camera device.<wbr/></p>
9863 <td class="entry_units">
9866 <td class="entry_range">
9869 <td class="entry_tags">
9870 <ul class="entry_tags">
9871 <li><a href="#tag_BC">BC</a></li>
9876 <tr class="entries_header">
9877 <th class="th_details" colspan="5">Details</th>
9879 <tr class="entry_cont">
9880 <td class="entry_details" colspan="5">
9881 <p>This list will include at least one non-zero resolution,<wbr/> plus <code>(0,<wbr/>0)</code> for indicating no
9882 thumbnail should be generated.<wbr/></p>
9883 <p>Below condiditions will be satisfied for this size list:</p>
9885 <li>The sizes will be sorted by increasing pixel area (width x height).<wbr/>
9886 If several resolutions have the same area,<wbr/> they will be sorted by increasing width.<wbr/></li>
9887 <li>The aspect ratio of the largest thumbnail size will be same as the
9888 aspect ratio of largest JPEG output size in <a href="#static_android.scaler.availableStreamConfigurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stream<wbr/>Configurations</a>.<wbr/>
9889 The largest size is defined as the size that has the largest pixel area
9890 in a given size list.<wbr/></li>
9891 <li>Each output JPEG size in <a href="#static_android.scaler.availableStreamConfigurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stream<wbr/>Configurations</a> will have at least
9892 one corresponding size that has the same aspect ratio in availableThumbnailSizes,<wbr/>
9893 and vice versa.<wbr/></li>
9894 <li>All non-<code>(0,<wbr/> 0)</code> sizes will have non-zero widths and heights.<wbr/></li>
9900 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9901 <!-- end of entry -->
9904 <tr class="entry" id="static_android.jpeg.maxSize">
9905 <td class="entry_name
9907 android.<wbr/>jpeg.<wbr/>max<wbr/>Size
9909 <td class="entry_type">
9910 <span class="entry_type_name">int32</span>
9912 <span class="entry_type_visibility"> [system]</span>
9919 </td> <!-- entry_type -->
9921 <td class="entry_description">
9922 <p>Maximum size in bytes for the compressed
9926 <td class="entry_units">
9929 <td class="entry_range">
9930 <p>Must be large enough to fit any JPEG produced by
9934 <td class="entry_tags">
9938 <tr class="entries_header">
9939 <th class="th_details" colspan="5">Details</th>
9941 <tr class="entry_cont">
9942 <td class="entry_details" colspan="5">
9943 <p>This is used for sizing the gralloc buffers for
9949 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
9950 <!-- end of entry -->
9954 <!-- end of kind -->
9956 <tr><td colspan="6" class="kind">dynamic</td></tr>
9958 <thead class="entries_header">
9960 <th class="th_name">Property Name</th>
9961 <th class="th_type">Type</th>
9962 <th class="th_description">Description</th>
9963 <th class="th_units">Units</th>
9964 <th class="th_range">Range</th>
9965 <th class="th_tags">Tags</th>
9980 <tr class="entry" id="dynamic_android.jpeg.gpsLocation">
9981 <td class="entry_name
9983 android.<wbr/>jpeg.<wbr/>gps<wbr/>Location
9985 <td class="entry_type">
9986 <span class="entry_type_name">byte</span>
9988 <span class="entry_type_visibility"> [public as location]</span>
9990 <span class="entry_type_synthetic">[synthetic] </span>
9992 <span class="entry_type_hwlevel">[legacy] </span>
9997 </td> <!-- entry_type -->
9999 <td class="entry_description">
10000 <p>A location object to use when generating image GPS metadata.<wbr/></p>
10003 <td class="entry_units">
10006 <td class="entry_range">
10009 <td class="entry_tags">
10013 <tr class="entries_header">
10014 <th class="th_details" colspan="5">Details</th>
10016 <tr class="entry_cont">
10017 <td class="entry_details" colspan="5">
10018 <p>Setting a location object in a request will include the GPS coordinates of the location
10019 into any JPEG images captured based on the request.<wbr/> These coordinates can then be
10020 viewed by anyone who receives the JPEG image.<wbr/></p>
10025 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10026 <!-- end of entry -->
10029 <tr class="entry" id="dynamic_android.jpeg.gpsCoordinates">
10030 <td class="entry_name
10032 android.<wbr/>jpeg.<wbr/>gps<wbr/>Coordinates
10034 <td class="entry_type">
10035 <span class="entry_type_name">double</span>
10036 <span class="entry_type_container">x</span>
10038 <span class="entry_type_array">
10041 <span class="entry_type_visibility"> [hidden]</span>
10044 <span class="entry_type_hwlevel">[legacy] </span>
10047 <div class="entry_type_notes">latitude,<wbr/> longitude,<wbr/> altitude.<wbr/> First two in degrees,<wbr/> the third in meters</div>
10050 </td> <!-- entry_type -->
10052 <td class="entry_description">
10053 <p>GPS coordinates to include in output JPEG
10057 <td class="entry_units">
10060 <td class="entry_range">
10061 <p>(-180 - 180],<wbr/> [-90,<wbr/>90],<wbr/> [-inf,<wbr/> inf]</p>
10064 <td class="entry_tags">
10065 <ul class="entry_tags">
10066 <li><a href="#tag_BC">BC</a></li>
10073 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10074 <!-- end of entry -->
10077 <tr class="entry" id="dynamic_android.jpeg.gpsProcessingMethod">
10078 <td class="entry_name
10080 android.<wbr/>jpeg.<wbr/>gps<wbr/>Processing<wbr/>Method
10082 <td class="entry_type">
10083 <span class="entry_type_name">byte</span>
10085 <span class="entry_type_visibility"> [hidden as string]</span>
10088 <span class="entry_type_hwlevel">[legacy] </span>
10093 </td> <!-- entry_type -->
10095 <td class="entry_description">
10096 <p>32 characters describing GPS algorithm to
10097 include in EXIF.<wbr/></p>
10100 <td class="entry_units">
10101 UTF-8 null-terminated string
10104 <td class="entry_range">
10107 <td class="entry_tags">
10108 <ul class="entry_tags">
10109 <li><a href="#tag_BC">BC</a></li>
10116 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10117 <!-- end of entry -->
10120 <tr class="entry" id="dynamic_android.jpeg.gpsTimestamp">
10121 <td class="entry_name
10123 android.<wbr/>jpeg.<wbr/>gps<wbr/>Timestamp
10125 <td class="entry_type">
10126 <span class="entry_type_name">int64</span>
10128 <span class="entry_type_visibility"> [hidden]</span>
10131 <span class="entry_type_hwlevel">[legacy] </span>
10136 </td> <!-- entry_type -->
10138 <td class="entry_description">
10139 <p>Time GPS fix was made to include in
10143 <td class="entry_units">
10144 UTC in seconds since January 1,<wbr/> 1970
10147 <td class="entry_range">
10150 <td class="entry_tags">
10151 <ul class="entry_tags">
10152 <li><a href="#tag_BC">BC</a></li>
10159 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10160 <!-- end of entry -->
10163 <tr class="entry" id="dynamic_android.jpeg.orientation">
10164 <td class="entry_name
10166 android.<wbr/>jpeg.<wbr/>orientation
10168 <td class="entry_type">
10169 <span class="entry_type_name">int32</span>
10171 <span class="entry_type_visibility"> [public]</span>
10174 <span class="entry_type_hwlevel">[legacy] </span>
10179 </td> <!-- entry_type -->
10181 <td class="entry_description">
10182 <p>The orientation for a JPEG image.<wbr/></p>
10185 <td class="entry_units">
10186 Degrees in multiples of 90
10189 <td class="entry_range">
10190 <p>0,<wbr/> 90,<wbr/> 180,<wbr/> 270</p>
10193 <td class="entry_tags">
10194 <ul class="entry_tags">
10195 <li><a href="#tag_BC">BC</a></li>
10200 <tr class="entries_header">
10201 <th class="th_details" colspan="5">Details</th>
10203 <tr class="entry_cont">
10204 <td class="entry_details" colspan="5">
10205 <p>The clockwise rotation angle in degrees,<wbr/> relative to the orientation
10206 to the camera,<wbr/> that the JPEG picture needs to be rotated by,<wbr/> to be viewed
10208 <p>Camera devices may either encode this value into the JPEG EXIF header,<wbr/> or
10209 rotate the image data to match this orientation.<wbr/></p>
10210 <p>Note that this orientation is relative to the orientation of the camera sensor,<wbr/> given
10211 by <a href="#static_android.sensor.orientation">android.<wbr/>sensor.<wbr/>orientation</a>.<wbr/></p>
10212 <p>To translate from the device orientation given by the Android sensor APIs,<wbr/> the following
10213 sample code may be used:</p>
10214 <pre><code>private int getJpegOrientation(CameraCharacteristics c,<wbr/> int deviceOrientation) {
10215 if (deviceOrientation == android.<wbr/>view.<wbr/>Orientation<wbr/>Event<wbr/>Listener.<wbr/>ORIENTATION_<wbr/>UNKNOWN) return 0;
10216 int sensorOrientation = c.<wbr/>get(Camera<wbr/>Characteristics.<wbr/>SENSOR_<wbr/>ORIENTATION);
10218 //<wbr/> Round device orientation to a multiple of 90
10219 deviceOrientation = (deviceOrientation + 45) /<wbr/> 90 * 90;
10221 //<wbr/> Reverse device orientation for front-facing cameras
10222 boolean facingFront = c.<wbr/>get(Camera<wbr/>Characteristics.<wbr/>LENS_<wbr/>FACING) == Camera<wbr/>Characteristics.<wbr/>LENS_<wbr/>FACING_<wbr/>FRONT;
10223 if (facingFront) deviceOrientation = -deviceOrientation;
10225 //<wbr/> Calculate desired JPEG orientation relative to camera orientation to make
10226 //<wbr/> the image upright relative to the device orientation
10227 int jpegOrientation = (sensorOrientation + deviceOrientation + 360) % 360;
10229 return jpegOrientation;
10236 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10237 <!-- end of entry -->
10240 <tr class="entry" id="dynamic_android.jpeg.quality">
10241 <td class="entry_name
10243 android.<wbr/>jpeg.<wbr/>quality
10245 <td class="entry_type">
10246 <span class="entry_type_name">byte</span>
10248 <span class="entry_type_visibility"> [public]</span>
10251 <span class="entry_type_hwlevel">[legacy] </span>
10256 </td> <!-- entry_type -->
10258 <td class="entry_description">
10259 <p>Compression quality of the final JPEG
10263 <td class="entry_units">
10266 <td class="entry_range">
10267 <p>1-100; larger is higher quality</p>
10270 <td class="entry_tags">
10271 <ul class="entry_tags">
10272 <li><a href="#tag_BC">BC</a></li>
10277 <tr class="entries_header">
10278 <th class="th_details" colspan="5">Details</th>
10280 <tr class="entry_cont">
10281 <td class="entry_details" colspan="5">
10282 <p>85-95 is typical usage range.<wbr/></p>
10287 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10288 <!-- end of entry -->
10291 <tr class="entry" id="dynamic_android.jpeg.size">
10292 <td class="entry_name
10294 android.<wbr/>jpeg.<wbr/>size
10296 <td class="entry_type">
10297 <span class="entry_type_name">int32</span>
10299 <span class="entry_type_visibility"> [system]</span>
10306 </td> <!-- entry_type -->
10308 <td class="entry_description">
10309 <p>The size of the compressed JPEG image,<wbr/> in
10313 <td class="entry_units">
10316 <td class="entry_range">
10320 <td class="entry_tags">
10321 <ul class="entry_tags">
10322 <li><a href="#tag_FUTURE">FUTURE</a></li>
10327 <tr class="entries_header">
10328 <th class="th_details" colspan="5">Details</th>
10330 <tr class="entry_cont">
10331 <td class="entry_details" colspan="5">
10332 <p>If no JPEG output is produced for the request,<wbr/>
10333 this must be 0.<wbr/></p>
10334 <p>Otherwise,<wbr/> this describes the real size of the compressed
10335 JPEG image placed in the output stream.<wbr/> More specifically,<wbr/>
10336 if <a href="#static_android.jpeg.maxSize">android.<wbr/>jpeg.<wbr/>max<wbr/>Size</a> = 1000000,<wbr/> and a specific capture
10337 has <a href="#dynamic_android.jpeg.size">android.<wbr/>jpeg.<wbr/>size</a> = 500000,<wbr/> then the output buffer from
10338 the JPEG stream will be 1000000 bytes,<wbr/> of which the first
10339 500000 make up the real data.<wbr/></p>
10344 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10345 <!-- end of entry -->
10348 <tr class="entry" id="dynamic_android.jpeg.thumbnailQuality">
10349 <td class="entry_name
10351 android.<wbr/>jpeg.<wbr/>thumbnail<wbr/>Quality
10353 <td class="entry_type">
10354 <span class="entry_type_name">byte</span>
10356 <span class="entry_type_visibility"> [public]</span>
10359 <span class="entry_type_hwlevel">[legacy] </span>
10364 </td> <!-- entry_type -->
10366 <td class="entry_description">
10367 <p>Compression quality of JPEG
10368 thumbnail.<wbr/></p>
10371 <td class="entry_units">
10374 <td class="entry_range">
10375 <p>1-100; larger is higher quality</p>
10378 <td class="entry_tags">
10379 <ul class="entry_tags">
10380 <li><a href="#tag_BC">BC</a></li>
10387 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10388 <!-- end of entry -->
10391 <tr class="entry" id="dynamic_android.jpeg.thumbnailSize">
10392 <td class="entry_name
10394 android.<wbr/>jpeg.<wbr/>thumbnail<wbr/>Size
10396 <td class="entry_type">
10397 <span class="entry_type_name">int32</span>
10398 <span class="entry_type_container">x</span>
10400 <span class="entry_type_array">
10403 <span class="entry_type_visibility"> [public as size]</span>
10406 <span class="entry_type_hwlevel">[legacy] </span>
10411 </td> <!-- entry_type -->
10413 <td class="entry_description">
10414 <p>Resolution of embedded JPEG thumbnail.<wbr/></p>
10417 <td class="entry_units">
10420 <td class="entry_range">
10421 <p><a href="#static_android.jpeg.availableThumbnailSizes">android.<wbr/>jpeg.<wbr/>available<wbr/>Thumbnail<wbr/>Sizes</a></p>
10424 <td class="entry_tags">
10425 <ul class="entry_tags">
10426 <li><a href="#tag_BC">BC</a></li>
10431 <tr class="entries_header">
10432 <th class="th_details" colspan="5">Details</th>
10434 <tr class="entry_cont">
10435 <td class="entry_details" colspan="5">
10436 <p>When set to (0,<wbr/> 0) value,<wbr/> the JPEG EXIF will not contain thumbnail,<wbr/>
10437 but the captured JPEG will still be a valid image.<wbr/></p>
10438 <p>For best results,<wbr/> when issuing a request for a JPEG image,<wbr/> the thumbnail size selected
10439 should have the same aspect ratio as the main JPEG output.<wbr/></p>
10440 <p>If the thumbnail image aspect ratio differs from the JPEG primary image aspect
10441 ratio,<wbr/> the camera device creates the thumbnail by cropping it from the primary image.<wbr/>
10442 For example,<wbr/> if the primary image has 4:3 aspect ratio,<wbr/> the thumbnail image has
10443 16:9 aspect ratio,<wbr/> the primary image will be cropped vertically (letterbox) to
10444 generate the thumbnail image.<wbr/> The thumbnail image will always have a smaller Field
10445 Of View (FOV) than the primary image when aspect ratios differ.<wbr/></p>
10449 <tr class="entries_header">
10450 <th class="th_details" colspan="5">HAL Implementation Details</th>
10452 <tr class="entry_cont">
10453 <td class="entry_details" colspan="5">
10454 <p>The HAL must not squeeze or stretch the downscaled primary image to generate thumbnail.<wbr/>
10455 The cropping must be done on the primary jpeg image rather than the sensor active array.<wbr/>
10456 The stream cropping rule specified by "S5.<wbr/> Cropping" in camera3.<wbr/>h doesn't apply to the
10457 thumbnail image cropping.<wbr/></p>
10461 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10462 <!-- end of entry -->
10466 <!-- end of kind -->
10469 <!-- end of section -->
10470 <tr><td colspan="6" id="section_lens" class="section">lens</td></tr>
10473 <tr><td colspan="6" class="kind">controls</td></tr>
10475 <thead class="entries_header">
10477 <th class="th_name">Property Name</th>
10478 <th class="th_type">Type</th>
10479 <th class="th_description">Description</th>
10480 <th class="th_units">Units</th>
10481 <th class="th_range">Range</th>
10482 <th class="th_tags">Tags</th>
10497 <tr class="entry" id="controls_android.lens.aperture">
10498 <td class="entry_name
10500 android.<wbr/>lens.<wbr/>aperture
10502 <td class="entry_type">
10503 <span class="entry_type_name">float</span>
10505 <span class="entry_type_visibility"> [public]</span>
10508 <span class="entry_type_hwlevel">[full] </span>
10513 </td> <!-- entry_type -->
10515 <td class="entry_description">
10516 <p>The desired lens aperture size,<wbr/> as a ratio of lens focal length to the
10517 effective aperture diameter.<wbr/></p>
10520 <td class="entry_units">
10521 The f-number (f/<wbr/>N)
10524 <td class="entry_range">
10525 <p><a href="#static_android.lens.info.availableApertures">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Apertures</a></p>
10528 <td class="entry_tags">
10529 <ul class="entry_tags">
10530 <li><a href="#tag_V1">V1</a></li>
10535 <tr class="entries_header">
10536 <th class="th_details" colspan="5">Details</th>
10538 <tr class="entry_cont">
10539 <td class="entry_details" colspan="5">
10540 <p>Setting this value is only supported on the camera devices that have a variable
10541 aperture lens.<wbr/></p>
10542 <p>When this is supported and <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is OFF,<wbr/>
10543 this can be set along with <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/>
10544 <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a>
10545 to achieve manual exposure control.<wbr/></p>
10546 <p>The requested aperture value may take several frames to reach the
10547 requested value; the camera device will report the current (intermediate)
10548 aperture size in capture result metadata while the aperture is changing.<wbr/>
10549 While the aperture is still changing,<wbr/> <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will be set to MOVING.<wbr/></p>
10550 <p>When this is supported and <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is one of
10551 the ON modes,<wbr/> this will be overridden by the camera device
10552 auto-exposure algorithm,<wbr/> the overridden values are then provided
10553 back to the user in the corresponding result.<wbr/></p>
10558 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10559 <!-- end of entry -->
10562 <tr class="entry" id="controls_android.lens.filterDensity">
10563 <td class="entry_name
10565 android.<wbr/>lens.<wbr/>filter<wbr/>Density
10567 <td class="entry_type">
10568 <span class="entry_type_name">float</span>
10570 <span class="entry_type_visibility"> [public]</span>
10573 <span class="entry_type_hwlevel">[full] </span>
10578 </td> <!-- entry_type -->
10580 <td class="entry_description">
10581 <p>The desired setting for the lens neutral density filter(s).<wbr/></p>
10584 <td class="entry_units">
10585 Exposure Value (EV)
10588 <td class="entry_range">
10589 <p><a href="#static_android.lens.info.availableFilterDensities">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Filter<wbr/>Densities</a></p>
10592 <td class="entry_tags">
10593 <ul class="entry_tags">
10594 <li><a href="#tag_V1">V1</a></li>
10599 <tr class="entries_header">
10600 <th class="th_details" colspan="5">Details</th>
10602 <tr class="entry_cont">
10603 <td class="entry_details" colspan="5">
10604 <p>This control will not be supported on most camera devices.<wbr/></p>
10605 <p>Lens filters are typically used to lower the amount of light the
10606 sensor is exposed to (measured in steps of EV).<wbr/> As used here,<wbr/> an EV
10607 step is the standard logarithmic representation,<wbr/> which are
10608 non-negative,<wbr/> and inversely proportional to the amount of light
10609 hitting the sensor.<wbr/> For example,<wbr/> setting this to 0 would result
10610 in no reduction of the incoming light,<wbr/> and setting this to 2 would
10611 mean that the filter is set to reduce incoming light by two stops
10612 (allowing 1/<wbr/>4 of the prior amount of light to the sensor).<wbr/></p>
10613 <p>It may take several frames before the lens filter density changes
10614 to the requested value.<wbr/> While the filter density is still changing,<wbr/>
10615 <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will be set to MOVING.<wbr/></p>
10620 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10621 <!-- end of entry -->
10624 <tr class="entry" id="controls_android.lens.focalLength">
10625 <td class="entry_name
10627 android.<wbr/>lens.<wbr/>focal<wbr/>Length
10629 <td class="entry_type">
10630 <span class="entry_type_name">float</span>
10632 <span class="entry_type_visibility"> [public]</span>
10635 <span class="entry_type_hwlevel">[legacy] </span>
10640 </td> <!-- entry_type -->
10642 <td class="entry_description">
10643 <p>The desired lens focal length; used for optical zoom.<wbr/></p>
10646 <td class="entry_units">
10650 <td class="entry_range">
10651 <p><a href="#static_android.lens.info.availableFocalLengths">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Focal<wbr/>Lengths</a></p>
10654 <td class="entry_tags">
10655 <ul class="entry_tags">
10656 <li><a href="#tag_V1">V1</a></li>
10661 <tr class="entries_header">
10662 <th class="th_details" colspan="5">Details</th>
10664 <tr class="entry_cont">
10665 <td class="entry_details" colspan="5">
10666 <p>This setting controls the physical focal length of the camera
10667 device's lens.<wbr/> Changing the focal length changes the field of
10668 view of the camera device,<wbr/> and is usually used for optical zoom.<wbr/></p>
10669 <p>Like <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> and <a href="#controls_android.lens.aperture">android.<wbr/>lens.<wbr/>aperture</a>,<wbr/> this
10670 setting won't be applied instantaneously,<wbr/> and it may take several
10671 frames before the lens can change to the requested focal length.<wbr/>
10672 While the focal length is still changing,<wbr/> <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will
10673 be set to MOVING.<wbr/></p>
10674 <p>Optical zoom will not be supported on most devices.<wbr/></p>
10679 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10680 <!-- end of entry -->
10683 <tr class="entry" id="controls_android.lens.focusDistance">
10684 <td class="entry_name
10686 android.<wbr/>lens.<wbr/>focus<wbr/>Distance
10688 <td class="entry_type">
10689 <span class="entry_type_name">float</span>
10691 <span class="entry_type_visibility"> [public]</span>
10694 <span class="entry_type_hwlevel">[full] </span>
10699 </td> <!-- entry_type -->
10701 <td class="entry_description">
10702 <p>Desired distance to plane of sharpest focus,<wbr/>
10703 measured from frontmost surface of the lens.<wbr/></p>
10706 <td class="entry_units">
10707 See android.<wbr/>lens.<wbr/>info.<wbr/>focus<wbr/>Distance<wbr/>Calibration for details
10710 <td class="entry_range">
10714 <td class="entry_tags">
10715 <ul class="entry_tags">
10716 <li><a href="#tag_BC">BC</a></li>
10717 <li><a href="#tag_V1">V1</a></li>
10722 <tr class="entries_header">
10723 <th class="th_details" colspan="5">Details</th>
10725 <tr class="entry_cont">
10726 <td class="entry_details" colspan="5">
10727 <p>This control can be used for setting manual focus,<wbr/> on devices that support
10728 the MANUAL_<wbr/>SENSOR capability and have a variable-focus lens (see
10729 <a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a>).<wbr/></p>
10730 <p>A value of <code>0.<wbr/>0f</code> means infinity focus.<wbr/> The value set will be clamped to
10731 <code>[0.<wbr/>0f,<wbr/> <a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a>]</code>.<wbr/></p>
10732 <p>Like <a href="#controls_android.lens.focalLength">android.<wbr/>lens.<wbr/>focal<wbr/>Length</a>,<wbr/> this setting won't be applied
10733 instantaneously,<wbr/> and it may take several frames before the lens
10734 can move to the requested focus distance.<wbr/> While the lens is still moving,<wbr/>
10735 <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will be set to MOVING.<wbr/></p>
10736 <p>LEGACY devices support at most setting this to <code>0.<wbr/>0f</code>
10737 for infinity focus.<wbr/></p>
10742 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10743 <!-- end of entry -->
10746 <tr class="entry" id="controls_android.lens.opticalStabilizationMode">
10747 <td class="entry_name
10749 android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode
10751 <td class="entry_type">
10752 <span class="entry_type_name entry_type_name_enum">byte</span>
10754 <span class="entry_type_visibility"> [public]</span>
10757 <span class="entry_type_hwlevel">[limited] </span>
10761 <ul class="entry_type_enum">
10763 <span class="entry_type_enum_name">OFF</span>
10764 <span class="entry_type_enum_notes"><p>Optical stabilization is unavailable.<wbr/></p></span>
10767 <span class="entry_type_enum_name">ON</span>
10768 <span class="entry_type_enum_optional">[optional]</span>
10769 <span class="entry_type_enum_notes"><p>Optical stabilization is enabled.<wbr/></p></span>
10773 </td> <!-- entry_type -->
10775 <td class="entry_description">
10776 <p>Sets whether the camera device uses optical image stabilization (OIS)
10777 when capturing images.<wbr/></p>
10780 <td class="entry_units">
10783 <td class="entry_range">
10784 <p><a href="#static_android.lens.info.availableOpticalStabilization">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Optical<wbr/>Stabilization</a></p>
10787 <td class="entry_tags">
10788 <ul class="entry_tags">
10789 <li><a href="#tag_V1">V1</a></li>
10794 <tr class="entries_header">
10795 <th class="th_details" colspan="5">Details</th>
10797 <tr class="entry_cont">
10798 <td class="entry_details" colspan="5">
10799 <p>OIS is used to compensate for motion blur due to small
10800 movements of the camera during capture.<wbr/> Unlike digital image
10801 stabilization (<a href="#controls_android.control.videoStabilizationMode">android.<wbr/>control.<wbr/>video<wbr/>Stabilization<wbr/>Mode</a>),<wbr/> OIS
10802 makes use of mechanical elements to stabilize the camera
10803 sensor,<wbr/> and thus allows for longer exposure times before
10804 camera shake becomes apparent.<wbr/></p>
10805 <p>Switching between different optical stabilization modes may take several
10806 frames to initialize,<wbr/> the camera device will report the current mode in
10807 capture result metadata.<wbr/> For example,<wbr/> When "ON" mode is requested,<wbr/> the
10808 optical stabilization modes in the first several capture results may still
10809 be "OFF",<wbr/> and it will become "ON" when the initialization is done.<wbr/></p>
10810 <p>If a camera device supports both OIS and digital image stabilization
10811 (<a href="#controls_android.control.videoStabilizationMode">android.<wbr/>control.<wbr/>video<wbr/>Stabilization<wbr/>Mode</a>),<wbr/> turning both modes on may produce undesirable
10812 interaction,<wbr/> so it is recommended not to enable both at the same time.<wbr/></p>
10813 <p>Not all devices will support OIS; see
10814 <a href="#static_android.lens.info.availableOpticalStabilization">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Optical<wbr/>Stabilization</a> for
10815 available controls.<wbr/></p>
10820 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10821 <!-- end of entry -->
10825 <!-- end of kind -->
10827 <tr><td colspan="6" class="kind">static</td></tr>
10829 <thead class="entries_header">
10831 <th class="th_name">Property Name</th>
10832 <th class="th_type">Type</th>
10833 <th class="th_description">Description</th>
10834 <th class="th_units">Units</th>
10835 <th class="th_range">Range</th>
10836 <th class="th_tags">Tags</th>
10853 <tr class="entry" id="static_android.lens.info.availableApertures">
10854 <td class="entry_name
10856 android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Apertures
10858 <td class="entry_type">
10859 <span class="entry_type_name">float</span>
10860 <span class="entry_type_container">x</span>
10862 <span class="entry_type_array">
10865 <span class="entry_type_visibility"> [public]</span>
10868 <span class="entry_type_hwlevel">[full] </span>
10873 </td> <!-- entry_type -->
10875 <td class="entry_description">
10876 <p>List of aperture size values for <a href="#controls_android.lens.aperture">android.<wbr/>lens.<wbr/>aperture</a> that are
10877 supported by this camera device.<wbr/></p>
10880 <td class="entry_units">
10881 The aperture f-number
10884 <td class="entry_range">
10887 <td class="entry_tags">
10888 <ul class="entry_tags">
10889 <li><a href="#tag_V1">V1</a></li>
10894 <tr class="entries_header">
10895 <th class="th_details" colspan="5">Details</th>
10897 <tr class="entry_cont">
10898 <td class="entry_details" colspan="5">
10899 <p>If the camera device doesn't support a variable lens aperture,<wbr/>
10900 this list will contain only one value,<wbr/> which is the fixed aperture size.<wbr/></p>
10901 <p>If the camera device supports a variable aperture,<wbr/> the aperture values
10902 in this list will be sorted in ascending order.<wbr/></p>
10907 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10908 <!-- end of entry -->
10911 <tr class="entry" id="static_android.lens.info.availableFilterDensities">
10912 <td class="entry_name
10914 android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Filter<wbr/>Densities
10916 <td class="entry_type">
10917 <span class="entry_type_name">float</span>
10918 <span class="entry_type_container">x</span>
10920 <span class="entry_type_array">
10923 <span class="entry_type_visibility"> [public]</span>
10926 <span class="entry_type_hwlevel">[full] </span>
10931 </td> <!-- entry_type -->
10933 <td class="entry_description">
10934 <p>List of neutral density filter values for
10935 <a href="#controls_android.lens.filterDensity">android.<wbr/>lens.<wbr/>filter<wbr/>Density</a> that are supported by this camera device.<wbr/></p>
10938 <td class="entry_units">
10939 Exposure value (EV)
10942 <td class="entry_range">
10943 <p>Values are >= 0</p>
10946 <td class="entry_tags">
10947 <ul class="entry_tags">
10948 <li><a href="#tag_V1">V1</a></li>
10953 <tr class="entries_header">
10954 <th class="th_details" colspan="5">Details</th>
10956 <tr class="entry_cont">
10957 <td class="entry_details" colspan="5">
10958 <p>If a neutral density filter is not supported by this camera device,<wbr/>
10959 this list will contain only 0.<wbr/> Otherwise,<wbr/> this list will include every
10960 filter density supported by the camera device,<wbr/> in ascending order.<wbr/></p>
10965 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
10966 <!-- end of entry -->
10969 <tr class="entry" id="static_android.lens.info.availableFocalLengths">
10970 <td class="entry_name
10972 android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Focal<wbr/>Lengths
10974 <td class="entry_type">
10975 <span class="entry_type_name">float</span>
10976 <span class="entry_type_container">x</span>
10978 <span class="entry_type_array">
10981 <span class="entry_type_visibility"> [public]</span>
10984 <span class="entry_type_hwlevel">[legacy] </span>
10987 <div class="entry_type_notes">The list of available focal lengths</div>
10990 </td> <!-- entry_type -->
10992 <td class="entry_description">
10993 <p>List of focal lengths for <a href="#controls_android.lens.focalLength">android.<wbr/>lens.<wbr/>focal<wbr/>Length</a> that are supported by this camera
10997 <td class="entry_units">
11001 <td class="entry_range">
11002 <p>Values are > 0</p>
11005 <td class="entry_tags">
11006 <ul class="entry_tags">
11007 <li><a href="#tag_BC">BC</a></li>
11008 <li><a href="#tag_V1">V1</a></li>
11013 <tr class="entries_header">
11014 <th class="th_details" colspan="5">Details</th>
11016 <tr class="entry_cont">
11017 <td class="entry_details" colspan="5">
11018 <p>If optical zoom is not supported,<wbr/> this list will only contain
11019 a single value corresponding to the fixed focal length of the
11020 device.<wbr/> Otherwise,<wbr/> this list will include every focal length supported
11021 by the camera device,<wbr/> in ascending order.<wbr/></p>
11026 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11027 <!-- end of entry -->
11030 <tr class="entry" id="static_android.lens.info.availableOpticalStabilization">
11031 <td class="entry_name
11033 android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Optical<wbr/>Stabilization
11035 <td class="entry_type">
11036 <span class="entry_type_name">byte</span>
11037 <span class="entry_type_container">x</span>
11039 <span class="entry_type_array">
11042 <span class="entry_type_visibility"> [public as enumList]</span>
11045 <span class="entry_type_hwlevel">[limited] </span>
11048 <div class="entry_type_notes">list of enums</div>
11051 </td> <!-- entry_type -->
11053 <td class="entry_description">
11054 <p>List of optical image stabilization (OIS) modes for
11055 <a href="#controls_android.lens.opticalStabilizationMode">android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode</a> that are supported by this camera device.<wbr/></p>
11058 <td class="entry_units">
11061 <td class="entry_range">
11062 <p>Any value listed in <a href="#controls_android.lens.opticalStabilizationMode">android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode</a></p>
11065 <td class="entry_tags">
11066 <ul class="entry_tags">
11067 <li><a href="#tag_V1">V1</a></li>
11072 <tr class="entries_header">
11073 <th class="th_details" colspan="5">Details</th>
11075 <tr class="entry_cont">
11076 <td class="entry_details" colspan="5">
11077 <p>If OIS is not supported by a given camera device,<wbr/> this list will
11078 contain only OFF.<wbr/></p>
11083 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11084 <!-- end of entry -->
11087 <tr class="entry" id="static_android.lens.info.hyperfocalDistance">
11088 <td class="entry_name
11090 android.<wbr/>lens.<wbr/>info.<wbr/>hyperfocal<wbr/>Distance
11092 <td class="entry_type">
11093 <span class="entry_type_name">float</span>
11095 <span class="entry_type_visibility"> [public]</span>
11098 <span class="entry_type_hwlevel">[limited] </span>
11103 </td> <!-- entry_type -->
11105 <td class="entry_description">
11106 <p>Hyperfocal distance for this lens.<wbr/></p>
11109 <td class="entry_units">
11110 See android.<wbr/>lens.<wbr/>info.<wbr/>focus<wbr/>Distance<wbr/>Calibration for details
11113 <td class="entry_range">
11114 <p>If lens is fixed focus,<wbr/> >= 0.<wbr/> If lens has focuser unit,<wbr/> the value is
11115 within <code>(0.<wbr/>0f,<wbr/> <a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a>]</code></p>
11118 <td class="entry_tags">
11122 <tr class="entries_header">
11123 <th class="th_details" colspan="5">Details</th>
11125 <tr class="entry_cont">
11126 <td class="entry_details" colspan="5">
11127 <p>If the lens is not fixed focus,<wbr/> the camera device will report this
11128 field when <a href="#static_android.lens.info.focusDistanceCalibration">android.<wbr/>lens.<wbr/>info.<wbr/>focus<wbr/>Distance<wbr/>Calibration</a> is APPROXIMATE or CALIBRATED.<wbr/></p>
11133 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11134 <!-- end of entry -->
11137 <tr class="entry" id="static_android.lens.info.minimumFocusDistance">
11138 <td class="entry_name
11140 android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance
11142 <td class="entry_type">
11143 <span class="entry_type_name">float</span>
11145 <span class="entry_type_visibility"> [public]</span>
11148 <span class="entry_type_hwlevel">[limited] </span>
11153 </td> <!-- entry_type -->
11155 <td class="entry_description">
11156 <p>Shortest distance from frontmost surface
11157 of the lens that can be brought into sharp focus.<wbr/></p>
11160 <td class="entry_units">
11161 See android.<wbr/>lens.<wbr/>info.<wbr/>focus<wbr/>Distance<wbr/>Calibration for details
11164 <td class="entry_range">
11168 <td class="entry_tags">
11169 <ul class="entry_tags">
11170 <li><a href="#tag_V1">V1</a></li>
11175 <tr class="entries_header">
11176 <th class="th_details" colspan="5">Details</th>
11178 <tr class="entry_cont">
11179 <td class="entry_details" colspan="5">
11180 <p>If the lens is fixed-focus,<wbr/> this will be
11185 <tr class="entries_header">
11186 <th class="th_details" colspan="5">HAL Implementation Details</th>
11188 <tr class="entry_cont">
11189 <td class="entry_details" colspan="5">
11190 <p>Mandatory for FULL devices; LIMITED devices
11191 must always set this value to 0 for fixed-focus; and may omit
11192 the minimum focus distance otherwise.<wbr/></p>
11193 <p>This field is also mandatory for all devices advertising
11194 the MANUAL_<wbr/>SENSOR capability.<wbr/></p>
11198 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11199 <!-- end of entry -->
11202 <tr class="entry" id="static_android.lens.info.shadingMapSize">
11203 <td class="entry_name
11205 android.<wbr/>lens.<wbr/>info.<wbr/>shading<wbr/>Map<wbr/>Size
11207 <td class="entry_type">
11208 <span class="entry_type_name">int32</span>
11209 <span class="entry_type_container">x</span>
11211 <span class="entry_type_array">
11214 <span class="entry_type_visibility"> [hidden as size]</span>
11217 <span class="entry_type_hwlevel">[full] </span>
11220 <div class="entry_type_notes">width and height (N,<wbr/> M) of lens shading map provided by the camera device.<wbr/></div>
11223 </td> <!-- entry_type -->
11225 <td class="entry_description">
11226 <p>Dimensions of lens shading map.<wbr/></p>
11229 <td class="entry_units">
11232 <td class="entry_range">
11233 <p>Both values >= 1</p>
11236 <td class="entry_tags">
11237 <ul class="entry_tags">
11238 <li><a href="#tag_V1">V1</a></li>
11243 <tr class="entries_header">
11244 <th class="th_details" colspan="5">Details</th>
11246 <tr class="entry_cont">
11247 <td class="entry_details" colspan="5">
11248 <p>The map should be on the order of 30-40 rows and columns,<wbr/> and
11249 must be smaller than 64x64.<wbr/></p>
11254 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11255 <!-- end of entry -->
11258 <tr class="entry" id="static_android.lens.info.focusDistanceCalibration">
11259 <td class="entry_name
11261 android.<wbr/>lens.<wbr/>info.<wbr/>focus<wbr/>Distance<wbr/>Calibration
11263 <td class="entry_type">
11264 <span class="entry_type_name entry_type_name_enum">byte</span>
11266 <span class="entry_type_visibility"> [public]</span>
11269 <span class="entry_type_hwlevel">[limited] </span>
11273 <ul class="entry_type_enum">
11275 <span class="entry_type_enum_name">UNCALIBRATED</span>
11276 <span class="entry_type_enum_notes"><p>The lens focus distance is not accurate,<wbr/> and the units used for
11277 <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> do not correspond to any physical units.<wbr/></p>
11278 <p>Setting the lens to the same focus distance on separate occasions may
11279 result in a different real focus distance,<wbr/> depending on factors such
11280 as the orientation of the device,<wbr/> the age of the focusing mechanism,<wbr/>
11281 and the device temperature.<wbr/> The focus distance value will still be
11282 in the range of <code>[0,<wbr/> <a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a>]</code>,<wbr/> where 0
11283 represents the farthest focus.<wbr/></p></span>
11286 <span class="entry_type_enum_name">APPROXIMATE</span>
11287 <span class="entry_type_enum_notes"><p>The lens focus distance is measured in diopters.<wbr/></p>
11288 <p>However,<wbr/> setting the lens to the same focus distance
11289 on separate occasions may result in a different real
11290 focus distance,<wbr/> depending on factors such as the
11291 orientation of the device,<wbr/> the age of the focusing
11292 mechanism,<wbr/> and the device temperature.<wbr/></p></span>
11295 <span class="entry_type_enum_name">CALIBRATED</span>
11296 <span class="entry_type_enum_notes"><p>The lens focus distance is measured in diopters,<wbr/> and
11297 is calibrated.<wbr/></p>
11298 <p>The lens mechanism is calibrated so that setting the
11299 same focus distance is repeatable on multiple
11300 occasions with good accuracy,<wbr/> and the focus distance
11301 corresponds to the real physical distance to the plane
11302 of best focus.<wbr/></p></span>
11306 </td> <!-- entry_type -->
11308 <td class="entry_description">
11309 <p>The lens focus distance calibration quality.<wbr/></p>
11312 <td class="entry_units">
11315 <td class="entry_range">
11318 <td class="entry_tags">
11319 <ul class="entry_tags">
11320 <li><a href="#tag_V1">V1</a></li>
11325 <tr class="entries_header">
11326 <th class="th_details" colspan="5">Details</th>
11328 <tr class="entry_cont">
11329 <td class="entry_details" colspan="5">
11330 <p>The lens focus distance calibration quality determines the reliability of
11331 focus related metadata entries,<wbr/> i.<wbr/>e.<wbr/> <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a>,<wbr/>
11332 <a href="#dynamic_android.lens.focusRange">android.<wbr/>lens.<wbr/>focus<wbr/>Range</a>,<wbr/> <a href="#static_android.lens.info.hyperfocalDistance">android.<wbr/>lens.<wbr/>info.<wbr/>hyperfocal<wbr/>Distance</a>,<wbr/> and
11333 <a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a>.<wbr/></p>
11334 <p>APPROXIMATE and CALIBRATED devices report the focus metadata in
11335 units of diopters (1/<wbr/>meter),<wbr/> so <code>0.<wbr/>0f</code> represents focusing at infinity,<wbr/>
11336 and increasing positive numbers represent focusing closer and closer
11337 to the camera device.<wbr/> The focus distance control also uses diopters
11338 on these devices.<wbr/></p>
11339 <p>UNCALIBRATED devices do not use units that are directly comparable
11340 to any real physical measurement,<wbr/> but <code>0.<wbr/>0f</code> still represents farthest
11341 focus,<wbr/> and <a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a> represents the
11342 nearest focus the device can achieve.<wbr/></p>
11346 <tr class="entries_header">
11347 <th class="th_details" colspan="5">HAL Implementation Details</th>
11349 <tr class="entry_cont">
11350 <td class="entry_details" colspan="5">
11351 <p>For devices advertise APPROXIMATE quality or higher,<wbr/> diopters 0 (infinity
11352 focus) must work.<wbr/> When autofocus is disabled (<a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> == OFF)
11353 and the lens focus distance is set to 0 diopters
11354 (<a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> == 0),<wbr/> the lens will move to focus at infinity
11355 and is stably focused at infinity even if the device tilts.<wbr/> It may take the
11356 lens some time to move; during the move the lens state should be MOVING and
11357 the output diopter value should be changing toward 0.<wbr/></p>
11361 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11362 <!-- end of entry -->
11368 <tr class="entry" id="static_android.lens.facing">
11369 <td class="entry_name
11371 android.<wbr/>lens.<wbr/>facing
11373 <td class="entry_type">
11374 <span class="entry_type_name entry_type_name_enum">byte</span>
11376 <span class="entry_type_visibility"> [public]</span>
11379 <span class="entry_type_hwlevel">[legacy] </span>
11383 <ul class="entry_type_enum">
11385 <span class="entry_type_enum_name">FRONT</span>
11386 <span class="entry_type_enum_notes"><p>The camera device faces the same direction as the device's screen.<wbr/></p></span>
11389 <span class="entry_type_enum_name">BACK</span>
11390 <span class="entry_type_enum_notes"><p>The camera device faces the opposite direction as the device's screen.<wbr/></p></span>
11394 </td> <!-- entry_type -->
11396 <td class="entry_description">
11397 <p>Direction the camera faces relative to
11398 device screen.<wbr/></p>
11401 <td class="entry_units">
11404 <td class="entry_range">
11407 <td class="entry_tags">
11413 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11414 <!-- end of entry -->
11417 <tr class="entry" id="static_android.lens.opticalAxisAngle">
11418 <td class="entry_name
11420 android.<wbr/>lens.<wbr/>optical<wbr/>Axis<wbr/>Angle
11422 <td class="entry_type">
11423 <span class="entry_type_name">float</span>
11424 <span class="entry_type_container">x</span>
11426 <span class="entry_type_array">
11429 <span class="entry_type_visibility"> [system]</span>
11434 <div class="entry_type_notes">degrees.<wbr/> First defines the angle of separation between the perpendicular to the screen and the camera optical axis.<wbr/> The second then defines the clockwise rotation of the optical axis from native device up.<wbr/></div>
11437 </td> <!-- entry_type -->
11439 <td class="entry_description">
11440 <p>Relative angle of camera optical axis to the
11441 perpendicular axis from the display</p>
11444 <td class="entry_units">
11447 <td class="entry_range">
11448 <p>[0-90) for first angle,<wbr/> [0-360) for second</p>
11451 <td class="entry_tags">
11452 <ul class="entry_tags">
11453 <li><a href="#tag_FUTURE">FUTURE</a></li>
11458 <tr class="entries_header">
11459 <th class="th_details" colspan="5">Details</th>
11461 <tr class="entry_cont">
11462 <td class="entry_details" colspan="5">
11464 <p>(0,<wbr/>0) means that the camera optical axis
11465 is perpendicular to the display surface;</p>
11466 <p>(45,<wbr/>0) means that the camera points 45 degrees up when
11467 device is held upright;</p>
11468 <p>(45,<wbr/>90) means the camera points 45 degrees to the right when
11469 the device is held upright.<wbr/></p>
11470 <p>Use FACING field to determine perpendicular outgoing
11476 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11477 <!-- end of entry -->
11480 <tr class="entry" id="static_android.lens.position">
11481 <td class="entry_name
11483 android.<wbr/>lens.<wbr/>position
11485 <td class="entry_type">
11486 <span class="entry_type_name">float</span>
11487 <span class="entry_type_container">x</span>
11489 <span class="entry_type_array">
11490 3, location in mm, in the sensor coordinate
11493 <span class="entry_type_visibility"> [system]</span>
11500 </td> <!-- entry_type -->
11502 <td class="entry_description">
11503 <p>Coordinates of camera optical axis on
11507 <td class="entry_units">
11510 <td class="entry_range">
11513 <td class="entry_tags">
11514 <ul class="entry_tags">
11515 <li><a href="#tag_FUTURE">FUTURE</a></li>
11522 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11523 <!-- end of entry -->
11527 <!-- end of kind -->
11529 <tr><td colspan="6" class="kind">dynamic</td></tr>
11531 <thead class="entries_header">
11533 <th class="th_name">Property Name</th>
11534 <th class="th_type">Type</th>
11535 <th class="th_description">Description</th>
11536 <th class="th_units">Units</th>
11537 <th class="th_range">Range</th>
11538 <th class="th_tags">Tags</th>
11553 <tr class="entry" id="dynamic_android.lens.aperture">
11554 <td class="entry_name
11556 android.<wbr/>lens.<wbr/>aperture
11558 <td class="entry_type">
11559 <span class="entry_type_name">float</span>
11561 <span class="entry_type_visibility"> [public]</span>
11564 <span class="entry_type_hwlevel">[full] </span>
11569 </td> <!-- entry_type -->
11571 <td class="entry_description">
11572 <p>The desired lens aperture size,<wbr/> as a ratio of lens focal length to the
11573 effective aperture diameter.<wbr/></p>
11576 <td class="entry_units">
11577 The f-number (f/<wbr/>N)
11580 <td class="entry_range">
11581 <p><a href="#static_android.lens.info.availableApertures">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Apertures</a></p>
11584 <td class="entry_tags">
11585 <ul class="entry_tags">
11586 <li><a href="#tag_V1">V1</a></li>
11591 <tr class="entries_header">
11592 <th class="th_details" colspan="5">Details</th>
11594 <tr class="entry_cont">
11595 <td class="entry_details" colspan="5">
11596 <p>Setting this value is only supported on the camera devices that have a variable
11597 aperture lens.<wbr/></p>
11598 <p>When this is supported and <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is OFF,<wbr/>
11599 this can be set along with <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/>
11600 <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a>
11601 to achieve manual exposure control.<wbr/></p>
11602 <p>The requested aperture value may take several frames to reach the
11603 requested value; the camera device will report the current (intermediate)
11604 aperture size in capture result metadata while the aperture is changing.<wbr/>
11605 While the aperture is still changing,<wbr/> <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will be set to MOVING.<wbr/></p>
11606 <p>When this is supported and <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is one of
11607 the ON modes,<wbr/> this will be overridden by the camera device
11608 auto-exposure algorithm,<wbr/> the overridden values are then provided
11609 back to the user in the corresponding result.<wbr/></p>
11614 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11615 <!-- end of entry -->
11618 <tr class="entry" id="dynamic_android.lens.filterDensity">
11619 <td class="entry_name
11621 android.<wbr/>lens.<wbr/>filter<wbr/>Density
11623 <td class="entry_type">
11624 <span class="entry_type_name">float</span>
11626 <span class="entry_type_visibility"> [public]</span>
11629 <span class="entry_type_hwlevel">[full] </span>
11634 </td> <!-- entry_type -->
11636 <td class="entry_description">
11637 <p>The desired setting for the lens neutral density filter(s).<wbr/></p>
11640 <td class="entry_units">
11641 Exposure Value (EV)
11644 <td class="entry_range">
11645 <p><a href="#static_android.lens.info.availableFilterDensities">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Filter<wbr/>Densities</a></p>
11648 <td class="entry_tags">
11649 <ul class="entry_tags">
11650 <li><a href="#tag_V1">V1</a></li>
11655 <tr class="entries_header">
11656 <th class="th_details" colspan="5">Details</th>
11658 <tr class="entry_cont">
11659 <td class="entry_details" colspan="5">
11660 <p>This control will not be supported on most camera devices.<wbr/></p>
11661 <p>Lens filters are typically used to lower the amount of light the
11662 sensor is exposed to (measured in steps of EV).<wbr/> As used here,<wbr/> an EV
11663 step is the standard logarithmic representation,<wbr/> which are
11664 non-negative,<wbr/> and inversely proportional to the amount of light
11665 hitting the sensor.<wbr/> For example,<wbr/> setting this to 0 would result
11666 in no reduction of the incoming light,<wbr/> and setting this to 2 would
11667 mean that the filter is set to reduce incoming light by two stops
11668 (allowing 1/<wbr/>4 of the prior amount of light to the sensor).<wbr/></p>
11669 <p>It may take several frames before the lens filter density changes
11670 to the requested value.<wbr/> While the filter density is still changing,<wbr/>
11671 <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will be set to MOVING.<wbr/></p>
11676 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11677 <!-- end of entry -->
11680 <tr class="entry" id="dynamic_android.lens.focalLength">
11681 <td class="entry_name
11683 android.<wbr/>lens.<wbr/>focal<wbr/>Length
11685 <td class="entry_type">
11686 <span class="entry_type_name">float</span>
11688 <span class="entry_type_visibility"> [public]</span>
11691 <span class="entry_type_hwlevel">[legacy] </span>
11696 </td> <!-- entry_type -->
11698 <td class="entry_description">
11699 <p>The desired lens focal length; used for optical zoom.<wbr/></p>
11702 <td class="entry_units">
11706 <td class="entry_range">
11707 <p><a href="#static_android.lens.info.availableFocalLengths">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Focal<wbr/>Lengths</a></p>
11710 <td class="entry_tags">
11711 <ul class="entry_tags">
11712 <li><a href="#tag_BC">BC</a></li>
11717 <tr class="entries_header">
11718 <th class="th_details" colspan="5">Details</th>
11720 <tr class="entry_cont">
11721 <td class="entry_details" colspan="5">
11722 <p>This setting controls the physical focal length of the camera
11723 device's lens.<wbr/> Changing the focal length changes the field of
11724 view of the camera device,<wbr/> and is usually used for optical zoom.<wbr/></p>
11725 <p>Like <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> and <a href="#controls_android.lens.aperture">android.<wbr/>lens.<wbr/>aperture</a>,<wbr/> this
11726 setting won't be applied instantaneously,<wbr/> and it may take several
11727 frames before the lens can change to the requested focal length.<wbr/>
11728 While the focal length is still changing,<wbr/> <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will
11729 be set to MOVING.<wbr/></p>
11730 <p>Optical zoom will not be supported on most devices.<wbr/></p>
11735 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11736 <!-- end of entry -->
11739 <tr class="entry" id="dynamic_android.lens.focusDistance">
11740 <td class="entry_name
11742 android.<wbr/>lens.<wbr/>focus<wbr/>Distance
11744 <td class="entry_type">
11745 <span class="entry_type_name">float</span>
11747 <span class="entry_type_visibility"> [public]</span>
11750 <span class="entry_type_hwlevel">[full] </span>
11755 </td> <!-- entry_type -->
11757 <td class="entry_description">
11758 <p>Desired distance to plane of sharpest focus,<wbr/>
11759 measured from frontmost surface of the lens.<wbr/></p>
11762 <td class="entry_units">
11763 See android.<wbr/>lens.<wbr/>info.<wbr/>focus<wbr/>Distance<wbr/>Calibration for details
11766 <td class="entry_range">
11770 <td class="entry_tags">
11771 <ul class="entry_tags">
11772 <li><a href="#tag_BC">BC</a></li>
11777 <tr class="entries_header">
11778 <th class="th_details" colspan="5">Details</th>
11780 <tr class="entry_cont">
11781 <td class="entry_details" colspan="5">
11782 <p>Should be zero for fixed-focus cameras</p>
11787 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11788 <!-- end of entry -->
11791 <tr class="entry" id="dynamic_android.lens.focusRange">
11792 <td class="entry_name
11794 android.<wbr/>lens.<wbr/>focus<wbr/>Range
11796 <td class="entry_type">
11797 <span class="entry_type_name">float</span>
11798 <span class="entry_type_container">x</span>
11800 <span class="entry_type_array">
11803 <span class="entry_type_visibility"> [public as pairFloatFloat]</span>
11806 <span class="entry_type_hwlevel">[limited] </span>
11809 <div class="entry_type_notes">Range of scene distances that are in focus</div>
11812 </td> <!-- entry_type -->
11814 <td class="entry_description">
11815 <p>The range of scene distances that are in
11816 sharp focus (depth of field).<wbr/></p>
11819 <td class="entry_units">
11820 A pair of focus distances in diopters: (near,<wbr/>
11821 far); see android.<wbr/>lens.<wbr/>info.<wbr/>focus<wbr/>Distance<wbr/>Calibration for details.<wbr/>
11824 <td class="entry_range">
11828 <td class="entry_tags">
11829 <ul class="entry_tags">
11830 <li><a href="#tag_BC">BC</a></li>
11835 <tr class="entries_header">
11836 <th class="th_details" colspan="5">Details</th>
11838 <tr class="entry_cont">
11839 <td class="entry_details" colspan="5">
11840 <p>If variable focus not supported,<wbr/> can still report
11841 fixed depth of field range</p>
11846 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11847 <!-- end of entry -->
11850 <tr class="entry" id="dynamic_android.lens.opticalStabilizationMode">
11851 <td class="entry_name
11853 android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode
11855 <td class="entry_type">
11856 <span class="entry_type_name entry_type_name_enum">byte</span>
11858 <span class="entry_type_visibility"> [public]</span>
11861 <span class="entry_type_hwlevel">[limited] </span>
11865 <ul class="entry_type_enum">
11867 <span class="entry_type_enum_name">OFF</span>
11868 <span class="entry_type_enum_notes"><p>Optical stabilization is unavailable.<wbr/></p></span>
11871 <span class="entry_type_enum_name">ON</span>
11872 <span class="entry_type_enum_optional">[optional]</span>
11873 <span class="entry_type_enum_notes"><p>Optical stabilization is enabled.<wbr/></p></span>
11877 </td> <!-- entry_type -->
11879 <td class="entry_description">
11880 <p>Sets whether the camera device uses optical image stabilization (OIS)
11881 when capturing images.<wbr/></p>
11884 <td class="entry_units">
11887 <td class="entry_range">
11888 <p><a href="#static_android.lens.info.availableOpticalStabilization">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Optical<wbr/>Stabilization</a></p>
11891 <td class="entry_tags">
11892 <ul class="entry_tags">
11893 <li><a href="#tag_V1">V1</a></li>
11898 <tr class="entries_header">
11899 <th class="th_details" colspan="5">Details</th>
11901 <tr class="entry_cont">
11902 <td class="entry_details" colspan="5">
11903 <p>OIS is used to compensate for motion blur due to small
11904 movements of the camera during capture.<wbr/> Unlike digital image
11905 stabilization (<a href="#controls_android.control.videoStabilizationMode">android.<wbr/>control.<wbr/>video<wbr/>Stabilization<wbr/>Mode</a>),<wbr/> OIS
11906 makes use of mechanical elements to stabilize the camera
11907 sensor,<wbr/> and thus allows for longer exposure times before
11908 camera shake becomes apparent.<wbr/></p>
11909 <p>Switching between different optical stabilization modes may take several
11910 frames to initialize,<wbr/> the camera device will report the current mode in
11911 capture result metadata.<wbr/> For example,<wbr/> When "ON" mode is requested,<wbr/> the
11912 optical stabilization modes in the first several capture results may still
11913 be "OFF",<wbr/> and it will become "ON" when the initialization is done.<wbr/></p>
11914 <p>If a camera device supports both OIS and digital image stabilization
11915 (<a href="#controls_android.control.videoStabilizationMode">android.<wbr/>control.<wbr/>video<wbr/>Stabilization<wbr/>Mode</a>),<wbr/> turning both modes on may produce undesirable
11916 interaction,<wbr/> so it is recommended not to enable both at the same time.<wbr/></p>
11917 <p>Not all devices will support OIS; see
11918 <a href="#static_android.lens.info.availableOpticalStabilization">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Optical<wbr/>Stabilization</a> for
11919 available controls.<wbr/></p>
11924 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
11925 <!-- end of entry -->
11928 <tr class="entry" id="dynamic_android.lens.state">
11929 <td class="entry_name
11931 android.<wbr/>lens.<wbr/>state
11933 <td class="entry_type">
11934 <span class="entry_type_name entry_type_name_enum">byte</span>
11936 <span class="entry_type_visibility"> [public]</span>
11939 <span class="entry_type_hwlevel">[limited] </span>
11943 <ul class="entry_type_enum">
11945 <span class="entry_type_enum_name">STATIONARY</span>
11946 <span class="entry_type_enum_notes"><p>The lens parameters (<a href="#controls_android.lens.focalLength">android.<wbr/>lens.<wbr/>focal<wbr/>Length</a>,<wbr/> <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a>,<wbr/>
11947 <a href="#controls_android.lens.filterDensity">android.<wbr/>lens.<wbr/>filter<wbr/>Density</a> and <a href="#controls_android.lens.aperture">android.<wbr/>lens.<wbr/>aperture</a>) are not changing.<wbr/></p></span>
11950 <span class="entry_type_enum_name">MOVING</span>
11951 <span class="entry_type_enum_notes"><p>One or several of the lens parameters
11952 (<a href="#controls_android.lens.focalLength">android.<wbr/>lens.<wbr/>focal<wbr/>Length</a>,<wbr/> <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a>,<wbr/>
11953 <a href="#controls_android.lens.filterDensity">android.<wbr/>lens.<wbr/>filter<wbr/>Density</a> or <a href="#controls_android.lens.aperture">android.<wbr/>lens.<wbr/>aperture</a>) is
11954 currently changing.<wbr/></p></span>
11958 </td> <!-- entry_type -->
11960 <td class="entry_description">
11961 <p>Current lens status.<wbr/></p>
11964 <td class="entry_units">
11967 <td class="entry_range">
11970 <td class="entry_tags">
11971 <ul class="entry_tags">
11972 <li><a href="#tag_V1">V1</a></li>
11977 <tr class="entries_header">
11978 <th class="th_details" colspan="5">Details</th>
11980 <tr class="entry_cont">
11981 <td class="entry_details" colspan="5">
11982 <p>For lens parameters <a href="#controls_android.lens.focalLength">android.<wbr/>lens.<wbr/>focal<wbr/>Length</a>,<wbr/> <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a>,<wbr/>
11983 <a href="#controls_android.lens.filterDensity">android.<wbr/>lens.<wbr/>filter<wbr/>Density</a> and <a href="#controls_android.lens.aperture">android.<wbr/>lens.<wbr/>aperture</a>,<wbr/> when changes are requested,<wbr/>
11984 they may take several frames to reach the requested values.<wbr/> This state indicates
11985 the current status of the lens parameters.<wbr/></p>
11986 <p>When the state is STATIONARY,<wbr/> the lens parameters are not changing.<wbr/> This could be
11987 either because the parameters are all fixed,<wbr/> or because the lens has had enough
11988 time to reach the most recently-requested values.<wbr/>
11989 If all these lens parameters are not changable for a camera device,<wbr/> as listed below:</p>
11991 <li>Fixed focus (<code><a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a> == 0</code>),<wbr/> which means
11992 <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> parameter will always be 0.<wbr/></li>
11993 <li>Fixed focal length (<a href="#static_android.lens.info.availableFocalLengths">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Focal<wbr/>Lengths</a> contains single value),<wbr/>
11994 which means the optical zoom is not supported.<wbr/></li>
11995 <li>No ND filter (<a href="#static_android.lens.info.availableFilterDensities">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Filter<wbr/>Densities</a> contains only 0).<wbr/></li>
11996 <li>Fixed aperture (<a href="#static_android.lens.info.availableApertures">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Apertures</a> contains single value).<wbr/></li>
11998 <p>Then this state will always be STATIONARY.<wbr/></p>
11999 <p>When the state is MOVING,<wbr/> it indicates that at least one of the lens parameters
12000 is changing.<wbr/></p>
12005 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12006 <!-- end of entry -->
12010 <!-- end of kind -->
12013 <!-- end of section -->
12014 <tr><td colspan="6" id="section_noiseReduction" class="section">noiseReduction</td></tr>
12017 <tr><td colspan="6" class="kind">controls</td></tr>
12019 <thead class="entries_header">
12021 <th class="th_name">Property Name</th>
12022 <th class="th_type">Type</th>
12023 <th class="th_description">Description</th>
12024 <th class="th_units">Units</th>
12025 <th class="th_range">Range</th>
12026 <th class="th_tags">Tags</th>
12041 <tr class="entry" id="controls_android.noiseReduction.mode">
12042 <td class="entry_name
12044 android.<wbr/>noise<wbr/>Reduction.<wbr/>mode
12046 <td class="entry_type">
12047 <span class="entry_type_name entry_type_name_enum">byte</span>
12049 <span class="entry_type_visibility"> [public]</span>
12052 <span class="entry_type_hwlevel">[full] </span>
12056 <ul class="entry_type_enum">
12058 <span class="entry_type_enum_name">OFF</span>
12059 <span class="entry_type_enum_notes"><p>No noise reduction is applied.<wbr/></p></span>
12062 <span class="entry_type_enum_name">FAST</span>
12063 <span class="entry_type_enum_notes"><p>Noise reduction is applied without reducing frame rate relative to sensor
12064 output.<wbr/></p></span>
12067 <span class="entry_type_enum_name">HIGH_QUALITY</span>
12068 <span class="entry_type_enum_notes"><p>High-quality noise reduction is applied,<wbr/> at the cost of reducing frame rate
12069 relative to sensor output.<wbr/></p></span>
12073 </td> <!-- entry_type -->
12075 <td class="entry_description">
12076 <p>Mode of operation for the noise reduction algorithm.<wbr/></p>
12079 <td class="entry_units">
12082 <td class="entry_range">
12083 <p><a href="#static_android.noiseReduction.availableNoiseReductionModes">android.<wbr/>noise<wbr/>Reduction.<wbr/>available<wbr/>Noise<wbr/>Reduction<wbr/>Modes</a></p>
12086 <td class="entry_tags">
12087 <ul class="entry_tags">
12088 <li><a href="#tag_V1">V1</a></li>
12093 <tr class="entries_header">
12094 <th class="th_details" colspan="5">Details</th>
12096 <tr class="entry_cont">
12097 <td class="entry_details" colspan="5">
12098 <p>The noise reduction algorithm attempts to improve image quality by removing
12099 excessive noise added by the capture process,<wbr/> especially in dark conditions.<wbr/>
12100 OFF means no noise reduction will be applied by the camera device.<wbr/></p>
12101 <p>FAST/<wbr/>HIGH_<wbr/>QUALITY both mean camera device determined noise filtering
12102 will be applied.<wbr/> HIGH_<wbr/>QUALITY mode indicates that the camera device
12103 will use the highest-quality noise filtering algorithms,<wbr/>
12104 even if it slows down capture rate.<wbr/> FAST means the camera device will not
12105 slow down capture rate when applying noise filtering.<wbr/></p>
12110 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12111 <!-- end of entry -->
12114 <tr class="entry" id="controls_android.noiseReduction.strength">
12115 <td class="entry_name
12117 android.<wbr/>noise<wbr/>Reduction.<wbr/>strength
12119 <td class="entry_type">
12120 <span class="entry_type_name">byte</span>
12122 <span class="entry_type_visibility"> [system]</span>
12129 </td> <!-- entry_type -->
12131 <td class="entry_description">
12132 <p>Control the amount of noise reduction
12133 applied to the images</p>
12136 <td class="entry_units">
12137 1-10; 10 is max noise reduction
12140 <td class="entry_range">
12144 <td class="entry_tags">
12145 <ul class="entry_tags">
12146 <li><a href="#tag_FUTURE">FUTURE</a></li>
12153 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12154 <!-- end of entry -->
12158 <!-- end of kind -->
12160 <tr><td colspan="6" class="kind">static</td></tr>
12162 <thead class="entries_header">
12164 <th class="th_name">Property Name</th>
12165 <th class="th_type">Type</th>
12166 <th class="th_description">Description</th>
12167 <th class="th_units">Units</th>
12168 <th class="th_range">Range</th>
12169 <th class="th_tags">Tags</th>
12184 <tr class="entry" id="static_android.noiseReduction.availableNoiseReductionModes">
12185 <td class="entry_name
12187 android.<wbr/>noise<wbr/>Reduction.<wbr/>available<wbr/>Noise<wbr/>Reduction<wbr/>Modes
12189 <td class="entry_type">
12190 <span class="entry_type_name">byte</span>
12191 <span class="entry_type_container">x</span>
12193 <span class="entry_type_array">
12196 <span class="entry_type_visibility"> [public as enumList]</span>
12199 <span class="entry_type_hwlevel">[limited] </span>
12202 <div class="entry_type_notes">list of enums</div>
12205 </td> <!-- entry_type -->
12207 <td class="entry_description">
12208 <p>List of noise reduction modes for <a href="#controls_android.noiseReduction.mode">android.<wbr/>noise<wbr/>Reduction.<wbr/>mode</a> that are supported
12209 by this camera device.<wbr/></p>
12212 <td class="entry_units">
12215 <td class="entry_range">
12216 <p>Any value listed in <a href="#controls_android.noiseReduction.mode">android.<wbr/>noise<wbr/>Reduction.<wbr/>mode</a></p>
12219 <td class="entry_tags">
12220 <ul class="entry_tags">
12221 <li><a href="#tag_V1">V1</a></li>
12226 <tr class="entries_header">
12227 <th class="th_details" colspan="5">Details</th>
12229 <tr class="entry_cont">
12230 <td class="entry_details" colspan="5">
12231 <p>Full-capability camera devices will always support OFF and FAST.<wbr/></p>
12232 <p>Legacy-capability camera devices will only support FAST mode.<wbr/></p>
12237 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12238 <!-- end of entry -->
12242 <!-- end of kind -->
12244 <tr><td colspan="6" class="kind">dynamic</td></tr>
12246 <thead class="entries_header">
12248 <th class="th_name">Property Name</th>
12249 <th class="th_type">Type</th>
12250 <th class="th_description">Description</th>
12251 <th class="th_units">Units</th>
12252 <th class="th_range">Range</th>
12253 <th class="th_tags">Tags</th>
12268 <tr class="entry" id="dynamic_android.noiseReduction.mode">
12269 <td class="entry_name
12271 android.<wbr/>noise<wbr/>Reduction.<wbr/>mode
12273 <td class="entry_type">
12274 <span class="entry_type_name entry_type_name_enum">byte</span>
12276 <span class="entry_type_visibility"> [public]</span>
12279 <span class="entry_type_hwlevel">[full] </span>
12283 <ul class="entry_type_enum">
12285 <span class="entry_type_enum_name">OFF</span>
12286 <span class="entry_type_enum_notes"><p>No noise reduction is applied.<wbr/></p></span>
12289 <span class="entry_type_enum_name">FAST</span>
12290 <span class="entry_type_enum_notes"><p>Noise reduction is applied without reducing frame rate relative to sensor
12291 output.<wbr/></p></span>
12294 <span class="entry_type_enum_name">HIGH_QUALITY</span>
12295 <span class="entry_type_enum_notes"><p>High-quality noise reduction is applied,<wbr/> at the cost of reducing frame rate
12296 relative to sensor output.<wbr/></p></span>
12300 </td> <!-- entry_type -->
12302 <td class="entry_description">
12303 <p>Mode of operation for the noise reduction algorithm.<wbr/></p>
12306 <td class="entry_units">
12309 <td class="entry_range">
12310 <p><a href="#static_android.noiseReduction.availableNoiseReductionModes">android.<wbr/>noise<wbr/>Reduction.<wbr/>available<wbr/>Noise<wbr/>Reduction<wbr/>Modes</a></p>
12313 <td class="entry_tags">
12314 <ul class="entry_tags">
12315 <li><a href="#tag_V1">V1</a></li>
12320 <tr class="entries_header">
12321 <th class="th_details" colspan="5">Details</th>
12323 <tr class="entry_cont">
12324 <td class="entry_details" colspan="5">
12325 <p>The noise reduction algorithm attempts to improve image quality by removing
12326 excessive noise added by the capture process,<wbr/> especially in dark conditions.<wbr/>
12327 OFF means no noise reduction will be applied by the camera device.<wbr/></p>
12328 <p>FAST/<wbr/>HIGH_<wbr/>QUALITY both mean camera device determined noise filtering
12329 will be applied.<wbr/> HIGH_<wbr/>QUALITY mode indicates that the camera device
12330 will use the highest-quality noise filtering algorithms,<wbr/>
12331 even if it slows down capture rate.<wbr/> FAST means the camera device will not
12332 slow down capture rate when applying noise filtering.<wbr/></p>
12337 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12338 <!-- end of entry -->
12342 <!-- end of kind -->
12345 <!-- end of section -->
12346 <tr><td colspan="6" id="section_quirks" class="section">quirks</td></tr>
12349 <tr><td colspan="6" class="kind">static</td></tr>
12351 <thead class="entries_header">
12353 <th class="th_name">Property Name</th>
12354 <th class="th_type">Type</th>
12355 <th class="th_description">Description</th>
12356 <th class="th_units">Units</th>
12357 <th class="th_range">Range</th>
12358 <th class="th_tags">Tags</th>
12373 <tr class="entry" id="static_android.quirks.meteringCropRegion">
12374 <td class="entry_name
12375 entry_name_deprecated
12377 android.<wbr/>quirks.<wbr/>metering<wbr/>Crop<wbr/>Region
12379 <td class="entry_type">
12380 <span class="entry_type_name">byte</span>
12382 <span class="entry_type_visibility"> [system]</span>
12386 <span class="entry_type_deprecated">[deprecated] </span>
12390 </td> <!-- entry_type -->
12392 <td class="entry_description">
12393 <p>If set to 1,<wbr/> the camera service does not
12394 scale 'normalized' coordinates with respect to the crop
12395 region.<wbr/> This applies to metering input (a{e,<wbr/>f,<wbr/>wb}Region
12396 and output (face rectangles).<wbr/></p>
12399 <td class="entry_units">
12402 <td class="entry_range">
12403 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
12406 <td class="entry_tags">
12410 <tr class="entries_header">
12411 <th class="th_details" colspan="5">Details</th>
12413 <tr class="entry_cont">
12414 <td class="entry_details" colspan="5">
12415 <p>Normalized coordinates refer to those in the
12416 (-1000,<wbr/>1000) range mentioned in the
12417 android.<wbr/>hardware.<wbr/>Camera API.<wbr/></p>
12418 <p>HAL implementations should instead always use and emit
12419 sensor array-relative coordinates for all region data.<wbr/> Does
12420 not need to be listed in static metadata.<wbr/> Support will be
12421 removed in future versions of camera service.<wbr/></p>
12426 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12427 <!-- end of entry -->
12430 <tr class="entry" id="static_android.quirks.triggerAfWithAuto">
12431 <td class="entry_name
12432 entry_name_deprecated
12434 android.<wbr/>quirks.<wbr/>trigger<wbr/>Af<wbr/>With<wbr/>Auto
12436 <td class="entry_type">
12437 <span class="entry_type_name">byte</span>
12439 <span class="entry_type_visibility"> [system]</span>
12443 <span class="entry_type_deprecated">[deprecated] </span>
12447 </td> <!-- entry_type -->
12449 <td class="entry_description">
12450 <p>If set to 1,<wbr/> then the camera service always
12451 switches to FOCUS_<wbr/>MODE_<wbr/>AUTO before issuing a AF
12455 <td class="entry_units">
12458 <td class="entry_range">
12459 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
12462 <td class="entry_tags">
12466 <tr class="entries_header">
12467 <th class="th_details" colspan="5">Details</th>
12469 <tr class="entry_cont">
12470 <td class="entry_details" colspan="5">
12471 <p>HAL implementations should implement AF trigger
12472 modes for AUTO,<wbr/> MACRO,<wbr/> CONTINUOUS_<wbr/>FOCUS,<wbr/> and
12473 CONTINUOUS_<wbr/>PICTURE modes instead of using this flag.<wbr/> Does
12474 not need to be listed in static metadata.<wbr/> Support will be
12475 removed in future versions of camera service</p>
12480 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12481 <!-- end of entry -->
12484 <tr class="entry" id="static_android.quirks.useZslFormat">
12485 <td class="entry_name
12486 entry_name_deprecated
12488 android.<wbr/>quirks.<wbr/>use<wbr/>Zsl<wbr/>Format
12490 <td class="entry_type">
12491 <span class="entry_type_name">byte</span>
12493 <span class="entry_type_visibility"> [system]</span>
12497 <span class="entry_type_deprecated">[deprecated] </span>
12501 </td> <!-- entry_type -->
12503 <td class="entry_description">
12504 <p>If set to 1,<wbr/> the camera service uses
12505 CAMERA2_<wbr/>PIXEL_<wbr/>FORMAT_<wbr/>ZSL instead of
12506 HAL_<wbr/>PIXEL_<wbr/>FORMAT_<wbr/>IMPLEMENTATION_<wbr/>DEFINED for the zero
12507 shutter lag stream</p>
12510 <td class="entry_units">
12513 <td class="entry_range">
12514 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
12517 <td class="entry_tags">
12521 <tr class="entries_header">
12522 <th class="th_details" colspan="5">Details</th>
12524 <tr class="entry_cont">
12525 <td class="entry_details" colspan="5">
12526 <p>HAL implementations should use gralloc usage flags
12527 to determine that a stream will be used for
12528 zero-shutter-lag,<wbr/> instead of relying on an explicit
12529 format setting.<wbr/> Does not need to be listed in static
12530 metadata.<wbr/> Support will be removed in future versions of
12531 camera service.<wbr/></p>
12536 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12537 <!-- end of entry -->
12540 <tr class="entry" id="static_android.quirks.usePartialResult">
12541 <td class="entry_name
12542 entry_name_deprecated
12544 android.<wbr/>quirks.<wbr/>use<wbr/>Partial<wbr/>Result
12546 <td class="entry_type">
12547 <span class="entry_type_name">byte</span>
12549 <span class="entry_type_visibility"> [hidden]</span>
12553 <span class="entry_type_deprecated">[deprecated] </span>
12557 </td> <!-- entry_type -->
12559 <td class="entry_description">
12560 <p>If set to 1,<wbr/> the HAL will always split result
12561 metadata for a single capture into multiple buffers,<wbr/>
12562 returned using multiple process_<wbr/>capture_<wbr/>result calls.<wbr/></p>
12565 <td class="entry_units">
12568 <td class="entry_range">
12569 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
12572 <td class="entry_tags">
12576 <tr class="entries_header">
12577 <th class="th_details" colspan="5">Details</th>
12579 <tr class="entry_cont">
12580 <td class="entry_details" colspan="5">
12581 <p>Does not need to be listed in static
12582 metadata.<wbr/> Support for partial results will be reworked in
12583 future versions of camera service.<wbr/> This quirk will stop
12584 working at that point; DO NOT USE without careful
12585 consideration of future support.<wbr/></p>
12589 <tr class="entries_header">
12590 <th class="th_details" colspan="5">HAL Implementation Details</th>
12592 <tr class="entry_cont">
12593 <td class="entry_details" colspan="5">
12594 <p>Refer to <code>camera3_<wbr/>capture_<wbr/>result::partial_<wbr/>result</code>
12595 for information on how to implement partial results.<wbr/></p>
12599 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12600 <!-- end of entry -->
12604 <!-- end of kind -->
12606 <tr><td colspan="6" class="kind">dynamic</td></tr>
12608 <thead class="entries_header">
12610 <th class="th_name">Property Name</th>
12611 <th class="th_type">Type</th>
12612 <th class="th_description">Description</th>
12613 <th class="th_units">Units</th>
12614 <th class="th_range">Range</th>
12615 <th class="th_tags">Tags</th>
12630 <tr class="entry" id="dynamic_android.quirks.partialResult">
12631 <td class="entry_name
12632 entry_name_deprecated
12634 android.<wbr/>quirks.<wbr/>partial<wbr/>Result
12636 <td class="entry_type">
12637 <span class="entry_type_name entry_type_name_enum">byte</span>
12639 <span class="entry_type_visibility"> [hidden as boolean]</span>
12643 <span class="entry_type_deprecated">[deprecated] </span>
12646 <ul class="entry_type_enum">
12648 <span class="entry_type_enum_name">FINAL</span>
12649 <span class="entry_type_enum_notes"><p>The last or only metadata result buffer
12650 for this capture.<wbr/></p></span>
12653 <span class="entry_type_enum_name">PARTIAL</span>
12654 <span class="entry_type_enum_notes"><p>A partial buffer of result metadata for this
12655 capture.<wbr/> More result buffers for this capture will be sent
12656 by the camera device,<wbr/> the last of which will be marked
12657 FINAL.<wbr/></p></span>
12661 </td> <!-- entry_type -->
12663 <td class="entry_description">
12664 <p>Whether a result given to the framework is the
12665 final one for the capture,<wbr/> or only a partial that contains a
12666 subset of the full set of dynamic metadata
12670 <td class="entry_units">
12673 <td class="entry_range">
12674 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
12675 <p>Optional.<wbr/> Default value is FINAL.<wbr/></p>
12678 <td class="entry_tags">
12682 <tr class="entries_header">
12683 <th class="th_details" colspan="5">Details</th>
12685 <tr class="entry_cont">
12686 <td class="entry_details" colspan="5">
12687 <p>The entries in the result metadata buffers for a
12688 single capture may not overlap,<wbr/> except for this entry.<wbr/> The
12689 FINAL buffers must retain FIFO ordering relative to the
12690 requests that generate them,<wbr/> so the FINAL buffer for frame 3 must
12691 always be sent to the framework after the FINAL buffer for frame 2,<wbr/> and
12692 before the FINAL buffer for frame 4.<wbr/> PARTIAL buffers may be returned
12693 in any order relative to other frames,<wbr/> but all PARTIAL buffers for a given
12694 capture must arrive before the FINAL buffer for that capture.<wbr/> This entry may
12695 only be used by the camera device if quirks.<wbr/>usePartialResult is set to 1.<wbr/></p>
12699 <tr class="entries_header">
12700 <th class="th_details" colspan="5">HAL Implementation Details</th>
12702 <tr class="entry_cont">
12703 <td class="entry_details" colspan="5">
12704 <p>Refer to <code>camera3_<wbr/>capture_<wbr/>result::partial_<wbr/>result</code>
12705 for information on how to implement partial results.<wbr/></p>
12709 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12710 <!-- end of entry -->
12714 <!-- end of kind -->
12717 <!-- end of section -->
12718 <tr><td colspan="6" id="section_request" class="section">request</td></tr>
12721 <tr><td colspan="6" class="kind">controls</td></tr>
12723 <thead class="entries_header">
12725 <th class="th_name">Property Name</th>
12726 <th class="th_type">Type</th>
12727 <th class="th_description">Description</th>
12728 <th class="th_units">Units</th>
12729 <th class="th_range">Range</th>
12730 <th class="th_tags">Tags</th>
12745 <tr class="entry" id="controls_android.request.frameCount">
12746 <td class="entry_name
12747 entry_name_deprecated
12749 android.<wbr/>request.<wbr/>frame<wbr/>Count
12751 <td class="entry_type">
12752 <span class="entry_type_name">int32</span>
12754 <span class="entry_type_visibility"> [system]</span>
12758 <span class="entry_type_deprecated">[deprecated] </span>
12762 </td> <!-- entry_type -->
12764 <td class="entry_description">
12765 <p>A frame counter set by the framework.<wbr/> Must
12766 be maintained unchanged in output frame.<wbr/> This value monotonically
12767 increases with every new result (that is,<wbr/> each new result has a unique
12768 frameCount value).<wbr/></p>
12771 <td class="entry_units">
12772 incrementing integer
12775 <td class="entry_range">
12776 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
12777 <p>Any int.<wbr/></p>
12780 <td class="entry_tags">
12786 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12787 <!-- end of entry -->
12790 <tr class="entry" id="controls_android.request.id">
12791 <td class="entry_name
12793 android.<wbr/>request.<wbr/>id
12795 <td class="entry_type">
12796 <span class="entry_type_name">int32</span>
12798 <span class="entry_type_visibility"> [hidden]</span>
12805 </td> <!-- entry_type -->
12807 <td class="entry_description">
12808 <p>An application-specified ID for the current
12809 request.<wbr/> Must be maintained unchanged in output
12813 <td class="entry_units">
12814 arbitrary integer assigned by application
12817 <td class="entry_range">
12821 <td class="entry_tags">
12822 <ul class="entry_tags">
12823 <li><a href="#tag_V1">V1</a></li>
12830 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12831 <!-- end of entry -->
12834 <tr class="entry" id="controls_android.request.inputStreams">
12835 <td class="entry_name
12836 entry_name_deprecated
12838 android.<wbr/>request.<wbr/>input<wbr/>Streams
12840 <td class="entry_type">
12841 <span class="entry_type_name">int32</span>
12842 <span class="entry_type_container">x</span>
12844 <span class="entry_type_array">
12847 <span class="entry_type_visibility"> [system]</span>
12851 <span class="entry_type_deprecated">[deprecated] </span>
12855 </td> <!-- entry_type -->
12857 <td class="entry_description">
12858 <p>List which camera reprocess stream is used
12859 for the source of reprocessing data.<wbr/></p>
12862 <td class="entry_units">
12863 List of camera reprocess stream IDs
12866 <td class="entry_range">
12867 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
12868 <p>Typically,<wbr/> only one entry allowed,<wbr/> must be a valid reprocess stream ID.<wbr/></p>
12871 <td class="entry_tags">
12872 <ul class="entry_tags">
12873 <li><a href="#tag_HAL2">HAL2</a></li>
12878 <tr class="entries_header">
12879 <th class="th_details" colspan="5">Details</th>
12881 <tr class="entry_cont">
12882 <td class="entry_details" colspan="5">
12883 <p>Only meaningful when <a href="#controls_android.request.type">android.<wbr/>request.<wbr/>type</a> ==
12884 REPROCESS.<wbr/> Ignored otherwise</p>
12889 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12890 <!-- end of entry -->
12893 <tr class="entry" id="controls_android.request.metadataMode">
12894 <td class="entry_name
12896 android.<wbr/>request.<wbr/>metadata<wbr/>Mode
12898 <td class="entry_type">
12899 <span class="entry_type_name entry_type_name_enum">byte</span>
12901 <span class="entry_type_visibility"> [system]</span>
12907 <ul class="entry_type_enum">
12909 <span class="entry_type_enum_name">NONE</span>
12910 <span class="entry_type_enum_notes"><p>No metadata should be produced on output,<wbr/> except
12911 for application-bound buffer data.<wbr/> If no
12912 application-bound streams exist,<wbr/> no frame should be
12913 placed in the output frame queue.<wbr/> If such streams
12914 exist,<wbr/> a frame should be placed on the output queue
12915 with null metadata but with the necessary output buffer
12916 information.<wbr/> Timestamp information should still be
12917 included with any output stream buffers</p></span>
12920 <span class="entry_type_enum_name">FULL</span>
12921 <span class="entry_type_enum_notes"><p>All metadata should be produced.<wbr/> Statistics will
12922 only be produced if they are separately
12927 </td> <!-- entry_type -->
12929 <td class="entry_description">
12930 <p>How much metadata to produce on
12934 <td class="entry_units">
12937 <td class="entry_range">
12940 <td class="entry_tags">
12941 <ul class="entry_tags">
12942 <li><a href="#tag_FUTURE">FUTURE</a></li>
12949 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
12950 <!-- end of entry -->
12953 <tr class="entry" id="controls_android.request.outputStreams">
12954 <td class="entry_name
12955 entry_name_deprecated
12957 android.<wbr/>request.<wbr/>output<wbr/>Streams
12959 <td class="entry_type">
12960 <span class="entry_type_name">int32</span>
12961 <span class="entry_type_container">x</span>
12963 <span class="entry_type_array">
12966 <span class="entry_type_visibility"> [system]</span>
12970 <span class="entry_type_deprecated">[deprecated] </span>
12974 </td> <!-- entry_type -->
12976 <td class="entry_description">
12977 <p>Lists which camera output streams image data
12978 from this capture must be sent to</p>
12981 <td class="entry_units">
12982 List of camera stream IDs
12985 <td class="entry_range">
12986 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
12987 <p>List must only include streams that have been
12991 <td class="entry_tags">
12992 <ul class="entry_tags">
12993 <li><a href="#tag_HAL2">HAL2</a></li>
12998 <tr class="entries_header">
12999 <th class="th_details" colspan="5">Details</th>
13001 <tr class="entry_cont">
13002 <td class="entry_details" colspan="5">
13003 <p>If no output streams are listed,<wbr/> then the image
13004 data should simply be discarded.<wbr/> The image data must
13005 still be captured for metadata and statistics production,<wbr/>
13006 and the lens and flash must operate as requested.<wbr/></p>
13011 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13012 <!-- end of entry -->
13015 <tr class="entry" id="controls_android.request.type">
13016 <td class="entry_name
13017 entry_name_deprecated
13019 android.<wbr/>request.<wbr/>type
13021 <td class="entry_type">
13022 <span class="entry_type_name entry_type_name_enum">byte</span>
13024 <span class="entry_type_visibility"> [system]</span>
13028 <span class="entry_type_deprecated">[deprecated] </span>
13031 <ul class="entry_type_enum">
13033 <span class="entry_type_enum_name">CAPTURE</span>
13034 <span class="entry_type_enum_notes"><p>Capture a new image from the imaging hardware,<wbr/>
13035 and process it according to the
13036 settings</p></span>
13039 <span class="entry_type_enum_name">REPROCESS</span>
13040 <span class="entry_type_enum_notes"><p>Process previously captured data; the
13041 <a href="#controls_android.request.inputStreams">android.<wbr/>request.<wbr/>input<wbr/>Streams</a> parameter determines the
13042 source reprocessing stream.<wbr/> TODO: Mark dynamic metadata
13043 needed for reprocessing with [RP]</p></span>
13047 </td> <!-- entry_type -->
13049 <td class="entry_description">
13050 <p>The type of the request; either CAPTURE or
13051 REPROCESS.<wbr/> For HAL3,<wbr/> this tag is redundant.<wbr/></p>
13054 <td class="entry_units">
13057 <td class="entry_range">
13058 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
13061 <td class="entry_tags">
13062 <ul class="entry_tags">
13063 <li><a href="#tag_HAL2">HAL2</a></li>
13070 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13071 <!-- end of entry -->
13075 <!-- end of kind -->
13077 <tr><td colspan="6" class="kind">static</td></tr>
13079 <thead class="entries_header">
13081 <th class="th_name">Property Name</th>
13082 <th class="th_type">Type</th>
13083 <th class="th_description">Description</th>
13084 <th class="th_units">Units</th>
13085 <th class="th_range">Range</th>
13086 <th class="th_tags">Tags</th>
13101 <tr class="entry" id="static_android.request.maxNumOutputStreams">
13102 <td class="entry_name
13104 android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Output<wbr/>Streams
13106 <td class="entry_type">
13107 <span class="entry_type_name">int32</span>
13108 <span class="entry_type_container">x</span>
13110 <span class="entry_type_array">
13113 <span class="entry_type_visibility"> [hidden]</span>
13116 <span class="entry_type_hwlevel">[legacy] </span>
13121 </td> <!-- entry_type -->
13123 <td class="entry_description">
13124 <p>The maximum numbers of different types of output streams
13125 that can be configured and used simultaneously by a camera device.<wbr/></p>
13128 <td class="entry_units">
13131 <td class="entry_range">
13132 <p>For processed (and stalling) format streams,<wbr/> >= 1.<wbr/></p>
13133 <p>For Raw format (either stalling or non-stalling) streams,<wbr/> >= 0.<wbr/></p>
13134 <p>For processed (but not stalling) format streams,<wbr/> >= 3
13135 for FULL mode devices (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == FULL</code>);
13136 >= 2 for LIMITED mode devices (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == LIMITED</code>).<wbr/></p>
13139 <td class="entry_tags">
13140 <ul class="entry_tags">
13141 <li><a href="#tag_BC">BC</a></li>
13146 <tr class="entries_header">
13147 <th class="th_details" colspan="5">Details</th>
13149 <tr class="entry_cont">
13150 <td class="entry_details" colspan="5">
13151 <p>This is a 3 element tuple that contains the max number of output simultaneous
13152 streams for raw sensor,<wbr/> processed (but not stalling),<wbr/> and processed (and stalling)
13153 formats respectively.<wbr/> For example,<wbr/> assuming that JPEG is typically a processed and
13154 stalling stream,<wbr/> if max raw sensor format output stream number is 1,<wbr/> max YUV streams
13155 number is 3,<wbr/> and max JPEG stream number is 2,<wbr/> then this tuple should be <code>(1,<wbr/> 3,<wbr/> 2)</code>.<wbr/></p>
13156 <p>This lists the upper bound of the number of output streams supported by
13157 the camera device.<wbr/> Using more streams simultaneously may require more hardware and
13158 CPU resources that will consume more power.<wbr/> The image format for an output stream can
13159 be any supported format provided by <a href="#static_android.scaler.availableStreamConfigurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stream<wbr/>Configurations</a>.<wbr/>
13160 The formats defined in <a href="#static_android.scaler.availableStreamConfigurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stream<wbr/>Configurations</a> can be catergorized
13161 into the 3 stream types as below:</p>
13163 <li>Processed (but stalling): any non-RAW format with a stallDurations > 0.<wbr/>
13164 Typically JPEG format (ImageFormat#JPEG).<wbr/></li>
13165 <li>Raw formats: ImageFormat#RAW_<wbr/>SENSOR,<wbr/> ImageFormat#RAW10 and ImageFormat#RAW_<wbr/>OPAQUE.<wbr/></li>
13166 <li>Processed (but not-stalling): any non-RAW format without a stall duration.<wbr/>
13167 Typically Image<wbr/>Format#YUV_<wbr/>420_<wbr/>888,<wbr/> ImageFormat#NV21,<wbr/> ImageFormat#YV12.<wbr/></li>
13173 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13174 <!-- end of entry -->
13177 <tr class="entry" id="static_android.request.maxNumOutputRaw">
13178 <td class="entry_name
13180 android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Output<wbr/>Raw
13182 <td class="entry_type">
13183 <span class="entry_type_name">int32</span>
13185 <span class="entry_type_visibility"> [public]</span>
13187 <span class="entry_type_synthetic">[synthetic] </span>
13189 <span class="entry_type_hwlevel">[legacy] </span>
13194 </td> <!-- entry_type -->
13196 <td class="entry_description">
13197 <p>The maximum numbers of different types of output streams
13198 that can be configured and used simultaneously by a camera device
13199 for any <code>RAW</code> formats.<wbr/></p>
13202 <td class="entry_units">
13205 <td class="entry_range">
13209 <td class="entry_tags">
13213 <tr class="entries_header">
13214 <th class="th_details" colspan="5">Details</th>
13216 <tr class="entry_cont">
13217 <td class="entry_details" colspan="5">
13218 <p>This value contains the max number of output simultaneous
13219 streams from the raw sensor.<wbr/></p>
13220 <p>This lists the upper bound of the number of output streams supported by
13221 the camera device.<wbr/> Using more streams simultaneously may require more hardware and
13222 CPU resources that will consume more power.<wbr/> The image format for this kind of an output stream can
13223 be any <code>RAW</code> and supported format provided by <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a>.<wbr/></p>
13224 <p>In particular,<wbr/> a <code>RAW</code> format is typically one of:</p>
13226 <li>ImageFormat#RAW_<wbr/>SENSOR</li>
13227 <li>ImageFormat#RAW10</li>
13228 <li>Opaque <code>RAW</code></li>
13230 <p>LEGACY mode devices (<a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> <code>==</code> LEGACY)
13231 never support raw streams.<wbr/></p>
13236 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13237 <!-- end of entry -->
13240 <tr class="entry" id="static_android.request.maxNumOutputProc">
13241 <td class="entry_name
13243 android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Output<wbr/>Proc
13245 <td class="entry_type">
13246 <span class="entry_type_name">int32</span>
13248 <span class="entry_type_visibility"> [public]</span>
13250 <span class="entry_type_synthetic">[synthetic] </span>
13252 <span class="entry_type_hwlevel">[legacy] </span>
13257 </td> <!-- entry_type -->
13259 <td class="entry_description">
13260 <p>The maximum numbers of different types of output streams
13261 that can be configured and used simultaneously by a camera device
13262 for any processed (but not-stalling) formats.<wbr/></p>
13265 <td class="entry_units">
13268 <td class="entry_range">
13270 for FULL mode devices (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == FULL</code>);
13271 >= 2 for LIMITED mode devices (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == LIMITED</code>).<wbr/></p>
13274 <td class="entry_tags">
13278 <tr class="entries_header">
13279 <th class="th_details" colspan="5">Details</th>
13281 <tr class="entry_cont">
13282 <td class="entry_details" colspan="5">
13283 <p>This value contains the max number of output simultaneous
13284 streams for any processed (but not-stalling) formats.<wbr/></p>
13285 <p>This lists the upper bound of the number of output streams supported by
13286 the camera device.<wbr/> Using more streams simultaneously may require more hardware and
13287 CPU resources that will consume more power.<wbr/> The image format for this kind of an output stream can
13288 be any non-<code>RAW</code> and supported format provided by <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a>.<wbr/></p>
13289 <p>Processed (but not-stalling) is defined as any non-RAW format without a stall duration.<wbr/>
13292 <li>Image<wbr/>Format#YUV_<wbr/>420_<wbr/>888</li>
13293 <li>ImageFormat#NV21</li>
13294 <li>ImageFormat#YV12</li>
13295 <li>Implementation-defined formats,<wbr/> i.<wbr/>e.<wbr/> StreamConfiguration#isOutputSupportedFor(Class)</li>
13297 <p>For full guarantees,<wbr/> query StreamConfigurationMap#getOutputStallDuration with
13298 a processed format -- it will return 0 for a non-stalling stream.<wbr/></p>
13299 <p>LEGACY devices will support at least 2 processing/<wbr/>non-stalling streams.<wbr/></p>
13304 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13305 <!-- end of entry -->
13308 <tr class="entry" id="static_android.request.maxNumOutputProcStalling">
13309 <td class="entry_name
13311 android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Output<wbr/>Proc<wbr/>Stalling
13313 <td class="entry_type">
13314 <span class="entry_type_name">int32</span>
13316 <span class="entry_type_visibility"> [public]</span>
13318 <span class="entry_type_synthetic">[synthetic] </span>
13320 <span class="entry_type_hwlevel">[legacy] </span>
13325 </td> <!-- entry_type -->
13327 <td class="entry_description">
13328 <p>The maximum numbers of different types of output streams
13329 that can be configured and used simultaneously by a camera device
13330 for any processed (and stalling) formats.<wbr/></p>
13333 <td class="entry_units">
13336 <td class="entry_range">
13340 <td class="entry_tags">
13344 <tr class="entries_header">
13345 <th class="th_details" colspan="5">Details</th>
13347 <tr class="entry_cont">
13348 <td class="entry_details" colspan="5">
13349 <p>This value contains the max number of output simultaneous
13350 streams for any processed (but not-stalling) formats.<wbr/></p>
13351 <p>This lists the upper bound of the number of output streams supported by
13352 the camera device.<wbr/> Using more streams simultaneously may require more hardware and
13353 CPU resources that will consume more power.<wbr/> The image format for this kind of an output stream can
13354 be any non-<code>RAW</code> and supported format provided by <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a>.<wbr/></p>
13355 <p>A processed and stalling format is defined as any non-RAW format with a stallDurations > 0.<wbr/>
13356 Typically only the <code>JPEG</code> format (ImageFormat#JPEG) is a stalling format.<wbr/></p>
13357 <p>For full guarantees,<wbr/> query StreamConfigurationMap#getOutputStallDuration with
13358 a processed format -- it will return a non-0 value for a stalling stream.<wbr/></p>
13359 <p>LEGACY devices will support up to 1 processing/<wbr/>stalling stream.<wbr/></p>
13364 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13365 <!-- end of entry -->
13368 <tr class="entry" id="static_android.request.maxNumReprocessStreams">
13369 <td class="entry_name
13370 entry_name_deprecated
13372 android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Reprocess<wbr/>Streams
13374 <td class="entry_type">
13375 <span class="entry_type_name">int32</span>
13376 <span class="entry_type_container">x</span>
13378 <span class="entry_type_array">
13381 <span class="entry_type_visibility"> [system]</span>
13385 <span class="entry_type_deprecated">[deprecated] </span>
13389 </td> <!-- entry_type -->
13391 <td class="entry_description">
13392 <p>How many reprocessing streams of any type
13393 can be allocated at the same time.<wbr/></p>
13396 <td class="entry_units">
13399 <td class="entry_range">
13400 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
13404 <td class="entry_tags">
13405 <ul class="entry_tags">
13406 <li><a href="#tag_HAL2">HAL2</a></li>
13411 <tr class="entries_header">
13412 <th class="th_details" colspan="5">Details</th>
13414 <tr class="entry_cont">
13415 <td class="entry_details" colspan="5">
13416 <p>Only used by HAL2.<wbr/>x.<wbr/></p>
13417 <p>When set to 0,<wbr/> it means no reprocess stream is supported.<wbr/></p>
13422 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13423 <!-- end of entry -->
13426 <tr class="entry" id="static_android.request.maxNumInputStreams">
13427 <td class="entry_name
13429 android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Input<wbr/>Streams
13431 <td class="entry_type">
13432 <span class="entry_type_name">int32</span>
13434 <span class="entry_type_visibility"> [hidden]</span>
13437 <span class="entry_type_hwlevel">[full] </span>
13442 </td> <!-- entry_type -->
13444 <td class="entry_description">
13445 <p>The maximum numbers of any type of input streams
13446 that can be configured and used simultaneously by a camera device.<wbr/></p>
13449 <td class="entry_units">
13452 <td class="entry_range">
13453 <p>0 or 1.<wbr/></p>
13456 <td class="entry_tags">
13460 <tr class="entries_header">
13461 <th class="th_details" colspan="5">Details</th>
13463 <tr class="entry_cont">
13464 <td class="entry_details" colspan="5">
13465 <p>When set to 0,<wbr/> it means no input stream is supported.<wbr/></p>
13466 <p>The image format for a input stream can be any supported
13468 <a href="#static_android.scaler.availableInputOutputFormatsMap">android.<wbr/>scaler.<wbr/>available<wbr/>Input<wbr/>Output<wbr/>Formats<wbr/>Map</a>.<wbr/> When using an
13469 input stream,<wbr/> there must be at least one output stream
13470 configured to to receive the reprocessed images.<wbr/></p>
13471 <p>For example,<wbr/> for Zero Shutter Lag (ZSL) still capture use case,<wbr/> the input
13472 stream image format will be RAW_<wbr/>OPAQUE,<wbr/> the associated output stream image format
13473 should be JPEG.<wbr/></p>
13478 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13479 <!-- end of entry -->
13482 <tr class="entry" id="static_android.request.pipelineMaxDepth">
13483 <td class="entry_name
13485 android.<wbr/>request.<wbr/>pipeline<wbr/>Max<wbr/>Depth
13487 <td class="entry_type">
13488 <span class="entry_type_name">byte</span>
13490 <span class="entry_type_visibility"> [public]</span>
13493 <span class="entry_type_hwlevel">[legacy] </span>
13498 </td> <!-- entry_type -->
13500 <td class="entry_description">
13501 <p>Specifies the number of maximum pipeline stages a frame
13502 has to go through from when it's exposed to when it's available
13503 to the framework.<wbr/></p>
13506 <td class="entry_units">
13509 <td class="entry_range">
13512 <td class="entry_tags">
13516 <tr class="entries_header">
13517 <th class="th_details" colspan="5">Details</th>
13519 <tr class="entry_cont">
13520 <td class="entry_details" colspan="5">
13521 <p>A typical minimum value for this is 2 (one stage to expose,<wbr/>
13522 one stage to readout) from the sensor.<wbr/> The ISP then usually adds
13523 its own stages to do custom HW processing.<wbr/> Further stages may be
13524 added by SW processing.<wbr/></p>
13525 <p>Depending on what settings are used (e.<wbr/>g.<wbr/> YUV,<wbr/> JPEG) and what
13526 processing is enabled (e.<wbr/>g.<wbr/> face detection),<wbr/> the actual pipeline
13527 depth (specified by <a href="#dynamic_android.request.pipelineDepth">android.<wbr/>request.<wbr/>pipeline<wbr/>Depth</a>) may be less than
13528 the max pipeline depth.<wbr/></p>
13529 <p>A pipeline depth of X stages is equivalent to a pipeline latency of
13530 X frame intervals.<wbr/></p>
13531 <p>This value will be 8 or less.<wbr/></p>
13535 <tr class="entries_header">
13536 <th class="th_details" colspan="5">HAL Implementation Details</th>
13538 <tr class="entry_cont">
13539 <td class="entry_details" colspan="5">
13540 <p>This value should be 4 or less.<wbr/></p>
13544 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13545 <!-- end of entry -->
13548 <tr class="entry" id="static_android.request.partialResultCount">
13549 <td class="entry_name
13551 android.<wbr/>request.<wbr/>partial<wbr/>Result<wbr/>Count
13553 <td class="entry_type">
13554 <span class="entry_type_name">int32</span>
13556 <span class="entry_type_visibility"> [public]</span>
13563 </td> <!-- entry_type -->
13565 <td class="entry_description">
13566 <p>Defines how many sub-components
13567 a result will be composed of.<wbr/></p>
13570 <td class="entry_units">
13573 <td class="entry_range">
13577 <td class="entry_tags">
13581 <tr class="entries_header">
13582 <th class="th_details" colspan="5">Details</th>
13584 <tr class="entry_cont">
13585 <td class="entry_details" colspan="5">
13586 <p>In order to combat the pipeline latency,<wbr/> partial results
13587 may be delivered to the application layer from the camera device as
13588 soon as they are available.<wbr/></p>
13589 <p>Optional; defaults to 1.<wbr/> A value of 1 means that partial
13590 results are not supported,<wbr/> and only the final TotalCaptureResult will
13591 be produced by the camera device.<wbr/></p>
13592 <p>A typical use case for this might be: after requesting an
13593 auto-focus (AF) lock the new AF state might be available 50%
13594 of the way through the pipeline.<wbr/> The camera device could
13595 then immediately dispatch this state via a partial result to
13596 the application,<wbr/> and the rest of the metadata via later
13597 partial results.<wbr/></p>
13602 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13603 <!-- end of entry -->
13606 <tr class="entry" id="static_android.request.availableCapabilities">
13607 <td class="entry_name
13609 android.<wbr/>request.<wbr/>available<wbr/>Capabilities
13611 <td class="entry_type">
13612 <span class="entry_type_name entry_type_name_enum">byte</span>
13613 <span class="entry_type_container">x</span>
13615 <span class="entry_type_array">
13618 <span class="entry_type_visibility"> [public]</span>
13621 <span class="entry_type_hwlevel">[legacy] </span>
13625 <ul class="entry_type_enum">
13627 <span class="entry_type_enum_name">BACKWARD_COMPATIBLE</span>
13628 <span class="entry_type_enum_notes"><p>The minimal set of capabilities that every camera
13629 device (regardless of <a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a>)
13630 supports.<wbr/></p>
13631 <p>This capability is listed by all devices,<wbr/> and
13632 indicates that the camera device has a feature set
13633 that's comparable to the baseline requirements for the
13634 older android.<wbr/>hardware.<wbr/>Camera API.<wbr/></p></span>
13637 <span class="entry_type_enum_name">MANUAL_SENSOR</span>
13638 <span class="entry_type_enum_optional">[optional]</span>
13639 <span class="entry_type_enum_notes"><p>The camera device can be manually controlled (3A algorithms such
13640 as auto-exposure,<wbr/> and auto-focus can be bypassed).<wbr/>
13641 The camera device supports basic manual control of the sensor image
13642 acquisition related stages.<wbr/> This means the following controls are
13643 guaranteed to be supported:</p>
13645 <li>Manual frame duration control<ul>
13646 <li><a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a></li>
13647 <li><a href="#static_android.sensor.info.maxFrameDuration">android.<wbr/>sensor.<wbr/>info.<wbr/>max<wbr/>Frame<wbr/>Duration</a></li>
13650 <li>Manual exposure control<ul>
13651 <li><a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a></li>
13652 <li><a href="#static_android.sensor.info.exposureTimeRange">android.<wbr/>sensor.<wbr/>info.<wbr/>exposure<wbr/>Time<wbr/>Range</a></li>
13655 <li>Manual sensitivity control<ul>
13656 <li><a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a></li>
13657 <li><a href="#static_android.sensor.info.sensitivityRange">android.<wbr/>sensor.<wbr/>info.<wbr/>sensitivity<wbr/>Range</a></li>
13660 <li>Manual lens control (if the lens is adjustable)<ul>
13661 <li>android.<wbr/>lens.<wbr/>*</li>
13664 <li>Manual flash control (if a flash unit is present)<ul>
13665 <li>android.<wbr/>flash.<wbr/>*</li>
13668 <li>Manual black level locking<ul>
13669 <li><a href="#controls_android.blackLevel.lock">android.<wbr/>black<wbr/>Level.<wbr/>lock</a></li>
13673 <p>If any of the above 3A algorithms are enabled,<wbr/> then the camera
13674 device will accurately report the values applied by 3A in the
13676 <p>A given camera device may also support additional manual sensor controls,<wbr/>
13677 but this capability only covers the above list of controls.<wbr/></p>
13678 <p>If this is supported,<wbr/> <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a> will
13679 additionally return a min frame duration that is greater than
13680 zero for each supported size-format combination.<wbr/></p></span>
13683 <span class="entry_type_enum_name">MANUAL_POST_PROCESSING</span>
13684 <span class="entry_type_enum_optional">[optional]</span>
13685 <span class="entry_type_enum_notes"><p>The camera device post-processing stages can be manually controlled.<wbr/>
13686 The camera device supports basic manual control of the image post-processing
13687 stages.<wbr/> This means the following controls are guaranteed to be supported:</p>
13689 <li>Manual tonemap control<ul>
13690 <li><a href="#controls_android.tonemap.curve">android.<wbr/>tonemap.<wbr/>curve</a></li>
13691 <li><a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a></li>
13692 <li><a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a></li>
13695 <li>Manual white balance control<ul>
13696 <li><a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a></li>
13697 <li><a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a></li>
13700 <li>Manual lens shading map control<ul>
13701 <li><a href="#controls_android.shading.mode">android.<wbr/>shading.<wbr/>mode</a></li>
13702 <li><a href="#controls_android.statistics.lensShadingMapMode">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map<wbr/>Mode</a></li>
13703 <li><a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a></li>
13704 <li><a href="#static_android.lens.info.shadingMapSize">android.<wbr/>lens.<wbr/>info.<wbr/>shading<wbr/>Map<wbr/>Size</a></li>
13707 <li>Manual aberration correction control (if aberration correction is supported)<ul>
13708 <li><a href="#controls_android.colorCorrection.aberrationMode">android.<wbr/>color<wbr/>Correction.<wbr/>aberration<wbr/>Mode</a></li>
13709 <li><a href="#static_android.colorCorrection.availableAberrationModes">android.<wbr/>color<wbr/>Correction.<wbr/>available<wbr/>Aberration<wbr/>Modes</a></li>
13713 <p>If auto white balance is enabled,<wbr/> then the camera device
13714 will accurately report the values applied by AWB in the result.<wbr/></p>
13715 <p>A given camera device may also support additional post-processing
13716 controls,<wbr/> but this capability only covers the above list of controls.<wbr/></p></span>
13719 <span class="entry_type_enum_name">RAW</span>
13720 <span class="entry_type_enum_optional">[optional]</span>
13721 <span class="entry_type_enum_notes"><p>The camera device supports outputting RAW buffers and
13722 metadata for interpreting them.<wbr/></p>
13723 <p>Devices supporting the RAW capability allow both for
13724 saving DNG files,<wbr/> and for direct application processing of
13725 raw sensor images.<wbr/></p>
13727 <li>RAW_<wbr/>SENSOR is supported as an output format.<wbr/></li>
13728 <li>The maximum available resolution for RAW_<wbr/>SENSOR streams
13729 will match either the value in
13730 <a href="#static_android.sensor.info.pixelArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>pixel<wbr/>Array<wbr/>Size</a> or
13731 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/></li>
13732 <li>All DNG-related optional metadata entries are provided
13733 by the camera device.<wbr/></li>
13737 <span class="entry_type_enum_name">ZSL</span>
13738 <span class="entry_type_enum_optional">[optional]</span>
13739 <span class="entry_type_enum_optional">[hidden]</span>
13740 <span class="entry_type_enum_notes"><p>The camera device supports the Zero Shutter Lag use case.<wbr/></p>
13742 <li>At least one input stream can be used.<wbr/></li>
13743 <li>RAW_<wbr/>OPAQUE is supported as an output/<wbr/>input format</li>
13744 <li>Using RAW_<wbr/>OPAQUE does not cause a frame rate drop
13745 relative to the sensor's maximum capture rate (at that
13746 resolution).<wbr/></li>
13747 <li>RAW_<wbr/>OPAQUE will be reprocessable into both YUV_<wbr/>420_<wbr/>888
13748 and JPEG formats.<wbr/></li>
13749 <li>The maximum available resolution for RAW_<wbr/>OPAQUE streams
13750 (both input/<wbr/>output) will match the maximum available
13751 resolution of JPEG streams.<wbr/></li>
13756 </td> <!-- entry_type -->
13758 <td class="entry_description">
13759 <p>List of capabilities that this camera device
13760 advertises as fully supporting.<wbr/></p>
13763 <td class="entry_units">
13766 <td class="entry_range">
13769 <td class="entry_tags">
13773 <tr class="entries_header">
13774 <th class="th_details" colspan="5">Details</th>
13776 <tr class="entry_cont">
13777 <td class="entry_details" colspan="5">
13778 <p>A capability is a contract that the camera device makes in order
13779 to be able to satisfy one or more use cases.<wbr/></p>
13780 <p>Listing a capability guarantees that the whole set of features
13781 required to support a common use will all be available.<wbr/></p>
13782 <p>Using a subset of the functionality provided by an unsupported
13783 capability may be possible on a specific camera device implementation;
13784 to do this query each of <a href="#static_android.request.availableRequestKeys">android.<wbr/>request.<wbr/>available<wbr/>Request<wbr/>Keys</a>,<wbr/>
13785 <a href="#static_android.request.availableResultKeys">android.<wbr/>request.<wbr/>available<wbr/>Result<wbr/>Keys</a>,<wbr/>
13786 <a href="#static_android.request.availableCharacteristicsKeys">android.<wbr/>request.<wbr/>available<wbr/>Characteristics<wbr/>Keys</a>.<wbr/></p>
13787 <p>The following capabilities are guaranteed to be available on
13788 <a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> <code>==</code> FULL devices:</p>
13790 <li>MANUAL_<wbr/>SENSOR</li>
13791 <li>MANUAL_<wbr/>POST_<wbr/>PROCESSING</li>
13793 <p>Other capabilities may be available on either FULL or LIMITED
13794 devices,<wbr/> but the application should query this key to be sure.<wbr/></p>
13798 <tr class="entries_header">
13799 <th class="th_details" colspan="5">HAL Implementation Details</th>
13801 <tr class="entry_cont">
13802 <td class="entry_details" colspan="5">
13803 <p>Additional constraint details per-capability will be available
13804 in the Compatibility Test Suite.<wbr/></p>
13805 <p>Minimum baseline requirements required for the
13806 BACKWARD_<wbr/>COMPATIBLE capability are not explicitly listed.<wbr/>
13807 Instead refer to "BC" tags and the camera CTS tests in the
13808 android.<wbr/>hardware.<wbr/>camera2.<wbr/>cts package.<wbr/></p>
13809 <p>Listed controls that can be either request or result (e.<wbr/>g.<wbr/>
13810 <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>) must be available both in the
13811 request and the result in order to be considered to be
13812 capability-compliant.<wbr/></p>
13813 <p>For example,<wbr/> if the HAL claims to support MANUAL control,<wbr/>
13814 then exposure time must be configurable via the request <em>and</em>
13815 the actual exposure applied must be available via
13816 the result.<wbr/></p>
13817 <p>If MANUAL_<wbr/>SENSOR is omitted,<wbr/> the HAL may choose to omit the
13818 <a href="#static_android.scaler.availableMinFrameDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Min<wbr/>Frame<wbr/>Durations</a> static property entirely.<wbr/></p>
13822 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13823 <!-- end of entry -->
13826 <tr class="entry" id="static_android.request.availableRequestKeys">
13827 <td class="entry_name
13829 android.<wbr/>request.<wbr/>available<wbr/>Request<wbr/>Keys
13831 <td class="entry_type">
13832 <span class="entry_type_name">int32</span>
13833 <span class="entry_type_container">x</span>
13835 <span class="entry_type_array">
13838 <span class="entry_type_visibility"> [hidden]</span>
13841 <span class="entry_type_hwlevel">[legacy] </span>
13846 </td> <!-- entry_type -->
13848 <td class="entry_description">
13849 <p>A list of all keys that the camera device has available
13850 to use with CaptureRequest.<wbr/></p>
13853 <td class="entry_units">
13856 <td class="entry_range">
13859 <td class="entry_tags">
13863 <tr class="entries_header">
13864 <th class="th_details" colspan="5">Details</th>
13866 <tr class="entry_cont">
13867 <td class="entry_details" colspan="5">
13868 <p>Attempting to set a key into a CaptureRequest that is not
13869 listed here will result in an invalid request and will be rejected
13870 by the camera device.<wbr/></p>
13871 <p>This field can be used to query the feature set of a camera device
13872 at a more granular level than capabilities.<wbr/> This is especially
13873 important for optional keys that are not listed under any capability
13874 in <a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a>.<wbr/></p>
13878 <tr class="entries_header">
13879 <th class="th_details" colspan="5">HAL Implementation Details</th>
13881 <tr class="entry_cont">
13882 <td class="entry_details" colspan="5">
13883 <p>Vendor tags must not be listed here.<wbr/> Use the vendor tag metadata
13884 extensions C api instead (refer to camera3.<wbr/>h for more details).<wbr/></p>
13885 <p>Setting/<wbr/>getting vendor tags will be checked against the metadata
13886 vendor extensions API and not against this field.<wbr/></p>
13887 <p>The HAL must not consume any request tags that are not listed either
13888 here or in the vendor tag list.<wbr/></p>
13889 <p>The public camera2 API will always make the vendor tags visible
13890 via CameraCharacteristics#getAvailableCaptureRequestKeys.<wbr/></p>
13894 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13895 <!-- end of entry -->
13898 <tr class="entry" id="static_android.request.availableResultKeys">
13899 <td class="entry_name
13901 android.<wbr/>request.<wbr/>available<wbr/>Result<wbr/>Keys
13903 <td class="entry_type">
13904 <span class="entry_type_name">int32</span>
13905 <span class="entry_type_container">x</span>
13907 <span class="entry_type_array">
13910 <span class="entry_type_visibility"> [hidden]</span>
13913 <span class="entry_type_hwlevel">[legacy] </span>
13918 </td> <!-- entry_type -->
13920 <td class="entry_description">
13921 <p>A list of all keys that the camera device has available
13922 to use with CaptureResult.<wbr/></p>
13925 <td class="entry_units">
13928 <td class="entry_range">
13931 <td class="entry_tags">
13935 <tr class="entries_header">
13936 <th class="th_details" colspan="5">Details</th>
13938 <tr class="entry_cont">
13939 <td class="entry_details" colspan="5">
13940 <p>Attempting to get a key from a CaptureResult that is not
13941 listed here will always return a <code>null</code> value.<wbr/> Getting a key from
13942 a CaptureResult that is listed here will generally never return a <code>null</code>
13944 <p>The following keys may return <code>null</code> unless they are enabled:</p>
13946 <li><a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a> (non-null iff <a href="#controls_android.statistics.lensShadingMapMode">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map<wbr/>Mode</a> == ON)</li>
13948 <p>(Those sometimes-null keys will nevertheless be listed here
13949 if they are available.<wbr/>)</p>
13950 <p>This field can be used to query the feature set of a camera device
13951 at a more granular level than capabilities.<wbr/> This is especially
13952 important for optional keys that are not listed under any capability
13953 in <a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a>.<wbr/></p>
13957 <tr class="entries_header">
13958 <th class="th_details" colspan="5">HAL Implementation Details</th>
13960 <tr class="entry_cont">
13961 <td class="entry_details" colspan="5">
13962 <p>Tags listed here must always have an entry in the result metadata,<wbr/>
13963 even if that size is 0 elements.<wbr/> Only array-type tags (e.<wbr/>g.<wbr/> lists,<wbr/>
13964 matrices,<wbr/> strings) are allowed to have 0 elements.<wbr/></p>
13965 <p>Vendor tags must not be listed here.<wbr/> Use the vendor tag metadata
13966 extensions C api instead (refer to camera3.<wbr/>h for more details).<wbr/></p>
13967 <p>Setting/<wbr/>getting vendor tags will be checked against the metadata
13968 vendor extensions API and not against this field.<wbr/></p>
13969 <p>The HAL must not produce any result tags that are not listed either
13970 here or in the vendor tag list.<wbr/></p>
13971 <p>The public camera2 API will always make the vendor tags visible
13972 via CameraCharacteristics#getAvailableCaptureResultKeys.<wbr/></p>
13976 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
13977 <!-- end of entry -->
13980 <tr class="entry" id="static_android.request.availableCharacteristicsKeys">
13981 <td class="entry_name
13983 android.<wbr/>request.<wbr/>available<wbr/>Characteristics<wbr/>Keys
13985 <td class="entry_type">
13986 <span class="entry_type_name">int32</span>
13987 <span class="entry_type_container">x</span>
13989 <span class="entry_type_array">
13992 <span class="entry_type_visibility"> [hidden]</span>
13995 <span class="entry_type_hwlevel">[legacy] </span>
14000 </td> <!-- entry_type -->
14002 <td class="entry_description">
14003 <p>A list of all keys that the camera device has available
14004 to use with CameraCharacteristics.<wbr/></p>
14007 <td class="entry_units">
14010 <td class="entry_range">
14013 <td class="entry_tags">
14017 <tr class="entries_header">
14018 <th class="th_details" colspan="5">Details</th>
14020 <tr class="entry_cont">
14021 <td class="entry_details" colspan="5">
14022 <p>This entry follows the same rules as
14023 <a href="#static_android.request.availableResultKeys">android.<wbr/>request.<wbr/>available<wbr/>Result<wbr/>Keys</a> (except that it applies for
14024 CameraCharacteristics instead of CaptureResult).<wbr/> See above for more
14029 <tr class="entries_header">
14030 <th class="th_details" colspan="5">HAL Implementation Details</th>
14032 <tr class="entry_cont">
14033 <td class="entry_details" colspan="5">
14034 <p>Keys listed here must always have an entry in the static info metadata,<wbr/>
14035 even if that size is 0 elements.<wbr/> Only array-type tags (e.<wbr/>g.<wbr/> lists,<wbr/>
14036 matrices,<wbr/> strings) are allowed to have 0 elements.<wbr/></p>
14037 <p>Vendor tags must not be listed here.<wbr/> Use the vendor tag metadata
14038 extensions C api instead (refer to camera3.<wbr/>h for more details).<wbr/></p>
14039 <p>Setting/<wbr/>getting vendor tags will be checked against the metadata
14040 vendor extensions API and not against this field.<wbr/></p>
14041 <p>The HAL must not have any tags in its static info that are not listed
14042 either here or in the vendor tag list.<wbr/></p>
14043 <p>The public camera2 API will always make the vendor tags visible
14044 via CameraCharacteristics#getKeys.<wbr/></p>
14048 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14049 <!-- end of entry -->
14053 <!-- end of kind -->
14055 <tr><td colspan="6" class="kind">dynamic</td></tr>
14057 <thead class="entries_header">
14059 <th class="th_name">Property Name</th>
14060 <th class="th_type">Type</th>
14061 <th class="th_description">Description</th>
14062 <th class="th_units">Units</th>
14063 <th class="th_range">Range</th>
14064 <th class="th_tags">Tags</th>
14079 <tr class="entry" id="dynamic_android.request.frameCount">
14080 <td class="entry_name
14081 entry_name_deprecated
14083 android.<wbr/>request.<wbr/>frame<wbr/>Count
14085 <td class="entry_type">
14086 <span class="entry_type_name">int32</span>
14088 <span class="entry_type_visibility"> [hidden]</span>
14092 <span class="entry_type_deprecated">[deprecated] </span>
14096 </td> <!-- entry_type -->
14098 <td class="entry_description">
14099 <p>A frame counter set by the framework.<wbr/> This value monotonically
14100 increases with every new result (that is,<wbr/> each new result has a unique
14101 frameCount value).<wbr/></p>
14104 <td class="entry_units">
14108 <td class="entry_range">
14109 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
14113 <td class="entry_tags">
14117 <tr class="entries_header">
14118 <th class="th_details" colspan="5">Details</th>
14120 <tr class="entry_cont">
14121 <td class="entry_details" colspan="5">
14122 <p>Reset on release()</p>
14127 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14128 <!-- end of entry -->
14131 <tr class="entry" id="dynamic_android.request.id">
14132 <td class="entry_name
14134 android.<wbr/>request.<wbr/>id
14136 <td class="entry_type">
14137 <span class="entry_type_name">int32</span>
14139 <span class="entry_type_visibility"> [hidden]</span>
14146 </td> <!-- entry_type -->
14148 <td class="entry_description">
14149 <p>An application-specified ID for the current
14150 request.<wbr/> Must be maintained unchanged in output
14154 <td class="entry_units">
14155 arbitrary integer assigned by application
14158 <td class="entry_range">
14162 <td class="entry_tags">
14163 <ul class="entry_tags">
14164 <li><a href="#tag_V1">V1</a></li>
14171 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14172 <!-- end of entry -->
14175 <tr class="entry" id="dynamic_android.request.metadataMode">
14176 <td class="entry_name
14178 android.<wbr/>request.<wbr/>metadata<wbr/>Mode
14180 <td class="entry_type">
14181 <span class="entry_type_name entry_type_name_enum">byte</span>
14183 <span class="entry_type_visibility"> [system]</span>
14189 <ul class="entry_type_enum">
14191 <span class="entry_type_enum_name">NONE</span>
14192 <span class="entry_type_enum_notes"><p>No metadata should be produced on output,<wbr/> except
14193 for application-bound buffer data.<wbr/> If no
14194 application-bound streams exist,<wbr/> no frame should be
14195 placed in the output frame queue.<wbr/> If such streams
14196 exist,<wbr/> a frame should be placed on the output queue
14197 with null metadata but with the necessary output buffer
14198 information.<wbr/> Timestamp information should still be
14199 included with any output stream buffers</p></span>
14202 <span class="entry_type_enum_name">FULL</span>
14203 <span class="entry_type_enum_notes"><p>All metadata should be produced.<wbr/> Statistics will
14204 only be produced if they are separately
14209 </td> <!-- entry_type -->
14211 <td class="entry_description">
14212 <p>How much metadata to produce on
14216 <td class="entry_units">
14219 <td class="entry_range">
14222 <td class="entry_tags">
14223 <ul class="entry_tags">
14224 <li><a href="#tag_FUTURE">FUTURE</a></li>
14231 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14232 <!-- end of entry -->
14235 <tr class="entry" id="dynamic_android.request.outputStreams">
14236 <td class="entry_name
14237 entry_name_deprecated
14239 android.<wbr/>request.<wbr/>output<wbr/>Streams
14241 <td class="entry_type">
14242 <span class="entry_type_name">int32</span>
14243 <span class="entry_type_container">x</span>
14245 <span class="entry_type_array">
14248 <span class="entry_type_visibility"> [system]</span>
14252 <span class="entry_type_deprecated">[deprecated] </span>
14256 </td> <!-- entry_type -->
14258 <td class="entry_description">
14259 <p>Lists which camera output streams image data
14260 from this capture must be sent to</p>
14263 <td class="entry_units">
14264 List of camera stream IDs
14267 <td class="entry_range">
14268 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
14269 <p>List must only include streams that have been
14273 <td class="entry_tags">
14274 <ul class="entry_tags">
14275 <li><a href="#tag_HAL2">HAL2</a></li>
14280 <tr class="entries_header">
14281 <th class="th_details" colspan="5">Details</th>
14283 <tr class="entry_cont">
14284 <td class="entry_details" colspan="5">
14285 <p>If no output streams are listed,<wbr/> then the image
14286 data should simply be discarded.<wbr/> The image data must
14287 still be captured for metadata and statistics production,<wbr/>
14288 and the lens and flash must operate as requested.<wbr/></p>
14293 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14294 <!-- end of entry -->
14297 <tr class="entry" id="dynamic_android.request.pipelineDepth">
14298 <td class="entry_name
14300 android.<wbr/>request.<wbr/>pipeline<wbr/>Depth
14302 <td class="entry_type">
14303 <span class="entry_type_name">byte</span>
14305 <span class="entry_type_visibility"> [public]</span>
14308 <span class="entry_type_hwlevel">[legacy] </span>
14313 </td> <!-- entry_type -->
14315 <td class="entry_description">
14316 <p>Specifies the number of pipeline stages the frame went
14317 through from when it was exposed to when the final completed result
14318 was available to the framework.<wbr/></p>
14321 <td class="entry_units">
14324 <td class="entry_range">
14325 <p><= <a href="#static_android.request.pipelineMaxDepth">android.<wbr/>request.<wbr/>pipeline<wbr/>Max<wbr/>Depth</a></p>
14328 <td class="entry_tags">
14332 <tr class="entries_header">
14333 <th class="th_details" colspan="5">Details</th>
14335 <tr class="entry_cont">
14336 <td class="entry_details" colspan="5">
14337 <p>Depending on what settings are used in the request,<wbr/> and
14338 what streams are configured,<wbr/> the data may undergo less processing,<wbr/>
14339 and some pipeline stages skipped.<wbr/></p>
14340 <p>See <a href="#static_android.request.pipelineMaxDepth">android.<wbr/>request.<wbr/>pipeline<wbr/>Max<wbr/>Depth</a> for more details.<wbr/></p>
14344 <tr class="entries_header">
14345 <th class="th_details" colspan="5">HAL Implementation Details</th>
14347 <tr class="entry_cont">
14348 <td class="entry_details" colspan="5">
14349 <p>This value must always represent the accurate count of how many
14350 pipeline stages were actually used.<wbr/></p>
14354 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14355 <!-- end of entry -->
14359 <!-- end of kind -->
14362 <!-- end of section -->
14363 <tr><td colspan="6" id="section_scaler" class="section">scaler</td></tr>
14366 <tr><td colspan="6" class="kind">controls</td></tr>
14368 <thead class="entries_header">
14370 <th class="th_name">Property Name</th>
14371 <th class="th_type">Type</th>
14372 <th class="th_description">Description</th>
14373 <th class="th_units">Units</th>
14374 <th class="th_range">Range</th>
14375 <th class="th_tags">Tags</th>
14390 <tr class="entry" id="controls_android.scaler.cropRegion">
14391 <td class="entry_name
14393 android.<wbr/>scaler.<wbr/>crop<wbr/>Region
14395 <td class="entry_type">
14396 <span class="entry_type_name">int32</span>
14397 <span class="entry_type_container">x</span>
14399 <span class="entry_type_array">
14402 <span class="entry_type_visibility"> [public as rectangle]</span>
14405 <span class="entry_type_hwlevel">[legacy] </span>
14410 </td> <!-- entry_type -->
14412 <td class="entry_description">
14413 <p>The desired region of the sensor to read out for this capture.<wbr/></p>
14416 <td class="entry_units">
14417 Pixel coordinates relative to
14418 android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size
14421 <td class="entry_range">
14424 <td class="entry_tags">
14425 <ul class="entry_tags">
14426 <li><a href="#tag_BC">BC</a></li>
14431 <tr class="entries_header">
14432 <th class="th_details" colspan="5">Details</th>
14434 <tr class="entry_cont">
14435 <td class="entry_details" colspan="5">
14436 <p>This control can be used to implement digital zoom.<wbr/></p>
14437 <p>The crop region coordinate system is based off
14438 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>,<wbr/> with <code>(0,<wbr/> 0)</code> being the
14439 top-left corner of the sensor active array.<wbr/></p>
14440 <p>Output streams use this rectangle to produce their output,<wbr/>
14441 cropping to a smaller region if necessary to maintain the
14442 stream's aspect ratio,<wbr/> then scaling the sensor input to
14443 match the output's configured resolution.<wbr/></p>
14444 <p>The crop region is applied after the RAW to other color
14445 space (e.<wbr/>g.<wbr/> YUV) conversion.<wbr/> Since raw streams
14446 (e.<wbr/>g.<wbr/> RAW16) don't have the conversion stage,<wbr/> they are not
14447 croppable.<wbr/> The crop region will be ignored by raw streams.<wbr/></p>
14448 <p>For non-raw streams,<wbr/> any additional per-stream cropping will
14449 be done to maximize the final pixel area of the stream.<wbr/></p>
14450 <p>For example,<wbr/> if the crop region is set to a 4:3 aspect
14451 ratio,<wbr/> then 4:3 streams will use the exact crop
14452 region.<wbr/> 16:9 streams will further crop vertically
14453 (letterbox).<wbr/></p>
14454 <p>Conversely,<wbr/> if the crop region is set to a 16:9,<wbr/> then 4:3
14455 outputs will crop horizontally (pillarbox),<wbr/> and 16:9
14456 streams will match exactly.<wbr/> These additional crops will
14457 be centered within the crop region.<wbr/></p>
14458 <p>The width and height of the crop region cannot
14459 be set to be smaller than
14460 <code>floor( activeArraySize.<wbr/>width /<wbr/> <a href="#static_android.scaler.availableMaxDigitalZoom">android.<wbr/>scaler.<wbr/>available<wbr/>Max<wbr/>Digital<wbr/>Zoom</a> )</code> and
14461 <code>floor( activeArraySize.<wbr/>height /<wbr/> <a href="#static_android.scaler.availableMaxDigitalZoom">android.<wbr/>scaler.<wbr/>available<wbr/>Max<wbr/>Digital<wbr/>Zoom</a> )</code>,<wbr/> respectively.<wbr/></p>
14462 <p>The camera device may adjust the crop region to account
14463 for rounding and other hardware requirements; the final
14464 crop region used will be included in the output capture
14469 <tr class="entries_header">
14470 <th class="th_details" colspan="5">HAL Implementation Details</th>
14472 <tr class="entry_cont">
14473 <td class="entry_details" colspan="5">
14474 <p>The output streams must maintain square pixels at all
14475 times,<wbr/> no matter what the relative aspect ratios of the
14476 crop region and the stream are.<wbr/> Negative values for
14477 corner are allowed for raw output if full pixel array is
14478 larger than active pixel array.<wbr/> Width and height may be
14479 rounded to nearest larger supportable width,<wbr/> especially
14480 for raw output,<wbr/> where only a few fixed scales may be
14481 possible.<wbr/></p>
14482 <p>HAL2.<wbr/>x uses only (x,<wbr/> y,<wbr/> width)</p>
14486 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14487 <!-- end of entry -->
14491 <!-- end of kind -->
14493 <tr><td colspan="6" class="kind">static</td></tr>
14495 <thead class="entries_header">
14497 <th class="th_name">Property Name</th>
14498 <th class="th_type">Type</th>
14499 <th class="th_description">Description</th>
14500 <th class="th_units">Units</th>
14501 <th class="th_range">Range</th>
14502 <th class="th_tags">Tags</th>
14517 <tr class="entry" id="static_android.scaler.availableFormats">
14518 <td class="entry_name
14519 entry_name_deprecated
14521 android.<wbr/>scaler.<wbr/>available<wbr/>Formats
14523 <td class="entry_type">
14524 <span class="entry_type_name entry_type_name_enum">int32</span>
14525 <span class="entry_type_container">x</span>
14527 <span class="entry_type_array">
14530 <span class="entry_type_visibility"> [hidden as imageFormat]</span>
14534 <span class="entry_type_deprecated">[deprecated] </span>
14537 <ul class="entry_type_enum">
14539 <span class="entry_type_enum_name">RAW16</span>
14540 <span class="entry_type_enum_optional">[optional]</span>
14541 <span class="entry_type_enum_value">0x20</span>
14542 <span class="entry_type_enum_notes"><p>RAW16 is a standard,<wbr/> cross-platform format for raw image
14543 buffers with 16-bit pixels.<wbr/></p>
14544 <p>Buffers of this format are typically expected to have a
14545 Bayer Color Filter Array (CFA) layout,<wbr/> which is given in
14546 <a href="#static_android.sensor.info.colorFilterArrangement">android.<wbr/>sensor.<wbr/>info.<wbr/>color<wbr/>Filter<wbr/>Arrangement</a>.<wbr/> Sensors with
14547 CFAs that are not representable by a format in
14548 <a href="#static_android.sensor.info.colorFilterArrangement">android.<wbr/>sensor.<wbr/>info.<wbr/>color<wbr/>Filter<wbr/>Arrangement</a> should not
14549 use this format.<wbr/></p>
14550 <p>Buffers of this format will also follow the constraints given for
14551 RAW_<wbr/>OPAQUE buffers,<wbr/> but with relaxed performance constraints.<wbr/></p>
14552 <p>See <a href="#static_android.scaler.availableInputOutputFormatsMap">android.<wbr/>scaler.<wbr/>available<wbr/>Input<wbr/>Output<wbr/>Formats<wbr/>Map</a> for
14553 the full set of performance guarantees.<wbr/></p></span>
14556 <span class="entry_type_enum_name">RAW_OPAQUE</span>
14557 <span class="entry_type_enum_optional">[optional]</span>
14558 <span class="entry_type_enum_value">0x24</span>
14559 <span class="entry_type_enum_notes"><p>RAW_<wbr/>OPAQUE is a format for raw image buffers coming from an
14560 image sensor.<wbr/></p>
14561 <p>The actual structure of buffers of this format is
14562 platform-specific,<wbr/> but must follow several constraints:</p>
14564 <li>No image post-processing operations may have been applied to
14565 buffers of this type.<wbr/> These buffers contain raw image data coming
14566 directly from the image sensor.<wbr/></li>
14567 <li>If a buffer of this format is passed to the camera device for
14568 reprocessing,<wbr/> the resulting images will be identical to the images
14569 produced if the buffer had come directly from the sensor and was
14570 processed with the same settings.<wbr/></li>
14572 <p>The intended use for this format is to allow access to the native
14573 raw format buffers coming directly from the camera sensor without
14574 any additional conversions or decrease in framerate.<wbr/></p>
14575 <p>See <a href="#static_android.scaler.availableInputOutputFormatsMap">android.<wbr/>scaler.<wbr/>available<wbr/>Input<wbr/>Output<wbr/>Formats<wbr/>Map</a> for the full set of
14576 performance guarantees.<wbr/></p></span>
14579 <span class="entry_type_enum_name">YV12</span>
14580 <span class="entry_type_enum_optional">[optional]</span>
14581 <span class="entry_type_enum_value">0x32315659</span>
14582 <span class="entry_type_enum_notes"><p>YCrCb 4:2:0 Planar</p></span>
14585 <span class="entry_type_enum_name">YCrCb_420_SP</span>
14586 <span class="entry_type_enum_optional">[optional]</span>
14587 <span class="entry_type_enum_value">0x11</span>
14588 <span class="entry_type_enum_notes"><p>NV21</p></span>
14591 <span class="entry_type_enum_name">IMPLEMENTATION_DEFINED</span>
14592 <span class="entry_type_enum_value">0x22</span>
14593 <span class="entry_type_enum_notes"><p>System internal format,<wbr/> not application-accessible</p></span>
14596 <span class="entry_type_enum_name">YCbCr_420_888</span>
14597 <span class="entry_type_enum_value">0x23</span>
14598 <span class="entry_type_enum_notes"><p>Flexible YUV420 Format</p></span>
14601 <span class="entry_type_enum_name">BLOB</span>
14602 <span class="entry_type_enum_value">0x21</span>
14603 <span class="entry_type_enum_notes"><p>JPEG format</p></span>
14607 </td> <!-- entry_type -->
14609 <td class="entry_description">
14610 <p>The list of image formats that are supported by this
14611 camera device for output streams.<wbr/></p>
14614 <td class="entry_units">
14617 <td class="entry_range">
14618 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
14621 <td class="entry_tags">
14622 <ul class="entry_tags">
14623 <li><a href="#tag_BC">BC</a></li>
14628 <tr class="entries_header">
14629 <th class="th_details" colspan="5">Details</th>
14631 <tr class="entry_cont">
14632 <td class="entry_details" colspan="5">
14633 <p>All camera devices will support JPEG and YUV_<wbr/>420_<wbr/>888 formats.<wbr/></p>
14634 <p>When set to YUV_<wbr/>420_<wbr/>888,<wbr/> application can access the YUV420 data directly.<wbr/></p>
14638 <tr class="entries_header">
14639 <th class="th_details" colspan="5">HAL Implementation Details</th>
14641 <tr class="entry_cont">
14642 <td class="entry_details" colspan="5">
14643 <p>These format values are from HAL_<wbr/>PIXEL_<wbr/>FORMAT_<wbr/>* in
14644 system/<wbr/>core/<wbr/>include/<wbr/>system/<wbr/>graphics.<wbr/>h.<wbr/></p>
14645 <p>When IMPLEMENTATION_<wbr/>DEFINED is used,<wbr/> the platform
14646 gralloc module will select a format based on the usage flags provided
14647 by the camera HAL device and the other endpoint of the stream.<wbr/> It is
14648 usually used by preview and recording streams,<wbr/> where the application doesn't
14649 need access the image data.<wbr/></p>
14650 <p>YCb<wbr/>Cr_<wbr/>420_<wbr/>888 format must be supported by the HAL.<wbr/> When an image stream
14651 needs CPU/<wbr/>application direct access,<wbr/> this format will be used.<wbr/></p>
14652 <p>The BLOB format must be supported by the HAL.<wbr/> This is used for the JPEG stream.<wbr/></p>
14653 <p>A RAW_<wbr/>OPAQUE buffer should contain only pixel data.<wbr/> It is strongly
14654 recommended that any information used by the camera device when
14655 processing images is fully expressed by the result metadata
14656 for that image buffer.<wbr/></p>
14660 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14661 <!-- end of entry -->
14664 <tr class="entry" id="static_android.scaler.availableJpegMinDurations">
14665 <td class="entry_name
14666 entry_name_deprecated
14668 android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Min<wbr/>Durations
14670 <td class="entry_type">
14671 <span class="entry_type_name">int64</span>
14672 <span class="entry_type_container">x</span>
14674 <span class="entry_type_array">
14677 <span class="entry_type_visibility"> [hidden]</span>
14681 <span class="entry_type_deprecated">[deprecated] </span>
14685 </td> <!-- entry_type -->
14687 <td class="entry_description">
14688 <p>The minimum frame duration that is supported
14689 for each resolution in <a href="#static_android.scaler.availableJpegSizes">android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Sizes</a>.<wbr/></p>
14692 <td class="entry_units">
14696 <td class="entry_range">
14697 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
14698 <p>TODO: Remove property.<wbr/></p>
14701 <td class="entry_tags">
14702 <ul class="entry_tags">
14703 <li><a href="#tag_BC">BC</a></li>
14708 <tr class="entries_header">
14709 <th class="th_details" colspan="5">Details</th>
14711 <tr class="entry_cont">
14712 <td class="entry_details" colspan="5">
14713 <p>This corresponds to the minimum steady-state frame duration when only
14714 that JPEG stream is active and captured in a burst,<wbr/> with all
14715 processing (typically in android.<wbr/>*.<wbr/>mode) set to FAST.<wbr/></p>
14716 <p>When multiple streams are configured,<wbr/> the minimum
14717 frame duration will be >= max(individual stream min
14723 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14724 <!-- end of entry -->
14727 <tr class="entry" id="static_android.scaler.availableJpegSizes">
14728 <td class="entry_name
14729 entry_name_deprecated
14731 android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Sizes
14733 <td class="entry_type">
14734 <span class="entry_type_name">int32</span>
14735 <span class="entry_type_container">x</span>
14737 <span class="entry_type_array">
14740 <span class="entry_type_visibility"> [hidden as size]</span>
14744 <span class="entry_type_deprecated">[deprecated] </span>
14748 </td> <!-- entry_type -->
14750 <td class="entry_description">
14751 <p>The JPEG resolutions that are supported by this camera device.<wbr/></p>
14754 <td class="entry_units">
14757 <td class="entry_range">
14758 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
14759 <p>TODO: Remove property.<wbr/></p>
14762 <td class="entry_tags">
14763 <ul class="entry_tags">
14764 <li><a href="#tag_BC">BC</a></li>
14769 <tr class="entries_header">
14770 <th class="th_details" colspan="5">Details</th>
14772 <tr class="entry_cont">
14773 <td class="entry_details" colspan="5">
14774 <p>The resolutions are listed as <code>(width,<wbr/> height)</code> pairs.<wbr/> All camera devices will support
14775 sensor maximum resolution (defined by <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>).<wbr/></p>
14779 <tr class="entries_header">
14780 <th class="th_details" colspan="5">HAL Implementation Details</th>
14782 <tr class="entry_cont">
14783 <td class="entry_details" colspan="5">
14784 <p>The HAL must include sensor maximum resolution
14785 (defined by <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>),<wbr/>
14786 and should include half/<wbr/>quarter of sensor maximum resolution.<wbr/></p>
14790 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14791 <!-- end of entry -->
14794 <tr class="entry" id="static_android.scaler.availableMaxDigitalZoom">
14795 <td class="entry_name
14797 android.<wbr/>scaler.<wbr/>available<wbr/>Max<wbr/>Digital<wbr/>Zoom
14799 <td class="entry_type">
14800 <span class="entry_type_name">float</span>
14802 <span class="entry_type_visibility"> [public]</span>
14805 <span class="entry_type_hwlevel">[legacy] </span>
14810 </td> <!-- entry_type -->
14812 <td class="entry_description">
14813 <p>The maximum ratio between both active area width
14814 and crop region width,<wbr/> and active area height and
14815 crop region height,<wbr/> for <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a>.<wbr/></p>
14818 <td class="entry_units">
14822 <td class="entry_range">
14826 <td class="entry_tags">
14827 <ul class="entry_tags">
14828 <li><a href="#tag_BC">BC</a></li>
14833 <tr class="entries_header">
14834 <th class="th_details" colspan="5">Details</th>
14836 <tr class="entry_cont">
14837 <td class="entry_details" colspan="5">
14838 <p>This represents the maximum amount of zooming possible by
14839 the camera device,<wbr/> or equivalently,<wbr/> the minimum cropping
14840 window size.<wbr/></p>
14841 <p>Crop regions that have a width or height that is smaller
14842 than this ratio allows will be rounded up to the minimum
14843 allowed size by the camera device.<wbr/></p>
14848 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14849 <!-- end of entry -->
14852 <tr class="entry" id="static_android.scaler.availableProcessedMinDurations">
14853 <td class="entry_name
14854 entry_name_deprecated
14856 android.<wbr/>scaler.<wbr/>available<wbr/>Processed<wbr/>Min<wbr/>Durations
14858 <td class="entry_type">
14859 <span class="entry_type_name">int64</span>
14860 <span class="entry_type_container">x</span>
14862 <span class="entry_type_array">
14865 <span class="entry_type_visibility"> [hidden]</span>
14869 <span class="entry_type_deprecated">[deprecated] </span>
14873 </td> <!-- entry_type -->
14875 <td class="entry_description">
14876 <p>For each available processed output size (defined in
14877 <a href="#static_android.scaler.availableProcessedSizes">android.<wbr/>scaler.<wbr/>available<wbr/>Processed<wbr/>Sizes</a>),<wbr/> this property lists the
14878 minimum supportable frame duration for that size.<wbr/></p>
14881 <td class="entry_units">
14885 <td class="entry_range">
14886 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
14889 <td class="entry_tags">
14890 <ul class="entry_tags">
14891 <li><a href="#tag_BC">BC</a></li>
14896 <tr class="entries_header">
14897 <th class="th_details" colspan="5">Details</th>
14899 <tr class="entry_cont">
14900 <td class="entry_details" colspan="5">
14901 <p>This should correspond to the frame duration when only that processed
14902 stream is active,<wbr/> with all processing (typically in android.<wbr/>*.<wbr/>mode)
14903 set to FAST.<wbr/></p>
14904 <p>When multiple streams are configured,<wbr/> the minimum frame duration will
14905 be >= max(individual stream min durations).<wbr/></p>
14910 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14911 <!-- end of entry -->
14914 <tr class="entry" id="static_android.scaler.availableProcessedSizes">
14915 <td class="entry_name
14916 entry_name_deprecated
14918 android.<wbr/>scaler.<wbr/>available<wbr/>Processed<wbr/>Sizes
14920 <td class="entry_type">
14921 <span class="entry_type_name">int32</span>
14922 <span class="entry_type_container">x</span>
14924 <span class="entry_type_array">
14927 <span class="entry_type_visibility"> [hidden as size]</span>
14931 <span class="entry_type_deprecated">[deprecated] </span>
14935 </td> <!-- entry_type -->
14937 <td class="entry_description">
14938 <p>The resolutions available for use with
14939 processed output streams,<wbr/> such as YV12,<wbr/> NV12,<wbr/> and
14940 platform opaque YUV/<wbr/>RGB streams to the GPU or video
14941 encoders.<wbr/></p>
14944 <td class="entry_units">
14947 <td class="entry_range">
14948 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
14951 <td class="entry_tags">
14952 <ul class="entry_tags">
14953 <li><a href="#tag_BC">BC</a></li>
14958 <tr class="entries_header">
14959 <th class="th_details" colspan="5">Details</th>
14961 <tr class="entry_cont">
14962 <td class="entry_details" colspan="5">
14963 <p>The resolutions are listed as <code>(width,<wbr/> height)</code> pairs.<wbr/></p>
14964 <p>For a given use case,<wbr/> the actual maximum supported resolution
14965 may be lower than what is listed here,<wbr/> depending on the destination
14966 Surface for the image data.<wbr/> For example,<wbr/> for recording video,<wbr/>
14967 the video encoder chosen may have a maximum size limit (e.<wbr/>g.<wbr/> 1080p)
14968 smaller than what the camera (e.<wbr/>g.<wbr/> maximum resolution is 3264x2448)
14969 can provide.<wbr/></p>
14970 <p>Please reference the documentation for the image data destination to
14971 check if it limits the maximum size for image data.<wbr/></p>
14975 <tr class="entries_header">
14976 <th class="th_details" colspan="5">HAL Implementation Details</th>
14978 <tr class="entry_cont">
14979 <td class="entry_details" colspan="5">
14980 <p>For FULL capability devices (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == FULL</code>),<wbr/>
14981 the HAL must include all JPEG sizes listed in <a href="#static_android.scaler.availableJpegSizes">android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Sizes</a>
14982 and each below resolution if it is smaller than or equal to the sensor
14983 maximum resolution (if they are not listed in JPEG sizes already):</p>
14985 <li>240p (320 x 240)</li>
14986 <li>480p (640 x 480)</li>
14987 <li>720p (1280 x 720)</li>
14988 <li>1080p (1920 x 1080)</li>
14990 <p>For LIMITED capability devices (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == LIMITED</code>),<wbr/>
14991 the HAL only has to list up to the maximum video size supported by the devices.<wbr/></p>
14995 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
14996 <!-- end of entry -->
14999 <tr class="entry" id="static_android.scaler.availableRawMinDurations">
15000 <td class="entry_name
15001 entry_name_deprecated
15003 android.<wbr/>scaler.<wbr/>available<wbr/>Raw<wbr/>Min<wbr/>Durations
15005 <td class="entry_type">
15006 <span class="entry_type_name">int64</span>
15007 <span class="entry_type_container">x</span>
15009 <span class="entry_type_array">
15012 <span class="entry_type_visibility"> [system]</span>
15016 <span class="entry_type_deprecated">[deprecated] </span>
15020 </td> <!-- entry_type -->
15022 <td class="entry_description">
15023 <p>For each available raw output size (defined in
15024 <a href="#static_android.scaler.availableRawSizes">android.<wbr/>scaler.<wbr/>available<wbr/>Raw<wbr/>Sizes</a>),<wbr/> this property lists the minimum
15025 supportable frame duration for that size.<wbr/></p>
15028 <td class="entry_units">
15032 <td class="entry_range">
15033 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
15036 <td class="entry_tags">
15037 <ul class="entry_tags">
15038 <li><a href="#tag_BC">BC</a></li>
15043 <tr class="entries_header">
15044 <th class="th_details" colspan="5">Details</th>
15046 <tr class="entry_cont">
15047 <td class="entry_details" colspan="5">
15048 <p>Should correspond to the frame duration when only the raw stream is
15050 <p>When multiple streams are configured,<wbr/> the minimum
15051 frame duration will be >= max(individual stream min
15057 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
15058 <!-- end of entry -->
15061 <tr class="entry" id="static_android.scaler.availableRawSizes">
15062 <td class="entry_name
15063 entry_name_deprecated
15065 android.<wbr/>scaler.<wbr/>available<wbr/>Raw<wbr/>Sizes
15067 <td class="entry_type">
15068 <span class="entry_type_name">int32</span>
15069 <span class="entry_type_container">x</span>
15071 <span class="entry_type_array">
15074 <span class="entry_type_visibility"> [system as size]</span>
15078 <span class="entry_type_deprecated">[deprecated] </span>
15082 </td> <!-- entry_type -->
15084 <td class="entry_description">
15085 <p>The resolutions available for use with raw
15086 sensor output streams,<wbr/> listed as width,<wbr/>
15090 <td class="entry_units">
15093 <td class="entry_range">
15094 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
15097 <td class="entry_tags">
15103 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
15104 <!-- end of entry -->
15107 <tr class="entry" id="static_android.scaler.availableInputOutputFormatsMap">
15108 <td class="entry_name
15110 android.<wbr/>scaler.<wbr/>available<wbr/>Input<wbr/>Output<wbr/>Formats<wbr/>Map
15112 <td class="entry_type">
15113 <span class="entry_type_name">int32</span>
15114 <span class="entry_type_container">x</span>
15116 <span class="entry_type_array">
15119 <span class="entry_type_visibility"> [hidden as imageFormat]</span>
15122 <span class="entry_type_hwlevel">[full] </span>
15127 </td> <!-- entry_type -->
15129 <td class="entry_description">
15130 <p>The mapping of image formats that are supported by this
15131 camera device for input streams,<wbr/> to their corresponding output formats.<wbr/></p>
15134 <td class="entry_units">
15137 <td class="entry_range">
15140 <td class="entry_tags">
15144 <tr class="entries_header">
15145 <th class="th_details" colspan="5">Details</th>
15147 <tr class="entry_cont">
15148 <td class="entry_details" colspan="5">
15149 <p>All camera devices with at least 1
15150 <a href="#static_android.request.maxNumInputStreams">android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Input<wbr/>Streams</a> will have at least one
15151 available input format.<wbr/></p>
15152 <p>The camera device will support the following map of formats,<wbr/>
15153 if its dependent capability is supported:</p>
15157 <th align="left">Input Format</th>
15158 <th align="left">Output Format</th>
15159 <th align="left">Capability</th>
15164 <td align="left">RAW_<wbr/>OPAQUE</td>
15165 <td align="left">JPEG</td>
15166 <td align="left">ZSL</td>
15169 <td align="left">RAW_<wbr/>OPAQUE</td>
15170 <td align="left">YUV_<wbr/>420_<wbr/>888</td>
15171 <td align="left">ZSL</td>
15174 <td align="left">RAW_<wbr/>OPAQUE</td>
15175 <td align="left">RAW16</td>
15176 <td align="left">RAW</td>
15179 <td align="left">RAW16</td>
15180 <td align="left">YUV_<wbr/>420_<wbr/>888</td>
15181 <td align="left">RAW</td>
15184 <td align="left">RAW16</td>
15185 <td align="left">JPEG</td>
15186 <td align="left">RAW</td>
15190 <p>For ZSL-capable camera devices,<wbr/> using the RAW_<wbr/>OPAQUE format
15191 as either input or output will never hurt maximum frame rate (i.<wbr/>e.<wbr/>
15192 Stream<wbr/>Configuration<wbr/>Map#get<wbr/>Output<wbr/>Stall<wbr/>Duration(int,<wbr/>Size)
15193 for a <code>format =</code> RAW_<wbr/>OPAQUE is always 0).<wbr/></p>
15194 <p>Attempting to configure an input stream with output streams not
15195 listed as available in this map is not valid.<wbr/></p>
15196 <p>TODO: typedef to ReprocessFormatMap</p>
15200 <tr class="entries_header">
15201 <th class="th_details" colspan="5">HAL Implementation Details</th>
15203 <tr class="entry_cont">
15204 <td class="entry_details" colspan="5">
15205 <p>For the formats,<wbr/> see <code>system/<wbr/>core/<wbr/>include/<wbr/>system/<wbr/>graphics.<wbr/>h</code> for a definition
15206 of the image format enumerations.<wbr/></p>
15207 <p>This value is encoded as a variable-size array-of-arrays.<wbr/>
15208 The inner array always contains <code>[format,<wbr/> length,<wbr/> ...<wbr/>]</code> where
15209 <code>...<wbr/></code> has <code>length</code> elements.<wbr/> An inner array is followed by another
15210 inner array if the total metadata entry size hasn't yet been exceeded.<wbr/></p>
15211 <p>A code sample to read/<wbr/>write this encoding (with a device that
15212 supports reprocessing RAW_<wbr/>OPAQUE to RAW16,<wbr/> YUV_<wbr/>420_<wbr/>888,<wbr/> and JPEG,<wbr/>
15213 and reprocessing RAW16 to YUV_<wbr/>420_<wbr/>888 and JPEG):</p>
15214 <pre><code>//<wbr/> reading
15215 int32_<wbr/>t* contents = &entry.<wbr/>i32[0];
15216 for (size_<wbr/>t i = 0; i < entry.<wbr/>count; ) {
15217 int32_<wbr/>t format = contents[i++];
15218 int32_<wbr/>t length = contents[i++];
15219 int32_<wbr/>t output_<wbr/>formats[length];
15220 memcpy(&output_<wbr/>formats[0],<wbr/> &contents[i],<wbr/>
15221 length * sizeof(int32_<wbr/>t));
15225 //<wbr/> writing (static example,<wbr/> RAW+ZSL)
15226 int32_<wbr/>t[] contents = {
15227 RAW_<wbr/>OPAQUE,<wbr/> 3,<wbr/> RAW16,<wbr/> YUV_<wbr/>420_<wbr/>888,<wbr/> BLOB,<wbr/>
15228 RAW16,<wbr/> 2,<wbr/> YUV_<wbr/>420_<wbr/>888,<wbr/> BLOB,<wbr/>
15230 update_<wbr/>camera_<wbr/>metadata_<wbr/>entry(metadata,<wbr/> index,<wbr/> &contents[0],<wbr/>
15231 sizeof(contents)/<wbr/>sizeof(contents[0]),<wbr/> &updated_<wbr/>entry);
15233 <p>If the HAL claims to support any of the capabilities listed in the
15234 above details,<wbr/> then it must also support all the input-output
15235 combinations listed for that capability.<wbr/> It can optionally support
15236 additional formats if it so chooses.<wbr/></p>
15237 <p>Refer to <a href="#static_android.scaler.availableFormats">android.<wbr/>scaler.<wbr/>available<wbr/>Formats</a> for the enum values
15238 which correspond to HAL_<wbr/>PIXEL_<wbr/>FORMAT_<wbr/>* in
15239 system/<wbr/>core/<wbr/>include/<wbr/>system/<wbr/>graphics.<wbr/>h.<wbr/></p>
15243 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
15244 <!-- end of entry -->
15247 <tr class="entry" id="static_android.scaler.availableStreamConfigurations">
15248 <td class="entry_name
15250 android.<wbr/>scaler.<wbr/>available<wbr/>Stream<wbr/>Configurations
15252 <td class="entry_type">
15253 <span class="entry_type_name entry_type_name_enum">int32</span>
15254 <span class="entry_type_container">x</span>
15256 <span class="entry_type_array">
15259 <span class="entry_type_visibility"> [hidden as streamConfiguration]</span>
15262 <span class="entry_type_hwlevel">[legacy] </span>
15266 <ul class="entry_type_enum">
15268 <span class="entry_type_enum_name">OUTPUT</span>
15271 <span class="entry_type_enum_name">INPUT</span>
15275 </td> <!-- entry_type -->
15277 <td class="entry_description">
15278 <p>The available stream configurations that this
15279 camera device supports
15280 (i.<wbr/>e.<wbr/> format,<wbr/> width,<wbr/> height,<wbr/> output/<wbr/>input stream).<wbr/></p>
15283 <td class="entry_units">
15286 <td class="entry_range">
15289 <td class="entry_tags">
15293 <tr class="entries_header">
15294 <th class="th_details" colspan="5">Details</th>
15296 <tr class="entry_cont">
15297 <td class="entry_details" colspan="5">
15298 <p>The configurations are listed as <code>(format,<wbr/> width,<wbr/> height,<wbr/> input?)</code>
15300 <p>For a given use case,<wbr/> the actual maximum supported resolution
15301 may be lower than what is listed here,<wbr/> depending on the destination
15302 Surface for the image data.<wbr/> For example,<wbr/> for recording video,<wbr/>
15303 the video encoder chosen may have a maximum size limit (e.<wbr/>g.<wbr/> 1080p)
15304 smaller than what the camera (e.<wbr/>g.<wbr/> maximum resolution is 3264x2448)
15305 can provide.<wbr/></p>
15306 <p>Please reference the documentation for the image data destination to
15307 check if it limits the maximum size for image data.<wbr/></p>
15308 <p>Not all output formats may be supported in a configuration with
15309 an input stream of a particular format.<wbr/> For more details,<wbr/> see
15310 <a href="#static_android.scaler.availableInputOutputFormatsMap">android.<wbr/>scaler.<wbr/>available<wbr/>Input<wbr/>Output<wbr/>Formats<wbr/>Map</a>.<wbr/></p>
15311 <p>The following table describes the minimum required output stream
15312 configurations based on the hardware level
15313 (<a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a>):</p>
15317 <th align="center">Format</th>
15318 <th align="center">Size</th>
15319 <th align="center">Hardware Level</th>
15320 <th align="center">Notes</th>
15325 <td align="center">JPEG</td>
15326 <td align="center"><a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a></td>
15327 <td align="center">Any</td>
15328 <td align="center"></td>
15331 <td align="center">JPEG</td>
15332 <td align="center">1920x1080 (1080p)</td>
15333 <td align="center">Any</td>
15334 <td align="center">if 1080p <= activeArraySize</td>
15337 <td align="center">JPEG</td>
15338 <td align="center">1280x720 (720)</td>
15339 <td align="center">Any</td>
15340 <td align="center">if 720p <= activeArraySize</td>
15343 <td align="center">JPEG</td>
15344 <td align="center">640x480 (480p)</td>
15345 <td align="center">Any</td>
15346 <td align="center">if 480p <= activeArraySize</td>
15349 <td align="center">JPEG</td>
15350 <td align="center">320x240 (240p)</td>
15351 <td align="center">Any</td>
15352 <td align="center">if 240p <= activeArraySize</td>
15355 <td align="center">YUV_<wbr/>420_<wbr/>888</td>
15356 <td align="center">all output sizes available for JPEG</td>
15357 <td align="center">FULL</td>
15358 <td align="center"></td>
15361 <td align="center">YUV_<wbr/>420_<wbr/>888</td>
15362 <td align="center">all output sizes available for JPEG,<wbr/> up to the maximum video size</td>
15363 <td align="center">LIMITED</td>
15364 <td align="center"></td>
15367 <td align="center">IMPLEMENTATION_<wbr/>DEFINED</td>
15368 <td align="center">same as YUV_<wbr/>420_<wbr/>888</td>
15369 <td align="center">Any</td>
15370 <td align="center"></td>
15374 <p>Refer to <a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a> for additional
15375 mandatory stream configurations on a per-capability basis.<wbr/></p>
15379 <tr class="entries_header">
15380 <th class="th_details" colspan="5">HAL Implementation Details</th>
15382 <tr class="entry_cont">
15383 <td class="entry_details" colspan="5">
15384 <p>It is recommended (but not mandatory) to also include half/<wbr/>quarter
15385 of sensor maximum resolution for JPEG formats (regardless of hardware
15387 <p>(The following is a rewording of the above required table):</p>
15388 <p>For JPEG format,<wbr/> the sizes may be restricted by below conditions:</p>
15390 <li>The HAL may choose the aspect ratio of each Jpeg size to be one of well known ones
15391 (e.<wbr/>g.<wbr/> 4:3,<wbr/> 16:9,<wbr/> 3:2 etc.<wbr/>).<wbr/> If the sensor maximum resolution
15392 (defined by <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>) has an aspect ratio other than these,<wbr/>
15393 it does not have to be included in the supported JPEG sizes.<wbr/></li>
15394 <li>Some hardware JPEG encoders may have pixel boundary alignment requirements,<wbr/> such as
15395 the dimensions being a multiple of 16.<wbr/></li>
15397 <p>Therefore,<wbr/> the maximum JPEG size may be smaller than sensor maximum resolution.<wbr/>
15398 However,<wbr/> the largest JPEG size must be as close as possible to the sensor maximum
15399 resolution given above constraints.<wbr/> It is required that after aspect ratio adjustments,<wbr/>
15400 additional size reduction due to other issues must be less than 3% in area.<wbr/> For example,<wbr/>
15401 if the sensor maximum resolution is 3280x2464,<wbr/> if the maximum JPEG size has aspect
15402 ratio 4:3,<wbr/> the JPEG encoder alignment requirement is 16,<wbr/> the maximum JPEG size will be
15403 3264x2448.<wbr/></p>
15404 <p>For FULL capability devices (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == FULL</code>),<wbr/>
15405 the HAL must include all YUV_<wbr/>420_<wbr/>888 sizes that have JPEG sizes listed
15406 here as output streams.<wbr/></p>
15407 <p>It must also include each below resolution if it is smaller than or
15408 equal to the sensor maximum resolution (for both YUV_<wbr/>420_<wbr/>888 and JPEG
15409 formats),<wbr/> as output streams:</p>
15411 <li>240p (320 x 240)</li>
15412 <li>480p (640 x 480)</li>
15413 <li>720p (1280 x 720)</li>
15414 <li>1080p (1920 x 1080)</li>
15416 <p>For LIMITED capability devices
15417 (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == LIMITED</code>),<wbr/>
15418 the HAL only has to list up to the maximum video size
15419 supported by the device.<wbr/></p>
15420 <p>Regardless of hardware level,<wbr/> every output resolution available for
15421 YUV_<wbr/>420_<wbr/>888 must also be available for IMPLEMENTATION_<wbr/>DEFINED.<wbr/></p>
15422 <p>This supercedes the following fields,<wbr/> which are now deprecated:</p>
15424 <li>availableFormats</li>
15425 <li>available[Processed,<wbr/>Raw,<wbr/>Jpeg]Sizes</li>
15430 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
15431 <!-- end of entry -->
15434 <tr class="entry" id="static_android.scaler.availableMinFrameDurations">
15435 <td class="entry_name
15437 android.<wbr/>scaler.<wbr/>available<wbr/>Min<wbr/>Frame<wbr/>Durations
15439 <td class="entry_type">
15440 <span class="entry_type_name">int64</span>
15441 <span class="entry_type_container">x</span>
15443 <span class="entry_type_array">
15446 <span class="entry_type_visibility"> [hidden as streamConfigurationDuration]</span>
15449 <span class="entry_type_hwlevel">[legacy] </span>
15454 </td> <!-- entry_type -->
15456 <td class="entry_description">
15457 <p>This lists the minimum frame duration for each
15458 format/<wbr/>size combination.<wbr/></p>
15461 <td class="entry_units">
15462 (format,<wbr/> width,<wbr/> height,<wbr/> ns) x n
15465 <td class="entry_range">
15468 <td class="entry_tags">
15469 <ul class="entry_tags">
15470 <li><a href="#tag_V1">V1</a></li>
15475 <tr class="entries_header">
15476 <th class="th_details" colspan="5">Details</th>
15478 <tr class="entry_cont">
15479 <td class="entry_details" colspan="5">
15480 <p>This should correspond to the frame duration when only that
15481 stream is active,<wbr/> with all processing (typically in android.<wbr/>*.<wbr/>mode)
15482 set to either OFF or FAST.<wbr/></p>
15483 <p>When multiple streams are used in a request,<wbr/> the minimum frame
15484 duration will be max(individual stream min durations).<wbr/></p>
15485 <p>The minimum frame duration of a stream (of a particular format,<wbr/> size)
15486 is the same regardless of whether the stream is input or output.<wbr/></p>
15487 <p>See <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> and
15488 <a href="#static_android.scaler.availableStallDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stall<wbr/>Durations</a> for more details about
15489 calculating the max frame rate.<wbr/></p>
15490 <p>(Keep in sync with
15491 StreamConfigurationMap#getOutputMinFrameDuration)</p>
15496 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
15497 <!-- end of entry -->
15500 <tr class="entry" id="static_android.scaler.availableStallDurations">
15501 <td class="entry_name
15503 android.<wbr/>scaler.<wbr/>available<wbr/>Stall<wbr/>Durations
15505 <td class="entry_type">
15506 <span class="entry_type_name">int64</span>
15507 <span class="entry_type_container">x</span>
15509 <span class="entry_type_array">
15512 <span class="entry_type_visibility"> [hidden as streamConfigurationDuration]</span>
15515 <span class="entry_type_hwlevel">[legacy] </span>
15520 </td> <!-- entry_type -->
15522 <td class="entry_description">
15523 <p>This lists the maximum stall duration for each
15524 format/<wbr/>size combination.<wbr/></p>
15527 <td class="entry_units">
15528 (format,<wbr/> width,<wbr/> height,<wbr/> ns) x n
15531 <td class="entry_range">
15534 <td class="entry_tags">
15535 <ul class="entry_tags">
15536 <li><a href="#tag_V1">V1</a></li>
15541 <tr class="entries_header">
15542 <th class="th_details" colspan="5">Details</th>
15544 <tr class="entry_cont">
15545 <td class="entry_details" colspan="5">
15546 <p>A stall duration is how much extra time would get added
15547 to the normal minimum frame duration for a repeating request
15548 that has streams with non-zero stall.<wbr/></p>
15549 <p>For example,<wbr/> consider JPEG captures which have the following
15550 characteristics:</p>
15552 <li>JPEG streams act like processed YUV streams in requests for which
15553 they are not included; in requests in which they are directly
15554 referenced,<wbr/> they act as JPEG streams.<wbr/> This is because supporting a
15555 JPEG stream requires the underlying YUV data to always be ready for
15556 use by a JPEG encoder,<wbr/> but the encoder will only be used (and impact
15557 frame duration) on requests that actually reference a JPEG stream.<wbr/></li>
15558 <li>The JPEG processor can run concurrently to the rest of the camera
15559 pipeline,<wbr/> but cannot process more than 1 capture at a time.<wbr/></li>
15561 <p>In other words,<wbr/> using a repeating YUV request would result
15562 in a steady frame rate (let's say it's 30 FPS).<wbr/> If a single
15563 JPEG request is submitted periodically,<wbr/> the frame rate will stay
15564 at 30 FPS (as long as we wait for the previous JPEG to return each
15565 time).<wbr/> If we try to submit a repeating YUV + JPEG request,<wbr/> then
15566 the frame rate will drop from 30 FPS.<wbr/></p>
15567 <p>In general,<wbr/> submitting a new request with a non-0 stall time
15568 stream will <em>not</em> cause a frame rate drop unless there are still
15569 outstanding buffers for that stream from previous requests.<wbr/></p>
15570 <p>Submitting a repeating request with streams (call this <code>S</code>)
15571 is the same as setting the minimum frame duration from
15572 the normal minimum frame duration corresponding to <code>S</code>,<wbr/> added with
15573 the maximum stall duration for <code>S</code>.<wbr/></p>
15574 <p>If interleaving requests with and without a stall duration,<wbr/>
15575 a request will stall by the maximum of the remaining times
15576 for each can-stall stream with outstanding buffers.<wbr/></p>
15577 <p>This means that a stalling request will not have an exposure start
15578 until the stall has completed.<wbr/></p>
15579 <p>This should correspond to the stall duration when only that stream is
15580 active,<wbr/> with all processing (typically in android.<wbr/>*.<wbr/>mode) set to FAST
15581 or OFF.<wbr/> Setting any of the processing modes to HIGH_<wbr/>QUALITY
15582 effectively results in an indeterminate stall duration for all
15583 streams in a request (the regular stall calculation rules are
15584 ignored).<wbr/></p>
15585 <p>The following formats may always have a stall duration:</p>
15587 <li>ImageFormat#JPEG</li>
15588 <li>ImageFormat#RAW_<wbr/>SENSOR</li>
15590 <p>The following formats will never have a stall duration:</p>
15592 <li>Image<wbr/>Format#YUV_<wbr/>420_<wbr/>888</li>
15594 <p>All other formats may or may not have an allowed stall duration on
15595 a per-capability basis; refer to <a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a>
15596 for more details.<wbr/></p>
15597 <p>See <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> for more information about
15598 calculating the max frame rate (absent stalls).<wbr/></p>
15599 <p>(Keep up to date with
15600 StreamConfigurationMap#getOutputStallDuration(int,<wbr/> Size) )</p>
15604 <tr class="entries_header">
15605 <th class="th_details" colspan="5">HAL Implementation Details</th>
15607 <tr class="entry_cont">
15608 <td class="entry_details" colspan="5">
15609 <p>If possible,<wbr/> it is recommended that all non-JPEG formats
15610 (such as RAW16) should not have a stall duration.<wbr/> RAW10,<wbr/> RAW_<wbr/>OPAQUE and
15611 IMPLEMENTATION_<wbr/>DEFINED must not have stall durations.<wbr/></p>
15615 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
15616 <!-- end of entry -->
15619 <tr class="entry" id="static_android.scaler.streamConfigurationMap">
15620 <td class="entry_name
15622 android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map
15624 <td class="entry_type">
15625 <span class="entry_type_name">int32</span>
15627 <span class="entry_type_visibility"> [public as streamConfigurationMap]</span>
15629 <span class="entry_type_synthetic">[synthetic] </span>
15631 <span class="entry_type_hwlevel">[legacy] </span>
15636 </td> <!-- entry_type -->
15638 <td class="entry_description">
15639 <p>The available stream configurations that this
15640 camera device supports; also includes the minimum frame durations
15641 and the stall durations for each format/<wbr/>size combination.<wbr/></p>
15644 <td class="entry_units">
15647 <td class="entry_range">
15650 <td class="entry_tags">
15654 <tr class="entries_header">
15655 <th class="th_details" colspan="5">Details</th>
15657 <tr class="entry_cont">
15658 <td class="entry_details" colspan="5">
15659 <p>All camera devices will support sensor maximum resolution (defined by
15660 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>) for the JPEG format.<wbr/></p>
15661 <p>For a given use case,<wbr/> the actual maximum supported resolution
15662 may be lower than what is listed here,<wbr/> depending on the destination
15663 Surface for the image data.<wbr/> For example,<wbr/> for recording video,<wbr/>
15664 the video encoder chosen may have a maximum size limit (e.<wbr/>g.<wbr/> 1080p)
15665 smaller than what the camera (e.<wbr/>g.<wbr/> maximum resolution is 3264x2448)
15666 can provide.<wbr/></p>
15667 <p>Please reference the documentation for the image data destination to
15668 check if it limits the maximum size for image data.<wbr/></p>
15669 <p>The following table describes the minimum required output stream
15670 configurations based on the hardware level
15671 (<a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a>):</p>
15675 <th align="center">Format</th>
15676 <th align="center">Size</th>
15677 <th align="center">Hardware Level</th>
15678 <th align="center">Notes</th>
15683 <td align="center">JPEG</td>
15684 <td align="center"><a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a></td>
15685 <td align="center">Any</td>
15686 <td align="center"></td>
15689 <td align="center">JPEG</td>
15690 <td align="center">1920x1080 (1080p)</td>
15691 <td align="center">Any</td>
15692 <td align="center">if 1080p <= activeArraySize</td>
15695 <td align="center">JPEG</td>
15696 <td align="center">1280x720 (720)</td>
15697 <td align="center">Any</td>
15698 <td align="center">if 720p <= activeArraySize</td>
15701 <td align="center">JPEG</td>
15702 <td align="center">640x480 (480p)</td>
15703 <td align="center">Any</td>
15704 <td align="center">if 480p <= activeArraySize</td>
15707 <td align="center">JPEG</td>
15708 <td align="center">320x240 (240p)</td>
15709 <td align="center">Any</td>
15710 <td align="center">if 240p <= activeArraySize</td>
15713 <td align="center">YUV_<wbr/>420_<wbr/>888</td>
15714 <td align="center">all output sizes available for JPEG</td>
15715 <td align="center">FULL</td>
15716 <td align="center"></td>
15719 <td align="center">YUV_<wbr/>420_<wbr/>888</td>
15720 <td align="center">all output sizes available for JPEG,<wbr/> up to the maximum video size</td>
15721 <td align="center">LIMITED</td>
15722 <td align="center"></td>
15725 <td align="center">IMPLEMENTATION_<wbr/>DEFINED</td>
15726 <td align="center">same as YUV_<wbr/>420_<wbr/>888</td>
15727 <td align="center">Any</td>
15728 <td align="center"></td>
15732 <p>Refer to <a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a> for additional
15733 mandatory stream configurations on a per-capability basis.<wbr/></p>
15737 <tr class="entries_header">
15738 <th class="th_details" colspan="5">HAL Implementation Details</th>
15740 <tr class="entry_cont">
15741 <td class="entry_details" colspan="5">
15742 <p>Do not set this property directly
15743 (it is synthetic and will not be available at the HAL layer);
15744 set the <a href="#static_android.scaler.availableStreamConfigurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stream<wbr/>Configurations</a> instead.<wbr/></p>
15745 <p>Not all output formats may be supported in a configuration with
15746 an input stream of a particular format.<wbr/> For more details,<wbr/> see
15747 <a href="#static_android.scaler.availableInputOutputFormatsMap">android.<wbr/>scaler.<wbr/>available<wbr/>Input<wbr/>Output<wbr/>Formats<wbr/>Map</a>.<wbr/></p>
15748 <p>It is recommended (but not mandatory) to also include half/<wbr/>quarter
15749 of sensor maximum resolution for JPEG formats (regardless of hardware
15751 <p>(The following is a rewording of the above required table):</p>
15752 <p>The HAL must include sensor maximum resolution (defined by
15753 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>).<wbr/></p>
15754 <p>For FULL capability devices (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == FULL</code>),<wbr/>
15755 the HAL must include all YUV_<wbr/>420_<wbr/>888 sizes that have JPEG sizes listed
15756 here as output streams.<wbr/></p>
15757 <p>It must also include each below resolution if it is smaller than or
15758 equal to the sensor maximum resolution (for both YUV_<wbr/>420_<wbr/>888 and JPEG
15759 formats),<wbr/> as output streams:</p>
15761 <li>240p (320 x 240)</li>
15762 <li>480p (640 x 480)</li>
15763 <li>720p (1280 x 720)</li>
15764 <li>1080p (1920 x 1080)</li>
15766 <p>For LIMITED capability devices
15767 (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == LIMITED</code>),<wbr/>
15768 the HAL only has to list up to the maximum video size
15769 supported by the device.<wbr/></p>
15770 <p>Regardless of hardware level,<wbr/> every output resolution available for
15771 YUV_<wbr/>420_<wbr/>888 must also be available for IMPLEMENTATION_<wbr/>DEFINED.<wbr/></p>
15772 <p>This supercedes the following fields,<wbr/> which are now deprecated:</p>
15774 <li>availableFormats</li>
15775 <li>available[Processed,<wbr/>Raw,<wbr/>Jpeg]Sizes</li>
15780 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
15781 <!-- end of entry -->
15784 <tr class="entry" id="static_android.scaler.croppingType">
15785 <td class="entry_name
15787 android.<wbr/>scaler.<wbr/>cropping<wbr/>Type
15789 <td class="entry_type">
15790 <span class="entry_type_name entry_type_name_enum">byte</span>
15792 <span class="entry_type_visibility"> [public]</span>
15795 <span class="entry_type_hwlevel">[legacy] </span>
15799 <ul class="entry_type_enum">
15801 <span class="entry_type_enum_name">CENTER_ONLY</span>
15802 <span class="entry_type_enum_notes"><p>The camera device only supports centered crop regions.<wbr/></p></span>
15805 <span class="entry_type_enum_name">FREEFORM</span>
15806 <span class="entry_type_enum_notes"><p>The camera device supports arbitrarily chosen crop regions.<wbr/></p></span>
15810 </td> <!-- entry_type -->
15812 <td class="entry_description">
15813 <p>The crop type that this camera device supports.<wbr/></p>
15816 <td class="entry_units">
15819 <td class="entry_range">
15822 <td class="entry_tags">
15826 <tr class="entries_header">
15827 <th class="th_details" colspan="5">Details</th>
15829 <tr class="entry_cont">
15830 <td class="entry_details" colspan="5">
15831 <p>When passing a non-centered crop region (<a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a>) to a camera
15832 device that only supports CENTER_<wbr/>ONLY cropping,<wbr/> the camera device will move the
15833 crop region to the center of the sensor active array (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>)
15834 and keep the crop region width and height unchanged.<wbr/> The camera device will return the
15835 final used crop region in metadata result <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a>.<wbr/></p>
15836 <p>Camera devices that support FREEFORM cropping will support any crop region that
15837 is inside of the active array.<wbr/> The camera device will apply the same crop region and
15838 return the final used crop region in capture result metadata <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a>.<wbr/></p>
15839 <p>FULL capability devices (<a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> <code>==</code> FULL) will support
15840 FREEFORM cropping.<wbr/> LEGACY capability devices will only support CENTER_<wbr/>ONLY cropping.<wbr/></p>
15845 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
15846 <!-- end of entry -->
15850 <!-- end of kind -->
15852 <tr><td colspan="6" class="kind">dynamic</td></tr>
15854 <thead class="entries_header">
15856 <th class="th_name">Property Name</th>
15857 <th class="th_type">Type</th>
15858 <th class="th_description">Description</th>
15859 <th class="th_units">Units</th>
15860 <th class="th_range">Range</th>
15861 <th class="th_tags">Tags</th>
15876 <tr class="entry" id="dynamic_android.scaler.cropRegion">
15877 <td class="entry_name
15879 android.<wbr/>scaler.<wbr/>crop<wbr/>Region
15881 <td class="entry_type">
15882 <span class="entry_type_name">int32</span>
15883 <span class="entry_type_container">x</span>
15885 <span class="entry_type_array">
15888 <span class="entry_type_visibility"> [public as rectangle]</span>
15891 <span class="entry_type_hwlevel">[legacy] </span>
15896 </td> <!-- entry_type -->
15898 <td class="entry_description">
15899 <p>The desired region of the sensor to read out for this capture.<wbr/></p>
15902 <td class="entry_units">
15903 Pixel coordinates relative to
15904 android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size
15907 <td class="entry_range">
15910 <td class="entry_tags">
15911 <ul class="entry_tags">
15912 <li><a href="#tag_BC">BC</a></li>
15917 <tr class="entries_header">
15918 <th class="th_details" colspan="5">Details</th>
15920 <tr class="entry_cont">
15921 <td class="entry_details" colspan="5">
15922 <p>This control can be used to implement digital zoom.<wbr/></p>
15923 <p>The crop region coordinate system is based off
15924 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>,<wbr/> with <code>(0,<wbr/> 0)</code> being the
15925 top-left corner of the sensor active array.<wbr/></p>
15926 <p>Output streams use this rectangle to produce their output,<wbr/>
15927 cropping to a smaller region if necessary to maintain the
15928 stream's aspect ratio,<wbr/> then scaling the sensor input to
15929 match the output's configured resolution.<wbr/></p>
15930 <p>The crop region is applied after the RAW to other color
15931 space (e.<wbr/>g.<wbr/> YUV) conversion.<wbr/> Since raw streams
15932 (e.<wbr/>g.<wbr/> RAW16) don't have the conversion stage,<wbr/> they are not
15933 croppable.<wbr/> The crop region will be ignored by raw streams.<wbr/></p>
15934 <p>For non-raw streams,<wbr/> any additional per-stream cropping will
15935 be done to maximize the final pixel area of the stream.<wbr/></p>
15936 <p>For example,<wbr/> if the crop region is set to a 4:3 aspect
15937 ratio,<wbr/> then 4:3 streams will use the exact crop
15938 region.<wbr/> 16:9 streams will further crop vertically
15939 (letterbox).<wbr/></p>
15940 <p>Conversely,<wbr/> if the crop region is set to a 16:9,<wbr/> then 4:3
15941 outputs will crop horizontally (pillarbox),<wbr/> and 16:9
15942 streams will match exactly.<wbr/> These additional crops will
15943 be centered within the crop region.<wbr/></p>
15944 <p>The width and height of the crop region cannot
15945 be set to be smaller than
15946 <code>floor( activeArraySize.<wbr/>width /<wbr/> <a href="#static_android.scaler.availableMaxDigitalZoom">android.<wbr/>scaler.<wbr/>available<wbr/>Max<wbr/>Digital<wbr/>Zoom</a> )</code> and
15947 <code>floor( activeArraySize.<wbr/>height /<wbr/> <a href="#static_android.scaler.availableMaxDigitalZoom">android.<wbr/>scaler.<wbr/>available<wbr/>Max<wbr/>Digital<wbr/>Zoom</a> )</code>,<wbr/> respectively.<wbr/></p>
15948 <p>The camera device may adjust the crop region to account
15949 for rounding and other hardware requirements; the final
15950 crop region used will be included in the output capture
15955 <tr class="entries_header">
15956 <th class="th_details" colspan="5">HAL Implementation Details</th>
15958 <tr class="entry_cont">
15959 <td class="entry_details" colspan="5">
15960 <p>The output streams must maintain square pixels at all
15961 times,<wbr/> no matter what the relative aspect ratios of the
15962 crop region and the stream are.<wbr/> Negative values for
15963 corner are allowed for raw output if full pixel array is
15964 larger than active pixel array.<wbr/> Width and height may be
15965 rounded to nearest larger supportable width,<wbr/> especially
15966 for raw output,<wbr/> where only a few fixed scales may be
15967 possible.<wbr/></p>
15968 <p>HAL2.<wbr/>x uses only (x,<wbr/> y,<wbr/> width)</p>
15972 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
15973 <!-- end of entry -->
15977 <!-- end of kind -->
15980 <!-- end of section -->
15981 <tr><td colspan="6" id="section_sensor" class="section">sensor</td></tr>
15984 <tr><td colspan="6" class="kind">controls</td></tr>
15986 <thead class="entries_header">
15988 <th class="th_name">Property Name</th>
15989 <th class="th_type">Type</th>
15990 <th class="th_description">Description</th>
15991 <th class="th_units">Units</th>
15992 <th class="th_range">Range</th>
15993 <th class="th_tags">Tags</th>
16008 <tr class="entry" id="controls_android.sensor.exposureTime">
16009 <td class="entry_name
16011 android.<wbr/>sensor.<wbr/>exposure<wbr/>Time
16013 <td class="entry_type">
16014 <span class="entry_type_name">int64</span>
16016 <span class="entry_type_visibility"> [public]</span>
16019 <span class="entry_type_hwlevel">[full] </span>
16024 </td> <!-- entry_type -->
16026 <td class="entry_description">
16027 <p>Duration each pixel is exposed to
16031 <td class="entry_units">
16035 <td class="entry_range">
16036 <p><a href="#static_android.sensor.info.exposureTimeRange">android.<wbr/>sensor.<wbr/>info.<wbr/>exposure<wbr/>Time<wbr/>Range</a></p>
16039 <td class="entry_tags">
16040 <ul class="entry_tags">
16041 <li><a href="#tag_V1">V1</a></li>
16046 <tr class="entries_header">
16047 <th class="th_details" colspan="5">Details</th>
16049 <tr class="entry_cont">
16050 <td class="entry_details" colspan="5">
16051 <p>If the sensor can't expose this exact duration,<wbr/> it will shorten the
16052 duration exposed to the nearest possible value (rather than expose longer).<wbr/>
16053 The final exposure time used will be available in the output capture result.<wbr/></p>
16054 <p>This control is only effective if <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> or <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is set to
16055 OFF; otherwise the auto-exposure algorithm will override this value.<wbr/></p>
16060 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16061 <!-- end of entry -->
16064 <tr class="entry" id="controls_android.sensor.frameDuration">
16065 <td class="entry_name
16067 android.<wbr/>sensor.<wbr/>frame<wbr/>Duration
16069 <td class="entry_type">
16070 <span class="entry_type_name">int64</span>
16072 <span class="entry_type_visibility"> [public]</span>
16075 <span class="entry_type_hwlevel">[full] </span>
16080 </td> <!-- entry_type -->
16082 <td class="entry_description">
16083 <p>Duration from start of frame exposure to
16084 start of next frame exposure.<wbr/></p>
16087 <td class="entry_units">
16091 <td class="entry_range">
16092 <p>See <a href="#static_android.sensor.info.maxFrameDuration">android.<wbr/>sensor.<wbr/>info.<wbr/>max<wbr/>Frame<wbr/>Duration</a>,<wbr/>
16093 <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a>.<wbr/> The duration
16094 is capped to <code>max(duration,<wbr/> exposureTime + overhead)</code>.<wbr/></p>
16097 <td class="entry_tags">
16098 <ul class="entry_tags">
16099 <li><a href="#tag_V1">V1</a></li>
16104 <tr class="entries_header">
16105 <th class="th_details" colspan="5">Details</th>
16107 <tr class="entry_cont">
16108 <td class="entry_details" colspan="5">
16109 <p>The maximum frame rate that can be supported by a camera subsystem is
16110 a function of many factors:</p>
16112 <li>Requested resolutions of output image streams</li>
16113 <li>Availability of binning /<wbr/> skipping modes on the imager</li>
16114 <li>The bandwidth of the imager interface</li>
16115 <li>The bandwidth of the various ISP processing blocks</li>
16117 <p>Since these factors can vary greatly between different ISPs and
16118 sensors,<wbr/> the camera abstraction tries to represent the bandwidth
16119 restrictions with as simple a model as possible.<wbr/></p>
16120 <p>The model presented has the following characteristics:</p>
16122 <li>The image sensor is always configured to output the smallest
16123 resolution possible given the application's requested output stream
16124 sizes.<wbr/> The smallest resolution is defined as being at least as large
16125 as the largest requested output stream size; the camera pipeline must
16126 never digitally upsample sensor data when the crop region covers the
16127 whole sensor.<wbr/> In general,<wbr/> this means that if only small output stream
16128 resolutions are configured,<wbr/> the sensor can provide a higher frame
16130 <li>Since any request may use any or all the currently configured
16131 output streams,<wbr/> the sensor and ISP must be configured to support
16132 scaling a single capture to all the streams at the same time.<wbr/> This
16133 means the camera pipeline must be ready to produce the largest
16134 requested output size without any delay.<wbr/> Therefore,<wbr/> the overall
16135 frame rate of a given configured stream set is governed only by the
16136 largest requested stream resolution.<wbr/></li>
16137 <li>Using more than one output stream in a request does not affect the
16138 frame duration.<wbr/></li>
16139 <li>Certain format-streams may need to do additional background processing
16140 before data is consumed/<wbr/>produced by that stream.<wbr/> These processors
16141 can run concurrently to the rest of the camera pipeline,<wbr/> but
16142 cannot process more than 1 capture at a time.<wbr/></li>
16144 <p>The necessary information for the application,<wbr/> given the model above,<wbr/>
16145 is provided via the <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a> field
16146 using StreamConfigurationMap#getOutputMinFrameDuration(int,<wbr/> Size).<wbr/>
16147 These are used to determine the maximum frame rate /<wbr/> minimum frame
16148 duration that is possible for a given stream configuration.<wbr/></p>
16149 <p>Specifically,<wbr/> the application can use the following rules to
16150 determine the minimum frame duration it can request from the camera
16153 <li>Let the set of currently configured input/<wbr/>output streams
16154 be called <code>S</code>.<wbr/></li>
16155 <li>Find the minimum frame durations for each stream in <code>S</code>,<wbr/> by
16156 looking it up in <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a> using
16157 StreamConfigurationMap#getOutputMinFrameDuration(int,<wbr/> Size) (with
16158 its respective size/<wbr/>format).<wbr/> Let this set of frame durations be called
16159 <code>F</code>.<wbr/></li>
16160 <li>For any given request <code>R</code>,<wbr/> the minimum frame duration allowed
16161 for <code>R</code> is the maximum out of all values in <code>F</code>.<wbr/> Let the streams
16162 used in <code>R</code> be called <code>S_<wbr/>r</code>.<wbr/></li>
16164 <p>If none of the streams in <code>S_<wbr/>r</code> have a stall time (listed in
16165 StreamConfigurationMap#getOutputStallDuration(int,<wbr/>Size) using its
16166 respective size/<wbr/>format),<wbr/> then the frame duration in
16167 <code>F</code> determines the steady state frame rate that the application will
16168 get if it uses <code>R</code> as a repeating request.<wbr/> Let this special kind
16169 of request be called <code>Rsimple</code>.<wbr/></p>
16170 <p>A repeating request <code>Rsimple</code> can be <em>occasionally</em> interleaved
16171 by a single capture of a new request <code>Rstall</code> (which has at least
16172 one in-use stream with a non-0 stall time) and if <code>Rstall</code> has the
16173 same minimum frame duration this will not cause a frame rate loss
16174 if all buffers from the previous <code>Rstall</code> have already been
16175 delivered.<wbr/></p>
16176 <p>For more details about stalling,<wbr/> see
16177 StreamConfigurationMap#getOutputStallDuration(int,<wbr/>Size).<wbr/></p>
16178 <p>This control is only effective if <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> or <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is set to
16179 OFF; otherwise the auto-exposure algorithm will override this value.<wbr/></p>
16183 <tr class="entries_header">
16184 <th class="th_details" colspan="5">HAL Implementation Details</th>
16186 <tr class="entry_cont">
16187 <td class="entry_details" colspan="5">
16188 <p>For more details about stalling,<wbr/> see
16189 <a href="#static_android.scaler.availableStallDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stall<wbr/>Durations</a>.<wbr/></p>
16193 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16194 <!-- end of entry -->
16197 <tr class="entry" id="controls_android.sensor.sensitivity">
16198 <td class="entry_name
16200 android.<wbr/>sensor.<wbr/>sensitivity
16202 <td class="entry_type">
16203 <span class="entry_type_name">int32</span>
16205 <span class="entry_type_visibility"> [public]</span>
16208 <span class="entry_type_hwlevel">[full] </span>
16213 </td> <!-- entry_type -->
16215 <td class="entry_description">
16216 <p>The amount of gain applied to sensor data
16217 before processing.<wbr/></p>
16220 <td class="entry_units">
16221 ISO arithmetic units
16224 <td class="entry_range">
16225 <p><a href="#static_android.sensor.info.sensitivityRange">android.<wbr/>sensor.<wbr/>info.<wbr/>sensitivity<wbr/>Range</a></p>
16228 <td class="entry_tags">
16229 <ul class="entry_tags">
16230 <li><a href="#tag_V1">V1</a></li>
16235 <tr class="entries_header">
16236 <th class="th_details" colspan="5">Details</th>
16238 <tr class="entry_cont">
16239 <td class="entry_details" colspan="5">
16240 <p>The sensitivity is the standard ISO sensitivity value,<wbr/>
16241 as defined in ISO 12232:2006.<wbr/></p>
16242 <p>The sensitivity must be within <a href="#static_android.sensor.info.sensitivityRange">android.<wbr/>sensor.<wbr/>info.<wbr/>sensitivity<wbr/>Range</a>,<wbr/> and
16243 if if it less than <a href="#static_android.sensor.maxAnalogSensitivity">android.<wbr/>sensor.<wbr/>max<wbr/>Analog<wbr/>Sensitivity</a>,<wbr/> the camera device
16244 is guaranteed to use only analog amplification for applying the gain.<wbr/></p>
16245 <p>If the camera device cannot apply the exact sensitivity
16246 requested,<wbr/> it will reduce the gain to the nearest supported
16247 value.<wbr/> The final sensitivity used will be available in the
16248 output capture result.<wbr/></p>
16252 <tr class="entries_header">
16253 <th class="th_details" colspan="5">HAL Implementation Details</th>
16255 <tr class="entry_cont">
16256 <td class="entry_details" colspan="5">
16257 <p>ISO 12232:2006 REI method is acceptable.<wbr/></p>
16261 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16262 <!-- end of entry -->
16265 <tr class="entry" id="controls_android.sensor.testPatternData">
16266 <td class="entry_name
16268 android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Data
16270 <td class="entry_type">
16271 <span class="entry_type_name">int32</span>
16272 <span class="entry_type_container">x</span>
16274 <span class="entry_type_array">
16277 <span class="entry_type_visibility"> [public]</span>
16284 </td> <!-- entry_type -->
16286 <td class="entry_description">
16287 <p>A pixel <code>[R,<wbr/> G_<wbr/>even,<wbr/> G_<wbr/>odd,<wbr/> B]</code> that supplies the test pattern
16288 when <a href="#controls_android.sensor.testPatternMode">android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Mode</a> is SOLID_<wbr/>COLOR.<wbr/></p>
16291 <td class="entry_units">
16294 <td class="entry_range">
16297 <td class="entry_tags">
16301 <tr class="entries_header">
16302 <th class="th_details" colspan="5">Details</th>
16304 <tr class="entry_cont">
16305 <td class="entry_details" colspan="5">
16306 <p>Each color channel is treated as an unsigned 32-bit integer.<wbr/>
16307 The camera device then uses the most significant X bits
16308 that correspond to how many bits are in its Bayer raw sensor
16310 <p>For example,<wbr/> a sensor with RAW10 Bayer output would use the
16311 10 most significant bits from each color channel.<wbr/></p>
16315 <tr class="entries_header">
16316 <th class="th_details" colspan="5">HAL Implementation Details</th>
16318 <tr class="entry_cont">
16319 <td class="entry_details" colspan="5">
16324 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16325 <!-- end of entry -->
16328 <tr class="entry" id="controls_android.sensor.testPatternMode">
16329 <td class="entry_name
16331 android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Mode
16333 <td class="entry_type">
16334 <span class="entry_type_name entry_type_name_enum">int32</span>
16336 <span class="entry_type_visibility"> [public]</span>
16342 <ul class="entry_type_enum">
16344 <span class="entry_type_enum_name">OFF</span>
16345 <span class="entry_type_enum_notes"><p>No test pattern mode is used,<wbr/> and the camera
16346 device returns captures from the image sensor.<wbr/></p>
16347 <p>This is the default if the key is not set.<wbr/></p></span>
16350 <span class="entry_type_enum_name">SOLID_COLOR</span>
16351 <span class="entry_type_enum_notes"><p>Each pixel in <code>[R,<wbr/> G_<wbr/>even,<wbr/> G_<wbr/>odd,<wbr/> B]</code> is replaced by its
16352 respective color channel provided in
16353 <a href="#controls_android.sensor.testPatternData">android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Data</a>.<wbr/></p>
16354 <p>For example:</p>
16355 <pre><code>android.<wbr/>testPatternData = [0,<wbr/> 0xFFFFFFFF,<wbr/> 0xFFFFFFFF,<wbr/> 0]
16357 <p>All green pixels are 100% green.<wbr/> All red/<wbr/>blue pixels are black.<wbr/></p>
16358 <pre><code>android.<wbr/>testPatternData = [0xFFFFFFFF,<wbr/> 0,<wbr/> 0xFFFFFFFF,<wbr/> 0]
16360 <p>All red pixels are 100% red.<wbr/> Only the odd green pixels
16361 are 100% green.<wbr/> All blue pixels are 100% black.<wbr/></p></span>
16364 <span class="entry_type_enum_name">COLOR_BARS</span>
16365 <span class="entry_type_enum_notes"><p>All pixel data is replaced with an 8-bar color pattern.<wbr/></p>
16366 <p>The vertical bars (left-to-right) are as follows:</p>
16368 <li>100% white</li>
16377 <p>In general the image would look like the following:</p>
16378 <pre><code>W Y C G M R B K
16383 .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/>
16384 .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/>
16385 .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/>
16387 (B = Blue,<wbr/> K = Black)
16389 <p>Each bar should take up 1/<wbr/>8 of the sensor pixel array width.<wbr/>
16390 When this is not possible,<wbr/> the bar size should be rounded
16391 down to the nearest integer and the pattern can repeat
16392 on the right side.<wbr/></p>
16393 <p>Each bar's height must always take up the full sensor
16394 pixel array height.<wbr/></p>
16395 <p>Each pixel in this test pattern must be set to either
16396 0% intensity or 100% intensity.<wbr/></p></span>
16399 <span class="entry_type_enum_name">COLOR_BARS_FADE_TO_GRAY</span>
16400 <span class="entry_type_enum_notes"><p>The test pattern is similar to COLOR_<wbr/>BARS,<wbr/> except that
16401 each bar should start at its specified color at the top,<wbr/>
16402 and fade to gray at the bottom.<wbr/></p>
16403 <p>Furthermore each bar is further subdivided into a left and
16404 right half.<wbr/> The left half should have a smooth gradient,<wbr/>
16405 and the right half should have a quantized gradient.<wbr/></p>
16406 <p>In particular,<wbr/> the right half's should consist of blocks of the
16407 same color for 1/<wbr/>16th active sensor pixel array width.<wbr/></p>
16408 <p>The least significant bits in the quantized gradient should
16409 be copied from the most significant bits of the smooth gradient.<wbr/></p>
16410 <p>The height of each bar should always be a multiple of 128.<wbr/>
16411 When this is not the case,<wbr/> the pattern should repeat at the bottom
16412 of the image.<wbr/></p></span>
16415 <span class="entry_type_enum_name">PN9</span>
16416 <span class="entry_type_enum_notes"><p>All pixel data is replaced by a pseudo-random sequence
16417 generated from a PN9 512-bit sequence (typically implemented
16418 in hardware with a linear feedback shift register).<wbr/></p>
16419 <p>The generator should be reset at the beginning of each frame,<wbr/>
16420 and thus each subsequent raw frame with this test pattern should
16421 be exactly the same as the last.<wbr/></p></span>
16424 <span class="entry_type_enum_name">CUSTOM1</span>
16425 <span class="entry_type_enum_value">256</span>
16426 <span class="entry_type_enum_notes"><p>The first custom test pattern.<wbr/> All custom patterns that are
16427 available only on this camera device are at least this numeric
16429 <p>All of the custom test patterns will be static
16430 (that is the raw image must not vary from frame to frame).<wbr/></p></span>
16434 </td> <!-- entry_type -->
16436 <td class="entry_description">
16437 <p>When enabled,<wbr/> the sensor sends a test pattern instead of
16438 doing a real exposure from the camera.<wbr/></p>
16441 <td class="entry_units">
16444 <td class="entry_range">
16445 <p><a href="#static_android.sensor.availableTestPatternModes">android.<wbr/>sensor.<wbr/>available<wbr/>Test<wbr/>Pattern<wbr/>Modes</a></p>
16448 <td class="entry_tags">
16452 <tr class="entries_header">
16453 <th class="th_details" colspan="5">Details</th>
16455 <tr class="entry_cont">
16456 <td class="entry_details" colspan="5">
16457 <p>When a test pattern is enabled,<wbr/> all manual sensor controls specified
16458 by android.<wbr/>sensor.<wbr/>* will be ignored.<wbr/> All other controls should
16459 work as normal.<wbr/></p>
16460 <p>For example,<wbr/> if manual flash is enabled,<wbr/> flash firing should still
16461 occur (and that the test pattern remain unmodified,<wbr/> since the flash
16462 would not actually affect it).<wbr/></p>
16463 <p>Defaults to OFF.<wbr/></p>
16467 <tr class="entries_header">
16468 <th class="th_details" colspan="5">HAL Implementation Details</th>
16470 <tr class="entry_cont">
16471 <td class="entry_details" colspan="5">
16472 <p>All test patterns are specified in the Bayer domain.<wbr/></p>
16473 <p>The HAL may choose to substitute test patterns from the sensor
16474 with test patterns from on-device memory.<wbr/> In that case,<wbr/> it should be
16475 indistinguishable to the ISP whether the data came from the
16476 sensor interconnect bus (such as CSI2) or memory.<wbr/></p>
16480 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16481 <!-- end of entry -->
16485 <!-- end of kind -->
16487 <tr><td colspan="6" class="kind">static</td></tr>
16489 <thead class="entries_header">
16491 <th class="th_name">Property Name</th>
16492 <th class="th_type">Type</th>
16493 <th class="th_description">Description</th>
16494 <th class="th_units">Units</th>
16495 <th class="th_range">Range</th>
16496 <th class="th_tags">Tags</th>
16513 <tr class="entry" id="static_android.sensor.info.activeArraySize">
16514 <td class="entry_name
16516 android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size
16518 <td class="entry_type">
16519 <span class="entry_type_name">int32</span>
16520 <span class="entry_type_container">x</span>
16522 <span class="entry_type_array">
16525 <span class="entry_type_visibility"> [public as rectangle]</span>
16528 <span class="entry_type_hwlevel">[legacy] </span>
16531 <div class="entry_type_notes">Four ints defining the active pixel rectangle</div>
16534 </td> <!-- entry_type -->
16536 <td class="entry_description">
16537 <p>The area of the image sensor which corresponds to
16538 active pixels.<wbr/></p>
16541 <td class="entry_units">
16542 Pixel coordinates on the image sensor
16545 <td class="entry_range">
16549 <td class="entry_tags">
16550 <ul class="entry_tags">
16551 <li><a href="#tag_RAW">RAW</a></li>
16556 <tr class="entries_header">
16557 <th class="th_details" colspan="5">Details</th>
16559 <tr class="entry_cont">
16560 <td class="entry_details" colspan="5">
16561 <p>This is the region of the sensor that actually receives light from the scene.<wbr/>
16562 Therefore,<wbr/> the size of this region determines the maximum field of view and the maximum
16563 number of pixels that an image from this sensor can contain.<wbr/></p>
16564 <p>The rectangle is defined in terms of the full pixel array; (0,<wbr/>0) is the top-left of the
16565 full pixel array,<wbr/> and the size of the full pixel array is given by
16566 <a href="#static_android.sensor.info.pixelArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>pixel<wbr/>Array<wbr/>Size</a>.<wbr/></p>
16567 <p>Most other keys listing pixel coordinates have their coordinate systems based on the
16568 active array,<wbr/> with <code>(0,<wbr/> 0)</code> being the top-left of the active array rectangle.<wbr/></p>
16569 <p>The active array may be smaller than the full pixel array,<wbr/> since the full array may
16570 include black calibration pixels or other inactive regions.<wbr/></p>
16574 <tr class="entries_header">
16575 <th class="th_details" colspan="5">HAL Implementation Details</th>
16577 <tr class="entry_cont">
16578 <td class="entry_details" colspan="5">
16579 <p>This array contains <code>(xmin,<wbr/> ymin,<wbr/> width,<wbr/> height)</code>.<wbr/> The <code>(xmin,<wbr/> ymin)</code> must be
16580 >= <code>(0,<wbr/>0)</code>.<wbr/>
16581 The <code>(width,<wbr/> height)</code> must be <= <code><a href="#static_android.sensor.info.pixelArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>pixel<wbr/>Array<wbr/>Size</a></code>.<wbr/></p>
16585 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16586 <!-- end of entry -->
16589 <tr class="entry" id="static_android.sensor.info.sensitivityRange">
16590 <td class="entry_name
16592 android.<wbr/>sensor.<wbr/>info.<wbr/>sensitivity<wbr/>Range
16594 <td class="entry_type">
16595 <span class="entry_type_name">int32</span>
16596 <span class="entry_type_container">x</span>
16598 <span class="entry_type_array">
16601 <span class="entry_type_visibility"> [public as rangeInt]</span>
16604 <span class="entry_type_hwlevel">[full] </span>
16607 <div class="entry_type_notes">Range of supported sensitivities</div>
16610 </td> <!-- entry_type -->
16612 <td class="entry_description">
16613 <p>Range of sensitivities for <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a> supported by this
16614 camera device.<wbr/></p>
16617 <td class="entry_units">
16620 <td class="entry_range">
16621 <p>Min <= 100,<wbr/> Max >= 800</p>
16624 <td class="entry_tags">
16625 <ul class="entry_tags">
16626 <li><a href="#tag_BC">BC</a></li>
16627 <li><a href="#tag_V1">V1</a></li>
16632 <tr class="entries_header">
16633 <th class="th_details" colspan="5">Details</th>
16635 <tr class="entry_cont">
16636 <td class="entry_details" colspan="5">
16637 <p>The values are the standard ISO sensitivity values,<wbr/>
16638 as defined in ISO 12232:2006.<wbr/></p>
16643 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16644 <!-- end of entry -->
16647 <tr class="entry" id="static_android.sensor.info.colorFilterArrangement">
16648 <td class="entry_name
16650 android.<wbr/>sensor.<wbr/>info.<wbr/>color<wbr/>Filter<wbr/>Arrangement
16652 <td class="entry_type">
16653 <span class="entry_type_name entry_type_name_enum">byte</span>
16655 <span class="entry_type_visibility"> [public]</span>
16658 <span class="entry_type_hwlevel">[full] </span>
16662 <ul class="entry_type_enum">
16664 <span class="entry_type_enum_name">RGGB</span>
16667 <span class="entry_type_enum_name">GRBG</span>
16670 <span class="entry_type_enum_name">GBRG</span>
16673 <span class="entry_type_enum_name">BGGR</span>
16676 <span class="entry_type_enum_name">RGB</span>
16677 <span class="entry_type_enum_notes"><p>Sensor is not Bayer; output has 3 16-bit
16678 values for each pixel,<wbr/> instead of just 1 16-bit value
16679 per pixel.<wbr/></p></span>
16683 </td> <!-- entry_type -->
16685 <td class="entry_description">
16686 <p>The arrangement of color filters on sensor;
16687 represents the colors in the top-left 2x2 section of
16688 the sensor,<wbr/> in reading order.<wbr/></p>
16691 <td class="entry_units">
16694 <td class="entry_range">
16697 <td class="entry_tags">
16698 <ul class="entry_tags">
16699 <li><a href="#tag_RAW">RAW</a></li>
16706 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16707 <!-- end of entry -->
16710 <tr class="entry" id="static_android.sensor.info.exposureTimeRange">
16711 <td class="entry_name
16713 android.<wbr/>sensor.<wbr/>info.<wbr/>exposure<wbr/>Time<wbr/>Range
16715 <td class="entry_type">
16716 <span class="entry_type_name">int64</span>
16717 <span class="entry_type_container">x</span>
16719 <span class="entry_type_array">
16722 <span class="entry_type_visibility"> [public as rangeLong]</span>
16725 <span class="entry_type_hwlevel">[full] </span>
16728 <div class="entry_type_notes">nanoseconds</div>
16731 </td> <!-- entry_type -->
16733 <td class="entry_description">
16734 <p>The range of image exposure times for <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a> supported
16735 by this camera device.<wbr/></p>
16738 <td class="entry_units">
16742 <td class="entry_range">
16743 <p>The minimum exposure time will be less than 100 us.<wbr/> For FULL
16744 capability devices (<a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == FULL),<wbr/>
16745 the maximum exposure time will be greater than 100ms.<wbr/></p>
16748 <td class="entry_tags">
16749 <ul class="entry_tags">
16750 <li><a href="#tag_V1">V1</a></li>
16756 <tr class="entries_header">
16757 <th class="th_details" colspan="5">HAL Implementation Details</th>
16759 <tr class="entry_cont">
16760 <td class="entry_details" colspan="5">
16761 <p>For FULL capability devices (<a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == FULL),<wbr/>
16762 The maximum of the range SHOULD be at least 1 second (1e9),<wbr/> MUST be at least
16767 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16768 <!-- end of entry -->
16771 <tr class="entry" id="static_android.sensor.info.maxFrameDuration">
16772 <td class="entry_name
16774 android.<wbr/>sensor.<wbr/>info.<wbr/>max<wbr/>Frame<wbr/>Duration
16776 <td class="entry_type">
16777 <span class="entry_type_name">int64</span>
16779 <span class="entry_type_visibility"> [public]</span>
16782 <span class="entry_type_hwlevel">[full] </span>
16787 </td> <!-- entry_type -->
16789 <td class="entry_description">
16790 <p>The maximum possible frame duration (minimum frame rate) for
16791 <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> that is supported this camera device.<wbr/></p>
16794 <td class="entry_units">
16798 <td class="entry_range">
16799 <p>For FULL capability devices
16800 (<a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == FULL),<wbr/> at least 100ms.<wbr/></p>
16803 <td class="entry_tags">
16804 <ul class="entry_tags">
16805 <li><a href="#tag_V1">V1</a></li>
16810 <tr class="entries_header">
16811 <th class="th_details" colspan="5">Details</th>
16813 <tr class="entry_cont">
16814 <td class="entry_details" colspan="5">
16815 <p>Attempting to use frame durations beyond the maximum will result in the frame
16816 duration being clipped to the maximum.<wbr/> See that control for a full definition of frame
16817 durations.<wbr/></p>
16818 <p>Refer to StreamConfigurationMap#getOutputMinFrameDuration(int,<wbr/>Size) for the minimum
16819 frame duration values.<wbr/></p>
16823 <tr class="entries_header">
16824 <th class="th_details" colspan="5">HAL Implementation Details</th>
16826 <tr class="entry_cont">
16827 <td class="entry_details" colspan="5">
16828 <p>For FULL capability devices (<a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == FULL),<wbr/>
16829 The maximum of the range SHOULD be at least
16830 1 second (1e9),<wbr/> MUST be at least 100ms (100e6).<wbr/></p>
16831 <p><a href="#static_android.sensor.info.maxFrameDuration">android.<wbr/>sensor.<wbr/>info.<wbr/>max<wbr/>Frame<wbr/>Duration</a> must be greater or
16832 equal to the <a href="#static_android.sensor.info.exposureTimeRange">android.<wbr/>sensor.<wbr/>info.<wbr/>exposure<wbr/>Time<wbr/>Range</a> max
16833 value (since exposure time overrides frame duration).<wbr/></p>
16834 <p>Available minimum frame durations for JPEG must be no greater
16835 than that of the YUV_<wbr/>420_<wbr/>888/<wbr/>IMPLEMENTATION_<wbr/>DEFINED
16836 minimum frame durations (for that respective size).<wbr/></p>
16837 <p>Since JPEG processing is considered offline and can take longer than
16838 a single uncompressed capture,<wbr/> refer to
16839 <a href="#static_android.scaler.availableStallDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stall<wbr/>Durations</a>
16840 for details about encoding this scenario.<wbr/></p>
16844 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16845 <!-- end of entry -->
16848 <tr class="entry" id="static_android.sensor.info.physicalSize">
16849 <td class="entry_name
16851 android.<wbr/>sensor.<wbr/>info.<wbr/>physical<wbr/>Size
16853 <td class="entry_type">
16854 <span class="entry_type_name">float</span>
16855 <span class="entry_type_container">x</span>
16857 <span class="entry_type_array">
16860 <span class="entry_type_visibility"> [public as sizeF]</span>
16863 <span class="entry_type_hwlevel">[legacy] </span>
16866 <div class="entry_type_notes">width x height</div>
16869 </td> <!-- entry_type -->
16871 <td class="entry_description">
16872 <p>The physical dimensions of the full pixel
16876 <td class="entry_units">
16880 <td class="entry_range">
16883 <td class="entry_tags">
16884 <ul class="entry_tags">
16885 <li><a href="#tag_V1">V1</a></li>
16886 <li><a href="#tag_BC">BC</a></li>
16891 <tr class="entries_header">
16892 <th class="th_details" colspan="5">Details</th>
16894 <tr class="entry_cont">
16895 <td class="entry_details" colspan="5">
16896 <p>This is the physical size of the sensor pixel
16897 array defined by <a href="#static_android.sensor.info.pixelArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>pixel<wbr/>Array<wbr/>Size</a>.<wbr/></p>
16901 <tr class="entries_header">
16902 <th class="th_details" colspan="5">HAL Implementation Details</th>
16904 <tr class="entry_cont">
16905 <td class="entry_details" colspan="5">
16906 <p>Needed for FOV calculation for old API</p>
16910 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16911 <!-- end of entry -->
16914 <tr class="entry" id="static_android.sensor.info.pixelArraySize">
16915 <td class="entry_name
16917 android.<wbr/>sensor.<wbr/>info.<wbr/>pixel<wbr/>Array<wbr/>Size
16919 <td class="entry_type">
16920 <span class="entry_type_name">int32</span>
16921 <span class="entry_type_container">x</span>
16923 <span class="entry_type_array">
16926 <span class="entry_type_visibility"> [public as size]</span>
16929 <span class="entry_type_hwlevel">[legacy] </span>
16934 </td> <!-- entry_type -->
16936 <td class="entry_description">
16937 <p>Dimensions of the full pixel array,<wbr/> possibly
16938 including black calibration pixels.<wbr/></p>
16941 <td class="entry_units">
16945 <td class="entry_range">
16948 <td class="entry_tags">
16949 <ul class="entry_tags">
16950 <li><a href="#tag_RAW">RAW</a></li>
16951 <li><a href="#tag_BC">BC</a></li>
16956 <tr class="entries_header">
16957 <th class="th_details" colspan="5">Details</th>
16959 <tr class="entry_cont">
16960 <td class="entry_details" colspan="5">
16961 <p>The pixel count of the full pixel array,<wbr/>
16962 which covers <a href="#static_android.sensor.info.physicalSize">android.<wbr/>sensor.<wbr/>info.<wbr/>physical<wbr/>Size</a> area.<wbr/></p>
16963 <p>If a camera device supports raw sensor formats,<wbr/> either this
16964 or <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a> is the maximum output
16965 raw size listed in <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a>.<wbr/>
16966 If a size corresponding to pixelArraySize is listed,<wbr/> the resulting
16967 raw sensor image will include black pixels.<wbr/></p>
16968 <p>Some parts of the full pixel array may not receive light from the scene,<wbr/>
16969 or are otherwise inactive.<wbr/> The <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a> key
16970 defines the rectangle of active pixels that actually forms an image.<wbr/></p>
16975 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
16976 <!-- end of entry -->
16979 <tr class="entry" id="static_android.sensor.info.whiteLevel">
16980 <td class="entry_name
16982 android.<wbr/>sensor.<wbr/>info.<wbr/>white<wbr/>Level
16984 <td class="entry_type">
16985 <span class="entry_type_name">int32</span>
16987 <span class="entry_type_visibility"> [public]</span>
16994 </td> <!-- entry_type -->
16996 <td class="entry_description">
16997 <p>Maximum raw value output by sensor.<wbr/></p>
17000 <td class="entry_units">
17003 <td class="entry_range">
17004 <p>> 255 (8-bit output)</p>
17007 <td class="entry_tags">
17008 <ul class="entry_tags">
17009 <li><a href="#tag_RAW">RAW</a></li>
17014 <tr class="entries_header">
17015 <th class="th_details" colspan="5">Details</th>
17017 <tr class="entry_cont">
17018 <td class="entry_details" colspan="5">
17019 <p>This specifies the fully-saturated encoding level for the raw
17020 sample values from the sensor.<wbr/> This is typically caused by the
17021 sensor becoming highly non-linear or clipping.<wbr/> The minimum for
17022 each channel is specified by the offset in the
17023 <a href="#static_android.sensor.blackLevelPattern">android.<wbr/>sensor.<wbr/>black<wbr/>Level<wbr/>Pattern</a> key.<wbr/></p>
17024 <p>The white level is typically determined either by sensor bit depth
17025 (8-14 bits is expected),<wbr/> or by the point where the sensor response
17026 becomes too non-linear to be useful.<wbr/> The default value for this is
17027 maximum representable value for a 16-bit raw sample (2^16 - 1).<wbr/></p>
17031 <tr class="entries_header">
17032 <th class="th_details" colspan="5">HAL Implementation Details</th>
17034 <tr class="entry_cont">
17035 <td class="entry_details" colspan="5">
17036 <p>The full bit depth of the sensor must be available in the raw data,<wbr/>
17037 so the value for linear sensors should not be significantly lower
17038 than maximum raw value supported,<wbr/> i.<wbr/>e.<wbr/> 2^(sensor bits per pixel).<wbr/></p>
17042 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17043 <!-- end of entry -->
17046 <tr class="entry" id="static_android.sensor.info.timestampSource">
17047 <td class="entry_name
17049 android.<wbr/>sensor.<wbr/>info.<wbr/>timestamp<wbr/>Source
17051 <td class="entry_type">
17052 <span class="entry_type_name entry_type_name_enum">byte</span>
17054 <span class="entry_type_visibility"> [public]</span>
17057 <span class="entry_type_hwlevel">[legacy] </span>
17061 <ul class="entry_type_enum">
17063 <span class="entry_type_enum_name">UNKNOWN</span>
17064 <span class="entry_type_enum_notes"><p>Timestamps from <a href="#dynamic_android.sensor.timestamp">android.<wbr/>sensor.<wbr/>timestamp</a> are in nanoseconds and monotonic,<wbr/>
17065 but can not be compared to timestamps from other subsystems
17066 (e.<wbr/>g.<wbr/> accelerometer,<wbr/> gyro etc.<wbr/>),<wbr/> or other instances of the same or different
17067 camera devices in the same system.<wbr/> Timestamps between streams and results for
17068 a single camera instance are comparable,<wbr/> and the timestamps for all buffers
17069 and the result metadata generated by a single capture are identical.<wbr/></p></span>
17072 <span class="entry_type_enum_name">REALTIME</span>
17073 <span class="entry_type_enum_notes"><p>Timestamps from <a href="#dynamic_android.sensor.timestamp">android.<wbr/>sensor.<wbr/>timestamp</a> are in the same timebase as
17074 android.<wbr/>os.<wbr/>System<wbr/>Clock#elapsed<wbr/>Realtime<wbr/>Nanos(),<wbr/>
17075 and they can be compared to other timestamps using that base.<wbr/></p></span>
17079 </td> <!-- entry_type -->
17081 <td class="entry_description">
17082 <p>The time base source for sensor capture start timestamps.<wbr/></p>
17085 <td class="entry_units">
17088 <td class="entry_range">
17091 <td class="entry_tags">
17092 <ul class="entry_tags">
17093 <li><a href="#tag_V1">V1</a></li>
17098 <tr class="entries_header">
17099 <th class="th_details" colspan="5">Details</th>
17101 <tr class="entry_cont">
17102 <td class="entry_details" colspan="5">
17103 <p>The timestamps provided for captures are always in nanoseconds and monotonic,<wbr/> but
17104 may not based on a time source that can be compared to other system time sources.<wbr/></p>
17105 <p>This characteristic defines the source for the timestamps,<wbr/> and therefore whether they
17106 can be compared against other system time sources/<wbr/>timestamps.<wbr/></p>
17111 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17112 <!-- end of entry -->
17118 <tr class="entry" id="static_android.sensor.referenceIlluminant1">
17119 <td class="entry_name
17121 android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant1
17123 <td class="entry_type">
17124 <span class="entry_type_name entry_type_name_enum">byte</span>
17126 <span class="entry_type_visibility"> [public]</span>
17132 <ul class="entry_type_enum">
17134 <span class="entry_type_enum_name">DAYLIGHT</span>
17135 <span class="entry_type_enum_value">1</span>
17138 <span class="entry_type_enum_name">FLUORESCENT</span>
17139 <span class="entry_type_enum_value">2</span>
17142 <span class="entry_type_enum_name">TUNGSTEN</span>
17143 <span class="entry_type_enum_value">3</span>
17144 <span class="entry_type_enum_notes"><p>Incandescent light</p></span>
17147 <span class="entry_type_enum_name">FLASH</span>
17148 <span class="entry_type_enum_value">4</span>
17151 <span class="entry_type_enum_name">FINE_WEATHER</span>
17152 <span class="entry_type_enum_value">9</span>
17155 <span class="entry_type_enum_name">CLOUDY_WEATHER</span>
17156 <span class="entry_type_enum_value">10</span>
17159 <span class="entry_type_enum_name">SHADE</span>
17160 <span class="entry_type_enum_value">11</span>
17163 <span class="entry_type_enum_name">DAYLIGHT_FLUORESCENT</span>
17164 <span class="entry_type_enum_value">12</span>
17165 <span class="entry_type_enum_notes"><p>D 5700 - 7100K</p></span>
17168 <span class="entry_type_enum_name">DAY_WHITE_FLUORESCENT</span>
17169 <span class="entry_type_enum_value">13</span>
17170 <span class="entry_type_enum_notes"><p>N 4600 - 5400K</p></span>
17173 <span class="entry_type_enum_name">COOL_WHITE_FLUORESCENT</span>
17174 <span class="entry_type_enum_value">14</span>
17175 <span class="entry_type_enum_notes"><p>W 3900 - 4500K</p></span>
17178 <span class="entry_type_enum_name">WHITE_FLUORESCENT</span>
17179 <span class="entry_type_enum_value">15</span>
17180 <span class="entry_type_enum_notes"><p>WW 3200 - 3700K</p></span>
17183 <span class="entry_type_enum_name">STANDARD_A</span>
17184 <span class="entry_type_enum_value">17</span>
17187 <span class="entry_type_enum_name">STANDARD_B</span>
17188 <span class="entry_type_enum_value">18</span>
17191 <span class="entry_type_enum_name">STANDARD_C</span>
17192 <span class="entry_type_enum_value">19</span>
17195 <span class="entry_type_enum_name">D55</span>
17196 <span class="entry_type_enum_value">20</span>
17199 <span class="entry_type_enum_name">D65</span>
17200 <span class="entry_type_enum_value">21</span>
17203 <span class="entry_type_enum_name">D75</span>
17204 <span class="entry_type_enum_value">22</span>
17207 <span class="entry_type_enum_name">D50</span>
17208 <span class="entry_type_enum_value">23</span>
17211 <span class="entry_type_enum_name">ISO_STUDIO_TUNGSTEN</span>
17212 <span class="entry_type_enum_value">24</span>
17216 </td> <!-- entry_type -->
17218 <td class="entry_description">
17219 <p>The standard reference illuminant used as the scene light source when
17220 calculating the <a href="#static_android.sensor.colorTransform1">android.<wbr/>sensor.<wbr/>color<wbr/>Transform1</a>,<wbr/>
17221 <a href="#static_android.sensor.calibrationTransform1">android.<wbr/>sensor.<wbr/>calibration<wbr/>Transform1</a>,<wbr/> and
17222 <a href="#static_android.sensor.forwardMatrix1">android.<wbr/>sensor.<wbr/>forward<wbr/>Matrix1</a> matrices.<wbr/></p>
17225 <td class="entry_units">
17228 <td class="entry_range">
17231 <td class="entry_tags">
17232 <ul class="entry_tags">
17233 <li><a href="#tag_RAW">RAW</a></li>
17238 <tr class="entries_header">
17239 <th class="th_details" colspan="5">Details</th>
17241 <tr class="entry_cont">
17242 <td class="entry_details" colspan="5">
17243 <p>The values in this key correspond to the values defined for the
17244 EXIF LightSource tag.<wbr/> These illuminants are standard light sources
17245 that are often used calibrating camera devices.<wbr/></p>
17246 <p>If this key is present,<wbr/> then <a href="#static_android.sensor.colorTransform1">android.<wbr/>sensor.<wbr/>color<wbr/>Transform1</a>,<wbr/>
17247 <a href="#static_android.sensor.calibrationTransform1">android.<wbr/>sensor.<wbr/>calibration<wbr/>Transform1</a>,<wbr/> and
17248 <a href="#static_android.sensor.forwardMatrix1">android.<wbr/>sensor.<wbr/>forward<wbr/>Matrix1</a> will also be present.<wbr/></p>
17249 <p>Some devices may choose to provide a second set of calibration
17250 information for improved quality,<wbr/> including
17251 <a href="#static_android.sensor.referenceIlluminant2">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant2</a> and its corresponding matrices.<wbr/></p>
17255 <tr class="entries_header">
17256 <th class="th_details" colspan="5">HAL Implementation Details</th>
17258 <tr class="entry_cont">
17259 <td class="entry_details" colspan="5">
17260 <p>The first reference illuminant (<a href="#static_android.sensor.referenceIlluminant1">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant1</a>)
17261 and corresponding matrices must be present to support the RAW capability
17262 and DNG output.<wbr/></p>
17263 <p>When producing raw images with a color profile that has only been
17264 calibrated against a single light source,<wbr/> it is valid to omit
17265 <a href="#static_android.sensor.referenceIlluminant2">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant2</a> along with the
17266 <a href="#static_android.sensor.colorTransform2">android.<wbr/>sensor.<wbr/>color<wbr/>Transform2</a>,<wbr/> <a href="#static_android.sensor.calibrationTransform2">android.<wbr/>sensor.<wbr/>calibration<wbr/>Transform2</a>,<wbr/>
17267 and <a href="#static_android.sensor.forwardMatrix2">android.<wbr/>sensor.<wbr/>forward<wbr/>Matrix2</a> matrices.<wbr/></p>
17268 <p>If only <a href="#static_android.sensor.referenceIlluminant1">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant1</a> is included,<wbr/> it should be
17269 chosen so that it is representative of typical scene lighting.<wbr/> In
17270 general,<wbr/> D50 or DAYLIGHT will be chosen for this case.<wbr/></p>
17271 <p>If both <a href="#static_android.sensor.referenceIlluminant1">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant1</a> and
17272 <a href="#static_android.sensor.referenceIlluminant2">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant2</a> are included,<wbr/> they should be
17273 chosen to represent the typical range of scene lighting conditions.<wbr/>
17274 In general,<wbr/> low color temperature illuminant such as Standard-A will
17275 be chosen for the first reference illuminant and a higher color
17276 temperature illuminant such as D65 will be chosen for the second
17277 reference illuminant.<wbr/></p>
17281 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17282 <!-- end of entry -->
17285 <tr class="entry" id="static_android.sensor.referenceIlluminant2">
17286 <td class="entry_name
17288 android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant2
17290 <td class="entry_type">
17291 <span class="entry_type_name">byte</span>
17293 <span class="entry_type_visibility"> [public]</span>
17300 </td> <!-- entry_type -->
17302 <td class="entry_description">
17303 <p>The standard reference illuminant used as the scene light source when
17304 calculating the <a href="#static_android.sensor.colorTransform2">android.<wbr/>sensor.<wbr/>color<wbr/>Transform2</a>,<wbr/>
17305 <a href="#static_android.sensor.calibrationTransform2">android.<wbr/>sensor.<wbr/>calibration<wbr/>Transform2</a>,<wbr/> and
17306 <a href="#static_android.sensor.forwardMatrix2">android.<wbr/>sensor.<wbr/>forward<wbr/>Matrix2</a> matrices.<wbr/></p>
17309 <td class="entry_units">
17312 <td class="entry_range">
17313 <p>Any value listed in <a href="#static_android.sensor.referenceIlluminant1">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant1</a></p>
17316 <td class="entry_tags">
17317 <ul class="entry_tags">
17318 <li><a href="#tag_RAW">RAW</a></li>
17323 <tr class="entries_header">
17324 <th class="th_details" colspan="5">Details</th>
17326 <tr class="entry_cont">
17327 <td class="entry_details" colspan="5">
17328 <p>See <a href="#static_android.sensor.referenceIlluminant1">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant1</a> for more details.<wbr/></p>
17329 <p>If this key is present,<wbr/> then <a href="#static_android.sensor.colorTransform2">android.<wbr/>sensor.<wbr/>color<wbr/>Transform2</a>,<wbr/>
17330 <a href="#static_android.sensor.calibrationTransform2">android.<wbr/>sensor.<wbr/>calibration<wbr/>Transform2</a>,<wbr/> and
17331 <a href="#static_android.sensor.forwardMatrix2">android.<wbr/>sensor.<wbr/>forward<wbr/>Matrix2</a> will also be present.<wbr/></p>
17336 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17337 <!-- end of entry -->
17340 <tr class="entry" id="static_android.sensor.calibrationTransform1">
17341 <td class="entry_name
17343 android.<wbr/>sensor.<wbr/>calibration<wbr/>Transform1
17345 <td class="entry_type">
17346 <span class="entry_type_name">rational</span>
17347 <span class="entry_type_container">x</span>
17349 <span class="entry_type_array">
17352 <span class="entry_type_visibility"> [public as colorSpaceTransform]</span>
17357 <div class="entry_type_notes">3x3 matrix in row-major-order</div>
17360 </td> <!-- entry_type -->
17362 <td class="entry_description">
17363 <p>A per-device calibration transform matrix that maps from the
17364 reference sensor colorspace to the actual device sensor colorspace.<wbr/></p>
17367 <td class="entry_units">
17370 <td class="entry_range">
17373 <td class="entry_tags">
17374 <ul class="entry_tags">
17375 <li><a href="#tag_RAW">RAW</a></li>
17380 <tr class="entries_header">
17381 <th class="th_details" colspan="5">Details</th>
17383 <tr class="entry_cont">
17384 <td class="entry_details" colspan="5">
17385 <p>This matrix is used to correct for per-device variations in the
17386 sensor colorspace,<wbr/> and is used for processing raw buffer data.<wbr/></p>
17387 <p>The matrix is expressed as a 3x3 matrix in row-major-order,<wbr/> and
17388 contains a per-device calibration transform that maps colors
17389 from reference sensor color space (i.<wbr/>e.<wbr/> the "golden module"
17390 colorspace) into this camera device's native sensor color
17391 space under the first reference illuminant
17392 (<a href="#static_android.sensor.referenceIlluminant1">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant1</a>).<wbr/></p>
17397 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17398 <!-- end of entry -->
17401 <tr class="entry" id="static_android.sensor.calibrationTransform2">
17402 <td class="entry_name
17404 android.<wbr/>sensor.<wbr/>calibration<wbr/>Transform2
17406 <td class="entry_type">
17407 <span class="entry_type_name">rational</span>
17408 <span class="entry_type_container">x</span>
17410 <span class="entry_type_array">
17413 <span class="entry_type_visibility"> [public as colorSpaceTransform]</span>
17418 <div class="entry_type_notes">3x3 matrix in row-major-order</div>
17421 </td> <!-- entry_type -->
17423 <td class="entry_description">
17424 <p>A per-device calibration transform matrix that maps from the
17425 reference sensor colorspace to the actual device sensor colorspace
17426 (this is the colorspace of the raw buffer data).<wbr/></p>
17429 <td class="entry_units">
17432 <td class="entry_range">
17435 <td class="entry_tags">
17436 <ul class="entry_tags">
17437 <li><a href="#tag_RAW">RAW</a></li>
17442 <tr class="entries_header">
17443 <th class="th_details" colspan="5">Details</th>
17445 <tr class="entry_cont">
17446 <td class="entry_details" colspan="5">
17447 <p>This matrix is used to correct for per-device variations in the
17448 sensor colorspace,<wbr/> and is used for processing raw buffer data.<wbr/></p>
17449 <p>The matrix is expressed as a 3x3 matrix in row-major-order,<wbr/> and
17450 contains a per-device calibration transform that maps colors
17451 from reference sensor color space (i.<wbr/>e.<wbr/> the "golden module"
17452 colorspace) into this camera device's native sensor color
17453 space under the second reference illuminant
17454 (<a href="#static_android.sensor.referenceIlluminant2">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant2</a>).<wbr/></p>
17455 <p>This matrix will only be present if the second reference
17456 illuminant is present.<wbr/></p>
17461 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17462 <!-- end of entry -->
17465 <tr class="entry" id="static_android.sensor.colorTransform1">
17466 <td class="entry_name
17468 android.<wbr/>sensor.<wbr/>color<wbr/>Transform1
17470 <td class="entry_type">
17471 <span class="entry_type_name">rational</span>
17472 <span class="entry_type_container">x</span>
17474 <span class="entry_type_array">
17477 <span class="entry_type_visibility"> [public as colorSpaceTransform]</span>
17482 <div class="entry_type_notes">3x3 matrix in row-major-order</div>
17485 </td> <!-- entry_type -->
17487 <td class="entry_description">
17488 <p>A matrix that transforms color values from CIE XYZ color space to
17489 reference sensor color space.<wbr/></p>
17492 <td class="entry_units">
17495 <td class="entry_range">
17498 <td class="entry_tags">
17499 <ul class="entry_tags">
17500 <li><a href="#tag_RAW">RAW</a></li>
17505 <tr class="entries_header">
17506 <th class="th_details" colspan="5">Details</th>
17508 <tr class="entry_cont">
17509 <td class="entry_details" colspan="5">
17510 <p>This matrix is used to convert from the standard CIE XYZ color
17511 space to the reference sensor colorspace,<wbr/> and is used when processing
17512 raw buffer data.<wbr/></p>
17513 <p>The matrix is expressed as a 3x3 matrix in row-major-order,<wbr/> and
17514 contains a color transform matrix that maps colors from the CIE
17515 XYZ color space to the reference sensor color space (i.<wbr/>e.<wbr/> the
17516 "golden module" colorspace) under the first reference illuminant
17517 (<a href="#static_android.sensor.referenceIlluminant1">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant1</a>).<wbr/></p>
17518 <p>The white points chosen in both the reference sensor color space
17519 and the CIE XYZ colorspace when calculating this transform will
17520 match the standard white point for the first reference illuminant
17521 (i.<wbr/>e.<wbr/> no chromatic adaptation will be applied by this transform).<wbr/></p>
17526 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17527 <!-- end of entry -->
17530 <tr class="entry" id="static_android.sensor.colorTransform2">
17531 <td class="entry_name
17533 android.<wbr/>sensor.<wbr/>color<wbr/>Transform2
17535 <td class="entry_type">
17536 <span class="entry_type_name">rational</span>
17537 <span class="entry_type_container">x</span>
17539 <span class="entry_type_array">
17542 <span class="entry_type_visibility"> [public as colorSpaceTransform]</span>
17547 <div class="entry_type_notes">3x3 matrix in row-major-order</div>
17550 </td> <!-- entry_type -->
17552 <td class="entry_description">
17553 <p>A matrix that transforms color values from CIE XYZ color space to
17554 reference sensor color space.<wbr/></p>
17557 <td class="entry_units">
17560 <td class="entry_range">
17563 <td class="entry_tags">
17564 <ul class="entry_tags">
17565 <li><a href="#tag_RAW">RAW</a></li>
17570 <tr class="entries_header">
17571 <th class="th_details" colspan="5">Details</th>
17573 <tr class="entry_cont">
17574 <td class="entry_details" colspan="5">
17575 <p>This matrix is used to convert from the standard CIE XYZ color
17576 space to the reference sensor colorspace,<wbr/> and is used when processing
17577 raw buffer data.<wbr/></p>
17578 <p>The matrix is expressed as a 3x3 matrix in row-major-order,<wbr/> and
17579 contains a color transform matrix that maps colors from the CIE
17580 XYZ color space to the reference sensor color space (i.<wbr/>e.<wbr/> the
17581 "golden module" colorspace) under the second reference illuminant
17582 (<a href="#static_android.sensor.referenceIlluminant2">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant2</a>).<wbr/></p>
17583 <p>The white points chosen in both the reference sensor color space
17584 and the CIE XYZ colorspace when calculating this transform will
17585 match the standard white point for the second reference illuminant
17586 (i.<wbr/>e.<wbr/> no chromatic adaptation will be applied by this transform).<wbr/></p>
17587 <p>This matrix will only be present if the second reference
17588 illuminant is present.<wbr/></p>
17593 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17594 <!-- end of entry -->
17597 <tr class="entry" id="static_android.sensor.forwardMatrix1">
17598 <td class="entry_name
17600 android.<wbr/>sensor.<wbr/>forward<wbr/>Matrix1
17602 <td class="entry_type">
17603 <span class="entry_type_name">rational</span>
17604 <span class="entry_type_container">x</span>
17606 <span class="entry_type_array">
17609 <span class="entry_type_visibility"> [public as colorSpaceTransform]</span>
17614 <div class="entry_type_notes">3x3 matrix in row-major-order</div>
17617 </td> <!-- entry_type -->
17619 <td class="entry_description">
17620 <p>A matrix that transforms white balanced camera colors from the reference
17621 sensor colorspace to the CIE XYZ colorspace with a D50 whitepoint.<wbr/></p>
17624 <td class="entry_units">
17627 <td class="entry_range">
17630 <td class="entry_tags">
17631 <ul class="entry_tags">
17632 <li><a href="#tag_RAW">RAW</a></li>
17637 <tr class="entries_header">
17638 <th class="th_details" colspan="5">Details</th>
17640 <tr class="entry_cont">
17641 <td class="entry_details" colspan="5">
17642 <p>This matrix is used to convert to the standard CIE XYZ colorspace,<wbr/> and
17643 is used when processing raw buffer data.<wbr/></p>
17644 <p>This matrix is expressed as a 3x3 matrix in row-major-order,<wbr/> and contains
17645 a color transform matrix that maps white balanced colors from the
17646 reference sensor color space to the CIE XYZ color space with a D50 white
17648 <p>Under the first reference illuminant (<a href="#static_android.sensor.referenceIlluminant1">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant1</a>)
17649 this matrix is chosen so that the standard white point for this reference
17650 illuminant in the reference sensor colorspace is mapped to D50 in the
17651 CIE XYZ colorspace.<wbr/></p>
17656 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17657 <!-- end of entry -->
17660 <tr class="entry" id="static_android.sensor.forwardMatrix2">
17661 <td class="entry_name
17663 android.<wbr/>sensor.<wbr/>forward<wbr/>Matrix2
17665 <td class="entry_type">
17666 <span class="entry_type_name">rational</span>
17667 <span class="entry_type_container">x</span>
17669 <span class="entry_type_array">
17672 <span class="entry_type_visibility"> [public as colorSpaceTransform]</span>
17677 <div class="entry_type_notes">3x3 matrix in row-major-order</div>
17680 </td> <!-- entry_type -->
17682 <td class="entry_description">
17683 <p>A matrix that transforms white balanced camera colors from the reference
17684 sensor colorspace to the CIE XYZ colorspace with a D50 whitepoint.<wbr/></p>
17687 <td class="entry_units">
17690 <td class="entry_range">
17693 <td class="entry_tags">
17694 <ul class="entry_tags">
17695 <li><a href="#tag_RAW">RAW</a></li>
17700 <tr class="entries_header">
17701 <th class="th_details" colspan="5">Details</th>
17703 <tr class="entry_cont">
17704 <td class="entry_details" colspan="5">
17705 <p>This matrix is used to convert to the standard CIE XYZ colorspace,<wbr/> and
17706 is used when processing raw buffer data.<wbr/></p>
17707 <p>This matrix is expressed as a 3x3 matrix in row-major-order,<wbr/> and contains
17708 a color transform matrix that maps white balanced colors from the
17709 reference sensor color space to the CIE XYZ color space with a D50 white
17711 <p>Under the second reference illuminant (<a href="#static_android.sensor.referenceIlluminant2">android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant2</a>)
17712 this matrix is chosen so that the standard white point for this reference
17713 illuminant in the reference sensor colorspace is mapped to D50 in the
17714 CIE XYZ colorspace.<wbr/></p>
17715 <p>This matrix will only be present if the second reference
17716 illuminant is present.<wbr/></p>
17721 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17722 <!-- end of entry -->
17725 <tr class="entry" id="static_android.sensor.baseGainFactor">
17726 <td class="entry_name
17728 android.<wbr/>sensor.<wbr/>base<wbr/>Gain<wbr/>Factor
17730 <td class="entry_type">
17731 <span class="entry_type_name">rational</span>
17733 <span class="entry_type_visibility"> [system]</span>
17740 </td> <!-- entry_type -->
17742 <td class="entry_description">
17743 <p>Gain factor from electrons to raw units when
17747 <td class="entry_units">
17750 <td class="entry_range">
17753 <td class="entry_tags">
17754 <ul class="entry_tags">
17755 <li><a href="#tag_FUTURE">FUTURE</a></li>
17762 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17763 <!-- end of entry -->
17766 <tr class="entry" id="static_android.sensor.blackLevelPattern">
17767 <td class="entry_name
17769 android.<wbr/>sensor.<wbr/>black<wbr/>Level<wbr/>Pattern
17771 <td class="entry_type">
17772 <span class="entry_type_name">int32</span>
17773 <span class="entry_type_container">x</span>
17775 <span class="entry_type_array">
17778 <span class="entry_type_visibility"> [public as blackLevelPattern]</span>
17783 <div class="entry_type_notes">2x2 raw count block</div>
17786 </td> <!-- entry_type -->
17788 <td class="entry_description">
17789 <p>A fixed black level offset for each of the color filter arrangement
17790 (CFA) mosaic channels.<wbr/></p>
17793 <td class="entry_units">
17796 <td class="entry_range">
17797 <p>>= 0 for each.<wbr/></p>
17800 <td class="entry_tags">
17801 <ul class="entry_tags">
17802 <li><a href="#tag_RAW">RAW</a></li>
17807 <tr class="entries_header">
17808 <th class="th_details" colspan="5">Details</th>
17810 <tr class="entry_cont">
17811 <td class="entry_details" colspan="5">
17812 <p>This key specifies the zero light value for each of the CFA mosaic
17813 channels in the camera sensor.<wbr/> The maximal value output by the
17814 sensor is represented by the value in <a href="#static_android.sensor.info.whiteLevel">android.<wbr/>sensor.<wbr/>info.<wbr/>white<wbr/>Level</a>.<wbr/></p>
17815 <p>The values are given in the same order as channels listed for the CFA
17816 layout key (see <a href="#static_android.sensor.info.colorFilterArrangement">android.<wbr/>sensor.<wbr/>info.<wbr/>color<wbr/>Filter<wbr/>Arrangement</a>),<wbr/> i.<wbr/>e.<wbr/> the
17817 nth value given corresponds to the black level offset for the nth
17818 color channel listed in the CFA.<wbr/></p>
17822 <tr class="entries_header">
17823 <th class="th_details" colspan="5">HAL Implementation Details</th>
17825 <tr class="entry_cont">
17826 <td class="entry_details" colspan="5">
17827 <p>The values are given in row-column scan order,<wbr/> with the first value
17828 corresponding to the element of the CFA in row=0,<wbr/> column=0.<wbr/></p>
17832 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17833 <!-- end of entry -->
17836 <tr class="entry" id="static_android.sensor.maxAnalogSensitivity">
17837 <td class="entry_name
17839 android.<wbr/>sensor.<wbr/>max<wbr/>Analog<wbr/>Sensitivity
17841 <td class="entry_type">
17842 <span class="entry_type_name">int32</span>
17844 <span class="entry_type_visibility"> [public]</span>
17847 <span class="entry_type_hwlevel">[full] </span>
17852 </td> <!-- entry_type -->
17854 <td class="entry_description">
17855 <p>Maximum sensitivity that is implemented
17856 purely through analog gain.<wbr/></p>
17859 <td class="entry_units">
17862 <td class="entry_range">
17865 <td class="entry_tags">
17866 <ul class="entry_tags">
17867 <li><a href="#tag_V1">V1</a></li>
17868 <li><a href="#tag_FULL">FULL</a></li>
17873 <tr class="entries_header">
17874 <th class="th_details" colspan="5">Details</th>
17876 <tr class="entry_cont">
17877 <td class="entry_details" colspan="5">
17878 <p>For <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a> values less than or
17879 equal to this,<wbr/> all applied gain must be analog.<wbr/> For
17880 values above this,<wbr/> the gain applied can be a mix of analog and
17886 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17887 <!-- end of entry -->
17890 <tr class="entry" id="static_android.sensor.orientation">
17891 <td class="entry_name
17893 android.<wbr/>sensor.<wbr/>orientation
17895 <td class="entry_type">
17896 <span class="entry_type_name">int32</span>
17898 <span class="entry_type_visibility"> [public]</span>
17901 <span class="entry_type_hwlevel">[legacy] </span>
17906 </td> <!-- entry_type -->
17908 <td class="entry_description">
17909 <p>Clockwise angle through which the output image needs to be rotated to be
17910 upright on the device screen in its native orientation.<wbr/></p>
17913 <td class="entry_units">
17914 Degrees of clockwise rotation; always a multiple of
17918 <td class="entry_range">
17919 <p>0,<wbr/> 90,<wbr/> 180,<wbr/> 270</p>
17922 <td class="entry_tags">
17923 <ul class="entry_tags">
17924 <li><a href="#tag_BC">BC</a></li>
17929 <tr class="entries_header">
17930 <th class="th_details" colspan="5">Details</th>
17932 <tr class="entry_cont">
17933 <td class="entry_details" colspan="5">
17934 <p>Also defines the direction of rolling shutter readout,<wbr/> which is from top to bottom in
17935 the sensor's coordinate system.<wbr/></p>
17940 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
17941 <!-- end of entry -->
17944 <tr class="entry" id="static_android.sensor.profileHueSatMapDimensions">
17945 <td class="entry_name
17947 android.<wbr/>sensor.<wbr/>profile<wbr/>Hue<wbr/>Sat<wbr/>Map<wbr/>Dimensions
17949 <td class="entry_type">
17950 <span class="entry_type_name">int32</span>
17951 <span class="entry_type_container">x</span>
17953 <span class="entry_type_array">
17956 <span class="entry_type_visibility"> [system]</span>
17961 <div class="entry_type_notes">Number of samples for hue,<wbr/> saturation,<wbr/> and value</div>
17964 </td> <!-- entry_type -->
17966 <td class="entry_description">
17967 <p>The number of input samples for each dimension of
17968 <a href="#dynamic_android.sensor.profileHueSatMap">android.<wbr/>sensor.<wbr/>profile<wbr/>Hue<wbr/>Sat<wbr/>Map</a>.<wbr/></p>
17971 <td class="entry_units">
17974 <td class="entry_range">
17975 <p>Hue >= 1,<wbr/>
17976 Saturation >= 2,<wbr/>
17980 <td class="entry_tags">
17981 <ul class="entry_tags">
17982 <li><a href="#tag_RAW">RAW</a></li>
17987 <tr class="entries_header">
17988 <th class="th_details" colspan="5">Details</th>
17990 <tr class="entry_cont">
17991 <td class="entry_details" colspan="5">
17992 <p>The number of input samples for the hue,<wbr/> saturation,<wbr/> and value
17993 dimension of <a href="#dynamic_android.sensor.profileHueSatMap">android.<wbr/>sensor.<wbr/>profile<wbr/>Hue<wbr/>Sat<wbr/>Map</a>.<wbr/> The order of the
17994 dimensions given is hue,<wbr/> saturation,<wbr/> value; where hue is the 0th
18000 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18001 <!-- end of entry -->
18004 <tr class="entry" id="static_android.sensor.availableTestPatternModes">
18005 <td class="entry_name
18007 android.<wbr/>sensor.<wbr/>available<wbr/>Test<wbr/>Pattern<wbr/>Modes
18009 <td class="entry_type">
18010 <span class="entry_type_name">int32</span>
18011 <span class="entry_type_container">x</span>
18013 <span class="entry_type_array">
18016 <span class="entry_type_visibility"> [public]</span>
18021 <div class="entry_type_notes">list of enums</div>
18024 </td> <!-- entry_type -->
18026 <td class="entry_description">
18027 <p>List of sensor test pattern modes for <a href="#controls_android.sensor.testPatternMode">android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Mode</a>
18028 supported by this camera device.<wbr/></p>
18031 <td class="entry_units">
18034 <td class="entry_range">
18035 <p>Any value listed in <a href="#controls_android.sensor.testPatternMode">android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Mode</a></p>
18038 <td class="entry_tags">
18042 <tr class="entries_header">
18043 <th class="th_details" colspan="5">Details</th>
18045 <tr class="entry_cont">
18046 <td class="entry_details" colspan="5">
18047 <p>Defaults to OFF,<wbr/> and always includes OFF if defined.<wbr/></p>
18051 <tr class="entries_header">
18052 <th class="th_details" colspan="5">HAL Implementation Details</th>
18054 <tr class="entry_cont">
18055 <td class="entry_details" colspan="5">
18056 <p>All custom modes must be >= CUSTOM1.<wbr/></p>
18060 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18061 <!-- end of entry -->
18065 <!-- end of kind -->
18067 <tr><td colspan="6" class="kind">dynamic</td></tr>
18069 <thead class="entries_header">
18071 <th class="th_name">Property Name</th>
18072 <th class="th_type">Type</th>
18073 <th class="th_description">Description</th>
18074 <th class="th_units">Units</th>
18075 <th class="th_range">Range</th>
18076 <th class="th_tags">Tags</th>
18091 <tr class="entry" id="dynamic_android.sensor.exposureTime">
18092 <td class="entry_name
18094 android.<wbr/>sensor.<wbr/>exposure<wbr/>Time
18096 <td class="entry_type">
18097 <span class="entry_type_name">int64</span>
18099 <span class="entry_type_visibility"> [public]</span>
18102 <span class="entry_type_hwlevel">[full] </span>
18107 </td> <!-- entry_type -->
18109 <td class="entry_description">
18110 <p>Duration each pixel is exposed to
18114 <td class="entry_units">
18118 <td class="entry_range">
18119 <p><a href="#static_android.sensor.info.exposureTimeRange">android.<wbr/>sensor.<wbr/>info.<wbr/>exposure<wbr/>Time<wbr/>Range</a></p>
18122 <td class="entry_tags">
18123 <ul class="entry_tags">
18124 <li><a href="#tag_V1">V1</a></li>
18129 <tr class="entries_header">
18130 <th class="th_details" colspan="5">Details</th>
18132 <tr class="entry_cont">
18133 <td class="entry_details" colspan="5">
18134 <p>If the sensor can't expose this exact duration,<wbr/> it will shorten the
18135 duration exposed to the nearest possible value (rather than expose longer).<wbr/>
18136 The final exposure time used will be available in the output capture result.<wbr/></p>
18137 <p>This control is only effective if <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> or <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is set to
18138 OFF; otherwise the auto-exposure algorithm will override this value.<wbr/></p>
18143 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18144 <!-- end of entry -->
18147 <tr class="entry" id="dynamic_android.sensor.frameDuration">
18148 <td class="entry_name
18150 android.<wbr/>sensor.<wbr/>frame<wbr/>Duration
18152 <td class="entry_type">
18153 <span class="entry_type_name">int64</span>
18155 <span class="entry_type_visibility"> [public]</span>
18158 <span class="entry_type_hwlevel">[full] </span>
18163 </td> <!-- entry_type -->
18165 <td class="entry_description">
18166 <p>Duration from start of frame exposure to
18167 start of next frame exposure.<wbr/></p>
18170 <td class="entry_units">
18174 <td class="entry_range">
18175 <p>See <a href="#static_android.sensor.info.maxFrameDuration">android.<wbr/>sensor.<wbr/>info.<wbr/>max<wbr/>Frame<wbr/>Duration</a>,<wbr/>
18176 <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a>.<wbr/> The duration
18177 is capped to <code>max(duration,<wbr/> exposureTime + overhead)</code>.<wbr/></p>
18180 <td class="entry_tags">
18181 <ul class="entry_tags">
18182 <li><a href="#tag_V1">V1</a></li>
18187 <tr class="entries_header">
18188 <th class="th_details" colspan="5">Details</th>
18190 <tr class="entry_cont">
18191 <td class="entry_details" colspan="5">
18192 <p>The maximum frame rate that can be supported by a camera subsystem is
18193 a function of many factors:</p>
18195 <li>Requested resolutions of output image streams</li>
18196 <li>Availability of binning /<wbr/> skipping modes on the imager</li>
18197 <li>The bandwidth of the imager interface</li>
18198 <li>The bandwidth of the various ISP processing blocks</li>
18200 <p>Since these factors can vary greatly between different ISPs and
18201 sensors,<wbr/> the camera abstraction tries to represent the bandwidth
18202 restrictions with as simple a model as possible.<wbr/></p>
18203 <p>The model presented has the following characteristics:</p>
18205 <li>The image sensor is always configured to output the smallest
18206 resolution possible given the application's requested output stream
18207 sizes.<wbr/> The smallest resolution is defined as being at least as large
18208 as the largest requested output stream size; the camera pipeline must
18209 never digitally upsample sensor data when the crop region covers the
18210 whole sensor.<wbr/> In general,<wbr/> this means that if only small output stream
18211 resolutions are configured,<wbr/> the sensor can provide a higher frame
18213 <li>Since any request may use any or all the currently configured
18214 output streams,<wbr/> the sensor and ISP must be configured to support
18215 scaling a single capture to all the streams at the same time.<wbr/> This
18216 means the camera pipeline must be ready to produce the largest
18217 requested output size without any delay.<wbr/> Therefore,<wbr/> the overall
18218 frame rate of a given configured stream set is governed only by the
18219 largest requested stream resolution.<wbr/></li>
18220 <li>Using more than one output stream in a request does not affect the
18221 frame duration.<wbr/></li>
18222 <li>Certain format-streams may need to do additional background processing
18223 before data is consumed/<wbr/>produced by that stream.<wbr/> These processors
18224 can run concurrently to the rest of the camera pipeline,<wbr/> but
18225 cannot process more than 1 capture at a time.<wbr/></li>
18227 <p>The necessary information for the application,<wbr/> given the model above,<wbr/>
18228 is provided via the <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a> field
18229 using StreamConfigurationMap#getOutputMinFrameDuration(int,<wbr/> Size).<wbr/>
18230 These are used to determine the maximum frame rate /<wbr/> minimum frame
18231 duration that is possible for a given stream configuration.<wbr/></p>
18232 <p>Specifically,<wbr/> the application can use the following rules to
18233 determine the minimum frame duration it can request from the camera
18236 <li>Let the set of currently configured input/<wbr/>output streams
18237 be called <code>S</code>.<wbr/></li>
18238 <li>Find the minimum frame durations for each stream in <code>S</code>,<wbr/> by
18239 looking it up in <a href="#static_android.scaler.streamConfigurationMap">android.<wbr/>scaler.<wbr/>stream<wbr/>Configuration<wbr/>Map</a> using
18240 StreamConfigurationMap#getOutputMinFrameDuration(int,<wbr/> Size) (with
18241 its respective size/<wbr/>format).<wbr/> Let this set of frame durations be called
18242 <code>F</code>.<wbr/></li>
18243 <li>For any given request <code>R</code>,<wbr/> the minimum frame duration allowed
18244 for <code>R</code> is the maximum out of all values in <code>F</code>.<wbr/> Let the streams
18245 used in <code>R</code> be called <code>S_<wbr/>r</code>.<wbr/></li>
18247 <p>If none of the streams in <code>S_<wbr/>r</code> have a stall time (listed in
18248 StreamConfigurationMap#getOutputStallDuration(int,<wbr/>Size) using its
18249 respective size/<wbr/>format),<wbr/> then the frame duration in
18250 <code>F</code> determines the steady state frame rate that the application will
18251 get if it uses <code>R</code> as a repeating request.<wbr/> Let this special kind
18252 of request be called <code>Rsimple</code>.<wbr/></p>
18253 <p>A repeating request <code>Rsimple</code> can be <em>occasionally</em> interleaved
18254 by a single capture of a new request <code>Rstall</code> (which has at least
18255 one in-use stream with a non-0 stall time) and if <code>Rstall</code> has the
18256 same minimum frame duration this will not cause a frame rate loss
18257 if all buffers from the previous <code>Rstall</code> have already been
18258 delivered.<wbr/></p>
18259 <p>For more details about stalling,<wbr/> see
18260 StreamConfigurationMap#getOutputStallDuration(int,<wbr/>Size).<wbr/></p>
18261 <p>This control is only effective if <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> or <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is set to
18262 OFF; otherwise the auto-exposure algorithm will override this value.<wbr/></p>
18266 <tr class="entries_header">
18267 <th class="th_details" colspan="5">HAL Implementation Details</th>
18269 <tr class="entry_cont">
18270 <td class="entry_details" colspan="5">
18271 <p>For more details about stalling,<wbr/> see
18272 <a href="#static_android.scaler.availableStallDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stall<wbr/>Durations</a>.<wbr/></p>
18276 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18277 <!-- end of entry -->
18280 <tr class="entry" id="dynamic_android.sensor.sensitivity">
18281 <td class="entry_name
18283 android.<wbr/>sensor.<wbr/>sensitivity
18285 <td class="entry_type">
18286 <span class="entry_type_name">int32</span>
18288 <span class="entry_type_visibility"> [public]</span>
18291 <span class="entry_type_hwlevel">[full] </span>
18296 </td> <!-- entry_type -->
18298 <td class="entry_description">
18299 <p>The amount of gain applied to sensor data
18300 before processing.<wbr/></p>
18303 <td class="entry_units">
18304 ISO arithmetic units
18307 <td class="entry_range">
18308 <p><a href="#static_android.sensor.info.sensitivityRange">android.<wbr/>sensor.<wbr/>info.<wbr/>sensitivity<wbr/>Range</a></p>
18311 <td class="entry_tags">
18312 <ul class="entry_tags">
18313 <li><a href="#tag_V1">V1</a></li>
18318 <tr class="entries_header">
18319 <th class="th_details" colspan="5">Details</th>
18321 <tr class="entry_cont">
18322 <td class="entry_details" colspan="5">
18323 <p>The sensitivity is the standard ISO sensitivity value,<wbr/>
18324 as defined in ISO 12232:2006.<wbr/></p>
18325 <p>The sensitivity must be within <a href="#static_android.sensor.info.sensitivityRange">android.<wbr/>sensor.<wbr/>info.<wbr/>sensitivity<wbr/>Range</a>,<wbr/> and
18326 if if it less than <a href="#static_android.sensor.maxAnalogSensitivity">android.<wbr/>sensor.<wbr/>max<wbr/>Analog<wbr/>Sensitivity</a>,<wbr/> the camera device
18327 is guaranteed to use only analog amplification for applying the gain.<wbr/></p>
18328 <p>If the camera device cannot apply the exact sensitivity
18329 requested,<wbr/> it will reduce the gain to the nearest supported
18330 value.<wbr/> The final sensitivity used will be available in the
18331 output capture result.<wbr/></p>
18335 <tr class="entries_header">
18336 <th class="th_details" colspan="5">HAL Implementation Details</th>
18338 <tr class="entry_cont">
18339 <td class="entry_details" colspan="5">
18340 <p>ISO 12232:2006 REI method is acceptable.<wbr/></p>
18344 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18345 <!-- end of entry -->
18348 <tr class="entry" id="dynamic_android.sensor.timestamp">
18349 <td class="entry_name
18351 android.<wbr/>sensor.<wbr/>timestamp
18353 <td class="entry_type">
18354 <span class="entry_type_name">int64</span>
18356 <span class="entry_type_visibility"> [public]</span>
18359 <span class="entry_type_hwlevel">[legacy] </span>
18364 </td> <!-- entry_type -->
18366 <td class="entry_description">
18367 <p>Time at start of exposure of first
18368 row of the image sensor active array,<wbr/> in nanoseconds.<wbr/></p>
18371 <td class="entry_units">
18375 <td class="entry_range">
18379 <td class="entry_tags">
18380 <ul class="entry_tags">
18381 <li><a href="#tag_BC">BC</a></li>
18386 <tr class="entries_header">
18387 <th class="th_details" colspan="5">Details</th>
18389 <tr class="entry_cont">
18390 <td class="entry_details" colspan="5">
18391 <p>The timestamps are also included in all image
18392 buffers produced for the same capture,<wbr/> and will be identical
18393 on all the outputs.<wbr/></p>
18394 <p>When <a href="#static_android.sensor.info.timestampSource">android.<wbr/>sensor.<wbr/>info.<wbr/>timestamp<wbr/>Source</a> <code>==</code> UNKNOWN,<wbr/>
18395 the timestamps measure time since an unspecified starting point,<wbr/>
18396 and are monotonically increasing.<wbr/> They can be compared with the
18397 timestamps for other captures from the same camera device,<wbr/> but are
18398 not guaranteed to be comparable to any other time source.<wbr/></p>
18399 <p>When <a href="#static_android.sensor.info.timestampSource">android.<wbr/>sensor.<wbr/>info.<wbr/>timestamp<wbr/>Source</a> <code>==</code> REALTIME,<wbr/>
18400 the timestamps measure time in the same timebase as
18401 android.<wbr/>os.<wbr/>System<wbr/>Clock#elapsed<wbr/>Realtime<wbr/>Nanos(),<wbr/> and they can be
18402 compared to other timestamps from other subsystems that are using
18403 that base.<wbr/></p>
18407 <tr class="entries_header">
18408 <th class="th_details" colspan="5">HAL Implementation Details</th>
18410 <tr class="entry_cont">
18411 <td class="entry_details" colspan="5">
18412 <p>All timestamps must be in reference to the kernel's
18413 CLOCK_<wbr/>BOOTTIME monotonic clock,<wbr/> which properly accounts for
18414 time spent asleep.<wbr/> This allows for synchronization with
18415 sensors that continue to operate while the system is
18416 otherwise asleep.<wbr/></p>
18417 <p>If <a href="#static_android.sensor.info.timestampSource">android.<wbr/>sensor.<wbr/>info.<wbr/>timestamp<wbr/>Source</a> <code>==</code> REALTIME,<wbr/>
18418 The timestamp must be synchronized with the timestamps from other
18419 sensor subsystems that are using the same timebase.<wbr/></p>
18423 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18424 <!-- end of entry -->
18427 <tr class="entry" id="dynamic_android.sensor.temperature">
18428 <td class="entry_name
18430 android.<wbr/>sensor.<wbr/>temperature
18432 <td class="entry_type">
18433 <span class="entry_type_name">float</span>
18435 <span class="entry_type_visibility"> [system]</span>
18442 </td> <!-- entry_type -->
18444 <td class="entry_description">
18445 <p>The temperature of the sensor,<wbr/> sampled at the time
18446 exposure began for this frame.<wbr/></p>
18447 <p>The thermal diode being queried should be inside the sensor PCB,<wbr/> or
18448 somewhere close to it.<wbr/></p>
18451 <td class="entry_units">
18455 <td class="entry_range">
18456 <p>Optional.<wbr/> This value is missing if no temperature is available.<wbr/></p>
18459 <td class="entry_tags">
18460 <ul class="entry_tags">
18461 <li><a href="#tag_FUTURE">FUTURE</a></li>
18468 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18469 <!-- end of entry -->
18472 <tr class="entry" id="dynamic_android.sensor.neutralColorPoint">
18473 <td class="entry_name
18475 android.<wbr/>sensor.<wbr/>neutral<wbr/>Color<wbr/>Point
18477 <td class="entry_type">
18478 <span class="entry_type_name">rational</span>
18479 <span class="entry_type_container">x</span>
18481 <span class="entry_type_array">
18484 <span class="entry_type_visibility"> [public]</span>
18491 </td> <!-- entry_type -->
18493 <td class="entry_description">
18494 <p>The estimated camera neutral color in the native sensor colorspace at
18495 the time of capture.<wbr/></p>
18498 <td class="entry_units">
18501 <td class="entry_range">
18504 <td class="entry_tags">
18505 <ul class="entry_tags">
18506 <li><a href="#tag_RAW">RAW</a></li>
18511 <tr class="entries_header">
18512 <th class="th_details" colspan="5">Details</th>
18514 <tr class="entry_cont">
18515 <td class="entry_details" colspan="5">
18516 <p>This value gives the neutral color point encoded as an RGB value in the
18517 native sensor color space.<wbr/> The neutral color point indicates the
18518 currently estimated white point of the scene illumination.<wbr/> It can be
18519 used to interpolate between the provided color transforms when
18520 processing raw sensor data.<wbr/></p>
18521 <p>The order of the values is R,<wbr/> G,<wbr/> B; where R is in the lowest index.<wbr/></p>
18526 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18527 <!-- end of entry -->
18530 <tr class="entry" id="dynamic_android.sensor.noiseProfile">
18531 <td class="entry_name
18533 android.<wbr/>sensor.<wbr/>noise<wbr/>Profile
18535 <td class="entry_type">
18536 <span class="entry_type_name">double</span>
18537 <span class="entry_type_container">x</span>
18539 <span class="entry_type_array">
18542 <span class="entry_type_visibility"> [public as pairDoubleDouble]</span>
18547 <div class="entry_type_notes">Pairs of noise model coefficients</div>
18550 </td> <!-- entry_type -->
18552 <td class="entry_description">
18553 <p>Noise model coefficients for each CFA mosaic channel.<wbr/></p>
18556 <td class="entry_units">
18559 <td class="entry_range">
18562 <td class="entry_tags">
18563 <ul class="entry_tags">
18564 <li><a href="#tag_RAW">RAW</a></li>
18569 <tr class="entries_header">
18570 <th class="th_details" colspan="5">Details</th>
18572 <tr class="entry_cont">
18573 <td class="entry_details" colspan="5">
18574 <p>This key contains two noise model coefficients for each CFA channel
18575 corresponding to the sensor amplification (S) and sensor readout
18576 noise (O).<wbr/> These are given as pairs of coefficients for each channel
18577 in the same order as channels listed for the CFA layout key
18578 (see <a href="#static_android.sensor.info.colorFilterArrangement">android.<wbr/>sensor.<wbr/>info.<wbr/>color<wbr/>Filter<wbr/>Arrangement</a>).<wbr/> This is
18579 represented as an array of Pair<Double,<wbr/> Double>,<wbr/> where
18580 the first member of the Pair at index n is the S coefficient and the
18581 second member is the O coefficient for the nth color channel in the CFA.<wbr/></p>
18582 <p>These coefficients are used in a two parameter noise model to describe
18583 the amount of noise present in the image for each CFA channel.<wbr/> The
18584 noise model used here is:</p>
18585 <p>N(x) = sqrt(Sx + O)</p>
18586 <p>Where x represents the recorded signal of a CFA channel normalized to
18587 the range [0,<wbr/> 1],<wbr/> and S and O are the noise model coeffiecients for
18588 that channel.<wbr/></p>
18589 <p>A more detailed description of the noise model can be found in the
18590 Adobe DNG specification for the NoiseProfile tag.<wbr/></p>
18594 <tr class="entries_header">
18595 <th class="th_details" colspan="5">HAL Implementation Details</th>
18597 <tr class="entry_cont">
18598 <td class="entry_details" colspan="5">
18599 <p>For a CFA layout of RGGB,<wbr/> the list of coefficients would be given as
18600 an array of doubles S0,<wbr/>O0,<wbr/>S1,<wbr/>O1,...,<wbr/> where S0 and O0 are the coefficients
18601 for the red channel,<wbr/> S1 and O1 are the coefficients for the first green
18602 channel,<wbr/> etc.<wbr/></p>
18606 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18607 <!-- end of entry -->
18610 <tr class="entry" id="dynamic_android.sensor.profileHueSatMap">
18611 <td class="entry_name
18613 android.<wbr/>sensor.<wbr/>profile<wbr/>Hue<wbr/>Sat<wbr/>Map
18615 <td class="entry_type">
18616 <span class="entry_type_name">float</span>
18617 <span class="entry_type_container">x</span>
18619 <span class="entry_type_array">
18620 hue_samples x saturation_samples x value_samples x 3
18622 <span class="entry_type_visibility"> [system]</span>
18627 <div class="entry_type_notes">Mapping for hue,<wbr/> saturation,<wbr/> and value</div>
18630 </td> <!-- entry_type -->
18632 <td class="entry_description">
18633 <p>A mapping containing a hue shift,<wbr/> saturation scale,<wbr/> and value scale
18634 for each pixel.<wbr/></p>
18637 <td class="entry_units">
18639 The hue shift is given in degrees; saturation and value scale factors are
18640 unitless and are between 0 and 1 inclusive
18644 <td class="entry_range">
18647 <td class="entry_tags">
18648 <ul class="entry_tags">
18649 <li><a href="#tag_RAW">RAW</a></li>
18654 <tr class="entries_header">
18655 <th class="th_details" colspan="5">Details</th>
18657 <tr class="entry_cont">
18658 <td class="entry_details" colspan="5">
18659 <p>hue_<wbr/>samples,<wbr/> saturation_<wbr/>samples,<wbr/> and value_<wbr/>samples are given in
18660 <a href="#static_android.sensor.profileHueSatMapDimensions">android.<wbr/>sensor.<wbr/>profile<wbr/>Hue<wbr/>Sat<wbr/>Map<wbr/>Dimensions</a>.<wbr/></p>
18661 <p>Each entry of this map contains three floats corresponding to the
18662 hue shift,<wbr/> saturation scale,<wbr/> and value scale,<wbr/> respectively; where the
18663 hue shift has the lowest index.<wbr/> The map entries are stored in the key
18664 in nested loop order,<wbr/> with the value divisions in the outer loop,<wbr/> the
18665 hue divisions in the middle loop,<wbr/> and the saturation divisions in the
18666 inner loop.<wbr/> All zero input saturation entries are required to have a
18667 value scale factor of 1.<wbr/>0.<wbr/></p>
18672 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18673 <!-- end of entry -->
18676 <tr class="entry" id="dynamic_android.sensor.profileToneCurve">
18677 <td class="entry_name
18679 android.<wbr/>sensor.<wbr/>profile<wbr/>Tone<wbr/>Curve
18681 <td class="entry_type">
18682 <span class="entry_type_name">float</span>
18683 <span class="entry_type_container">x</span>
18685 <span class="entry_type_array">
18688 <span class="entry_type_visibility"> [system]</span>
18693 <div class="entry_type_notes">Samples defining a spline for a tone-mapping curve</div>
18696 </td> <!-- entry_type -->
18698 <td class="entry_description">
18699 <p>A list of x,<wbr/>y samples defining a tone-mapping curve for gamma adjustment.<wbr/></p>
18702 <td class="entry_units">
18705 <td class="entry_range">
18706 <p>Each sample has an input range of <code>[0,<wbr/> 1]</code> and an output range of
18707 <code>[0,<wbr/> 1]</code>.<wbr/> The first sample is required to be <code>(0,<wbr/> 0)</code>,<wbr/> and the last
18708 sample is required to be <code>(1,<wbr/> 1)</code>.<wbr/></p>
18711 <td class="entry_tags">
18712 <ul class="entry_tags">
18713 <li><a href="#tag_RAW">RAW</a></li>
18718 <tr class="entries_header">
18719 <th class="th_details" colspan="5">Details</th>
18721 <tr class="entry_cont">
18722 <td class="entry_details" colspan="5">
18723 <p>This key contains a default tone curve that can be applied while
18724 processing the image as a starting point for user adjustments.<wbr/>
18725 The curve is specified as a list of value pairs in linear gamma.<wbr/>
18726 The curve is interpolated using a cubic spline.<wbr/></p>
18731 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18732 <!-- end of entry -->
18735 <tr class="entry" id="dynamic_android.sensor.greenSplit">
18736 <td class="entry_name
18738 android.<wbr/>sensor.<wbr/>green<wbr/>Split
18740 <td class="entry_type">
18741 <span class="entry_type_name">float</span>
18743 <span class="entry_type_visibility"> [public]</span>
18750 </td> <!-- entry_type -->
18752 <td class="entry_description">
18753 <p>The worst-case divergence between Bayer green channels.<wbr/></p>
18756 <td class="entry_units">
18759 <td class="entry_range">
18763 <td class="entry_tags">
18764 <ul class="entry_tags">
18765 <li><a href="#tag_RAW">RAW</a></li>
18770 <tr class="entries_header">
18771 <th class="th_details" colspan="5">Details</th>
18773 <tr class="entry_cont">
18774 <td class="entry_details" colspan="5">
18775 <p>This value is an estimate of the worst case split between the
18776 Bayer green channels in the red and blue rows in the sensor color
18777 filter array.<wbr/></p>
18778 <p>The green split is calculated as follows:</p>
18780 <li>A 5x5 pixel (or larger) window W within the active sensor array is
18781 chosen.<wbr/> The term 'pixel' here is taken to mean a group of 4 Bayer
18782 mosaic channels (R,<wbr/> Gr,<wbr/> Gb,<wbr/> B).<wbr/> The location and size of the window
18783 chosen is implementation defined,<wbr/> and should be chosen to provide a
18784 green split estimate that is both representative of the entire image
18785 for this camera sensor,<wbr/> and can be calculated quickly.<wbr/></li>
18786 <li>The arithmetic mean of the green channels from the red
18787 rows (mean_<wbr/>Gr) within W is computed.<wbr/></li>
18788 <li>The arithmetic mean of the green channels from the blue
18789 rows (mean_<wbr/>Gb) within W is computed.<wbr/></li>
18790 <li>The maximum ratio R of the two means is computed as follows:
18791 <code>R = max((mean_<wbr/>Gr + 1)/<wbr/>(mean_<wbr/>Gb + 1),<wbr/> (mean_<wbr/>Gb + 1)/<wbr/>(mean_<wbr/>Gr + 1))</code></li>
18793 <p>The ratio R is the green split divergence reported for this property,<wbr/>
18794 which represents how much the green channels differ in the mosaic
18795 pattern.<wbr/> This value is typically used to determine the treatment of
18796 the green mosaic channels when demosaicing.<wbr/></p>
18797 <p>The green split value can be roughly interpreted as follows:</p>
18799 <li>R < 1.<wbr/>03 is a negligible split (<3% divergence).<wbr/></li>
18800 <li>1.<wbr/>20 <= R >= 1.<wbr/>03 will require some software
18801 correction to avoid demosaic errors (3-20% divergence).<wbr/></li>
18802 <li>R > 1.<wbr/>20 will require strong software correction to produce
18803 a usuable image (>20% divergence).<wbr/></li>
18808 <tr class="entries_header">
18809 <th class="th_details" colspan="5">HAL Implementation Details</th>
18811 <tr class="entry_cont">
18812 <td class="entry_details" colspan="5">
18813 <p>The green split given may be a static value based on prior
18814 characterization of the camera sensor using the green split
18815 calculation method given here over a large,<wbr/> representative,<wbr/> sample
18816 set of images.<wbr/> Other methods of calculation that produce equivalent
18817 results,<wbr/> and can be interpreted in the same manner,<wbr/> may be used.<wbr/></p>
18821 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18822 <!-- end of entry -->
18825 <tr class="entry" id="dynamic_android.sensor.testPatternData">
18826 <td class="entry_name
18828 android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Data
18830 <td class="entry_type">
18831 <span class="entry_type_name">int32</span>
18832 <span class="entry_type_container">x</span>
18834 <span class="entry_type_array">
18837 <span class="entry_type_visibility"> [public]</span>
18844 </td> <!-- entry_type -->
18846 <td class="entry_description">
18847 <p>A pixel <code>[R,<wbr/> G_<wbr/>even,<wbr/> G_<wbr/>odd,<wbr/> B]</code> that supplies the test pattern
18848 when <a href="#controls_android.sensor.testPatternMode">android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Mode</a> is SOLID_<wbr/>COLOR.<wbr/></p>
18851 <td class="entry_units">
18854 <td class="entry_range">
18857 <td class="entry_tags">
18861 <tr class="entries_header">
18862 <th class="th_details" colspan="5">Details</th>
18864 <tr class="entry_cont">
18865 <td class="entry_details" colspan="5">
18866 <p>Each color channel is treated as an unsigned 32-bit integer.<wbr/>
18867 The camera device then uses the most significant X bits
18868 that correspond to how many bits are in its Bayer raw sensor
18870 <p>For example,<wbr/> a sensor with RAW10 Bayer output would use the
18871 10 most significant bits from each color channel.<wbr/></p>
18875 <tr class="entries_header">
18876 <th class="th_details" colspan="5">HAL Implementation Details</th>
18878 <tr class="entry_cont">
18879 <td class="entry_details" colspan="5">
18884 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
18885 <!-- end of entry -->
18888 <tr class="entry" id="dynamic_android.sensor.testPatternMode">
18889 <td class="entry_name
18891 android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Mode
18893 <td class="entry_type">
18894 <span class="entry_type_name entry_type_name_enum">int32</span>
18896 <span class="entry_type_visibility"> [public]</span>
18902 <ul class="entry_type_enum">
18904 <span class="entry_type_enum_name">OFF</span>
18905 <span class="entry_type_enum_notes"><p>No test pattern mode is used,<wbr/> and the camera
18906 device returns captures from the image sensor.<wbr/></p>
18907 <p>This is the default if the key is not set.<wbr/></p></span>
18910 <span class="entry_type_enum_name">SOLID_COLOR</span>
18911 <span class="entry_type_enum_notes"><p>Each pixel in <code>[R,<wbr/> G_<wbr/>even,<wbr/> G_<wbr/>odd,<wbr/> B]</code> is replaced by its
18912 respective color channel provided in
18913 <a href="#controls_android.sensor.testPatternData">android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Data</a>.<wbr/></p>
18914 <p>For example:</p>
18915 <pre><code>android.<wbr/>testPatternData = [0,<wbr/> 0xFFFFFFFF,<wbr/> 0xFFFFFFFF,<wbr/> 0]
18917 <p>All green pixels are 100% green.<wbr/> All red/<wbr/>blue pixels are black.<wbr/></p>
18918 <pre><code>android.<wbr/>testPatternData = [0xFFFFFFFF,<wbr/> 0,<wbr/> 0xFFFFFFFF,<wbr/> 0]
18920 <p>All red pixels are 100% red.<wbr/> Only the odd green pixels
18921 are 100% green.<wbr/> All blue pixels are 100% black.<wbr/></p></span>
18924 <span class="entry_type_enum_name">COLOR_BARS</span>
18925 <span class="entry_type_enum_notes"><p>All pixel data is replaced with an 8-bar color pattern.<wbr/></p>
18926 <p>The vertical bars (left-to-right) are as follows:</p>
18928 <li>100% white</li>
18937 <p>In general the image would look like the following:</p>
18938 <pre><code>W Y C G M R B K
18943 .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/>
18944 .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/>
18945 .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/>
18947 (B = Blue,<wbr/> K = Black)
18949 <p>Each bar should take up 1/<wbr/>8 of the sensor pixel array width.<wbr/>
18950 When this is not possible,<wbr/> the bar size should be rounded
18951 down to the nearest integer and the pattern can repeat
18952 on the right side.<wbr/></p>
18953 <p>Each bar's height must always take up the full sensor
18954 pixel array height.<wbr/></p>
18955 <p>Each pixel in this test pattern must be set to either
18956 0% intensity or 100% intensity.<wbr/></p></span>
18959 <span class="entry_type_enum_name">COLOR_BARS_FADE_TO_GRAY</span>
18960 <span class="entry_type_enum_notes"><p>The test pattern is similar to COLOR_<wbr/>BARS,<wbr/> except that
18961 each bar should start at its specified color at the top,<wbr/>
18962 and fade to gray at the bottom.<wbr/></p>
18963 <p>Furthermore each bar is further subdivided into a left and
18964 right half.<wbr/> The left half should have a smooth gradient,<wbr/>
18965 and the right half should have a quantized gradient.<wbr/></p>
18966 <p>In particular,<wbr/> the right half's should consist of blocks of the
18967 same color for 1/<wbr/>16th active sensor pixel array width.<wbr/></p>
18968 <p>The least significant bits in the quantized gradient should
18969 be copied from the most significant bits of the smooth gradient.<wbr/></p>
18970 <p>The height of each bar should always be a multiple of 128.<wbr/>
18971 When this is not the case,<wbr/> the pattern should repeat at the bottom
18972 of the image.<wbr/></p></span>
18975 <span class="entry_type_enum_name">PN9</span>
18976 <span class="entry_type_enum_notes"><p>All pixel data is replaced by a pseudo-random sequence
18977 generated from a PN9 512-bit sequence (typically implemented
18978 in hardware with a linear feedback shift register).<wbr/></p>
18979 <p>The generator should be reset at the beginning of each frame,<wbr/>
18980 and thus each subsequent raw frame with this test pattern should
18981 be exactly the same as the last.<wbr/></p></span>
18984 <span class="entry_type_enum_name">CUSTOM1</span>
18985 <span class="entry_type_enum_value">256</span>
18986 <span class="entry_type_enum_notes"><p>The first custom test pattern.<wbr/> All custom patterns that are
18987 available only on this camera device are at least this numeric
18989 <p>All of the custom test patterns will be static
18990 (that is the raw image must not vary from frame to frame).<wbr/></p></span>
18994 </td> <!-- entry_type -->
18996 <td class="entry_description">
18997 <p>When enabled,<wbr/> the sensor sends a test pattern instead of
18998 doing a real exposure from the camera.<wbr/></p>
19001 <td class="entry_units">
19004 <td class="entry_range">
19005 <p><a href="#static_android.sensor.availableTestPatternModes">android.<wbr/>sensor.<wbr/>available<wbr/>Test<wbr/>Pattern<wbr/>Modes</a></p>
19008 <td class="entry_tags">
19012 <tr class="entries_header">
19013 <th class="th_details" colspan="5">Details</th>
19015 <tr class="entry_cont">
19016 <td class="entry_details" colspan="5">
19017 <p>When a test pattern is enabled,<wbr/> all manual sensor controls specified
19018 by android.<wbr/>sensor.<wbr/>* will be ignored.<wbr/> All other controls should
19019 work as normal.<wbr/></p>
19020 <p>For example,<wbr/> if manual flash is enabled,<wbr/> flash firing should still
19021 occur (and that the test pattern remain unmodified,<wbr/> since the flash
19022 would not actually affect it).<wbr/></p>
19023 <p>Defaults to OFF.<wbr/></p>
19027 <tr class="entries_header">
19028 <th class="th_details" colspan="5">HAL Implementation Details</th>
19030 <tr class="entry_cont">
19031 <td class="entry_details" colspan="5">
19032 <p>All test patterns are specified in the Bayer domain.<wbr/></p>
19033 <p>The HAL may choose to substitute test patterns from the sensor
19034 with test patterns from on-device memory.<wbr/> In that case,<wbr/> it should be
19035 indistinguishable to the ISP whether the data came from the
19036 sensor interconnect bus (such as CSI2) or memory.<wbr/></p>
19040 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19041 <!-- end of entry -->
19044 <tr class="entry" id="dynamic_android.sensor.rollingShutterSkew">
19045 <td class="entry_name
19047 android.<wbr/>sensor.<wbr/>rolling<wbr/>Shutter<wbr/>Skew
19049 <td class="entry_type">
19050 <span class="entry_type_name">int64</span>
19052 <span class="entry_type_visibility"> [public]</span>
19055 <span class="entry_type_hwlevel">[limited] </span>
19060 </td> <!-- entry_type -->
19062 <td class="entry_description">
19063 <p>Duration between the start of first row exposure
19064 and the start of last row exposure.<wbr/></p>
19067 <td class="entry_units">
19071 <td class="entry_range">
19072 <p>>= 0 and <
19073 StreamConfigurationMap#getOutputMinFrameDuration(int,<wbr/> Size).<wbr/></p>
19076 <td class="entry_tags">
19077 <ul class="entry_tags">
19078 <li><a href="#tag_V1">V1</a></li>
19083 <tr class="entries_header">
19084 <th class="th_details" colspan="5">Details</th>
19086 <tr class="entry_cont">
19087 <td class="entry_details" colspan="5">
19088 <p>This is the exposure time skew between the first and last
19089 row exposure start times.<wbr/> The first row and the last row are
19090 the first and last rows inside of the
19091 <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/></p>
19092 <p>For typical camera sensors that use rolling shutters,<wbr/> this is also equivalent
19093 to the frame readout time.<wbr/></p>
19097 <tr class="entries_header">
19098 <th class="th_details" colspan="5">HAL Implementation Details</th>
19100 <tr class="entry_cont">
19101 <td class="entry_details" colspan="5">
19102 <p>The HAL must report <code>0</code> if the sensor is using global shutter,<wbr/> where all pixels begin
19103 exposure at the same time.<wbr/></p>
19107 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19108 <!-- end of entry -->
19112 <!-- end of kind -->
19115 <!-- end of section -->
19116 <tr><td colspan="6" id="section_shading" class="section">shading</td></tr>
19119 <tr><td colspan="6" class="kind">controls</td></tr>
19121 <thead class="entries_header">
19123 <th class="th_name">Property Name</th>
19124 <th class="th_type">Type</th>
19125 <th class="th_description">Description</th>
19126 <th class="th_units">Units</th>
19127 <th class="th_range">Range</th>
19128 <th class="th_tags">Tags</th>
19143 <tr class="entry" id="controls_android.shading.mode">
19144 <td class="entry_name
19146 android.<wbr/>shading.<wbr/>mode
19148 <td class="entry_type">
19149 <span class="entry_type_name entry_type_name_enum">byte</span>
19151 <span class="entry_type_visibility"> [public]</span>
19154 <span class="entry_type_hwlevel">[full] </span>
19158 <ul class="entry_type_enum">
19160 <span class="entry_type_enum_name">OFF</span>
19161 <span class="entry_type_enum_notes"><p>No lens shading correction is applied.<wbr/></p></span>
19164 <span class="entry_type_enum_name">FAST</span>
19165 <span class="entry_type_enum_notes"><p>Apply lens shading corrections,<wbr/> without slowing
19166 frame rate relative to sensor raw output</p></span>
19169 <span class="entry_type_enum_name">HIGH_QUALITY</span>
19170 <span class="entry_type_enum_notes"><p>Apply high-quality lens shading correction,<wbr/> at the
19171 cost of reduced frame rate.<wbr/></p></span>
19175 </td> <!-- entry_type -->
19177 <td class="entry_description">
19178 <p>Quality of lens shading correction applied
19179 to the image data.<wbr/></p>
19182 <td class="entry_units">
19185 <td class="entry_range">
19188 <td class="entry_tags">
19192 <tr class="entries_header">
19193 <th class="th_details" colspan="5">Details</th>
19195 <tr class="entry_cont">
19196 <td class="entry_details" colspan="5">
19197 <p>When set to OFF mode,<wbr/> no lens shading correction will be applied by the
19198 camera device,<wbr/> and an identity lens shading map data will be provided
19199 if <code><a href="#controls_android.statistics.lensShadingMapMode">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map<wbr/>Mode</a> == ON</code>.<wbr/> For example,<wbr/> for lens
19200 shading map with size of <code>[ 4,<wbr/> 3 ]</code>,<wbr/>
19201 the output <a href="#dynamic_android.statistics.lensShadingCorrectionMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Correction<wbr/>Map</a> for this case will be an identity
19202 map shown below:</p>
19203 <pre><code>[ 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/>
19204 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/>
19205 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/>
19206 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/>
19207 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/>
19208 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0 ]
19210 <p>When set to other modes,<wbr/> lens shading correction will be applied by the camera
19211 device.<wbr/> Applications can request lens shading map data by setting
19212 <a href="#controls_android.statistics.lensShadingMapMode">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map<wbr/>Mode</a> to ON,<wbr/> and then the camera device will provide lens
19213 shading map data in <a href="#dynamic_android.statistics.lensShadingCorrectionMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Correction<wbr/>Map</a>; the returned shading map
19214 data will be the one applied by the camera device for this capture request.<wbr/></p>
19215 <p>The shading map data may depend on the auto-exposure (AE) and AWB statistics,<wbr/> therefore
19216 the reliability of the map data may be affected by the AE and AWB algorithms.<wbr/> When AE and
19217 AWB are in AUTO modes(<a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> <code>!=</code> OFF and <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> <code>!=</code>
19218 OFF),<wbr/> to get best results,<wbr/> it is recommended that the applications wait for the AE and AWB
19219 to be converged before using the returned shading map data.<wbr/></p>
19224 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19225 <!-- end of entry -->
19228 <tr class="entry" id="controls_android.shading.strength">
19229 <td class="entry_name
19231 android.<wbr/>shading.<wbr/>strength
19233 <td class="entry_type">
19234 <span class="entry_type_name">byte</span>
19236 <span class="entry_type_visibility"> [system]</span>
19243 </td> <!-- entry_type -->
19245 <td class="entry_description">
19246 <p>Control the amount of shading correction
19247 applied to the images</p>
19250 <td class="entry_units">
19251 unitless: 1-10; 10 is full shading
19255 <td class="entry_range">
19258 <td class="entry_tags">
19259 <ul class="entry_tags">
19260 <li><a href="#tag_FUTURE">FUTURE</a></li>
19267 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19268 <!-- end of entry -->
19272 <!-- end of kind -->
19274 <tr><td colspan="6" class="kind">dynamic</td></tr>
19276 <thead class="entries_header">
19278 <th class="th_name">Property Name</th>
19279 <th class="th_type">Type</th>
19280 <th class="th_description">Description</th>
19281 <th class="th_units">Units</th>
19282 <th class="th_range">Range</th>
19283 <th class="th_tags">Tags</th>
19298 <tr class="entry" id="dynamic_android.shading.mode">
19299 <td class="entry_name
19301 android.<wbr/>shading.<wbr/>mode
19303 <td class="entry_type">
19304 <span class="entry_type_name entry_type_name_enum">byte</span>
19306 <span class="entry_type_visibility"> [public]</span>
19309 <span class="entry_type_hwlevel">[full] </span>
19313 <ul class="entry_type_enum">
19315 <span class="entry_type_enum_name">OFF</span>
19316 <span class="entry_type_enum_notes"><p>No lens shading correction is applied.<wbr/></p></span>
19319 <span class="entry_type_enum_name">FAST</span>
19320 <span class="entry_type_enum_notes"><p>Apply lens shading corrections,<wbr/> without slowing
19321 frame rate relative to sensor raw output</p></span>
19324 <span class="entry_type_enum_name">HIGH_QUALITY</span>
19325 <span class="entry_type_enum_notes"><p>Apply high-quality lens shading correction,<wbr/> at the
19326 cost of reduced frame rate.<wbr/></p></span>
19330 </td> <!-- entry_type -->
19332 <td class="entry_description">
19333 <p>Quality of lens shading correction applied
19334 to the image data.<wbr/></p>
19337 <td class="entry_units">
19340 <td class="entry_range">
19343 <td class="entry_tags">
19347 <tr class="entries_header">
19348 <th class="th_details" colspan="5">Details</th>
19350 <tr class="entry_cont">
19351 <td class="entry_details" colspan="5">
19352 <p>When set to OFF mode,<wbr/> no lens shading correction will be applied by the
19353 camera device,<wbr/> and an identity lens shading map data will be provided
19354 if <code><a href="#controls_android.statistics.lensShadingMapMode">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map<wbr/>Mode</a> == ON</code>.<wbr/> For example,<wbr/> for lens
19355 shading map with size of <code>[ 4,<wbr/> 3 ]</code>,<wbr/>
19356 the output <a href="#dynamic_android.statistics.lensShadingCorrectionMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Correction<wbr/>Map</a> for this case will be an identity
19357 map shown below:</p>
19358 <pre><code>[ 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/>
19359 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/>
19360 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/>
19361 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/>
19362 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/>
19363 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0 ]
19365 <p>When set to other modes,<wbr/> lens shading correction will be applied by the camera
19366 device.<wbr/> Applications can request lens shading map data by setting
19367 <a href="#controls_android.statistics.lensShadingMapMode">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map<wbr/>Mode</a> to ON,<wbr/> and then the camera device will provide lens
19368 shading map data in <a href="#dynamic_android.statistics.lensShadingCorrectionMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Correction<wbr/>Map</a>; the returned shading map
19369 data will be the one applied by the camera device for this capture request.<wbr/></p>
19370 <p>The shading map data may depend on the auto-exposure (AE) and AWB statistics,<wbr/> therefore
19371 the reliability of the map data may be affected by the AE and AWB algorithms.<wbr/> When AE and
19372 AWB are in AUTO modes(<a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> <code>!=</code> OFF and <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> <code>!=</code>
19373 OFF),<wbr/> to get best results,<wbr/> it is recommended that the applications wait for the AE and AWB
19374 to be converged before using the returned shading map data.<wbr/></p>
19379 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19380 <!-- end of entry -->
19384 <!-- end of kind -->
19387 <!-- end of section -->
19388 <tr><td colspan="6" id="section_statistics" class="section">statistics</td></tr>
19391 <tr><td colspan="6" class="kind">controls</td></tr>
19393 <thead class="entries_header">
19395 <th class="th_name">Property Name</th>
19396 <th class="th_type">Type</th>
19397 <th class="th_description">Description</th>
19398 <th class="th_units">Units</th>
19399 <th class="th_range">Range</th>
19400 <th class="th_tags">Tags</th>
19415 <tr class="entry" id="controls_android.statistics.faceDetectMode">
19416 <td class="entry_name
19418 android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode
19420 <td class="entry_type">
19421 <span class="entry_type_name entry_type_name_enum">byte</span>
19423 <span class="entry_type_visibility"> [public]</span>
19426 <span class="entry_type_hwlevel">[legacy] </span>
19430 <ul class="entry_type_enum">
19432 <span class="entry_type_enum_name">OFF</span>
19433 <span class="entry_type_enum_notes"><p>Do not include face detection statistics in capture
19434 results.<wbr/></p></span>
19437 <span class="entry_type_enum_name">SIMPLE</span>
19438 <span class="entry_type_enum_optional">[optional]</span>
19439 <span class="entry_type_enum_notes"><p>Return face rectangle and confidence values only.<wbr/></p></span>
19442 <span class="entry_type_enum_name">FULL</span>
19443 <span class="entry_type_enum_optional">[optional]</span>
19444 <span class="entry_type_enum_notes"><p>Return all face
19445 metadata.<wbr/></p>
19446 <p>In this mode,<wbr/> face rectangles,<wbr/> scores,<wbr/> landmarks,<wbr/> and face IDs are all valid.<wbr/></p></span>
19450 </td> <!-- entry_type -->
19452 <td class="entry_description">
19453 <p>Operating mode for the face detector
19457 <td class="entry_units">
19460 <td class="entry_range">
19461 <p><a href="#static_android.statistics.info.availableFaceDetectModes">android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Face<wbr/>Detect<wbr/>Modes</a></p>
19464 <td class="entry_tags">
19465 <ul class="entry_tags">
19466 <li><a href="#tag_BC">BC</a></li>
19471 <tr class="entries_header">
19472 <th class="th_details" colspan="5">Details</th>
19474 <tr class="entry_cont">
19475 <td class="entry_details" colspan="5">
19476 <p>Whether face detection is enabled,<wbr/> and whether it
19477 should output just the basic fields or the full set of
19482 <tr class="entries_header">
19483 <th class="th_details" colspan="5">HAL Implementation Details</th>
19485 <tr class="entry_cont">
19486 <td class="entry_details" colspan="5">
19487 <p>SIMPLE mode must fill in <a href="#dynamic_android.statistics.faceRectangles">android.<wbr/>statistics.<wbr/>face<wbr/>Rectangles</a> and
19488 <a href="#dynamic_android.statistics.faceScores">android.<wbr/>statistics.<wbr/>face<wbr/>Scores</a>.<wbr/>
19489 FULL mode must also fill in <a href="#dynamic_android.statistics.faceIds">android.<wbr/>statistics.<wbr/>face<wbr/>Ids</a>,<wbr/> and
19490 <a href="#dynamic_android.statistics.faceLandmarks">android.<wbr/>statistics.<wbr/>face<wbr/>Landmarks</a>.<wbr/></p>
19494 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19495 <!-- end of entry -->
19498 <tr class="entry" id="controls_android.statistics.histogramMode">
19499 <td class="entry_name
19501 android.<wbr/>statistics.<wbr/>histogram<wbr/>Mode
19503 <td class="entry_type">
19504 <span class="entry_type_name entry_type_name_enum">byte</span>
19506 <span class="entry_type_visibility"> [system as boolean]</span>
19512 <ul class="entry_type_enum">
19514 <span class="entry_type_enum_name">OFF</span>
19517 <span class="entry_type_enum_name">ON</span>
19521 </td> <!-- entry_type -->
19523 <td class="entry_description">
19524 <p>Operating mode for histogram
19528 <td class="entry_units">
19531 <td class="entry_range">
19534 <td class="entry_tags">
19535 <ul class="entry_tags">
19536 <li><a href="#tag_FUTURE">FUTURE</a></li>
19543 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19544 <!-- end of entry -->
19547 <tr class="entry" id="controls_android.statistics.sharpnessMapMode">
19548 <td class="entry_name
19550 android.<wbr/>statistics.<wbr/>sharpness<wbr/>Map<wbr/>Mode
19552 <td class="entry_type">
19553 <span class="entry_type_name entry_type_name_enum">byte</span>
19555 <span class="entry_type_visibility"> [system as boolean]</span>
19561 <ul class="entry_type_enum">
19563 <span class="entry_type_enum_name">OFF</span>
19566 <span class="entry_type_enum_name">ON</span>
19570 </td> <!-- entry_type -->
19572 <td class="entry_description">
19573 <p>Operating mode for sharpness map
19577 <td class="entry_units">
19580 <td class="entry_range">
19583 <td class="entry_tags">
19584 <ul class="entry_tags">
19585 <li><a href="#tag_FUTURE">FUTURE</a></li>
19592 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19593 <!-- end of entry -->
19596 <tr class="entry" id="controls_android.statistics.hotPixelMapMode">
19597 <td class="entry_name
19599 android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map<wbr/>Mode
19601 <td class="entry_type">
19602 <span class="entry_type_name entry_type_name_enum">byte</span>
19604 <span class="entry_type_visibility"> [public as boolean]</span>
19610 <ul class="entry_type_enum">
19612 <span class="entry_type_enum_name">OFF</span>
19613 <span class="entry_type_enum_notes"><p>Hot pixel map production is disabled.<wbr/></p></span>
19616 <span class="entry_type_enum_name">ON</span>
19617 <span class="entry_type_enum_notes"><p>Hot pixel map production is enabled.<wbr/></p></span>
19621 </td> <!-- entry_type -->
19623 <td class="entry_description">
19624 <p>Operating mode for hot pixel map generation.<wbr/></p>
19627 <td class="entry_units">
19630 <td class="entry_range">
19631 <p><a href="#static_android.statistics.info.availableHotPixelMapModes">android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Hot<wbr/>Pixel<wbr/>Map<wbr/>Modes</a></p>
19634 <td class="entry_tags">
19635 <ul class="entry_tags">
19636 <li><a href="#tag_V1">V1</a></li>
19637 <li><a href="#tag_RAW">RAW</a></li>
19642 <tr class="entries_header">
19643 <th class="th_details" colspan="5">Details</th>
19645 <tr class="entry_cont">
19646 <td class="entry_details" colspan="5">
19647 <p>If set to <code>true</code>,<wbr/> a hot pixel map is returned in <a href="#dynamic_android.statistics.hotPixelMap">android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map</a>.<wbr/>
19648 If set to <code>false</code>,<wbr/> no hot pixel map will be returned.<wbr/></p>
19653 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19654 <!-- end of entry -->
19657 <tr class="entry" id="controls_android.statistics.lensShadingMapMode">
19658 <td class="entry_name
19660 android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map<wbr/>Mode
19662 <td class="entry_type">
19663 <span class="entry_type_name entry_type_name_enum">byte</span>
19665 <span class="entry_type_visibility"> [public]</span>
19668 <span class="entry_type_hwlevel">[full] </span>
19672 <ul class="entry_type_enum">
19674 <span class="entry_type_enum_name">OFF</span>
19675 <span class="entry_type_enum_notes"><p>Do not include a lens shading map in the capture result.<wbr/></p></span>
19678 <span class="entry_type_enum_name">ON</span>
19679 <span class="entry_type_enum_notes"><p>Include a lens shading map in the capture result.<wbr/></p></span>
19683 </td> <!-- entry_type -->
19685 <td class="entry_description">
19686 <p>Whether the camera device will output the lens
19687 shading map in output result metadata.<wbr/></p>
19690 <td class="entry_units">
19693 <td class="entry_range">
19696 <td class="entry_tags">
19697 <ul class="entry_tags">
19698 <li><a href="#tag_RAW">RAW</a></li>
19703 <tr class="entries_header">
19704 <th class="th_details" colspan="5">Details</th>
19706 <tr class="entry_cont">
19707 <td class="entry_details" colspan="5">
19708 <p>When set to ON,<wbr/>
19709 <a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a> will be provided in
19710 the output result metadata.<wbr/></p>
19711 <p>ON is always supported on devices with the RAW capability.<wbr/></p>
19716 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19717 <!-- end of entry -->
19721 <!-- end of kind -->
19723 <tr><td colspan="6" class="kind">static</td></tr>
19725 <thead class="entries_header">
19727 <th class="th_name">Property Name</th>
19728 <th class="th_type">Type</th>
19729 <th class="th_description">Description</th>
19730 <th class="th_units">Units</th>
19731 <th class="th_range">Range</th>
19732 <th class="th_tags">Tags</th>
19749 <tr class="entry" id="static_android.statistics.info.availableFaceDetectModes">
19750 <td class="entry_name
19752 android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Face<wbr/>Detect<wbr/>Modes
19754 <td class="entry_type">
19755 <span class="entry_type_name">byte</span>
19756 <span class="entry_type_container">x</span>
19758 <span class="entry_type_array">
19761 <span class="entry_type_visibility"> [public as enumList]</span>
19764 <span class="entry_type_hwlevel">[legacy] </span>
19767 <div class="entry_type_notes">List of enums from android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</div>
19770 </td> <!-- entry_type -->
19772 <td class="entry_description">
19773 <p>List of face detection modes for <a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a> that are
19774 supported by this camera device.<wbr/></p>
19777 <td class="entry_units">
19780 <td class="entry_range">
19781 <p>Any value listed in <a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a></p>
19784 <td class="entry_tags">
19788 <tr class="entries_header">
19789 <th class="th_details" colspan="5">Details</th>
19791 <tr class="entry_cont">
19792 <td class="entry_details" colspan="5">
19793 <p>OFF is always supported.<wbr/></p>
19798 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19799 <!-- end of entry -->
19802 <tr class="entry" id="static_android.statistics.info.histogramBucketCount">
19803 <td class="entry_name
19805 android.<wbr/>statistics.<wbr/>info.<wbr/>histogram<wbr/>Bucket<wbr/>Count
19807 <td class="entry_type">
19808 <span class="entry_type_name">int32</span>
19810 <span class="entry_type_visibility"> [system]</span>
19817 </td> <!-- entry_type -->
19819 <td class="entry_description">
19820 <p>Number of histogram buckets
19824 <td class="entry_units">
19827 <td class="entry_range">
19831 <td class="entry_tags">
19832 <ul class="entry_tags">
19833 <li><a href="#tag_FUTURE">FUTURE</a></li>
19840 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19841 <!-- end of entry -->
19844 <tr class="entry" id="static_android.statistics.info.maxFaceCount">
19845 <td class="entry_name
19847 android.<wbr/>statistics.<wbr/>info.<wbr/>max<wbr/>Face<wbr/>Count
19849 <td class="entry_type">
19850 <span class="entry_type_name">int32</span>
19852 <span class="entry_type_visibility"> [public]</span>
19855 <span class="entry_type_hwlevel">[legacy] </span>
19860 </td> <!-- entry_type -->
19862 <td class="entry_description">
19863 <p>The maximum number of simultaneously detectable
19867 <td class="entry_units">
19870 <td class="entry_range">
19871 <p>0 for cameras without available face detection; otherwise:
19872 <code>>=4</code> for LIMITED or FULL hwlevel devices or
19873 <code>>0</code> for LEGACY devices.<wbr/></p>
19876 <td class="entry_tags">
19877 <ul class="entry_tags">
19878 <li><a href="#tag_BC">BC</a></li>
19885 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19886 <!-- end of entry -->
19889 <tr class="entry" id="static_android.statistics.info.maxHistogramCount">
19890 <td class="entry_name
19892 android.<wbr/>statistics.<wbr/>info.<wbr/>max<wbr/>Histogram<wbr/>Count
19894 <td class="entry_type">
19895 <span class="entry_type_name">int32</span>
19897 <span class="entry_type_visibility"> [system]</span>
19904 </td> <!-- entry_type -->
19906 <td class="entry_description">
19907 <p>Maximum value possible for a histogram
19911 <td class="entry_units">
19914 <td class="entry_range">
19917 <td class="entry_tags">
19918 <ul class="entry_tags">
19919 <li><a href="#tag_FUTURE">FUTURE</a></li>
19926 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19927 <!-- end of entry -->
19930 <tr class="entry" id="static_android.statistics.info.maxSharpnessMapValue">
19931 <td class="entry_name
19933 android.<wbr/>statistics.<wbr/>info.<wbr/>max<wbr/>Sharpness<wbr/>Map<wbr/>Value
19935 <td class="entry_type">
19936 <span class="entry_type_name">int32</span>
19938 <span class="entry_type_visibility"> [system]</span>
19945 </td> <!-- entry_type -->
19947 <td class="entry_description">
19948 <p>Maximum value possible for a sharpness map
19952 <td class="entry_units">
19955 <td class="entry_range">
19958 <td class="entry_tags">
19959 <ul class="entry_tags">
19960 <li><a href="#tag_FUTURE">FUTURE</a></li>
19967 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
19968 <!-- end of entry -->
19971 <tr class="entry" id="static_android.statistics.info.sharpnessMapSize">
19972 <td class="entry_name
19974 android.<wbr/>statistics.<wbr/>info.<wbr/>sharpness<wbr/>Map<wbr/>Size
19976 <td class="entry_type">
19977 <span class="entry_type_name">int32</span>
19978 <span class="entry_type_container">x</span>
19980 <span class="entry_type_array">
19983 <span class="entry_type_visibility"> [system as size]</span>
19988 <div class="entry_type_notes">width x height</div>
19991 </td> <!-- entry_type -->
19993 <td class="entry_description">
19994 <p>Dimensions of the sharpness
19998 <td class="entry_units">
20001 <td class="entry_range">
20002 <p>Must be at least 32 x 32</p>
20005 <td class="entry_tags">
20006 <ul class="entry_tags">
20007 <li><a href="#tag_FUTURE">FUTURE</a></li>
20014 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20015 <!-- end of entry -->
20018 <tr class="entry" id="static_android.statistics.info.availableHotPixelMapModes">
20019 <td class="entry_name
20021 android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Hot<wbr/>Pixel<wbr/>Map<wbr/>Modes
20023 <td class="entry_type">
20024 <span class="entry_type_name">byte</span>
20025 <span class="entry_type_container">x</span>
20027 <span class="entry_type_array">
20030 <span class="entry_type_visibility"> [public as boolean]</span>
20035 <div class="entry_type_notes">list of enums</div>
20038 </td> <!-- entry_type -->
20040 <td class="entry_description">
20041 <p>List of hot pixel map output modes for <a href="#controls_android.statistics.hotPixelMapMode">android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map<wbr/>Mode</a> that are
20042 supported by this camera device.<wbr/></p>
20045 <td class="entry_units">
20048 <td class="entry_range">
20049 <p>Any value listed in <a href="#controls_android.statistics.hotPixelMapMode">android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map<wbr/>Mode</a></p>
20052 <td class="entry_tags">
20053 <ul class="entry_tags">
20054 <li><a href="#tag_V1">V1</a></li>
20055 <li><a href="#tag_RAW">RAW</a></li>
20060 <tr class="entries_header">
20061 <th class="th_details" colspan="5">Details</th>
20063 <tr class="entry_cont">
20064 <td class="entry_details" colspan="5">
20065 <p>If no hotpixel map output is available for this camera device,<wbr/> this will contain only
20066 <code>false</code>.<wbr/></p>
20067 <p>ON is always supported on devices with the RAW capability.<wbr/></p>
20072 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20073 <!-- end of entry -->
20080 <!-- end of kind -->
20082 <tr><td colspan="6" class="kind">dynamic</td></tr>
20084 <thead class="entries_header">
20086 <th class="th_name">Property Name</th>
20087 <th class="th_type">Type</th>
20088 <th class="th_description">Description</th>
20089 <th class="th_units">Units</th>
20090 <th class="th_range">Range</th>
20091 <th class="th_tags">Tags</th>
20106 <tr class="entry" id="dynamic_android.statistics.faceDetectMode">
20107 <td class="entry_name
20109 android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode
20111 <td class="entry_type">
20112 <span class="entry_type_name entry_type_name_enum">byte</span>
20114 <span class="entry_type_visibility"> [public]</span>
20117 <span class="entry_type_hwlevel">[legacy] </span>
20121 <ul class="entry_type_enum">
20123 <span class="entry_type_enum_name">OFF</span>
20124 <span class="entry_type_enum_notes"><p>Do not include face detection statistics in capture
20125 results.<wbr/></p></span>
20128 <span class="entry_type_enum_name">SIMPLE</span>
20129 <span class="entry_type_enum_optional">[optional]</span>
20130 <span class="entry_type_enum_notes"><p>Return face rectangle and confidence values only.<wbr/></p></span>
20133 <span class="entry_type_enum_name">FULL</span>
20134 <span class="entry_type_enum_optional">[optional]</span>
20135 <span class="entry_type_enum_notes"><p>Return all face
20136 metadata.<wbr/></p>
20137 <p>In this mode,<wbr/> face rectangles,<wbr/> scores,<wbr/> landmarks,<wbr/> and face IDs are all valid.<wbr/></p></span>
20141 </td> <!-- entry_type -->
20143 <td class="entry_description">
20144 <p>Operating mode for the face detector
20148 <td class="entry_units">
20151 <td class="entry_range">
20152 <p><a href="#static_android.statistics.info.availableFaceDetectModes">android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Face<wbr/>Detect<wbr/>Modes</a></p>
20155 <td class="entry_tags">
20156 <ul class="entry_tags">
20157 <li><a href="#tag_BC">BC</a></li>
20162 <tr class="entries_header">
20163 <th class="th_details" colspan="5">Details</th>
20165 <tr class="entry_cont">
20166 <td class="entry_details" colspan="5">
20167 <p>Whether face detection is enabled,<wbr/> and whether it
20168 should output just the basic fields or the full set of
20173 <tr class="entries_header">
20174 <th class="th_details" colspan="5">HAL Implementation Details</th>
20176 <tr class="entry_cont">
20177 <td class="entry_details" colspan="5">
20178 <p>SIMPLE mode must fill in <a href="#dynamic_android.statistics.faceRectangles">android.<wbr/>statistics.<wbr/>face<wbr/>Rectangles</a> and
20179 <a href="#dynamic_android.statistics.faceScores">android.<wbr/>statistics.<wbr/>face<wbr/>Scores</a>.<wbr/>
20180 FULL mode must also fill in <a href="#dynamic_android.statistics.faceIds">android.<wbr/>statistics.<wbr/>face<wbr/>Ids</a>,<wbr/> and
20181 <a href="#dynamic_android.statistics.faceLandmarks">android.<wbr/>statistics.<wbr/>face<wbr/>Landmarks</a>.<wbr/></p>
20185 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20186 <!-- end of entry -->
20189 <tr class="entry" id="dynamic_android.statistics.faceIds">
20190 <td class="entry_name
20192 android.<wbr/>statistics.<wbr/>face<wbr/>Ids
20194 <td class="entry_type">
20195 <span class="entry_type_name">int32</span>
20196 <span class="entry_type_container">x</span>
20198 <span class="entry_type_array">
20201 <span class="entry_type_visibility"> [hidden]</span>
20204 <span class="entry_type_hwlevel">[legacy] </span>
20209 </td> <!-- entry_type -->
20211 <td class="entry_description">
20212 <p>List of unique IDs for detected faces.<wbr/></p>
20215 <td class="entry_units">
20218 <td class="entry_range">
20221 <td class="entry_tags">
20222 <ul class="entry_tags">
20223 <li><a href="#tag_BC">BC</a></li>
20228 <tr class="entries_header">
20229 <th class="th_details" colspan="5">Details</th>
20231 <tr class="entry_cont">
20232 <td class="entry_details" colspan="5">
20233 <p>Each detected face is given a unique ID that is valid for as long as the face is visible
20234 to the camera device.<wbr/> A face that leaves the field of view and later returns may be
20235 assigned a new ID.<wbr/></p>
20236 <p>Only available if <a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a> == FULL</p>
20241 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20242 <!-- end of entry -->
20245 <tr class="entry" id="dynamic_android.statistics.faceLandmarks">
20246 <td class="entry_name
20248 android.<wbr/>statistics.<wbr/>face<wbr/>Landmarks
20250 <td class="entry_type">
20251 <span class="entry_type_name">int32</span>
20252 <span class="entry_type_container">x</span>
20254 <span class="entry_type_array">
20257 <span class="entry_type_visibility"> [hidden]</span>
20260 <span class="entry_type_hwlevel">[legacy] </span>
20263 <div class="entry_type_notes">(leftEyeX,<wbr/> leftEyeY,<wbr/> rightEyeX,<wbr/> rightEyeY,<wbr/> mouthX,<wbr/> mouthY)</div>
20266 </td> <!-- entry_type -->
20268 <td class="entry_description">
20269 <p>List of landmarks for detected
20273 <td class="entry_units">
20276 <td class="entry_range">
20279 <td class="entry_tags">
20280 <ul class="entry_tags">
20281 <li><a href="#tag_BC">BC</a></li>
20286 <tr class="entries_header">
20287 <th class="th_details" colspan="5">Details</th>
20289 <tr class="entry_cont">
20290 <td class="entry_details" colspan="5">
20291 <p>The coordinate system is that of <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>,<wbr/> with
20292 <code>(0,<wbr/> 0)</code> being the top-left pixel of the active array.<wbr/></p>
20293 <p>Only available if <a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a> == FULL</p>
20298 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20299 <!-- end of entry -->
20302 <tr class="entry" id="dynamic_android.statistics.faceRectangles">
20303 <td class="entry_name
20305 android.<wbr/>statistics.<wbr/>face<wbr/>Rectangles
20307 <td class="entry_type">
20308 <span class="entry_type_name">int32</span>
20309 <span class="entry_type_container">x</span>
20311 <span class="entry_type_array">
20314 <span class="entry_type_visibility"> [hidden as rectangle]</span>
20317 <span class="entry_type_hwlevel">[legacy] </span>
20320 <div class="entry_type_notes">(xmin,<wbr/> ymin,<wbr/> xmax,<wbr/> ymax).<wbr/> (0,<wbr/>0) is top-left of active pixel area</div>
20323 </td> <!-- entry_type -->
20325 <td class="entry_description">
20326 <p>List of the bounding rectangles for detected
20330 <td class="entry_units">
20333 <td class="entry_range">
20336 <td class="entry_tags">
20337 <ul class="entry_tags">
20338 <li><a href="#tag_BC">BC</a></li>
20343 <tr class="entries_header">
20344 <th class="th_details" colspan="5">Details</th>
20346 <tr class="entry_cont">
20347 <td class="entry_details" colspan="5">
20348 <p>The coordinate system is that of <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>,<wbr/> with
20349 <code>(0,<wbr/> 0)</code> being the top-left pixel of the active array.<wbr/></p>
20350 <p>Only available if <a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a> != OFF</p>
20355 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20356 <!-- end of entry -->
20359 <tr class="entry" id="dynamic_android.statistics.faceScores">
20360 <td class="entry_name
20362 android.<wbr/>statistics.<wbr/>face<wbr/>Scores
20364 <td class="entry_type">
20365 <span class="entry_type_name">byte</span>
20366 <span class="entry_type_container">x</span>
20368 <span class="entry_type_array">
20371 <span class="entry_type_visibility"> [hidden]</span>
20374 <span class="entry_type_hwlevel">[legacy] </span>
20379 </td> <!-- entry_type -->
20381 <td class="entry_description">
20382 <p>List of the face confidence scores for
20386 <td class="entry_units">
20389 <td class="entry_range">
20393 <td class="entry_tags">
20394 <ul class="entry_tags">
20395 <li><a href="#tag_BC">BC</a></li>
20400 <tr class="entries_header">
20401 <th class="th_details" colspan="5">Details</th>
20403 <tr class="entry_cont">
20404 <td class="entry_details" colspan="5">
20405 <p>Only available if <a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a> != OFF.<wbr/></p>
20409 <tr class="entries_header">
20410 <th class="th_details" colspan="5">HAL Implementation Details</th>
20412 <tr class="entry_cont">
20413 <td class="entry_details" colspan="5">
20414 <p>The value should be meaningful (for example,<wbr/> setting 100 at
20415 all times is illegal).<wbr/></p>
20419 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20420 <!-- end of entry -->
20423 <tr class="entry" id="dynamic_android.statistics.faces">
20424 <td class="entry_name
20426 android.<wbr/>statistics.<wbr/>faces
20428 <td class="entry_type">
20429 <span class="entry_type_name">int32</span>
20430 <span class="entry_type_container">x</span>
20432 <span class="entry_type_array">
20435 <span class="entry_type_visibility"> [public as face]</span>
20437 <span class="entry_type_synthetic">[synthetic] </span>
20439 <span class="entry_type_hwlevel">[legacy] </span>
20444 </td> <!-- entry_type -->
20446 <td class="entry_description">
20447 <p>List of the faces detected through camera face detection
20448 in this capture.<wbr/></p>
20451 <td class="entry_units">
20454 <td class="entry_range">
20457 <td class="entry_tags">
20461 <tr class="entries_header">
20462 <th class="th_details" colspan="5">Details</th>
20464 <tr class="entry_cont">
20465 <td class="entry_details" colspan="5">
20466 <p>Only available if <a href="#controls_android.statistics.faceDetectMode">android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</a> <code>!=</code> OFF.<wbr/></p>
20471 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20472 <!-- end of entry -->
20475 <tr class="entry" id="dynamic_android.statistics.histogram">
20476 <td class="entry_name
20478 android.<wbr/>statistics.<wbr/>histogram
20480 <td class="entry_type">
20481 <span class="entry_type_name">int32</span>
20482 <span class="entry_type_container">x</span>
20484 <span class="entry_type_array">
20487 <span class="entry_type_visibility"> [system]</span>
20492 <div class="entry_type_notes">count of pixels for each color channel that fall into each histogram bucket,<wbr/> scaled to be between 0 and maxHistogramCount</div>
20495 </td> <!-- entry_type -->
20497 <td class="entry_description">
20498 <p>A 3-channel histogram based on the raw
20502 <td class="entry_units">
20505 <td class="entry_range">
20508 <td class="entry_tags">
20509 <ul class="entry_tags">
20510 <li><a href="#tag_FUTURE">FUTURE</a></li>
20515 <tr class="entries_header">
20516 <th class="th_details" colspan="5">Details</th>
20518 <tr class="entry_cont">
20519 <td class="entry_details" colspan="5">
20520 <p>The k'th bucket (0-based) covers the input range
20521 (with w = <a href="#static_android.sensor.info.whiteLevel">android.<wbr/>sensor.<wbr/>info.<wbr/>white<wbr/>Level</a>) of [ k * w/<wbr/>N,<wbr/>
20522 (k + 1) * w /<wbr/> N ).<wbr/> If only a monochrome sharpness map is
20523 supported,<wbr/> all channels should have the same data</p>
20528 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20529 <!-- end of entry -->
20532 <tr class="entry" id="dynamic_android.statistics.histogramMode">
20533 <td class="entry_name
20535 android.<wbr/>statistics.<wbr/>histogram<wbr/>Mode
20537 <td class="entry_type">
20538 <span class="entry_type_name entry_type_name_enum">byte</span>
20540 <span class="entry_type_visibility"> [system as boolean]</span>
20546 <ul class="entry_type_enum">
20548 <span class="entry_type_enum_name">OFF</span>
20551 <span class="entry_type_enum_name">ON</span>
20555 </td> <!-- entry_type -->
20557 <td class="entry_description">
20558 <p>Operating mode for histogram
20562 <td class="entry_units">
20565 <td class="entry_range">
20568 <td class="entry_tags">
20569 <ul class="entry_tags">
20570 <li><a href="#tag_FUTURE">FUTURE</a></li>
20577 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20578 <!-- end of entry -->
20581 <tr class="entry" id="dynamic_android.statistics.sharpnessMap">
20582 <td class="entry_name
20584 android.<wbr/>statistics.<wbr/>sharpness<wbr/>Map
20586 <td class="entry_type">
20587 <span class="entry_type_name">int32</span>
20588 <span class="entry_type_container">x</span>
20590 <span class="entry_type_array">
20593 <span class="entry_type_visibility"> [system]</span>
20598 <div class="entry_type_notes">estimated sharpness for each region of the input image.<wbr/> Normalized to be between 0 and maxSharpnessMapValue.<wbr/> Higher values mean sharper (better focused)</div>
20601 </td> <!-- entry_type -->
20603 <td class="entry_description">
20604 <p>A 3-channel sharpness map,<wbr/> based on the raw
20608 <td class="entry_units">
20611 <td class="entry_range">
20614 <td class="entry_tags">
20615 <ul class="entry_tags">
20616 <li><a href="#tag_FUTURE">FUTURE</a></li>
20621 <tr class="entries_header">
20622 <th class="th_details" colspan="5">Details</th>
20624 <tr class="entry_cont">
20625 <td class="entry_details" colspan="5">
20626 <p>If only a monochrome sharpness map is supported,<wbr/>
20627 all channels should have the same data</p>
20632 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20633 <!-- end of entry -->
20636 <tr class="entry" id="dynamic_android.statistics.sharpnessMapMode">
20637 <td class="entry_name
20639 android.<wbr/>statistics.<wbr/>sharpness<wbr/>Map<wbr/>Mode
20641 <td class="entry_type">
20642 <span class="entry_type_name entry_type_name_enum">byte</span>
20644 <span class="entry_type_visibility"> [system as boolean]</span>
20650 <ul class="entry_type_enum">
20652 <span class="entry_type_enum_name">OFF</span>
20655 <span class="entry_type_enum_name">ON</span>
20659 </td> <!-- entry_type -->
20661 <td class="entry_description">
20662 <p>Operating mode for sharpness map
20666 <td class="entry_units">
20669 <td class="entry_range">
20672 <td class="entry_tags">
20673 <ul class="entry_tags">
20674 <li><a href="#tag_FUTURE">FUTURE</a></li>
20681 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20682 <!-- end of entry -->
20685 <tr class="entry" id="dynamic_android.statistics.lensShadingCorrectionMap">
20686 <td class="entry_name
20688 android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Correction<wbr/>Map
20690 <td class="entry_type">
20691 <span class="entry_type_name">byte</span>
20693 <span class="entry_type_visibility"> [public as lensShadingMap]</span>
20696 <span class="entry_type_hwlevel">[full] </span>
20701 </td> <!-- entry_type -->
20703 <td class="entry_description">
20704 <p>The shading map is a low-resolution floating-point map
20705 that lists the coefficients used to correct for vignetting,<wbr/> for each
20706 Bayer color channel.<wbr/></p>
20709 <td class="entry_units">
20712 <td class="entry_range">
20713 <p>Each gain factor is >= 1</p>
20716 <td class="entry_tags">
20720 <tr class="entries_header">
20721 <th class="th_details" colspan="5">Details</th>
20723 <tr class="entry_cont">
20724 <td class="entry_details" colspan="5">
20725 <p>The least shaded section of the image should have a gain factor
20726 of 1; all other sections should have gains above 1.<wbr/></p>
20727 <p>When <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> = TRANSFORM_<wbr/>MATRIX,<wbr/> the map
20728 must take into account the colorCorrection settings.<wbr/></p>
20729 <p>The shading map is for the entire active pixel array,<wbr/> and is not
20730 affected by the crop region specified in the request.<wbr/> Each shading map
20731 entry is the value of the shading compensation map over a specific
20732 pixel on the sensor.<wbr/> Specifically,<wbr/> with a (N x M) resolution shading
20733 map,<wbr/> and an active pixel array size (W x H),<wbr/> shading map entry
20734 (x,<wbr/>y) ϵ (0 ...<wbr/> N-1,<wbr/> 0 ...<wbr/> M-1) is the value of the shading map at
20735 pixel ( ((W-1)/<wbr/>(N-1)) * x,<wbr/> ((H-1)/<wbr/>(M-1)) * y) for the four color channels.<wbr/>
20736 The map is assumed to be bilinearly interpolated between the sample points.<wbr/></p>
20737 <p>The channel order is [R,<wbr/> Geven,<wbr/> Godd,<wbr/> B],<wbr/> where Geven is the green
20738 channel for the even rows of a Bayer pattern,<wbr/> and Godd is the odd rows.<wbr/>
20739 The shading map is stored in a fully interleaved format.<wbr/></p>
20740 <p>The shading map should have on the order of 30-40 rows and columns,<wbr/>
20741 and must be smaller than 64x64.<wbr/></p>
20742 <p>As an example,<wbr/> given a very small map defined as:</p>
20743 <pre><code>width,<wbr/>height = [ 4,<wbr/> 3 ]
20745 [ 1.<wbr/>3,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>15,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>15,<wbr/> 1.<wbr/>2,<wbr/>
20746 1.<wbr/>1,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3,<wbr/> 1.<wbr/>3,<wbr/>
20747 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>25,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>0,<wbr/>
20748 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3,<wbr/> 1.<wbr/>25,<wbr/> 1.<wbr/>2,<wbr/>
20749 1.<wbr/>3,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>15,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>2,<wbr/>
20750 1.<wbr/>2,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3,<wbr/> 1.<wbr/>15,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3 ]
20752 <p>The low-resolution scaling map images for each channel are
20753 (displayed using nearest-neighbor interpolation):</p>
20754 <p><img alt="Red lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/red_shading.png"/>
20755 <img alt="Green (even rows) lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/green_e_shading.png"/>
20756 <img alt="Green (odd rows) lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/green_o_shading.png"/>
20757 <img alt="Blue lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/blue_shading.png"/></p>
20758 <p>As a visualization only,<wbr/> inverting the full-color map to recover an
20759 image of a gray wall (using bicubic interpolation for visual quality) as captured by the sensor gives:</p>
20760 <p><img alt="Image of a uniform white wall (inverse shading map)" src="images/camera2/metadata/android.statistics.lensShadingMap/inv_shading.png"/></p>
20765 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20766 <!-- end of entry -->
20769 <tr class="entry" id="dynamic_android.statistics.lensShadingMap">
20770 <td class="entry_name
20772 android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map
20774 <td class="entry_type">
20775 <span class="entry_type_name">float</span>
20776 <span class="entry_type_container">x</span>
20778 <span class="entry_type_array">
20781 <span class="entry_type_visibility"> [hidden]</span>
20784 <span class="entry_type_hwlevel">[full] </span>
20787 <div class="entry_type_notes">2D array of float gain factors per channel to correct lens shading</div>
20790 </td> <!-- entry_type -->
20792 <td class="entry_description">
20793 <p>The shading map is a low-resolution floating-point map
20794 that lists the coefficients used to correct for vignetting,<wbr/> for each
20795 Bayer color channel.<wbr/></p>
20798 <td class="entry_units">
20801 <td class="entry_range">
20802 <p>Each gain factor is >= 1</p>
20805 <td class="entry_tags">
20809 <tr class="entries_header">
20810 <th class="th_details" colspan="5">Details</th>
20812 <tr class="entry_cont">
20813 <td class="entry_details" colspan="5">
20814 <p>The least shaded section of the image should have a gain factor
20815 of 1; all other sections should have gains above 1.<wbr/></p>
20816 <p>When <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> = TRANSFORM_<wbr/>MATRIX,<wbr/> the map
20817 must take into account the colorCorrection settings.<wbr/></p>
20818 <p>The shading map is for the entire active pixel array,<wbr/> and is not
20819 affected by the crop region specified in the request.<wbr/> Each shading map
20820 entry is the value of the shading compensation map over a specific
20821 pixel on the sensor.<wbr/> Specifically,<wbr/> with a (N x M) resolution shading
20822 map,<wbr/> and an active pixel array size (W x H),<wbr/> shading map entry
20823 (x,<wbr/>y) ϵ (0 ...<wbr/> N-1,<wbr/> 0 ...<wbr/> M-1) is the value of the shading map at
20824 pixel ( ((W-1)/<wbr/>(N-1)) * x,<wbr/> ((H-1)/<wbr/>(M-1)) * y) for the four color channels.<wbr/>
20825 The map is assumed to be bilinearly interpolated between the sample points.<wbr/></p>
20826 <p>The channel order is [R,<wbr/> Geven,<wbr/> Godd,<wbr/> B],<wbr/> where Geven is the green
20827 channel for the even rows of a Bayer pattern,<wbr/> and Godd is the odd rows.<wbr/>
20828 The shading map is stored in a fully interleaved format,<wbr/> and its size
20829 is provided in the camera static metadata by <a href="#static_android.lens.info.shadingMapSize">android.<wbr/>lens.<wbr/>info.<wbr/>shading<wbr/>Map<wbr/>Size</a>.<wbr/></p>
20830 <p>The shading map should have on the order of 30-40 rows and columns,<wbr/>
20831 and must be smaller than 64x64.<wbr/></p>
20832 <p>As an example,<wbr/> given a very small map defined as:</p>
20833 <pre><code><a href="#static_android.lens.info.shadingMapSize">android.<wbr/>lens.<wbr/>info.<wbr/>shading<wbr/>Map<wbr/>Size</a> = [ 4,<wbr/> 3 ]
20834 <a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a> =
20835 [ 1.<wbr/>3,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>15,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>15,<wbr/> 1.<wbr/>2,<wbr/>
20836 1.<wbr/>1,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3,<wbr/> 1.<wbr/>3,<wbr/>
20837 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>25,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>0,<wbr/>
20838 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3,<wbr/> 1.<wbr/>25,<wbr/> 1.<wbr/>2,<wbr/>
20839 1.<wbr/>3,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>15,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>2,<wbr/>
20840 1.<wbr/>2,<wbr/> 1.<wbr/>1,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3,<wbr/> 1.<wbr/>15,<wbr/> 1.<wbr/>2,<wbr/> 1.<wbr/>3 ]
20842 <p>The low-resolution scaling map images for each channel are
20843 (displayed using nearest-neighbor interpolation):</p>
20844 <p><img alt="Red lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/red_shading.png"/>
20845 <img alt="Green (even rows) lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/green_e_shading.png"/>
20846 <img alt="Green (odd rows) lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/green_o_shading.png"/>
20847 <img alt="Blue lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/blue_shading.png"/></p>
20848 <p>As a visualization only,<wbr/> inverting the full-color map to recover an
20849 image of a gray wall (using bicubic interpolation for visual quality) as captured by the sensor gives:</p>
20850 <p><img alt="Image of a uniform white wall (inverse shading map)" src="images/camera2/metadata/android.statistics.lensShadingMap/inv_shading.png"/></p>
20854 <tr class="entries_header">
20855 <th class="th_details" colspan="5">HAL Implementation Details</th>
20857 <tr class="entry_cont">
20858 <td class="entry_details" colspan="5">
20859 <p>The lens shading map calculation may depend on exposure and white balance statistics.<wbr/>
20860 When AE and AWB are in AUTO modes
20861 (<a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> <code>!=</code> OFF and <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> <code>!=</code> OFF),<wbr/> the HAL
20862 may have all the information it need to generate most accurate lens shading map.<wbr/> When
20863 AE or AWB are in manual mode
20864 (<a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> <code>==</code> OFF or <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> <code>==</code> OFF),<wbr/> the shading map
20865 may be adversely impacted by manual exposure or white balance parameters.<wbr/> To avoid
20866 generating unreliable shading map data,<wbr/> the HAL may choose to lock the shading map with
20867 the latest known good map generated when the AE and AWB are in AUTO modes.<wbr/></p>
20871 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20872 <!-- end of entry -->
20875 <tr class="entry" id="dynamic_android.statistics.predictedColorGains">
20876 <td class="entry_name
20877 entry_name_deprecated
20879 android.<wbr/>statistics.<wbr/>predicted<wbr/>Color<wbr/>Gains
20881 <td class="entry_type">
20882 <span class="entry_type_name">float</span>
20883 <span class="entry_type_container">x</span>
20885 <span class="entry_type_array">
20888 <span class="entry_type_visibility"> [hidden]</span>
20892 <span class="entry_type_deprecated">[deprecated] </span>
20894 <div class="entry_type_notes">A 1D array of floats for 4 color channel gains</div>
20897 </td> <!-- entry_type -->
20899 <td class="entry_description">
20900 <p>The best-fit color channel gains calculated
20901 by the camera device's statistics units for the current output frame.<wbr/></p>
20904 <td class="entry_units">
20907 <td class="entry_range">
20908 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
20911 <td class="entry_tags">
20915 <tr class="entries_header">
20916 <th class="th_details" colspan="5">Details</th>
20918 <tr class="entry_cont">
20919 <td class="entry_details" colspan="5">
20920 <p>This may be different than the gains used for this frame,<wbr/>
20921 since statistics processing on data from a new frame
20922 typically completes after the transform has already been
20923 applied to that frame.<wbr/></p>
20924 <p>The 4 channel gains are defined in Bayer domain,<wbr/>
20925 see <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> for details.<wbr/></p>
20926 <p>This value should always be calculated by the auto-white balance (AWB) block,<wbr/>
20927 regardless of the android.<wbr/>control.<wbr/>* current values.<wbr/></p>
20932 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20933 <!-- end of entry -->
20936 <tr class="entry" id="dynamic_android.statistics.predictedColorTransform">
20937 <td class="entry_name
20938 entry_name_deprecated
20940 android.<wbr/>statistics.<wbr/>predicted<wbr/>Color<wbr/>Transform
20942 <td class="entry_type">
20943 <span class="entry_type_name">rational</span>
20944 <span class="entry_type_container">x</span>
20946 <span class="entry_type_array">
20949 <span class="entry_type_visibility"> [hidden]</span>
20953 <span class="entry_type_deprecated">[deprecated] </span>
20955 <div class="entry_type_notes">3x3 rational matrix in row-major order</div>
20958 </td> <!-- entry_type -->
20960 <td class="entry_description">
20961 <p>The best-fit color transform matrix estimate
20962 calculated by the camera device's statistics units for the current
20963 output frame.<wbr/></p>
20966 <td class="entry_units">
20969 <td class="entry_range">
20970 <p><span class="entry_range_deprecated">Deprecated</span>. Do not use.</p>
20973 <td class="entry_tags">
20977 <tr class="entries_header">
20978 <th class="th_details" colspan="5">Details</th>
20980 <tr class="entry_cont">
20981 <td class="entry_details" colspan="5">
20982 <p>The camera device will provide the estimate from its
20983 statistics unit on the white balance transforms to use
20984 for the next frame.<wbr/> These are the values the camera device believes
20985 are the best fit for the current output frame.<wbr/> This may
20986 be different than the transform used for this frame,<wbr/> since
20987 statistics processing on data from a new frame typically
20988 completes after the transform has already been applied to
20989 that frame.<wbr/></p>
20990 <p>These estimates must be provided for all frames,<wbr/> even if
20991 capture settings and color transforms are set by the application.<wbr/></p>
20992 <p>This value should always be calculated by the auto-white balance (AWB) block,<wbr/>
20993 regardless of the android.<wbr/>control.<wbr/>* current values.<wbr/></p>
20998 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
20999 <!-- end of entry -->
21002 <tr class="entry" id="dynamic_android.statistics.sceneFlicker">
21003 <td class="entry_name
21005 android.<wbr/>statistics.<wbr/>scene<wbr/>Flicker
21007 <td class="entry_type">
21008 <span class="entry_type_name entry_type_name_enum">byte</span>
21010 <span class="entry_type_visibility"> [public]</span>
21013 <span class="entry_type_hwlevel">[full] </span>
21017 <ul class="entry_type_enum">
21019 <span class="entry_type_enum_name">NONE</span>
21020 <span class="entry_type_enum_notes"><p>The camera device does not detect any flickering illumination
21021 in the current scene.<wbr/></p></span>
21024 <span class="entry_type_enum_name">50HZ</span>
21025 <span class="entry_type_enum_notes"><p>The camera device detects illumination flickering at 50Hz
21026 in the current scene.<wbr/></p></span>
21029 <span class="entry_type_enum_name">60HZ</span>
21030 <span class="entry_type_enum_notes"><p>The camera device detects illumination flickering at 60Hz
21031 in the current scene.<wbr/></p></span>
21035 </td> <!-- entry_type -->
21037 <td class="entry_description">
21038 <p>The camera device estimated scene illumination lighting
21039 frequency.<wbr/></p>
21042 <td class="entry_units">
21045 <td class="entry_range">
21048 <td class="entry_tags">
21052 <tr class="entries_header">
21053 <th class="th_details" colspan="5">Details</th>
21055 <tr class="entry_cont">
21056 <td class="entry_details" colspan="5">
21057 <p>Many light sources,<wbr/> such as most fluorescent lights,<wbr/> flicker at a rate
21058 that depends on the local utility power standards.<wbr/> This flicker must be
21059 accounted for by auto-exposure routines to avoid artifacts in captured images.<wbr/>
21060 The camera device uses this entry to tell the application what the scene
21061 illuminant frequency is.<wbr/></p>
21062 <p>When manual exposure control is enabled
21063 (<code><a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> == OFF</code> or <code><a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> ==
21064 OFF</code>),<wbr/> the <a href="#controls_android.control.aeAntibandingMode">android.<wbr/>control.<wbr/>ae<wbr/>Antibanding<wbr/>Mode</a> doesn't perform
21065 antibanding,<wbr/> and the application can ensure it selects
21066 exposure times that do not cause banding issues by looking
21067 into this metadata field.<wbr/> See
21068 <a href="#controls_android.control.aeAntibandingMode">android.<wbr/>control.<wbr/>ae<wbr/>Antibanding<wbr/>Mode</a> for more details.<wbr/></p>
21069 <p>Reports NONE if there doesn't appear to be flickering illumination.<wbr/></p>
21074 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21075 <!-- end of entry -->
21078 <tr class="entry" id="dynamic_android.statistics.hotPixelMapMode">
21079 <td class="entry_name
21081 android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map<wbr/>Mode
21083 <td class="entry_type">
21084 <span class="entry_type_name entry_type_name_enum">byte</span>
21086 <span class="entry_type_visibility"> [public as boolean]</span>
21092 <ul class="entry_type_enum">
21094 <span class="entry_type_enum_name">OFF</span>
21095 <span class="entry_type_enum_notes"><p>Hot pixel map production is disabled.<wbr/></p></span>
21098 <span class="entry_type_enum_name">ON</span>
21099 <span class="entry_type_enum_notes"><p>Hot pixel map production is enabled.<wbr/></p></span>
21103 </td> <!-- entry_type -->
21105 <td class="entry_description">
21106 <p>Operating mode for hot pixel map generation.<wbr/></p>
21109 <td class="entry_units">
21112 <td class="entry_range">
21113 <p><a href="#static_android.statistics.info.availableHotPixelMapModes">android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Hot<wbr/>Pixel<wbr/>Map<wbr/>Modes</a></p>
21116 <td class="entry_tags">
21117 <ul class="entry_tags">
21118 <li><a href="#tag_V1">V1</a></li>
21119 <li><a href="#tag_RAW">RAW</a></li>
21124 <tr class="entries_header">
21125 <th class="th_details" colspan="5">Details</th>
21127 <tr class="entry_cont">
21128 <td class="entry_details" colspan="5">
21129 <p>If set to <code>true</code>,<wbr/> a hot pixel map is returned in <a href="#dynamic_android.statistics.hotPixelMap">android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map</a>.<wbr/>
21130 If set to <code>false</code>,<wbr/> no hot pixel map will be returned.<wbr/></p>
21135 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21136 <!-- end of entry -->
21139 <tr class="entry" id="dynamic_android.statistics.hotPixelMap">
21140 <td class="entry_name
21142 android.<wbr/>statistics.<wbr/>hot<wbr/>Pixel<wbr/>Map
21144 <td class="entry_type">
21145 <span class="entry_type_name">int32</span>
21146 <span class="entry_type_container">x</span>
21148 <span class="entry_type_array">
21151 <span class="entry_type_visibility"> [public as point]</span>
21156 <div class="entry_type_notes">list of coordinates based on android.<wbr/>sensor.<wbr/>pixel<wbr/>Array<wbr/>Size</div>
21159 </td> <!-- entry_type -->
21161 <td class="entry_description">
21162 <p>List of <code>(x,<wbr/> y)</code> coordinates of hot/<wbr/>defective pixels on the sensor.<wbr/></p>
21165 <td class="entry_units">
21168 <td class="entry_range">
21169 <p>n <= number of pixels on the sensor.<wbr/>
21170 The <code>(x,<wbr/> y)</code> coordinates must be bounded by
21171 <a href="#static_android.sensor.info.pixelArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>pixel<wbr/>Array<wbr/>Size</a>.<wbr/></p>
21174 <td class="entry_tags">
21175 <ul class="entry_tags">
21176 <li><a href="#tag_V1">V1</a></li>
21177 <li><a href="#tag_RAW">RAW</a></li>
21182 <tr class="entries_header">
21183 <th class="th_details" colspan="5">Details</th>
21185 <tr class="entry_cont">
21186 <td class="entry_details" colspan="5">
21187 <p>A coordinate <code>(x,<wbr/> y)</code> must lie between <code>(0,<wbr/> 0)</code>,<wbr/> and
21188 <code>(width - 1,<wbr/> height - 1)</code> (inclusive),<wbr/> which are the top-left and
21189 bottom-right of the pixel array,<wbr/> respectively.<wbr/> The width and
21190 height dimensions are given in <a href="#static_android.sensor.info.pixelArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>pixel<wbr/>Array<wbr/>Size</a>.<wbr/>
21191 This may include hot pixels that lie outside of the active array
21192 bounds given by <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/></p>
21196 <tr class="entries_header">
21197 <th class="th_details" colspan="5">HAL Implementation Details</th>
21199 <tr class="entry_cont">
21200 <td class="entry_details" colspan="5">
21201 <p>A hotpixel map contains the coordinates of pixels on the camera
21202 sensor that do report valid values (usually due to defects in
21203 the camera sensor).<wbr/> This includes pixels that are stuck at certain
21204 values,<wbr/> or have a response that does not accuractly encode the
21205 incoming light from the scene.<wbr/></p>
21206 <p>To avoid performance issues,<wbr/> there should be significantly fewer hot
21207 pixels than actual pixels on the camera sensor.<wbr/></p>
21211 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21212 <!-- end of entry -->
21215 <tr class="entry" id="dynamic_android.statistics.lensShadingMapMode">
21216 <td class="entry_name
21218 android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map<wbr/>Mode
21220 <td class="entry_type">
21221 <span class="entry_type_name entry_type_name_enum">byte</span>
21223 <span class="entry_type_visibility"> [public]</span>
21226 <span class="entry_type_hwlevel">[full] </span>
21230 <ul class="entry_type_enum">
21232 <span class="entry_type_enum_name">OFF</span>
21233 <span class="entry_type_enum_notes"><p>Do not include a lens shading map in the capture result.<wbr/></p></span>
21236 <span class="entry_type_enum_name">ON</span>
21237 <span class="entry_type_enum_notes"><p>Include a lens shading map in the capture result.<wbr/></p></span>
21241 </td> <!-- entry_type -->
21243 <td class="entry_description">
21244 <p>Whether the camera device will output the lens
21245 shading map in output result metadata.<wbr/></p>
21248 <td class="entry_units">
21251 <td class="entry_range">
21254 <td class="entry_tags">
21255 <ul class="entry_tags">
21256 <li><a href="#tag_RAW">RAW</a></li>
21261 <tr class="entries_header">
21262 <th class="th_details" colspan="5">Details</th>
21264 <tr class="entry_cont">
21265 <td class="entry_details" colspan="5">
21266 <p>When set to ON,<wbr/>
21267 <a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a> will be provided in
21268 the output result metadata.<wbr/></p>
21269 <p>ON is always supported on devices with the RAW capability.<wbr/></p>
21274 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21275 <!-- end of entry -->
21279 <!-- end of kind -->
21282 <!-- end of section -->
21283 <tr><td colspan="6" id="section_tonemap" class="section">tonemap</td></tr>
21286 <tr><td colspan="6" class="kind">controls</td></tr>
21288 <thead class="entries_header">
21290 <th class="th_name">Property Name</th>
21291 <th class="th_type">Type</th>
21292 <th class="th_description">Description</th>
21293 <th class="th_units">Units</th>
21294 <th class="th_range">Range</th>
21295 <th class="th_tags">Tags</th>
21310 <tr class="entry" id="controls_android.tonemap.curveBlue">
21311 <td class="entry_name
21313 android.<wbr/>tonemap.<wbr/>curve<wbr/>Blue
21315 <td class="entry_type">
21316 <span class="entry_type_name">float</span>
21317 <span class="entry_type_container">x</span>
21319 <span class="entry_type_array">
21322 <span class="entry_type_visibility"> [hidden]</span>
21325 <span class="entry_type_hwlevel">[full] </span>
21328 <div class="entry_type_notes">1D array of float pairs (P_<wbr/>IN,<wbr/> P_<wbr/>OUT).<wbr/> The maximum number of pairs is specified by android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points.<wbr/></div>
21331 </td> <!-- entry_type -->
21333 <td class="entry_description">
21334 <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the blue
21335 channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is
21336 CONTRAST_<wbr/>CURVE.<wbr/></p>
21339 <td class="entry_units">
21342 <td class="entry_range">
21345 <td class="entry_tags">
21349 <tr class="entries_header">
21350 <th class="th_details" colspan="5">Details</th>
21352 <tr class="entry_cont">
21353 <td class="entry_details" colspan="5">
21354 <p>See <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> for more details.<wbr/></p>
21359 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21360 <!-- end of entry -->
21363 <tr class="entry" id="controls_android.tonemap.curveGreen">
21364 <td class="entry_name
21366 android.<wbr/>tonemap.<wbr/>curve<wbr/>Green
21368 <td class="entry_type">
21369 <span class="entry_type_name">float</span>
21370 <span class="entry_type_container">x</span>
21372 <span class="entry_type_array">
21375 <span class="entry_type_visibility"> [hidden]</span>
21378 <span class="entry_type_hwlevel">[full] </span>
21381 <div class="entry_type_notes">1D array of float pairs (P_<wbr/>IN,<wbr/> P_<wbr/>OUT).<wbr/> The maximum number of pairs is specified by android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points.<wbr/></div>
21384 </td> <!-- entry_type -->
21386 <td class="entry_description">
21387 <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the green
21388 channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is
21389 CONTRAST_<wbr/>CURVE.<wbr/></p>
21392 <td class="entry_units">
21395 <td class="entry_range">
21398 <td class="entry_tags">
21402 <tr class="entries_header">
21403 <th class="th_details" colspan="5">Details</th>
21405 <tr class="entry_cont">
21406 <td class="entry_details" colspan="5">
21407 <p>See <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> for more details.<wbr/></p>
21412 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21413 <!-- end of entry -->
21416 <tr class="entry" id="controls_android.tonemap.curveRed">
21417 <td class="entry_name
21419 android.<wbr/>tonemap.<wbr/>curve<wbr/>Red
21421 <td class="entry_type">
21422 <span class="entry_type_name">float</span>
21423 <span class="entry_type_container">x</span>
21425 <span class="entry_type_array">
21428 <span class="entry_type_visibility"> [hidden]</span>
21431 <span class="entry_type_hwlevel">[full] </span>
21434 <div class="entry_type_notes">1D array of float pairs (P_<wbr/>IN,<wbr/> P_<wbr/>OUT).<wbr/> The maximum number of pairs is specified by android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points.<wbr/></div>
21437 </td> <!-- entry_type -->
21439 <td class="entry_description">
21440 <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the red
21441 channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is
21442 CONTRAST_<wbr/>CURVE.<wbr/></p>
21445 <td class="entry_units">
21448 <td class="entry_range">
21449 <p>0-1 on both input and output coordinates,<wbr/> normalized
21450 as a floating-point value such that 0 == black and 1 == white.<wbr/></p>
21453 <td class="entry_tags">
21457 <tr class="entries_header">
21458 <th class="th_details" colspan="5">Details</th>
21460 <tr class="entry_cont">
21461 <td class="entry_details" colspan="5">
21462 <p>Each channel's curve is defined by an array of control points:</p>
21463 <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> =
21464 [ P0in,<wbr/> P0out,<wbr/> P1in,<wbr/> P1out,<wbr/> P2in,<wbr/> P2out,<wbr/> P3in,<wbr/> P3out,<wbr/> ...,<wbr/> PNin,<wbr/> PNout ]
21465 2 <= N <= <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a></code></pre>
21466 <p>These are sorted in order of increasing <code>Pin</code>; it is
21467 required that input values 0.<wbr/>0 and 1.<wbr/>0 are included in the list to
21468 define a complete mapping.<wbr/> For input values between control points,<wbr/>
21469 the camera device must linearly interpolate between the control
21471 <p>Each curve can have an independent number of points,<wbr/> and the number
21472 of points can be less than max (that is,<wbr/> the request doesn't have to
21473 always provide a curve with number of points equivalent to
21474 <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a>).<wbr/></p>
21475 <p>A few examples,<wbr/> and their corresponding graphical mappings; these
21476 only specify the red channel and the precision is limited to 4
21477 digits,<wbr/> for conciseness.<wbr/></p>
21478 <p>Linear mapping:</p>
21479 <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [ 0,<wbr/> 0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0 ]
21481 <p><img alt="Linear mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/linear_tonemap.png"/></p>
21482 <p>Invert mapping:</p>
21483 <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [ 0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 0 ]
21485 <p><img alt="Inverting mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/inverse_tonemap.png"/></p>
21486 <p>Gamma 1/<wbr/>2.<wbr/>2 mapping,<wbr/> with 16 control points:</p>
21487 <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [
21488 0.<wbr/>0000,<wbr/> 0.<wbr/>0000,<wbr/> 0.<wbr/>0667,<wbr/> 0.<wbr/>2920,<wbr/> 0.<wbr/>1333,<wbr/> 0.<wbr/>4002,<wbr/> 0.<wbr/>2000,<wbr/> 0.<wbr/>4812,<wbr/>
21489 0.<wbr/>2667,<wbr/> 0.<wbr/>5484,<wbr/> 0.<wbr/>3333,<wbr/> 0.<wbr/>6069,<wbr/> 0.<wbr/>4000,<wbr/> 0.<wbr/>6594,<wbr/> 0.<wbr/>4667,<wbr/> 0.<wbr/>7072,<wbr/>
21490 0.<wbr/>5333,<wbr/> 0.<wbr/>7515,<wbr/> 0.<wbr/>6000,<wbr/> 0.<wbr/>7928,<wbr/> 0.<wbr/>6667,<wbr/> 0.<wbr/>8317,<wbr/> 0.<wbr/>7333,<wbr/> 0.<wbr/>8685,<wbr/>
21491 0.<wbr/>8000,<wbr/> 0.<wbr/>9035,<wbr/> 0.<wbr/>8667,<wbr/> 0.<wbr/>9370,<wbr/> 0.<wbr/>9333,<wbr/> 0.<wbr/>9691,<wbr/> 1.<wbr/>0000,<wbr/> 1.<wbr/>0000 ]
21493 <p><img alt="Gamma = 1/2.2 tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/gamma_tonemap.png"/></p>
21494 <p>Standard sRGB gamma mapping,<wbr/> per IEC 61966-2-1:1999,<wbr/> with 16 control points:</p>
21495 <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [
21496 0.<wbr/>0000,<wbr/> 0.<wbr/>0000,<wbr/> 0.<wbr/>0667,<wbr/> 0.<wbr/>2864,<wbr/> 0.<wbr/>1333,<wbr/> 0.<wbr/>4007,<wbr/> 0.<wbr/>2000,<wbr/> 0.<wbr/>4845,<wbr/>
21497 0.<wbr/>2667,<wbr/> 0.<wbr/>5532,<wbr/> 0.<wbr/>3333,<wbr/> 0.<wbr/>6125,<wbr/> 0.<wbr/>4000,<wbr/> 0.<wbr/>6652,<wbr/> 0.<wbr/>4667,<wbr/> 0.<wbr/>7130,<wbr/>
21498 0.<wbr/>5333,<wbr/> 0.<wbr/>7569,<wbr/> 0.<wbr/>6000,<wbr/> 0.<wbr/>7977,<wbr/> 0.<wbr/>6667,<wbr/> 0.<wbr/>8360,<wbr/> 0.<wbr/>7333,<wbr/> 0.<wbr/>8721,<wbr/>
21499 0.<wbr/>8000,<wbr/> 0.<wbr/>9063,<wbr/> 0.<wbr/>8667,<wbr/> 0.<wbr/>9389,<wbr/> 0.<wbr/>9333,<wbr/> 0.<wbr/>9701,<wbr/> 1.<wbr/>0000,<wbr/> 1.<wbr/>0000 ]
21501 <p><img alt="sRGB tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/srgb_tonemap.png"/></p>
21505 <tr class="entries_header">
21506 <th class="th_details" colspan="5">HAL Implementation Details</th>
21508 <tr class="entry_cont">
21509 <td class="entry_details" colspan="5">
21510 <p>For good quality of mapping,<wbr/> at least 128 control points are
21511 preferred.<wbr/></p>
21512 <p>A typical use case of this would be a gamma-1/<wbr/>2.<wbr/>2 curve,<wbr/> with as many
21513 control points used as are available.<wbr/></p>
21517 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21518 <!-- end of entry -->
21521 <tr class="entry" id="controls_android.tonemap.curve">
21522 <td class="entry_name
21524 android.<wbr/>tonemap.<wbr/>curve
21526 <td class="entry_type">
21527 <span class="entry_type_name">float</span>
21529 <span class="entry_type_visibility"> [public as tonemapCurve]</span>
21531 <span class="entry_type_synthetic">[synthetic] </span>
21533 <span class="entry_type_hwlevel">[full] </span>
21538 </td> <!-- entry_type -->
21540 <td class="entry_description">
21541 <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a>
21542 is CONTRAST_<wbr/>CURVE.<wbr/></p>
21545 <td class="entry_units">
21548 <td class="entry_range">
21551 <td class="entry_tags">
21555 <tr class="entries_header">
21556 <th class="th_details" colspan="5">Details</th>
21558 <tr class="entry_cont">
21559 <td class="entry_details" colspan="5">
21560 <p>The tonemapCurve consist of three curves for each of red,<wbr/> green,<wbr/> and blue
21561 channels respectively.<wbr/> The following example uses the red channel as an
21562 example.<wbr/> The same logic applies to green and blue channel.<wbr/>
21563 Each channel's curve is defined by an array of control points:</p>
21564 <pre><code>curveRed =
21565 [ P0(in,<wbr/> out),<wbr/> P1(in,<wbr/> out),<wbr/> P2(in,<wbr/> out),<wbr/> P3(in,<wbr/> out),<wbr/> ...,<wbr/> PN(in,<wbr/> out) ]
21566 2 <= N <= <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a></code></pre>
21567 <p>These are sorted in order of increasing <code>Pin</code>; it is always
21568 guaranteed that input values 0.<wbr/>0 and 1.<wbr/>0 are included in the list to
21569 define a complete mapping.<wbr/> For input values between control points,<wbr/>
21570 the camera device must linearly interpolate between the control
21572 <p>Each curve can have an independent number of points,<wbr/> and the number
21573 of points can be less than max (that is,<wbr/> the request doesn't have to
21574 always provide a curve with number of points equivalent to
21575 <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a>).<wbr/></p>
21576 <p>A few examples,<wbr/> and their corresponding graphical mappings; these
21577 only specify the red channel and the precision is limited to 4
21578 digits,<wbr/> for conciseness.<wbr/></p>
21579 <p>Linear mapping:</p>
21580 <pre><code>curveRed = [ (0,<wbr/> 0),<wbr/> (1.<wbr/>0,<wbr/> 1.<wbr/>0) ]
21582 <p><img alt="Linear mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/linear_tonemap.png"/></p>
21583 <p>Invert mapping:</p>
21584 <pre><code>curveRed = [ (0,<wbr/> 1.<wbr/>0),<wbr/> (1.<wbr/>0,<wbr/> 0) ]
21586 <p><img alt="Inverting mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/inverse_tonemap.png"/></p>
21587 <p>Gamma 1/<wbr/>2.<wbr/>2 mapping,<wbr/> with 16 control points:</p>
21588 <pre><code>curveRed = [
21589 (0.<wbr/>0000,<wbr/> 0.<wbr/>0000),<wbr/> (0.<wbr/>0667,<wbr/> 0.<wbr/>2920),<wbr/> (0.<wbr/>1333,<wbr/> 0.<wbr/>4002),<wbr/> (0.<wbr/>2000,<wbr/> 0.<wbr/>4812),<wbr/>
21590 (0.<wbr/>2667,<wbr/> 0.<wbr/>5484),<wbr/> (0.<wbr/>3333,<wbr/> 0.<wbr/>6069),<wbr/> (0.<wbr/>4000,<wbr/> 0.<wbr/>6594),<wbr/> (0.<wbr/>4667,<wbr/> 0.<wbr/>7072),<wbr/>
21591 (0.<wbr/>5333,<wbr/> 0.<wbr/>7515),<wbr/> (0.<wbr/>6000,<wbr/> 0.<wbr/>7928),<wbr/> (0.<wbr/>6667,<wbr/> 0.<wbr/>8317),<wbr/> (0.<wbr/>7333,<wbr/> 0.<wbr/>8685),<wbr/>
21592 (0.<wbr/>8000,<wbr/> 0.<wbr/>9035),<wbr/> (0.<wbr/>8667,<wbr/> 0.<wbr/>9370),<wbr/> (0.<wbr/>9333,<wbr/> 0.<wbr/>9691),<wbr/> (1.<wbr/>0000,<wbr/> 1.<wbr/>0000) ]
21594 <p><img alt="Gamma = 1/2.2 tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/gamma_tonemap.png"/></p>
21595 <p>Standard sRGB gamma mapping,<wbr/> per IEC 61966-2-1:1999,<wbr/> with 16 control points:</p>
21596 <pre><code>curveRed = [
21597 (0.<wbr/>0000,<wbr/> 0.<wbr/>0000),<wbr/> (0.<wbr/>0667,<wbr/> 0.<wbr/>2864),<wbr/> (0.<wbr/>1333,<wbr/> 0.<wbr/>4007),<wbr/> (0.<wbr/>2000,<wbr/> 0.<wbr/>4845),<wbr/>
21598 (0.<wbr/>2667,<wbr/> 0.<wbr/>5532),<wbr/> (0.<wbr/>3333,<wbr/> 0.<wbr/>6125),<wbr/> (0.<wbr/>4000,<wbr/> 0.<wbr/>6652),<wbr/> (0.<wbr/>4667,<wbr/> 0.<wbr/>7130),<wbr/>
21599 (0.<wbr/>5333,<wbr/> 0.<wbr/>7569),<wbr/> (0.<wbr/>6000,<wbr/> 0.<wbr/>7977),<wbr/> (0.<wbr/>6667,<wbr/> 0.<wbr/>8360),<wbr/> (0.<wbr/>7333,<wbr/> 0.<wbr/>8721),<wbr/>
21600 (0.<wbr/>8000,<wbr/> 0.<wbr/>9063),<wbr/> (0.<wbr/>8667,<wbr/> 0.<wbr/>9389),<wbr/> (0.<wbr/>9333,<wbr/> 0.<wbr/>9701),<wbr/> (1.<wbr/>0000,<wbr/> 1.<wbr/>0000) ]
21602 <p><img alt="sRGB tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/srgb_tonemap.png"/></p>
21606 <tr class="entries_header">
21607 <th class="th_details" colspan="5">HAL Implementation Details</th>
21609 <tr class="entry_cont">
21610 <td class="entry_details" colspan="5">
21611 <p>This entry is created by the framework from the curveRed,<wbr/> curveGreen and
21612 curveBlue entries.<wbr/></p>
21616 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21617 <!-- end of entry -->
21620 <tr class="entry" id="controls_android.tonemap.mode">
21621 <td class="entry_name
21623 android.<wbr/>tonemap.<wbr/>mode
21625 <td class="entry_type">
21626 <span class="entry_type_name entry_type_name_enum">byte</span>
21628 <span class="entry_type_visibility"> [public]</span>
21631 <span class="entry_type_hwlevel">[full] </span>
21635 <ul class="entry_type_enum">
21637 <span class="entry_type_enum_name">CONTRAST_CURVE</span>
21638 <span class="entry_type_enum_notes"><p>Use the tone mapping curve specified in
21639 the <a href="#controls_android.tonemap.curve">android.<wbr/>tonemap.<wbr/>curve</a>* entries.<wbr/></p>
21640 <p>All color enhancement and tonemapping must be disabled,<wbr/> except
21641 for applying the tonemapping curve specified by
21642 <a href="#controls_android.tonemap.curve">android.<wbr/>tonemap.<wbr/>curve</a>.<wbr/></p>
21643 <p>Must not slow down frame rate relative to raw
21644 sensor output.<wbr/></p></span>
21647 <span class="entry_type_enum_name">FAST</span>
21648 <span class="entry_type_enum_notes"><p>Advanced gamma mapping and color enhancement may be applied,<wbr/> without
21649 reducing frame rate compared to raw sensor output.<wbr/></p></span>
21652 <span class="entry_type_enum_name">HIGH_QUALITY</span>
21653 <span class="entry_type_enum_notes"><p>High-quality gamma mapping and color enhancement will be applied,<wbr/> at
21654 the cost of reduced frame rate compared to raw sensor output.<wbr/></p></span>
21658 </td> <!-- entry_type -->
21660 <td class="entry_description">
21661 <p>High-level global contrast/<wbr/>gamma/<wbr/>tonemapping control.<wbr/></p>
21664 <td class="entry_units">
21667 <td class="entry_range">
21668 <p><a href="#static_android.tonemap.availableToneMapModes">android.<wbr/>tonemap.<wbr/>available<wbr/>Tone<wbr/>Map<wbr/>Modes</a></p>
21671 <td class="entry_tags">
21675 <tr class="entries_header">
21676 <th class="th_details" colspan="5">Details</th>
21678 <tr class="entry_cont">
21679 <td class="entry_details" colspan="5">
21680 <p>When switching to an application-defined contrast curve by setting
21681 <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> to CONTRAST_<wbr/>CURVE,<wbr/> the curve is defined
21682 per-channel with a set of <code>(in,<wbr/> out)</code> points that specify the
21683 mapping from input high-bit-depth pixel value to the output
21684 low-bit-depth value.<wbr/> Since the actual pixel ranges of both input
21685 and output may change depending on the camera pipeline,<wbr/> the values
21686 are specified by normalized floating-point numbers.<wbr/></p>
21687 <p>More-complex color mapping operations such as 3D color look-up
21688 tables,<wbr/> selective chroma enhancement,<wbr/> or other non-linear color
21689 transforms will be disabled when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is
21690 CONTRAST_<wbr/>CURVE.<wbr/></p>
21691 <p>When using either FAST or HIGH_<wbr/>QUALITY,<wbr/> the camera device will
21692 emit its own tonemap curve in <a href="#controls_android.tonemap.curve">android.<wbr/>tonemap.<wbr/>curve</a>.<wbr/>
21693 These values are always available,<wbr/> and as close as possible to the
21694 actually used nonlinear/<wbr/>nonglobal transforms.<wbr/></p>
21695 <p>If a request is sent with CONTRAST_<wbr/>CURVE with the camera device's
21696 provided curve in FAST or HIGH_<wbr/>QUALITY,<wbr/> the image's tonemap will be
21697 roughly the same.<wbr/></p>
21702 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21703 <!-- end of entry -->
21707 <!-- end of kind -->
21709 <tr><td colspan="6" class="kind">static</td></tr>
21711 <thead class="entries_header">
21713 <th class="th_name">Property Name</th>
21714 <th class="th_type">Type</th>
21715 <th class="th_description">Description</th>
21716 <th class="th_units">Units</th>
21717 <th class="th_range">Range</th>
21718 <th class="th_tags">Tags</th>
21733 <tr class="entry" id="static_android.tonemap.maxCurvePoints">
21734 <td class="entry_name
21736 android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points
21738 <td class="entry_type">
21739 <span class="entry_type_name">int32</span>
21741 <span class="entry_type_visibility"> [public]</span>
21744 <span class="entry_type_hwlevel">[full] </span>
21749 </td> <!-- entry_type -->
21751 <td class="entry_description">
21752 <p>Maximum number of supported points in the
21753 tonemap curve that can be used for <a href="#controls_android.tonemap.curve">android.<wbr/>tonemap.<wbr/>curve</a>.<wbr/></p>
21756 <td class="entry_units">
21759 <td class="entry_range">
21762 <td class="entry_tags">
21766 <tr class="entries_header">
21767 <th class="th_details" colspan="5">Details</th>
21769 <tr class="entry_cont">
21770 <td class="entry_details" colspan="5">
21771 <p>If the actual number of points provided by the application (in <a href="#controls_android.tonemap.curve">android.<wbr/>tonemap.<wbr/>curve</a>*) is
21772 less than this maximum,<wbr/> the camera device will resample the curve to its internal
21773 representation,<wbr/> using linear interpolation.<wbr/></p>
21774 <p>The output curves in the result metadata may have a different number
21775 of points than the input curves,<wbr/> and will represent the actual
21776 hardware curves used as closely as possible when linearly interpolated.<wbr/></p>
21780 <tr class="entries_header">
21781 <th class="th_details" colspan="5">HAL Implementation Details</th>
21783 <tr class="entry_cont">
21784 <td class="entry_details" colspan="5">
21785 <p>This value must be at least 64.<wbr/> This should be at least 128.<wbr/></p>
21789 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21790 <!-- end of entry -->
21793 <tr class="entry" id="static_android.tonemap.availableToneMapModes">
21794 <td class="entry_name
21796 android.<wbr/>tonemap.<wbr/>available<wbr/>Tone<wbr/>Map<wbr/>Modes
21798 <td class="entry_type">
21799 <span class="entry_type_name">byte</span>
21800 <span class="entry_type_container">x</span>
21802 <span class="entry_type_array">
21805 <span class="entry_type_visibility"> [public as enumList]</span>
21808 <span class="entry_type_hwlevel">[full] </span>
21811 <div class="entry_type_notes">list of enums</div>
21814 </td> <!-- entry_type -->
21816 <td class="entry_description">
21817 <p>List of tonemapping modes for <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> that are supported by this camera
21821 <td class="entry_units">
21824 <td class="entry_range">
21825 <p>Any value listed in <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a></p>
21828 <td class="entry_tags">
21832 <tr class="entries_header">
21833 <th class="th_details" colspan="5">Details</th>
21835 <tr class="entry_cont">
21836 <td class="entry_details" colspan="5">
21837 <p>Camera devices that support the MANUAL_<wbr/>POST_<wbr/>PROCESSING capability will always list
21838 CONTRAST_<wbr/>CURVE and FAST.<wbr/> This includes all FULL level devices.<wbr/></p>
21843 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21844 <!-- end of entry -->
21848 <!-- end of kind -->
21850 <tr><td colspan="6" class="kind">dynamic</td></tr>
21852 <thead class="entries_header">
21854 <th class="th_name">Property Name</th>
21855 <th class="th_type">Type</th>
21856 <th class="th_description">Description</th>
21857 <th class="th_units">Units</th>
21858 <th class="th_range">Range</th>
21859 <th class="th_tags">Tags</th>
21874 <tr class="entry" id="dynamic_android.tonemap.curveBlue">
21875 <td class="entry_name
21877 android.<wbr/>tonemap.<wbr/>curve<wbr/>Blue
21879 <td class="entry_type">
21880 <span class="entry_type_name">float</span>
21881 <span class="entry_type_container">x</span>
21883 <span class="entry_type_array">
21886 <span class="entry_type_visibility"> [hidden]</span>
21889 <span class="entry_type_hwlevel">[full] </span>
21892 <div class="entry_type_notes">1D array of float pairs (P_<wbr/>IN,<wbr/> P_<wbr/>OUT).<wbr/> The maximum number of pairs is specified by android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points.<wbr/></div>
21895 </td> <!-- entry_type -->
21897 <td class="entry_description">
21898 <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the blue
21899 channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is
21900 CONTRAST_<wbr/>CURVE.<wbr/></p>
21903 <td class="entry_units">
21906 <td class="entry_range">
21909 <td class="entry_tags">
21913 <tr class="entries_header">
21914 <th class="th_details" colspan="5">Details</th>
21916 <tr class="entry_cont">
21917 <td class="entry_details" colspan="5">
21918 <p>See <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> for more details.<wbr/></p>
21923 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21924 <!-- end of entry -->
21927 <tr class="entry" id="dynamic_android.tonemap.curveGreen">
21928 <td class="entry_name
21930 android.<wbr/>tonemap.<wbr/>curve<wbr/>Green
21932 <td class="entry_type">
21933 <span class="entry_type_name">float</span>
21934 <span class="entry_type_container">x</span>
21936 <span class="entry_type_array">
21939 <span class="entry_type_visibility"> [hidden]</span>
21942 <span class="entry_type_hwlevel">[full] </span>
21945 <div class="entry_type_notes">1D array of float pairs (P_<wbr/>IN,<wbr/> P_<wbr/>OUT).<wbr/> The maximum number of pairs is specified by android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points.<wbr/></div>
21948 </td> <!-- entry_type -->
21950 <td class="entry_description">
21951 <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the green
21952 channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is
21953 CONTRAST_<wbr/>CURVE.<wbr/></p>
21956 <td class="entry_units">
21959 <td class="entry_range">
21962 <td class="entry_tags">
21966 <tr class="entries_header">
21967 <th class="th_details" colspan="5">Details</th>
21969 <tr class="entry_cont">
21970 <td class="entry_details" colspan="5">
21971 <p>See <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> for more details.<wbr/></p>
21976 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
21977 <!-- end of entry -->
21980 <tr class="entry" id="dynamic_android.tonemap.curveRed">
21981 <td class="entry_name
21983 android.<wbr/>tonemap.<wbr/>curve<wbr/>Red
21985 <td class="entry_type">
21986 <span class="entry_type_name">float</span>
21987 <span class="entry_type_container">x</span>
21989 <span class="entry_type_array">
21992 <span class="entry_type_visibility"> [hidden]</span>
21995 <span class="entry_type_hwlevel">[full] </span>
21998 <div class="entry_type_notes">1D array of float pairs (P_<wbr/>IN,<wbr/> P_<wbr/>OUT).<wbr/> The maximum number of pairs is specified by android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points.<wbr/></div>
22001 </td> <!-- entry_type -->
22003 <td class="entry_description">
22004 <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the red
22005 channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is
22006 CONTRAST_<wbr/>CURVE.<wbr/></p>
22009 <td class="entry_units">
22012 <td class="entry_range">
22013 <p>0-1 on both input and output coordinates,<wbr/> normalized
22014 as a floating-point value such that 0 == black and 1 == white.<wbr/></p>
22017 <td class="entry_tags">
22021 <tr class="entries_header">
22022 <th class="th_details" colspan="5">Details</th>
22024 <tr class="entry_cont">
22025 <td class="entry_details" colspan="5">
22026 <p>Each channel's curve is defined by an array of control points:</p>
22027 <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> =
22028 [ P0in,<wbr/> P0out,<wbr/> P1in,<wbr/> P1out,<wbr/> P2in,<wbr/> P2out,<wbr/> P3in,<wbr/> P3out,<wbr/> ...,<wbr/> PNin,<wbr/> PNout ]
22029 2 <= N <= <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a></code></pre>
22030 <p>These are sorted in order of increasing <code>Pin</code>; it is
22031 required that input values 0.<wbr/>0 and 1.<wbr/>0 are included in the list to
22032 define a complete mapping.<wbr/> For input values between control points,<wbr/>
22033 the camera device must linearly interpolate between the control
22035 <p>Each curve can have an independent number of points,<wbr/> and the number
22036 of points can be less than max (that is,<wbr/> the request doesn't have to
22037 always provide a curve with number of points equivalent to
22038 <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a>).<wbr/></p>
22039 <p>A few examples,<wbr/> and their corresponding graphical mappings; these
22040 only specify the red channel and the precision is limited to 4
22041 digits,<wbr/> for conciseness.<wbr/></p>
22042 <p>Linear mapping:</p>
22043 <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [ 0,<wbr/> 0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0 ]
22045 <p><img alt="Linear mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/linear_tonemap.png"/></p>
22046 <p>Invert mapping:</p>
22047 <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [ 0,<wbr/> 1.<wbr/>0,<wbr/> 1.<wbr/>0,<wbr/> 0 ]
22049 <p><img alt="Inverting mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/inverse_tonemap.png"/></p>
22050 <p>Gamma 1/<wbr/>2.<wbr/>2 mapping,<wbr/> with 16 control points:</p>
22051 <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [
22052 0.<wbr/>0000,<wbr/> 0.<wbr/>0000,<wbr/> 0.<wbr/>0667,<wbr/> 0.<wbr/>2920,<wbr/> 0.<wbr/>1333,<wbr/> 0.<wbr/>4002,<wbr/> 0.<wbr/>2000,<wbr/> 0.<wbr/>4812,<wbr/>
22053 0.<wbr/>2667,<wbr/> 0.<wbr/>5484,<wbr/> 0.<wbr/>3333,<wbr/> 0.<wbr/>6069,<wbr/> 0.<wbr/>4000,<wbr/> 0.<wbr/>6594,<wbr/> 0.<wbr/>4667,<wbr/> 0.<wbr/>7072,<wbr/>
22054 0.<wbr/>5333,<wbr/> 0.<wbr/>7515,<wbr/> 0.<wbr/>6000,<wbr/> 0.<wbr/>7928,<wbr/> 0.<wbr/>6667,<wbr/> 0.<wbr/>8317,<wbr/> 0.<wbr/>7333,<wbr/> 0.<wbr/>8685,<wbr/>
22055 0.<wbr/>8000,<wbr/> 0.<wbr/>9035,<wbr/> 0.<wbr/>8667,<wbr/> 0.<wbr/>9370,<wbr/> 0.<wbr/>9333,<wbr/> 0.<wbr/>9691,<wbr/> 1.<wbr/>0000,<wbr/> 1.<wbr/>0000 ]
22057 <p><img alt="Gamma = 1/2.2 tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/gamma_tonemap.png"/></p>
22058 <p>Standard sRGB gamma mapping,<wbr/> per IEC 61966-2-1:1999,<wbr/> with 16 control points:</p>
22059 <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [
22060 0.<wbr/>0000,<wbr/> 0.<wbr/>0000,<wbr/> 0.<wbr/>0667,<wbr/> 0.<wbr/>2864,<wbr/> 0.<wbr/>1333,<wbr/> 0.<wbr/>4007,<wbr/> 0.<wbr/>2000,<wbr/> 0.<wbr/>4845,<wbr/>
22061 0.<wbr/>2667,<wbr/> 0.<wbr/>5532,<wbr/> 0.<wbr/>3333,<wbr/> 0.<wbr/>6125,<wbr/> 0.<wbr/>4000,<wbr/> 0.<wbr/>6652,<wbr/> 0.<wbr/>4667,<wbr/> 0.<wbr/>7130,<wbr/>
22062 0.<wbr/>5333,<wbr/> 0.<wbr/>7569,<wbr/> 0.<wbr/>6000,<wbr/> 0.<wbr/>7977,<wbr/> 0.<wbr/>6667,<wbr/> 0.<wbr/>8360,<wbr/> 0.<wbr/>7333,<wbr/> 0.<wbr/>8721,<wbr/>
22063 0.<wbr/>8000,<wbr/> 0.<wbr/>9063,<wbr/> 0.<wbr/>8667,<wbr/> 0.<wbr/>9389,<wbr/> 0.<wbr/>9333,<wbr/> 0.<wbr/>9701,<wbr/> 1.<wbr/>0000,<wbr/> 1.<wbr/>0000 ]
22065 <p><img alt="sRGB tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/srgb_tonemap.png"/></p>
22069 <tr class="entries_header">
22070 <th class="th_details" colspan="5">HAL Implementation Details</th>
22072 <tr class="entry_cont">
22073 <td class="entry_details" colspan="5">
22074 <p>For good quality of mapping,<wbr/> at least 128 control points are
22075 preferred.<wbr/></p>
22076 <p>A typical use case of this would be a gamma-1/<wbr/>2.<wbr/>2 curve,<wbr/> with as many
22077 control points used as are available.<wbr/></p>
22081 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
22082 <!-- end of entry -->
22085 <tr class="entry" id="dynamic_android.tonemap.curve">
22086 <td class="entry_name
22088 android.<wbr/>tonemap.<wbr/>curve
22090 <td class="entry_type">
22091 <span class="entry_type_name">float</span>
22093 <span class="entry_type_visibility"> [public as tonemapCurve]</span>
22095 <span class="entry_type_synthetic">[synthetic] </span>
22097 <span class="entry_type_hwlevel">[full] </span>
22102 </td> <!-- entry_type -->
22104 <td class="entry_description">
22105 <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a>
22106 is CONTRAST_<wbr/>CURVE.<wbr/></p>
22109 <td class="entry_units">
22112 <td class="entry_range">
22115 <td class="entry_tags">
22119 <tr class="entries_header">
22120 <th class="th_details" colspan="5">Details</th>
22122 <tr class="entry_cont">
22123 <td class="entry_details" colspan="5">
22124 <p>The tonemapCurve consist of three curves for each of red,<wbr/> green,<wbr/> and blue
22125 channels respectively.<wbr/> The following example uses the red channel as an
22126 example.<wbr/> The same logic applies to green and blue channel.<wbr/>
22127 Each channel's curve is defined by an array of control points:</p>
22128 <pre><code>curveRed =
22129 [ P0(in,<wbr/> out),<wbr/> P1(in,<wbr/> out),<wbr/> P2(in,<wbr/> out),<wbr/> P3(in,<wbr/> out),<wbr/> ...,<wbr/> PN(in,<wbr/> out) ]
22130 2 <= N <= <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a></code></pre>
22131 <p>These are sorted in order of increasing <code>Pin</code>; it is always
22132 guaranteed that input values 0.<wbr/>0 and 1.<wbr/>0 are included in the list to
22133 define a complete mapping.<wbr/> For input values between control points,<wbr/>
22134 the camera device must linearly interpolate between the control
22136 <p>Each curve can have an independent number of points,<wbr/> and the number
22137 of points can be less than max (that is,<wbr/> the request doesn't have to
22138 always provide a curve with number of points equivalent to
22139 <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a>).<wbr/></p>
22140 <p>A few examples,<wbr/> and their corresponding graphical mappings; these
22141 only specify the red channel and the precision is limited to 4
22142 digits,<wbr/> for conciseness.<wbr/></p>
22143 <p>Linear mapping:</p>
22144 <pre><code>curveRed = [ (0,<wbr/> 0),<wbr/> (1.<wbr/>0,<wbr/> 1.<wbr/>0) ]
22146 <p><img alt="Linear mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/linear_tonemap.png"/></p>
22147 <p>Invert mapping:</p>
22148 <pre><code>curveRed = [ (0,<wbr/> 1.<wbr/>0),<wbr/> (1.<wbr/>0,<wbr/> 0) ]
22150 <p><img alt="Inverting mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/inverse_tonemap.png"/></p>
22151 <p>Gamma 1/<wbr/>2.<wbr/>2 mapping,<wbr/> with 16 control points:</p>
22152 <pre><code>curveRed = [
22153 (0.<wbr/>0000,<wbr/> 0.<wbr/>0000),<wbr/> (0.<wbr/>0667,<wbr/> 0.<wbr/>2920),<wbr/> (0.<wbr/>1333,<wbr/> 0.<wbr/>4002),<wbr/> (0.<wbr/>2000,<wbr/> 0.<wbr/>4812),<wbr/>
22154 (0.<wbr/>2667,<wbr/> 0.<wbr/>5484),<wbr/> (0.<wbr/>3333,<wbr/> 0.<wbr/>6069),<wbr/> (0.<wbr/>4000,<wbr/> 0.<wbr/>6594),<wbr/> (0.<wbr/>4667,<wbr/> 0.<wbr/>7072),<wbr/>
22155 (0.<wbr/>5333,<wbr/> 0.<wbr/>7515),<wbr/> (0.<wbr/>6000,<wbr/> 0.<wbr/>7928),<wbr/> (0.<wbr/>6667,<wbr/> 0.<wbr/>8317),<wbr/> (0.<wbr/>7333,<wbr/> 0.<wbr/>8685),<wbr/>
22156 (0.<wbr/>8000,<wbr/> 0.<wbr/>9035),<wbr/> (0.<wbr/>8667,<wbr/> 0.<wbr/>9370),<wbr/> (0.<wbr/>9333,<wbr/> 0.<wbr/>9691),<wbr/> (1.<wbr/>0000,<wbr/> 1.<wbr/>0000) ]
22158 <p><img alt="Gamma = 1/2.2 tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/gamma_tonemap.png"/></p>
22159 <p>Standard sRGB gamma mapping,<wbr/> per IEC 61966-2-1:1999,<wbr/> with 16 control points:</p>
22160 <pre><code>curveRed = [
22161 (0.<wbr/>0000,<wbr/> 0.<wbr/>0000),<wbr/> (0.<wbr/>0667,<wbr/> 0.<wbr/>2864),<wbr/> (0.<wbr/>1333,<wbr/> 0.<wbr/>4007),<wbr/> (0.<wbr/>2000,<wbr/> 0.<wbr/>4845),<wbr/>
22162 (0.<wbr/>2667,<wbr/> 0.<wbr/>5532),<wbr/> (0.<wbr/>3333,<wbr/> 0.<wbr/>6125),<wbr/> (0.<wbr/>4000,<wbr/> 0.<wbr/>6652),<wbr/> (0.<wbr/>4667,<wbr/> 0.<wbr/>7130),<wbr/>
22163 (0.<wbr/>5333,<wbr/> 0.<wbr/>7569),<wbr/> (0.<wbr/>6000,<wbr/> 0.<wbr/>7977),<wbr/> (0.<wbr/>6667,<wbr/> 0.<wbr/>8360),<wbr/> (0.<wbr/>7333,<wbr/> 0.<wbr/>8721),<wbr/>
22164 (0.<wbr/>8000,<wbr/> 0.<wbr/>9063),<wbr/> (0.<wbr/>8667,<wbr/> 0.<wbr/>9389),<wbr/> (0.<wbr/>9333,<wbr/> 0.<wbr/>9701),<wbr/> (1.<wbr/>0000,<wbr/> 1.<wbr/>0000) ]
22166 <p><img alt="sRGB tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/srgb_tonemap.png"/></p>
22170 <tr class="entries_header">
22171 <th class="th_details" colspan="5">HAL Implementation Details</th>
22173 <tr class="entry_cont">
22174 <td class="entry_details" colspan="5">
22175 <p>This entry is created by the framework from the curveRed,<wbr/> curveGreen and
22176 curveBlue entries.<wbr/></p>
22180 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
22181 <!-- end of entry -->
22184 <tr class="entry" id="dynamic_android.tonemap.mode">
22185 <td class="entry_name
22187 android.<wbr/>tonemap.<wbr/>mode
22189 <td class="entry_type">
22190 <span class="entry_type_name entry_type_name_enum">byte</span>
22192 <span class="entry_type_visibility"> [public]</span>
22195 <span class="entry_type_hwlevel">[full] </span>
22199 <ul class="entry_type_enum">
22201 <span class="entry_type_enum_name">CONTRAST_CURVE</span>
22202 <span class="entry_type_enum_notes"><p>Use the tone mapping curve specified in
22203 the <a href="#controls_android.tonemap.curve">android.<wbr/>tonemap.<wbr/>curve</a>* entries.<wbr/></p>
22204 <p>All color enhancement and tonemapping must be disabled,<wbr/> except
22205 for applying the tonemapping curve specified by
22206 <a href="#controls_android.tonemap.curve">android.<wbr/>tonemap.<wbr/>curve</a>.<wbr/></p>
22207 <p>Must not slow down frame rate relative to raw
22208 sensor output.<wbr/></p></span>
22211 <span class="entry_type_enum_name">FAST</span>
22212 <span class="entry_type_enum_notes"><p>Advanced gamma mapping and color enhancement may be applied,<wbr/> without
22213 reducing frame rate compared to raw sensor output.<wbr/></p></span>
22216 <span class="entry_type_enum_name">HIGH_QUALITY</span>
22217 <span class="entry_type_enum_notes"><p>High-quality gamma mapping and color enhancement will be applied,<wbr/> at
22218 the cost of reduced frame rate compared to raw sensor output.<wbr/></p></span>
22222 </td> <!-- entry_type -->
22224 <td class="entry_description">
22225 <p>High-level global contrast/<wbr/>gamma/<wbr/>tonemapping control.<wbr/></p>
22228 <td class="entry_units">
22231 <td class="entry_range">
22232 <p><a href="#static_android.tonemap.availableToneMapModes">android.<wbr/>tonemap.<wbr/>available<wbr/>Tone<wbr/>Map<wbr/>Modes</a></p>
22235 <td class="entry_tags">
22239 <tr class="entries_header">
22240 <th class="th_details" colspan="5">Details</th>
22242 <tr class="entry_cont">
22243 <td class="entry_details" colspan="5">
22244 <p>When switching to an application-defined contrast curve by setting
22245 <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> to CONTRAST_<wbr/>CURVE,<wbr/> the curve is defined
22246 per-channel with a set of <code>(in,<wbr/> out)</code> points that specify the
22247 mapping from input high-bit-depth pixel value to the output
22248 low-bit-depth value.<wbr/> Since the actual pixel ranges of both input
22249 and output may change depending on the camera pipeline,<wbr/> the values
22250 are specified by normalized floating-point numbers.<wbr/></p>
22251 <p>More-complex color mapping operations such as 3D color look-up
22252 tables,<wbr/> selective chroma enhancement,<wbr/> or other non-linear color
22253 transforms will be disabled when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is
22254 CONTRAST_<wbr/>CURVE.<wbr/></p>
22255 <p>When using either FAST or HIGH_<wbr/>QUALITY,<wbr/> the camera device will
22256 emit its own tonemap curve in <a href="#controls_android.tonemap.curve">android.<wbr/>tonemap.<wbr/>curve</a>.<wbr/>
22257 These values are always available,<wbr/> and as close as possible to the
22258 actually used nonlinear/<wbr/>nonglobal transforms.<wbr/></p>
22259 <p>If a request is sent with CONTRAST_<wbr/>CURVE with the camera device's
22260 provided curve in FAST or HIGH_<wbr/>QUALITY,<wbr/> the image's tonemap will be
22261 roughly the same.<wbr/></p>
22266 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
22267 <!-- end of entry -->
22271 <!-- end of kind -->
22274 <!-- end of section -->
22275 <tr><td colspan="6" id="section_led" class="section">led</td></tr>
22278 <tr><td colspan="6" class="kind">controls</td></tr>
22280 <thead class="entries_header">
22282 <th class="th_name">Property Name</th>
22283 <th class="th_type">Type</th>
22284 <th class="th_description">Description</th>
22285 <th class="th_units">Units</th>
22286 <th class="th_range">Range</th>
22287 <th class="th_tags">Tags</th>
22302 <tr class="entry" id="controls_android.led.transmit">
22303 <td class="entry_name
22305 android.<wbr/>led.<wbr/>transmit
22307 <td class="entry_type">
22308 <span class="entry_type_name entry_type_name_enum">byte</span>
22310 <span class="entry_type_visibility"> [hidden as boolean]</span>
22316 <ul class="entry_type_enum">
22318 <span class="entry_type_enum_name">OFF</span>
22321 <span class="entry_type_enum_name">ON</span>
22325 </td> <!-- entry_type -->
22327 <td class="entry_description">
22328 <p>This LED is nominally used to indicate to the user
22329 that the camera is powered on and may be streaming images back to the
22330 Application Processor.<wbr/> In certain rare circumstances,<wbr/> the OS may
22331 disable this when video is processed locally and not transmitted to
22332 any untrusted applications.<wbr/></p>
22333 <p>In particular,<wbr/> the LED <em>must</em> always be on when the data could be
22334 transmitted off the device.<wbr/> The LED <em>should</em> always be on whenever
22335 data is stored locally on the device.<wbr/></p>
22336 <p>The LED <em>may</em> be off if a trusted application is using the data that
22337 doesn't violate the above rules.<wbr/></p>
22340 <td class="entry_units">
22343 <td class="entry_range">
22346 <td class="entry_tags">
22352 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
22353 <!-- end of entry -->
22357 <!-- end of kind -->
22359 <tr><td colspan="6" class="kind">dynamic</td></tr>
22361 <thead class="entries_header">
22363 <th class="th_name">Property Name</th>
22364 <th class="th_type">Type</th>
22365 <th class="th_description">Description</th>
22366 <th class="th_units">Units</th>
22367 <th class="th_range">Range</th>
22368 <th class="th_tags">Tags</th>
22383 <tr class="entry" id="dynamic_android.led.transmit">
22384 <td class="entry_name
22386 android.<wbr/>led.<wbr/>transmit
22388 <td class="entry_type">
22389 <span class="entry_type_name entry_type_name_enum">byte</span>
22391 <span class="entry_type_visibility"> [hidden as boolean]</span>
22397 <ul class="entry_type_enum">
22399 <span class="entry_type_enum_name">OFF</span>
22402 <span class="entry_type_enum_name">ON</span>
22406 </td> <!-- entry_type -->
22408 <td class="entry_description">
22409 <p>This LED is nominally used to indicate to the user
22410 that the camera is powered on and may be streaming images back to the
22411 Application Processor.<wbr/> In certain rare circumstances,<wbr/> the OS may
22412 disable this when video is processed locally and not transmitted to
22413 any untrusted applications.<wbr/></p>
22414 <p>In particular,<wbr/> the LED <em>must</em> always be on when the data could be
22415 transmitted off the device.<wbr/> The LED <em>should</em> always be on whenever
22416 data is stored locally on the device.<wbr/></p>
22417 <p>The LED <em>may</em> be off if a trusted application is using the data that
22418 doesn't violate the above rules.<wbr/></p>
22421 <td class="entry_units">
22424 <td class="entry_range">
22427 <td class="entry_tags">
22433 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
22434 <!-- end of entry -->
22438 <!-- end of kind -->
22440 <tr><td colspan="6" class="kind">static</td></tr>
22442 <thead class="entries_header">
22444 <th class="th_name">Property Name</th>
22445 <th class="th_type">Type</th>
22446 <th class="th_description">Description</th>
22447 <th class="th_units">Units</th>
22448 <th class="th_range">Range</th>
22449 <th class="th_tags">Tags</th>
22464 <tr class="entry" id="static_android.led.availableLeds">
22465 <td class="entry_name
22467 android.<wbr/>led.<wbr/>available<wbr/>Leds
22469 <td class="entry_type">
22470 <span class="entry_type_name entry_type_name_enum">byte</span>
22471 <span class="entry_type_container">x</span>
22473 <span class="entry_type_array">
22476 <span class="entry_type_visibility"> [hidden]</span>
22482 <ul class="entry_type_enum">
22484 <span class="entry_type_enum_name">TRANSMIT</span>
22485 <span class="entry_type_enum_notes"><p><a href="#controls_android.led.transmit">android.<wbr/>led.<wbr/>transmit</a> control is used.<wbr/></p></span>
22489 </td> <!-- entry_type -->
22491 <td class="entry_description">
22492 <p>A list of camera LEDs that are available on this system.<wbr/></p>
22495 <td class="entry_units">
22498 <td class="entry_range">
22501 <td class="entry_tags">
22507 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
22508 <!-- end of entry -->
22512 <!-- end of kind -->
22515 <!-- end of section -->
22516 <tr><td colspan="6" id="section_info" class="section">info</td></tr>
22519 <tr><td colspan="6" class="kind">static</td></tr>
22521 <thead class="entries_header">
22523 <th class="th_name">Property Name</th>
22524 <th class="th_type">Type</th>
22525 <th class="th_description">Description</th>
22526 <th class="th_units">Units</th>
22527 <th class="th_range">Range</th>
22528 <th class="th_tags">Tags</th>
22543 <tr class="entry" id="static_android.info.supportedHardwareLevel">
22544 <td class="entry_name
22546 android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level
22548 <td class="entry_type">
22549 <span class="entry_type_name entry_type_name_enum">byte</span>
22551 <span class="entry_type_visibility"> [public]</span>
22554 <span class="entry_type_hwlevel">[legacy] </span>
22558 <ul class="entry_type_enum">
22560 <span class="entry_type_enum_name">LIMITED</span>
22561 <span class="entry_type_enum_notes"><p>This camera device has only limited capabilities.<wbr/></p></span>
22564 <span class="entry_type_enum_name">FULL</span>
22565 <span class="entry_type_enum_notes"><p>This camera device is capable of supporting advanced imaging applications.<wbr/></p></span>
22568 <span class="entry_type_enum_name">LEGACY</span>
22569 <span class="entry_type_enum_notes"><p>This camera device is running in backward compatibility mode.<wbr/></p></span>
22573 </td> <!-- entry_type -->
22575 <td class="entry_description">
22576 <p>Generally classifies the overall set of the camera device functionality.<wbr/></p>
22579 <td class="entry_units">
22582 <td class="entry_range">
22585 <td class="entry_tags">
22589 <tr class="entries_header">
22590 <th class="th_details" colspan="5">Details</th>
22592 <tr class="entry_cont">
22593 <td class="entry_details" colspan="5">
22594 <p>Camera devices will come in three flavors: LEGACY,<wbr/> LIMITED and FULL.<wbr/></p>
22595 <p>A FULL device will support below capabilities:</p>
22597 <li>30fps at maximum resolution (== sensor resolution) is preferred,<wbr/> more than 20fps is required.<wbr/></li>
22598 <li>Per frame control (<a href="#static_android.sync.maxLatency">android.<wbr/>sync.<wbr/>max<wbr/>Latency</a> <code>==</code> PER_<wbr/>FRAME_<wbr/>CONTROL)</li>
22599 <li>Manual sensor control (<a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a> contains MANUAL_<wbr/>SENSOR)</li>
22600 <li>Manual post-processing control (<a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a> contains MANUAL_<wbr/>POST_<wbr/>PROCESSING)</li>
22601 <li>Arbitrary cropping region (<a href="#static_android.scaler.croppingType">android.<wbr/>scaler.<wbr/>cropping<wbr/>Type</a> <code>==</code> FREEFORM)</li>
22602 <li>At least 3 processed (but not stalling) format output streams (<a href="#static_android.request.maxNumOutputProc">android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Output<wbr/>Proc</a> <code>>=</code> 3)</li>
22603 <li>The required stream configuration defined in <a href="#static_android.scaler.availableStreamConfigurations">android.<wbr/>scaler.<wbr/>available<wbr/>Stream<wbr/>Configurations</a></li>
22604 <li>The required exposure time range defined in <a href="#static_android.sensor.info.exposureTimeRange">android.<wbr/>sensor.<wbr/>info.<wbr/>exposure<wbr/>Time<wbr/>Range</a></li>
22605 <li>The required maxFrameDuration defined in <a href="#static_android.sensor.info.maxFrameDuration">android.<wbr/>sensor.<wbr/>info.<wbr/>max<wbr/>Frame<wbr/>Duration</a></li>
22607 <p>A LIMITED device may have some or none of the above characteristics.<wbr/>
22608 To find out more refer to <a href="#static_android.request.availableCapabilities">android.<wbr/>request.<wbr/>available<wbr/>Capabilities</a>.<wbr/></p>
22609 <p>Some features are not part of any particular hardware level or capability and must be
22610 queried separately.<wbr/> These include:</p>
22612 <li>Calibrated timestamps (<a href="#static_android.sensor.info.timestampSource">android.<wbr/>sensor.<wbr/>info.<wbr/>timestamp<wbr/>Source</a> <code>==</code> REALTIME)</li>
22613 <li>Precision lens control (<a href="#static_android.lens.info.focusDistanceCalibration">android.<wbr/>lens.<wbr/>info.<wbr/>focus<wbr/>Distance<wbr/>Calibration</a> <code>==</code> CALIBRATED)</li>
22614 <li>Face detection (<a href="#static_android.statistics.info.availableFaceDetectModes">android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Face<wbr/>Detect<wbr/>Modes</a>)</li>
22615 <li>Optical or electrical image stabilization
22616 (<a href="#static_android.lens.info.availableOpticalStabilization">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Optical<wbr/>Stabilization</a>,<wbr/>
22617 <a href="#static_android.control.availableVideoStabilizationModes">android.<wbr/>control.<wbr/>available<wbr/>Video<wbr/>Stabilization<wbr/>Modes</a>)</li>
22619 <p>A LEGACY device does not support per-frame control,<wbr/> manual sensor control,<wbr/> manual
22620 post-processing,<wbr/> arbitrary cropping regions,<wbr/> and has relaxed performance constraints.<wbr/></p>
22621 <p>Each higher level supports everything the lower level supports
22622 in this order: FULL <code>></code> LIMITED <code>></code> LEGACY.<wbr/></p>
22626 <tr class="entries_header">
22627 <th class="th_details" colspan="5">HAL Implementation Details</th>
22629 <tr class="entry_cont">
22630 <td class="entry_details" colspan="5">
22631 <p>The camera 3 HAL device can implement one of two possible
22632 operational modes; limited and full.<wbr/> Full support is
22633 expected from new higher-end devices.<wbr/> Limited mode has
22634 hardware requirements roughly in line with those for a
22635 camera HAL device v1 implementation,<wbr/> and is expected from
22636 older or inexpensive devices.<wbr/> Full is a strict superset of
22637 limited,<wbr/> and they share the same essential operational flow.<wbr/></p>
22638 <p>For full details refer to "S3.<wbr/> Operational Modes" in camera3.<wbr/>h</p>
22639 <p>Camera HAL3+ must not implement LEGACY mode.<wbr/> It is there
22640 for backwards compatibility in the <code>android.<wbr/>hardware.<wbr/>camera2</code>
22641 user-facing API only.<wbr/></p>
22645 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
22646 <!-- end of entry -->
22650 <!-- end of kind -->
22653 <!-- end of section -->
22654 <tr><td colspan="6" id="section_blackLevel" class="section">blackLevel</td></tr>
22657 <tr><td colspan="6" class="kind">controls</td></tr>
22659 <thead class="entries_header">
22661 <th class="th_name">Property Name</th>
22662 <th class="th_type">Type</th>
22663 <th class="th_description">Description</th>
22664 <th class="th_units">Units</th>
22665 <th class="th_range">Range</th>
22666 <th class="th_tags">Tags</th>
22681 <tr class="entry" id="controls_android.blackLevel.lock">
22682 <td class="entry_name
22684 android.<wbr/>black<wbr/>Level.<wbr/>lock
22686 <td class="entry_type">
22687 <span class="entry_type_name entry_type_name_enum">byte</span>
22689 <span class="entry_type_visibility"> [public as boolean]</span>
22692 <span class="entry_type_hwlevel">[full] </span>
22696 <ul class="entry_type_enum">
22698 <span class="entry_type_enum_name">OFF</span>
22701 <span class="entry_type_enum_name">ON</span>
22705 </td> <!-- entry_type -->
22707 <td class="entry_description">
22708 <p>Whether black-level compensation is locked
22709 to its current values,<wbr/> or is free to vary.<wbr/></p>
22712 <td class="entry_units">
22715 <td class="entry_range">
22718 <td class="entry_tags">
22719 <ul class="entry_tags">
22720 <li><a href="#tag_HAL2">HAL2</a></li>
22725 <tr class="entries_header">
22726 <th class="th_details" colspan="5">Details</th>
22728 <tr class="entry_cont">
22729 <td class="entry_details" colspan="5">
22730 <p>When set to <code>true</code> (ON),<wbr/> the values used for black-level
22731 compensation will not change until the lock is set to
22732 <code>false</code> (OFF).<wbr/></p>
22733 <p>Since changes to certain capture parameters (such as
22734 exposure time) may require resetting of black level
22735 compensation,<wbr/> the camera device must report whether setting
22736 the black level lock was successful in the output result
22737 metadata.<wbr/></p>
22738 <p>For example,<wbr/> if a sequence of requests is as follows:</p>
22740 <li>Request 1: Exposure = 10ms,<wbr/> Black level lock = OFF</li>
22741 <li>Request 2: Exposure = 10ms,<wbr/> Black level lock = ON</li>
22742 <li>Request 3: Exposure = 10ms,<wbr/> Black level lock = ON</li>
22743 <li>Request 4: Exposure = 20ms,<wbr/> Black level lock = ON</li>
22744 <li>Request 5: Exposure = 20ms,<wbr/> Black level lock = ON</li>
22745 <li>Request 6: Exposure = 20ms,<wbr/> Black level lock = ON</li>
22747 <p>And the exposure change in Request 4 requires the camera
22748 device to reset the black level offsets,<wbr/> then the output
22749 result metadata is expected to be:</p>
22751 <li>Result 1: Exposure = 10ms,<wbr/> Black level lock = OFF</li>
22752 <li>Result 2: Exposure = 10ms,<wbr/> Black level lock = ON</li>
22753 <li>Result 3: Exposure = 10ms,<wbr/> Black level lock = ON</li>
22754 <li>Result 4: Exposure = 20ms,<wbr/> Black level lock = OFF</li>
22755 <li>Result 5: Exposure = 20ms,<wbr/> Black level lock = ON</li>
22756 <li>Result 6: Exposure = 20ms,<wbr/> Black level lock = ON</li>
22758 <p>This indicates to the application that on frame 4,<wbr/> black
22759 levels were reset due to exposure value changes,<wbr/> and pixel
22760 values may not be consistent across captures.<wbr/></p>
22761 <p>The camera device will maintain the lock to the extent
22762 possible,<wbr/> only overriding the lock to OFF when changes to
22763 other request parameters require a black level recalculation
22764 or reset.<wbr/></p>
22768 <tr class="entries_header">
22769 <th class="th_details" colspan="5">HAL Implementation Details</th>
22771 <tr class="entry_cont">
22772 <td class="entry_details" colspan="5">
22773 <p>If for some reason black level locking is no longer possible
22774 (for example,<wbr/> the analog gain has changed,<wbr/> which forces
22775 black level offsets to be recalculated),<wbr/> then the HAL must
22776 override this request (and it must report 'OFF' when this
22777 does happen) until the next capture for which locking is
22778 possible again.<wbr/></p>
22782 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
22783 <!-- end of entry -->
22787 <!-- end of kind -->
22789 <tr><td colspan="6" class="kind">dynamic</td></tr>
22791 <thead class="entries_header">
22793 <th class="th_name">Property Name</th>
22794 <th class="th_type">Type</th>
22795 <th class="th_description">Description</th>
22796 <th class="th_units">Units</th>
22797 <th class="th_range">Range</th>
22798 <th class="th_tags">Tags</th>
22813 <tr class="entry" id="dynamic_android.blackLevel.lock">
22814 <td class="entry_name
22816 android.<wbr/>black<wbr/>Level.<wbr/>lock
22818 <td class="entry_type">
22819 <span class="entry_type_name entry_type_name_enum">byte</span>
22821 <span class="entry_type_visibility"> [public as boolean]</span>
22824 <span class="entry_type_hwlevel">[full] </span>
22828 <ul class="entry_type_enum">
22830 <span class="entry_type_enum_name">OFF</span>
22833 <span class="entry_type_enum_name">ON</span>
22837 </td> <!-- entry_type -->
22839 <td class="entry_description">
22840 <p>Whether black-level compensation is locked
22841 to its current values,<wbr/> or is free to vary.<wbr/></p>
22844 <td class="entry_units">
22847 <td class="entry_range">
22850 <td class="entry_tags">
22851 <ul class="entry_tags">
22852 <li><a href="#tag_HAL2">HAL2</a></li>
22857 <tr class="entries_header">
22858 <th class="th_details" colspan="5">Details</th>
22860 <tr class="entry_cont">
22861 <td class="entry_details" colspan="5">
22862 <p>Whether the black level offset was locked for this frame.<wbr/> Should be
22863 ON if <a href="#controls_android.blackLevel.lock">android.<wbr/>black<wbr/>Level.<wbr/>lock</a> was ON in the capture request,<wbr/> unless
22864 a change in other capture settings forced the camera device to
22865 perform a black level reset.<wbr/></p>
22869 <tr class="entries_header">
22870 <th class="th_details" colspan="5">HAL Implementation Details</th>
22872 <tr class="entry_cont">
22873 <td class="entry_details" colspan="5">
22874 <p>If for some reason black level locking is no longer possible
22875 (for example,<wbr/> the analog gain has changed,<wbr/> which forces
22876 black level offsets to be recalculated),<wbr/> then the HAL must
22877 override this request (and it must report 'OFF' when this
22878 does happen) until the next capture for which locking is
22879 possible again.<wbr/></p>
22883 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
22884 <!-- end of entry -->
22888 <!-- end of kind -->
22891 <!-- end of section -->
22892 <tr><td colspan="6" id="section_sync" class="section">sync</td></tr>
22895 <tr><td colspan="6" class="kind">dynamic</td></tr>
22897 <thead class="entries_header">
22899 <th class="th_name">Property Name</th>
22900 <th class="th_type">Type</th>
22901 <th class="th_description">Description</th>
22902 <th class="th_units">Units</th>
22903 <th class="th_range">Range</th>
22904 <th class="th_tags">Tags</th>
22919 <tr class="entry" id="dynamic_android.sync.frameNumber">
22920 <td class="entry_name
22922 android.<wbr/>sync.<wbr/>frame<wbr/>Number
22924 <td class="entry_type">
22925 <span class="entry_type_name entry_type_name_enum">int64</span>
22927 <span class="entry_type_visibility"> [hidden]</span>
22930 <span class="entry_type_hwlevel">[legacy] </span>
22934 <ul class="entry_type_enum">
22936 <span class="entry_type_enum_name">CONVERGING</span>
22937 <span class="entry_type_enum_value">-1</span>
22938 <span class="entry_type_enum_notes"><p>The current result is not yet fully synchronized to any request.<wbr/></p>
22939 <p>Synchronization is in progress,<wbr/> and reading metadata from this
22940 result may include a mix of data that have taken effect since the
22941 last synchronization time.<wbr/></p>
22942 <p>In some future result,<wbr/> within <a href="#static_android.sync.maxLatency">android.<wbr/>sync.<wbr/>max<wbr/>Latency</a> frames,<wbr/>
22943 this value will update to the actual frame number frame number
22944 the result is guaranteed to be synchronized to (as long as the
22945 request settings remain constant).<wbr/></p></span>
22948 <span class="entry_type_enum_name">UNKNOWN</span>
22949 <span class="entry_type_enum_value">-2</span>
22950 <span class="entry_type_enum_notes"><p>The current result's synchronization status is unknown.<wbr/></p>
22951 <p>The result may have already converged,<wbr/> or it may be in
22952 progress.<wbr/> Reading from this result may include some mix
22953 of settings from past requests.<wbr/></p>
22954 <p>After a settings change,<wbr/> the new settings will eventually all
22955 take effect for the output buffers and results.<wbr/> However,<wbr/> this
22956 value will not change when that happens.<wbr/> Altering settings
22957 rapidly may provide outcomes using mixes of settings from recent
22958 requests.<wbr/></p>
22959 <p>This value is intended primarily for backwards compatibility with
22960 the older camera implementations (for android.<wbr/>hardware.<wbr/>Camera).<wbr/></p></span>
22964 </td> <!-- entry_type -->
22966 <td class="entry_description">
22967 <p>The frame number corresponding to the last request
22968 with which the output result (metadata + buffers) has been fully
22969 synchronized.<wbr/></p>
22972 <td class="entry_units">
22975 <td class="entry_range">
22976 <p>Either a non-negative value corresponding to a
22977 <code>frame_<wbr/>number</code>,<wbr/> or one of the two enums (CONVERGING /<wbr/> UNKNOWN).<wbr/></p>
22980 <td class="entry_tags">
22981 <ul class="entry_tags">
22982 <li><a href="#tag_V1">V1</a></li>
22987 <tr class="entries_header">
22988 <th class="th_details" colspan="5">Details</th>
22990 <tr class="entry_cont">
22991 <td class="entry_details" colspan="5">
22992 <p>When a request is submitted to the camera device,<wbr/> there is usually a
22993 delay of several frames before the controls get applied.<wbr/> A camera
22994 device may either choose to account for this delay by implementing a
22995 pipeline and carefully submit well-timed atomic control updates,<wbr/> or
22996 it may start streaming control changes that span over several frame
22997 boundaries.<wbr/></p>
22998 <p>In the latter case,<wbr/> whenever a request's settings change relative to
22999 the previous submitted request,<wbr/> the full set of changes may take
23000 multiple frame durations to fully take effect.<wbr/> Some settings may
23001 take effect sooner (in less frame durations) than others.<wbr/></p>
23002 <p>While a set of control changes are being propagated,<wbr/> this value
23003 will be CONVERGING.<wbr/></p>
23004 <p>Once it is fully known that a set of control changes have been
23005 finished propagating,<wbr/> and the resulting updated control settings
23006 have been read back by the camera device,<wbr/> this value will be set
23007 to a non-negative frame number (corresponding to the request to
23008 which the results have synchronized to).<wbr/></p>
23009 <p>Older camera device implementations may not have a way to detect
23010 when all camera controls have been applied,<wbr/> and will always set this
23011 value to UNKNOWN.<wbr/></p>
23012 <p>FULL capability devices will always have this value set to the
23013 frame number of the request corresponding to this result.<wbr/></p>
23014 <p><em>Further details</em>:</p>
23016 <li>Whenever a request differs from the last request,<wbr/> any future
23017 results not yet returned may have this value set to CONVERGING (this
23018 could include any in-progress captures not yet returned by the camera
23019 device,<wbr/> for more details see pipeline considerations below).<wbr/></li>
23020 <li>Submitting a series of multiple requests that differ from the
23021 previous request (e.<wbr/>g.<wbr/> r1,<wbr/> r2,<wbr/> r3 s.<wbr/>t.<wbr/> r1 != r2 != r3)
23022 moves the new synchronization frame to the last non-repeating
23023 request (using the smallest frame number from the contiguous list of
23024 repeating requests).<wbr/></li>
23025 <li>Submitting the same request repeatedly will not change this value
23026 to CONVERGING,<wbr/> if it was already a non-negative value.<wbr/></li>
23027 <li>When this value changes to non-negative,<wbr/> that means that all of the
23028 metadata controls from the request have been applied,<wbr/> all of the
23029 metadata controls from the camera device have been read to the
23030 updated values (into the result),<wbr/> and all of the graphics buffers
23031 corresponding to this result are also synchronized to the request.<wbr/></li>
23033 <p><em>Pipeline considerations</em>:</p>
23034 <p>Submitting a request with updated controls relative to the previously
23035 submitted requests may also invalidate the synchronization state
23036 of all the results corresponding to currently in-flight requests.<wbr/></p>
23037 <p>In other words,<wbr/> results for this current request and up to
23038 <a href="#static_android.request.pipelineMaxDepth">android.<wbr/>request.<wbr/>pipeline<wbr/>Max<wbr/>Depth</a> prior requests may have their
23039 <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> change to CONVERGING.<wbr/></p>
23043 <tr class="entries_header">
23044 <th class="th_details" colspan="5">HAL Implementation Details</th>
23046 <tr class="entry_cont">
23047 <td class="entry_details" colspan="5">
23048 <p>Using UNKNOWN here is illegal unless <a href="#static_android.sync.maxLatency">android.<wbr/>sync.<wbr/>max<wbr/>Latency</a>
23049 is also UNKNOWN.<wbr/></p>
23050 <p>FULL capability devices should simply set this value to the
23051 <code>frame_<wbr/>number</code> of the request this result corresponds to.<wbr/></p>
23055 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
23056 <!-- end of entry -->
23060 <!-- end of kind -->
23062 <tr><td colspan="6" class="kind">static</td></tr>
23064 <thead class="entries_header">
23066 <th class="th_name">Property Name</th>
23067 <th class="th_type">Type</th>
23068 <th class="th_description">Description</th>
23069 <th class="th_units">Units</th>
23070 <th class="th_range">Range</th>
23071 <th class="th_tags">Tags</th>
23086 <tr class="entry" id="static_android.sync.maxLatency">
23087 <td class="entry_name
23089 android.<wbr/>sync.<wbr/>max<wbr/>Latency
23091 <td class="entry_type">
23092 <span class="entry_type_name entry_type_name_enum">int32</span>
23094 <span class="entry_type_visibility"> [public]</span>
23097 <span class="entry_type_hwlevel">[legacy] </span>
23101 <ul class="entry_type_enum">
23103 <span class="entry_type_enum_name">PER_FRAME_CONTROL</span>
23104 <span class="entry_type_enum_value">0</span>
23105 <span class="entry_type_enum_notes"><p>Every frame has the requests immediately applied.<wbr/></p>
23106 <p>Furthermore for all results,<wbr/>
23107 <code><a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == CaptureResult#getFrameNumber()</code></p>
23108 <p>Changing controls over multiple requests one after another will
23109 produce results that have those controls applied atomically
23110 each frame.<wbr/></p>
23111 <p>All FULL capability devices will have this as their maxLatency.<wbr/></p></span>
23114 <span class="entry_type_enum_name">UNKNOWN</span>
23115 <span class="entry_type_enum_value">-1</span>
23116 <span class="entry_type_enum_notes"><p>Each new frame has some subset (potentially the entire set)
23117 of the past requests applied to the camera settings.<wbr/></p>
23118 <p>By submitting a series of identical requests,<wbr/> the camera device
23119 will eventually have the camera settings applied,<wbr/> but it is
23120 unknown when that exact point will be.<wbr/></p>
23121 <p>All LEGACY capability devices will have this as their maxLatency.<wbr/></p></span>
23125 </td> <!-- entry_type -->
23127 <td class="entry_description">
23128 <p>The maximum number of frames that can occur after a request
23129 (different than the previous) has been submitted,<wbr/> and before the
23130 result's state becomes synchronized (by setting
23131 <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> to a non-negative value).<wbr/></p>
23134 <td class="entry_units">
23138 <td class="entry_range">
23139 <p>A positive value,<wbr/> PER_<wbr/>FRAME_<wbr/>CONTROL,<wbr/> or UNKNOWN.<wbr/></p>
23142 <td class="entry_tags">
23143 <ul class="entry_tags">
23144 <li><a href="#tag_V1">V1</a></li>
23149 <tr class="entries_header">
23150 <th class="th_details" colspan="5">Details</th>
23152 <tr class="entry_cont">
23153 <td class="entry_details" colspan="5">
23154 <p>This defines the maximum distance (in number of metadata results),<wbr/>
23155 between <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> and the equivalent
23156 frame number for that result.<wbr/></p>
23157 <p>In other words this acts as an upper boundary for how many frames
23158 must occur before the camera device knows for a fact that the new
23159 submitted camera settings have been applied in outgoing frames.<wbr/></p>
23160 <p>For example if the distance was 2,<wbr/></p>
23161 <pre><code>initial request = X (repeating)
23167 where requestN has frameNumber N,<wbr/> and the first of the repeating
23168 initial request's has frameNumber F (and F < 1).<wbr/>
23170 initial result = X' + { <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == F }
23171 result1 = X' + { <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == F }
23172 result2 = X' + { <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == CONVERGING }
23173 result3 = X' + { <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == CONVERGING }
23174 result4 = X' + { <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == 2 }
23176 where resultN has frameNumber N.<wbr/>
23178 <p>Since <code>result4</code> has a <code>frameNumber == 4</code> and
23179 <code><a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == 2</code>,<wbr/> the distance is clearly
23180 <code>4 - 2 = 2</code>.<wbr/></p>
23184 <tr class="entries_header">
23185 <th class="th_details" colspan="5">HAL Implementation Details</th>
23187 <tr class="entry_cont">
23188 <td class="entry_details" colspan="5">
23189 <p>Use <code>frame_<wbr/>count</code> from camera3_<wbr/>request_<wbr/>t instead of
23190 <a href="#controls_android.request.frameCount">android.<wbr/>request.<wbr/>frame<wbr/>Count</a> or <code>CaptureResult#getFrameNumber()</code>.<wbr/></p>
23191 <p>LIMITED devices are strongly encouraged to use a non-negative
23192 value.<wbr/> If UNKNOWN is used here then app developers do not have a way
23193 to know when sensor settings have been applied.<wbr/></p>
23197 <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr>
23198 <!-- end of entry -->
23202 <!-- end of kind -->
23205 <!-- end of section -->
23206 <!-- </namespace> -->
23209 <div class="tags" id="tag_index">
23212 <li id="tag_BC">BC -
23213 Needed for backwards compatibility with old Java API
23215 <ul class="tags_entries">
23216 <li><a href="#controls_android.control.aeAntibandingMode">android.control.aeAntibandingMode</a> (controls)</li>
23217 <li><a href="#controls_android.control.aeExposureCompensation">android.control.aeExposureCompensation</a> (controls)</li>
23218 <li><a href="#controls_android.control.aeLock">android.control.aeLock</a> (controls)</li>
23219 <li><a href="#controls_android.control.aeMode">android.control.aeMode</a> (controls)</li>
23220 <li><a href="#controls_android.control.aeRegions">android.control.aeRegions</a> (controls)</li>
23221 <li><a href="#controls_android.control.aeTargetFpsRange">android.control.aeTargetFpsRange</a> (controls)</li>
23222 <li><a href="#controls_android.control.aePrecaptureTrigger">android.control.aePrecaptureTrigger</a> (controls)</li>
23223 <li><a href="#controls_android.control.afMode">android.control.afMode</a> (controls)</li>
23224 <li><a href="#controls_android.control.afRegions">android.control.afRegions</a> (controls)</li>
23225 <li><a href="#controls_android.control.afTrigger">android.control.afTrigger</a> (controls)</li>
23226 <li><a href="#controls_android.control.awbLock">android.control.awbLock</a> (controls)</li>
23227 <li><a href="#controls_android.control.awbMode">android.control.awbMode</a> (controls)</li>
23228 <li><a href="#controls_android.control.awbRegions">android.control.awbRegions</a> (controls)</li>
23229 <li><a href="#controls_android.control.captureIntent">android.control.captureIntent</a> (controls)</li>
23230 <li><a href="#controls_android.control.effectMode">android.control.effectMode</a> (controls)</li>
23231 <li><a href="#controls_android.control.mode">android.control.mode</a> (controls)</li>
23232 <li><a href="#controls_android.control.sceneMode">android.control.sceneMode</a> (controls)</li>
23233 <li><a href="#controls_android.control.videoStabilizationMode">android.control.videoStabilizationMode</a> (controls)</li>
23234 <li><a href="#static_android.control.aeAvailableAntibandingModes">android.control.aeAvailableAntibandingModes</a> (static)</li>
23235 <li><a href="#static_android.control.aeAvailableModes">android.control.aeAvailableModes</a> (static)</li>
23236 <li><a href="#static_android.control.aeAvailableTargetFpsRanges">android.control.aeAvailableTargetFpsRanges</a> (static)</li>
23237 <li><a href="#static_android.control.aeCompensationRange">android.control.aeCompensationRange</a> (static)</li>
23238 <li><a href="#static_android.control.aeCompensationStep">android.control.aeCompensationStep</a> (static)</li>
23239 <li><a href="#static_android.control.afAvailableModes">android.control.afAvailableModes</a> (static)</li>
23240 <li><a href="#static_android.control.availableEffects">android.control.availableEffects</a> (static)</li>
23241 <li><a href="#static_android.control.availableSceneModes">android.control.availableSceneModes</a> (static)</li>
23242 <li><a href="#static_android.control.availableVideoStabilizationModes">android.control.availableVideoStabilizationModes</a> (static)</li>
23243 <li><a href="#static_android.control.awbAvailableModes">android.control.awbAvailableModes</a> (static)</li>
23244 <li><a href="#static_android.control.maxRegions">android.control.maxRegions</a> (static)</li>
23245 <li><a href="#static_android.control.sceneModeOverrides">android.control.sceneModeOverrides</a> (static)</li>
23246 <li><a href="#controls_android.flash.mode">android.flash.mode</a> (controls)</li>
23247 <li><a href="#static_android.flash.info.available">android.flash.info.available</a> (static)</li>
23248 <li><a href="#controls_android.jpeg.gpsCoordinates">android.jpeg.gpsCoordinates</a> (controls)</li>
23249 <li><a href="#controls_android.jpeg.gpsProcessingMethod">android.jpeg.gpsProcessingMethod</a> (controls)</li>
23250 <li><a href="#controls_android.jpeg.gpsTimestamp">android.jpeg.gpsTimestamp</a> (controls)</li>
23251 <li><a href="#controls_android.jpeg.orientation">android.jpeg.orientation</a> (controls)</li>
23252 <li><a href="#controls_android.jpeg.quality">android.jpeg.quality</a> (controls)</li>
23253 <li><a href="#controls_android.jpeg.thumbnailQuality">android.jpeg.thumbnailQuality</a> (controls)</li>
23254 <li><a href="#controls_android.jpeg.thumbnailSize">android.jpeg.thumbnailSize</a> (controls)</li>
23255 <li><a href="#static_android.jpeg.availableThumbnailSizes">android.jpeg.availableThumbnailSizes</a> (static)</li>
23256 <li><a href="#controls_android.lens.focusDistance">android.lens.focusDistance</a> (controls)</li>
23257 <li><a href="#static_android.lens.info.availableFocalLengths">android.lens.info.availableFocalLengths</a> (static)</li>
23258 <li><a href="#dynamic_android.lens.focusRange">android.lens.focusRange</a> (dynamic)</li>
23259 <li><a href="#static_android.request.maxNumOutputStreams">android.request.maxNumOutputStreams</a> (static)</li>
23260 <li><a href="#controls_android.scaler.cropRegion">android.scaler.cropRegion</a> (controls)</li>
23261 <li><a href="#static_android.scaler.availableFormats">android.scaler.availableFormats</a> (static)</li>
23262 <li><a href="#static_android.scaler.availableJpegMinDurations">android.scaler.availableJpegMinDurations</a> (static)</li>
23263 <li><a href="#static_android.scaler.availableJpegSizes">android.scaler.availableJpegSizes</a> (static)</li>
23264 <li><a href="#static_android.scaler.availableMaxDigitalZoom">android.scaler.availableMaxDigitalZoom</a> (static)</li>
23265 <li><a href="#static_android.scaler.availableProcessedMinDurations">android.scaler.availableProcessedMinDurations</a> (static)</li>
23266 <li><a href="#static_android.scaler.availableProcessedSizes">android.scaler.availableProcessedSizes</a> (static)</li>
23267 <li><a href="#static_android.scaler.availableRawMinDurations">android.scaler.availableRawMinDurations</a> (static)</li>
23268 <li><a href="#static_android.sensor.info.sensitivityRange">android.sensor.info.sensitivityRange</a> (static)</li>
23269 <li><a href="#static_android.sensor.info.physicalSize">android.sensor.info.physicalSize</a> (static)</li>
23270 <li><a href="#static_android.sensor.info.pixelArraySize">android.sensor.info.pixelArraySize</a> (static)</li>
23271 <li><a href="#static_android.sensor.orientation">android.sensor.orientation</a> (static)</li>
23272 <li><a href="#dynamic_android.sensor.timestamp">android.sensor.timestamp</a> (dynamic)</li>
23273 <li><a href="#controls_android.statistics.faceDetectMode">android.statistics.faceDetectMode</a> (controls)</li>
23274 <li><a href="#static_android.statistics.info.maxFaceCount">android.statistics.info.maxFaceCount</a> (static)</li>
23275 <li><a href="#dynamic_android.statistics.faceIds">android.statistics.faceIds</a> (dynamic)</li>
23276 <li><a href="#dynamic_android.statistics.faceLandmarks">android.statistics.faceLandmarks</a> (dynamic)</li>
23277 <li><a href="#dynamic_android.statistics.faceRectangles">android.statistics.faceRectangles</a> (dynamic)</li>
23278 <li><a href="#dynamic_android.statistics.faceScores">android.statistics.faceScores</a> (dynamic)</li>
23279 <li><a href="#dynamic_android.lens.focalLength">android.lens.focalLength</a> (dynamic)</li>
23280 <li><a href="#dynamic_android.lens.focusDistance">android.lens.focusDistance</a> (dynamic)</li>
23282 </li> <!-- tag_BC -->
23283 <li id="tag_V1">V1 -
23284 New features for first camera 2 release (API1)
23286 <ul class="tags_entries">
23287 <li><a href="#static_android.colorCorrection.availableAberrationModes">android.colorCorrection.availableAberrationModes</a> (static)</li>
23288 <li><a href="#static_android.control.availableHighSpeedVideoConfigurations">android.control.availableHighSpeedVideoConfigurations</a> (static)</li>
23289 <li><a href="#controls_android.edge.mode">android.edge.mode</a> (controls)</li>
23290 <li><a href="#static_android.edge.availableEdgeModes">android.edge.availableEdgeModes</a> (static)</li>
23291 <li><a href="#controls_android.hotPixel.mode">android.hotPixel.mode</a> (controls)</li>
23292 <li><a href="#static_android.hotPixel.availableHotPixelModes">android.hotPixel.availableHotPixelModes</a> (static)</li>
23293 <li><a href="#controls_android.lens.aperture">android.lens.aperture</a> (controls)</li>
23294 <li><a href="#controls_android.lens.filterDensity">android.lens.filterDensity</a> (controls)</li>
23295 <li><a href="#controls_android.lens.focalLength">android.lens.focalLength</a> (controls)</li>
23296 <li><a href="#controls_android.lens.focusDistance">android.lens.focusDistance</a> (controls)</li>
23297 <li><a href="#controls_android.lens.opticalStabilizationMode">android.lens.opticalStabilizationMode</a> (controls)</li>
23298 <li><a href="#static_android.lens.info.availableApertures">android.lens.info.availableApertures</a> (static)</li>
23299 <li><a href="#static_android.lens.info.availableFilterDensities">android.lens.info.availableFilterDensities</a> (static)</li>
23300 <li><a href="#static_android.lens.info.availableFocalLengths">android.lens.info.availableFocalLengths</a> (static)</li>
23301 <li><a href="#static_android.lens.info.availableOpticalStabilization">android.lens.info.availableOpticalStabilization</a> (static)</li>
23302 <li><a href="#static_android.lens.info.minimumFocusDistance">android.lens.info.minimumFocusDistance</a> (static)</li>
23303 <li><a href="#static_android.lens.info.shadingMapSize">android.lens.info.shadingMapSize</a> (static)</li>
23304 <li><a href="#static_android.lens.info.focusDistanceCalibration">android.lens.info.focusDistanceCalibration</a> (static)</li>
23305 <li><a href="#dynamic_android.lens.state">android.lens.state</a> (dynamic)</li>
23306 <li><a href="#controls_android.noiseReduction.mode">android.noiseReduction.mode</a> (controls)</li>
23307 <li><a href="#static_android.noiseReduction.availableNoiseReductionModes">android.noiseReduction.availableNoiseReductionModes</a> (static)</li>
23308 <li><a href="#controls_android.request.id">android.request.id</a> (controls)</li>
23309 <li><a href="#static_android.scaler.availableMinFrameDurations">android.scaler.availableMinFrameDurations</a> (static)</li>
23310 <li><a href="#static_android.scaler.availableStallDurations">android.scaler.availableStallDurations</a> (static)</li>
23311 <li><a href="#controls_android.sensor.exposureTime">android.sensor.exposureTime</a> (controls)</li>
23312 <li><a href="#controls_android.sensor.frameDuration">android.sensor.frameDuration</a> (controls)</li>
23313 <li><a href="#controls_android.sensor.sensitivity">android.sensor.sensitivity</a> (controls)</li>
23314 <li><a href="#static_android.sensor.info.sensitivityRange">android.sensor.info.sensitivityRange</a> (static)</li>
23315 <li><a href="#static_android.sensor.info.exposureTimeRange">android.sensor.info.exposureTimeRange</a> (static)</li>
23316 <li><a href="#static_android.sensor.info.maxFrameDuration">android.sensor.info.maxFrameDuration</a> (static)</li>
23317 <li><a href="#static_android.sensor.info.physicalSize">android.sensor.info.physicalSize</a> (static)</li>
23318 <li><a href="#static_android.sensor.info.timestampSource">android.sensor.info.timestampSource</a> (static)</li>
23319 <li><a href="#static_android.sensor.maxAnalogSensitivity">android.sensor.maxAnalogSensitivity</a> (static)</li>
23320 <li><a href="#dynamic_android.sensor.rollingShutterSkew">android.sensor.rollingShutterSkew</a> (dynamic)</li>
23321 <li><a href="#controls_android.statistics.hotPixelMapMode">android.statistics.hotPixelMapMode</a> (controls)</li>
23322 <li><a href="#static_android.statistics.info.availableHotPixelMapModes">android.statistics.info.availableHotPixelMapModes</a> (static)</li>
23323 <li><a href="#dynamic_android.statistics.hotPixelMap">android.statistics.hotPixelMap</a> (dynamic)</li>
23324 <li><a href="#dynamic_android.sync.frameNumber">android.sync.frameNumber</a> (dynamic)</li>
23325 <li><a href="#static_android.sync.maxLatency">android.sync.maxLatency</a> (static)</li>
23326 <li><a href="#dynamic_android.edge.mode">android.edge.mode</a> (dynamic)</li>
23327 <li><a href="#dynamic_android.hotPixel.mode">android.hotPixel.mode</a> (dynamic)</li>
23328 <li><a href="#dynamic_android.lens.aperture">android.lens.aperture</a> (dynamic)</li>
23329 <li><a href="#dynamic_android.lens.filterDensity">android.lens.filterDensity</a> (dynamic)</li>
23330 <li><a href="#dynamic_android.lens.opticalStabilizationMode">android.lens.opticalStabilizationMode</a> (dynamic)</li>
23331 <li><a href="#dynamic_android.noiseReduction.mode">android.noiseReduction.mode</a> (dynamic)</li>
23333 </li> <!-- tag_V1 -->
23334 <li id="tag_RAW">RAW -
23335 Needed for useful RAW image processing and DNG file support
23337 <ul class="tags_entries">
23338 <li><a href="#controls_android.hotPixel.mode">android.hotPixel.mode</a> (controls)</li>
23339 <li><a href="#static_android.hotPixel.availableHotPixelModes">android.hotPixel.availableHotPixelModes</a> (static)</li>
23340 <li><a href="#static_android.sensor.info.activeArraySize">android.sensor.info.activeArraySize</a> (static)</li>
23341 <li><a href="#static_android.sensor.info.colorFilterArrangement">android.sensor.info.colorFilterArrangement</a> (static)</li>
23342 <li><a href="#static_android.sensor.info.pixelArraySize">android.sensor.info.pixelArraySize</a> (static)</li>
23343 <li><a href="#static_android.sensor.info.whiteLevel">android.sensor.info.whiteLevel</a> (static)</li>
23344 <li><a href="#static_android.sensor.referenceIlluminant1">android.sensor.referenceIlluminant1</a> (static)</li>
23345 <li><a href="#static_android.sensor.referenceIlluminant2">android.sensor.referenceIlluminant2</a> (static)</li>
23346 <li><a href="#static_android.sensor.calibrationTransform1">android.sensor.calibrationTransform1</a> (static)</li>
23347 <li><a href="#static_android.sensor.calibrationTransform2">android.sensor.calibrationTransform2</a> (static)</li>
23348 <li><a href="#static_android.sensor.colorTransform1">android.sensor.colorTransform1</a> (static)</li>
23349 <li><a href="#static_android.sensor.colorTransform2">android.sensor.colorTransform2</a> (static)</li>
23350 <li><a href="#static_android.sensor.forwardMatrix1">android.sensor.forwardMatrix1</a> (static)</li>
23351 <li><a href="#static_android.sensor.forwardMatrix2">android.sensor.forwardMatrix2</a> (static)</li>
23352 <li><a href="#static_android.sensor.blackLevelPattern">android.sensor.blackLevelPattern</a> (static)</li>
23353 <li><a href="#static_android.sensor.profileHueSatMapDimensions">android.sensor.profileHueSatMapDimensions</a> (static)</li>
23354 <li><a href="#dynamic_android.sensor.neutralColorPoint">android.sensor.neutralColorPoint</a> (dynamic)</li>
23355 <li><a href="#dynamic_android.sensor.noiseProfile">android.sensor.noiseProfile</a> (dynamic)</li>
23356 <li><a href="#dynamic_android.sensor.profileHueSatMap">android.sensor.profileHueSatMap</a> (dynamic)</li>
23357 <li><a href="#dynamic_android.sensor.profileToneCurve">android.sensor.profileToneCurve</a> (dynamic)</li>
23358 <li><a href="#dynamic_android.sensor.greenSplit">android.sensor.greenSplit</a> (dynamic)</li>
23359 <li><a href="#controls_android.statistics.hotPixelMapMode">android.statistics.hotPixelMapMode</a> (controls)</li>
23360 <li><a href="#static_android.statistics.info.availableHotPixelMapModes">android.statistics.info.availableHotPixelMapModes</a> (static)</li>
23361 <li><a href="#dynamic_android.statistics.hotPixelMap">android.statistics.hotPixelMap</a> (dynamic)</li>
23362 <li><a href="#controls_android.statistics.lensShadingMapMode">android.statistics.lensShadingMapMode</a> (controls)</li>
23363 <li><a href="#dynamic_android.hotPixel.mode">android.hotPixel.mode</a> (dynamic)</li>
23365 </li> <!-- tag_RAW -->
23366 <li id="tag_HAL2">HAL2 -
23367 Entry is only used by camera device HAL 2.x
23369 <ul class="tags_entries">
23370 <li><a href="#controls_android.request.inputStreams">android.request.inputStreams</a> (controls)</li>
23371 <li><a href="#controls_android.request.outputStreams">android.request.outputStreams</a> (controls)</li>
23372 <li><a href="#controls_android.request.type">android.request.type</a> (controls)</li>
23373 <li><a href="#static_android.request.maxNumReprocessStreams">android.request.maxNumReprocessStreams</a> (static)</li>
23374 <li><a href="#controls_android.blackLevel.lock">android.blackLevel.lock</a> (controls)</li>
23376 </li> <!-- tag_HAL2 -->
23377 <li id="tag_FULL">FULL -
23378 Entry is required for full hardware level devices, and optional for other hardware levels
23380 <ul class="tags_entries">
23381 <li><a href="#static_android.sensor.maxAnalogSensitivity">android.sensor.maxAnalogSensitivity</a> (static)</li>
23383 </li> <!-- tag_FULL -->
23384 <li id="tag_FUTURE">FUTURE -
23385 Entry is under-specified and is not required for now. This is for book-keeping purpose,
23386 do not implement or use it, it may be revised for future.
23388 <ul class="tags_entries">
23389 <li><a href="#controls_android.demosaic.mode">android.demosaic.mode</a> (controls)</li>
23390 <li><a href="#controls_android.edge.strength">android.edge.strength</a> (controls)</li>
23391 <li><a href="#controls_android.flash.firingPower">android.flash.firingPower</a> (controls)</li>
23392 <li><a href="#controls_android.flash.firingTime">android.flash.firingTime</a> (controls)</li>
23393 <li><a href="#static_android.flash.info.chargeDuration">android.flash.info.chargeDuration</a> (static)</li>
23394 <li><a href="#static_android.flash.colorTemperature">android.flash.colorTemperature</a> (static)</li>
23395 <li><a href="#static_android.flash.maxEnergy">android.flash.maxEnergy</a> (static)</li>
23396 <li><a href="#dynamic_android.jpeg.size">android.jpeg.size</a> (dynamic)</li>
23397 <li><a href="#static_android.lens.opticalAxisAngle">android.lens.opticalAxisAngle</a> (static)</li>
23398 <li><a href="#static_android.lens.position">android.lens.position</a> (static)</li>
23399 <li><a href="#controls_android.noiseReduction.strength">android.noiseReduction.strength</a> (controls)</li>
23400 <li><a href="#controls_android.request.metadataMode">android.request.metadataMode</a> (controls)</li>
23401 <li><a href="#static_android.sensor.baseGainFactor">android.sensor.baseGainFactor</a> (static)</li>
23402 <li><a href="#dynamic_android.sensor.temperature">android.sensor.temperature</a> (dynamic)</li>
23403 <li><a href="#controls_android.shading.strength">android.shading.strength</a> (controls)</li>
23404 <li><a href="#controls_android.statistics.histogramMode">android.statistics.histogramMode</a> (controls)</li>
23405 <li><a href="#controls_android.statistics.sharpnessMapMode">android.statistics.sharpnessMapMode</a> (controls)</li>
23406 <li><a href="#static_android.statistics.info.histogramBucketCount">android.statistics.info.histogramBucketCount</a> (static)</li>
23407 <li><a href="#static_android.statistics.info.maxHistogramCount">android.statistics.info.maxHistogramCount</a> (static)</li>
23408 <li><a href="#static_android.statistics.info.maxSharpnessMapValue">android.statistics.info.maxSharpnessMapValue</a> (static)</li>
23409 <li><a href="#static_android.statistics.info.sharpnessMapSize">android.statistics.info.sharpnessMapSize</a> (static)</li>
23410 <li><a href="#dynamic_android.statistics.histogram">android.statistics.histogram</a> (dynamic)</li>
23411 <li><a href="#dynamic_android.statistics.sharpnessMap">android.statistics.sharpnessMap</a> (dynamic)</li>
23413 </li> <!-- tag_FUTURE -->
23417 [ <a href="#">top</a> ]