Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <!-- Copyright (C) 2012 The Android Open Source Project |
| 4 | |
| 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 |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 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. |
| 16 | --> |
| 17 | <head> |
| 18 | <!-- automatically generated from html.mako. do NOT edit directly --> |
| 19 | <meta charset="utf-8" /> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 20 | <title>Android Camera HAL3.0 Properties</title> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 21 | <style type="text/css"> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 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 } |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 31 | .entry_cont { background-color: #f0f0f0 } |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 32 | .entries_header { background-color: #dddddd; text-align: center} |
| 33 | |
| 34 | /* toc style */ |
| 35 | .toc_section_header { font-size:1.3em; } |
| 36 | .toc_kind_header { font-size:1.2em; } |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 37 | |
| 38 | /* table column sizes */ |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 39 | table { border-collapse:collapse; table-layout: fixed; width: 100%; word-wrap: break-word } |
| 40 | td,th { border: 1px solid; border-color: #aaaaaa; padding-left: 0.5em; padding-right: 0.5em } |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 41 | .th_name { width: 20% } |
| 42 | .th_units { width: 10% } |
| 43 | .th_tags { width: 5% } |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 44 | .th_details { width: 25% } |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 45 | .th_type { width: 20% } |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 46 | .th_description { width: 20% } |
| 47 | .th_range { width: 10% } |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 48 | td { font-size: 0.9em; } |
| 49 | |
| 50 | /* hide the first thead, we need it there only to enforce column sizes */ |
| 51 | .thead_dummy { visibility: hidden; } |
| 52 | |
| 53 | /* Entry flair */ |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 54 | .entry_name { color: #333333; padding-left:1.0em; font-size:1.1em; font-family: monospace; vertical-align:top; } |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 55 | |
| 56 | /* Entry type flair */ |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 57 | .entry_type_name { font-size:1.1em; color: #669900; font-weight: bold;} |
| 58 | .entry_type_name_enum:after { color: #669900; font-weight: bold; content:" (enum)" } |
| 59 | .entry_type_visibility { font-weight: bolder; padding-left:1em} |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 60 | .entry_type_enum_name { font-family: monospace; font-weight: bolder; } |
| 61 | .entry_type_enum_notes:before { content:" - " } |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 62 | .entry_type_enum_notes>p:first-child { display:inline; } |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 63 | .entry_type_enum_value:before { content:" = " } |
| 64 | .entry_type_enum_value { font-family: monospace; } |
| 65 | .entry ul { margin: 0 0 0 0; list-style-position: inside; padding-left: 0.5em; } |
| 66 | .entry ul li { padding: 0 0 0 0; margin: 0 0 0 0;} |
| 67 | |
| 68 | /* Entry tags flair */ |
| 69 | .entry_tags ul { list-style-type: none; } |
| 70 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 71 | /* Entry details (full docs) flair */ |
| 72 | .entry_details_header { font-weight: bold; background-color: #dddddd; |
| 73 | text-align: center; font-size: 1.1em; margin-left: 0em; margin-right: 0em; } |
| 74 | |
| 75 | /* Entry spacer flair */ |
| 76 | .entry_spacer { background-color: transparent; border-style: none; height: 0.5em; } |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 77 | |
| 78 | /* TODO: generate abbr element for each tag link? */ |
| 79 | /* TODO for each x.y.z try to link it to the entry */ |
| 80 | |
| 81 | </style> |
| 82 | |
| 83 | <style> |
| 84 | |
| 85 | { |
| 86 | /* broken... |
| 87 | supposedly there is a bug in chrome that it lays out tables before |
| 88 | it knows its being printed, so the page-break-* styles are ignored |
| 89 | */ |
| 90 | tr { page-break-after: always; page-break-inside: avoid; } |
| 91 | } |
| 92 | |
| 93 | </style> |
| 94 | </head> |
| 95 | |
| 96 | |
| 97 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 98 | <body> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 99 | <h1>Android Camera HAL3.0 Properties</h1> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 100 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 101 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 102 | <h2>Table of Contents</h2> |
| 103 | <ul class="toc"> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 104 | <li><a href="#tag_index" class="toc_section_header">Tags</a></li> |
| 105 | <li> |
| 106 | <span class="toc_section_header"><a href="#section_colorCorrection">colorCorrection</a></span> |
| 107 | <ul class="toc_section"> |
| 108 | <li> |
| 109 | <span class="toc_kind_header">controls</span> |
| 110 | <ul class="toc_section"> |
| 111 | <li><a href="#controls_android.colorCorrection.mode">android.colorCorrection.mode</a></li> |
| 112 | <li><a href="#controls_android.colorCorrection.transform">android.colorCorrection.transform</a></li> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 113 | <li><a href="#controls_android.colorCorrection.gains">android.colorCorrection.gains</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 114 | </ul> |
| 115 | </li> |
| 116 | <li> |
| 117 | <span class="toc_kind_header">dynamic</span> |
| 118 | <ul class="toc_section"> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 119 | <li><a href="#dynamic_android.colorCorrection.transform">android.colorCorrection.transform</a></li> |
| 120 | <li><a href="#dynamic_android.colorCorrection.gains">android.colorCorrection.gains</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 121 | </ul> |
| 122 | </li> |
| 123 | </ul> <!-- toc_section --> |
| 124 | </li> |
| 125 | <li> |
| 126 | <span class="toc_section_header"><a href="#section_control">control</a></span> |
| 127 | <ul class="toc_section"> |
| 128 | <li> |
| 129 | <span class="toc_kind_header">controls</span> |
| 130 | <ul class="toc_section"> |
| 131 | <li><a href="#controls_android.control.aeAntibandingMode">android.control.aeAntibandingMode</a></li> |
| 132 | <li><a href="#controls_android.control.aeExposureCompensation">android.control.aeExposureCompensation</a></li> |
| 133 | <li><a href="#controls_android.control.aeLock">android.control.aeLock</a></li> |
| 134 | <li><a href="#controls_android.control.aeMode">android.control.aeMode</a></li> |
| 135 | <li><a href="#controls_android.control.aeRegions">android.control.aeRegions</a></li> |
| 136 | <li><a href="#controls_android.control.aeTargetFpsRange">android.control.aeTargetFpsRange</a></li> |
| 137 | <li><a href="#controls_android.control.aePrecaptureTrigger">android.control.aePrecaptureTrigger</a></li> |
| 138 | <li><a href="#controls_android.control.afMode">android.control.afMode</a></li> |
| 139 | <li><a href="#controls_android.control.afRegions">android.control.afRegions</a></li> |
| 140 | <li><a href="#controls_android.control.afTrigger">android.control.afTrigger</a></li> |
| 141 | <li><a href="#controls_android.control.awbLock">android.control.awbLock</a></li> |
| 142 | <li><a href="#controls_android.control.awbMode">android.control.awbMode</a></li> |
| 143 | <li><a href="#controls_android.control.awbRegions">android.control.awbRegions</a></li> |
| 144 | <li><a href="#controls_android.control.captureIntent">android.control.captureIntent</a></li> |
| 145 | <li><a href="#controls_android.control.effectMode">android.control.effectMode</a></li> |
| 146 | <li><a href="#controls_android.control.mode">android.control.mode</a></li> |
| 147 | <li><a href="#controls_android.control.sceneMode">android.control.sceneMode</a></li> |
| 148 | <li><a href="#controls_android.control.videoStabilizationMode">android.control.videoStabilizationMode</a></li> |
| 149 | </ul> |
| 150 | </li> |
| 151 | <li> |
| 152 | <span class="toc_kind_header">static</span> |
| 153 | <ul class="toc_section"> |
| 154 | <li><a href="#static_android.control.aeAvailableAntibandingModes">android.control.aeAvailableAntibandingModes</a></li> |
| 155 | <li><a href="#static_android.control.aeAvailableModes">android.control.aeAvailableModes</a></li> |
| 156 | <li><a href="#static_android.control.aeAvailableTargetFpsRanges">android.control.aeAvailableTargetFpsRanges</a></li> |
| 157 | <li><a href="#static_android.control.aeCompensationRange">android.control.aeCompensationRange</a></li> |
| 158 | <li><a href="#static_android.control.aeCompensationStep">android.control.aeCompensationStep</a></li> |
| 159 | <li><a href="#static_android.control.afAvailableModes">android.control.afAvailableModes</a></li> |
| 160 | <li><a href="#static_android.control.availableEffects">android.control.availableEffects</a></li> |
| 161 | <li><a href="#static_android.control.availableSceneModes">android.control.availableSceneModes</a></li> |
| 162 | <li><a href="#static_android.control.availableVideoStabilizationModes">android.control.availableVideoStabilizationModes</a></li> |
| 163 | <li><a href="#static_android.control.awbAvailableModes">android.control.awbAvailableModes</a></li> |
| 164 | <li><a href="#static_android.control.maxRegions">android.control.maxRegions</a></li> |
| 165 | <li><a href="#static_android.control.sceneModeOverrides">android.control.sceneModeOverrides</a></li> |
| 166 | </ul> |
| 167 | </li> |
| 168 | <li> |
| 169 | <span class="toc_kind_header">dynamic</span> |
| 170 | <ul class="toc_section"> |
| 171 | <li><a href="#dynamic_android.control.aePrecaptureId">android.control.aePrecaptureId</a></li> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 172 | <li><a href="#dynamic_android.control.aeMode">android.control.aeMode</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 173 | <li><a href="#dynamic_android.control.aeRegions">android.control.aeRegions</a></li> |
| 174 | <li><a href="#dynamic_android.control.aeState">android.control.aeState</a></li> |
| 175 | <li><a href="#dynamic_android.control.afMode">android.control.afMode</a></li> |
| 176 | <li><a href="#dynamic_android.control.afRegions">android.control.afRegions</a></li> |
| 177 | <li><a href="#dynamic_android.control.afState">android.control.afState</a></li> |
| 178 | <li><a href="#dynamic_android.control.afTriggerId">android.control.afTriggerId</a></li> |
| 179 | <li><a href="#dynamic_android.control.awbMode">android.control.awbMode</a></li> |
| 180 | <li><a href="#dynamic_android.control.awbRegions">android.control.awbRegions</a></li> |
| 181 | <li><a href="#dynamic_android.control.awbState">android.control.awbState</a></li> |
| 182 | <li><a href="#dynamic_android.control.mode">android.control.mode</a></li> |
| 183 | </ul> |
| 184 | </li> |
| 185 | </ul> <!-- toc_section --> |
| 186 | </li> |
| 187 | <li> |
| 188 | <span class="toc_section_header"><a href="#section_demosaic">demosaic</a></span> |
| 189 | <ul class="toc_section"> |
| 190 | <li> |
| 191 | <span class="toc_kind_header">controls</span> |
| 192 | <ul class="toc_section"> |
| 193 | <li><a href="#controls_android.demosaic.mode">android.demosaic.mode</a></li> |
| 194 | </ul> |
| 195 | </li> |
| 196 | </ul> <!-- toc_section --> |
| 197 | </li> |
| 198 | <li> |
| 199 | <span class="toc_section_header"><a href="#section_edge">edge</a></span> |
| 200 | <ul class="toc_section"> |
| 201 | <li> |
| 202 | <span class="toc_kind_header">controls</span> |
| 203 | <ul class="toc_section"> |
| 204 | <li><a href="#controls_android.edge.mode">android.edge.mode</a></li> |
| 205 | <li><a href="#controls_android.edge.strength">android.edge.strength</a></li> |
| 206 | </ul> |
| 207 | </li> |
| 208 | <li> |
| 209 | <span class="toc_kind_header">dynamic</span> |
| 210 | <ul class="toc_section"> |
| 211 | <li><a href="#dynamic_android.edge.mode">android.edge.mode</a></li> |
| 212 | </ul> |
| 213 | </li> |
| 214 | </ul> <!-- toc_section --> |
| 215 | </li> |
| 216 | <li> |
| 217 | <span class="toc_section_header"><a href="#section_flash">flash</a></span> |
| 218 | <ul class="toc_section"> |
| 219 | <li> |
| 220 | <span class="toc_kind_header">controls</span> |
| 221 | <ul class="toc_section"> |
| 222 | <li><a href="#controls_android.flash.firingPower">android.flash.firingPower</a></li> |
| 223 | <li><a href="#controls_android.flash.firingTime">android.flash.firingTime</a></li> |
| 224 | <li><a href="#controls_android.flash.mode">android.flash.mode</a></li> |
| 225 | </ul> |
| 226 | </li> |
| 227 | <li> |
| 228 | <span class="toc_kind_header">static</span> |
| 229 | <ul class="toc_section"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 230 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 231 | <li><a href="#static_android.flash.info.available">android.flash.info.available</a></li> |
| 232 | <li><a href="#static_android.flash.info.chargeDuration">android.flash.info.chargeDuration</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 233 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 234 | <li><a href="#static_android.flash.colorTemperature">android.flash.colorTemperature</a></li> |
| 235 | <li><a href="#static_android.flash.maxEnergy">android.flash.maxEnergy</a></li> |
| 236 | </ul> |
| 237 | </li> |
| 238 | <li> |
| 239 | <span class="toc_kind_header">dynamic</span> |
| 240 | <ul class="toc_section"> |
| 241 | <li><a href="#dynamic_android.flash.firingPower">android.flash.firingPower</a></li> |
| 242 | <li><a href="#dynamic_android.flash.firingTime">android.flash.firingTime</a></li> |
| 243 | <li><a href="#dynamic_android.flash.mode">android.flash.mode</a></li> |
| 244 | <li><a href="#dynamic_android.flash.state">android.flash.state</a></li> |
| 245 | </ul> |
| 246 | </li> |
| 247 | </ul> <!-- toc_section --> |
| 248 | </li> |
| 249 | <li> |
| 250 | <span class="toc_section_header"><a href="#section_geometric">geometric</a></span> |
| 251 | <ul class="toc_section"> |
| 252 | <li> |
| 253 | <span class="toc_kind_header">controls</span> |
| 254 | <ul class="toc_section"> |
| 255 | <li><a href="#controls_android.geometric.mode">android.geometric.mode</a></li> |
| 256 | <li><a href="#controls_android.geometric.strength">android.geometric.strength</a></li> |
| 257 | </ul> |
| 258 | </li> |
| 259 | </ul> <!-- toc_section --> |
| 260 | </li> |
| 261 | <li> |
| 262 | <span class="toc_section_header"><a href="#section_hotPixel">hotPixel</a></span> |
| 263 | <ul class="toc_section"> |
| 264 | <li> |
| 265 | <span class="toc_kind_header">controls</span> |
| 266 | <ul class="toc_section"> |
| 267 | <li><a href="#controls_android.hotPixel.mode">android.hotPixel.mode</a></li> |
| 268 | </ul> |
| 269 | </li> |
| 270 | <li> |
| 271 | <span class="toc_kind_header">static</span> |
| 272 | <ul class="toc_section"> |
| 273 | |
| 274 | <li><a href="#static_android.hotPixel.info.map">android.hotPixel.info.map</a></li> |
| 275 | |
| 276 | </ul> |
| 277 | </li> |
| 278 | <li> |
| 279 | <span class="toc_kind_header">dynamic</span> |
| 280 | <ul class="toc_section"> |
| 281 | <li><a href="#dynamic_android.hotPixel.mode">android.hotPixel.mode</a></li> |
| 282 | </ul> |
| 283 | </li> |
| 284 | </ul> <!-- toc_section --> |
| 285 | </li> |
| 286 | <li> |
| 287 | <span class="toc_section_header"><a href="#section_jpeg">jpeg</a></span> |
| 288 | <ul class="toc_section"> |
| 289 | <li> |
| 290 | <span class="toc_kind_header">controls</span> |
| 291 | <ul class="toc_section"> |
| 292 | <li><a href="#controls_android.jpeg.gpsCoordinates">android.jpeg.gpsCoordinates</a></li> |
| 293 | <li><a href="#controls_android.jpeg.gpsProcessingMethod">android.jpeg.gpsProcessingMethod</a></li> |
| 294 | <li><a href="#controls_android.jpeg.gpsTimestamp">android.jpeg.gpsTimestamp</a></li> |
| 295 | <li><a href="#controls_android.jpeg.orientation">android.jpeg.orientation</a></li> |
| 296 | <li><a href="#controls_android.jpeg.quality">android.jpeg.quality</a></li> |
| 297 | <li><a href="#controls_android.jpeg.thumbnailQuality">android.jpeg.thumbnailQuality</a></li> |
| 298 | <li><a href="#controls_android.jpeg.thumbnailSize">android.jpeg.thumbnailSize</a></li> |
| 299 | </ul> |
| 300 | </li> |
| 301 | <li> |
| 302 | <span class="toc_kind_header">static</span> |
| 303 | <ul class="toc_section"> |
| 304 | <li><a href="#static_android.jpeg.availableThumbnailSizes">android.jpeg.availableThumbnailSizes</a></li> |
| 305 | <li><a href="#static_android.jpeg.maxSize">android.jpeg.maxSize</a></li> |
| 306 | </ul> |
| 307 | </li> |
| 308 | <li> |
| 309 | <span class="toc_kind_header">dynamic</span> |
| 310 | <ul class="toc_section"> |
| 311 | <li><a href="#dynamic_android.jpeg.gpsCoordinates">android.jpeg.gpsCoordinates</a></li> |
| 312 | <li><a href="#dynamic_android.jpeg.gpsProcessingMethod">android.jpeg.gpsProcessingMethod</a></li> |
| 313 | <li><a href="#dynamic_android.jpeg.gpsTimestamp">android.jpeg.gpsTimestamp</a></li> |
| 314 | <li><a href="#dynamic_android.jpeg.orientation">android.jpeg.orientation</a></li> |
| 315 | <li><a href="#dynamic_android.jpeg.quality">android.jpeg.quality</a></li> |
| 316 | <li><a href="#dynamic_android.jpeg.size">android.jpeg.size</a></li> |
| 317 | <li><a href="#dynamic_android.jpeg.thumbnailQuality">android.jpeg.thumbnailQuality</a></li> |
| 318 | <li><a href="#dynamic_android.jpeg.thumbnailSize">android.jpeg.thumbnailSize</a></li> |
| 319 | </ul> |
| 320 | </li> |
| 321 | </ul> <!-- toc_section --> |
| 322 | </li> |
| 323 | <li> |
| 324 | <span class="toc_section_header"><a href="#section_lens">lens</a></span> |
| 325 | <ul class="toc_section"> |
| 326 | <li> |
| 327 | <span class="toc_kind_header">controls</span> |
| 328 | <ul class="toc_section"> |
| 329 | <li><a href="#controls_android.lens.aperture">android.lens.aperture</a></li> |
| 330 | <li><a href="#controls_android.lens.filterDensity">android.lens.filterDensity</a></li> |
| 331 | <li><a href="#controls_android.lens.focalLength">android.lens.focalLength</a></li> |
| 332 | <li><a href="#controls_android.lens.focusDistance">android.lens.focusDistance</a></li> |
| 333 | <li><a href="#controls_android.lens.opticalStabilizationMode">android.lens.opticalStabilizationMode</a></li> |
| 334 | </ul> |
| 335 | </li> |
| 336 | <li> |
| 337 | <span class="toc_kind_header">static</span> |
| 338 | <ul class="toc_section"> |
| 339 | |
| 340 | <li><a href="#static_android.lens.info.availableApertures">android.lens.info.availableApertures</a></li> |
| 341 | <li><a href="#static_android.lens.info.availableFilterDensities">android.lens.info.availableFilterDensities</a></li> |
| 342 | <li><a href="#static_android.lens.info.availableFocalLengths">android.lens.info.availableFocalLengths</a></li> |
| 343 | <li><a href="#static_android.lens.info.availableOpticalStabilization">android.lens.info.availableOpticalStabilization</a></li> |
| 344 | <li><a href="#static_android.lens.info.geometricCorrectionMap">android.lens.info.geometricCorrectionMap</a></li> |
| 345 | <li><a href="#static_android.lens.info.geometricCorrectionMapSize">android.lens.info.geometricCorrectionMapSize</a></li> |
| 346 | <li><a href="#static_android.lens.info.hyperfocalDistance">android.lens.info.hyperfocalDistance</a></li> |
| 347 | <li><a href="#static_android.lens.info.minimumFocusDistance">android.lens.info.minimumFocusDistance</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 348 | <li><a href="#static_android.lens.info.shadingMapSize">android.lens.info.shadingMapSize</a></li> |
| 349 | |
| 350 | <li><a href="#static_android.lens.facing">android.lens.facing</a></li> |
| 351 | <li><a href="#static_android.lens.opticalAxisAngle">android.lens.opticalAxisAngle</a></li> |
| 352 | <li><a href="#static_android.lens.position">android.lens.position</a></li> |
| 353 | </ul> |
| 354 | </li> |
| 355 | <li> |
| 356 | <span class="toc_kind_header">dynamic</span> |
| 357 | <ul class="toc_section"> |
| 358 | <li><a href="#dynamic_android.lens.aperture">android.lens.aperture</a></li> |
| 359 | <li><a href="#dynamic_android.lens.filterDensity">android.lens.filterDensity</a></li> |
| 360 | <li><a href="#dynamic_android.lens.focalLength">android.lens.focalLength</a></li> |
| 361 | <li><a href="#dynamic_android.lens.focusDistance">android.lens.focusDistance</a></li> |
| 362 | <li><a href="#dynamic_android.lens.focusRange">android.lens.focusRange</a></li> |
| 363 | <li><a href="#dynamic_android.lens.opticalStabilizationMode">android.lens.opticalStabilizationMode</a></li> |
| 364 | <li><a href="#dynamic_android.lens.state">android.lens.state</a></li> |
| 365 | </ul> |
| 366 | </li> |
| 367 | </ul> <!-- toc_section --> |
| 368 | </li> |
| 369 | <li> |
| 370 | <span class="toc_section_header"><a href="#section_noiseReduction">noiseReduction</a></span> |
| 371 | <ul class="toc_section"> |
| 372 | <li> |
| 373 | <span class="toc_kind_header">controls</span> |
| 374 | <ul class="toc_section"> |
| 375 | <li><a href="#controls_android.noiseReduction.mode">android.noiseReduction.mode</a></li> |
| 376 | <li><a href="#controls_android.noiseReduction.strength">android.noiseReduction.strength</a></li> |
| 377 | </ul> |
| 378 | </li> |
| 379 | <li> |
| 380 | <span class="toc_kind_header">dynamic</span> |
| 381 | <ul class="toc_section"> |
| 382 | <li><a href="#dynamic_android.noiseReduction.mode">android.noiseReduction.mode</a></li> |
| 383 | </ul> |
| 384 | </li> |
| 385 | </ul> <!-- toc_section --> |
| 386 | </li> |
| 387 | <li> |
| 388 | <span class="toc_section_header"><a href="#section_quirks">quirks</a></span> |
| 389 | <ul class="toc_section"> |
| 390 | <li> |
| 391 | <span class="toc_kind_header">static</span> |
| 392 | <ul class="toc_section"> |
| 393 | <li><a href="#static_android.quirks.meteringCropRegion">android.quirks.meteringCropRegion</a></li> |
| 394 | <li><a href="#static_android.quirks.triggerAfWithAuto">android.quirks.triggerAfWithAuto</a></li> |
| 395 | <li><a href="#static_android.quirks.useZslFormat">android.quirks.useZslFormat</a></li> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 396 | <li><a href="#static_android.quirks.usePartialResult">android.quirks.usePartialResult</a></li> |
| 397 | </ul> |
| 398 | </li> |
| 399 | <li> |
| 400 | <span class="toc_kind_header">dynamic</span> |
| 401 | <ul class="toc_section"> |
| 402 | <li><a href="#dynamic_android.quirks.partialResult">android.quirks.partialResult</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 403 | </ul> |
| 404 | </li> |
| 405 | </ul> <!-- toc_section --> |
| 406 | </li> |
| 407 | <li> |
| 408 | <span class="toc_section_header"><a href="#section_request">request</a></span> |
| 409 | <ul class="toc_section"> |
| 410 | <li> |
| 411 | <span class="toc_kind_header">controls</span> |
| 412 | <ul class="toc_section"> |
| 413 | <li><a href="#controls_android.request.frameCount">android.request.frameCount</a></li> |
| 414 | <li><a href="#controls_android.request.id">android.request.id</a></li> |
| 415 | <li><a href="#controls_android.request.inputStreams">android.request.inputStreams</a></li> |
| 416 | <li><a href="#controls_android.request.metadataMode">android.request.metadataMode</a></li> |
| 417 | <li><a href="#controls_android.request.outputStreams">android.request.outputStreams</a></li> |
| 418 | <li><a href="#controls_android.request.type">android.request.type</a></li> |
| 419 | </ul> |
| 420 | </li> |
| 421 | <li> |
| 422 | <span class="toc_kind_header">static</span> |
| 423 | <ul class="toc_section"> |
| 424 | <li><a href="#static_android.request.maxNumOutputStreams">android.request.maxNumOutputStreams</a></li> |
| 425 | <li><a href="#static_android.request.maxNumReprocessStreams">android.request.maxNumReprocessStreams</a></li> |
Zhijun He | 12744b2 | 2014-01-22 15:58:57 -0800 | [diff] [blame] | 426 | <li><a href="#static_android.request.maxNumInputStreams">android.request.maxNumInputStreams</a></li> |
Igor Murashkin | a46e02f | 2014-01-09 17:43:38 -0800 | [diff] [blame] | 427 | <li><a href="#static_android.request.pipelineMaxDepth">android.request.pipelineMaxDepth</a></li> |
Igor Murashkin | 2e29110 | 2014-01-10 14:18:30 -0800 | [diff] [blame] | 428 | <li><a href="#static_android.request.partialResultCount">android.request.partialResultCount</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 429 | </ul> |
| 430 | </li> |
| 431 | <li> |
| 432 | <span class="toc_kind_header">dynamic</span> |
| 433 | <ul class="toc_section"> |
| 434 | <li><a href="#dynamic_android.request.frameCount">android.request.frameCount</a></li> |
| 435 | <li><a href="#dynamic_android.request.id">android.request.id</a></li> |
| 436 | <li><a href="#dynamic_android.request.metadataMode">android.request.metadataMode</a></li> |
| 437 | <li><a href="#dynamic_android.request.outputStreams">android.request.outputStreams</a></li> |
Igor Murashkin | a46e02f | 2014-01-09 17:43:38 -0800 | [diff] [blame] | 438 | <li><a href="#dynamic_android.request.pipelineDepth">android.request.pipelineDepth</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 439 | </ul> |
| 440 | </li> |
| 441 | </ul> <!-- toc_section --> |
| 442 | </li> |
| 443 | <li> |
| 444 | <span class="toc_section_header"><a href="#section_scaler">scaler</a></span> |
| 445 | <ul class="toc_section"> |
| 446 | <li> |
| 447 | <span class="toc_kind_header">controls</span> |
| 448 | <ul class="toc_section"> |
| 449 | <li><a href="#controls_android.scaler.cropRegion">android.scaler.cropRegion</a></li> |
| 450 | </ul> |
| 451 | </li> |
| 452 | <li> |
| 453 | <span class="toc_kind_header">static</span> |
| 454 | <ul class="toc_section"> |
| 455 | <li><a href="#static_android.scaler.availableFormats">android.scaler.availableFormats</a></li> |
| 456 | <li><a href="#static_android.scaler.availableJpegMinDurations">android.scaler.availableJpegMinDurations</a></li> |
| 457 | <li><a href="#static_android.scaler.availableJpegSizes">android.scaler.availableJpegSizes</a></li> |
| 458 | <li><a href="#static_android.scaler.availableMaxDigitalZoom">android.scaler.availableMaxDigitalZoom</a></li> |
| 459 | <li><a href="#static_android.scaler.availableProcessedMinDurations">android.scaler.availableProcessedMinDurations</a></li> |
| 460 | <li><a href="#static_android.scaler.availableProcessedSizes">android.scaler.availableProcessedSizes</a></li> |
| 461 | <li><a href="#static_android.scaler.availableRawMinDurations">android.scaler.availableRawMinDurations</a></li> |
| 462 | <li><a href="#static_android.scaler.availableRawSizes">android.scaler.availableRawSizes</a></li> |
| 463 | </ul> |
| 464 | </li> |
| 465 | <li> |
| 466 | <span class="toc_kind_header">dynamic</span> |
| 467 | <ul class="toc_section"> |
| 468 | <li><a href="#dynamic_android.scaler.cropRegion">android.scaler.cropRegion</a></li> |
| 469 | </ul> |
| 470 | </li> |
| 471 | </ul> <!-- toc_section --> |
| 472 | </li> |
| 473 | <li> |
| 474 | <span class="toc_section_header"><a href="#section_sensor">sensor</a></span> |
| 475 | <ul class="toc_section"> |
| 476 | <li> |
| 477 | <span class="toc_kind_header">controls</span> |
| 478 | <ul class="toc_section"> |
| 479 | <li><a href="#controls_android.sensor.exposureTime">android.sensor.exposureTime</a></li> |
| 480 | <li><a href="#controls_android.sensor.frameDuration">android.sensor.frameDuration</a></li> |
| 481 | <li><a href="#controls_android.sensor.sensitivity">android.sensor.sensitivity</a></li> |
Igor Murashkin | a46e02f | 2014-01-09 17:43:38 -0800 | [diff] [blame] | 482 | <li><a href="#controls_android.sensor.testPatternData">android.sensor.testPatternData</a></li> |
| 483 | <li><a href="#controls_android.sensor.testPatternMode">android.sensor.testPatternMode</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 484 | </ul> |
| 485 | </li> |
| 486 | <li> |
| 487 | <span class="toc_kind_header">static</span> |
| 488 | <ul class="toc_section"> |
| 489 | |
| 490 | <li><a href="#static_android.sensor.info.activeArraySize">android.sensor.info.activeArraySize</a></li> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 491 | <li><a href="#static_android.sensor.info.sensitivityRange">android.sensor.info.sensitivityRange</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 492 | <li><a href="#static_android.sensor.info.colorFilterArrangement">android.sensor.info.colorFilterArrangement</a></li> |
| 493 | <li><a href="#static_android.sensor.info.exposureTimeRange">android.sensor.info.exposureTimeRange</a></li> |
| 494 | <li><a href="#static_android.sensor.info.maxFrameDuration">android.sensor.info.maxFrameDuration</a></li> |
| 495 | <li><a href="#static_android.sensor.info.physicalSize">android.sensor.info.physicalSize</a></li> |
| 496 | <li><a href="#static_android.sensor.info.pixelArraySize">android.sensor.info.pixelArraySize</a></li> |
| 497 | <li><a href="#static_android.sensor.info.whiteLevel">android.sensor.info.whiteLevel</a></li> |
| 498 | |
| 499 | <li><a href="#static_android.sensor.baseGainFactor">android.sensor.baseGainFactor</a></li> |
| 500 | <li><a href="#static_android.sensor.blackLevelPattern">android.sensor.blackLevelPattern</a></li> |
| 501 | <li><a href="#static_android.sensor.calibrationTransform1">android.sensor.calibrationTransform1</a></li> |
| 502 | <li><a href="#static_android.sensor.calibrationTransform2">android.sensor.calibrationTransform2</a></li> |
| 503 | <li><a href="#static_android.sensor.colorTransform1">android.sensor.colorTransform1</a></li> |
| 504 | <li><a href="#static_android.sensor.colorTransform2">android.sensor.colorTransform2</a></li> |
| 505 | <li><a href="#static_android.sensor.forwardMatrix1">android.sensor.forwardMatrix1</a></li> |
| 506 | <li><a href="#static_android.sensor.forwardMatrix2">android.sensor.forwardMatrix2</a></li> |
| 507 | <li><a href="#static_android.sensor.maxAnalogSensitivity">android.sensor.maxAnalogSensitivity</a></li> |
| 508 | <li><a href="#static_android.sensor.noiseModelCoefficients">android.sensor.noiseModelCoefficients</a></li> |
| 509 | <li><a href="#static_android.sensor.orientation">android.sensor.orientation</a></li> |
| 510 | <li><a href="#static_android.sensor.referenceIlluminant1">android.sensor.referenceIlluminant1</a></li> |
| 511 | <li><a href="#static_android.sensor.referenceIlluminant2">android.sensor.referenceIlluminant2</a></li> |
Igor Murashkin | a46e02f | 2014-01-09 17:43:38 -0800 | [diff] [blame] | 512 | <li><a href="#static_android.sensor.availableTestPatternModes">android.sensor.availableTestPatternModes</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 513 | </ul> |
| 514 | </li> |
| 515 | <li> |
| 516 | <span class="toc_kind_header">dynamic</span> |
| 517 | <ul class="toc_section"> |
| 518 | <li><a href="#dynamic_android.sensor.exposureTime">android.sensor.exposureTime</a></li> |
| 519 | <li><a href="#dynamic_android.sensor.frameDuration">android.sensor.frameDuration</a></li> |
| 520 | <li><a href="#dynamic_android.sensor.sensitivity">android.sensor.sensitivity</a></li> |
| 521 | <li><a href="#dynamic_android.sensor.timestamp">android.sensor.timestamp</a></li> |
Igor Murashkin | 656aa5a | 2013-08-13 14:23:39 -0700 | [diff] [blame] | 522 | <li><a href="#dynamic_android.sensor.temperature">android.sensor.temperature</a></li> |
Igor Murashkin | a46e02f | 2014-01-09 17:43:38 -0800 | [diff] [blame] | 523 | <li><a href="#dynamic_android.sensor.testPatternMode">android.sensor.testPatternMode</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 524 | </ul> |
| 525 | </li> |
| 526 | </ul> <!-- toc_section --> |
| 527 | </li> |
| 528 | <li> |
| 529 | <span class="toc_section_header"><a href="#section_shading">shading</a></span> |
| 530 | <ul class="toc_section"> |
| 531 | <li> |
| 532 | <span class="toc_kind_header">controls</span> |
| 533 | <ul class="toc_section"> |
| 534 | <li><a href="#controls_android.shading.mode">android.shading.mode</a></li> |
| 535 | <li><a href="#controls_android.shading.strength">android.shading.strength</a></li> |
| 536 | </ul> |
| 537 | </li> |
| 538 | <li> |
| 539 | <span class="toc_kind_header">dynamic</span> |
| 540 | <ul class="toc_section"> |
| 541 | <li><a href="#dynamic_android.shading.mode">android.shading.mode</a></li> |
| 542 | </ul> |
| 543 | </li> |
| 544 | </ul> <!-- toc_section --> |
| 545 | </li> |
| 546 | <li> |
| 547 | <span class="toc_section_header"><a href="#section_statistics">statistics</a></span> |
| 548 | <ul class="toc_section"> |
| 549 | <li> |
| 550 | <span class="toc_kind_header">controls</span> |
| 551 | <ul class="toc_section"> |
| 552 | <li><a href="#controls_android.statistics.faceDetectMode">android.statistics.faceDetectMode</a></li> |
| 553 | <li><a href="#controls_android.statistics.histogramMode">android.statistics.histogramMode</a></li> |
| 554 | <li><a href="#controls_android.statistics.sharpnessMapMode">android.statistics.sharpnessMapMode</a></li> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 555 | <li><a href="#controls_android.statistics.lensShadingMapMode">android.statistics.lensShadingMapMode</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 556 | </ul> |
| 557 | </li> |
| 558 | <li> |
| 559 | <span class="toc_kind_header">static</span> |
| 560 | <ul class="toc_section"> |
| 561 | |
| 562 | <li><a href="#static_android.statistics.info.availableFaceDetectModes">android.statistics.info.availableFaceDetectModes</a></li> |
| 563 | <li><a href="#static_android.statistics.info.histogramBucketCount">android.statistics.info.histogramBucketCount</a></li> |
| 564 | <li><a href="#static_android.statistics.info.maxFaceCount">android.statistics.info.maxFaceCount</a></li> |
| 565 | <li><a href="#static_android.statistics.info.maxHistogramCount">android.statistics.info.maxHistogramCount</a></li> |
| 566 | <li><a href="#static_android.statistics.info.maxSharpnessMapValue">android.statistics.info.maxSharpnessMapValue</a></li> |
| 567 | <li><a href="#static_android.statistics.info.sharpnessMapSize">android.statistics.info.sharpnessMapSize</a></li> |
| 568 | |
| 569 | </ul> |
| 570 | </li> |
| 571 | <li> |
| 572 | <span class="toc_kind_header">dynamic</span> |
| 573 | <ul class="toc_section"> |
| 574 | <li><a href="#dynamic_android.statistics.faceDetectMode">android.statistics.faceDetectMode</a></li> |
| 575 | <li><a href="#dynamic_android.statistics.faceIds">android.statistics.faceIds</a></li> |
| 576 | <li><a href="#dynamic_android.statistics.faceLandmarks">android.statistics.faceLandmarks</a></li> |
| 577 | <li><a href="#dynamic_android.statistics.faceRectangles">android.statistics.faceRectangles</a></li> |
| 578 | <li><a href="#dynamic_android.statistics.faceScores">android.statistics.faceScores</a></li> |
| 579 | <li><a href="#dynamic_android.statistics.histogram">android.statistics.histogram</a></li> |
| 580 | <li><a href="#dynamic_android.statistics.histogramMode">android.statistics.histogramMode</a></li> |
| 581 | <li><a href="#dynamic_android.statistics.sharpnessMap">android.statistics.sharpnessMap</a></li> |
| 582 | <li><a href="#dynamic_android.statistics.sharpnessMapMode">android.statistics.sharpnessMapMode</a></li> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 583 | <li><a href="#dynamic_android.statistics.lensShadingMap">android.statistics.lensShadingMap</a></li> |
| 584 | <li><a href="#dynamic_android.statistics.predictedColorGains">android.statistics.predictedColorGains</a></li> |
| 585 | <li><a href="#dynamic_android.statistics.predictedColorTransform">android.statistics.predictedColorTransform</a></li> |
| 586 | <li><a href="#dynamic_android.statistics.sceneFlicker">android.statistics.sceneFlicker</a></li> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 587 | </ul> |
| 588 | </li> |
| 589 | </ul> <!-- toc_section --> |
| 590 | </li> |
| 591 | <li> |
| 592 | <span class="toc_section_header"><a href="#section_tonemap">tonemap</a></span> |
| 593 | <ul class="toc_section"> |
| 594 | <li> |
| 595 | <span class="toc_kind_header">controls</span> |
| 596 | <ul class="toc_section"> |
| 597 | <li><a href="#controls_android.tonemap.curveBlue">android.tonemap.curveBlue</a></li> |
| 598 | <li><a href="#controls_android.tonemap.curveGreen">android.tonemap.curveGreen</a></li> |
| 599 | <li><a href="#controls_android.tonemap.curveRed">android.tonemap.curveRed</a></li> |
| 600 | <li><a href="#controls_android.tonemap.mode">android.tonemap.mode</a></li> |
| 601 | </ul> |
| 602 | </li> |
| 603 | <li> |
| 604 | <span class="toc_kind_header">static</span> |
| 605 | <ul class="toc_section"> |
| 606 | <li><a href="#static_android.tonemap.maxCurvePoints">android.tonemap.maxCurvePoints</a></li> |
| 607 | </ul> |
| 608 | </li> |
| 609 | <li> |
| 610 | <span class="toc_kind_header">dynamic</span> |
| 611 | <ul class="toc_section"> |
| 612 | <li><a href="#dynamic_android.tonemap.curveBlue">android.tonemap.curveBlue</a></li> |
| 613 | <li><a href="#dynamic_android.tonemap.curveGreen">android.tonemap.curveGreen</a></li> |
| 614 | <li><a href="#dynamic_android.tonemap.curveRed">android.tonemap.curveRed</a></li> |
| 615 | <li><a href="#dynamic_android.tonemap.mode">android.tonemap.mode</a></li> |
| 616 | </ul> |
| 617 | </li> |
| 618 | </ul> <!-- toc_section --> |
| 619 | </li> |
| 620 | <li> |
| 621 | <span class="toc_section_header"><a href="#section_led">led</a></span> |
| 622 | <ul class="toc_section"> |
| 623 | <li> |
| 624 | <span class="toc_kind_header">controls</span> |
| 625 | <ul class="toc_section"> |
| 626 | <li><a href="#controls_android.led.transmit">android.led.transmit</a></li> |
| 627 | </ul> |
| 628 | </li> |
| 629 | <li> |
| 630 | <span class="toc_kind_header">dynamic</span> |
| 631 | <ul class="toc_section"> |
| 632 | <li><a href="#dynamic_android.led.transmit">android.led.transmit</a></li> |
| 633 | </ul> |
| 634 | </li> |
| 635 | <li> |
| 636 | <span class="toc_kind_header">static</span> |
| 637 | <ul class="toc_section"> |
| 638 | <li><a href="#static_android.led.availableLeds">android.led.availableLeds</a></li> |
| 639 | </ul> |
| 640 | </li> |
| 641 | </ul> <!-- toc_section --> |
| 642 | </li> |
| 643 | <li> |
| 644 | <span class="toc_section_header"><a href="#section_info">info</a></span> |
| 645 | <ul class="toc_section"> |
| 646 | <li> |
| 647 | <span class="toc_kind_header">static</span> |
| 648 | <ul class="toc_section"> |
| 649 | <li><a href="#static_android.info.supportedHardwareLevel">android.info.supportedHardwareLevel</a></li> |
| 650 | </ul> |
| 651 | </li> |
| 652 | </ul> <!-- toc_section --> |
| 653 | </li> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 654 | <li> |
| 655 | <span class="toc_section_header"><a href="#section_blackLevel">blackLevel</a></span> |
| 656 | <ul class="toc_section"> |
| 657 | <li> |
| 658 | <span class="toc_kind_header">controls</span> |
| 659 | <ul class="toc_section"> |
| 660 | <li><a href="#controls_android.blackLevel.lock">android.blackLevel.lock</a></li> |
| 661 | </ul> |
| 662 | </li> |
| 663 | <li> |
| 664 | <span class="toc_kind_header">dynamic</span> |
| 665 | <ul class="toc_section"> |
| 666 | <li><a href="#dynamic_android.blackLevel.lock">android.blackLevel.lock</a></li> |
| 667 | </ul> |
| 668 | </li> |
| 669 | </ul> <!-- toc_section --> |
| 670 | </li> |
Igor Murashkin | 5c1fc68 | 2014-01-16 17:51:36 -0800 | [diff] [blame] | 671 | <li> |
| 672 | <span class="toc_section_header"><a href="#section_sync">sync</a></span> |
| 673 | <ul class="toc_section"> |
| 674 | <li> |
| 675 | <span class="toc_kind_header">dynamic</span> |
| 676 | <ul class="toc_section"> |
| 677 | <li><a href="#dynamic_android.sync.frameNumber">android.sync.frameNumber</a></li> |
| 678 | </ul> |
| 679 | </li> |
| 680 | <li> |
| 681 | <span class="toc_kind_header">static</span> |
| 682 | <ul class="toc_section"> |
| 683 | <li><a href="#static_android.sync.maxLatency">android.sync.maxLatency</a></li> |
| 684 | </ul> |
| 685 | </li> |
| 686 | </ul> <!-- toc_section --> |
| 687 | </li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 688 | </ul> |
| 689 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 690 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 691 | <h1>Properties</h1> |
| 692 | <table class="properties"> |
| 693 | |
| 694 | <thead class="thead_dummy"> |
| 695 | <tr> |
| 696 | <th class="th_name">Property Name</th> |
| 697 | <th class="th_type">Type</th> |
| 698 | <th class="th_description">Description</th> |
| 699 | <th class="th_units">Units</th> |
| 700 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 701 | <th class="th_tags">Tags</th> |
| 702 | </tr> |
| 703 | </thead> <!-- so that the first occurrence of thead is not |
| 704 | above the first occurrence of tr --> |
| 705 | <!-- <namespace name="android"> --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 706 | <tr><td colspan="6" id="section_colorCorrection" class="section">colorCorrection</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 707 | |
| 708 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 709 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 710 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 711 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 712 | <tr> |
| 713 | <th class="th_name">Property Name</th> |
| 714 | <th class="th_type">Type</th> |
| 715 | <th class="th_description">Description</th> |
| 716 | <th class="th_units">Units</th> |
| 717 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 718 | <th class="th_tags">Tags</th> |
| 719 | </tr> |
| 720 | </thead> |
| 721 | |
| 722 | <tbody> |
| 723 | |
| 724 | |
| 725 | |
| 726 | |
| 727 | |
| 728 | |
| 729 | |
| 730 | |
| 731 | |
| 732 | |
| 733 | <tr class="entry" id="controls_android.colorCorrection.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 734 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 735 | android.<wbr/>color<wbr/>Correction.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 736 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 737 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 738 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 739 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 740 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 741 | |
| 742 | <ul class="entry_type_enum"> |
| 743 | <li> |
| 744 | <span class="entry_type_enum_name">TRANSFORM_MATRIX</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 745 | <span class="entry_type_enum_notes"><p>Use the <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a> matrix |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 746 | and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> to do color conversion.<wbr/></p> |
| 747 | <p>All advanced white balance adjustments (not specified |
| 748 | by our white balance pipeline) must be disabled.<wbr/></p> |
| 749 | <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 |
| 750 | TRANSFORM_<wbr/>MATRIX is ignored.<wbr/> The camera device will override |
| 751 | this value to either FAST or HIGH_<wbr/>QUALITY.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 752 | </li> |
| 753 | <li> |
| 754 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 755 | <span class="entry_type_enum_notes"><p>Must not slow down capture rate relative to sensor raw |
| 756 | output.<wbr/></p> |
| 757 | <p>Advanced white balance adjustments above and beyond |
| 758 | the specified white balance pipeline may be applied.<wbr/></p> |
| 759 | <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 |
| 760 | the camera device uses the last frame's AWB values |
| 761 | (or defaults if AWB has never been run).<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 762 | </li> |
| 763 | <li> |
| 764 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 765 | <span class="entry_type_enum_notes"><p>Capture rate (relative to sensor raw output) |
| 766 | may be reduced by high quality.<wbr/></p> |
| 767 | <p>Advanced white balance adjustments above and beyond |
| 768 | the specified white balance pipeline may be applied.<wbr/></p> |
| 769 | <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 |
| 770 | the camera device uses the last frame's AWB values |
| 771 | (or defaults if AWB has never been run).<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 772 | </li> |
| 773 | </ul> |
| 774 | |
| 775 | </td> <!-- entry_type --> |
| 776 | |
| 777 | <td class="entry_description"> |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 778 | <p>The mode control selects how the image data is converted from the |
| 779 | sensor's native color into linear sRGB color.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 780 | </td> |
| 781 | |
| 782 | <td class="entry_units"> |
| 783 | </td> |
| 784 | |
| 785 | <td class="entry_range"> |
| 786 | </td> |
| 787 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 788 | <td class="entry_tags"> |
| 789 | </td> |
| 790 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 791 | </tr> |
| 792 | <tr class="entries_header"> |
| 793 | <th class="th_details" colspan="5">Details</th> |
| 794 | </tr> |
| 795 | <tr class="entry_cont"> |
| 796 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 797 | <p>When auto-white balance is enabled with <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> this |
| 798 | control is overridden by the AWB routine.<wbr/> When AWB is disabled,<wbr/> the |
| 799 | application controls how the color mapping is performed.<wbr/></p> |
| 800 | <p>We define the expected processing pipeline below.<wbr/> For consistency |
| 801 | across devices,<wbr/> this is always the case with TRANSFORM_<wbr/>MATRIX.<wbr/></p> |
| 802 | <p>When either FULL or HIGH_<wbr/>QUALITY is used,<wbr/> the camera device may |
| 803 | do additional processing but <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> and |
| 804 | <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a> will still be provided by the |
| 805 | camera device (in the results) and be roughly correct.<wbr/></p> |
| 806 | <p>Switching to TRANSFORM_<wbr/>MATRIX and using the data provided from |
| 807 | FAST or HIGH_<wbr/>QUALITY will yield a picture with the same white point |
| 808 | as what was produced by the camera device in the earlier frame.<wbr/></p> |
| 809 | <p>The expected processing pipeline is as follows:</p> |
| 810 | <p><img alt="White balance processing pipeline" src="images/camera2/metadata/android.colorCorrection.mode/processing_pipeline.png"/></p> |
| 811 | <p>The white balance is encoded by two values,<wbr/> a 4-channel white-balance |
| 812 | gain vector (applied in the Bayer domain),<wbr/> and a 3x3 color transform |
| 813 | matrix (applied after demosaic).<wbr/></p> |
| 814 | <p>The 4-channel white-balance gains are defined as:</p> |
| 815 | <pre><code><a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> = [ R G_<wbr/>even G_<wbr/>odd B ] |
| 816 | </code></pre> |
| 817 | <p>where <code>G_<wbr/>even</code> is the gain for green pixels on even rows of the |
| 818 | output,<wbr/> and <code>G_<wbr/>odd</code> is the gain for green pixels on the odd rows.<wbr/> |
| 819 | These may be identical for a given camera device implementation; if |
| 820 | the camera device does not support a separate gain for even/<wbr/>odd green |
| 821 | channels,<wbr/> it will use the <code>G_<wbr/>even</code> value,<wbr/> and write <code>G_<wbr/>odd</code> equal to |
| 822 | <code>G_<wbr/>even</code> in the output result metadata.<wbr/></p> |
| 823 | <p>The matrices for color transforms are defined as a 9-entry vector:</p> |
| 824 | <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 ] |
| 825 | </code></pre> |
| 826 | <p>which define a transform from input sensor colors,<wbr/> <code>P_<wbr/>in = [ r g b ]</code>,<wbr/> |
| 827 | to output linear sRGB,<wbr/> <code>P_<wbr/>out = [ r' g' b' ]</code>,<wbr/></p> |
| 828 | <p>with colors as follows:</p> |
| 829 | <pre><code>r' = I0r + I1g + I2b |
| 830 | g' = I3r + I4g + I5b |
| 831 | b' = I6r + I7g + I8b |
| 832 | </code></pre> |
| 833 | <p>Both the input and output value ranges must match.<wbr/> Overflow/<wbr/>underflow |
| 834 | values are clipped to fit within the range.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 835 | </td> |
| 836 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 837 | |
| 838 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 839 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 840 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 841 | |
| 842 | |
| 843 | <tr class="entry" id="controls_android.colorCorrection.transform"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 844 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 845 | android.<wbr/>color<wbr/>Correction.<wbr/>transform |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 846 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 847 | <td class="entry_type"> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 848 | <span class="entry_type_name">rational</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 849 | <span class="entry_type_container">x</span> |
| 850 | |
| 851 | <span class="entry_type_array"> |
| 852 | 3 x 3 |
| 853 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 854 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 855 | <div class="entry_type_notes">3x3 rational matrix in row-major order</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 856 | |
| 857 | |
| 858 | </td> <!-- entry_type --> |
| 859 | |
| 860 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 861 | <p>A color transform matrix to use to transform |
| 862 | from sensor RGB color space to output linear sRGB color space</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 863 | </td> |
| 864 | |
| 865 | <td class="entry_units"> |
| 866 | </td> |
| 867 | |
| 868 | <td class="entry_range"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 869 | </td> |
| 870 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 871 | <td class="entry_tags"> |
| 872 | </td> |
| 873 | |
| 874 | </tr> |
| 875 | <tr class="entries_header"> |
| 876 | <th class="th_details" colspan="5">Details</th> |
| 877 | </tr> |
| 878 | <tr class="entry_cont"> |
| 879 | <td class="entry_details" colspan="5"> |
Zhijun He | 44d0b3d | 2014-02-04 16:42:46 -0800 | [diff] [blame] | 880 | <p>This matrix is either set by the camera device when the request |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 881 | <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is not TRANSFORM_<wbr/>MATRIX,<wbr/> or |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 882 | directly by the application in the request when the |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 883 | <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is TRANSFORM_<wbr/>MATRIX.<wbr/></p> |
Zhijun He | 44d0b3d | 2014-02-04 16:42:46 -0800 | [diff] [blame] | 884 | <p>In the latter case,<wbr/> the camera device may round the matrix to account |
| 885 | for precision issues; the final rounded matrix should be reported back |
| 886 | in this matrix result metadata.<wbr/> The transform should keep the magnitude |
| 887 | of the output color values within <code>[0,<wbr/> 1.<wbr/>0]</code> (assuming input color |
| 888 | values is within the normalized range <code>[0,<wbr/> 1.<wbr/>0]</code>),<wbr/> or clipping may occur.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 889 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 890 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 891 | |
| 892 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 893 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 894 | <!-- end of entry --> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 895 | |
| 896 | |
| 897 | <tr class="entry" id="controls_android.colorCorrection.gains"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 898 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 899 | android.<wbr/>color<wbr/>Correction.<wbr/>gains |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 900 | </td> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 901 | <td class="entry_type"> |
| 902 | <span class="entry_type_name">float</span> |
| 903 | <span class="entry_type_container">x</span> |
| 904 | |
| 905 | <span class="entry_type_array"> |
| 906 | 4 |
| 907 | </span> |
| 908 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 909 | <div class="entry_type_notes">A 1D array of floats for 4 color channel gains</div> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 910 | |
| 911 | |
| 912 | </td> <!-- entry_type --> |
| 913 | |
| 914 | <td class="entry_description"> |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 915 | <p>Gains applying to Bayer raw color channels for |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 916 | white-balance</p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 917 | </td> |
| 918 | |
| 919 | <td class="entry_units"> |
| 920 | </td> |
| 921 | |
| 922 | <td class="entry_range"> |
| 923 | </td> |
| 924 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 925 | <td class="entry_tags"> |
| 926 | </td> |
| 927 | |
| 928 | </tr> |
| 929 | <tr class="entries_header"> |
| 930 | <th class="th_details" colspan="5">Details</th> |
| 931 | </tr> |
| 932 | <tr class="entry_cont"> |
| 933 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 934 | <p>The 4-channel white-balance gains are defined in |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 935 | the order of <code>[R G_<wbr/>even G_<wbr/>odd B]</code>,<wbr/> where <code>G_<wbr/>even</code> is the gain |
| 936 | for green pixels on even rows of the output,<wbr/> and <code>G_<wbr/>odd</code> |
| 937 | is the gain for green pixels on the odd rows.<wbr/> if a HAL |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 938 | does not support a separate gain for even/<wbr/>odd green channels,<wbr/> |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 939 | it should use the <code>G_<wbr/>even</code> value,<wbr/> and write <code>G_<wbr/>odd</code> equal to |
| 940 | <code>G_<wbr/>even</code> in the output result metadata.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 941 | <p>This array is either set by HAL when the request |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 942 | <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is not TRANSFORM_<wbr/>MATRIX,<wbr/> or |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 943 | directly by the application in the request when the |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 944 | <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is TRANSFORM_<wbr/>MATRIX.<wbr/></p> |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 945 | <p>The output should be the gains actually applied by the HAL to |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 946 | the current frame.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 947 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 948 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 949 | |
| 950 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 951 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 952 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 953 | |
| 954 | |
| 955 | |
| 956 | <!-- end of kind --> |
| 957 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 958 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 959 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 960 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 961 | <tr> |
| 962 | <th class="th_name">Property Name</th> |
| 963 | <th class="th_type">Type</th> |
| 964 | <th class="th_description">Description</th> |
| 965 | <th class="th_units">Units</th> |
| 966 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 967 | <th class="th_tags">Tags</th> |
| 968 | </tr> |
| 969 | </thead> |
| 970 | |
| 971 | <tbody> |
| 972 | |
| 973 | |
| 974 | |
| 975 | |
| 976 | |
| 977 | |
| 978 | |
| 979 | |
| 980 | |
| 981 | |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 982 | <tr class="entry" id="dynamic_android.colorCorrection.transform"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 983 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 984 | android.<wbr/>color<wbr/>Correction.<wbr/>transform |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 985 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 986 | <td class="entry_type"> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 987 | <span class="entry_type_name">rational</span> |
| 988 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 989 | |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 990 | <span class="entry_type_array"> |
| 991 | 3 x 3 |
| 992 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 993 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 994 | <div class="entry_type_notes">3x3 rational matrix in row-major order</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 995 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 996 | |
| 997 | </td> <!-- entry_type --> |
| 998 | |
| 999 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1000 | <p>A color transform matrix to use to transform |
| 1001 | from sensor RGB color space to output linear sRGB color space</p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 1002 | </td> |
| 1003 | |
| 1004 | <td class="entry_units"> |
| 1005 | </td> |
| 1006 | |
| 1007 | <td class="entry_range"> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 1008 | </td> |
| 1009 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1010 | <td class="entry_tags"> |
| 1011 | </td> |
| 1012 | |
| 1013 | </tr> |
| 1014 | <tr class="entries_header"> |
| 1015 | <th class="th_details" colspan="5">Details</th> |
| 1016 | </tr> |
| 1017 | <tr class="entry_cont"> |
| 1018 | <td class="entry_details" colspan="5"> |
Zhijun He | 44d0b3d | 2014-02-04 16:42:46 -0800 | [diff] [blame] | 1019 | <p>This matrix is either set by the camera device when the request |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1020 | <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is not TRANSFORM_<wbr/>MATRIX,<wbr/> or |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 1021 | directly by the application in the request when the |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1022 | <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is TRANSFORM_<wbr/>MATRIX.<wbr/></p> |
Zhijun He | 44d0b3d | 2014-02-04 16:42:46 -0800 | [diff] [blame] | 1023 | <p>In the latter case,<wbr/> the camera device may round the matrix to account |
| 1024 | for precision issues; the final rounded matrix should be reported back |
| 1025 | in this matrix result metadata.<wbr/> The transform should keep the magnitude |
| 1026 | of the output color values within <code>[0,<wbr/> 1.<wbr/>0]</code> (assuming input color |
| 1027 | values is within the normalized range <code>[0,<wbr/> 1.<wbr/>0]</code>),<wbr/> or clipping may occur.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 1028 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1029 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1030 | |
| 1031 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1032 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1033 | <!-- end of entry --> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 1034 | |
| 1035 | |
| 1036 | <tr class="entry" id="dynamic_android.colorCorrection.gains"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1037 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1038 | android.<wbr/>color<wbr/>Correction.<wbr/>gains |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1039 | </td> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 1040 | <td class="entry_type"> |
| 1041 | <span class="entry_type_name">float</span> |
| 1042 | <span class="entry_type_container">x</span> |
| 1043 | |
| 1044 | <span class="entry_type_array"> |
| 1045 | 4 |
| 1046 | </span> |
| 1047 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1048 | <div class="entry_type_notes">A 1D array of floats for 4 color channel gains</div> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 1049 | |
| 1050 | |
| 1051 | </td> <!-- entry_type --> |
| 1052 | |
| 1053 | <td class="entry_description"> |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 1054 | <p>Gains applying to Bayer raw color channels for |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1055 | white-balance</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1056 | </td> |
| 1057 | |
| 1058 | <td class="entry_units"> |
| 1059 | </td> |
| 1060 | |
| 1061 | <td class="entry_range"> |
| 1062 | </td> |
| 1063 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1064 | <td class="entry_tags"> |
| 1065 | </td> |
| 1066 | |
| 1067 | </tr> |
| 1068 | <tr class="entries_header"> |
| 1069 | <th class="th_details" colspan="5">Details</th> |
| 1070 | </tr> |
| 1071 | <tr class="entry_cont"> |
| 1072 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1073 | <p>The 4-channel white-balance gains are defined in |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 1074 | the order of <code>[R G_<wbr/>even G_<wbr/>odd B]</code>,<wbr/> where <code>G_<wbr/>even</code> is the gain |
| 1075 | for green pixels on even rows of the output,<wbr/> and <code>G_<wbr/>odd</code> |
| 1076 | is the gain for green pixels on the odd rows.<wbr/> if a HAL |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1077 | does not support a separate gain for even/<wbr/>odd green channels,<wbr/> |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 1078 | it should use the <code>G_<wbr/>even</code> value,<wbr/> and write <code>G_<wbr/>odd</code> equal to |
| 1079 | <code>G_<wbr/>even</code> in the output result metadata.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 1080 | <p>This array is either set by HAL when the request |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1081 | <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is not TRANSFORM_<wbr/>MATRIX,<wbr/> or |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 1082 | directly by the application in the request when the |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1083 | <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> is TRANSFORM_<wbr/>MATRIX.<wbr/></p> |
Igor Murashkin | 43817ad | 2014-01-10 15:58:35 -0800 | [diff] [blame] | 1084 | <p>The output should be the gains actually applied by the HAL to |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1085 | the current frame.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1086 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1087 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1088 | |
| 1089 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1090 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1091 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1092 | |
| 1093 | |
| 1094 | |
| 1095 | <!-- end of kind --> |
| 1096 | </tbody> |
| 1097 | |
| 1098 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1099 | <tr><td colspan="6" id="section_control" class="section">control</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1100 | |
| 1101 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1102 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1103 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1104 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1105 | <tr> |
| 1106 | <th class="th_name">Property Name</th> |
| 1107 | <th class="th_type">Type</th> |
| 1108 | <th class="th_description">Description</th> |
| 1109 | <th class="th_units">Units</th> |
| 1110 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1111 | <th class="th_tags">Tags</th> |
| 1112 | </tr> |
| 1113 | </thead> |
| 1114 | |
| 1115 | <tbody> |
| 1116 | |
| 1117 | |
| 1118 | |
| 1119 | |
| 1120 | |
| 1121 | |
| 1122 | |
| 1123 | |
| 1124 | |
| 1125 | |
| 1126 | <tr class="entry" id="controls_android.control.aeAntibandingMode"> |
Eino-Ville Talvala | 19ce2c1 | 2013-12-30 12:03:45 -0800 | [diff] [blame] | 1127 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1128 | android.<wbr/>control.<wbr/>ae<wbr/>Antibanding<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1129 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1130 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 1131 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1132 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1133 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1134 | |
| 1135 | <ul class="entry_type_enum"> |
| 1136 | <li> |
| 1137 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1138 | <span class="entry_type_enum_notes"><p>The camera device will not adjust exposure duration to |
| 1139 | avoid banding problems.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1140 | </li> |
| 1141 | <li> |
| 1142 | <span class="entry_type_enum_name">50HZ</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1143 | <span class="entry_type_enum_notes"><p>The camera device will adjust exposure duration to |
| 1144 | avoid banding problems with 50Hz illumination sources.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1145 | </li> |
| 1146 | <li> |
| 1147 | <span class="entry_type_enum_name">60HZ</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1148 | <span class="entry_type_enum_notes"><p>The camera device will adjust exposure duration to |
| 1149 | avoid banding problems with 60Hz illumination |
| 1150 | sources.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1151 | </li> |
| 1152 | <li> |
| 1153 | <span class="entry_type_enum_name">AUTO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1154 | <span class="entry_type_enum_notes"><p>The camera device will automatically adapt its |
| 1155 | antibanding routine to the current illumination |
| 1156 | conditions.<wbr/> This is the default.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1157 | </li> |
| 1158 | </ul> |
| 1159 | |
| 1160 | </td> <!-- entry_type --> |
| 1161 | |
| 1162 | <td class="entry_description"> |
Eino-Ville Talvala | 19ce2c1 | 2013-12-30 12:03:45 -0800 | [diff] [blame] | 1163 | <p>The desired setting for the camera device's auto-exposure |
| 1164 | algorithm's antibanding compensation.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1165 | </td> |
| 1166 | |
| 1167 | <td class="entry_units"> |
| 1168 | </td> |
| 1169 | |
| 1170 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1171 | <p><a href="#static_android.control.aeAvailableAntibandingModes">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Antibanding<wbr/>Modes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1172 | </td> |
| 1173 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1174 | <td class="entry_tags"> |
Eino-Ville Talvala | 19ce2c1 | 2013-12-30 12:03:45 -0800 | [diff] [blame] | 1175 | <ul class="entry_tags"> |
| 1176 | <li><a href="#tag_BC">BC</a></li> |
| 1177 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1178 | </td> |
| 1179 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1180 | </tr> |
Eino-Ville Talvala | 19ce2c1 | 2013-12-30 12:03:45 -0800 | [diff] [blame] | 1181 | <tr class="entries_header"> |
| 1182 | <th class="th_details" colspan="5">Details</th> |
| 1183 | </tr> |
| 1184 | <tr class="entry_cont"> |
| 1185 | <td class="entry_details" colspan="5"> |
| 1186 | <p>Some kinds of lighting fixtures,<wbr/> such as some fluorescent |
| 1187 | lights,<wbr/> flicker at the rate of the power supply frequency |
| 1188 | (60Hz or 50Hz,<wbr/> depending on country).<wbr/> While this is |
| 1189 | typically not noticeable to a person,<wbr/> it can be visible to |
| 1190 | a camera device.<wbr/> If a camera sets its exposure time to the |
| 1191 | wrong value,<wbr/> the flicker may become visible in the |
| 1192 | viewfinder as flicker or in a final captured image,<wbr/> as a |
| 1193 | set of variable-brightness bands across the image.<wbr/></p> |
| 1194 | <p>Therefore,<wbr/> the auto-exposure routines of camera devices |
| 1195 | include antibanding routines that ensure that the chosen |
| 1196 | exposure value will not cause such banding.<wbr/> The choice of |
| 1197 | exposure time depends on the rate of flicker,<wbr/> which the |
| 1198 | camera device can detect automatically,<wbr/> or the expected |
| 1199 | rate can be selected by the application using this |
| 1200 | control.<wbr/></p> |
| 1201 | <p>A given camera device may not support all of the possible |
| 1202 | options for the antibanding mode.<wbr/> The |
| 1203 | <a href="#static_android.control.aeAvailableAntibandingModes">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Antibanding<wbr/>Modes</a> key contains |
| 1204 | the available modes for a given camera device.<wbr/></p> |
| 1205 | <p>The default mode is AUTO,<wbr/> which must be supported by all |
| 1206 | camera devices.<wbr/></p> |
| 1207 | <p>If manual exposure control is enabled (by setting |
| 1208 | <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/> |
| 1209 | then this setting has no effect,<wbr/> and the application must |
| 1210 | ensure it selects exposure times that do not cause banding |
| 1211 | issues.<wbr/> The <a href="#dynamic_android.statistics.sceneFlicker">android.<wbr/>statistics.<wbr/>scene<wbr/>Flicker</a> key can assist |
| 1212 | the application in this.<wbr/></p> |
| 1213 | </td> |
| 1214 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1215 | |
Eino-Ville Talvala | 19ce2c1 | 2013-12-30 12:03:45 -0800 | [diff] [blame] | 1216 | <tr class="entries_header"> |
| 1217 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 1218 | </tr> |
| 1219 | <tr class="entry_cont"> |
| 1220 | <td class="entry_details" colspan="5"> |
| 1221 | <p>For all capture request templates,<wbr/> this field must be set |
| 1222 | to AUTO.<wbr/> AUTO is the only mode that must supported; |
| 1223 | OFF,<wbr/> 50HZ,<wbr/> 60HZ are all optional.<wbr/></p> |
| 1224 | <p>If manual exposure control is enabled (by setting |
| 1225 | <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/> |
| 1226 | then the exposure values provided by the application must not be |
| 1227 | adjusted for antibanding.<wbr/></p> |
| 1228 | </td> |
| 1229 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1230 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1231 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1232 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1233 | |
| 1234 | |
| 1235 | <tr class="entry" id="controls_android.control.aeExposureCompensation"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1236 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1237 | android.<wbr/>control.<wbr/>ae<wbr/>Exposure<wbr/>Compensation |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1238 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1239 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 1240 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1241 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1242 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1243 | |
| 1244 | |
| 1245 | </td> <!-- entry_type --> |
| 1246 | |
| 1247 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1248 | <p>Adjustment to AE target image |
| 1249 | brightness</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1250 | </td> |
| 1251 | |
| 1252 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1253 | count of positive/<wbr/>negative EV steps |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1254 | </td> |
| 1255 | |
| 1256 | <td class="entry_range"> |
| 1257 | </td> |
| 1258 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1259 | <td class="entry_tags"> |
| 1260 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 1261 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1262 | </ul> |
| 1263 | </td> |
| 1264 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1265 | </tr> |
| 1266 | <tr class="entries_header"> |
| 1267 | <th class="th_details" colspan="5">Details</th> |
| 1268 | </tr> |
| 1269 | <tr class="entry_cont"> |
| 1270 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1271 | <p>For example,<wbr/> if EV step is 0.<wbr/>333,<wbr/> '6' will mean an |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1272 | exposure compensation of +2 EV; -3 will mean an exposure |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1273 | compensation of -1</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1274 | </td> |
| 1275 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1276 | |
| 1277 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1278 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1279 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1280 | |
| 1281 | |
| 1282 | <tr class="entry" id="controls_android.control.aeLock"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1283 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1284 | android.<wbr/>control.<wbr/>ae<wbr/>Lock |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1285 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1286 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 1287 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1288 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 1289 | <span class="entry_type_visibility"> [public as boolean]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1290 | |
| 1291 | <ul class="entry_type_enum"> |
| 1292 | <li> |
Eino-Ville Talvala | 76548fe | 2013-01-11 13:57:19 -0800 | [diff] [blame] | 1293 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1294 | <span class="entry_type_enum_notes"><p>Autoexposure lock is disabled; the AE algorithm |
| 1295 | is free to update its parameters.<wbr/></p></span> |
Eino-Ville Talvala | 76548fe | 2013-01-11 13:57:19 -0800 | [diff] [blame] | 1296 | </li> |
| 1297 | <li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1298 | <span class="entry_type_enum_name">ON</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1299 | <span class="entry_type_enum_notes"><p>Autoexposure lock is enabled; the AE algorithm |
| 1300 | must not update the exposure and sensitivity parameters |
| 1301 | while the lock is active</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1302 | </li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1303 | </ul> |
| 1304 | |
| 1305 | </td> <!-- entry_type --> |
| 1306 | |
| 1307 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1308 | <p>Whether AE is currently locked to its latest |
Zhijun He | 44d0b3d | 2014-02-04 16:42:46 -0800 | [diff] [blame] | 1309 | calculated values.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1310 | </td> |
| 1311 | |
| 1312 | <td class="entry_units"> |
| 1313 | </td> |
| 1314 | |
| 1315 | <td class="entry_range"> |
| 1316 | </td> |
| 1317 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1318 | <td class="entry_tags"> |
| 1319 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 1320 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1321 | </ul> |
| 1322 | </td> |
| 1323 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1324 | </tr> |
| 1325 | <tr class="entries_header"> |
| 1326 | <th class="th_details" colspan="5">Details</th> |
| 1327 | </tr> |
| 1328 | <tr class="entry_cont"> |
| 1329 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1330 | <p>Note that even when AE is locked,<wbr/> the flash may be |
Zhijun He | 44d0b3d | 2014-02-04 16:42:46 -0800 | [diff] [blame] | 1331 | fired if the <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is ON_<wbr/>AUTO_<wbr/>FLASH /<wbr/> ON_<wbr/>ALWAYS_<wbr/>FLASH /<wbr/> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1332 | ON_<wbr/>AUTO_<wbr/>FLASH_<wbr/>REDEYE.<wbr/></p> |
Zhijun He | 44d0b3d | 2014-02-04 16:42:46 -0800 | [diff] [blame] | 1333 | <p>If AE precapture is triggered (see <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>) |
| 1334 | when AE is already locked,<wbr/> the camera device will not change the exposure time |
| 1335 | (<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>) |
| 1336 | parameters.<wbr/> The flash may be fired if the android.<wbr/>control.<wbr/>ae<wbr/>Mode |
| 1337 | is ON_<wbr/>AUTO_<wbr/>FLASH/<wbr/>ON_<wbr/>AUTO_<wbr/>FLASH_<wbr/>REDEYE and the scene is too dark.<wbr/> If the |
| 1338 | <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> |
| 1339 | <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> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1340 | </td> |
| 1341 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1342 | |
| 1343 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1344 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1345 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1346 | |
| 1347 | |
| 1348 | <tr class="entry" id="controls_android.control.aeMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1349 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1350 | android.<wbr/>control.<wbr/>ae<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1351 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1352 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 1353 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1354 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1355 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1356 | |
| 1357 | <ul class="entry_type_enum"> |
| 1358 | <li> |
| 1359 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1360 | <span class="entry_type_enum_notes"><p>The camera device's autoexposure routine is disabled; |
| 1361 | the application-selected <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/> |
| 1362 | <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a> and |
| 1363 | <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> are used by the camera |
| 1364 | device,<wbr/> along with android.<wbr/>flash.<wbr/>* fields,<wbr/> if there's |
| 1365 | a flash unit for this camera device.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1366 | </li> |
| 1367 | <li> |
| 1368 | <span class="entry_type_enum_name">ON</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1369 | <span class="entry_type_enum_notes"><p>The camera device's autoexposure routine is active,<wbr/> |
| 1370 | with no flash control.<wbr/> The application's values for |
| 1371 | <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/> |
| 1372 | <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and |
| 1373 | <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> are ignored.<wbr/> The |
| 1374 | application has control over the various |
| 1375 | android.<wbr/>flash.<wbr/>* fields.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1376 | </li> |
| 1377 | <li> |
| 1378 | <span class="entry_type_enum_name">ON_AUTO_FLASH</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1379 | <span class="entry_type_enum_notes"><p>Like ON,<wbr/> except that the camera device also controls |
| 1380 | the camera's flash unit,<wbr/> firing it in low-light |
| 1381 | conditions.<wbr/> The flash may be fired during a |
| 1382 | precapture sequence (triggered by |
| 1383 | <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>) and may be fired |
| 1384 | for captures for which the |
| 1385 | <a href="#controls_android.control.captureIntent">android.<wbr/>control.<wbr/>capture<wbr/>Intent</a> field is set to |
| 1386 | STILL_<wbr/>CAPTURE</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1387 | </li> |
| 1388 | <li> |
| 1389 | <span class="entry_type_enum_name">ON_ALWAYS_FLASH</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1390 | <span class="entry_type_enum_notes"><p>Like ON,<wbr/> except that the camera device also controls |
| 1391 | the camera's flash unit,<wbr/> always firing it for still |
| 1392 | captures.<wbr/> The flash may be fired during a precapture |
| 1393 | sequence (triggered by |
| 1394 | <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>) and will always |
| 1395 | be fired for captures for which the |
| 1396 | <a href="#controls_android.control.captureIntent">android.<wbr/>control.<wbr/>capture<wbr/>Intent</a> field is set to |
| 1397 | STILL_<wbr/>CAPTURE</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1398 | </li> |
| 1399 | <li> |
| 1400 | <span class="entry_type_enum_name">ON_AUTO_FLASH_REDEYE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1401 | <span class="entry_type_enum_notes"><p>Like ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/> but with automatic red eye |
| 1402 | reduction.<wbr/> If deemed necessary by the camera device,<wbr/> |
| 1403 | a red eye reduction flash will fire during the |
| 1404 | precapture sequence.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1405 | </li> |
| 1406 | </ul> |
| 1407 | |
| 1408 | </td> <!-- entry_type --> |
| 1409 | |
| 1410 | <td class="entry_description"> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 1411 | <p>The desired mode for the camera device's |
| 1412 | auto-exposure routine.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1413 | </td> |
| 1414 | |
| 1415 | <td class="entry_units"> |
| 1416 | </td> |
| 1417 | |
| 1418 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1419 | <p><a href="#static_android.control.aeAvailableModes">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Modes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1420 | </td> |
| 1421 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1422 | <td class="entry_tags"> |
| 1423 | <ul class="entry_tags"> |
| 1424 | <li><a href="#tag_BC">BC</a></li> |
| 1425 | </ul> |
| 1426 | </td> |
| 1427 | |
| 1428 | </tr> |
| 1429 | <tr class="entries_header"> |
| 1430 | <th class="th_details" colspan="5">Details</th> |
| 1431 | </tr> |
| 1432 | <tr class="entry_cont"> |
| 1433 | <td class="entry_details" colspan="5"> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 1434 | <p>This control is only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is |
| 1435 | AUTO.<wbr/></p> |
| 1436 | <p>When set to any of the ON modes,<wbr/> the camera device's |
| 1437 | auto-exposure routine is enabled,<wbr/> overriding the |
| 1438 | application's selected exposure time,<wbr/> sensor sensitivity,<wbr/> |
| 1439 | and frame duration (<a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/> |
| 1440 | <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and |
| 1441 | <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a>).<wbr/> If one of the FLASH modes |
| 1442 | is selected,<wbr/> the camera device's flash unit controls are |
| 1443 | also overridden.<wbr/></p> |
| 1444 | <p>The FLASH modes are only available if the camera device |
| 1445 | 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> |
| 1446 | <p>If flash TORCH mode is desired,<wbr/> this field must be set to |
| 1447 | ON or OFF,<wbr/> and <a href="#controls_android.flash.mode">android.<wbr/>flash.<wbr/>mode</a> set to TORCH.<wbr/></p> |
| 1448 | <p>When set to any of the ON modes,<wbr/> the values chosen by the |
| 1449 | camera device auto-exposure routine for the overridden |
| 1450 | fields for a given capture will be available in its |
| 1451 | CaptureResult.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1452 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1453 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1454 | |
| 1455 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1456 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1457 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1458 | |
| 1459 | |
| 1460 | <tr class="entry" id="controls_android.control.aeRegions"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1461 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1462 | android.<wbr/>control.<wbr/>ae<wbr/>Regions |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1463 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1464 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 1465 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1466 | <span class="entry_type_container">x</span> |
| 1467 | |
| 1468 | <span class="entry_type_array"> |
| 1469 | 5 x area_count |
| 1470 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1471 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1472 | |
| 1473 | |
| 1474 | </td> <!-- entry_type --> |
| 1475 | |
| 1476 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1477 | <p>List of areas to use for |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 1478 | metering.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1479 | </td> |
| 1480 | |
| 1481 | <td class="entry_units"> |
| 1482 | </td> |
| 1483 | |
| 1484 | <td class="entry_range"> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 1485 | <p><code>area_<wbr/>count <= <a href="#static_android.control.maxRegions">android.<wbr/>control.<wbr/>max<wbr/>Regions</a>[0]</code></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1486 | </td> |
| 1487 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1488 | <td class="entry_tags"> |
| 1489 | <ul class="entry_tags"> |
| 1490 | <li><a href="#tag_BC">BC</a></li> |
| 1491 | </ul> |
| 1492 | </td> |
| 1493 | |
| 1494 | </tr> |
| 1495 | <tr class="entries_header"> |
| 1496 | <th class="th_details" colspan="5">Details</th> |
| 1497 | </tr> |
| 1498 | <tr class="entry_cont"> |
| 1499 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1500 | <p>Each area is a rectangle plus weight: xmin,<wbr/> ymin,<wbr/> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 1501 | xmax,<wbr/> ymax,<wbr/> weight.<wbr/> The rectangle is defined to be inclusive of the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1502 | specified coordinates.<wbr/></p> |
| 1503 | <p>The coordinate system is based on the active pixel array,<wbr/> |
| 1504 | with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1505 | (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/> |
| 1506 | <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1507 | bottom-right pixel in the active pixel array.<wbr/> The weight |
| 1508 | should be nonnegative.<wbr/></p> |
| 1509 | <p>If all regions have 0 weight,<wbr/> then no specific metering area |
| 1510 | needs to be used by the HAL.<wbr/> If the metering region is |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1511 | outside the current <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a>,<wbr/> the HAL |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 1512 | should ignore the sections outside the region and output the |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 1513 | used sections in the frame metadata.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1514 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1515 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1516 | |
| 1517 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1518 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1519 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1520 | |
| 1521 | |
| 1522 | <tr class="entry" id="controls_android.control.aeTargetFpsRange"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1523 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1524 | android.<wbr/>control.<wbr/>ae<wbr/>Target<wbr/>Fps<wbr/>Range |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1525 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1526 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 1527 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1528 | <span class="entry_type_container">x</span> |
| 1529 | |
| 1530 | <span class="entry_type_array"> |
| 1531 | 2 |
| 1532 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1533 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1534 | |
| 1535 | |
| 1536 | </td> <!-- entry_type --> |
| 1537 | |
| 1538 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1539 | <p>Range over which fps can be adjusted to |
| 1540 | maintain exposure</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1541 | </td> |
| 1542 | |
| 1543 | <td class="entry_units"> |
| 1544 | </td> |
| 1545 | |
| 1546 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1547 | <p><a href="#static_android.control.aeAvailableTargetFpsRanges">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Target<wbr/>Fps<wbr/>Ranges</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1548 | </td> |
| 1549 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1550 | <td class="entry_tags"> |
| 1551 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 1552 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1553 | </ul> |
| 1554 | </td> |
| 1555 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1556 | </tr> |
| 1557 | <tr class="entries_header"> |
| 1558 | <th class="th_details" colspan="5">Details</th> |
| 1559 | </tr> |
| 1560 | <tr class="entry_cont"> |
| 1561 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1562 | <p>Only constrains AE algorithm,<wbr/> not manual control |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1563 | of <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1564 | </td> |
| 1565 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1566 | |
| 1567 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1568 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1569 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1570 | |
| 1571 | |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1572 | <tr class="entry" id="controls_android.control.aePrecaptureTrigger"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1573 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1574 | android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1575 | </td> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1576 | <td class="entry_type"> |
| 1577 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 1578 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1579 | <span class="entry_type_visibility"> [public]</span> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1580 | |
| 1581 | <ul class="entry_type_enum"> |
| 1582 | <li> |
| 1583 | <span class="entry_type_enum_name">IDLE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1584 | <span class="entry_type_enum_notes"><p>The trigger is idle.<wbr/></p></span> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1585 | </li> |
| 1586 | <li> |
| 1587 | <span class="entry_type_enum_name">START</span> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 1588 | <span class="entry_type_enum_notes"><p>The precapture metering sequence will be started |
| 1589 | by the camera device.<wbr/> The exact effect of the precapture |
| 1590 | trigger depends on the current AE mode and state.<wbr/></p></span> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1591 | </li> |
| 1592 | </ul> |
| 1593 | |
| 1594 | </td> <!-- entry_type --> |
| 1595 | |
| 1596 | <td class="entry_description"> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 1597 | <p>Whether the camera device will trigger a precapture |
| 1598 | metering sequence when it processes this request.<wbr/></p> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1599 | </td> |
| 1600 | |
| 1601 | <td class="entry_units"> |
| 1602 | </td> |
| 1603 | |
| 1604 | <td class="entry_range"> |
| 1605 | </td> |
| 1606 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1607 | <td class="entry_tags"> |
| 1608 | <ul class="entry_tags"> |
| 1609 | <li><a href="#tag_BC">BC</a></li> |
| 1610 | </ul> |
| 1611 | </td> |
| 1612 | |
| 1613 | </tr> |
| 1614 | <tr class="entries_header"> |
| 1615 | <th class="th_details" colspan="5">Details</th> |
| 1616 | </tr> |
| 1617 | <tr class="entry_cont"> |
| 1618 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1619 | <p>This entry is normally set to IDLE,<wbr/> or is not |
| 1620 | included at all in the request settings.<wbr/> When included and |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 1621 | set to START,<wbr/> the camera device will trigger the autoexposure |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1622 | precapture metering sequence.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 1623 | <p>The effect of AE precapture trigger depends on the current |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 1624 | AE mode and state; see <a href="#dynamic_android.control.aeState">android.<wbr/>control.<wbr/>ae<wbr/>State</a> for AE precapture |
| 1625 | state transition details.<wbr/></p> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1626 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1627 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1628 | |
| 1629 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1630 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1631 | <!-- end of entry --> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1632 | |
| 1633 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1634 | <tr class="entry" id="controls_android.control.afMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1635 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1636 | android.<wbr/>control.<wbr/>af<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1637 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1638 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 1639 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1640 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1641 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1642 | |
| 1643 | <ul class="entry_type_enum"> |
| 1644 | <li> |
| 1645 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1646 | <span class="entry_type_enum_notes"><p>The auto-focus routine does not control the lens; |
| 1647 | <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> is controlled by the |
| 1648 | application</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1649 | </li> |
| 1650 | <li> |
| 1651 | <span class="entry_type_enum_name">AUTO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1652 | <span class="entry_type_enum_notes"><p>If lens is not fixed focus.<wbr/></p> |
| 1653 | <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 |
| 1654 | is fixed-focus.<wbr/> In this mode,<wbr/> the lens does not move unless |
| 1655 | the autofocus trigger action is called.<wbr/> When that trigger |
| 1656 | is activated,<wbr/> AF must transition to ACTIVE_<wbr/>SCAN,<wbr/> then to |
| 1657 | the outcome of the scan (FOCUSED or NOT_<wbr/>FOCUSED).<wbr/></p> |
| 1658 | <p>Triggering AF_<wbr/>CANCEL resets the lens position to default,<wbr/> |
| 1659 | and sets the AF state to INACTIVE.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1660 | </li> |
| 1661 | <li> |
| 1662 | <span class="entry_type_enum_name">MACRO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1663 | <span class="entry_type_enum_notes"><p>In this mode,<wbr/> the lens does not move unless the |
| 1664 | autofocus trigger action is called.<wbr/></p> |
| 1665 | <p>When that trigger is activated,<wbr/> AF must transition to |
| 1666 | ACTIVE_<wbr/>SCAN,<wbr/> then to the outcome of the scan (FOCUSED or |
| 1667 | NOT_<wbr/>FOCUSED).<wbr/> Triggering cancel AF resets the lens |
| 1668 | position to default,<wbr/> and sets the AF state to |
| 1669 | INACTIVE.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1670 | </li> |
| 1671 | <li> |
| 1672 | <span class="entry_type_enum_name">CONTINUOUS_VIDEO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1673 | <span class="entry_type_enum_notes"><p>In this mode,<wbr/> the AF algorithm modifies the lens |
| 1674 | position continually to attempt to provide a |
| 1675 | constantly-in-focus image stream.<wbr/></p> |
| 1676 | <p>The focusing behavior should be suitable for good quality |
| 1677 | video recording; typically this means slower focus |
| 1678 | movement and no overshoots.<wbr/> When the AF trigger is not |
| 1679 | involved,<wbr/> the AF algorithm should start in INACTIVE state,<wbr/> |
| 1680 | and then transition into PASSIVE_<wbr/>SCAN and PASSIVE_<wbr/>FOCUSED |
| 1681 | states as appropriate.<wbr/> When the AF trigger is activated,<wbr/> |
| 1682 | the algorithm should immediately transition into |
| 1683 | AF_<wbr/>FOCUSED or AF_<wbr/>NOT_<wbr/>FOCUSED as appropriate,<wbr/> and lock the |
| 1684 | lens position until a cancel AF trigger is received.<wbr/></p> |
| 1685 | <p>Once cancel is received,<wbr/> the algorithm should transition |
| 1686 | back to INACTIVE and resume passive scan.<wbr/> Note that this |
| 1687 | behavior is not identical to CONTINUOUS_<wbr/>PICTURE,<wbr/> since an |
| 1688 | ongoing PASSIVE_<wbr/>SCAN must immediately be |
| 1689 | canceled.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1690 | </li> |
| 1691 | <li> |
| 1692 | <span class="entry_type_enum_name">CONTINUOUS_PICTURE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1693 | <span class="entry_type_enum_notes"><p>In this mode,<wbr/> the AF algorithm modifies the lens |
| 1694 | position continually to attempt to provide a |
| 1695 | constantly-in-focus image stream.<wbr/></p> |
| 1696 | <p>The focusing behavior should be suitable for still image |
| 1697 | capture; typically this means focusing as fast as |
| 1698 | possible.<wbr/> When the AF trigger is not involved,<wbr/> the AF |
| 1699 | algorithm should start in INACTIVE state,<wbr/> and then |
| 1700 | transition into PASSIVE_<wbr/>SCAN and PASSIVE_<wbr/>FOCUSED states as |
| 1701 | appropriate as it attempts to maintain focus.<wbr/> When the AF |
| 1702 | trigger is activated,<wbr/> the algorithm should finish its |
| 1703 | PASSIVE_<wbr/>SCAN if active,<wbr/> and then transition into |
| 1704 | AF_<wbr/>FOCUSED or AF_<wbr/>NOT_<wbr/>FOCUSED as appropriate,<wbr/> and lock the |
| 1705 | lens position until a cancel AF trigger is received.<wbr/></p> |
| 1706 | <p>When the AF cancel trigger is activated,<wbr/> the algorithm |
| 1707 | should transition back to INACTIVE and then act as if it |
| 1708 | has just been started.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1709 | </li> |
| 1710 | <li> |
| 1711 | <span class="entry_type_enum_name">EDOF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1712 | <span class="entry_type_enum_notes"><p>Extended depth of field (digital focus).<wbr/> AF |
| 1713 | trigger is ignored,<wbr/> AF state should always be |
| 1714 | INACTIVE.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1715 | </li> |
| 1716 | </ul> |
| 1717 | |
| 1718 | </td> <!-- entry_type --> |
| 1719 | |
| 1720 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1721 | <p>Whether AF is currently enabled,<wbr/> and what |
| 1722 | mode it is set to</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1723 | </td> |
| 1724 | |
| 1725 | <td class="entry_units"> |
| 1726 | </td> |
| 1727 | |
| 1728 | <td class="entry_range"> |
Zhijun He | 7787f7f | 2014-01-14 16:30:31 -0800 | [diff] [blame] | 1729 | <p><a href="#static_android.control.afAvailableModes">android.<wbr/>control.<wbr/>af<wbr/>Available<wbr/>Modes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1730 | </td> |
| 1731 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1732 | <td class="entry_tags"> |
| 1733 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 1734 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1735 | </ul> |
| 1736 | </td> |
| 1737 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1738 | </tr> |
| 1739 | <tr class="entries_header"> |
| 1740 | <th class="th_details" colspan="5">Details</th> |
| 1741 | </tr> |
| 1742 | <tr class="entry_cont"> |
| 1743 | <td class="entry_details" colspan="5"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1744 | <p>Only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> = AUTO.<wbr/></p> |
Zhijun He | f163fa9 | 2014-01-14 09:59:04 -0800 | [diff] [blame] | 1745 | <p>If the lens is controlled by the camera device auto-focus algorithm,<wbr/> |
| 1746 | the camera device will report the current AF status in android.<wbr/>control.<wbr/>af<wbr/>State |
| 1747 | in result metadata.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1748 | </td> |
| 1749 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1750 | |
| 1751 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1752 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1753 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1754 | |
| 1755 | |
| 1756 | <tr class="entry" id="controls_android.control.afRegions"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1757 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1758 | android.<wbr/>control.<wbr/>af<wbr/>Regions |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1759 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1760 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 1761 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1762 | <span class="entry_type_container">x</span> |
| 1763 | |
| 1764 | <span class="entry_type_array"> |
| 1765 | 5 x area_count |
| 1766 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1767 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1768 | |
| 1769 | |
| 1770 | </td> <!-- entry_type --> |
| 1771 | |
| 1772 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1773 | <p>List of areas to use for focus |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 1774 | estimation.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1775 | </td> |
| 1776 | |
| 1777 | <td class="entry_units"> |
| 1778 | </td> |
| 1779 | |
| 1780 | <td class="entry_range"> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 1781 | <p><code>area_<wbr/>count <= <a href="#static_android.control.maxRegions">android.<wbr/>control.<wbr/>max<wbr/>Regions</a>[2]</code></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1782 | </td> |
| 1783 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1784 | <td class="entry_tags"> |
| 1785 | <ul class="entry_tags"> |
| 1786 | <li><a href="#tag_BC">BC</a></li> |
| 1787 | </ul> |
| 1788 | </td> |
| 1789 | |
| 1790 | </tr> |
| 1791 | <tr class="entries_header"> |
| 1792 | <th class="th_details" colspan="5">Details</th> |
| 1793 | </tr> |
| 1794 | <tr class="entry_cont"> |
| 1795 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1796 | <p>Each area is a rectangle plus weight: xmin,<wbr/> ymin,<wbr/> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 1797 | xmax,<wbr/> ymax,<wbr/> weight.<wbr/> The rectangle is defined to be inclusive of the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1798 | specified coordinates.<wbr/></p> |
| 1799 | <p>The coordinate system is based on the active pixel array,<wbr/> |
| 1800 | with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1801 | (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/> |
| 1802 | <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1803 | bottom-right pixel in the active pixel array.<wbr/> The weight |
| 1804 | should be nonnegative.<wbr/></p> |
| 1805 | <p>If all regions have 0 weight,<wbr/> then no specific focus area |
| 1806 | needs to be used by the HAL.<wbr/> If the focusing region is |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 1807 | outside the current <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a>,<wbr/> the HAL |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 1808 | should ignore the sections outside the region and output the |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 1809 | used sections in the frame metadata.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1810 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1811 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1812 | |
| 1813 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1814 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1815 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1816 | |
| 1817 | |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1818 | <tr class="entry" id="controls_android.control.afTrigger"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1819 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1820 | android.<wbr/>control.<wbr/>af<wbr/>Trigger |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1821 | </td> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1822 | <td class="entry_type"> |
| 1823 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 1824 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1825 | <span class="entry_type_visibility"> [public]</span> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1826 | |
| 1827 | <ul class="entry_type_enum"> |
| 1828 | <li> |
| 1829 | <span class="entry_type_enum_name">IDLE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1830 | <span class="entry_type_enum_notes"><p>The trigger is idle.<wbr/></p></span> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1831 | </li> |
| 1832 | <li> |
| 1833 | <span class="entry_type_enum_name">START</span> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 1834 | <span class="entry_type_enum_notes"><p>Autofocus will trigger now.<wbr/></p></span> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1835 | </li> |
| 1836 | <li> |
| 1837 | <span class="entry_type_enum_name">CANCEL</span> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 1838 | <span class="entry_type_enum_notes"><p>Autofocus will return to its initial |
| 1839 | state,<wbr/> and cancel any currently active trigger.<wbr/></p></span> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1840 | </li> |
| 1841 | </ul> |
| 1842 | |
| 1843 | </td> <!-- entry_type --> |
| 1844 | |
| 1845 | <td class="entry_description"> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 1846 | <p>Whether the camera device will trigger autofocus for this request.<wbr/></p> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1847 | </td> |
| 1848 | |
| 1849 | <td class="entry_units"> |
| 1850 | </td> |
| 1851 | |
| 1852 | <td class="entry_range"> |
| 1853 | </td> |
| 1854 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1855 | <td class="entry_tags"> |
| 1856 | <ul class="entry_tags"> |
| 1857 | <li><a href="#tag_BC">BC</a></li> |
| 1858 | </ul> |
| 1859 | </td> |
| 1860 | |
| 1861 | </tr> |
| 1862 | <tr class="entries_header"> |
| 1863 | <th class="th_details" colspan="5">Details</th> |
| 1864 | </tr> |
| 1865 | <tr class="entry_cont"> |
| 1866 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1867 | <p>This entry is normally set to IDLE,<wbr/> or is not |
| 1868 | included at all in the request settings.<wbr/></p> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 1869 | <p>When included and set to START,<wbr/> the camera device will trigger the |
| 1870 | autofocus algorithm.<wbr/> If autofocus is disabled,<wbr/> this trigger has no effect.<wbr/></p> |
| 1871 | <p>When set to CANCEL,<wbr/> the camera device will cancel any active trigger,<wbr/> |
| 1872 | and return to its initial AF state.<wbr/></p> |
| 1873 | <p>See <a href="#dynamic_android.control.afState">android.<wbr/>control.<wbr/>af<wbr/>State</a> for what that means for each AF mode.<wbr/></p> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1874 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1875 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1876 | |
| 1877 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1878 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1879 | <!-- end of entry --> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 1880 | |
| 1881 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1882 | <tr class="entry" id="controls_android.control.awbLock"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1883 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1884 | android.<wbr/>control.<wbr/>awb<wbr/>Lock |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1885 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1886 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 1887 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1888 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 1889 | <span class="entry_type_visibility"> [public as boolean]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1890 | |
| 1891 | <ul class="entry_type_enum"> |
| 1892 | <li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1893 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1894 | <span class="entry_type_enum_notes"><p>Auto-whitebalance lock is disabled; the AWB |
| 1895 | algorithm is free to update its parameters if in AUTO |
| 1896 | mode.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1897 | </li> |
Eino-Ville Talvala | 76548fe | 2013-01-11 13:57:19 -0800 | [diff] [blame] | 1898 | <li> |
| 1899 | <span class="entry_type_enum_name">ON</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1900 | <span class="entry_type_enum_notes"><p>Auto-whitebalance lock is enabled; the AWB |
| 1901 | algorithm must not update the exposure and sensitivity |
| 1902 | parameters while the lock is active</p></span> |
Eino-Ville Talvala | 76548fe | 2013-01-11 13:57:19 -0800 | [diff] [blame] | 1903 | </li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1904 | </ul> |
| 1905 | |
| 1906 | </td> <!-- entry_type --> |
| 1907 | |
| 1908 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1909 | <p>Whether AWB is currently locked to its |
| 1910 | latest calculated values</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1911 | </td> |
| 1912 | |
| 1913 | <td class="entry_units"> |
| 1914 | </td> |
| 1915 | |
| 1916 | <td class="entry_range"> |
| 1917 | </td> |
| 1918 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1919 | <td class="entry_tags"> |
| 1920 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 1921 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1922 | </ul> |
| 1923 | </td> |
| 1924 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1925 | </tr> |
| 1926 | <tr class="entries_header"> |
| 1927 | <th class="th_details" colspan="5">Details</th> |
| 1928 | </tr> |
| 1929 | <tr class="entry_cont"> |
| 1930 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1931 | <p>Note that AWB lock is only meaningful for AUTO |
| 1932 | mode; in other modes,<wbr/> AWB is already fixed to a specific |
| 1933 | setting</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1934 | </td> |
| 1935 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1936 | |
| 1937 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 1938 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 1939 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1940 | |
| 1941 | |
| 1942 | <tr class="entry" id="controls_android.control.awbMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1943 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 1944 | android.<wbr/>control.<wbr/>awb<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 1945 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1946 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 1947 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1948 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 1949 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1950 | |
| 1951 | <ul class="entry_type_enum"> |
| 1952 | <li> |
| 1953 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1954 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 1955 | the application-selected color transform matrix |
| 1956 | (<a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>) and gains |
| 1957 | (<a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a>) are used by the camera |
| 1958 | device for manual white balance control.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1959 | </li> |
| 1960 | <li> |
| 1961 | <span class="entry_type_enum_name">AUTO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1962 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is active; |
| 1963 | the application's values for android.<wbr/>color<wbr/>Correction.<wbr/>transform |
| 1964 | and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1965 | </li> |
| 1966 | <li> |
| 1967 | <span class="entry_type_enum_name">INCANDESCENT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1968 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 1969 | the camera device uses incandescent light as the assumed scene |
| 1970 | illumination for white balance.<wbr/> While the exact white balance |
| 1971 | transforms are up to the camera device,<wbr/> they will approximately |
| 1972 | match the CIE standard illuminant A.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1973 | </li> |
| 1974 | <li> |
| 1975 | <span class="entry_type_enum_name">FLUORESCENT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1976 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 1977 | the camera device uses fluorescent light as the assumed scene |
| 1978 | illumination for white balance.<wbr/> While the exact white balance |
| 1979 | transforms are up to the camera device,<wbr/> they will approximately |
| 1980 | match the CIE standard illuminant F2.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1981 | </li> |
| 1982 | <li> |
| 1983 | <span class="entry_type_enum_name">WARM_FLUORESCENT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1984 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 1985 | the camera device uses warm fluorescent light as the assumed scene |
| 1986 | illumination for white balance.<wbr/> While the exact white balance |
| 1987 | transforms are up to the camera device,<wbr/> they will approximately |
| 1988 | match the CIE standard illuminant F4.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1989 | </li> |
| 1990 | <li> |
| 1991 | <span class="entry_type_enum_name">DAYLIGHT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 1992 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 1993 | the camera device uses daylight light as the assumed scene |
| 1994 | illumination for white balance.<wbr/> While the exact white balance |
| 1995 | transforms are up to the camera device,<wbr/> they will approximately |
| 1996 | match the CIE standard illuminant D65.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 1997 | </li> |
| 1998 | <li> |
| 1999 | <span class="entry_type_enum_name">CLOUDY_DAYLIGHT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2000 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 2001 | the camera device uses cloudy daylight light as the assumed scene |
| 2002 | illumination for white balance.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2003 | </li> |
| 2004 | <li> |
| 2005 | <span class="entry_type_enum_name">TWILIGHT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2006 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 2007 | the camera device uses twilight light as the assumed scene |
| 2008 | illumination for white balance.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2009 | </li> |
| 2010 | <li> |
| 2011 | <span class="entry_type_enum_name">SHADE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2012 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 2013 | the camera device uses shade light as the assumed scene |
| 2014 | illumination for white balance.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2015 | </li> |
| 2016 | </ul> |
| 2017 | |
| 2018 | </td> <!-- entry_type --> |
| 2019 | |
| 2020 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2021 | <p>Whether AWB is currently setting the color |
| 2022 | transform fields,<wbr/> and what its illumination target |
| 2023 | is</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2024 | </td> |
| 2025 | |
| 2026 | <td class="entry_units"> |
| 2027 | </td> |
| 2028 | |
| 2029 | <td class="entry_range"> |
Zhijun He | 7787f7f | 2014-01-14 16:30:31 -0800 | [diff] [blame] | 2030 | <p><a href="#static_android.control.awbAvailableModes">android.<wbr/>control.<wbr/>awb<wbr/>Available<wbr/>Modes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2031 | </td> |
| 2032 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2033 | <td class="entry_tags"> |
| 2034 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 2035 | <li><a href="#tag_BC">BC</a></li> |
| 2036 | <li><a href="#tag_AWB">AWB</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2037 | </ul> |
| 2038 | </td> |
| 2039 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2040 | </tr> |
| 2041 | <tr class="entries_header"> |
| 2042 | <th class="th_details" colspan="5">Details</th> |
| 2043 | </tr> |
| 2044 | <tr class="entry_cont"> |
| 2045 | <td class="entry_details" colspan="5"> |
Zhijun He | 7787f7f | 2014-01-14 16:30:31 -0800 | [diff] [blame] | 2046 | <p>This control is only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is AUTO.<wbr/></p> |
| 2047 | <p>When set to the ON mode,<wbr/> the camera device's auto white balance |
| 2048 | routine is enabled,<wbr/> overriding the application's selected |
| 2049 | <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 |
| 2050 | <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a>.<wbr/></p> |
| 2051 | <p>When set to the OFF mode,<wbr/> the camera device's auto white balance |
| 2052 | routine is disabled.<wbr/> The applicantion manually controls the white |
| 2053 | balance by <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>,<wbr/> android.<wbr/>color<wbr/>Correction.<wbr/>gains |
| 2054 | and <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a>.<wbr/></p> |
| 2055 | <p>When set to any other modes,<wbr/> the camera device's auto white balance |
| 2056 | routine is disabled.<wbr/> The camera device uses each particular illumination |
| 2057 | target for white balance adjustment.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2058 | </td> |
| 2059 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2060 | |
| 2061 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2062 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2063 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2064 | |
| 2065 | |
| 2066 | <tr class="entry" id="controls_android.control.awbRegions"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2067 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2068 | android.<wbr/>control.<wbr/>awb<wbr/>Regions |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2069 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2070 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2071 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2072 | <span class="entry_type_container">x</span> |
| 2073 | |
| 2074 | <span class="entry_type_array"> |
| 2075 | 5 x area_count |
| 2076 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2077 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2078 | |
| 2079 | |
| 2080 | </td> <!-- entry_type --> |
| 2081 | |
| 2082 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2083 | <p>List of areas to use for illuminant |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 2084 | estimation.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2085 | </td> |
| 2086 | |
| 2087 | <td class="entry_units"> |
| 2088 | </td> |
| 2089 | |
| 2090 | <td class="entry_range"> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 2091 | <p><code>area_<wbr/>count <= <a href="#static_android.control.maxRegions">android.<wbr/>control.<wbr/>max<wbr/>Regions</a>[1]</code></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2092 | </td> |
| 2093 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2094 | <td class="entry_tags"> |
| 2095 | <ul class="entry_tags"> |
| 2096 | <li><a href="#tag_BC">BC</a></li> |
| 2097 | </ul> |
| 2098 | </td> |
| 2099 | |
| 2100 | </tr> |
| 2101 | <tr class="entries_header"> |
| 2102 | <th class="th_details" colspan="5">Details</th> |
| 2103 | </tr> |
| 2104 | <tr class="entry_cont"> |
| 2105 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2106 | <p>Only used in AUTO mode.<wbr/></p> |
| 2107 | <p>Each area is a rectangle plus weight: xmin,<wbr/> ymin,<wbr/> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 2108 | xmax,<wbr/> ymax,<wbr/> weight.<wbr/> The rectangle is defined to be inclusive of the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2109 | specified coordinates.<wbr/></p> |
| 2110 | <p>The coordinate system is based on the active pixel array,<wbr/> |
| 2111 | with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 2112 | (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/> |
| 2113 | <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2114 | bottom-right pixel in the active pixel array.<wbr/> The weight |
| 2115 | should be nonnegative.<wbr/></p> |
| 2116 | <p>If all regions have 0 weight,<wbr/> then no specific metering area |
| 2117 | needs to be used by the HAL.<wbr/> If the metering region is |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 2118 | outside the current <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a>,<wbr/> the HAL |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 2119 | should ignore the sections outside the region and output the |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 2120 | used sections in the frame metadata.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2121 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2122 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2123 | |
| 2124 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2125 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2126 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2127 | |
| 2128 | |
| 2129 | <tr class="entry" id="controls_android.control.captureIntent"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2130 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2131 | android.<wbr/>control.<wbr/>capture<wbr/>Intent |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2132 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2133 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2134 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2135 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2136 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2137 | |
| 2138 | <ul class="entry_type_enum"> |
| 2139 | <li> |
| 2140 | <span class="entry_type_enum_name">CUSTOM</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2141 | <span class="entry_type_enum_notes"><p>This request doesn't fall into the other |
| 2142 | categories.<wbr/> Default to preview-like |
| 2143 | behavior.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2144 | </li> |
| 2145 | <li> |
| 2146 | <span class="entry_type_enum_name">PREVIEW</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2147 | <span class="entry_type_enum_notes"><p>This request is for a preview-like usecase.<wbr/> The |
| 2148 | precapture trigger may be used to start off a metering |
| 2149 | w/<wbr/>flash sequence</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2150 | </li> |
| 2151 | <li> |
| 2152 | <span class="entry_type_enum_name">STILL_CAPTURE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2153 | <span class="entry_type_enum_notes"><p>This request is for a still capture-type |
| 2154 | usecase.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2155 | </li> |
| 2156 | <li> |
| 2157 | <span class="entry_type_enum_name">VIDEO_RECORD</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2158 | <span class="entry_type_enum_notes"><p>This request is for a video recording |
| 2159 | usecase.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2160 | </li> |
| 2161 | <li> |
| 2162 | <span class="entry_type_enum_name">VIDEO_SNAPSHOT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2163 | <span class="entry_type_enum_notes"><p>This request is for a video snapshot (still |
| 2164 | image while recording video) usecase</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2165 | </li> |
| 2166 | <li> |
| 2167 | <span class="entry_type_enum_name">ZERO_SHUTTER_LAG</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2168 | <span class="entry_type_enum_notes"><p>This request is for a ZSL usecase; the |
| 2169 | application will stream full-resolution images and |
| 2170 | reprocess one or several later for a final |
| 2171 | capture</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2172 | </li> |
| 2173 | </ul> |
| 2174 | |
| 2175 | </td> <!-- entry_type --> |
| 2176 | |
| 2177 | <td class="entry_description"> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 2178 | <p>Information to the camera device 3A (auto-exposure,<wbr/> |
| 2179 | auto-focus,<wbr/> auto-white balance) routines about the purpose |
| 2180 | of this capture,<wbr/> to help the camera device to decide optimal 3A |
| 2181 | strategy.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2182 | </td> |
| 2183 | |
| 2184 | <td class="entry_units"> |
| 2185 | </td> |
| 2186 | |
| 2187 | <td class="entry_range"> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 2188 | <p>All must be supported</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2189 | </td> |
| 2190 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2191 | <td class="entry_tags"> |
| 2192 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 2193 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2194 | </ul> |
| 2195 | </td> |
| 2196 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2197 | </tr> |
| 2198 | <tr class="entries_header"> |
| 2199 | <th class="th_details" colspan="5">Details</th> |
| 2200 | </tr> |
| 2201 | <tr class="entry_cont"> |
| 2202 | <td class="entry_details" colspan="5"> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 2203 | <p>This control is only effective if <code><a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> != OFF</code> |
| 2204 | and any 3A routine is active.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2205 | </td> |
| 2206 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2207 | |
| 2208 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2209 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2210 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2211 | |
| 2212 | |
| 2213 | <tr class="entry" id="controls_android.control.effectMode"> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2214 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2215 | android.<wbr/>control.<wbr/>effect<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2216 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2217 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2218 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2219 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2220 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2221 | |
| 2222 | <ul class="entry_type_enum"> |
| 2223 | <li> |
| 2224 | <span class="entry_type_enum_name">OFF</span> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2225 | <span class="entry_type_enum_notes"><p>No color effect will be applied.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2226 | </li> |
| 2227 | <li> |
| 2228 | <span class="entry_type_enum_name">MONO</span> |
| 2229 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2230 | <span class="entry_type_enum_notes"><p>A "monocolor" effect where the image is mapped into |
| 2231 | a single color.<wbr/> This will typically be grayscale.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2232 | </li> |
| 2233 | <li> |
| 2234 | <span class="entry_type_enum_name">NEGATIVE</span> |
| 2235 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2236 | <span class="entry_type_enum_notes"><p>A "photo-negative" effect where the image's colors |
| 2237 | are inverted.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2238 | </li> |
| 2239 | <li> |
| 2240 | <span class="entry_type_enum_name">SOLARIZE</span> |
| 2241 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2242 | <span class="entry_type_enum_notes"><p>A "solarisation" effect (Sabattier effect) where the |
| 2243 | image is wholly or partially reversed in |
| 2244 | tone.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2245 | </li> |
| 2246 | <li> |
| 2247 | <span class="entry_type_enum_name">SEPIA</span> |
| 2248 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2249 | <span class="entry_type_enum_notes"><p>A "sepia" effect where the image is mapped into warm |
| 2250 | gray,<wbr/> red,<wbr/> and brown tones.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2251 | </li> |
| 2252 | <li> |
| 2253 | <span class="entry_type_enum_name">POSTERIZE</span> |
| 2254 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2255 | <span class="entry_type_enum_notes"><p>A "posterization" effect where the image uses |
| 2256 | discrete regions of tone rather than a continuous |
| 2257 | gradient of tones.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2258 | </li> |
| 2259 | <li> |
| 2260 | <span class="entry_type_enum_name">WHITEBOARD</span> |
| 2261 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2262 | <span class="entry_type_enum_notes"><p>A "whiteboard" effect where the image is typically displayed |
| 2263 | as regions of white,<wbr/> with black or grey details.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2264 | </li> |
| 2265 | <li> |
| 2266 | <span class="entry_type_enum_name">BLACKBOARD</span> |
| 2267 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2268 | <span class="entry_type_enum_notes"><p>A "blackboard" effect where the image is typically displayed |
| 2269 | as regions of black,<wbr/> with white or grey details.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2270 | </li> |
| 2271 | <li> |
| 2272 | <span class="entry_type_enum_name">AQUA</span> |
| 2273 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2274 | <span class="entry_type_enum_notes"><p>An "aqua" effect where a blue hue is added to the image.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2275 | </li> |
| 2276 | </ul> |
| 2277 | |
| 2278 | </td> <!-- entry_type --> |
| 2279 | |
| 2280 | <td class="entry_description"> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2281 | <p>A special color effect to apply.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2282 | </td> |
| 2283 | |
| 2284 | <td class="entry_units"> |
| 2285 | </td> |
| 2286 | |
| 2287 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 2288 | <p><a href="#static_android.control.availableEffects">android.<wbr/>control.<wbr/>available<wbr/>Effects</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2289 | </td> |
| 2290 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2291 | <td class="entry_tags"> |
| 2292 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 2293 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2294 | </ul> |
| 2295 | </td> |
| 2296 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2297 | </tr> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2298 | <tr class="entries_header"> |
| 2299 | <th class="th_details" colspan="5">Details</th> |
| 2300 | </tr> |
| 2301 | <tr class="entry_cont"> |
| 2302 | <td class="entry_details" colspan="5"> |
| 2303 | <p>When this mode is set,<wbr/> a color effect will be applied |
| 2304 | to images produced by the camera device.<wbr/> The interpretation |
| 2305 | and implementation of these color effects is left to the |
| 2306 | implementor of the camera device,<wbr/> and should not be |
| 2307 | depended on to be consistent (or present) across all |
| 2308 | devices.<wbr/></p> |
| 2309 | <p>A color effect will only be applied if |
| 2310 | <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> != OFF.<wbr/></p> |
| 2311 | </td> |
| 2312 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2313 | |
| 2314 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2315 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2316 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2317 | |
| 2318 | |
| 2319 | <tr class="entry" id="controls_android.control.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2320 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2321 | android.<wbr/>control.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2322 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2323 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2324 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2325 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2326 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2327 | |
| 2328 | <ul class="entry_type_enum"> |
| 2329 | <li> |
| 2330 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2331 | <span class="entry_type_enum_notes"><p>Full application control of pipeline.<wbr/> All 3A |
| 2332 | routines are disabled,<wbr/> no other settings in |
| 2333 | android.<wbr/>control.<wbr/>* have any effect</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2334 | </li> |
| 2335 | <li> |
| 2336 | <span class="entry_type_enum_name">AUTO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2337 | <span class="entry_type_enum_notes"><p>Use settings for each individual 3A routine.<wbr/> |
| 2338 | Manual control of capture parameters is disabled.<wbr/> All |
| 2339 | controls in android.<wbr/>control.<wbr/>* besides sceneMode take |
| 2340 | effect</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2341 | </li> |
| 2342 | <li> |
| 2343 | <span class="entry_type_enum_name">USE_SCENE_MODE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 2344 | <span class="entry_type_enum_notes"><p>Use specific scene mode.<wbr/> Enabling this disables |
| 2345 | control.<wbr/>aeMode,<wbr/> control.<wbr/>awbMode and control.<wbr/>afMode |
| 2346 | controls; the HAL must ignore those settings while |
| 2347 | USE_<wbr/>SCENE_<wbr/>MODE is active (except for FACE_<wbr/>PRIORITY |
| 2348 | scene mode).<wbr/> Other control entries are still active.<wbr/> |
| 2349 | This setting can only be used if availableSceneModes != |
| 2350 | UNSUPPORTED</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2351 | </li> |
| 2352 | </ul> |
| 2353 | |
| 2354 | </td> <!-- entry_type --> |
| 2355 | |
| 2356 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2357 | <p>Overall mode of 3A control |
| 2358 | routines</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2359 | </td> |
| 2360 | |
| 2361 | <td class="entry_units"> |
| 2362 | </td> |
| 2363 | |
| 2364 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 2365 | <p>all must be supported</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2366 | </td> |
| 2367 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2368 | <td class="entry_tags"> |
| 2369 | <ul class="entry_tags"> |
| 2370 | <li><a href="#tag_BC">BC</a></li> |
| 2371 | </ul> |
| 2372 | </td> |
| 2373 | |
| 2374 | </tr> |
| 2375 | <tr class="entries_header"> |
| 2376 | <th class="th_details" colspan="5">Details</th> |
| 2377 | </tr> |
| 2378 | <tr class="entry_cont"> |
| 2379 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2380 | <p>High-level 3A control.<wbr/> When set to OFF,<wbr/> all 3A control |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 2381 | by the camera device is disabled.<wbr/> The application must set the fields for |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2382 | capture parameters itself.<wbr/></p> |
| 2383 | <p>When set to AUTO,<wbr/> the individual algorithm controls in |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 2384 | 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> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2385 | <p>When set to USE_<wbr/>SCENE_<wbr/>MODE,<wbr/> the individual controls in |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 2386 | android.<wbr/>control.<wbr/>* are mostly disabled,<wbr/> and the camera device implements |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2387 | one of the scene mode settings (such as ACTION,<wbr/> SUNSET,<wbr/> or PARTY) |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 2388 | as it wishes.<wbr/> The camera device scene mode 3A settings are provided by |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 2389 | <a href="#static_android.control.sceneModeOverrides">android.<wbr/>control.<wbr/>scene<wbr/>Mode<wbr/>Overrides</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2390 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2391 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2392 | |
| 2393 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2394 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2395 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2396 | |
| 2397 | |
| 2398 | <tr class="entry" id="controls_android.control.sceneMode"> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2399 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2400 | android.<wbr/>control.<wbr/>scene<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2401 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2402 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2403 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2404 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2405 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2406 | |
| 2407 | <ul class="entry_type_enum"> |
| 2408 | <li> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2409 | <span class="entry_type_enum_name">DISABLED</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2410 | <span class="entry_type_enum_value">0</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2411 | <span class="entry_type_enum_notes"><p>Indicates that no scene modes are set for a given capture request.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2412 | </li> |
| 2413 | <li> |
| 2414 | <span class="entry_type_enum_name">FACE_PRIORITY</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2415 | <span class="entry_type_enum_notes"><p>If face detection support exists,<wbr/> use face |
| 2416 | detection data for auto-focus,<wbr/> auto-white balance,<wbr/> and |
| 2417 | auto-exposure routines.<wbr/> If face detection statistics are |
| 2418 | disabled (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/> |
| 2419 | this should still operate correctly (but will not return |
| 2420 | face detection statistics to the framework).<wbr/></p> |
| 2421 | <p>Unlike the other scene modes,<wbr/> <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/> |
| 2422 | <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>,<wbr/> and android.<wbr/>control.<wbr/>af<wbr/>Mode |
| 2423 | remain active when FACE_<wbr/>PRIORITY is set.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2424 | </li> |
| 2425 | <li> |
| 2426 | <span class="entry_type_enum_name">ACTION</span> |
| 2427 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2428 | <span class="entry_type_enum_notes"><p>Optimized for photos of quickly moving objects.<wbr/> |
| 2429 | Similar to SPORTS.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2430 | </li> |
| 2431 | <li> |
| 2432 | <span class="entry_type_enum_name">PORTRAIT</span> |
| 2433 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2434 | <span class="entry_type_enum_notes"><p>Optimized for still photos of people.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2435 | </li> |
| 2436 | <li> |
| 2437 | <span class="entry_type_enum_name">LANDSCAPE</span> |
| 2438 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2439 | <span class="entry_type_enum_notes"><p>Optimized for photos of distant macroscopic objects.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2440 | </li> |
| 2441 | <li> |
| 2442 | <span class="entry_type_enum_name">NIGHT</span> |
| 2443 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2444 | <span class="entry_type_enum_notes"><p>Optimized for low-light settings.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2445 | </li> |
| 2446 | <li> |
| 2447 | <span class="entry_type_enum_name">NIGHT_PORTRAIT</span> |
| 2448 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2449 | <span class="entry_type_enum_notes"><p>Optimized for still photos of people in low-light |
| 2450 | settings.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2451 | </li> |
| 2452 | <li> |
| 2453 | <span class="entry_type_enum_name">THEATRE</span> |
| 2454 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2455 | <span class="entry_type_enum_notes"><p>Optimized for dim,<wbr/> indoor settings where flash must |
| 2456 | remain off.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2457 | </li> |
| 2458 | <li> |
| 2459 | <span class="entry_type_enum_name">BEACH</span> |
| 2460 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2461 | <span class="entry_type_enum_notes"><p>Optimized for bright,<wbr/> outdoor beach settings.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2462 | </li> |
| 2463 | <li> |
| 2464 | <span class="entry_type_enum_name">SNOW</span> |
| 2465 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2466 | <span class="entry_type_enum_notes"><p>Optimized for bright,<wbr/> outdoor settings containing snow.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2467 | </li> |
| 2468 | <li> |
| 2469 | <span class="entry_type_enum_name">SUNSET</span> |
| 2470 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2471 | <span class="entry_type_enum_notes"><p>Optimized for scenes of the setting sun.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2472 | </li> |
| 2473 | <li> |
| 2474 | <span class="entry_type_enum_name">STEADYPHOTO</span> |
| 2475 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2476 | <span class="entry_type_enum_notes"><p>Optimized to avoid blurry photos due to small amounts of |
| 2477 | device motion (for example: due to hand shake).<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2478 | </li> |
| 2479 | <li> |
| 2480 | <span class="entry_type_enum_name">FIREWORKS</span> |
| 2481 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2482 | <span class="entry_type_enum_notes"><p>Optimized for nighttime photos of fireworks.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2483 | </li> |
| 2484 | <li> |
| 2485 | <span class="entry_type_enum_name">SPORTS</span> |
| 2486 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2487 | <span class="entry_type_enum_notes"><p>Optimized for photos of quickly moving people.<wbr/> |
| 2488 | Similar to ACTION.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2489 | </li> |
| 2490 | <li> |
| 2491 | <span class="entry_type_enum_name">PARTY</span> |
| 2492 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2493 | <span class="entry_type_enum_notes"><p>Optimized for dim,<wbr/> indoor settings with multiple moving |
| 2494 | people.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2495 | </li> |
| 2496 | <li> |
| 2497 | <span class="entry_type_enum_name">CANDLELIGHT</span> |
| 2498 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2499 | <span class="entry_type_enum_notes"><p>Optimized for dim settings where the main light source |
| 2500 | is a flame.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2501 | </li> |
| 2502 | <li> |
| 2503 | <span class="entry_type_enum_name">BARCODE</span> |
| 2504 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2505 | <span class="entry_type_enum_notes"><p>Optimized for accurately capturing a photo of barcode |
| 2506 | for use by camera applications that wish to read the |
| 2507 | barcode value.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2508 | </li> |
| 2509 | </ul> |
| 2510 | |
| 2511 | </td> <!-- entry_type --> |
| 2512 | |
| 2513 | <td class="entry_description"> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2514 | <p>A camera mode optimized for conditions typical in a particular |
| 2515 | capture setting.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2516 | </td> |
| 2517 | |
| 2518 | <td class="entry_units"> |
| 2519 | </td> |
| 2520 | |
| 2521 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 2522 | <p><a href="#static_android.control.availableSceneModes">android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2523 | </td> |
| 2524 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2525 | <td class="entry_tags"> |
| 2526 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 2527 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2528 | </ul> |
| 2529 | </td> |
| 2530 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2531 | </tr> |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2532 | <tr class="entries_header"> |
| 2533 | <th class="th_details" colspan="5">Details</th> |
| 2534 | </tr> |
| 2535 | <tr class="entry_cont"> |
| 2536 | <td class="entry_details" colspan="5"> |
| 2537 | <p>This is the mode that that is active when |
| 2538 | <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/> |
| 2539 | these modes will disable <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/> |
| 2540 | <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> |
| 2541 | <p>The interpretation and implementation of these scene modes is left |
| 2542 | to the implementor of the camera device.<wbr/> Their behavior will not be |
| 2543 | consistent across all devices,<wbr/> and any given device may only implement |
| 2544 | a subset of these modes.<wbr/></p> |
| 2545 | </td> |
| 2546 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2547 | |
Ruben Brunk | 9e28ea7 | 2014-01-14 18:55:29 -0800 | [diff] [blame] | 2548 | <tr class="entries_header"> |
| 2549 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 2550 | </tr> |
| 2551 | <tr class="entry_cont"> |
| 2552 | <td class="entry_details" colspan="5"> |
| 2553 | <p>HAL implementations that include scene modes are expected to provide |
| 2554 | the per-scene settings to use for <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/> |
| 2555 | <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 |
| 2556 | <a href="#static_android.control.sceneModeOverrides">android.<wbr/>control.<wbr/>scene<wbr/>Mode<wbr/>Overrides</a>.<wbr/></p> |
| 2557 | </td> |
| 2558 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2559 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2560 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2561 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2562 | |
| 2563 | |
| 2564 | <tr class="entry" id="controls_android.control.videoStabilizationMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2565 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2566 | android.<wbr/>control.<wbr/>video<wbr/>Stabilization<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2567 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2568 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2569 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2570 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 2571 | <span class="entry_type_visibility"> [public as boolean]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2572 | |
| 2573 | <ul class="entry_type_enum"> |
| 2574 | <li> |
| 2575 | <span class="entry_type_enum_name">OFF</span> |
| 2576 | </li> |
| 2577 | <li> |
| 2578 | <span class="entry_type_enum_name">ON</span> |
| 2579 | </li> |
| 2580 | </ul> |
| 2581 | |
| 2582 | </td> <!-- entry_type --> |
| 2583 | |
| 2584 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2585 | <p>Whether video stabilization is |
| 2586 | active</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2587 | </td> |
| 2588 | |
| 2589 | <td class="entry_units"> |
| 2590 | </td> |
| 2591 | |
| 2592 | <td class="entry_range"> |
| 2593 | </td> |
| 2594 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2595 | <td class="entry_tags"> |
| 2596 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 2597 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2598 | </ul> |
| 2599 | </td> |
| 2600 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2601 | </tr> |
| 2602 | <tr class="entries_header"> |
| 2603 | <th class="th_details" colspan="5">Details</th> |
| 2604 | </tr> |
| 2605 | <tr class="entry_cont"> |
| 2606 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2607 | <p>If enabled,<wbr/> video stabilization can modify the |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 2608 | <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a> to keep the video stream |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2609 | stabilized</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2610 | </td> |
| 2611 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2612 | |
| 2613 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2614 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2615 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2616 | |
| 2617 | |
| 2618 | |
| 2619 | <!-- end of kind --> |
| 2620 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2621 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2622 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2623 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2624 | <tr> |
| 2625 | <th class="th_name">Property Name</th> |
| 2626 | <th class="th_type">Type</th> |
| 2627 | <th class="th_description">Description</th> |
| 2628 | <th class="th_units">Units</th> |
| 2629 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2630 | <th class="th_tags">Tags</th> |
| 2631 | </tr> |
| 2632 | </thead> |
| 2633 | |
| 2634 | <tbody> |
| 2635 | |
| 2636 | |
| 2637 | |
| 2638 | |
| 2639 | |
| 2640 | |
| 2641 | |
| 2642 | |
| 2643 | |
| 2644 | |
| 2645 | <tr class="entry" id="static_android.control.aeAvailableAntibandingModes"> |
Eino-Ville Talvala | 19ce2c1 | 2013-12-30 12:03:45 -0800 | [diff] [blame] | 2646 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2647 | android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Antibanding<wbr/>Modes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2648 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2649 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2650 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2651 | <span class="entry_type_container">x</span> |
| 2652 | |
| 2653 | <span class="entry_type_array"> |
| 2654 | n |
| 2655 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2656 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2657 | <div class="entry_type_notes">list of enums</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2658 | |
| 2659 | |
| 2660 | </td> <!-- entry_type --> |
| 2661 | |
| 2662 | <td class="entry_description"> |
Eino-Ville Talvala | 19ce2c1 | 2013-12-30 12:03:45 -0800 | [diff] [blame] | 2663 | <p>The set of auto-exposure antibanding modes that are |
| 2664 | supported by this camera device.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2665 | </td> |
| 2666 | |
| 2667 | <td class="entry_units"> |
| 2668 | </td> |
| 2669 | |
| 2670 | <td class="entry_range"> |
| 2671 | </td> |
| 2672 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2673 | <td class="entry_tags"> |
| 2674 | </td> |
| 2675 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2676 | </tr> |
Eino-Ville Talvala | 19ce2c1 | 2013-12-30 12:03:45 -0800 | [diff] [blame] | 2677 | <tr class="entries_header"> |
| 2678 | <th class="th_details" colspan="5">Details</th> |
| 2679 | </tr> |
| 2680 | <tr class="entry_cont"> |
| 2681 | <td class="entry_details" colspan="5"> |
| 2682 | <p>Not all of the auto-exposure anti-banding modes may be |
| 2683 | supported by a given camera device.<wbr/> This field lists the |
| 2684 | valid anti-banding modes that the application may request |
| 2685 | for this camera device; they must include AUTO.<wbr/></p> |
| 2686 | </td> |
| 2687 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2688 | |
| 2689 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2690 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2691 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2692 | |
| 2693 | |
| 2694 | <tr class="entry" id="static_android.control.aeAvailableModes"> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 2695 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2696 | android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Modes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2697 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2698 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2699 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2700 | <span class="entry_type_container">x</span> |
| 2701 | |
| 2702 | <span class="entry_type_array"> |
| 2703 | n |
| 2704 | </span> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 2705 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2706 | <div class="entry_type_notes">list of enums</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2707 | |
| 2708 | |
| 2709 | </td> <!-- entry_type --> |
| 2710 | |
| 2711 | <td class="entry_description"> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 2712 | <p>The set of auto-exposure modes that are supported by this |
| 2713 | camera device.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2714 | </td> |
| 2715 | |
| 2716 | <td class="entry_units"> |
| 2717 | </td> |
| 2718 | |
| 2719 | <td class="entry_range"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2720 | </td> |
| 2721 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2722 | <td class="entry_tags"> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 2723 | <ul class="entry_tags"> |
| 2724 | <li><a href="#tag_BC">BC</a></li> |
| 2725 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2726 | </td> |
| 2727 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2728 | </tr> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 2729 | <tr class="entries_header"> |
| 2730 | <th class="th_details" colspan="5">Details</th> |
| 2731 | </tr> |
| 2732 | <tr class="entry_cont"> |
| 2733 | <td class="entry_details" colspan="5"> |
| 2734 | <p>Not all the auto-exposure modes may be supported by a |
| 2735 | given camera device,<wbr/> especially if no flash unit is |
| 2736 | available.<wbr/> This entry lists the valid modes for |
| 2737 | <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> for this camera device.<wbr/></p> |
| 2738 | <p>All camera devices support ON,<wbr/> and all camera devices with |
| 2739 | flash units support ON_<wbr/>AUTO_<wbr/>FLASH and |
| 2740 | ON_<wbr/>ALWAYS_<wbr/>FLASH.<wbr/></p> |
| 2741 | <p>Full-capability camera devices always support OFF mode,<wbr/> |
| 2742 | which enables application control of camera exposure time,<wbr/> |
| 2743 | sensitivity,<wbr/> and frame duration.<wbr/></p> |
| 2744 | </td> |
| 2745 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2746 | |
| 2747 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2748 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2749 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2750 | |
| 2751 | |
| 2752 | <tr class="entry" id="static_android.control.aeAvailableTargetFpsRanges"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2753 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2754 | android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Target<wbr/>Fps<wbr/>Ranges |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2755 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2756 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2757 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2758 | <span class="entry_type_container">x</span> |
| 2759 | |
| 2760 | <span class="entry_type_array"> |
| 2761 | 2 x n |
| 2762 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2763 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2764 | <div class="entry_type_notes">list of pairs of frame rates</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2765 | |
| 2766 | |
| 2767 | </td> <!-- entry_type --> |
| 2768 | |
| 2769 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2770 | <p>List of frame rate ranges supported by the |
| 2771 | AE algorithm/<wbr/>hardware</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2772 | </td> |
| 2773 | |
| 2774 | <td class="entry_units"> |
| 2775 | </td> |
| 2776 | |
| 2777 | <td class="entry_range"> |
| 2778 | </td> |
| 2779 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2780 | <td class="entry_tags"> |
| 2781 | </td> |
| 2782 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2783 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2784 | |
| 2785 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2786 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2787 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2788 | |
| 2789 | |
| 2790 | <tr class="entry" id="static_android.control.aeCompensationRange"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2791 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2792 | android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Range |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2793 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2794 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2795 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2796 | <span class="entry_type_container">x</span> |
| 2797 | |
| 2798 | <span class="entry_type_array"> |
| 2799 | 2 |
| 2800 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2801 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2802 | |
| 2803 | |
| 2804 | </td> <!-- entry_type --> |
| 2805 | |
| 2806 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2807 | <p>Maximum and minimum exposure compensation |
| 2808 | setting,<wbr/> in counts of |
| 2809 | android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Step<wbr/>Size</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2810 | </td> |
| 2811 | |
| 2812 | <td class="entry_units"> |
| 2813 | </td> |
| 2814 | |
| 2815 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 2816 | <p>At least (-2,<wbr/>2)/<wbr/>(exp compensation step |
| 2817 | size)</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2818 | </td> |
| 2819 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2820 | <td class="entry_tags"> |
| 2821 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 2822 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2823 | </ul> |
| 2824 | </td> |
| 2825 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2826 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2827 | |
| 2828 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2829 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2830 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2831 | |
| 2832 | |
| 2833 | <tr class="entry" id="static_android.control.aeCompensationStep"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2834 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2835 | android.<wbr/>control.<wbr/>ae<wbr/>Compensation<wbr/>Step |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2836 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2837 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2838 | <span class="entry_type_name">rational</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2839 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2840 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2841 | |
| 2842 | |
| 2843 | </td> <!-- entry_type --> |
| 2844 | |
| 2845 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2846 | <p>Smallest step by which exposure compensation |
| 2847 | can be changed</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2848 | </td> |
| 2849 | |
| 2850 | <td class="entry_units"> |
| 2851 | </td> |
| 2852 | |
| 2853 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 2854 | <p><= 1/<wbr/>2</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2855 | </td> |
| 2856 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2857 | <td class="entry_tags"> |
| 2858 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 2859 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2860 | </ul> |
| 2861 | </td> |
| 2862 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2863 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2864 | |
| 2865 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2866 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2867 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2868 | |
| 2869 | |
| 2870 | <tr class="entry" id="static_android.control.afAvailableModes"> |
Zhijun He | f163fa9 | 2014-01-14 09:59:04 -0800 | [diff] [blame] | 2871 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2872 | android.<wbr/>control.<wbr/>af<wbr/>Available<wbr/>Modes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2873 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2874 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2875 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2876 | <span class="entry_type_container">x</span> |
| 2877 | |
| 2878 | <span class="entry_type_array"> |
| 2879 | n |
| 2880 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2881 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2882 | <div class="entry_type_notes">List of enums</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2883 | |
| 2884 | |
| 2885 | </td> <!-- entry_type --> |
| 2886 | |
| 2887 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2888 | <p>List of AF modes that can be |
Zhijun He | f163fa9 | 2014-01-14 09:59:04 -0800 | [diff] [blame] | 2889 | selected with <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2890 | </td> |
| 2891 | |
| 2892 | <td class="entry_units"> |
| 2893 | </td> |
| 2894 | |
| 2895 | <td class="entry_range"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2896 | </td> |
| 2897 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2898 | <td class="entry_tags"> |
| 2899 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 2900 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2901 | </ul> |
| 2902 | </td> |
| 2903 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2904 | </tr> |
Zhijun He | f163fa9 | 2014-01-14 09:59:04 -0800 | [diff] [blame] | 2905 | <tr class="entries_header"> |
| 2906 | <th class="th_details" colspan="5">Details</th> |
| 2907 | </tr> |
| 2908 | <tr class="entry_cont"> |
| 2909 | <td class="entry_details" colspan="5"> |
| 2910 | <p>Not all the auto-focus modes may be supported by a |
| 2911 | given camera device.<wbr/> This entry lists the valid modes for |
| 2912 | <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> for this camera device.<wbr/></p> |
| 2913 | <p>All camera devices will support OFF mode,<wbr/> and all camera devices with |
| 2914 | adjustable focuser units (<code><a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a> > 0</code>) |
| 2915 | will support AUTO mode.<wbr/></p> |
| 2916 | </td> |
| 2917 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2918 | |
| 2919 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2920 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2921 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2922 | |
| 2923 | |
| 2924 | <tr class="entry" id="static_android.control.availableEffects"> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2925 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2926 | android.<wbr/>control.<wbr/>available<wbr/>Effects |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2927 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2928 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2929 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2930 | <span class="entry_type_container">x</span> |
| 2931 | |
| 2932 | <span class="entry_type_array"> |
| 2933 | n |
| 2934 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2935 | <span class="entry_type_visibility"> [public]</span> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2936 | <div class="entry_type_notes">List of enums (android.<wbr/>control.<wbr/>effect<wbr/>Mode).<wbr/></div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2937 | |
| 2938 | |
| 2939 | </td> <!-- entry_type --> |
| 2940 | |
| 2941 | <td class="entry_description"> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2942 | <p>List containing the subset of color effects |
| 2943 | specified in <a href="#controls_android.control.effectMode">android.<wbr/>control.<wbr/>effect<wbr/>Mode</a> that is supported by |
| 2944 | this device.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2945 | </td> |
| 2946 | |
| 2947 | <td class="entry_units"> |
| 2948 | </td> |
| 2949 | |
| 2950 | <td class="entry_range"> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2951 | <p>Any subset of enums from those specified in |
| 2952 | <a href="#controls_android.control.effectMode">android.<wbr/>control.<wbr/>effect<wbr/>Mode</a>.<wbr/> OFF must be included in any subset.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2953 | </td> |
| 2954 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2955 | <td class="entry_tags"> |
| 2956 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 2957 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2958 | </ul> |
| 2959 | </td> |
| 2960 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2961 | </tr> |
Ruben Brunk | b28b35f | 2014-01-14 17:17:19 -0800 | [diff] [blame] | 2962 | <tr class="entries_header"> |
| 2963 | <th class="th_details" colspan="5">Details</th> |
| 2964 | </tr> |
| 2965 | <tr class="entry_cont"> |
| 2966 | <td class="entry_details" colspan="5"> |
| 2967 | <p>This list contains the color effect modes that can be applied to |
| 2968 | images produced by the camera device.<wbr/> Only modes that have |
| 2969 | been fully implemented for the current device may be included here.<wbr/> |
| 2970 | Implementations are not expected to be consistent across all devices.<wbr/> |
| 2971 | If no color effect modes are available for a device,<wbr/> this should |
| 2972 | simply be set to OFF.<wbr/></p> |
| 2973 | <p>A color effect will only be applied if |
| 2974 | <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> != OFF.<wbr/></p> |
| 2975 | </td> |
| 2976 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2977 | |
| 2978 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 2979 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 2980 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2981 | |
| 2982 | |
| 2983 | <tr class="entry" id="static_android.control.availableSceneModes"> |
Ruben Brunk | bf870fc | 2014-01-14 17:46:58 -0800 | [diff] [blame] | 2984 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 2985 | android.<wbr/>control.<wbr/>available<wbr/>Scene<wbr/>Modes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 2986 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2987 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 2988 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2989 | <span class="entry_type_container">x</span> |
| 2990 | |
| 2991 | <span class="entry_type_array"> |
| 2992 | n |
| 2993 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 2994 | <span class="entry_type_visibility"> [public]</span> |
Ruben Brunk | bf870fc | 2014-01-14 17:46:58 -0800 | [diff] [blame] | 2995 | <div class="entry_type_notes">List of enums (android.<wbr/>control.<wbr/>scene<wbr/>Mode).<wbr/></div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 2996 | |
| 2997 | |
| 2998 | </td> <!-- entry_type --> |
| 2999 | |
| 3000 | <td class="entry_description"> |
Ruben Brunk | bf870fc | 2014-01-14 17:46:58 -0800 | [diff] [blame] | 3001 | <p>List containing a subset of scene modes |
| 3002 | specified in <a href="#controls_android.control.sceneMode">android.<wbr/>control.<wbr/>scene<wbr/>Mode</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3003 | </td> |
| 3004 | |
| 3005 | <td class="entry_units"> |
| 3006 | </td> |
| 3007 | |
| 3008 | <td class="entry_range"> |
Ruben Brunk | bf870fc | 2014-01-14 17:46:58 -0800 | [diff] [blame] | 3009 | <p>Any subset of the enums specified in android.<wbr/>control.<wbr/>scene<wbr/>Mode |
| 3010 | not including DISABLED,<wbr/> or solely DISABLED if no |
| 3011 | scene modes are available.<wbr/> FACE_<wbr/>PRIORITY must be included |
| 3012 | if face detection is 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> > 0</code>).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3013 | </td> |
| 3014 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3015 | <td class="entry_tags"> |
| 3016 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 3017 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3018 | </ul> |
| 3019 | </td> |
| 3020 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3021 | </tr> |
Ruben Brunk | bf870fc | 2014-01-14 17:46:58 -0800 | [diff] [blame] | 3022 | <tr class="entries_header"> |
| 3023 | <th class="th_details" colspan="5">Details</th> |
| 3024 | </tr> |
| 3025 | <tr class="entry_cont"> |
| 3026 | <td class="entry_details" colspan="5"> |
| 3027 | <p>This list contains scene modes that can be set for the camera device.<wbr/> |
| 3028 | Only scene modes that have been fully implemented for the |
| 3029 | camera device may be included here.<wbr/> Implementations are not expected |
| 3030 | to be consistent across all devices.<wbr/> If no scene modes are supported |
| 3031 | by the camera device,<wbr/> this will be set to <code>[DISABLED]</code>.<wbr/></p> |
| 3032 | </td> |
| 3033 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3034 | |
| 3035 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3036 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3037 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3038 | |
| 3039 | |
| 3040 | <tr class="entry" id="static_android.control.availableVideoStabilizationModes"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3041 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3042 | android.<wbr/>control.<wbr/>available<wbr/>Video<wbr/>Stabilization<wbr/>Modes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3043 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3044 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 3045 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3046 | <span class="entry_type_container">x</span> |
| 3047 | |
| 3048 | <span class="entry_type_array"> |
| 3049 | n |
| 3050 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3051 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3052 | <div class="entry_type_notes">List of enums.<wbr/></div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3053 | |
| 3054 | |
| 3055 | </td> <!-- entry_type --> |
| 3056 | |
| 3057 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3058 | <p>List of video stabilization modes that can |
| 3059 | be supported</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3060 | </td> |
| 3061 | |
| 3062 | <td class="entry_units"> |
| 3063 | </td> |
| 3064 | |
| 3065 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 3066 | <p>OFF must be included</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3067 | </td> |
| 3068 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3069 | <td class="entry_tags"> |
| 3070 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 3071 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3072 | </ul> |
| 3073 | </td> |
| 3074 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3075 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3076 | |
| 3077 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3078 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3079 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3080 | |
| 3081 | |
| 3082 | <tr class="entry" id="static_android.control.awbAvailableModes"> |
Zhijun He | 7787f7f | 2014-01-14 16:30:31 -0800 | [diff] [blame] | 3083 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3084 | android.<wbr/>control.<wbr/>awb<wbr/>Available<wbr/>Modes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3085 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3086 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 3087 | <span class="entry_type_name">byte</span> |
Alex Ray | a4251d9 | 2013-04-30 16:43:44 -0700 | [diff] [blame] | 3088 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3089 | |
Alex Ray | a4251d9 | 2013-04-30 16:43:44 -0700 | [diff] [blame] | 3090 | <span class="entry_type_array"> |
| 3091 | n |
| 3092 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3093 | <span class="entry_type_visibility"> [public]</span> |
Zhijun He | 7787f7f | 2014-01-14 16:30:31 -0800 | [diff] [blame] | 3094 | <div class="entry_type_notes">List of enums</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3095 | |
| 3096 | |
| 3097 | </td> <!-- entry_type --> |
| 3098 | |
| 3099 | <td class="entry_description"> |
Zhijun He | 7787f7f | 2014-01-14 16:30:31 -0800 | [diff] [blame] | 3100 | <p>The set of auto-white-balance modes (<a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>) |
| 3101 | that are supported by this camera device.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3102 | </td> |
| 3103 | |
| 3104 | <td class="entry_units"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3105 | </td> |
| 3106 | |
| 3107 | <td class="entry_range"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3108 | </td> |
| 3109 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3110 | <td class="entry_tags"> |
| 3111 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 3112 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3113 | </ul> |
| 3114 | </td> |
| 3115 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3116 | </tr> |
Zhijun He | 7787f7f | 2014-01-14 16:30:31 -0800 | [diff] [blame] | 3117 | <tr class="entries_header"> |
| 3118 | <th class="th_details" colspan="5">Details</th> |
| 3119 | </tr> |
| 3120 | <tr class="entry_cont"> |
| 3121 | <td class="entry_details" colspan="5"> |
| 3122 | <p>Not all the auto-white-balance modes may be supported by a |
| 3123 | given camera device.<wbr/> This entry lists the valid modes for |
| 3124 | <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> for this camera device.<wbr/></p> |
| 3125 | <p>All camera devices will support ON mode.<wbr/></p> |
| 3126 | <p>Full-capability camera devices will always support OFF mode,<wbr/> |
| 3127 | which enables application control of white balance,<wbr/> by using |
| 3128 | <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/></p> |
| 3129 | </td> |
| 3130 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3131 | |
| 3132 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3133 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3134 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3135 | |
| 3136 | |
| 3137 | <tr class="entry" id="static_android.control.maxRegions"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3138 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3139 | android.<wbr/>control.<wbr/>max<wbr/>Regions |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3140 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3141 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 3142 | <span class="entry_type_name">int32</span> |
Ruben Brunk | 120eea4 | 2014-01-15 15:55:08 -0800 | [diff] [blame] | 3143 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3144 | |
Ruben Brunk | 120eea4 | 2014-01-15 15:55:08 -0800 | [diff] [blame] | 3145 | <span class="entry_type_array"> |
| 3146 | 3 |
| 3147 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3148 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3149 | |
| 3150 | |
| 3151 | </td> <!-- entry_type --> |
| 3152 | |
| 3153 | <td class="entry_description"> |
Ruben Brunk | 120eea4 | 2014-01-15 15:55:08 -0800 | [diff] [blame] | 3154 | <p>List of the maximum number of regions that can be used for metering in |
| 3155 | auto-exposure (AE),<wbr/> auto-white balance (AWB),<wbr/> and auto-focus (AF); |
| 3156 | this corresponds to the the maximum number of elements in |
| 3157 | <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/> |
| 3158 | and <a href="#controls_android.control.afRegions">android.<wbr/>control.<wbr/>af<wbr/>Regions</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3159 | </td> |
| 3160 | |
| 3161 | <td class="entry_units"> |
| 3162 | </td> |
| 3163 | |
| 3164 | <td class="entry_range"> |
Ruben Brunk | 120eea4 | 2014-01-15 15:55:08 -0800 | [diff] [blame] | 3165 | <p>Value must be >= 0 for each element.<wbr/> For full-capability devices |
| 3166 | this value must be >= 1 for AE and AF.<wbr/> The order of the elements is: |
| 3167 | <code>(AE,<wbr/> AWB,<wbr/> AF)</code>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3168 | </td> |
| 3169 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3170 | <td class="entry_tags"> |
| 3171 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 3172 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3173 | </ul> |
| 3174 | </td> |
| 3175 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3176 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3177 | |
| 3178 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3179 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3180 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3181 | |
| 3182 | |
| 3183 | <tr class="entry" id="static_android.control.sceneModeOverrides"> |
Ruben Brunk | cf77fe9 | 2014-01-14 19:31:21 -0800 | [diff] [blame] | 3184 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3185 | android.<wbr/>control.<wbr/>scene<wbr/>Mode<wbr/>Overrides |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3186 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3187 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 3188 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3189 | <span class="entry_type_container">x</span> |
| 3190 | |
| 3191 | <span class="entry_type_array"> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3192 | 3 x length(availableSceneModes) |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3193 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3194 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3195 | |
| 3196 | |
| 3197 | </td> <!-- entry_type --> |
| 3198 | |
| 3199 | <td class="entry_description"> |
Ruben Brunk | cf77fe9 | 2014-01-14 19:31:21 -0800 | [diff] [blame] | 3200 | <p>Ordered list of auto-exposure,<wbr/> auto-white balance,<wbr/> and auto-focus |
| 3201 | settings to use with each available scene mode.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3202 | </td> |
| 3203 | |
| 3204 | <td class="entry_units"> |
| 3205 | </td> |
| 3206 | |
| 3207 | <td class="entry_range"> |
Ruben Brunk | cf77fe9 | 2014-01-14 19:31:21 -0800 | [diff] [blame] | 3208 | <p>For each available scene mode,<wbr/> the list must contain three |
| 3209 | entries containing the <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/> |
| 3210 | <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 |
| 3211 | by the camera device.<wbr/> The entry order is <code>(aeMode,<wbr/> awbMode,<wbr/> afMode)</code> |
| 3212 | where aeMode has the lowest index position.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3213 | </td> |
| 3214 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3215 | <td class="entry_tags"> |
| 3216 | <ul class="entry_tags"> |
| 3217 | <li><a href="#tag_BC">BC</a></li> |
| 3218 | </ul> |
| 3219 | </td> |
| 3220 | |
| 3221 | </tr> |
| 3222 | <tr class="entries_header"> |
| 3223 | <th class="th_details" colspan="5">Details</th> |
| 3224 | </tr> |
| 3225 | <tr class="entry_cont"> |
| 3226 | <td class="entry_details" colspan="5"> |
Ruben Brunk | cf77fe9 | 2014-01-14 19:31:21 -0800 | [diff] [blame] | 3227 | <p>When a scene mode is enabled,<wbr/> the camera device is expected |
| 3228 | 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/> |
| 3229 | and <a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a> with its preferred settings for |
| 3230 | that scene mode.<wbr/></p> |
| 3231 | <p>The order of this list matches that of availableSceneModes,<wbr/> |
| 3232 | with 3 entries for each mode.<wbr/> The overrides listed |
| 3233 | for FACE_<wbr/>PRIORITY are ignored,<wbr/> since for that |
| 3234 | mode the application-set <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/> |
| 3235 | <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 |
| 3236 | used instead,<wbr/> matching the behavior when android.<wbr/>control.<wbr/>mode |
| 3237 | is set to AUTO.<wbr/> It is recommended that the FACE_<wbr/>PRIORITY |
| 3238 | overrides should be set to 0.<wbr/></p> |
| 3239 | <p>For example,<wbr/> if availableSceneModes contains |
| 3240 | <code>(FACE_<wbr/>PRIORITY,<wbr/> ACTION,<wbr/> NIGHT)</code>,<wbr/> then the camera framework |
| 3241 | expects sceneModeOverrides to have 9 entries formatted like: |
| 3242 | <code>(0,<wbr/> 0,<wbr/> 0,<wbr/> ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/> AUTO,<wbr/> CONTINUOUS_<wbr/>PICTURE,<wbr/> |
| 3243 | ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/> INCANDESCENT,<wbr/> AUTO)</code>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3244 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3245 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3246 | |
Ruben Brunk | cf77fe9 | 2014-01-14 19:31:21 -0800 | [diff] [blame] | 3247 | <tr class="entries_header"> |
| 3248 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 3249 | </tr> |
| 3250 | <tr class="entry_cont"> |
| 3251 | <td class="entry_details" colspan="5"> |
| 3252 | <p>To maintain backward compatibility,<wbr/> this list will be made available |
| 3253 | in the static metadata of the camera service.<wbr/> The camera service will |
| 3254 | use these values to set <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>,<wbr/> |
| 3255 | <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 |
| 3256 | mode other than FACE_<wbr/>PRIORITY.<wbr/></p> |
| 3257 | </td> |
| 3258 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3259 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3260 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3261 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3262 | |
| 3263 | |
| 3264 | |
| 3265 | <!-- end of kind --> |
| 3266 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3267 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3268 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3269 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3270 | <tr> |
| 3271 | <th class="th_name">Property Name</th> |
| 3272 | <th class="th_type">Type</th> |
| 3273 | <th class="th_description">Description</th> |
| 3274 | <th class="th_units">Units</th> |
| 3275 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3276 | <th class="th_tags">Tags</th> |
| 3277 | </tr> |
| 3278 | </thead> |
| 3279 | |
| 3280 | <tbody> |
| 3281 | |
| 3282 | |
| 3283 | |
| 3284 | |
| 3285 | |
| 3286 | |
| 3287 | |
| 3288 | |
| 3289 | |
| 3290 | |
| 3291 | <tr class="entry" id="dynamic_android.control.aePrecaptureId"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3292 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3293 | android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Id |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3294 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3295 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 3296 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3297 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3298 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3299 | |
| 3300 | |
| 3301 | </td> <!-- entry_type --> |
| 3302 | |
| 3303 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3304 | <p>The ID sent with the latest |
| 3305 | CAMERA2_<wbr/>TRIGGER_<wbr/>PRECAPTURE_<wbr/>METERING call</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3306 | </td> |
| 3307 | |
| 3308 | <td class="entry_units"> |
| 3309 | </td> |
| 3310 | |
| 3311 | <td class="entry_range"> |
Zhijun He | 7391bb6 | 2014-02-05 00:09:04 -0800 | [diff] [blame] | 3312 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3313 | </td> |
| 3314 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3315 | <td class="entry_tags"> |
| 3316 | </td> |
| 3317 | |
| 3318 | </tr> |
| 3319 | <tr class="entries_header"> |
| 3320 | <th class="th_details" colspan="5">Details</th> |
| 3321 | </tr> |
| 3322 | <tr class="entry_cont"> |
| 3323 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3324 | <p>Must be 0 if no |
| 3325 | CAMERA2_<wbr/>TRIGGER_<wbr/>PRECAPTURE_<wbr/>METERING trigger received yet |
| 3326 | by HAL.<wbr/> Always updated even if AE algorithm ignores the |
| 3327 | trigger</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3328 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3329 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3330 | |
| 3331 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3332 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3333 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3334 | |
| 3335 | |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 3336 | <tr class="entry" id="dynamic_android.control.aeMode"> |
| 3337 | <td class="entry_name" rowspan="3"> |
| 3338 | android.<wbr/>control.<wbr/>ae<wbr/>Mode |
| 3339 | </td> |
| 3340 | <td class="entry_type"> |
| 3341 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 3342 | |
| 3343 | <span class="entry_type_visibility"> [public]</span> |
| 3344 | |
| 3345 | <ul class="entry_type_enum"> |
| 3346 | <li> |
| 3347 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3348 | <span class="entry_type_enum_notes"><p>The camera device's autoexposure routine is disabled; |
| 3349 | the application-selected <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/> |
| 3350 | <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a> and |
| 3351 | <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> are used by the camera |
| 3352 | device,<wbr/> along with android.<wbr/>flash.<wbr/>* fields,<wbr/> if there's |
| 3353 | a flash unit for this camera device.<wbr/></p></span> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 3354 | </li> |
| 3355 | <li> |
| 3356 | <span class="entry_type_enum_name">ON</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3357 | <span class="entry_type_enum_notes"><p>The camera device's autoexposure routine is active,<wbr/> |
| 3358 | with no flash control.<wbr/> The application's values for |
| 3359 | <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/> |
| 3360 | <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and |
| 3361 | <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a> are ignored.<wbr/> The |
| 3362 | application has control over the various |
| 3363 | android.<wbr/>flash.<wbr/>* fields.<wbr/></p></span> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 3364 | </li> |
| 3365 | <li> |
| 3366 | <span class="entry_type_enum_name">ON_AUTO_FLASH</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3367 | <span class="entry_type_enum_notes"><p>Like ON,<wbr/> except that the camera device also controls |
| 3368 | the camera's flash unit,<wbr/> firing it in low-light |
| 3369 | conditions.<wbr/> The flash may be fired during a |
| 3370 | precapture sequence (triggered by |
| 3371 | <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>) and may be fired |
| 3372 | for captures for which the |
| 3373 | <a href="#controls_android.control.captureIntent">android.<wbr/>control.<wbr/>capture<wbr/>Intent</a> field is set to |
| 3374 | STILL_<wbr/>CAPTURE</p></span> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 3375 | </li> |
| 3376 | <li> |
| 3377 | <span class="entry_type_enum_name">ON_ALWAYS_FLASH</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3378 | <span class="entry_type_enum_notes"><p>Like ON,<wbr/> except that the camera device also controls |
| 3379 | the camera's flash unit,<wbr/> always firing it for still |
| 3380 | captures.<wbr/> The flash may be fired during a precapture |
| 3381 | sequence (triggered by |
| 3382 | <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a>) and will always |
| 3383 | be fired for captures for which the |
| 3384 | <a href="#controls_android.control.captureIntent">android.<wbr/>control.<wbr/>capture<wbr/>Intent</a> field is set to |
| 3385 | STILL_<wbr/>CAPTURE</p></span> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 3386 | </li> |
| 3387 | <li> |
| 3388 | <span class="entry_type_enum_name">ON_AUTO_FLASH_REDEYE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3389 | <span class="entry_type_enum_notes"><p>Like ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/> but with automatic red eye |
| 3390 | reduction.<wbr/> If deemed necessary by the camera device,<wbr/> |
| 3391 | a red eye reduction flash will fire during the |
| 3392 | precapture sequence.<wbr/></p></span> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 3393 | </li> |
| 3394 | </ul> |
| 3395 | |
| 3396 | </td> <!-- entry_type --> |
| 3397 | |
| 3398 | <td class="entry_description"> |
| 3399 | <p>The desired mode for the camera device's |
| 3400 | auto-exposure routine.<wbr/></p> |
| 3401 | </td> |
| 3402 | |
| 3403 | <td class="entry_units"> |
| 3404 | </td> |
| 3405 | |
| 3406 | <td class="entry_range"> |
| 3407 | <p><a href="#static_android.control.aeAvailableModes">android.<wbr/>control.<wbr/>ae<wbr/>Available<wbr/>Modes</a></p> |
| 3408 | </td> |
| 3409 | |
| 3410 | <td class="entry_tags"> |
| 3411 | <ul class="entry_tags"> |
| 3412 | <li><a href="#tag_BC">BC</a></li> |
| 3413 | </ul> |
| 3414 | </td> |
| 3415 | |
| 3416 | </tr> |
| 3417 | <tr class="entries_header"> |
| 3418 | <th class="th_details" colspan="5">Details</th> |
| 3419 | </tr> |
| 3420 | <tr class="entry_cont"> |
| 3421 | <td class="entry_details" colspan="5"> |
| 3422 | <p>This control is only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is |
| 3423 | AUTO.<wbr/></p> |
| 3424 | <p>When set to any of the ON modes,<wbr/> the camera device's |
| 3425 | auto-exposure routine is enabled,<wbr/> overriding the |
| 3426 | application's selected exposure time,<wbr/> sensor sensitivity,<wbr/> |
| 3427 | and frame duration (<a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/> |
| 3428 | <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and |
| 3429 | <a href="#controls_android.sensor.frameDuration">android.<wbr/>sensor.<wbr/>frame<wbr/>Duration</a>).<wbr/> If one of the FLASH modes |
| 3430 | is selected,<wbr/> the camera device's flash unit controls are |
| 3431 | also overridden.<wbr/></p> |
| 3432 | <p>The FLASH modes are only available if the camera device |
| 3433 | 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> |
| 3434 | <p>If flash TORCH mode is desired,<wbr/> this field must be set to |
| 3435 | ON or OFF,<wbr/> and <a href="#controls_android.flash.mode">android.<wbr/>flash.<wbr/>mode</a> set to TORCH.<wbr/></p> |
| 3436 | <p>When set to any of the ON modes,<wbr/> the values chosen by the |
| 3437 | camera device auto-exposure routine for the overridden |
| 3438 | fields for a given capture will be available in its |
| 3439 | CaptureResult.<wbr/></p> |
| 3440 | </td> |
| 3441 | </tr> |
| 3442 | |
| 3443 | |
| 3444 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3445 | <!-- end of entry --> |
| 3446 | |
| 3447 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3448 | <tr class="entry" id="dynamic_android.control.aeRegions"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3449 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3450 | android.<wbr/>control.<wbr/>ae<wbr/>Regions |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3451 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3452 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 3453 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3454 | <span class="entry_type_container">x</span> |
| 3455 | |
| 3456 | <span class="entry_type_array"> |
| 3457 | 5 x area_count |
| 3458 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3459 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3460 | |
| 3461 | |
| 3462 | </td> <!-- entry_type --> |
| 3463 | |
| 3464 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3465 | <p>List of areas to use for |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 3466 | metering.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3467 | </td> |
| 3468 | |
| 3469 | <td class="entry_units"> |
| 3470 | </td> |
| 3471 | |
| 3472 | <td class="entry_range"> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 3473 | <p><code>area_<wbr/>count <= <a href="#static_android.control.maxRegions">android.<wbr/>control.<wbr/>max<wbr/>Regions</a>[0]</code></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3474 | </td> |
| 3475 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3476 | <td class="entry_tags"> |
| 3477 | <ul class="entry_tags"> |
| 3478 | <li><a href="#tag_BC">BC</a></li> |
| 3479 | </ul> |
| 3480 | </td> |
| 3481 | |
| 3482 | </tr> |
| 3483 | <tr class="entries_header"> |
| 3484 | <th class="th_details" colspan="5">Details</th> |
| 3485 | </tr> |
| 3486 | <tr class="entry_cont"> |
| 3487 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3488 | <p>Each area is a rectangle plus weight: xmin,<wbr/> ymin,<wbr/> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 3489 | xmax,<wbr/> ymax,<wbr/> weight.<wbr/> The rectangle is defined to be inclusive of the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3490 | specified coordinates.<wbr/></p> |
| 3491 | <p>The coordinate system is based on the active pixel array,<wbr/> |
| 3492 | with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 3493 | (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/> |
| 3494 | <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3495 | bottom-right pixel in the active pixel array.<wbr/> The weight |
| 3496 | should be nonnegative.<wbr/></p> |
| 3497 | <p>If all regions have 0 weight,<wbr/> then no specific metering area |
| 3498 | needs to be used by the HAL.<wbr/> If the metering region is |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 3499 | outside the current <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a>,<wbr/> the HAL |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 3500 | should ignore the sections outside the region and output the |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 3501 | used sections in the frame metadata.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3502 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3503 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3504 | |
| 3505 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3506 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3507 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3508 | |
| 3509 | |
| 3510 | <tr class="entry" id="dynamic_android.control.aeState"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3511 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3512 | android.<wbr/>control.<wbr/>ae<wbr/>State |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3513 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3514 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 3515 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3516 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3517 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3518 | |
| 3519 | <ul class="entry_type_enum"> |
| 3520 | <li> |
| 3521 | <span class="entry_type_enum_name">INACTIVE</span> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 3522 | <span class="entry_type_enum_notes"><p>AE is off or recently reset.<wbr/> When a camera device is opened,<wbr/> it starts in |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3523 | this state.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3524 | </li> |
| 3525 | <li> |
| 3526 | <span class="entry_type_enum_name">SEARCHING</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3527 | <span class="entry_type_enum_notes"><p>AE doesn't yet have a good set of control values |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 3528 | for the current scene.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3529 | </li> |
| 3530 | <li> |
| 3531 | <span class="entry_type_enum_name">CONVERGED</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3532 | <span class="entry_type_enum_notes"><p>AE has a good set of control values for the |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 3533 | current scene.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3534 | </li> |
| 3535 | <li> |
| 3536 | <span class="entry_type_enum_name">LOCKED</span> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 3537 | <span class="entry_type_enum_notes"><p>AE has been locked.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3538 | </li> |
| 3539 | <li> |
| 3540 | <span class="entry_type_enum_name">FLASH_REQUIRED</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3541 | <span class="entry_type_enum_notes"><p>AE has a good set of control values,<wbr/> but flash |
| 3542 | needs to be fired for good quality still |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 3543 | capture.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3544 | </li> |
| 3545 | <li> |
| 3546 | <span class="entry_type_enum_name">PRECAPTURE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3547 | <span class="entry_type_enum_notes"><p>AE has been asked to do a precapture sequence |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 3548 | (through the <a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a> START),<wbr/> |
| 3549 | and is currently executing it.<wbr/> Once PRECAPTURE |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3550 | completes,<wbr/> AE will transition to CONVERGED or |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 3551 | FLASH_<wbr/>REQUIRED as appropriate.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3552 | </li> |
| 3553 | </ul> |
| 3554 | |
| 3555 | </td> <!-- entry_type --> |
| 3556 | |
| 3557 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3558 | <p>Current state of AE algorithm</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3559 | </td> |
| 3560 | |
| 3561 | <td class="entry_units"> |
| 3562 | </td> |
| 3563 | |
| 3564 | <td class="entry_range"> |
| 3565 | </td> |
| 3566 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3567 | <td class="entry_tags"> |
| 3568 | </td> |
| 3569 | |
| 3570 | </tr> |
| 3571 | <tr class="entries_header"> |
| 3572 | <th class="th_details" colspan="5">Details</th> |
| 3573 | </tr> |
| 3574 | <tr class="entry_cont"> |
| 3575 | <td class="entry_details" colspan="5"> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 3576 | <p>Switching between or enabling AE modes (<a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a>) always |
| 3577 | resets the AE state to INACTIVE.<wbr/> Similarly,<wbr/> switching between <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a>,<wbr/> |
| 3578 | 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 |
| 3579 | the algorithm states to INACTIVE.<wbr/></p> |
| 3580 | <p>The camera device can do several state transitions between two results,<wbr/> if it is |
| 3581 | allowed by the state transition table.<wbr/> For example: INACTIVE may never actually be |
| 3582 | seen in a result.<wbr/></p> |
| 3583 | <p>The state in the result is the state for this image (in sync with this image): if |
| 3584 | AE state becomes CONVERGED,<wbr/> then the image data associated with this result should |
| 3585 | be good to use.<wbr/></p> |
| 3586 | <p>Below are state transition tables for different AE modes.<wbr/></p> |
| 3587 | <table> |
| 3588 | <thead> |
| 3589 | <tr> |
| 3590 | <th align="center">State</th> |
| 3591 | <th align="center">Transition Cause</th> |
| 3592 | <th align="center">New State</th> |
| 3593 | <th align="center">Notes</th> |
| 3594 | </tr> |
| 3595 | </thead> |
| 3596 | <tbody> |
| 3597 | <tr> |
| 3598 | <td align="center">INACTIVE</td> |
| 3599 | <td align="center"></td> |
| 3600 | <td align="center">INACTIVE</td> |
| 3601 | <td align="center">Camera device auto exposure algorithm is disabled</td> |
| 3602 | </tr> |
| 3603 | </tbody> |
| 3604 | </table> |
| 3605 | <p>When <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is AE_<wbr/>MODE_<wbr/>ON_<wbr/>*:</p> |
| 3606 | <table> |
| 3607 | <thead> |
| 3608 | <tr> |
| 3609 | <th align="center">State</th> |
| 3610 | <th align="center">Transition Cause</th> |
| 3611 | <th align="center">New State</th> |
| 3612 | <th align="center">Notes</th> |
| 3613 | </tr> |
| 3614 | </thead> |
| 3615 | <tbody> |
| 3616 | <tr> |
| 3617 | <td align="center">INACTIVE</td> |
| 3618 | <td align="center">Camera device initiates AE scan</td> |
| 3619 | <td align="center">SEARCHING</td> |
| 3620 | <td align="center">Values changing</td> |
| 3621 | </tr> |
| 3622 | <tr> |
| 3623 | <td align="center">INACTIVE</td> |
| 3624 | <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is ON</td> |
| 3625 | <td align="center">LOCKED</td> |
| 3626 | <td align="center">Values locked</td> |
| 3627 | </tr> |
| 3628 | <tr> |
| 3629 | <td align="center">SEARCHING</td> |
| 3630 | <td align="center">Camera device finishes AE scan</td> |
| 3631 | <td align="center">CONVERGED</td> |
| 3632 | <td align="center">Good values,<wbr/> not changing</td> |
| 3633 | </tr> |
| 3634 | <tr> |
| 3635 | <td align="center">SEARCHING</td> |
| 3636 | <td align="center">Camera device finishes AE scan</td> |
| 3637 | <td align="center">FLASH_<wbr/>REQUIRED</td> |
| 3638 | <td align="center">Converged but too dark w/<wbr/>o flash</td> |
| 3639 | </tr> |
| 3640 | <tr> |
| 3641 | <td align="center">SEARCHING</td> |
| 3642 | <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is ON</td> |
| 3643 | <td align="center">LOCKED</td> |
| 3644 | <td align="center">Values locked</td> |
| 3645 | </tr> |
| 3646 | <tr> |
| 3647 | <td align="center">CONVERGED</td> |
| 3648 | <td align="center">Camera device initiates AE scan</td> |
| 3649 | <td align="center">SEARCHING</td> |
| 3650 | <td align="center">Values changing</td> |
| 3651 | </tr> |
| 3652 | <tr> |
| 3653 | <td align="center">CONVERGED</td> |
| 3654 | <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is ON</td> |
| 3655 | <td align="center">LOCKED</td> |
| 3656 | <td align="center">Values locked</td> |
| 3657 | </tr> |
| 3658 | <tr> |
| 3659 | <td align="center">FLASH_<wbr/>REQUIRED</td> |
| 3660 | <td align="center">Camera device initiates AE scan</td> |
| 3661 | <td align="center">SEARCHING</td> |
| 3662 | <td align="center">Values changing</td> |
| 3663 | </tr> |
| 3664 | <tr> |
| 3665 | <td align="center">FLASH_<wbr/>REQUIRED</td> |
| 3666 | <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is ON</td> |
| 3667 | <td align="center">LOCKED</td> |
| 3668 | <td align="center">Values locked</td> |
| 3669 | </tr> |
| 3670 | <tr> |
| 3671 | <td align="center">LOCKED</td> |
| 3672 | <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is OFF</td> |
| 3673 | <td align="center">SEARCHING</td> |
| 3674 | <td align="center">Values not good after unlock</td> |
| 3675 | </tr> |
| 3676 | <tr> |
| 3677 | <td align="center">LOCKED</td> |
| 3678 | <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is OFF</td> |
| 3679 | <td align="center">CONVERGED</td> |
| 3680 | <td align="center">Values good after unlock</td> |
| 3681 | </tr> |
| 3682 | <tr> |
| 3683 | <td align="center">LOCKED</td> |
| 3684 | <td align="center"><a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is OFF</td> |
| 3685 | <td align="center">FLASH_<wbr/>REQUIRED</td> |
| 3686 | <td align="center">Exposure good,<wbr/> but too dark</td> |
| 3687 | </tr> |
| 3688 | <tr> |
| 3689 | <td align="center">PRECAPTURE</td> |
| 3690 | <td align="center">Sequence done.<wbr/> <a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is OFF</td> |
| 3691 | <td align="center">CONVERGED</td> |
| 3692 | <td align="center">Ready for high-quality capture</td> |
| 3693 | </tr> |
| 3694 | <tr> |
| 3695 | <td align="center">PRECAPTURE</td> |
| 3696 | <td align="center">Sequence done.<wbr/> <a href="#controls_android.control.aeLock">android.<wbr/>control.<wbr/>ae<wbr/>Lock</a> is ON</td> |
| 3697 | <td align="center">LOCKED</td> |
| 3698 | <td align="center">Ready for high-quality capture</td> |
| 3699 | </tr> |
| 3700 | <tr> |
| 3701 | <td align="center">Any state</td> |
| 3702 | <td align="center"><a href="#controls_android.control.aePrecaptureTrigger">android.<wbr/>control.<wbr/>ae<wbr/>Precapture<wbr/>Trigger</a> is START</td> |
| 3703 | <td align="center">PRECAPTURE</td> |
| 3704 | <td align="center">Start AE precapture metering sequence</td> |
| 3705 | </tr> |
| 3706 | </tbody> |
| 3707 | </table> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3708 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3709 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3710 | |
| 3711 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3712 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3713 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3714 | |
| 3715 | |
| 3716 | <tr class="entry" id="dynamic_android.control.afMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3717 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3718 | android.<wbr/>control.<wbr/>af<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3719 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3720 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 3721 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3722 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3723 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3724 | |
| 3725 | <ul class="entry_type_enum"> |
| 3726 | <li> |
| 3727 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3728 | <span class="entry_type_enum_notes"><p>The auto-focus routine does not control the lens; |
| 3729 | <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> is controlled by the |
| 3730 | application</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3731 | </li> |
| 3732 | <li> |
| 3733 | <span class="entry_type_enum_name">AUTO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3734 | <span class="entry_type_enum_notes"><p>If lens is not fixed focus.<wbr/></p> |
| 3735 | <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 |
| 3736 | is fixed-focus.<wbr/> In this mode,<wbr/> the lens does not move unless |
| 3737 | the autofocus trigger action is called.<wbr/> When that trigger |
| 3738 | is activated,<wbr/> AF must transition to ACTIVE_<wbr/>SCAN,<wbr/> then to |
| 3739 | the outcome of the scan (FOCUSED or NOT_<wbr/>FOCUSED).<wbr/></p> |
| 3740 | <p>Triggering AF_<wbr/>CANCEL resets the lens position to default,<wbr/> |
| 3741 | and sets the AF state to INACTIVE.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3742 | </li> |
| 3743 | <li> |
| 3744 | <span class="entry_type_enum_name">MACRO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3745 | <span class="entry_type_enum_notes"><p>In this mode,<wbr/> the lens does not move unless the |
| 3746 | autofocus trigger action is called.<wbr/></p> |
| 3747 | <p>When that trigger is activated,<wbr/> AF must transition to |
| 3748 | ACTIVE_<wbr/>SCAN,<wbr/> then to the outcome of the scan (FOCUSED or |
| 3749 | NOT_<wbr/>FOCUSED).<wbr/> Triggering cancel AF resets the lens |
| 3750 | position to default,<wbr/> and sets the AF state to |
| 3751 | INACTIVE.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3752 | </li> |
| 3753 | <li> |
| 3754 | <span class="entry_type_enum_name">CONTINUOUS_VIDEO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3755 | <span class="entry_type_enum_notes"><p>In this mode,<wbr/> the AF algorithm modifies the lens |
| 3756 | position continually to attempt to provide a |
| 3757 | constantly-in-focus image stream.<wbr/></p> |
| 3758 | <p>The focusing behavior should be suitable for good quality |
| 3759 | video recording; typically this means slower focus |
| 3760 | movement and no overshoots.<wbr/> When the AF trigger is not |
| 3761 | involved,<wbr/> the AF algorithm should start in INACTIVE state,<wbr/> |
| 3762 | and then transition into PASSIVE_<wbr/>SCAN and PASSIVE_<wbr/>FOCUSED |
| 3763 | states as appropriate.<wbr/> When the AF trigger is activated,<wbr/> |
| 3764 | the algorithm should immediately transition into |
| 3765 | AF_<wbr/>FOCUSED or AF_<wbr/>NOT_<wbr/>FOCUSED as appropriate,<wbr/> and lock the |
| 3766 | lens position until a cancel AF trigger is received.<wbr/></p> |
| 3767 | <p>Once cancel is received,<wbr/> the algorithm should transition |
| 3768 | back to INACTIVE and resume passive scan.<wbr/> Note that this |
| 3769 | behavior is not identical to CONTINUOUS_<wbr/>PICTURE,<wbr/> since an |
| 3770 | ongoing PASSIVE_<wbr/>SCAN must immediately be |
| 3771 | canceled.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3772 | </li> |
| 3773 | <li> |
| 3774 | <span class="entry_type_enum_name">CONTINUOUS_PICTURE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3775 | <span class="entry_type_enum_notes"><p>In this mode,<wbr/> the AF algorithm modifies the lens |
| 3776 | position continually to attempt to provide a |
| 3777 | constantly-in-focus image stream.<wbr/></p> |
| 3778 | <p>The focusing behavior should be suitable for still image |
| 3779 | capture; typically this means focusing as fast as |
| 3780 | possible.<wbr/> When the AF trigger is not involved,<wbr/> the AF |
| 3781 | algorithm should start in INACTIVE state,<wbr/> and then |
| 3782 | transition into PASSIVE_<wbr/>SCAN and PASSIVE_<wbr/>FOCUSED states as |
| 3783 | appropriate as it attempts to maintain focus.<wbr/> When the AF |
| 3784 | trigger is activated,<wbr/> the algorithm should finish its |
| 3785 | PASSIVE_<wbr/>SCAN if active,<wbr/> and then transition into |
| 3786 | AF_<wbr/>FOCUSED or AF_<wbr/>NOT_<wbr/>FOCUSED as appropriate,<wbr/> and lock the |
| 3787 | lens position until a cancel AF trigger is received.<wbr/></p> |
| 3788 | <p>When the AF cancel trigger is activated,<wbr/> the algorithm |
| 3789 | should transition back to INACTIVE and then act as if it |
| 3790 | has just been started.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3791 | </li> |
| 3792 | <li> |
| 3793 | <span class="entry_type_enum_name">EDOF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3794 | <span class="entry_type_enum_notes"><p>Extended depth of field (digital focus).<wbr/> AF |
| 3795 | trigger is ignored,<wbr/> AF state should always be |
| 3796 | INACTIVE.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3797 | </li> |
| 3798 | </ul> |
| 3799 | |
| 3800 | </td> <!-- entry_type --> |
| 3801 | |
| 3802 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3803 | <p>Whether AF is currently enabled,<wbr/> and what |
| 3804 | mode it is set to</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3805 | </td> |
| 3806 | |
| 3807 | <td class="entry_units"> |
| 3808 | </td> |
| 3809 | |
| 3810 | <td class="entry_range"> |
Zhijun He | 7787f7f | 2014-01-14 16:30:31 -0800 | [diff] [blame] | 3811 | <p><a href="#static_android.control.afAvailableModes">android.<wbr/>control.<wbr/>af<wbr/>Available<wbr/>Modes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3812 | </td> |
| 3813 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3814 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 3815 | <ul class="entry_tags"> |
| 3816 | <li><a href="#tag_BC">BC</a></li> |
| 3817 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3818 | </td> |
| 3819 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3820 | </tr> |
| 3821 | <tr class="entries_header"> |
| 3822 | <th class="th_details" colspan="5">Details</th> |
| 3823 | </tr> |
| 3824 | <tr class="entry_cont"> |
| 3825 | <td class="entry_details" colspan="5"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 3826 | <p>Only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> = AUTO.<wbr/></p> |
Zhijun He | f163fa9 | 2014-01-14 09:59:04 -0800 | [diff] [blame] | 3827 | <p>If the lens is controlled by the camera device auto-focus algorithm,<wbr/> |
| 3828 | the camera device will report the current AF status in android.<wbr/>control.<wbr/>af<wbr/>State |
| 3829 | in result metadata.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3830 | </td> |
| 3831 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3832 | |
| 3833 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3834 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3835 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3836 | |
| 3837 | |
| 3838 | <tr class="entry" id="dynamic_android.control.afRegions"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3839 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3840 | android.<wbr/>control.<wbr/>af<wbr/>Regions |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3841 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3842 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 3843 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3844 | <span class="entry_type_container">x</span> |
| 3845 | |
| 3846 | <span class="entry_type_array"> |
| 3847 | 5 x area_count |
| 3848 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3849 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3850 | |
| 3851 | |
| 3852 | </td> <!-- entry_type --> |
| 3853 | |
| 3854 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3855 | <p>List of areas to use for focus |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 3856 | estimation.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3857 | </td> |
| 3858 | |
| 3859 | <td class="entry_units"> |
| 3860 | </td> |
| 3861 | |
| 3862 | <td class="entry_range"> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 3863 | <p><code>area_<wbr/>count <= <a href="#static_android.control.maxRegions">android.<wbr/>control.<wbr/>max<wbr/>Regions</a>[2]</code></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3864 | </td> |
| 3865 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3866 | <td class="entry_tags"> |
| 3867 | <ul class="entry_tags"> |
| 3868 | <li><a href="#tag_BC">BC</a></li> |
| 3869 | </ul> |
| 3870 | </td> |
| 3871 | |
| 3872 | </tr> |
| 3873 | <tr class="entries_header"> |
| 3874 | <th class="th_details" colspan="5">Details</th> |
| 3875 | </tr> |
| 3876 | <tr class="entry_cont"> |
| 3877 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3878 | <p>Each area is a rectangle plus weight: xmin,<wbr/> ymin,<wbr/> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 3879 | xmax,<wbr/> ymax,<wbr/> weight.<wbr/> The rectangle is defined to be inclusive of the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3880 | specified coordinates.<wbr/></p> |
| 3881 | <p>The coordinate system is based on the active pixel array,<wbr/> |
| 3882 | with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 3883 | (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/> |
| 3884 | <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3885 | bottom-right pixel in the active pixel array.<wbr/> The weight |
| 3886 | should be nonnegative.<wbr/></p> |
| 3887 | <p>If all regions have 0 weight,<wbr/> then no specific focus area |
| 3888 | needs to be used by the HAL.<wbr/> If the focusing region is |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 3889 | outside the current <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a>,<wbr/> the HAL |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 3890 | should ignore the sections outside the region and output the |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 3891 | used sections in the frame metadata.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3892 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3893 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3894 | |
| 3895 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3896 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 3897 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3898 | |
| 3899 | |
| 3900 | <tr class="entry" id="dynamic_android.control.afState"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3901 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3902 | android.<wbr/>control.<wbr/>af<wbr/>State |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 3903 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3904 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 3905 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3906 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 3907 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3908 | |
| 3909 | <ul class="entry_type_enum"> |
| 3910 | <li> |
| 3911 | <span class="entry_type_enum_name">INACTIVE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3912 | <span class="entry_type_enum_notes"><p>AF off or has not yet tried to scan/<wbr/>been asked |
| 3913 | to scan.<wbr/> When a camera device is opened,<wbr/> it starts in |
| 3914 | this state.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3915 | </li> |
| 3916 | <li> |
| 3917 | <span class="entry_type_enum_name">PASSIVE_SCAN</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3918 | <span class="entry_type_enum_notes"><p>if CONTINUOUS_<wbr/>* modes are supported.<wbr/> AF is |
| 3919 | currently doing an AF scan initiated by a continuous |
| 3920 | autofocus mode</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3921 | </li> |
| 3922 | <li> |
| 3923 | <span class="entry_type_enum_name">PASSIVE_FOCUSED</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3924 | <span class="entry_type_enum_notes"><p>if CONTINUOUS_<wbr/>* modes are supported.<wbr/> AF currently |
| 3925 | believes it is in focus,<wbr/> but may restart scanning at |
| 3926 | any time.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3927 | </li> |
| 3928 | <li> |
| 3929 | <span class="entry_type_enum_name">ACTIVE_SCAN</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3930 | <span class="entry_type_enum_notes"><p>if AUTO or MACRO modes are supported.<wbr/> AF is doing |
| 3931 | an AF scan because it was triggered by AF |
| 3932 | trigger</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3933 | </li> |
| 3934 | <li> |
| 3935 | <span class="entry_type_enum_name">FOCUSED_LOCKED</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3936 | <span class="entry_type_enum_notes"><p>if any AF mode besides OFF is supported.<wbr/> AF |
| 3937 | believes it is focused correctly and is |
| 3938 | locked</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3939 | </li> |
| 3940 | <li> |
| 3941 | <span class="entry_type_enum_name">NOT_FOCUSED_LOCKED</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3942 | <span class="entry_type_enum_notes"><p>if any AF mode besides OFF is supported.<wbr/> AF has |
| 3943 | failed to focus successfully and is |
| 3944 | locked</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3945 | </li> |
Eino-Ville Talvala | 492ba7c | 2013-09-20 17:24:00 -0700 | [diff] [blame] | 3946 | <li> |
| 3947 | <span class="entry_type_enum_name">PASSIVE_UNFOCUSED</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 3948 | <span class="entry_type_enum_notes"><p>if CONTINUOUS_<wbr/>* modes are supported.<wbr/> AF finished a |
| 3949 | passive scan without finding focus,<wbr/> and may restart |
| 3950 | scanning at any time.<wbr/></p></span> |
Eino-Ville Talvala | 492ba7c | 2013-09-20 17:24:00 -0700 | [diff] [blame] | 3951 | </li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3952 | </ul> |
| 3953 | |
| 3954 | </td> <!-- entry_type --> |
| 3955 | |
| 3956 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 3957 | <p>Current state of AF algorithm</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 3958 | </td> |
| 3959 | |
| 3960 | <td class="entry_units"> |
| 3961 | </td> |
| 3962 | |
| 3963 | <td class="entry_range"> |
| 3964 | </td> |
| 3965 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 3966 | <td class="entry_tags"> |
| 3967 | </td> |
| 3968 | |
| 3969 | </tr> |
| 3970 | <tr class="entries_header"> |
| 3971 | <th class="th_details" colspan="5">Details</th> |
| 3972 | </tr> |
| 3973 | <tr class="entry_cont"> |
| 3974 | <td class="entry_details" colspan="5"> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 3975 | <p>Switching between or enabling AF modes (<a href="#controls_android.control.afMode">android.<wbr/>control.<wbr/>af<wbr/>Mode</a>) always |
| 3976 | resets the AF state to INACTIVE.<wbr/> Similarly,<wbr/> switching between <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a>,<wbr/> |
| 3977 | 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 |
| 3978 | the algorithm states to INACTIVE.<wbr/></p> |
| 3979 | <p>The camera device can do several state transitions between two results,<wbr/> if it is |
| 3980 | allowed by the state transition table.<wbr/> For example: INACTIVE may never actually be |
| 3981 | seen in a result.<wbr/></p> |
| 3982 | <p>The state in the result is the state for this image (in sync with this image): if |
| 3983 | AF state becomes FOCUSED,<wbr/> then the image data associated with this result should |
| 3984 | be sharp.<wbr/></p> |
| 3985 | <p>Below are state transition tables for different AF modes.<wbr/></p> |
| 3986 | <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> |
| 3987 | <table> |
| 3988 | <thead> |
| 3989 | <tr> |
| 3990 | <th align="center">State</th> |
| 3991 | <th align="center">Transition Cause</th> |
| 3992 | <th align="center">New State</th> |
| 3993 | <th align="center">Notes</th> |
| 3994 | </tr> |
| 3995 | </thead> |
| 3996 | <tbody> |
| 3997 | <tr> |
| 3998 | <td align="center">INACTIVE</td> |
| 3999 | <td align="center"></td> |
| 4000 | <td align="center">INACTIVE</td> |
| 4001 | <td align="center">Never changes</td> |
| 4002 | </tr> |
| 4003 | </tbody> |
| 4004 | </table> |
| 4005 | <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> |
| 4006 | <table> |
| 4007 | <thead> |
| 4008 | <tr> |
| 4009 | <th align="center">State</th> |
| 4010 | <th align="center">Transition Cause</th> |
| 4011 | <th align="center">New State</th> |
| 4012 | <th align="center">Notes</th> |
| 4013 | </tr> |
| 4014 | </thead> |
| 4015 | <tbody> |
| 4016 | <tr> |
| 4017 | <td align="center">INACTIVE</td> |
| 4018 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4019 | <td align="center">ACTIVE_<wbr/>SCAN</td> |
| 4020 | <td align="center">Start AF sweep,<wbr/> Lens now moving</td> |
| 4021 | </tr> |
| 4022 | <tr> |
| 4023 | <td align="center">ACTIVE_<wbr/>SCAN</td> |
| 4024 | <td align="center">AF sweep done</td> |
| 4025 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4026 | <td align="center">Focused,<wbr/> Lens now locked</td> |
| 4027 | </tr> |
| 4028 | <tr> |
| 4029 | <td align="center">ACTIVE_<wbr/>SCAN</td> |
| 4030 | <td align="center">AF sweep done</td> |
| 4031 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4032 | <td align="center">Not focused,<wbr/> Lens now locked</td> |
| 4033 | </tr> |
| 4034 | <tr> |
| 4035 | <td align="center">ACTIVE_<wbr/>SCAN</td> |
| 4036 | <td align="center">AF_<wbr/>CANCEL</td> |
| 4037 | <td align="center">INACTIVE</td> |
| 4038 | <td align="center">Cancel/<wbr/>reset AF,<wbr/> Lens now locked</td> |
| 4039 | </tr> |
| 4040 | <tr> |
| 4041 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4042 | <td align="center">AF_<wbr/>CANCEL</td> |
| 4043 | <td align="center">INACTIVE</td> |
| 4044 | <td align="center">Cancel/<wbr/>reset AF</td> |
| 4045 | </tr> |
| 4046 | <tr> |
| 4047 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4048 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4049 | <td align="center">ACTIVE_<wbr/>SCAN</td> |
| 4050 | <td align="center">Start new sweep,<wbr/> Lens now moving</td> |
| 4051 | </tr> |
| 4052 | <tr> |
| 4053 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4054 | <td align="center">AF_<wbr/>CANCEL</td> |
| 4055 | <td align="center">INACTIVE</td> |
| 4056 | <td align="center">Cancel/<wbr/>reset AF</td> |
| 4057 | </tr> |
| 4058 | <tr> |
| 4059 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4060 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4061 | <td align="center">ACTIVE_<wbr/>SCAN</td> |
| 4062 | <td align="center">Start new sweep,<wbr/> Lens now moving</td> |
| 4063 | </tr> |
| 4064 | <tr> |
| 4065 | <td align="center">Any state</td> |
| 4066 | <td align="center">Mode change</td> |
| 4067 | <td align="center">INACTIVE</td> |
| 4068 | <td align="center"></td> |
| 4069 | </tr> |
| 4070 | </tbody> |
| 4071 | </table> |
| 4072 | <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> |
| 4073 | <table> |
| 4074 | <thead> |
| 4075 | <tr> |
| 4076 | <th align="center">State</th> |
| 4077 | <th align="center">Transition Cause</th> |
| 4078 | <th align="center">New State</th> |
| 4079 | <th align="center">Notes</th> |
| 4080 | </tr> |
| 4081 | </thead> |
| 4082 | <tbody> |
| 4083 | <tr> |
| 4084 | <td align="center">INACTIVE</td> |
| 4085 | <td align="center">Camera device initiates new scan</td> |
| 4086 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4087 | <td align="center">Start AF scan,<wbr/> Lens now moving</td> |
| 4088 | </tr> |
| 4089 | <tr> |
| 4090 | <td align="center">INACTIVE</td> |
| 4091 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4092 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4093 | <td align="center">AF state query,<wbr/> Lens now locked</td> |
| 4094 | </tr> |
| 4095 | <tr> |
| 4096 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4097 | <td align="center">Camera device completes current scan</td> |
| 4098 | <td align="center">PASSIVE_<wbr/>FOCUSED</td> |
| 4099 | <td align="center">End AF scan,<wbr/> Lens now locked</td> |
| 4100 | </tr> |
| 4101 | <tr> |
| 4102 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4103 | <td align="center">Camera device fails current scan</td> |
| 4104 | <td align="center">PASSIVE_<wbr/>UNFOCUSED</td> |
| 4105 | <td align="center">End AF scan,<wbr/> Lens now locked</td> |
| 4106 | </tr> |
| 4107 | <tr> |
| 4108 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4109 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4110 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4111 | <td align="center">Immediate trans.<wbr/> If focus is good,<wbr/> Lens now locked</td> |
| 4112 | </tr> |
| 4113 | <tr> |
| 4114 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4115 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4116 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4117 | <td align="center">Immediate trans.<wbr/> if focus is bad,<wbr/> Lens now locked</td> |
| 4118 | </tr> |
| 4119 | <tr> |
| 4120 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4121 | <td align="center">AF_<wbr/>CANCEL</td> |
| 4122 | <td align="center">INACTIVE</td> |
| 4123 | <td align="center">Reset lens position,<wbr/> Lens now locked</td> |
| 4124 | </tr> |
| 4125 | <tr> |
| 4126 | <td align="center">PASSIVE_<wbr/>FOCUSED</td> |
| 4127 | <td align="center">Camera device initiates new scan</td> |
| 4128 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4129 | <td align="center">Start AF scan,<wbr/> Lens now moving</td> |
| 4130 | </tr> |
| 4131 | <tr> |
| 4132 | <td align="center">PASSIVE_<wbr/>UNFOCUSED</td> |
| 4133 | <td align="center">Camera device initiates new scan</td> |
| 4134 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4135 | <td align="center">Start AF scan,<wbr/> Lens now moving</td> |
| 4136 | </tr> |
| 4137 | <tr> |
| 4138 | <td align="center">PASSIVE_<wbr/>FOCUSED</td> |
| 4139 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4140 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4141 | <td align="center">Immediate trans.<wbr/> Lens now locked</td> |
| 4142 | </tr> |
| 4143 | <tr> |
| 4144 | <td align="center">PASSIVE_<wbr/>UNFOCUSED</td> |
| 4145 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4146 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4147 | <td align="center">Immediate trans.<wbr/> Lens now locked</td> |
| 4148 | </tr> |
| 4149 | <tr> |
| 4150 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4151 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4152 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4153 | <td align="center">No effect</td> |
| 4154 | </tr> |
| 4155 | <tr> |
| 4156 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4157 | <td align="center">AF_<wbr/>CANCEL</td> |
| 4158 | <td align="center">INACTIVE</td> |
| 4159 | <td align="center">Restart AF scan</td> |
| 4160 | </tr> |
| 4161 | <tr> |
| 4162 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4163 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4164 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4165 | <td align="center">No effect</td> |
| 4166 | </tr> |
| 4167 | <tr> |
| 4168 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4169 | <td align="center">AF_<wbr/>CANCEL</td> |
| 4170 | <td align="center">INACTIVE</td> |
| 4171 | <td align="center">Restart AF scan</td> |
| 4172 | </tr> |
| 4173 | </tbody> |
| 4174 | </table> |
| 4175 | <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> |
| 4176 | <table> |
| 4177 | <thead> |
| 4178 | <tr> |
| 4179 | <th align="center">State</th> |
| 4180 | <th align="center">Transition Cause</th> |
| 4181 | <th align="center">New State</th> |
| 4182 | <th align="center">Notes</th> |
| 4183 | </tr> |
| 4184 | </thead> |
| 4185 | <tbody> |
| 4186 | <tr> |
| 4187 | <td align="center">INACTIVE</td> |
| 4188 | <td align="center">Camera device initiates new scan</td> |
| 4189 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4190 | <td align="center">Start AF scan,<wbr/> Lens now moving</td> |
| 4191 | </tr> |
| 4192 | <tr> |
| 4193 | <td align="center">INACTIVE</td> |
| 4194 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4195 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4196 | <td align="center">AF state query,<wbr/> Lens now locked</td> |
| 4197 | </tr> |
| 4198 | <tr> |
| 4199 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4200 | <td align="center">Camera device completes current scan</td> |
| 4201 | <td align="center">PASSIVE_<wbr/>FOCUSED</td> |
| 4202 | <td align="center">End AF scan,<wbr/> Lens now locked</td> |
| 4203 | </tr> |
| 4204 | <tr> |
| 4205 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4206 | <td align="center">Camera device fails current scan</td> |
| 4207 | <td align="center">PASSIVE_<wbr/>UNFOCUSED</td> |
| 4208 | <td align="center">End AF scan,<wbr/> Lens now locked</td> |
| 4209 | </tr> |
| 4210 | <tr> |
| 4211 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4212 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4213 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4214 | <td align="center">Eventual trans.<wbr/> once focus good,<wbr/> Lens now locked</td> |
| 4215 | </tr> |
| 4216 | <tr> |
| 4217 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4218 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4219 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4220 | <td align="center">Eventual trans.<wbr/> if cannot focus,<wbr/> Lens now locked</td> |
| 4221 | </tr> |
| 4222 | <tr> |
| 4223 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4224 | <td align="center">AF_<wbr/>CANCEL</td> |
| 4225 | <td align="center">INACTIVE</td> |
| 4226 | <td align="center">Reset lens position,<wbr/> Lens now locked</td> |
| 4227 | </tr> |
| 4228 | <tr> |
| 4229 | <td align="center">PASSIVE_<wbr/>FOCUSED</td> |
| 4230 | <td align="center">Camera device initiates new scan</td> |
| 4231 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4232 | <td align="center">Start AF scan,<wbr/> Lens now moving</td> |
| 4233 | </tr> |
| 4234 | <tr> |
| 4235 | <td align="center">PASSIVE_<wbr/>UNFOCUSED</td> |
| 4236 | <td align="center">Camera device initiates new scan</td> |
| 4237 | <td align="center">PASSIVE_<wbr/>SCAN</td> |
| 4238 | <td align="center">Start AF scan,<wbr/> Lens now moving</td> |
| 4239 | </tr> |
| 4240 | <tr> |
| 4241 | <td align="center">PASSIVE_<wbr/>FOCUSED</td> |
| 4242 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4243 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4244 | <td align="center">Immediate trans.<wbr/> Lens now locked</td> |
| 4245 | </tr> |
| 4246 | <tr> |
| 4247 | <td align="center">PASSIVE_<wbr/>UNFOCUSED</td> |
| 4248 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4249 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4250 | <td align="center">Immediate trans.<wbr/> Lens now locked</td> |
| 4251 | </tr> |
| 4252 | <tr> |
| 4253 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4254 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4255 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4256 | <td align="center">No effect</td> |
| 4257 | </tr> |
| 4258 | <tr> |
| 4259 | <td align="center">FOCUSED_<wbr/>LOCKED</td> |
| 4260 | <td align="center">AF_<wbr/>CANCEL</td> |
| 4261 | <td align="center">INACTIVE</td> |
| 4262 | <td align="center">Restart AF scan</td> |
| 4263 | </tr> |
| 4264 | <tr> |
| 4265 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4266 | <td align="center">AF_<wbr/>TRIGGER</td> |
| 4267 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4268 | <td align="center">No effect</td> |
| 4269 | </tr> |
| 4270 | <tr> |
| 4271 | <td align="center">NOT_<wbr/>FOCUSED_<wbr/>LOCKED</td> |
| 4272 | <td align="center">AF_<wbr/>CANCEL</td> |
| 4273 | <td align="center">INACTIVE</td> |
| 4274 | <td align="center">Restart AF scan</td> |
| 4275 | </tr> |
| 4276 | </tbody> |
| 4277 | </table> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4278 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4279 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4280 | |
| 4281 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4282 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 4283 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4284 | |
| 4285 | |
| 4286 | <tr class="entry" id="dynamic_android.control.afTriggerId"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4287 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4288 | android.<wbr/>control.<wbr/>af<wbr/>Trigger<wbr/>Id |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4289 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4290 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 4291 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4292 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4293 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4294 | |
| 4295 | |
| 4296 | </td> <!-- entry_type --> |
| 4297 | |
| 4298 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4299 | <p>The ID sent with the latest |
| 4300 | CAMERA2_<wbr/>TRIGGER_<wbr/>AUTOFOCUS call</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4301 | </td> |
| 4302 | |
| 4303 | <td class="entry_units"> |
| 4304 | </td> |
| 4305 | |
| 4306 | <td class="entry_range"> |
Zhijun He | 7391bb6 | 2014-02-05 00:09:04 -0800 | [diff] [blame] | 4307 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4308 | </td> |
| 4309 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4310 | <td class="entry_tags"> |
| 4311 | </td> |
| 4312 | |
| 4313 | </tr> |
| 4314 | <tr class="entries_header"> |
| 4315 | <th class="th_details" colspan="5">Details</th> |
| 4316 | </tr> |
| 4317 | <tr class="entry_cont"> |
| 4318 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4319 | <p>Must be 0 if no CAMERA2_<wbr/>TRIGGER_<wbr/>AUTOFOCUS trigger |
| 4320 | received yet by HAL.<wbr/> Always updated even if AF algorithm |
| 4321 | ignores the trigger</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4322 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4323 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4324 | |
| 4325 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4326 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 4327 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4328 | |
| 4329 | |
| 4330 | <tr class="entry" id="dynamic_android.control.awbMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4331 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4332 | android.<wbr/>control.<wbr/>awb<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4333 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4334 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 4335 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4336 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4337 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4338 | |
| 4339 | <ul class="entry_type_enum"> |
| 4340 | <li> |
| 4341 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4342 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 4343 | the application-selected color transform matrix |
| 4344 | (<a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>) and gains |
| 4345 | (<a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a>) are used by the camera |
| 4346 | device for manual white balance control.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4347 | </li> |
| 4348 | <li> |
| 4349 | <span class="entry_type_enum_name">AUTO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4350 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is active; |
| 4351 | the application's values for android.<wbr/>color<wbr/>Correction.<wbr/>transform |
| 4352 | and <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> are ignored.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4353 | </li> |
| 4354 | <li> |
| 4355 | <span class="entry_type_enum_name">INCANDESCENT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4356 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 4357 | the camera device uses incandescent light as the assumed scene |
| 4358 | illumination for white balance.<wbr/> While the exact white balance |
| 4359 | transforms are up to the camera device,<wbr/> they will approximately |
| 4360 | match the CIE standard illuminant A.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4361 | </li> |
| 4362 | <li> |
| 4363 | <span class="entry_type_enum_name">FLUORESCENT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4364 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 4365 | the camera device uses fluorescent light as the assumed scene |
| 4366 | illumination for white balance.<wbr/> While the exact white balance |
| 4367 | transforms are up to the camera device,<wbr/> they will approximately |
| 4368 | match the CIE standard illuminant F2.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4369 | </li> |
| 4370 | <li> |
| 4371 | <span class="entry_type_enum_name">WARM_FLUORESCENT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4372 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 4373 | the camera device uses warm fluorescent light as the assumed scene |
| 4374 | illumination for white balance.<wbr/> While the exact white balance |
| 4375 | transforms are up to the camera device,<wbr/> they will approximately |
| 4376 | match the CIE standard illuminant F4.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4377 | </li> |
| 4378 | <li> |
| 4379 | <span class="entry_type_enum_name">DAYLIGHT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4380 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 4381 | the camera device uses daylight light as the assumed scene |
| 4382 | illumination for white balance.<wbr/> While the exact white balance |
| 4383 | transforms are up to the camera device,<wbr/> they will approximately |
| 4384 | match the CIE standard illuminant D65.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4385 | </li> |
| 4386 | <li> |
| 4387 | <span class="entry_type_enum_name">CLOUDY_DAYLIGHT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4388 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 4389 | the camera device uses cloudy daylight light as the assumed scene |
| 4390 | illumination for white balance.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4391 | </li> |
| 4392 | <li> |
| 4393 | <span class="entry_type_enum_name">TWILIGHT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4394 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 4395 | the camera device uses twilight light as the assumed scene |
| 4396 | illumination for white balance.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4397 | </li> |
| 4398 | <li> |
| 4399 | <span class="entry_type_enum_name">SHADE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4400 | <span class="entry_type_enum_notes"><p>The camera device's auto white balance routine is disabled; |
| 4401 | the camera device uses shade light as the assumed scene |
| 4402 | illumination for white balance.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4403 | </li> |
| 4404 | </ul> |
| 4405 | |
| 4406 | </td> <!-- entry_type --> |
| 4407 | |
| 4408 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4409 | <p>Whether AWB is currently setting the color |
| 4410 | transform fields,<wbr/> and what its illumination target |
| 4411 | is</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4412 | </td> |
| 4413 | |
| 4414 | <td class="entry_units"> |
| 4415 | </td> |
| 4416 | |
| 4417 | <td class="entry_range"> |
Zhijun He | 7787f7f | 2014-01-14 16:30:31 -0800 | [diff] [blame] | 4418 | <p><a href="#static_android.control.awbAvailableModes">android.<wbr/>control.<wbr/>awb<wbr/>Available<wbr/>Modes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4419 | </td> |
| 4420 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4421 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 4422 | <ul class="entry_tags"> |
| 4423 | <li><a href="#tag_BC">BC</a></li> |
| 4424 | <li><a href="#tag_AWB">AWB</a></li> |
| 4425 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4426 | </td> |
| 4427 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4428 | </tr> |
| 4429 | <tr class="entries_header"> |
| 4430 | <th class="th_details" colspan="5">Details</th> |
| 4431 | </tr> |
| 4432 | <tr class="entry_cont"> |
| 4433 | <td class="entry_details" colspan="5"> |
Zhijun He | 7787f7f | 2014-01-14 16:30:31 -0800 | [diff] [blame] | 4434 | <p>This control is only effective if <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a> is AUTO.<wbr/></p> |
| 4435 | <p>When set to the ON mode,<wbr/> the camera device's auto white balance |
| 4436 | routine is enabled,<wbr/> overriding the application's selected |
| 4437 | <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 |
| 4438 | <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a>.<wbr/></p> |
| 4439 | <p>When set to the OFF mode,<wbr/> the camera device's auto white balance |
| 4440 | routine is disabled.<wbr/> The applicantion manually controls the white |
| 4441 | balance by <a href="#controls_android.colorCorrection.transform">android.<wbr/>color<wbr/>Correction.<wbr/>transform</a>,<wbr/> android.<wbr/>color<wbr/>Correction.<wbr/>gains |
| 4442 | and <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a>.<wbr/></p> |
| 4443 | <p>When set to any other modes,<wbr/> the camera device's auto white balance |
| 4444 | routine is disabled.<wbr/> The camera device uses each particular illumination |
| 4445 | target for white balance adjustment.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4446 | </td> |
| 4447 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4448 | |
| 4449 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4450 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 4451 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4452 | |
| 4453 | |
| 4454 | <tr class="entry" id="dynamic_android.control.awbRegions"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4455 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4456 | android.<wbr/>control.<wbr/>awb<wbr/>Regions |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4457 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4458 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 4459 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4460 | <span class="entry_type_container">x</span> |
| 4461 | |
| 4462 | <span class="entry_type_array"> |
| 4463 | 5 x area_count |
| 4464 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4465 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4466 | |
| 4467 | |
| 4468 | </td> <!-- entry_type --> |
| 4469 | |
| 4470 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4471 | <p>List of areas to use for illuminant |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 4472 | estimation.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4473 | </td> |
| 4474 | |
| 4475 | <td class="entry_units"> |
| 4476 | </td> |
| 4477 | |
| 4478 | <td class="entry_range"> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 4479 | <p><code>area_<wbr/>count <= <a href="#static_android.control.maxRegions">android.<wbr/>control.<wbr/>max<wbr/>Regions</a>[1]</code></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4480 | </td> |
| 4481 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4482 | <td class="entry_tags"> |
| 4483 | <ul class="entry_tags"> |
| 4484 | <li><a href="#tag_BC">BC</a></li> |
| 4485 | </ul> |
| 4486 | </td> |
| 4487 | |
| 4488 | </tr> |
| 4489 | <tr class="entries_header"> |
| 4490 | <th class="th_details" colspan="5">Details</th> |
| 4491 | </tr> |
| 4492 | <tr class="entry_cont"> |
| 4493 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4494 | <p>Only used in AUTO mode.<wbr/></p> |
| 4495 | <p>Each area is a rectangle plus weight: xmin,<wbr/> ymin,<wbr/> |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 4496 | xmax,<wbr/> ymax,<wbr/> weight.<wbr/> The rectangle is defined to be inclusive of the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4497 | specified coordinates.<wbr/></p> |
| 4498 | <p>The coordinate system is based on the active pixel array,<wbr/> |
| 4499 | with (0,<wbr/>0) being the top-left pixel in the active pixel array,<wbr/> and |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 4500 | (<a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>width - 1,<wbr/> |
| 4501 | <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>.<wbr/>height - 1) being the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4502 | bottom-right pixel in the active pixel array.<wbr/> The weight |
| 4503 | should be nonnegative.<wbr/></p> |
| 4504 | <p>If all regions have 0 weight,<wbr/> then no specific metering area |
| 4505 | needs to be used by the HAL.<wbr/> If the metering region is |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 4506 | outside the current <a href="#controls_android.scaler.cropRegion">android.<wbr/>scaler.<wbr/>crop<wbr/>Region</a>,<wbr/> the HAL |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 4507 | should ignore the sections outside the region and output the |
Ruben Brunk | 76e4c7d | 2014-01-31 11:05:30 -0800 | [diff] [blame] | 4508 | used sections in the frame metadata.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4509 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4510 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4511 | |
| 4512 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4513 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 4514 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4515 | |
| 4516 | |
| 4517 | <tr class="entry" id="dynamic_android.control.awbState"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4518 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4519 | android.<wbr/>control.<wbr/>awb<wbr/>State |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4520 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4521 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 4522 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4523 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4524 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4525 | |
| 4526 | <ul class="entry_type_enum"> |
| 4527 | <li> |
| 4528 | <span class="entry_type_enum_name">INACTIVE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4529 | <span class="entry_type_enum_notes"><p>AWB is not in auto mode.<wbr/> When a camera device is opened,<wbr/> it |
| 4530 | starts in this state.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4531 | </li> |
| 4532 | <li> |
| 4533 | <span class="entry_type_enum_name">SEARCHING</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4534 | <span class="entry_type_enum_notes"><p>AWB doesn't yet have a good set of control |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 4535 | values for the current scene.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4536 | </li> |
| 4537 | <li> |
| 4538 | <span class="entry_type_enum_name">CONVERGED</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4539 | <span class="entry_type_enum_notes"><p>AWB has a good set of control values for the |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 4540 | current scene.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4541 | </li> |
| 4542 | <li> |
| 4543 | <span class="entry_type_enum_name">LOCKED</span> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 4544 | <span class="entry_type_enum_notes"><p>AWB has been locked.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4545 | </li> |
| 4546 | </ul> |
| 4547 | |
| 4548 | </td> <!-- entry_type --> |
| 4549 | |
| 4550 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4551 | <p>Current state of AWB algorithm</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4552 | </td> |
| 4553 | |
| 4554 | <td class="entry_units"> |
| 4555 | </td> |
| 4556 | |
| 4557 | <td class="entry_range"> |
| 4558 | </td> |
| 4559 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4560 | <td class="entry_tags"> |
| 4561 | </td> |
| 4562 | |
| 4563 | </tr> |
| 4564 | <tr class="entries_header"> |
| 4565 | <th class="th_details" colspan="5">Details</th> |
| 4566 | </tr> |
| 4567 | <tr class="entry_cont"> |
| 4568 | <td class="entry_details" colspan="5"> |
Zhijun He | 92e698d | 2014-01-13 16:24:31 -0800 | [diff] [blame] | 4569 | <p>Switching between or enabling AWB modes (<a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a>) always |
| 4570 | resets the AWB state to INACTIVE.<wbr/> Similarly,<wbr/> switching between <a href="#controls_android.control.mode">android.<wbr/>control.<wbr/>mode</a>,<wbr/> |
| 4571 | 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 |
| 4572 | the algorithm states to INACTIVE.<wbr/></p> |
| 4573 | <p>The camera device can do several state transitions between two results,<wbr/> if it is |
| 4574 | allowed by the state transition table.<wbr/> So INACTIVE may never actually be seen in |
| 4575 | a result.<wbr/></p> |
| 4576 | <p>The state in the result is the state for this image (in sync with this image): if |
| 4577 | AWB state becomes CONVERGED,<wbr/> then the image data associated with this result should |
| 4578 | be good to use.<wbr/></p> |
| 4579 | <p>Below are state transition tables for different AWB modes.<wbr/></p> |
| 4580 | <p>When <code><a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> != AWB_<wbr/>MODE_<wbr/>AUTO</code>:</p> |
| 4581 | <table> |
| 4582 | <thead> |
| 4583 | <tr> |
| 4584 | <th align="center">State</th> |
| 4585 | <th align="center">Transition Cause</th> |
| 4586 | <th align="center">New State</th> |
| 4587 | <th align="center">Notes</th> |
| 4588 | </tr> |
| 4589 | </thead> |
| 4590 | <tbody> |
| 4591 | <tr> |
| 4592 | <td align="center">INACTIVE</td> |
| 4593 | <td align="center"></td> |
| 4594 | <td align="center">INACTIVE</td> |
| 4595 | <td align="center">Camera device auto white balance algorithm is disabled</td> |
| 4596 | </tr> |
| 4597 | </tbody> |
| 4598 | </table> |
| 4599 | <p>When <a href="#controls_android.control.awbMode">android.<wbr/>control.<wbr/>awb<wbr/>Mode</a> is AWB_<wbr/>MODE_<wbr/>AUTO:</p> |
| 4600 | <table> |
| 4601 | <thead> |
| 4602 | <tr> |
| 4603 | <th align="center">State</th> |
| 4604 | <th align="center">Transition Cause</th> |
| 4605 | <th align="center">New State</th> |
| 4606 | <th align="center">Notes</th> |
| 4607 | </tr> |
| 4608 | </thead> |
| 4609 | <tbody> |
| 4610 | <tr> |
| 4611 | <td align="center">INACTIVE</td> |
| 4612 | <td align="center">Camera device initiates AWB scan</td> |
| 4613 | <td align="center">SEARCHING</td> |
| 4614 | <td align="center">Values changing</td> |
| 4615 | </tr> |
| 4616 | <tr> |
| 4617 | <td align="center">INACTIVE</td> |
| 4618 | <td align="center"><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a> is ON</td> |
| 4619 | <td align="center">LOCKED</td> |
| 4620 | <td align="center">Values locked</td> |
| 4621 | </tr> |
| 4622 | <tr> |
| 4623 | <td align="center">SEARCHING</td> |
| 4624 | <td align="center">Camera device finishes AWB scan</td> |
| 4625 | <td align="center">CONVERGED</td> |
| 4626 | <td align="center">Good values,<wbr/> not changing</td> |
| 4627 | </tr> |
| 4628 | <tr> |
| 4629 | <td align="center">SEARCHING</td> |
| 4630 | <td align="center"><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a> is ON</td> |
| 4631 | <td align="center">LOCKED</td> |
| 4632 | <td align="center">Values locked</td> |
| 4633 | </tr> |
| 4634 | <tr> |
| 4635 | <td align="center">CONVERGED</td> |
| 4636 | <td align="center">Camera device initiates AWB scan</td> |
| 4637 | <td align="center">SEARCHING</td> |
| 4638 | <td align="center">Values changing</td> |
| 4639 | </tr> |
| 4640 | <tr> |
| 4641 | <td align="center">CONVERGED</td> |
| 4642 | <td align="center"><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a> is ON</td> |
| 4643 | <td align="center">LOCKED</td> |
| 4644 | <td align="center">Values locked</td> |
| 4645 | </tr> |
| 4646 | <tr> |
| 4647 | <td align="center">LOCKED</td> |
| 4648 | <td align="center"><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a> is OFF</td> |
| 4649 | <td align="center">SEARCHING</td> |
| 4650 | <td align="center">Values not good after unlock</td> |
| 4651 | </tr> |
| 4652 | <tr> |
| 4653 | <td align="center">LOCKED</td> |
| 4654 | <td align="center"><a href="#controls_android.control.awbLock">android.<wbr/>control.<wbr/>awb<wbr/>Lock</a> is OFF</td> |
| 4655 | <td align="center">CONVERGED</td> |
| 4656 | <td align="center">Values good after unlock</td> |
| 4657 | </tr> |
| 4658 | </tbody> |
| 4659 | </table> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4660 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4661 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4662 | |
| 4663 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4664 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 4665 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4666 | |
| 4667 | |
| 4668 | <tr class="entry" id="dynamic_android.control.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4669 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4670 | android.<wbr/>control.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4671 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4672 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 4673 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4674 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4675 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4676 | |
| 4677 | <ul class="entry_type_enum"> |
| 4678 | <li> |
| 4679 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4680 | <span class="entry_type_enum_notes"><p>Full application control of pipeline.<wbr/> All 3A |
| 4681 | routines are disabled,<wbr/> no other settings in |
| 4682 | android.<wbr/>control.<wbr/>* have any effect</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4683 | </li> |
| 4684 | <li> |
| 4685 | <span class="entry_type_enum_name">AUTO</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4686 | <span class="entry_type_enum_notes"><p>Use settings for each individual 3A routine.<wbr/> |
| 4687 | Manual control of capture parameters is disabled.<wbr/> All |
| 4688 | controls in android.<wbr/>control.<wbr/>* besides sceneMode take |
| 4689 | effect</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4690 | </li> |
| 4691 | <li> |
| 4692 | <span class="entry_type_enum_name">USE_SCENE_MODE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4693 | <span class="entry_type_enum_notes"><p>Use specific scene mode.<wbr/> Enabling this disables |
| 4694 | control.<wbr/>aeMode,<wbr/> control.<wbr/>awbMode and control.<wbr/>afMode |
| 4695 | controls; the HAL must ignore those settings while |
| 4696 | USE_<wbr/>SCENE_<wbr/>MODE is active (except for FACE_<wbr/>PRIORITY |
| 4697 | scene mode).<wbr/> Other control entries are still active.<wbr/> |
| 4698 | This setting can only be used if availableSceneModes != |
| 4699 | UNSUPPORTED</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4700 | </li> |
| 4701 | </ul> |
| 4702 | |
| 4703 | </td> <!-- entry_type --> |
| 4704 | |
| 4705 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4706 | <p>Overall mode of 3A control |
| 4707 | routines</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4708 | </td> |
| 4709 | |
| 4710 | <td class="entry_units"> |
| 4711 | </td> |
| 4712 | |
| 4713 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 4714 | <p>all must be supported</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4715 | </td> |
| 4716 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4717 | <td class="entry_tags"> |
| 4718 | <ul class="entry_tags"> |
| 4719 | <li><a href="#tag_BC">BC</a></li> |
| 4720 | </ul> |
| 4721 | </td> |
| 4722 | |
| 4723 | </tr> |
| 4724 | <tr class="entries_header"> |
| 4725 | <th class="th_details" colspan="5">Details</th> |
| 4726 | </tr> |
| 4727 | <tr class="entry_cont"> |
| 4728 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4729 | <p>High-level 3A control.<wbr/> When set to OFF,<wbr/> all 3A control |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 4730 | by the camera device is disabled.<wbr/> The application must set the fields for |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4731 | capture parameters itself.<wbr/></p> |
| 4732 | <p>When set to AUTO,<wbr/> the individual algorithm controls in |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 4733 | 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> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4734 | <p>When set to USE_<wbr/>SCENE_<wbr/>MODE,<wbr/> the individual controls in |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 4735 | android.<wbr/>control.<wbr/>* are mostly disabled,<wbr/> and the camera device implements |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4736 | one of the scene mode settings (such as ACTION,<wbr/> SUNSET,<wbr/> or PARTY) |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 4737 | as it wishes.<wbr/> The camera device scene mode 3A settings are provided by |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 4738 | <a href="#static_android.control.sceneModeOverrides">android.<wbr/>control.<wbr/>scene<wbr/>Mode<wbr/>Overrides</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4739 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4740 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4741 | |
| 4742 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4743 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 4744 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4745 | |
| 4746 | |
| 4747 | |
| 4748 | <!-- end of kind --> |
| 4749 | </tbody> |
| 4750 | |
| 4751 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4752 | <tr><td colspan="6" id="section_demosaic" class="section">demosaic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4753 | |
| 4754 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4755 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4756 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4757 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4758 | <tr> |
| 4759 | <th class="th_name">Property Name</th> |
| 4760 | <th class="th_type">Type</th> |
| 4761 | <th class="th_description">Description</th> |
| 4762 | <th class="th_units">Units</th> |
| 4763 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4764 | <th class="th_tags">Tags</th> |
| 4765 | </tr> |
| 4766 | </thead> |
| 4767 | |
| 4768 | <tbody> |
| 4769 | |
| 4770 | |
| 4771 | |
| 4772 | |
| 4773 | |
| 4774 | |
| 4775 | |
| 4776 | |
| 4777 | |
| 4778 | |
| 4779 | <tr class="entry" id="controls_android.demosaic.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4780 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4781 | android.<wbr/>demosaic.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4782 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4783 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 4784 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4785 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4786 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4787 | |
| 4788 | <ul class="entry_type_enum"> |
| 4789 | <li> |
| 4790 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4791 | <span class="entry_type_enum_notes"><p>Minimal or no slowdown of frame rate compared to |
| 4792 | Bayer RAW output</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4793 | </li> |
| 4794 | <li> |
| 4795 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4796 | <span class="entry_type_enum_notes"><p>High-quality may reduce output frame |
| 4797 | rate</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4798 | </li> |
| 4799 | </ul> |
| 4800 | |
| 4801 | </td> <!-- entry_type --> |
| 4802 | |
| 4803 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4804 | <p>Controls the quality of the demosaicing |
| 4805 | processing</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4806 | </td> |
| 4807 | |
| 4808 | <td class="entry_units"> |
| 4809 | </td> |
| 4810 | |
| 4811 | <td class="entry_range"> |
| 4812 | </td> |
| 4813 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4814 | <td class="entry_tags"> |
| 4815 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 4816 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4817 | </ul> |
| 4818 | </td> |
| 4819 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4820 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4821 | |
| 4822 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4823 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 4824 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4825 | |
| 4826 | |
| 4827 | |
| 4828 | <!-- end of kind --> |
| 4829 | </tbody> |
| 4830 | |
| 4831 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4832 | <tr><td colspan="6" id="section_edge" class="section">edge</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4833 | |
| 4834 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4835 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4836 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4837 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4838 | <tr> |
| 4839 | <th class="th_name">Property Name</th> |
| 4840 | <th class="th_type">Type</th> |
| 4841 | <th class="th_description">Description</th> |
| 4842 | <th class="th_units">Units</th> |
| 4843 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4844 | <th class="th_tags">Tags</th> |
| 4845 | </tr> |
| 4846 | </thead> |
| 4847 | |
| 4848 | <tbody> |
| 4849 | |
| 4850 | |
| 4851 | |
| 4852 | |
| 4853 | |
| 4854 | |
| 4855 | |
| 4856 | |
| 4857 | |
| 4858 | |
| 4859 | <tr class="entry" id="controls_android.edge.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4860 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4861 | android.<wbr/>edge.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4862 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4863 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 4864 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4865 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4866 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4867 | |
| 4868 | <ul class="entry_type_enum"> |
| 4869 | <li> |
| 4870 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4871 | <span class="entry_type_enum_notes"><p>No edge enhancement is applied</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4872 | </li> |
| 4873 | <li> |
| 4874 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4875 | <span class="entry_type_enum_notes"><p>Must not slow down frame rate relative to sensor |
| 4876 | output</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4877 | </li> |
| 4878 | <li> |
| 4879 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4880 | <span class="entry_type_enum_notes"><p>Frame rate may be reduced by high |
| 4881 | quality</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4882 | </li> |
| 4883 | </ul> |
| 4884 | |
| 4885 | </td> <!-- entry_type --> |
| 4886 | |
| 4887 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4888 | <p>Operation mode for edge |
| 4889 | enhancement</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4890 | </td> |
| 4891 | |
| 4892 | <td class="entry_units"> |
| 4893 | </td> |
| 4894 | |
| 4895 | <td class="entry_range"> |
| 4896 | </td> |
| 4897 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4898 | <td class="entry_tags"> |
| 4899 | </td> |
| 4900 | |
| 4901 | </tr> |
| 4902 | <tr class="entries_header"> |
| 4903 | <th class="th_details" colspan="5">Details</th> |
| 4904 | </tr> |
| 4905 | <tr class="entry_cont"> |
| 4906 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4907 | <p>Edge/<wbr/>sharpness/<wbr/>detail enhancement.<wbr/> OFF means no |
| 4908 | enhancement will be applied by the HAL.<wbr/></p> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 4909 | <p>FAST/<wbr/>HIGH_<wbr/>QUALITY both mean camera device determined enhancement |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4910 | will be applied.<wbr/> HIGH_<wbr/>QUALITY mode indicates that the |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 4911 | camera device will use the highest-quality enhancement algorithms,<wbr/> |
| 4912 | even if it slows down capture rate.<wbr/> FAST means the camera device will |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4913 | not slow down capture rate when applying edge enhancement.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4914 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4915 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4916 | |
| 4917 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4918 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 4919 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4920 | |
| 4921 | |
| 4922 | <tr class="entry" id="controls_android.edge.strength"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4923 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4924 | android.<wbr/>edge.<wbr/>strength |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4925 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4926 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 4927 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4928 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4929 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4930 | |
| 4931 | |
| 4932 | </td> <!-- entry_type --> |
| 4933 | |
| 4934 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4935 | <p>Control the amount of edge enhancement |
| 4936 | applied to the images</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4937 | </td> |
| 4938 | |
| 4939 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4940 | 1-10; 10 is maximum sharpening |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4941 | </td> |
| 4942 | |
| 4943 | <td class="entry_range"> |
| 4944 | </td> |
| 4945 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4946 | <td class="entry_tags"> |
| 4947 | </td> |
| 4948 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4949 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4950 | |
| 4951 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4952 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 4953 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4954 | |
| 4955 | |
| 4956 | |
| 4957 | <!-- end of kind --> |
| 4958 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 4959 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4960 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4961 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4962 | <tr> |
| 4963 | <th class="th_name">Property Name</th> |
| 4964 | <th class="th_type">Type</th> |
| 4965 | <th class="th_description">Description</th> |
| 4966 | <th class="th_units">Units</th> |
| 4967 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4968 | <th class="th_tags">Tags</th> |
| 4969 | </tr> |
| 4970 | </thead> |
| 4971 | |
| 4972 | <tbody> |
| 4973 | |
| 4974 | |
| 4975 | |
| 4976 | |
| 4977 | |
| 4978 | |
| 4979 | |
| 4980 | |
| 4981 | |
| 4982 | |
| 4983 | <tr class="entry" id="dynamic_android.edge.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4984 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 4985 | android.<wbr/>edge.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 4986 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4987 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 4988 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4989 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 4990 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4991 | |
| 4992 | <ul class="entry_type_enum"> |
| 4993 | <li> |
| 4994 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4995 | <span class="entry_type_enum_notes"><p>No edge enhancement is applied</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 4996 | </li> |
| 4997 | <li> |
| 4998 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 4999 | <span class="entry_type_enum_notes"><p>Must not slow down frame rate relative to sensor |
| 5000 | output</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5001 | </li> |
| 5002 | <li> |
| 5003 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5004 | <span class="entry_type_enum_notes"><p>Frame rate may be reduced by high |
| 5005 | quality</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5006 | </li> |
| 5007 | </ul> |
| 5008 | |
| 5009 | </td> <!-- entry_type --> |
| 5010 | |
| 5011 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5012 | <p>Operation mode for edge |
| 5013 | enhancement</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5014 | </td> |
| 5015 | |
| 5016 | <td class="entry_units"> |
| 5017 | </td> |
| 5018 | |
| 5019 | <td class="entry_range"> |
| 5020 | </td> |
| 5021 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5022 | <td class="entry_tags"> |
| 5023 | </td> |
| 5024 | |
| 5025 | </tr> |
| 5026 | <tr class="entries_header"> |
| 5027 | <th class="th_details" colspan="5">Details</th> |
| 5028 | </tr> |
| 5029 | <tr class="entry_cont"> |
| 5030 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5031 | <p>Edge/<wbr/>sharpness/<wbr/>detail enhancement.<wbr/> OFF means no |
| 5032 | enhancement will be applied by the HAL.<wbr/></p> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 5033 | <p>FAST/<wbr/>HIGH_<wbr/>QUALITY both mean camera device determined enhancement |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5034 | will be applied.<wbr/> HIGH_<wbr/>QUALITY mode indicates that the |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 5035 | camera device will use the highest-quality enhancement algorithms,<wbr/> |
| 5036 | even if it slows down capture rate.<wbr/> FAST means the camera device will |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5037 | not slow down capture rate when applying edge enhancement.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5038 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5039 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5040 | |
| 5041 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5042 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5043 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5044 | |
| 5045 | |
| 5046 | |
| 5047 | <!-- end of kind --> |
| 5048 | </tbody> |
| 5049 | |
| 5050 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5051 | <tr><td colspan="6" id="section_flash" class="section">flash</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5052 | |
| 5053 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5054 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5055 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5056 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5057 | <tr> |
| 5058 | <th class="th_name">Property Name</th> |
| 5059 | <th class="th_type">Type</th> |
| 5060 | <th class="th_description">Description</th> |
| 5061 | <th class="th_units">Units</th> |
| 5062 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5063 | <th class="th_tags">Tags</th> |
| 5064 | </tr> |
| 5065 | </thead> |
| 5066 | |
| 5067 | <tbody> |
| 5068 | |
| 5069 | |
| 5070 | |
| 5071 | |
| 5072 | |
| 5073 | |
| 5074 | |
| 5075 | |
| 5076 | |
| 5077 | |
| 5078 | <tr class="entry" id="controls_android.flash.firingPower"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5079 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5080 | android.<wbr/>flash.<wbr/>firing<wbr/>Power |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5081 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5082 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5083 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5084 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5085 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5086 | |
| 5087 | |
| 5088 | </td> <!-- entry_type --> |
| 5089 | |
| 5090 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5091 | <p>Power for flash firing/<wbr/>torch</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5092 | </td> |
| 5093 | |
| 5094 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5095 | 10 is max power; 0 is no flash.<wbr/> Linear |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5096 | </td> |
| 5097 | |
| 5098 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 5099 | <p>0 - 10</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5100 | </td> |
| 5101 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5102 | <td class="entry_tags"> |
| 5103 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5104 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5105 | </ul> |
| 5106 | </td> |
| 5107 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5108 | </tr> |
| 5109 | <tr class="entries_header"> |
| 5110 | <th class="th_details" colspan="5">Details</th> |
| 5111 | </tr> |
| 5112 | <tr class="entry_cont"> |
| 5113 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5114 | <p>Power for snapshot may use a different scale than |
| 5115 | for torch mode.<wbr/> Only one entry for torch mode will be |
| 5116 | used</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5117 | </td> |
| 5118 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5119 | |
| 5120 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5121 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5122 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5123 | |
| 5124 | |
| 5125 | <tr class="entry" id="controls_android.flash.firingTime"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5126 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5127 | android.<wbr/>flash.<wbr/>firing<wbr/>Time |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5128 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5129 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5130 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5131 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5132 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5133 | |
| 5134 | |
| 5135 | </td> <!-- entry_type --> |
| 5136 | |
| 5137 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5138 | <p>Firing time of flash relative to start of |
| 5139 | exposure</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5140 | </td> |
| 5141 | |
| 5142 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5143 | nanoseconds |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5144 | </td> |
| 5145 | |
| 5146 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 5147 | <p>0-(exposure time-flash duration)</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5148 | </td> |
| 5149 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5150 | <td class="entry_tags"> |
| 5151 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5152 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5153 | </ul> |
| 5154 | </td> |
| 5155 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5156 | </tr> |
| 5157 | <tr class="entries_header"> |
| 5158 | <th class="th_details" colspan="5">Details</th> |
| 5159 | </tr> |
| 5160 | <tr class="entry_cont"> |
| 5161 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5162 | <p>Clamped to (0,<wbr/> exposure time - flash |
| 5163 | duration).<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5164 | </td> |
| 5165 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5166 | |
| 5167 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5168 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5169 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5170 | |
| 5171 | |
| 5172 | <tr class="entry" id="controls_android.flash.mode"> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5173 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5174 | android.<wbr/>flash.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5175 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5176 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5177 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5178 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5179 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5180 | |
| 5181 | <ul class="entry_type_enum"> |
| 5182 | <li> |
| 5183 | <span class="entry_type_enum_name">OFF</span> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5184 | <span class="entry_type_enum_notes"><p>Do not fire the flash for this capture.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5185 | </li> |
| 5186 | <li> |
| 5187 | <span class="entry_type_enum_name">SINGLE</span> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5188 | <span class="entry_type_enum_notes"><p>If the flash is available and charged,<wbr/> fire flash |
| 5189 | for this capture based on <a href="#controls_android.flash.firingPower">android.<wbr/>flash.<wbr/>firing<wbr/>Power</a> and |
| 5190 | <a href="#controls_android.flash.firingTime">android.<wbr/>flash.<wbr/>firing<wbr/>Time</a>.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5191 | </li> |
| 5192 | <li> |
| 5193 | <span class="entry_type_enum_name">TORCH</span> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5194 | <span class="entry_type_enum_notes"><p>Transition flash to continuously on.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5195 | </li> |
| 5196 | </ul> |
| 5197 | |
| 5198 | </td> <!-- entry_type --> |
| 5199 | |
| 5200 | <td class="entry_description"> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5201 | <p>The desired mode for for the camera device's flash control.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5202 | </td> |
| 5203 | |
| 5204 | <td class="entry_units"> |
| 5205 | </td> |
| 5206 | |
| 5207 | <td class="entry_range"> |
| 5208 | </td> |
| 5209 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5210 | <td class="entry_tags"> |
| 5211 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5212 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5213 | </ul> |
| 5214 | </td> |
| 5215 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5216 | </tr> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5217 | <tr class="entries_header"> |
| 5218 | <th class="th_details" colspan="5">Details</th> |
| 5219 | </tr> |
| 5220 | <tr class="entry_cont"> |
| 5221 | <td class="entry_details" colspan="5"> |
| 5222 | <p>This control is only effective when flash unit is available |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 5223 | (<code><a href="#static_android.flash.info.available">android.<wbr/>flash.<wbr/>info.<wbr/>available</a> == true</code>).<wbr/></p> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5224 | <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/> |
| 5225 | Otherwise,<wbr/> the camera device auto-exposure related flash control (ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/> |
| 5226 | ON_<wbr/>ALWAYS_<wbr/>FLASH,<wbr/> or ON_<wbr/>AUTO_<wbr/>FLASH_<wbr/>REDEYE) will override this control.<wbr/></p> |
| 5227 | <p>When set to OFF,<wbr/> the camera device will not fire flash for this capture.<wbr/></p> |
| 5228 | <p>When set to SINGLE,<wbr/> the camera device will fire flash regardless of the camera |
| 5229 | device's auto-exposure routine's result.<wbr/> When used in still capture case,<wbr/> this |
| 5230 | control should be used along with AE precapture metering sequence |
| 5231 | (<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> |
| 5232 | <p>When set to TORCH,<wbr/> the flash will be on continuously.<wbr/> This mode can be used |
| 5233 | for use cases such as preview,<wbr/> auto-focus assist,<wbr/> still capture,<wbr/> or video recording.<wbr/></p> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5234 | <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> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5235 | </td> |
| 5236 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5237 | |
| 5238 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5239 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5240 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5241 | |
| 5242 | |
| 5243 | |
| 5244 | <!-- end of kind --> |
| 5245 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5246 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5247 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5248 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5249 | <tr> |
| 5250 | <th class="th_name">Property Name</th> |
| 5251 | <th class="th_type">Type</th> |
| 5252 | <th class="th_description">Description</th> |
| 5253 | <th class="th_units">Units</th> |
| 5254 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5255 | <th class="th_tags">Tags</th> |
| 5256 | </tr> |
| 5257 | </thead> |
| 5258 | |
| 5259 | <tbody> |
| 5260 | |
| 5261 | |
| 5262 | |
| 5263 | |
| 5264 | |
| 5265 | |
| 5266 | |
| 5267 | |
| 5268 | |
| 5269 | |
| 5270 | |
| 5271 | |
| 5272 | <tr class="entry" id="static_android.flash.info.available"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5273 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5274 | android.<wbr/>flash.<wbr/>info.<wbr/>available |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5275 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5276 | <td class="entry_type"> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5277 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5278 | |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5279 | <span class="entry_type_visibility"> [public as boolean]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5280 | |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5281 | <ul class="entry_type_enum"> |
| 5282 | <li> |
| 5283 | <span class="entry_type_enum_name">FALSE</span> |
| 5284 | </li> |
| 5285 | <li> |
| 5286 | <span class="entry_type_enum_name">TRUE</span> |
| 5287 | </li> |
| 5288 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5289 | |
| 5290 | </td> <!-- entry_type --> |
| 5291 | |
| 5292 | <td class="entry_description"> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5293 | <p>Whether this camera device has a |
| 5294 | flash.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5295 | </td> |
| 5296 | |
| 5297 | <td class="entry_units"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5298 | </td> |
| 5299 | |
| 5300 | <td class="entry_range"> |
| 5301 | </td> |
| 5302 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5303 | <td class="entry_tags"> |
| 5304 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5305 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5306 | </ul> |
| 5307 | </td> |
| 5308 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5309 | </tr> |
| 5310 | <tr class="entries_header"> |
| 5311 | <th class="th_details" colspan="5">Details</th> |
| 5312 | </tr> |
| 5313 | <tr class="entry_cont"> |
| 5314 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5315 | <p>If no flash,<wbr/> none of the flash controls do |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5316 | anything.<wbr/> All other metadata should return 0.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5317 | </td> |
| 5318 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5319 | |
| 5320 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5321 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5322 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5323 | |
| 5324 | |
| 5325 | <tr class="entry" id="static_android.flash.info.chargeDuration"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5326 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5327 | android.<wbr/>flash.<wbr/>info.<wbr/>charge<wbr/>Duration |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5328 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5329 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5330 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5331 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5332 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5333 | |
| 5334 | |
| 5335 | </td> <!-- entry_type --> |
| 5336 | |
| 5337 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5338 | <p>Time taken before flash can fire |
| 5339 | again</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5340 | </td> |
| 5341 | |
| 5342 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5343 | nanoseconds |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5344 | </td> |
| 5345 | |
| 5346 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 5347 | <p>0-1e9</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5348 | </td> |
| 5349 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5350 | <td class="entry_tags"> |
| 5351 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5352 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5353 | </ul> |
| 5354 | </td> |
| 5355 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5356 | </tr> |
| 5357 | <tr class="entries_header"> |
| 5358 | <th class="th_details" colspan="5">Details</th> |
| 5359 | </tr> |
| 5360 | <tr class="entry_cont"> |
| 5361 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5362 | <p>1 second too long/<wbr/>too short for recharge? Should |
| 5363 | this be power-dependent?</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5364 | </td> |
| 5365 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5366 | |
| 5367 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5368 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5369 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5370 | |
| 5371 | |
| 5372 | |
| 5373 | |
| 5374 | |
| 5375 | <tr class="entry" id="static_android.flash.colorTemperature"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5376 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5377 | android.<wbr/>flash.<wbr/>color<wbr/>Temperature |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5378 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5379 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5380 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5381 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5382 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5383 | |
| 5384 | |
| 5385 | </td> <!-- entry_type --> |
| 5386 | |
| 5387 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5388 | <p>The x,<wbr/>y whitepoint of the |
| 5389 | flash</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5390 | </td> |
| 5391 | |
| 5392 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5393 | pair of floats |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5394 | </td> |
| 5395 | |
| 5396 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 5397 | <p>0-1 for both</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5398 | </td> |
| 5399 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5400 | <td class="entry_tags"> |
| 5401 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5402 | <li><a href="#tag_ADV">ADV</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5403 | </ul> |
| 5404 | </td> |
| 5405 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5406 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5407 | |
| 5408 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5409 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5410 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5411 | |
| 5412 | |
| 5413 | <tr class="entry" id="static_android.flash.maxEnergy"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5414 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5415 | android.<wbr/>flash.<wbr/>max<wbr/>Energy |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5416 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5417 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5418 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5419 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5420 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5421 | |
| 5422 | |
| 5423 | </td> <!-- entry_type --> |
| 5424 | |
| 5425 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5426 | <p>Max energy output of the flash for a full |
| 5427 | power single flash</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5428 | </td> |
| 5429 | |
| 5430 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5431 | lumen-seconds |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5432 | </td> |
| 5433 | |
| 5434 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 5435 | <p>>= 0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5436 | </td> |
| 5437 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5438 | <td class="entry_tags"> |
| 5439 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5440 | <li><a href="#tag_ADV">ADV</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5441 | </ul> |
| 5442 | </td> |
| 5443 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5444 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5445 | |
| 5446 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5447 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5448 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5449 | |
| 5450 | |
| 5451 | |
| 5452 | <!-- end of kind --> |
| 5453 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5454 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5455 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5456 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5457 | <tr> |
| 5458 | <th class="th_name">Property Name</th> |
| 5459 | <th class="th_type">Type</th> |
| 5460 | <th class="th_description">Description</th> |
| 5461 | <th class="th_units">Units</th> |
| 5462 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5463 | <th class="th_tags">Tags</th> |
| 5464 | </tr> |
| 5465 | </thead> |
| 5466 | |
| 5467 | <tbody> |
| 5468 | |
| 5469 | |
| 5470 | |
| 5471 | |
| 5472 | |
| 5473 | |
| 5474 | |
| 5475 | |
| 5476 | |
| 5477 | |
| 5478 | <tr class="entry" id="dynamic_android.flash.firingPower"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5479 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5480 | android.<wbr/>flash.<wbr/>firing<wbr/>Power |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5481 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5482 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5483 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5484 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5485 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5486 | |
| 5487 | |
| 5488 | </td> <!-- entry_type --> |
| 5489 | |
| 5490 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5491 | <p>Power for flash firing/<wbr/>torch</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5492 | </td> |
| 5493 | |
| 5494 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5495 | 10 is max power; 0 is no flash.<wbr/> Linear |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5496 | </td> |
| 5497 | |
| 5498 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 5499 | <p>0 - 10</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5500 | </td> |
| 5501 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5502 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5503 | <ul class="entry_tags"> |
| 5504 | <li><a href="#tag_V1">V1</a></li> |
| 5505 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5506 | </td> |
| 5507 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5508 | </tr> |
| 5509 | <tr class="entries_header"> |
| 5510 | <th class="th_details" colspan="5">Details</th> |
| 5511 | </tr> |
| 5512 | <tr class="entry_cont"> |
| 5513 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5514 | <p>Power for snapshot may use a different scale than |
| 5515 | for torch mode.<wbr/> Only one entry for torch mode will be |
| 5516 | used</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5517 | </td> |
| 5518 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5519 | |
| 5520 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5521 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5522 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5523 | |
| 5524 | |
| 5525 | <tr class="entry" id="dynamic_android.flash.firingTime"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5526 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5527 | android.<wbr/>flash.<wbr/>firing<wbr/>Time |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5528 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5529 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5530 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5531 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5532 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5533 | |
| 5534 | |
| 5535 | </td> <!-- entry_type --> |
| 5536 | |
| 5537 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5538 | <p>Firing time of flash relative to start of |
| 5539 | exposure</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5540 | </td> |
| 5541 | |
| 5542 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5543 | nanoseconds |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5544 | </td> |
| 5545 | |
| 5546 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 5547 | <p>0-(exposure time-flash duration)</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5548 | </td> |
| 5549 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5550 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5551 | <ul class="entry_tags"> |
| 5552 | <li><a href="#tag_V1">V1</a></li> |
| 5553 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5554 | </td> |
| 5555 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5556 | </tr> |
| 5557 | <tr class="entries_header"> |
| 5558 | <th class="th_details" colspan="5">Details</th> |
| 5559 | </tr> |
| 5560 | <tr class="entry_cont"> |
| 5561 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5562 | <p>Clamped to (0,<wbr/> exposure time - flash |
| 5563 | duration).<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5564 | </td> |
| 5565 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5566 | |
| 5567 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5568 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5569 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5570 | |
| 5571 | |
| 5572 | <tr class="entry" id="dynamic_android.flash.mode"> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5573 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5574 | android.<wbr/>flash.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5575 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5576 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5577 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5578 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5579 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5580 | |
| 5581 | <ul class="entry_type_enum"> |
| 5582 | <li> |
| 5583 | <span class="entry_type_enum_name">OFF</span> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5584 | <span class="entry_type_enum_notes"><p>Do not fire the flash for this capture.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5585 | </li> |
| 5586 | <li> |
| 5587 | <span class="entry_type_enum_name">SINGLE</span> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5588 | <span class="entry_type_enum_notes"><p>If the flash is available and charged,<wbr/> fire flash |
| 5589 | for this capture based on <a href="#controls_android.flash.firingPower">android.<wbr/>flash.<wbr/>firing<wbr/>Power</a> and |
| 5590 | <a href="#controls_android.flash.firingTime">android.<wbr/>flash.<wbr/>firing<wbr/>Time</a>.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5591 | </li> |
| 5592 | <li> |
| 5593 | <span class="entry_type_enum_name">TORCH</span> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5594 | <span class="entry_type_enum_notes"><p>Transition flash to continuously on.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5595 | </li> |
| 5596 | </ul> |
| 5597 | |
| 5598 | </td> <!-- entry_type --> |
| 5599 | |
| 5600 | <td class="entry_description"> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5601 | <p>The desired mode for for the camera device's flash control.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5602 | </td> |
| 5603 | |
| 5604 | <td class="entry_units"> |
| 5605 | </td> |
| 5606 | |
| 5607 | <td class="entry_range"> |
| 5608 | </td> |
| 5609 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5610 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5611 | <ul class="entry_tags"> |
| 5612 | <li><a href="#tag_BC">BC</a></li> |
| 5613 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5614 | </td> |
| 5615 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5616 | </tr> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5617 | <tr class="entries_header"> |
| 5618 | <th class="th_details" colspan="5">Details</th> |
| 5619 | </tr> |
| 5620 | <tr class="entry_cont"> |
| 5621 | <td class="entry_details" colspan="5"> |
| 5622 | <p>This control is only effective when flash unit is available |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 5623 | (<code><a href="#static_android.flash.info.available">android.<wbr/>flash.<wbr/>info.<wbr/>available</a> == true</code>).<wbr/></p> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5624 | <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/> |
| 5625 | Otherwise,<wbr/> the camera device auto-exposure related flash control (ON_<wbr/>AUTO_<wbr/>FLASH,<wbr/> |
| 5626 | ON_<wbr/>ALWAYS_<wbr/>FLASH,<wbr/> or ON_<wbr/>AUTO_<wbr/>FLASH_<wbr/>REDEYE) will override this control.<wbr/></p> |
| 5627 | <p>When set to OFF,<wbr/> the camera device will not fire flash for this capture.<wbr/></p> |
| 5628 | <p>When set to SINGLE,<wbr/> the camera device will fire flash regardless of the camera |
| 5629 | device's auto-exposure routine's result.<wbr/> When used in still capture case,<wbr/> this |
| 5630 | control should be used along with AE precapture metering sequence |
| 5631 | (<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> |
| 5632 | <p>When set to TORCH,<wbr/> the flash will be on continuously.<wbr/> This mode can be used |
| 5633 | for use cases such as preview,<wbr/> auto-focus assist,<wbr/> still capture,<wbr/> or video recording.<wbr/></p> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5634 | <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> |
Zhijun He | ea27bc3 | 2014-01-15 13:47:59 -0800 | [diff] [blame] | 5635 | </td> |
| 5636 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5637 | |
| 5638 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5639 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5640 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5641 | |
| 5642 | |
| 5643 | <tr class="entry" id="dynamic_android.flash.state"> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5644 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5645 | android.<wbr/>flash.<wbr/>state |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5646 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5647 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5648 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5649 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5650 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5651 | |
| 5652 | <ul class="entry_type_enum"> |
| 5653 | <li> |
| 5654 | <span class="entry_type_enum_name">UNAVAILABLE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5655 | <span class="entry_type_enum_notes"><p>No flash on camera</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5656 | </li> |
| 5657 | <li> |
| 5658 | <span class="entry_type_enum_name">CHARGING</span> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5659 | <span class="entry_type_enum_notes"><p>if <a href="#static_android.flash.info.available">android.<wbr/>flash.<wbr/>info.<wbr/>available</a> is true Flash is |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5660 | charging and cannot be fired</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5661 | </li> |
| 5662 | <li> |
| 5663 | <span class="entry_type_enum_name">READY</span> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5664 | <span class="entry_type_enum_notes"><p>if <a href="#static_android.flash.info.available">android.<wbr/>flash.<wbr/>info.<wbr/>available</a> is true Flash is |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5665 | ready to fire</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5666 | </li> |
| 5667 | <li> |
| 5668 | <span class="entry_type_enum_name">FIRED</span> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5669 | <span class="entry_type_enum_notes"><p>if <a href="#static_android.flash.info.available">android.<wbr/>flash.<wbr/>info.<wbr/>available</a> is true Flash fired |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5670 | for this capture</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5671 | </li> |
| 5672 | </ul> |
| 5673 | |
| 5674 | </td> <!-- entry_type --> |
| 5675 | |
| 5676 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5677 | <p>Current state of the flash |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5678 | unit.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5679 | </td> |
| 5680 | |
| 5681 | <td class="entry_units"> |
| 5682 | </td> |
| 5683 | |
| 5684 | <td class="entry_range"> |
| 5685 | </td> |
| 5686 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5687 | <td class="entry_tags"> |
| 5688 | </td> |
| 5689 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5690 | </tr> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 5691 | <tr class="entries_header"> |
| 5692 | <th class="th_details" colspan="5">Details</th> |
| 5693 | </tr> |
| 5694 | <tr class="entry_cont"> |
| 5695 | <td class="entry_details" colspan="5"> |
| 5696 | <p>When the camera device doesn't have flash unit |
| 5697 | (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/> |
| 5698 | Other states indicate the current flash status.<wbr/></p> |
| 5699 | </td> |
| 5700 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5701 | |
| 5702 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5703 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5704 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5705 | |
| 5706 | |
| 5707 | |
| 5708 | <!-- end of kind --> |
| 5709 | </tbody> |
| 5710 | |
| 5711 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5712 | <tr><td colspan="6" id="section_geometric" class="section">geometric</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5713 | |
| 5714 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5715 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5716 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5717 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5718 | <tr> |
| 5719 | <th class="th_name">Property Name</th> |
| 5720 | <th class="th_type">Type</th> |
| 5721 | <th class="th_description">Description</th> |
| 5722 | <th class="th_units">Units</th> |
| 5723 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5724 | <th class="th_tags">Tags</th> |
| 5725 | </tr> |
| 5726 | </thead> |
| 5727 | |
| 5728 | <tbody> |
| 5729 | |
| 5730 | |
| 5731 | |
| 5732 | |
| 5733 | |
| 5734 | |
| 5735 | |
| 5736 | |
| 5737 | |
| 5738 | |
| 5739 | <tr class="entry" id="controls_android.geometric.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5740 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5741 | android.<wbr/>geometric.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5742 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5743 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5744 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5745 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5746 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5747 | |
| 5748 | <ul class="entry_type_enum"> |
| 5749 | <li> |
| 5750 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5751 | <span class="entry_type_enum_notes"><p>No geometric correction is |
| 5752 | applied</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5753 | </li> |
| 5754 | <li> |
| 5755 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5756 | <span class="entry_type_enum_notes"><p>Must not slow down frame rate relative to raw |
| 5757 | bayer output</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5758 | </li> |
| 5759 | <li> |
| 5760 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5761 | <span class="entry_type_enum_notes"><p>Frame rate may be reduced by high |
| 5762 | quality</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5763 | </li> |
| 5764 | </ul> |
| 5765 | |
| 5766 | </td> <!-- entry_type --> |
| 5767 | |
| 5768 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5769 | <p>Operating mode of geometric |
| 5770 | correction</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5771 | </td> |
| 5772 | |
| 5773 | <td class="entry_units"> |
| 5774 | </td> |
| 5775 | |
| 5776 | <td class="entry_range"> |
| 5777 | </td> |
| 5778 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5779 | <td class="entry_tags"> |
| 5780 | </td> |
| 5781 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5782 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5783 | |
| 5784 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5785 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5786 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5787 | |
| 5788 | |
| 5789 | <tr class="entry" id="controls_android.geometric.strength"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5790 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5791 | android.<wbr/>geometric.<wbr/>strength |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5792 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5793 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5794 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5795 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5796 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5797 | |
| 5798 | |
| 5799 | </td> <!-- entry_type --> |
| 5800 | |
| 5801 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5802 | <p>Control the amount of shading correction |
| 5803 | applied to the images</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5804 | </td> |
| 5805 | |
| 5806 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5807 | unitless: 1-10; 10 is full shading |
| 5808 | compensation |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5809 | </td> |
| 5810 | |
| 5811 | <td class="entry_range"> |
| 5812 | </td> |
| 5813 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5814 | <td class="entry_tags"> |
| 5815 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5816 | <li><a href="#tag_ADV">ADV</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5817 | </ul> |
| 5818 | </td> |
| 5819 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5820 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5821 | |
| 5822 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5823 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5824 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5825 | |
| 5826 | |
| 5827 | |
| 5828 | <!-- end of kind --> |
| 5829 | </tbody> |
| 5830 | |
| 5831 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5832 | <tr><td colspan="6" id="section_hotPixel" class="section">hotPixel</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5833 | |
| 5834 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5835 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5836 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5837 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5838 | <tr> |
| 5839 | <th class="th_name">Property Name</th> |
| 5840 | <th class="th_type">Type</th> |
| 5841 | <th class="th_description">Description</th> |
| 5842 | <th class="th_units">Units</th> |
| 5843 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5844 | <th class="th_tags">Tags</th> |
| 5845 | </tr> |
| 5846 | </thead> |
| 5847 | |
| 5848 | <tbody> |
| 5849 | |
| 5850 | |
| 5851 | |
| 5852 | |
| 5853 | |
| 5854 | |
| 5855 | |
| 5856 | |
| 5857 | |
| 5858 | |
| 5859 | <tr class="entry" id="controls_android.hotPixel.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5860 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5861 | android.<wbr/>hot<wbr/>Pixel.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5862 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5863 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5864 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5865 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5866 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5867 | |
| 5868 | <ul class="entry_type_enum"> |
| 5869 | <li> |
| 5870 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5871 | <span class="entry_type_enum_notes"><p>No hot pixel correction can be |
| 5872 | applied</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5873 | </li> |
| 5874 | <li> |
| 5875 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5876 | <span class="entry_type_enum_notes"><p>Frame rate must not be reduced compared to raw |
| 5877 | Bayer output</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5878 | </li> |
| 5879 | <li> |
| 5880 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 5881 | <span class="entry_type_enum_notes"><p>Frame rate may be reduced by high |
| 5882 | quality</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5883 | </li> |
| 5884 | </ul> |
| 5885 | |
| 5886 | </td> <!-- entry_type --> |
| 5887 | |
| 5888 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5889 | <p>Set operational mode for hot pixel |
| 5890 | correction</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5891 | </td> |
| 5892 | |
| 5893 | <td class="entry_units"> |
| 5894 | </td> |
| 5895 | |
| 5896 | <td class="entry_range"> |
| 5897 | </td> |
| 5898 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5899 | <td class="entry_tags"> |
| 5900 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5901 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5902 | </ul> |
| 5903 | </td> |
| 5904 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5905 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5906 | |
| 5907 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5908 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5909 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5910 | |
| 5911 | |
| 5912 | |
| 5913 | <!-- end of kind --> |
| 5914 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5915 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5916 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5917 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5918 | <tr> |
| 5919 | <th class="th_name">Property Name</th> |
| 5920 | <th class="th_type">Type</th> |
| 5921 | <th class="th_description">Description</th> |
| 5922 | <th class="th_units">Units</th> |
| 5923 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5924 | <th class="th_tags">Tags</th> |
| 5925 | </tr> |
| 5926 | </thead> |
| 5927 | |
| 5928 | <tbody> |
| 5929 | |
| 5930 | |
| 5931 | |
| 5932 | |
| 5933 | |
| 5934 | |
| 5935 | |
| 5936 | |
| 5937 | |
| 5938 | |
| 5939 | |
| 5940 | |
| 5941 | <tr class="entry" id="static_android.hotPixel.info.map"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5942 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5943 | android.<wbr/>hot<wbr/>Pixel.<wbr/>info.<wbr/>map |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5944 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5945 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 5946 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5947 | <span class="entry_type_container">x</span> |
| 5948 | |
| 5949 | <span class="entry_type_array"> |
| 5950 | 2 x n |
| 5951 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5952 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5953 | <div class="entry_type_notes">list of coordinates based on android.<wbr/>sensor.<wbr/>pixel<wbr/>Array<wbr/>Size</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5954 | |
| 5955 | |
| 5956 | </td> <!-- entry_type --> |
| 5957 | |
| 5958 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 5959 | <p>Location of hot/<wbr/>defective pixels on |
| 5960 | sensor</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5961 | </td> |
| 5962 | |
| 5963 | <td class="entry_units"> |
| 5964 | </td> |
| 5965 | |
| 5966 | <td class="entry_range"> |
| 5967 | </td> |
| 5968 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5969 | <td class="entry_tags"> |
| 5970 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 5971 | <li><a href="#tag_ADV">ADV</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5972 | </ul> |
| 5973 | </td> |
| 5974 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5975 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 5976 | |
| 5977 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5978 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 5979 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5980 | |
| 5981 | |
| 5982 | |
| 5983 | |
| 5984 | |
| 5985 | |
| 5986 | <!-- end of kind --> |
| 5987 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 5988 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5989 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 5990 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5991 | <tr> |
| 5992 | <th class="th_name">Property Name</th> |
| 5993 | <th class="th_type">Type</th> |
| 5994 | <th class="th_description">Description</th> |
| 5995 | <th class="th_units">Units</th> |
| 5996 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 5997 | <th class="th_tags">Tags</th> |
| 5998 | </tr> |
| 5999 | </thead> |
| 6000 | |
| 6001 | <tbody> |
| 6002 | |
| 6003 | |
| 6004 | |
| 6005 | |
| 6006 | |
| 6007 | |
| 6008 | |
| 6009 | |
| 6010 | |
| 6011 | |
| 6012 | <tr class="entry" id="dynamic_android.hotPixel.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6013 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6014 | android.<wbr/>hot<wbr/>Pixel.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6015 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6016 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6017 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6018 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6019 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6020 | |
| 6021 | <ul class="entry_type_enum"> |
| 6022 | <li> |
| 6023 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 6024 | <span class="entry_type_enum_notes"><p>No hot pixel correction can be |
| 6025 | applied</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6026 | </li> |
| 6027 | <li> |
| 6028 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 6029 | <span class="entry_type_enum_notes"><p>Frame rate must not be reduced compared to raw |
| 6030 | Bayer output</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6031 | </li> |
| 6032 | <li> |
| 6033 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 6034 | <span class="entry_type_enum_notes"><p>Frame rate may be reduced by high |
| 6035 | quality</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6036 | </li> |
| 6037 | </ul> |
| 6038 | |
| 6039 | </td> <!-- entry_type --> |
| 6040 | |
| 6041 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6042 | <p>Set operational mode for hot pixel |
| 6043 | correction</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6044 | </td> |
| 6045 | |
| 6046 | <td class="entry_units"> |
| 6047 | </td> |
| 6048 | |
| 6049 | <td class="entry_range"> |
| 6050 | </td> |
| 6051 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6052 | <td class="entry_tags"> |
| 6053 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6054 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6055 | </ul> |
| 6056 | </td> |
| 6057 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6058 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6059 | |
| 6060 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6061 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6062 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6063 | |
| 6064 | |
| 6065 | |
| 6066 | <!-- end of kind --> |
| 6067 | </tbody> |
| 6068 | |
| 6069 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6070 | <tr><td colspan="6" id="section_jpeg" class="section">jpeg</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6071 | |
| 6072 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6073 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6074 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6075 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6076 | <tr> |
| 6077 | <th class="th_name">Property Name</th> |
| 6078 | <th class="th_type">Type</th> |
| 6079 | <th class="th_description">Description</th> |
| 6080 | <th class="th_units">Units</th> |
| 6081 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6082 | <th class="th_tags">Tags</th> |
| 6083 | </tr> |
| 6084 | </thead> |
| 6085 | |
| 6086 | <tbody> |
| 6087 | |
| 6088 | |
| 6089 | |
| 6090 | |
| 6091 | |
| 6092 | |
| 6093 | |
| 6094 | |
| 6095 | |
| 6096 | |
| 6097 | <tr class="entry" id="controls_android.jpeg.gpsCoordinates"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6098 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6099 | android.<wbr/>jpeg.<wbr/>gps<wbr/>Coordinates |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6100 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6101 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6102 | <span class="entry_type_name">double</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6103 | <span class="entry_type_container">x</span> |
| 6104 | |
| 6105 | <span class="entry_type_array"> |
| 6106 | 3 |
| 6107 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6108 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6109 | <div class="entry_type_notes">latitude,<wbr/> longitude,<wbr/> altitude.<wbr/> First two in degrees,<wbr/> the third in meters</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6110 | |
| 6111 | |
| 6112 | </td> <!-- entry_type --> |
| 6113 | |
| 6114 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6115 | <p>GPS coordinates to include in output JPEG |
| 6116 | EXIF</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6117 | </td> |
| 6118 | |
| 6119 | <td class="entry_units"> |
| 6120 | </td> |
| 6121 | |
| 6122 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6123 | <p>(-180 - 180],<wbr/> [-90,<wbr/>90],<wbr/> [-inf,<wbr/> inf]</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6124 | </td> |
| 6125 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6126 | <td class="entry_tags"> |
| 6127 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6128 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6129 | </ul> |
| 6130 | </td> |
| 6131 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6132 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6133 | |
| 6134 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6135 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6136 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6137 | |
| 6138 | |
| 6139 | <tr class="entry" id="controls_android.jpeg.gpsProcessingMethod"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6140 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6141 | android.<wbr/>jpeg.<wbr/>gps<wbr/>Processing<wbr/>Method |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6142 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6143 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6144 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6145 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 6146 | <span class="entry_type_visibility"> [public as string]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6147 | |
| 6148 | |
| 6149 | </td> <!-- entry_type --> |
| 6150 | |
| 6151 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6152 | <p>32 characters describing GPS algorithm to |
| 6153 | include in EXIF</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6154 | </td> |
| 6155 | |
| 6156 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6157 | UTF-8 null-terminated string |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6158 | </td> |
| 6159 | |
| 6160 | <td class="entry_range"> |
| 6161 | </td> |
| 6162 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6163 | <td class="entry_tags"> |
| 6164 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6165 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6166 | </ul> |
| 6167 | </td> |
| 6168 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6169 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6170 | |
| 6171 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6172 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6173 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6174 | |
| 6175 | |
| 6176 | <tr class="entry" id="controls_android.jpeg.gpsTimestamp"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6177 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6178 | android.<wbr/>jpeg.<wbr/>gps<wbr/>Timestamp |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6179 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6180 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6181 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6182 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6183 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6184 | |
| 6185 | |
| 6186 | </td> <!-- entry_type --> |
| 6187 | |
| 6188 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6189 | <p>Time GPS fix was made to include in |
| 6190 | EXIF</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6191 | </td> |
| 6192 | |
| 6193 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6194 | UTC in seconds since January 1,<wbr/> 1970 |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6195 | </td> |
| 6196 | |
| 6197 | <td class="entry_range"> |
| 6198 | </td> |
| 6199 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6200 | <td class="entry_tags"> |
| 6201 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6202 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6203 | </ul> |
| 6204 | </td> |
| 6205 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6206 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6207 | |
| 6208 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6209 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6210 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6211 | |
| 6212 | |
| 6213 | <tr class="entry" id="controls_android.jpeg.orientation"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6214 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6215 | android.<wbr/>jpeg.<wbr/>orientation |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6216 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6217 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6218 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6219 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6220 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6221 | |
| 6222 | |
| 6223 | </td> <!-- entry_type --> |
| 6224 | |
| 6225 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6226 | <p>Orientation of JPEG image to |
| 6227 | write</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6228 | </td> |
| 6229 | |
| 6230 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6231 | Degrees in multiples of 90 |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6232 | </td> |
| 6233 | |
| 6234 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6235 | <p>0,<wbr/> 90,<wbr/> 180,<wbr/> 270</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6236 | </td> |
| 6237 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6238 | <td class="entry_tags"> |
| 6239 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6240 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6241 | </ul> |
| 6242 | </td> |
| 6243 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6244 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6245 | |
| 6246 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6247 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6248 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6249 | |
| 6250 | |
| 6251 | <tr class="entry" id="controls_android.jpeg.quality"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6252 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6253 | android.<wbr/>jpeg.<wbr/>quality |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6254 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6255 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6256 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6257 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6258 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6259 | |
| 6260 | |
| 6261 | </td> <!-- entry_type --> |
| 6262 | |
| 6263 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6264 | <p>Compression quality of the final JPEG |
| 6265 | image</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6266 | </td> |
| 6267 | |
| 6268 | <td class="entry_units"> |
| 6269 | </td> |
| 6270 | |
| 6271 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6272 | <p>1-100; larger is higher quality</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6273 | </td> |
| 6274 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6275 | <td class="entry_tags"> |
| 6276 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6277 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6278 | </ul> |
| 6279 | </td> |
| 6280 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6281 | </tr> |
| 6282 | <tr class="entries_header"> |
| 6283 | <th class="th_details" colspan="5">Details</th> |
| 6284 | </tr> |
| 6285 | <tr class="entry_cont"> |
| 6286 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6287 | <p>85-95 is typical usage range</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6288 | </td> |
| 6289 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6290 | |
| 6291 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6292 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6293 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6294 | |
| 6295 | |
| 6296 | <tr class="entry" id="controls_android.jpeg.thumbnailQuality"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6297 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6298 | android.<wbr/>jpeg.<wbr/>thumbnail<wbr/>Quality |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6299 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6300 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6301 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6302 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6303 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6304 | |
| 6305 | |
| 6306 | </td> <!-- entry_type --> |
| 6307 | |
| 6308 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6309 | <p>Compression quality of JPEG |
| 6310 | thumbnail</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6311 | </td> |
| 6312 | |
| 6313 | <td class="entry_units"> |
| 6314 | </td> |
| 6315 | |
| 6316 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6317 | <p>1-100; larger is higher quality</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6318 | </td> |
| 6319 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6320 | <td class="entry_tags"> |
| 6321 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6322 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6323 | </ul> |
| 6324 | </td> |
| 6325 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6326 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6327 | |
| 6328 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6329 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6330 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6331 | |
| 6332 | |
| 6333 | <tr class="entry" id="controls_android.jpeg.thumbnailSize"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6334 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6335 | android.<wbr/>jpeg.<wbr/>thumbnail<wbr/>Size |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6336 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6337 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6338 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6339 | <span class="entry_type_container">x</span> |
| 6340 | |
| 6341 | <span class="entry_type_array"> |
| 6342 | 2 |
| 6343 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 6344 | <span class="entry_type_visibility"> [public as size]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6345 | |
| 6346 | |
| 6347 | </td> <!-- entry_type --> |
| 6348 | |
| 6349 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6350 | <p>Resolution of embedded JPEG thumbnail</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6351 | </td> |
| 6352 | |
| 6353 | <td class="entry_units"> |
| 6354 | </td> |
| 6355 | |
| 6356 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6357 | <p>Size must be one of the size from <a href="#static_android.jpeg.availableThumbnailSizes">android.<wbr/>jpeg.<wbr/>available<wbr/>Thumbnail<wbr/>Sizes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6358 | </td> |
| 6359 | |
| 6360 | <td class="entry_tags"> |
| 6361 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6362 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6363 | </ul> |
| 6364 | </td> |
| 6365 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6366 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6367 | <tr class="entries_header"> |
| 6368 | <th class="th_details" colspan="5">Details</th> |
| 6369 | </tr> |
| 6370 | <tr class="entry_cont"> |
| 6371 | <td class="entry_details" colspan="5"> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 6372 | <p>When set to (0,<wbr/> 0) value,<wbr/> the JPEG EXIF will not contain thumbnail,<wbr/> |
| 6373 | but the captured JPEG will still be a valid image.<wbr/></p> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6374 | <p>When a jpeg image capture is issued,<wbr/> the thumbnail size selected should have |
| 6375 | the same aspect ratio as the jpeg image.<wbr/></p> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6376 | </td> |
| 6377 | </tr> |
| 6378 | |
| 6379 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6380 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6381 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6382 | |
| 6383 | |
| 6384 | |
| 6385 | <!-- end of kind --> |
| 6386 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6387 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6388 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6389 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6390 | <tr> |
| 6391 | <th class="th_name">Property Name</th> |
| 6392 | <th class="th_type">Type</th> |
| 6393 | <th class="th_description">Description</th> |
| 6394 | <th class="th_units">Units</th> |
| 6395 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6396 | <th class="th_tags">Tags</th> |
| 6397 | </tr> |
| 6398 | </thead> |
| 6399 | |
| 6400 | <tbody> |
| 6401 | |
| 6402 | |
| 6403 | |
| 6404 | |
| 6405 | |
| 6406 | |
| 6407 | |
| 6408 | |
| 6409 | |
| 6410 | |
| 6411 | <tr class="entry" id="static_android.jpeg.availableThumbnailSizes"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6412 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6413 | android.<wbr/>jpeg.<wbr/>available<wbr/>Thumbnail<wbr/>Sizes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6414 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6415 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6416 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6417 | <span class="entry_type_container">x</span> |
| 6418 | |
| 6419 | <span class="entry_type_array"> |
| 6420 | 2 x n |
| 6421 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 6422 | <span class="entry_type_visibility"> [public as size]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6423 | |
| 6424 | |
| 6425 | </td> <!-- entry_type --> |
| 6426 | |
| 6427 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6428 | <p>Supported resolutions for the JPEG thumbnail</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6429 | </td> |
| 6430 | |
| 6431 | <td class="entry_units"> |
| 6432 | </td> |
| 6433 | |
| 6434 | <td class="entry_range"> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 6435 | <p>Will include at least one valid resolution,<wbr/> plus |
| 6436 | (0,<wbr/>0) for no thumbnail generation,<wbr/> and each size will be distinct.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6437 | </td> |
| 6438 | |
| 6439 | <td class="entry_tags"> |
| 6440 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6441 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6442 | </ul> |
| 6443 | </td> |
| 6444 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6445 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6446 | <tr class="entries_header"> |
| 6447 | <th class="th_details" colspan="5">Details</th> |
| 6448 | </tr> |
| 6449 | <tr class="entry_cont"> |
| 6450 | <td class="entry_details" colspan="5"> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 6451 | <p>Below condiditions will be satisfied for this size list:</p> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6452 | <ul> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 6453 | <li>The sizes will be sorted by increasing pixel area (width x height).<wbr/> |
| 6454 | If several resolutions have the same area,<wbr/> they will be sorted by increasing width.<wbr/></li> |
| 6455 | <li>The aspect ratio of the largest thumbnail size will be same as the |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6456 | aspect ratio of largest size in <a href="#static_android.scaler.availableJpegSizes">android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Sizes</a>.<wbr/> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6457 | The largest size is defined as the size that has the largest pixel area |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6458 | in a given size list.<wbr/></li> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 6459 | <li>Each size in <a href="#static_android.scaler.availableJpegSizes">android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Sizes</a> will have at least |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6460 | one corresponding size that has the same aspect ratio in availableThumbnailSizes,<wbr/> |
| 6461 | and vice versa.<wbr/></li> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 6462 | <li>All non (0,<wbr/> 0) sizes will have non-zero widths and heights.<wbr/></li> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6463 | </ul> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6464 | </td> |
| 6465 | </tr> |
| 6466 | |
| 6467 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6468 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6469 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6470 | |
| 6471 | |
| 6472 | <tr class="entry" id="static_android.jpeg.maxSize"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6473 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6474 | android.<wbr/>jpeg.<wbr/>max<wbr/>Size |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6475 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6476 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6477 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6478 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6479 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6480 | |
| 6481 | |
| 6482 | </td> <!-- entry_type --> |
| 6483 | |
| 6484 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6485 | <p>Maximum size in bytes for the compressed |
| 6486 | JPEG buffer</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6487 | </td> |
| 6488 | |
| 6489 | <td class="entry_units"> |
| 6490 | </td> |
| 6491 | |
| 6492 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6493 | <p>Must be large enough to fit any JPEG produced by |
| 6494 | the camera</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6495 | </td> |
| 6496 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6497 | <td class="entry_tags"> |
| 6498 | </td> |
| 6499 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6500 | </tr> |
| 6501 | <tr class="entries_header"> |
| 6502 | <th class="th_details" colspan="5">Details</th> |
| 6503 | </tr> |
| 6504 | <tr class="entry_cont"> |
| 6505 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6506 | <p>This is used for sizing the gralloc buffers for |
| 6507 | JPEG</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6508 | </td> |
| 6509 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6510 | |
| 6511 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6512 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6513 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6514 | |
| 6515 | |
| 6516 | |
| 6517 | <!-- end of kind --> |
| 6518 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6519 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6520 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6521 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6522 | <tr> |
| 6523 | <th class="th_name">Property Name</th> |
| 6524 | <th class="th_type">Type</th> |
| 6525 | <th class="th_description">Description</th> |
| 6526 | <th class="th_units">Units</th> |
| 6527 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6528 | <th class="th_tags">Tags</th> |
| 6529 | </tr> |
| 6530 | </thead> |
| 6531 | |
| 6532 | <tbody> |
| 6533 | |
| 6534 | |
| 6535 | |
| 6536 | |
| 6537 | |
| 6538 | |
| 6539 | |
| 6540 | |
| 6541 | |
| 6542 | |
| 6543 | <tr class="entry" id="dynamic_android.jpeg.gpsCoordinates"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6544 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6545 | android.<wbr/>jpeg.<wbr/>gps<wbr/>Coordinates |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6546 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6547 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6548 | <span class="entry_type_name">double</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6549 | <span class="entry_type_container">x</span> |
| 6550 | |
| 6551 | <span class="entry_type_array"> |
| 6552 | 3 |
| 6553 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6554 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6555 | <div class="entry_type_notes">latitude,<wbr/> longitude,<wbr/> altitude.<wbr/> First two in degrees,<wbr/> the third in meters</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6556 | |
| 6557 | |
| 6558 | </td> <!-- entry_type --> |
| 6559 | |
| 6560 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6561 | <p>GPS coordinates to include in output JPEG |
| 6562 | EXIF</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6563 | </td> |
| 6564 | |
| 6565 | <td class="entry_units"> |
| 6566 | </td> |
| 6567 | |
| 6568 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6569 | <p>(-180 - 180],<wbr/> [-90,<wbr/>90],<wbr/> [-inf,<wbr/> inf]</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6570 | </td> |
| 6571 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6572 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6573 | <ul class="entry_tags"> |
| 6574 | <li><a href="#tag_BC">BC</a></li> |
| 6575 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6576 | </td> |
| 6577 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6578 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6579 | |
| 6580 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6581 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6582 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6583 | |
| 6584 | |
| 6585 | <tr class="entry" id="dynamic_android.jpeg.gpsProcessingMethod"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6586 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6587 | android.<wbr/>jpeg.<wbr/>gps<wbr/>Processing<wbr/>Method |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6588 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6589 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6590 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6591 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 6592 | <span class="entry_type_visibility"> [public as string]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6593 | |
| 6594 | |
| 6595 | </td> <!-- entry_type --> |
| 6596 | |
| 6597 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6598 | <p>32 characters describing GPS algorithm to |
| 6599 | include in EXIF</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6600 | </td> |
| 6601 | |
| 6602 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6603 | UTF-8 null-terminated string |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6604 | </td> |
| 6605 | |
| 6606 | <td class="entry_range"> |
| 6607 | </td> |
| 6608 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6609 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6610 | <ul class="entry_tags"> |
| 6611 | <li><a href="#tag_BC">BC</a></li> |
| 6612 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6613 | </td> |
| 6614 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6615 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6616 | |
| 6617 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6618 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6619 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6620 | |
| 6621 | |
| 6622 | <tr class="entry" id="dynamic_android.jpeg.gpsTimestamp"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6623 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6624 | android.<wbr/>jpeg.<wbr/>gps<wbr/>Timestamp |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6625 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6626 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6627 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6628 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6629 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6630 | |
| 6631 | |
| 6632 | </td> <!-- entry_type --> |
| 6633 | |
| 6634 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6635 | <p>Time GPS fix was made to include in |
| 6636 | EXIF</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6637 | </td> |
| 6638 | |
| 6639 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6640 | UTC in seconds since January 1,<wbr/> 1970 |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6641 | </td> |
| 6642 | |
| 6643 | <td class="entry_range"> |
| 6644 | </td> |
| 6645 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6646 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6647 | <ul class="entry_tags"> |
| 6648 | <li><a href="#tag_BC">BC</a></li> |
| 6649 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6650 | </td> |
| 6651 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6652 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6653 | |
| 6654 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6655 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6656 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6657 | |
| 6658 | |
| 6659 | <tr class="entry" id="dynamic_android.jpeg.orientation"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6660 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6661 | android.<wbr/>jpeg.<wbr/>orientation |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6662 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6663 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6664 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6665 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6666 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6667 | |
| 6668 | |
| 6669 | </td> <!-- entry_type --> |
| 6670 | |
| 6671 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6672 | <p>Orientation of JPEG image to |
| 6673 | write</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6674 | </td> |
| 6675 | |
| 6676 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6677 | Degrees in multiples of 90 |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6678 | </td> |
| 6679 | |
| 6680 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6681 | <p>0,<wbr/> 90,<wbr/> 180,<wbr/> 270</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6682 | </td> |
| 6683 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6684 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6685 | <ul class="entry_tags"> |
| 6686 | <li><a href="#tag_BC">BC</a></li> |
| 6687 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6688 | </td> |
| 6689 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6690 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6691 | |
| 6692 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6693 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6694 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6695 | |
| 6696 | |
| 6697 | <tr class="entry" id="dynamic_android.jpeg.quality"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6698 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6699 | android.<wbr/>jpeg.<wbr/>quality |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6700 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6701 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6702 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6703 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6704 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6705 | |
| 6706 | |
| 6707 | </td> <!-- entry_type --> |
| 6708 | |
| 6709 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6710 | <p>Compression quality of the final JPEG |
| 6711 | image</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6712 | </td> |
| 6713 | |
| 6714 | <td class="entry_units"> |
| 6715 | </td> |
| 6716 | |
| 6717 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6718 | <p>1-100; larger is higher quality</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6719 | </td> |
| 6720 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6721 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6722 | <ul class="entry_tags"> |
| 6723 | <li><a href="#tag_BC">BC</a></li> |
| 6724 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6725 | </td> |
| 6726 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6727 | </tr> |
| 6728 | <tr class="entries_header"> |
| 6729 | <th class="th_details" colspan="5">Details</th> |
| 6730 | </tr> |
| 6731 | <tr class="entry_cont"> |
| 6732 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6733 | <p>85-95 is typical usage range</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6734 | </td> |
| 6735 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6736 | |
| 6737 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6738 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6739 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6740 | |
| 6741 | |
| 6742 | <tr class="entry" id="dynamic_android.jpeg.size"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6743 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6744 | android.<wbr/>jpeg.<wbr/>size |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6745 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6746 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6747 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6748 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6749 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6750 | |
| 6751 | |
| 6752 | </td> <!-- entry_type --> |
| 6753 | |
| 6754 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6755 | <p>The size of the compressed JPEG image,<wbr/> in |
| 6756 | bytes</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6757 | </td> |
| 6758 | |
| 6759 | <td class="entry_units"> |
| 6760 | </td> |
| 6761 | |
| 6762 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 6763 | <p>>= 0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6764 | </td> |
| 6765 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6766 | <td class="entry_tags"> |
| 6767 | </td> |
| 6768 | |
| 6769 | </tr> |
| 6770 | <tr class="entries_header"> |
| 6771 | <th class="th_details" colspan="5">Details</th> |
| 6772 | </tr> |
| 6773 | <tr class="entry_cont"> |
| 6774 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6775 | <p>If no JPEG output is produced for the request,<wbr/> |
| 6776 | this must be 0.<wbr/></p> |
| 6777 | <p>Otherwise,<wbr/> this describes the real size of the compressed |
| 6778 | JPEG image placed in the output stream.<wbr/> More specifically,<wbr/> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6779 | if <a href="#static_android.jpeg.maxSize">android.<wbr/>jpeg.<wbr/>max<wbr/>Size</a> = 1000000,<wbr/> and a specific capture |
| 6780 | has <a href="#dynamic_android.jpeg.size">android.<wbr/>jpeg.<wbr/>size</a> = 500000,<wbr/> then the output buffer from |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6781 | the JPEG stream will be 1000000 bytes,<wbr/> of which the first |
| 6782 | 500000 make up the real data.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6783 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6784 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6785 | |
| 6786 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6787 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6788 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6789 | |
| 6790 | |
| 6791 | <tr class="entry" id="dynamic_android.jpeg.thumbnailQuality"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6792 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6793 | android.<wbr/>jpeg.<wbr/>thumbnail<wbr/>Quality |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6794 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6795 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6796 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6797 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6798 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6799 | |
| 6800 | |
| 6801 | </td> <!-- entry_type --> |
| 6802 | |
| 6803 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6804 | <p>Compression quality of JPEG |
| 6805 | thumbnail</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6806 | </td> |
| 6807 | |
| 6808 | <td class="entry_units"> |
| 6809 | </td> |
| 6810 | |
| 6811 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6812 | <p>1-100; larger is higher quality</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6813 | </td> |
| 6814 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6815 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6816 | <ul class="entry_tags"> |
| 6817 | <li><a href="#tag_BC">BC</a></li> |
| 6818 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6819 | </td> |
| 6820 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6821 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6822 | |
| 6823 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6824 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6825 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6826 | |
| 6827 | |
| 6828 | <tr class="entry" id="dynamic_android.jpeg.thumbnailSize"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6829 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6830 | android.<wbr/>jpeg.<wbr/>thumbnail<wbr/>Size |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6831 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6832 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6833 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6834 | <span class="entry_type_container">x</span> |
| 6835 | |
| 6836 | <span class="entry_type_array"> |
| 6837 | 2 |
| 6838 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 6839 | <span class="entry_type_visibility"> [public as size]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6840 | |
| 6841 | |
| 6842 | </td> <!-- entry_type --> |
| 6843 | |
| 6844 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6845 | <p>Resolution of embedded JPEG thumbnail</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6846 | </td> |
| 6847 | |
| 6848 | <td class="entry_units"> |
| 6849 | </td> |
| 6850 | |
| 6851 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6852 | <p>Size must be one of the size from <a href="#static_android.jpeg.availableThumbnailSizes">android.<wbr/>jpeg.<wbr/>available<wbr/>Thumbnail<wbr/>Sizes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6853 | </td> |
| 6854 | |
| 6855 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6856 | <ul class="entry_tags"> |
| 6857 | <li><a href="#tag_BC">BC</a></li> |
| 6858 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6859 | </td> |
| 6860 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6861 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6862 | <tr class="entries_header"> |
| 6863 | <th class="th_details" colspan="5">Details</th> |
| 6864 | </tr> |
| 6865 | <tr class="entry_cont"> |
| 6866 | <td class="entry_details" colspan="5"> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 6867 | <p>When set to (0,<wbr/> 0) value,<wbr/> the JPEG EXIF will not contain thumbnail,<wbr/> |
| 6868 | but the captured JPEG will still be a valid image.<wbr/></p> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6869 | <p>When a jpeg image capture is issued,<wbr/> the thumbnail size selected should have |
| 6870 | the same aspect ratio as the jpeg image.<wbr/></p> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6871 | </td> |
| 6872 | </tr> |
| 6873 | |
| 6874 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6875 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6876 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6877 | |
| 6878 | |
| 6879 | |
| 6880 | <!-- end of kind --> |
| 6881 | </tbody> |
| 6882 | |
| 6883 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6884 | <tr><td colspan="6" id="section_lens" class="section">lens</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6885 | |
| 6886 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6887 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6888 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6889 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6890 | <tr> |
| 6891 | <th class="th_name">Property Name</th> |
| 6892 | <th class="th_type">Type</th> |
| 6893 | <th class="th_description">Description</th> |
| 6894 | <th class="th_units">Units</th> |
| 6895 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6896 | <th class="th_tags">Tags</th> |
| 6897 | </tr> |
| 6898 | </thead> |
| 6899 | |
| 6900 | <tbody> |
| 6901 | |
| 6902 | |
| 6903 | |
| 6904 | |
| 6905 | |
| 6906 | |
| 6907 | |
| 6908 | |
| 6909 | |
| 6910 | |
| 6911 | <tr class="entry" id="controls_android.lens.aperture"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6912 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6913 | android.<wbr/>lens.<wbr/>aperture |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6914 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6915 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6916 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6917 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6918 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6919 | |
| 6920 | |
| 6921 | </td> <!-- entry_type --> |
| 6922 | |
| 6923 | <td class="entry_description"> |
Zhijun He | 1b58d38 | 2014-01-10 10:22:53 -0800 | [diff] [blame] | 6924 | <p>The ratio of lens focal length to the effective |
| 6925 | aperture diameter.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6926 | </td> |
| 6927 | |
| 6928 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6929 | f-number (f/<wbr/>NNN) |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6930 | </td> |
| 6931 | |
| 6932 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6933 | <p><a href="#static_android.lens.info.availableApertures">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Apertures</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6934 | </td> |
| 6935 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6936 | <td class="entry_tags"> |
| 6937 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6938 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6939 | </ul> |
| 6940 | </td> |
| 6941 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6942 | </tr> |
| 6943 | <tr class="entries_header"> |
| 6944 | <th class="th_details" colspan="5">Details</th> |
| 6945 | </tr> |
| 6946 | <tr class="entry_cont"> |
| 6947 | <td class="entry_details" colspan="5"> |
Zhijun He | 1b58d38 | 2014-01-10 10:22:53 -0800 | [diff] [blame] | 6948 | <p>This will only be supported on the camera devices that |
| 6949 | have variable aperture lens.<wbr/> The aperture value can only be |
| 6950 | one of the values listed in <a href="#static_android.lens.info.availableApertures">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Apertures</a>.<wbr/></p> |
| 6951 | <p>When this is supported and <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is OFF,<wbr/> |
| 6952 | this can be set along with <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/> |
| 6953 | <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and android.<wbr/>sensor.<wbr/>frame<wbr/>Duration |
| 6954 | to achieve manual exposure control.<wbr/></p> |
| 6955 | <p>The requested aperture value may take several frames to reach the |
| 6956 | requested value; the camera device will report the current (intermediate) |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 6957 | aperture size in capture result metadata while the aperture is changing.<wbr/> |
| 6958 | 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> |
Zhijun He | 1b58d38 | 2014-01-10 10:22:53 -0800 | [diff] [blame] | 6959 | <p>When this is supported and <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is one of |
| 6960 | the ON modes,<wbr/> this will be overridden by the camera device |
| 6961 | auto-exposure algorithm,<wbr/> the overridden values are then provided |
| 6962 | back to the user in the corresponding result.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6963 | </td> |
| 6964 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6965 | |
| 6966 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 6967 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 6968 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6969 | |
| 6970 | |
| 6971 | <tr class="entry" id="controls_android.lens.filterDensity"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6972 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 6973 | android.<wbr/>lens.<wbr/>filter<wbr/>Density |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 6974 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6975 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 6976 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6977 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 6978 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6979 | |
| 6980 | |
| 6981 | </td> <!-- entry_type --> |
| 6982 | |
| 6983 | <td class="entry_description"> |
Ruben Brunk | 83eb303 | 2014-01-15 16:12:07 -0800 | [diff] [blame] | 6984 | <p>State of lens neutral density filter(s).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6985 | </td> |
| 6986 | |
| 6987 | <td class="entry_units"> |
Ruben Brunk | 83eb303 | 2014-01-15 16:12:07 -0800 | [diff] [blame] | 6988 | Steps of Exposure Value (EV).<wbr/> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6989 | </td> |
| 6990 | |
| 6991 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 6992 | <p><a href="#static_android.lens.info.availableFilterDensities">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Filter<wbr/>Densities</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6993 | </td> |
| 6994 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6995 | <td class="entry_tags"> |
| 6996 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 6997 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 6998 | </ul> |
| 6999 | </td> |
| 7000 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7001 | </tr> |
| 7002 | <tr class="entries_header"> |
| 7003 | <th class="th_details" colspan="5">Details</th> |
| 7004 | </tr> |
| 7005 | <tr class="entry_cont"> |
| 7006 | <td class="entry_details" colspan="5"> |
Ruben Brunk | 83eb303 | 2014-01-15 16:12:07 -0800 | [diff] [blame] | 7007 | <p>This will not be supported on most camera devices.<wbr/> On devices |
| 7008 | where this is supported,<wbr/> this may only be set to one of the |
| 7009 | values included in <a href="#static_android.lens.info.availableFilterDensities">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Filter<wbr/>Densities</a>.<wbr/></p> |
| 7010 | <p>Lens filters are typically used to lower the amount of light the |
| 7011 | sensor is exposed to (measured in steps of EV).<wbr/> As used here,<wbr/> an EV |
| 7012 | step is the standard logarithmic representation,<wbr/> which are |
| 7013 | non-negative,<wbr/> and inversely proportional to the amount of light |
| 7014 | hitting the sensor.<wbr/> For example,<wbr/> setting this to 0 would result |
| 7015 | in no reduction of the incoming light,<wbr/> and setting this to 2 would |
| 7016 | mean that the filter is set to reduce incoming light by two stops |
| 7017 | (allowing 1/<wbr/>4 of the prior amount of light to the sensor).<wbr/></p> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 7018 | <p>It may take several frames before the lens filter density changes |
| 7019 | to the requested value.<wbr/> While the filter density is still changing,<wbr/> |
| 7020 | <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will be set to MOVING.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7021 | </td> |
| 7022 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7023 | |
| 7024 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7025 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7026 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7027 | |
| 7028 | |
| 7029 | <tr class="entry" id="controls_android.lens.focalLength"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7030 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7031 | android.<wbr/>lens.<wbr/>focal<wbr/>Length |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7032 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7033 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7034 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7035 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7036 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7037 | |
| 7038 | |
| 7039 | </td> <!-- entry_type --> |
| 7040 | |
| 7041 | <td class="entry_description"> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7042 | <p>The current lens focal length; used for optical zoom.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7043 | </td> |
| 7044 | |
| 7045 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7046 | focal length in mm |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7047 | </td> |
| 7048 | |
| 7049 | <td class="entry_range"> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7050 | <p><a href="#static_android.lens.info.availableFocalLengths">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Focal<wbr/>Lengths</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7051 | </td> |
| 7052 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7053 | <td class="entry_tags"> |
| 7054 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7055 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7056 | </ul> |
| 7057 | </td> |
| 7058 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7059 | </tr> |
| 7060 | <tr class="entries_header"> |
| 7061 | <th class="th_details" colspan="5">Details</th> |
| 7062 | </tr> |
| 7063 | <tr class="entry_cont"> |
| 7064 | <td class="entry_details" colspan="5"> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7065 | <p>This setting controls the physical focal length of the camera |
| 7066 | device's lens.<wbr/> Changing the focal length changes the field of |
| 7067 | view of the camera device,<wbr/> and is usually used for optical zoom.<wbr/></p> |
| 7068 | <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 |
| 7069 | setting won't be applied instantaneously,<wbr/> and it may take several |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 7070 | frames before the lens can change to the requested focal length.<wbr/> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7071 | While the focal length is still changing,<wbr/> <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will |
| 7072 | be set to MOVING.<wbr/></p> |
| 7073 | <p>This is expected not to be supported on most devices.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7074 | </td> |
| 7075 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7076 | |
| 7077 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7078 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7079 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7080 | |
| 7081 | |
| 7082 | <tr class="entry" id="controls_android.lens.focusDistance"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7083 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7084 | android.<wbr/>lens.<wbr/>focus<wbr/>Distance |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7085 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7086 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7087 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7088 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7089 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7090 | |
| 7091 | |
| 7092 | </td> <!-- entry_type --> |
| 7093 | |
| 7094 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7095 | <p>Distance to plane of sharpest focus,<wbr/> |
| 7096 | measured from frontmost surface of the lens</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7097 | </td> |
| 7098 | |
| 7099 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7100 | diopters (1/<wbr/>m) |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7101 | </td> |
| 7102 | |
| 7103 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 7104 | <p>>= 0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7105 | </td> |
| 7106 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7107 | <td class="entry_tags"> |
| 7108 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7109 | <li><a href="#tag_BC">BC</a></li> |
| 7110 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7111 | </ul> |
| 7112 | </td> |
| 7113 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7114 | </tr> |
| 7115 | <tr class="entries_header"> |
| 7116 | <th class="th_details" colspan="5">Details</th> |
| 7117 | </tr> |
| 7118 | <tr class="entry_cont"> |
| 7119 | <td class="entry_details" colspan="5"> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 7120 | <p>0 means infinity focus.<wbr/> Used value will be clamped |
| 7121 | to [0,<wbr/> <a href="#static_android.lens.info.minimumFocusDistance">android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance</a>].<wbr/></p> |
| 7122 | <p>Like <a href="#controls_android.lens.focalLength">android.<wbr/>lens.<wbr/>focal<wbr/>Length</a>,<wbr/> this setting won't be applied |
| 7123 | instantaneously,<wbr/> and it may take several frames before the lens |
| 7124 | can move to the requested focus distance.<wbr/> While the lens is still moving,<wbr/> |
| 7125 | <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will be set to MOVING.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7126 | </td> |
| 7127 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7128 | |
| 7129 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7130 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7131 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7132 | |
| 7133 | |
| 7134 | <tr class="entry" id="controls_android.lens.opticalStabilizationMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7135 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7136 | android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7137 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7138 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7139 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7140 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7141 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7142 | |
| 7143 | <ul class="entry_type_enum"> |
| 7144 | <li> |
| 7145 | <span class="entry_type_enum_name">OFF</span> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 7146 | <span class="entry_type_enum_notes"><p>Optical stabilization is unavailable.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7147 | </li> |
| 7148 | <li> |
| 7149 | <span class="entry_type_enum_name">ON</span> |
| 7150 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 7151 | <span class="entry_type_enum_notes"><p>Optical stabilization is enabled.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7152 | </li> |
| 7153 | </ul> |
| 7154 | |
| 7155 | </td> <!-- entry_type --> |
| 7156 | |
| 7157 | <td class="entry_description"> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 7158 | <p>Sets whether the camera device uses optical image stabilization (OIS) |
| 7159 | when capturing images.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7160 | </td> |
| 7161 | |
| 7162 | <td class="entry_units"> |
| 7163 | </td> |
| 7164 | |
| 7165 | <td class="entry_range"> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 7166 | <p><a href="#static_android.lens.info.availableOpticalStabilization">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Optical<wbr/>Stabilization</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7167 | </td> |
| 7168 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7169 | <td class="entry_tags"> |
| 7170 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7171 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7172 | </ul> |
| 7173 | </td> |
| 7174 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7175 | </tr> |
| 7176 | <tr class="entries_header"> |
| 7177 | <th class="th_details" colspan="5">Details</th> |
| 7178 | </tr> |
| 7179 | <tr class="entry_cont"> |
| 7180 | <td class="entry_details" colspan="5"> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 7181 | <p>OIS is used to compensate for motion blur due to small movements of |
| 7182 | the camera during capture.<wbr/> Unlike digital image stabilization,<wbr/> OIS makes |
| 7183 | use of mechanical elements to stabilize the camera sensor,<wbr/> and thus |
| 7184 | allows for longer exposure times before camera shake becomes |
| 7185 | apparent.<wbr/></p> |
| 7186 | <p>This is not expected to be supported on most devices.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7187 | </td> |
| 7188 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7189 | |
| 7190 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7191 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7192 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7193 | |
| 7194 | |
| 7195 | |
| 7196 | <!-- end of kind --> |
| 7197 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7198 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7199 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7200 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7201 | <tr> |
| 7202 | <th class="th_name">Property Name</th> |
| 7203 | <th class="th_type">Type</th> |
| 7204 | <th class="th_description">Description</th> |
| 7205 | <th class="th_units">Units</th> |
| 7206 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7207 | <th class="th_tags">Tags</th> |
| 7208 | </tr> |
| 7209 | </thead> |
| 7210 | |
| 7211 | <tbody> |
| 7212 | |
| 7213 | |
| 7214 | |
| 7215 | |
| 7216 | |
| 7217 | |
| 7218 | |
| 7219 | |
| 7220 | |
| 7221 | |
| 7222 | |
| 7223 | |
| 7224 | <tr class="entry" id="static_android.lens.info.availableApertures"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7225 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7226 | android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Apertures |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7227 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7228 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7229 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7230 | <span class="entry_type_container">x</span> |
| 7231 | |
| 7232 | <span class="entry_type_array"> |
| 7233 | n |
| 7234 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7235 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7236 | |
| 7237 | |
| 7238 | </td> <!-- entry_type --> |
| 7239 | |
| 7240 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7241 | <p>List of supported aperture |
Zhijun He | 1b58d38 | 2014-01-10 10:22:53 -0800 | [diff] [blame] | 7242 | values.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7243 | </td> |
| 7244 | |
| 7245 | <td class="entry_units"> |
| 7246 | </td> |
| 7247 | |
| 7248 | <td class="entry_range"> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 7249 | <p>one entry required,<wbr/> > 0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7250 | </td> |
| 7251 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7252 | <td class="entry_tags"> |
| 7253 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7254 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7255 | </ul> |
| 7256 | </td> |
| 7257 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7258 | </tr> |
| 7259 | <tr class="entries_header"> |
| 7260 | <th class="th_details" colspan="5">Details</th> |
| 7261 | </tr> |
| 7262 | <tr class="entry_cont"> |
| 7263 | <td class="entry_details" colspan="5"> |
Zhijun He | 1b58d38 | 2014-01-10 10:22:53 -0800 | [diff] [blame] | 7264 | <p>If the camera device doesn't support variable apertures,<wbr/> |
| 7265 | listed value will be the fixed aperture.<wbr/></p> |
| 7266 | <p>If the camera device supports variable apertures,<wbr/> the aperture value |
| 7267 | in this list will be sorted in ascending order.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7268 | </td> |
| 7269 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7270 | |
| 7271 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7272 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7273 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7274 | |
| 7275 | |
| 7276 | <tr class="entry" id="static_android.lens.info.availableFilterDensities"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7277 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7278 | android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Filter<wbr/>Densities |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7279 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7280 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7281 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7282 | <span class="entry_type_container">x</span> |
| 7283 | |
| 7284 | <span class="entry_type_array"> |
| 7285 | n |
| 7286 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7287 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7288 | |
| 7289 | |
| 7290 | </td> <!-- entry_type --> |
| 7291 | |
| 7292 | <td class="entry_description"> |
Ruben Brunk | 83eb303 | 2014-01-15 16:12:07 -0800 | [diff] [blame] | 7293 | <p>List of supported neutral density filter values for |
| 7294 | <a href="#controls_android.lens.filterDensity">android.<wbr/>lens.<wbr/>filter<wbr/>Density</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7295 | </td> |
| 7296 | |
| 7297 | <td class="entry_units"> |
| 7298 | </td> |
| 7299 | |
| 7300 | <td class="entry_range"> |
Ruben Brunk | 83eb303 | 2014-01-15 16:12:07 -0800 | [diff] [blame] | 7301 | <p>At least one value is required.<wbr/> Values must be >= 0.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7302 | </td> |
| 7303 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7304 | <td class="entry_tags"> |
| 7305 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7306 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7307 | </ul> |
| 7308 | </td> |
| 7309 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7310 | </tr> |
| 7311 | <tr class="entries_header"> |
| 7312 | <th class="th_details" colspan="5">Details</th> |
| 7313 | </tr> |
| 7314 | <tr class="entry_cont"> |
| 7315 | <td class="entry_details" colspan="5"> |
Ruben Brunk | 83eb303 | 2014-01-15 16:12:07 -0800 | [diff] [blame] | 7316 | <p>If changing <a href="#controls_android.lens.filterDensity">android.<wbr/>lens.<wbr/>filter<wbr/>Density</a> is not supported,<wbr/> |
| 7317 | availableFilterDensities must contain only 0.<wbr/> Otherwise,<wbr/> this |
| 7318 | list contains only the exact filter density values available on |
| 7319 | this camera device.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7320 | </td> |
| 7321 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7322 | |
| 7323 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7324 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7325 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7326 | |
| 7327 | |
| 7328 | <tr class="entry" id="static_android.lens.info.availableFocalLengths"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7329 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7330 | android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Focal<wbr/>Lengths |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7331 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7332 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7333 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7334 | <span class="entry_type_container">x</span> |
| 7335 | |
| 7336 | <span class="entry_type_array"> |
| 7337 | n |
| 7338 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7339 | <span class="entry_type_visibility"> [public]</span> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7340 | <div class="entry_type_notes">The list of available focal lengths</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7341 | |
| 7342 | |
| 7343 | </td> <!-- entry_type --> |
| 7344 | |
| 7345 | <td class="entry_description"> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7346 | <p>The available focal lengths for this device for use with |
| 7347 | <a href="#controls_android.lens.focalLength">android.<wbr/>lens.<wbr/>focal<wbr/>Length</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7348 | </td> |
| 7349 | |
| 7350 | <td class="entry_units"> |
| 7351 | </td> |
| 7352 | |
| 7353 | <td class="entry_range"> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7354 | <p>Each value in this list must be > 0.<wbr/> This list must |
| 7355 | contain at least one value.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7356 | </td> |
| 7357 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7358 | <td class="entry_tags"> |
| 7359 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7360 | <li><a href="#tag_BC">BC</a></li> |
| 7361 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7362 | </ul> |
| 7363 | </td> |
| 7364 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7365 | </tr> |
| 7366 | <tr class="entries_header"> |
| 7367 | <th class="th_details" colspan="5">Details</th> |
| 7368 | </tr> |
| 7369 | <tr class="entry_cont"> |
| 7370 | <td class="entry_details" colspan="5"> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7371 | <p>If optical zoom is not supported,<wbr/> this will only report |
| 7372 | a single value corresponding to the static focal length of the |
| 7373 | device.<wbr/> Otherwise,<wbr/> this will report every focal length supported |
| 7374 | by the device.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7375 | </td> |
| 7376 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7377 | |
| 7378 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7379 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7380 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7381 | |
| 7382 | |
| 7383 | <tr class="entry" id="static_android.lens.info.availableOpticalStabilization"> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 7384 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7385 | android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Optical<wbr/>Stabilization |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7386 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7387 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7388 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7389 | <span class="entry_type_container">x</span> |
| 7390 | |
| 7391 | <span class="entry_type_array"> |
| 7392 | n |
| 7393 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7394 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7395 | <div class="entry_type_notes">list of enums</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7396 | |
| 7397 | |
| 7398 | </td> <!-- entry_type --> |
| 7399 | |
| 7400 | <td class="entry_description"> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 7401 | <p>List containing a subset of the optical image |
| 7402 | stabilization (OIS) modes specified in |
| 7403 | <a href="#controls_android.lens.opticalStabilizationMode">android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7404 | </td> |
| 7405 | |
| 7406 | <td class="entry_units"> |
| 7407 | </td> |
| 7408 | |
| 7409 | <td class="entry_range"> |
| 7410 | </td> |
| 7411 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7412 | <td class="entry_tags"> |
| 7413 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7414 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7415 | </ul> |
| 7416 | </td> |
| 7417 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7418 | </tr> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 7419 | <tr class="entries_header"> |
| 7420 | <th class="th_details" colspan="5">Details</th> |
| 7421 | </tr> |
| 7422 | <tr class="entry_cont"> |
| 7423 | <td class="entry_details" colspan="5"> |
| 7424 | <p>If OIS is not implemented for a given camera device,<wbr/> this should |
| 7425 | contain only OFF.<wbr/></p> |
| 7426 | </td> |
| 7427 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7428 | |
| 7429 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7430 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7431 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7432 | |
| 7433 | |
| 7434 | <tr class="entry" id="static_android.lens.info.geometricCorrectionMap"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7435 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7436 | android.<wbr/>lens.<wbr/>info.<wbr/>geometric<wbr/>Correction<wbr/>Map |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7437 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7438 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7439 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7440 | <span class="entry_type_container">x</span> |
| 7441 | |
| 7442 | <span class="entry_type_array"> |
| 7443 | 2 x 3 x n x m |
| 7444 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7445 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7446 | <div class="entry_type_notes">2D array of destination coordinate pairs for uniform grid points in source image,<wbr/> per color channel.<wbr/> Size in the range of 2x3x40x30</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7447 | |
| 7448 | |
| 7449 | </td> <!-- entry_type --> |
| 7450 | |
| 7451 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7452 | <p>A low-resolution map for correction of |
| 7453 | geometric distortions and chromatic aberrations,<wbr/> per |
| 7454 | color channel</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7455 | </td> |
| 7456 | |
| 7457 | <td class="entry_units"> |
| 7458 | </td> |
| 7459 | |
| 7460 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 7461 | <p>N,<wbr/> M >= 2</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7462 | </td> |
| 7463 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7464 | <td class="entry_tags"> |
| 7465 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7466 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7467 | </ul> |
| 7468 | </td> |
| 7469 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7470 | </tr> |
| 7471 | <tr class="entries_header"> |
| 7472 | <th class="th_details" colspan="5">Details</th> |
| 7473 | </tr> |
| 7474 | <tr class="entry_cont"> |
| 7475 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7476 | <p>[DNG wants a function instead].<wbr/> What's easiest |
| 7477 | for implementers? With an array size (M,<wbr/> N),<wbr/> entry (i,<wbr/> |
| 7478 | j) provides the destination for pixel (i/<wbr/>(M-1) * width,<wbr/> |
| 7479 | j/<wbr/>(N-1) * height).<wbr/> Data is row-major,<wbr/> with each array |
| 7480 | entry being ( (X,<wbr/> Y)_<wbr/>r,<wbr/> (X,<wbr/> Y)_<wbr/>g,<wbr/> (X,<wbr/> Y)_<wbr/>b ) )</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7481 | </td> |
| 7482 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7483 | |
| 7484 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7485 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7486 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7487 | |
| 7488 | |
| 7489 | <tr class="entry" id="static_android.lens.info.geometricCorrectionMapSize"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7490 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7491 | android.<wbr/>lens.<wbr/>info.<wbr/>geometric<wbr/>Correction<wbr/>Map<wbr/>Size |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7492 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7493 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7494 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7495 | <span class="entry_type_container">x</span> |
| 7496 | |
| 7497 | <span class="entry_type_array"> |
| 7498 | 2 |
| 7499 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 7500 | <span class="entry_type_visibility"> [system as size]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7501 | <div class="entry_type_notes">width and height of geometric correction map</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7502 | |
| 7503 | |
| 7504 | </td> <!-- entry_type --> |
| 7505 | |
| 7506 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7507 | <p>Dimensions of geometric correction |
| 7508 | map</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7509 | </td> |
| 7510 | |
| 7511 | <td class="entry_units"> |
| 7512 | </td> |
| 7513 | |
| 7514 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 7515 | <p>Both values >= 2</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7516 | </td> |
| 7517 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7518 | <td class="entry_tags"> |
| 7519 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7520 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7521 | </ul> |
| 7522 | </td> |
| 7523 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7524 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7525 | |
| 7526 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7527 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7528 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7529 | |
| 7530 | |
| 7531 | <tr class="entry" id="static_android.lens.info.hyperfocalDistance"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7532 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7533 | android.<wbr/>lens.<wbr/>info.<wbr/>hyperfocal<wbr/>Distance |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7534 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7535 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7536 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7537 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7538 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7539 | |
| 7540 | |
| 7541 | </td> <!-- entry_type --> |
| 7542 | |
| 7543 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7544 | <p>Hyperfocal distance for this lens; set to |
| 7545 | 0 if fixed focus</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7546 | </td> |
| 7547 | |
| 7548 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7549 | diopters |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7550 | </td> |
| 7551 | |
| 7552 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 7553 | <p>>= 0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7554 | </td> |
| 7555 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7556 | <td class="entry_tags"> |
| 7557 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7558 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7559 | </ul> |
| 7560 | </td> |
| 7561 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7562 | </tr> |
| 7563 | <tr class="entries_header"> |
| 7564 | <th class="th_details" colspan="5">Details</th> |
| 7565 | </tr> |
| 7566 | <tr class="entry_cont"> |
| 7567 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7568 | <p>The hyperfocal distance is used for the old |
| 7569 | API's 'fixed' setting</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7570 | </td> |
| 7571 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7572 | |
| 7573 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7574 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7575 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7576 | |
| 7577 | |
| 7578 | <tr class="entry" id="static_android.lens.info.minimumFocusDistance"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7579 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7580 | android.<wbr/>lens.<wbr/>info.<wbr/>minimum<wbr/>Focus<wbr/>Distance |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7581 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7582 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7583 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7584 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7585 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7586 | |
| 7587 | |
| 7588 | </td> <!-- entry_type --> |
| 7589 | |
| 7590 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7591 | <p>Shortest distance from frontmost surface |
| 7592 | of the lens that can be focused correctly</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7593 | </td> |
| 7594 | |
| 7595 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7596 | diopters |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7597 | </td> |
| 7598 | |
| 7599 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 7600 | <p>>= 0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7601 | </td> |
| 7602 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7603 | <td class="entry_tags"> |
| 7604 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7605 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7606 | </ul> |
| 7607 | </td> |
| 7608 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7609 | </tr> |
| 7610 | <tr class="entries_header"> |
| 7611 | <th class="th_details" colspan="5">Details</th> |
| 7612 | </tr> |
| 7613 | <tr class="entry_cont"> |
| 7614 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7615 | <p>If the lens is fixed-focus,<wbr/> this should be |
| 7616 | 0</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7617 | </td> |
| 7618 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7619 | |
| 7620 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7621 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7622 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7623 | |
| 7624 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7625 | <tr class="entry" id="static_android.lens.info.shadingMapSize"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7626 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7627 | android.<wbr/>lens.<wbr/>info.<wbr/>shading<wbr/>Map<wbr/>Size |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7628 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7629 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7630 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7631 | <span class="entry_type_container">x</span> |
| 7632 | |
| 7633 | <span class="entry_type_array"> |
| 7634 | 2 |
| 7635 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 7636 | <span class="entry_type_visibility"> [public as size]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7637 | <div class="entry_type_notes">width and height of lens shading map provided by the HAL.<wbr/> (N x M)</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7638 | |
| 7639 | |
| 7640 | </td> <!-- entry_type --> |
| 7641 | |
| 7642 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7643 | <p>Dimensions of lens shading map.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7644 | </td> |
| 7645 | |
| 7646 | <td class="entry_units"> |
| 7647 | </td> |
| 7648 | |
| 7649 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 7650 | <p>Both values >= 1</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7651 | </td> |
| 7652 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7653 | <td class="entry_tags"> |
| 7654 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7655 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7656 | </ul> |
| 7657 | </td> |
| 7658 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7659 | </tr> |
| 7660 | <tr class="entries_header"> |
| 7661 | <th class="th_details" colspan="5">Details</th> |
| 7662 | </tr> |
| 7663 | <tr class="entry_cont"> |
| 7664 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7665 | <p>The map should be on the order of 30-40 rows and columns,<wbr/> and |
| 7666 | must be smaller than 64x64.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7667 | </td> |
| 7668 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7669 | |
| 7670 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7671 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7672 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7673 | |
| 7674 | |
| 7675 | |
| 7676 | |
| 7677 | |
| 7678 | <tr class="entry" id="static_android.lens.facing"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7679 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7680 | android.<wbr/>lens.<wbr/>facing |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7681 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7682 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7683 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7684 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7685 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7686 | |
| 7687 | <ul class="entry_type_enum"> |
| 7688 | <li> |
| 7689 | <span class="entry_type_enum_name">FRONT</span> |
| 7690 | </li> |
| 7691 | <li> |
| 7692 | <span class="entry_type_enum_name">BACK</span> |
| 7693 | </li> |
| 7694 | </ul> |
| 7695 | |
| 7696 | </td> <!-- entry_type --> |
| 7697 | |
| 7698 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7699 | <p>Direction the camera faces relative to |
| 7700 | device screen</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7701 | </td> |
| 7702 | |
| 7703 | <td class="entry_units"> |
| 7704 | </td> |
| 7705 | |
| 7706 | <td class="entry_range"> |
| 7707 | </td> |
| 7708 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7709 | <td class="entry_tags"> |
| 7710 | </td> |
| 7711 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7712 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7713 | |
| 7714 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7715 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7716 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7717 | |
| 7718 | |
| 7719 | <tr class="entry" id="static_android.lens.opticalAxisAngle"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7720 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7721 | android.<wbr/>lens.<wbr/>optical<wbr/>Axis<wbr/>Angle |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7722 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7723 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7724 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7725 | <span class="entry_type_container">x</span> |
| 7726 | |
| 7727 | <span class="entry_type_array"> |
| 7728 | 2 |
| 7729 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7730 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7731 | <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> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7732 | |
| 7733 | |
| 7734 | </td> <!-- entry_type --> |
| 7735 | |
| 7736 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7737 | <p>Relative angle of camera optical axis to the |
| 7738 | perpendicular axis from the display</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7739 | </td> |
| 7740 | |
| 7741 | <td class="entry_units"> |
| 7742 | </td> |
| 7743 | |
| 7744 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 7745 | <p>[0-90) for first angle,<wbr/> [0-360) for second</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7746 | </td> |
| 7747 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7748 | <td class="entry_tags"> |
| 7749 | <ul class="entry_tags"> |
| 7750 | <li><a href="#tag_ADV">ADV</a></li> |
| 7751 | </ul> |
| 7752 | </td> |
| 7753 | |
| 7754 | </tr> |
| 7755 | <tr class="entries_header"> |
| 7756 | <th class="th_details" colspan="5">Details</th> |
| 7757 | </tr> |
| 7758 | <tr class="entry_cont"> |
| 7759 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7760 | <p>Examples:</p> |
| 7761 | <p>(0,<wbr/>0) means that the camera optical axis |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 7762 | is perpendicular to the display surface;</p> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7763 | <p>(45,<wbr/>0) means that the camera points 45 degrees up when |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 7764 | device is held upright;</p> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7765 | <p>(45,<wbr/>90) means the camera points 45 degrees to the right when |
| 7766 | the device is held upright.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 7767 | <p>Use FACING field to determine perpendicular outgoing |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7768 | direction</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7769 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7770 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7771 | |
| 7772 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7773 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7774 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7775 | |
| 7776 | |
| 7777 | <tr class="entry" id="static_android.lens.position"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7778 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7779 | android.<wbr/>lens.<wbr/>position |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7780 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7781 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7782 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7783 | <span class="entry_type_container">x</span> |
| 7784 | |
| 7785 | <span class="entry_type_array"> |
| 7786 | 3, location in mm, in the sensor coordinate |
| 7787 | system |
| 7788 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7789 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7790 | |
| 7791 | |
| 7792 | </td> <!-- entry_type --> |
| 7793 | |
| 7794 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7795 | <p>Coordinates of camera optical axis on |
| 7796 | device</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7797 | </td> |
| 7798 | |
| 7799 | <td class="entry_units"> |
| 7800 | </td> |
| 7801 | |
| 7802 | <td class="entry_range"> |
| 7803 | </td> |
| 7804 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7805 | <td class="entry_tags"> |
| 7806 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7807 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7808 | </ul> |
| 7809 | </td> |
| 7810 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7811 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7812 | |
| 7813 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7814 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7815 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7816 | |
| 7817 | |
| 7818 | |
| 7819 | <!-- end of kind --> |
| 7820 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7821 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7822 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7823 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7824 | <tr> |
| 7825 | <th class="th_name">Property Name</th> |
| 7826 | <th class="th_type">Type</th> |
| 7827 | <th class="th_description">Description</th> |
| 7828 | <th class="th_units">Units</th> |
| 7829 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7830 | <th class="th_tags">Tags</th> |
| 7831 | </tr> |
| 7832 | </thead> |
| 7833 | |
| 7834 | <tbody> |
| 7835 | |
| 7836 | |
| 7837 | |
| 7838 | |
| 7839 | |
| 7840 | |
| 7841 | |
| 7842 | |
| 7843 | |
| 7844 | |
| 7845 | <tr class="entry" id="dynamic_android.lens.aperture"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7846 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7847 | android.<wbr/>lens.<wbr/>aperture |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7848 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7849 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7850 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7851 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7852 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7853 | |
| 7854 | |
| 7855 | </td> <!-- entry_type --> |
| 7856 | |
| 7857 | <td class="entry_description"> |
Zhijun He | 1b58d38 | 2014-01-10 10:22:53 -0800 | [diff] [blame] | 7858 | <p>The ratio of lens focal length to the effective |
| 7859 | aperture diameter.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7860 | </td> |
| 7861 | |
| 7862 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7863 | f-number (f/<wbr/>NNN) |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7864 | </td> |
| 7865 | |
| 7866 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 7867 | <p><a href="#static_android.lens.info.availableApertures">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Apertures</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7868 | </td> |
| 7869 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7870 | <td class="entry_tags"> |
| 7871 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7872 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7873 | </ul> |
| 7874 | </td> |
| 7875 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7876 | </tr> |
| 7877 | <tr class="entries_header"> |
| 7878 | <th class="th_details" colspan="5">Details</th> |
| 7879 | </tr> |
| 7880 | <tr class="entry_cont"> |
| 7881 | <td class="entry_details" colspan="5"> |
Zhijun He | 1b58d38 | 2014-01-10 10:22:53 -0800 | [diff] [blame] | 7882 | <p>This will only be supported on the camera devices that |
| 7883 | have variable aperture lens.<wbr/> The aperture value can only be |
| 7884 | one of the values listed in <a href="#static_android.lens.info.availableApertures">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Apertures</a>.<wbr/></p> |
| 7885 | <p>When this is supported and <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is OFF,<wbr/> |
| 7886 | this can be set along with <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>,<wbr/> |
| 7887 | <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a>,<wbr/> and android.<wbr/>sensor.<wbr/>frame<wbr/>Duration |
| 7888 | to achieve manual exposure control.<wbr/></p> |
| 7889 | <p>The requested aperture value may take several frames to reach the |
| 7890 | requested value; the camera device will report the current (intermediate) |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 7891 | aperture size in capture result metadata while the aperture is changing.<wbr/> |
| 7892 | 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> |
Zhijun He | 1b58d38 | 2014-01-10 10:22:53 -0800 | [diff] [blame] | 7893 | <p>When this is supported and <a href="#controls_android.control.aeMode">android.<wbr/>control.<wbr/>ae<wbr/>Mode</a> is one of |
| 7894 | the ON modes,<wbr/> this will be overridden by the camera device |
| 7895 | auto-exposure algorithm,<wbr/> the overridden values are then provided |
| 7896 | back to the user in the corresponding result.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7897 | </td> |
| 7898 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7899 | |
| 7900 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7901 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7902 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7903 | |
| 7904 | |
| 7905 | <tr class="entry" id="dynamic_android.lens.filterDensity"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7906 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7907 | android.<wbr/>lens.<wbr/>filter<wbr/>Density |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7908 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7909 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7910 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7911 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7912 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7913 | |
| 7914 | |
| 7915 | </td> <!-- entry_type --> |
| 7916 | |
| 7917 | <td class="entry_description"> |
Ruben Brunk | 83eb303 | 2014-01-15 16:12:07 -0800 | [diff] [blame] | 7918 | <p>State of lens neutral density filter(s).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7919 | </td> |
| 7920 | |
| 7921 | <td class="entry_units"> |
Ruben Brunk | 83eb303 | 2014-01-15 16:12:07 -0800 | [diff] [blame] | 7922 | Steps of Exposure Value (EV).<wbr/> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7923 | </td> |
| 7924 | |
| 7925 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 7926 | <p><a href="#static_android.lens.info.availableFilterDensities">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Filter<wbr/>Densities</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7927 | </td> |
| 7928 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7929 | <td class="entry_tags"> |
| 7930 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7931 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7932 | </ul> |
| 7933 | </td> |
| 7934 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7935 | </tr> |
| 7936 | <tr class="entries_header"> |
| 7937 | <th class="th_details" colspan="5">Details</th> |
| 7938 | </tr> |
| 7939 | <tr class="entry_cont"> |
| 7940 | <td class="entry_details" colspan="5"> |
Ruben Brunk | 83eb303 | 2014-01-15 16:12:07 -0800 | [diff] [blame] | 7941 | <p>This will not be supported on most camera devices.<wbr/> On devices |
| 7942 | where this is supported,<wbr/> this may only be set to one of the |
| 7943 | values included in <a href="#static_android.lens.info.availableFilterDensities">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Filter<wbr/>Densities</a>.<wbr/></p> |
| 7944 | <p>Lens filters are typically used to lower the amount of light the |
| 7945 | sensor is exposed to (measured in steps of EV).<wbr/> As used here,<wbr/> an EV |
| 7946 | step is the standard logarithmic representation,<wbr/> which are |
| 7947 | non-negative,<wbr/> and inversely proportional to the amount of light |
| 7948 | hitting the sensor.<wbr/> For example,<wbr/> setting this to 0 would result |
| 7949 | in no reduction of the incoming light,<wbr/> and setting this to 2 would |
| 7950 | mean that the filter is set to reduce incoming light by two stops |
| 7951 | (allowing 1/<wbr/>4 of the prior amount of light to the sensor).<wbr/></p> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 7952 | <p>It may take several frames before the lens filter density changes |
| 7953 | to the requested value.<wbr/> While the filter density is still changing,<wbr/> |
| 7954 | <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will be set to MOVING.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7955 | </td> |
| 7956 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7957 | |
| 7958 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7959 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 7960 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7961 | |
| 7962 | |
| 7963 | <tr class="entry" id="dynamic_android.lens.focalLength"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7964 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7965 | android.<wbr/>lens.<wbr/>focal<wbr/>Length |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 7966 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7967 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 7968 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7969 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 7970 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7971 | |
| 7972 | |
| 7973 | </td> <!-- entry_type --> |
| 7974 | |
| 7975 | <td class="entry_description"> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7976 | <p>The current lens focal length; used for optical zoom.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7977 | </td> |
| 7978 | |
| 7979 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 7980 | focal length in mm |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7981 | </td> |
| 7982 | |
| 7983 | <td class="entry_range"> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7984 | <p><a href="#static_android.lens.info.availableFocalLengths">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Focal<wbr/>Lengths</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7985 | </td> |
| 7986 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7987 | <td class="entry_tags"> |
| 7988 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 7989 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 7990 | </ul> |
| 7991 | </td> |
| 7992 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 7993 | </tr> |
| 7994 | <tr class="entries_header"> |
| 7995 | <th class="th_details" colspan="5">Details</th> |
| 7996 | </tr> |
| 7997 | <tr class="entry_cont"> |
| 7998 | <td class="entry_details" colspan="5"> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 7999 | <p>This setting controls the physical focal length of the camera |
| 8000 | device's lens.<wbr/> Changing the focal length changes the field of |
| 8001 | view of the camera device,<wbr/> and is usually used for optical zoom.<wbr/></p> |
| 8002 | <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 |
| 8003 | setting won't be applied instantaneously,<wbr/> and it may take several |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 8004 | frames before the lens can change to the requested focal length.<wbr/> |
Ruben Brunk | ac9bbb9 | 2014-01-15 18:39:35 -0800 | [diff] [blame] | 8005 | While the focal length is still changing,<wbr/> <a href="#dynamic_android.lens.state">android.<wbr/>lens.<wbr/>state</a> will |
| 8006 | be set to MOVING.<wbr/></p> |
| 8007 | <p>This is expected not to be supported on most devices.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8008 | </td> |
| 8009 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8010 | |
| 8011 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8012 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8013 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8014 | |
| 8015 | |
| 8016 | <tr class="entry" id="dynamic_android.lens.focusDistance"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8017 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8018 | android.<wbr/>lens.<wbr/>focus<wbr/>Distance |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8019 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8020 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8021 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8022 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8023 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8024 | |
| 8025 | |
| 8026 | </td> <!-- entry_type --> |
| 8027 | |
| 8028 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8029 | <p>Distance to plane of sharpest focus,<wbr/> |
| 8030 | measured from frontmost surface of the lens</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8031 | </td> |
| 8032 | |
| 8033 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8034 | diopters (1/<wbr/>m) |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8035 | </td> |
| 8036 | |
| 8037 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 8038 | <p>>= 0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8039 | </td> |
| 8040 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8041 | <td class="entry_tags"> |
| 8042 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 8043 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8044 | </ul> |
| 8045 | </td> |
| 8046 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8047 | </tr> |
| 8048 | <tr class="entries_header"> |
| 8049 | <th class="th_details" colspan="5">Details</th> |
| 8050 | </tr> |
| 8051 | <tr class="entry_cont"> |
| 8052 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8053 | <p>Should be zero for fixed-focus cameras</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8054 | </td> |
| 8055 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8056 | |
| 8057 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8058 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8059 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8060 | |
| 8061 | |
| 8062 | <tr class="entry" id="dynamic_android.lens.focusRange"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8063 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8064 | android.<wbr/>lens.<wbr/>focus<wbr/>Range |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8065 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8066 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8067 | <span class="entry_type_name">float</span> |
Zhijun He | 50451ad | 2013-09-26 10:27:47 -0700 | [diff] [blame] | 8068 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8069 | |
Zhijun He | 50451ad | 2013-09-26 10:27:47 -0700 | [diff] [blame] | 8070 | <span class="entry_type_array"> |
| 8071 | 2 |
| 8072 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8073 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8074 | <div class="entry_type_notes">Range of scene distances that are in focus</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8075 | |
| 8076 | |
| 8077 | </td> <!-- entry_type --> |
| 8078 | |
| 8079 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8080 | <p>The range of scene distances that are in |
| 8081 | sharp focus (depth of field)</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8082 | </td> |
| 8083 | |
| 8084 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8085 | pair of focus distances in diopters: (near,<wbr/> |
| 8086 | far) |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8087 | </td> |
| 8088 | |
| 8089 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 8090 | <p>>=0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8091 | </td> |
| 8092 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8093 | <td class="entry_tags"> |
| 8094 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 8095 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8096 | </ul> |
| 8097 | </td> |
| 8098 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8099 | </tr> |
| 8100 | <tr class="entries_header"> |
| 8101 | <th class="th_details" colspan="5">Details</th> |
| 8102 | </tr> |
| 8103 | <tr class="entry_cont"> |
| 8104 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8105 | <p>If variable focus not supported,<wbr/> can still report |
| 8106 | fixed depth of field range</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8107 | </td> |
| 8108 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8109 | |
| 8110 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8111 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8112 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8113 | |
| 8114 | |
| 8115 | <tr class="entry" id="dynamic_android.lens.opticalStabilizationMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8116 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8117 | android.<wbr/>lens.<wbr/>optical<wbr/>Stabilization<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8118 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8119 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8120 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8121 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8122 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8123 | |
| 8124 | <ul class="entry_type_enum"> |
| 8125 | <li> |
| 8126 | <span class="entry_type_enum_name">OFF</span> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 8127 | <span class="entry_type_enum_notes"><p>Optical stabilization is unavailable.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8128 | </li> |
| 8129 | <li> |
| 8130 | <span class="entry_type_enum_name">ON</span> |
| 8131 | <span class="entry_type_enum_optional">optional</span> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 8132 | <span class="entry_type_enum_notes"><p>Optical stabilization is enabled.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8133 | </li> |
| 8134 | </ul> |
| 8135 | |
| 8136 | </td> <!-- entry_type --> |
| 8137 | |
| 8138 | <td class="entry_description"> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 8139 | <p>Sets whether the camera device uses optical image stabilization (OIS) |
| 8140 | when capturing images.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8141 | </td> |
| 8142 | |
| 8143 | <td class="entry_units"> |
| 8144 | </td> |
| 8145 | |
| 8146 | <td class="entry_range"> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 8147 | <p><a href="#static_android.lens.info.availableOpticalStabilization">android.<wbr/>lens.<wbr/>info.<wbr/>available<wbr/>Optical<wbr/>Stabilization</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8148 | </td> |
| 8149 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8150 | <td class="entry_tags"> |
| 8151 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 8152 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8153 | </ul> |
| 8154 | </td> |
| 8155 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8156 | </tr> |
| 8157 | <tr class="entries_header"> |
| 8158 | <th class="th_details" colspan="5">Details</th> |
| 8159 | </tr> |
| 8160 | <tr class="entry_cont"> |
| 8161 | <td class="entry_details" colspan="5"> |
Ruben Brunk | 218639c | 2014-01-15 18:09:41 -0800 | [diff] [blame] | 8162 | <p>OIS is used to compensate for motion blur due to small movements of |
| 8163 | the camera during capture.<wbr/> Unlike digital image stabilization,<wbr/> OIS makes |
| 8164 | use of mechanical elements to stabilize the camera sensor,<wbr/> and thus |
| 8165 | allows for longer exposure times before camera shake becomes |
| 8166 | apparent.<wbr/></p> |
| 8167 | <p>This is not expected to be supported on most devices.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8168 | </td> |
| 8169 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8170 | |
| 8171 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8172 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8173 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8174 | |
| 8175 | |
| 8176 | <tr class="entry" id="dynamic_android.lens.state"> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 8177 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8178 | android.<wbr/>lens.<wbr/>state |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8179 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8180 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8181 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8182 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8183 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8184 | |
| 8185 | <ul class="entry_type_enum"> |
| 8186 | <li> |
| 8187 | <span class="entry_type_enum_name">STATIONARY</span> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 8188 | <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/> android.<wbr/>lens.<wbr/>focus<wbr/>Distance |
| 8189 | android.<wbr/>lens.<wbr/>filter<wbr/>Density and <a href="#controls_android.lens.aperture">android.<wbr/>lens.<wbr/>aperture</a>) are not changing.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8190 | </li> |
Igor Murashkin | 0e323a1 | 2013-09-06 11:50:48 -0700 | [diff] [blame] | 8191 | <li> |
| 8192 | <span class="entry_type_enum_name">MOVING</span> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 8193 | <span class="entry_type_enum_notes"><p>Any of the lens parameters (<a href="#controls_android.lens.focalLength">android.<wbr/>lens.<wbr/>focal<wbr/>Length</a>,<wbr/> android.<wbr/>lens.<wbr/>focus<wbr/>Distance |
| 8194 | android.<wbr/>lens.<wbr/>filter<wbr/>Density or <a href="#controls_android.lens.aperture">android.<wbr/>lens.<wbr/>aperture</a>) is changing.<wbr/></p></span> |
Igor Murashkin | 0e323a1 | 2013-09-06 11:50:48 -0700 | [diff] [blame] | 8195 | </li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8196 | </ul> |
| 8197 | |
| 8198 | </td> <!-- entry_type --> |
| 8199 | |
| 8200 | <td class="entry_description"> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 8201 | <p>Current lens status.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8202 | </td> |
| 8203 | |
| 8204 | <td class="entry_units"> |
| 8205 | </td> |
| 8206 | |
| 8207 | <td class="entry_range"> |
| 8208 | </td> |
| 8209 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8210 | <td class="entry_tags"> |
| 8211 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 8212 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8213 | </ul> |
| 8214 | </td> |
| 8215 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8216 | </tr> |
Zhijun He | 5169ce1 | 2014-01-24 16:48:25 -0800 | [diff] [blame] | 8217 | <tr class="entries_header"> |
| 8218 | <th class="th_details" colspan="5">Details</th> |
| 8219 | </tr> |
| 8220 | <tr class="entry_cont"> |
| 8221 | <td class="entry_details" colspan="5"> |
| 8222 | <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/> |
| 8223 | <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/> |
| 8224 | they may take several frames to reach the requested values.<wbr/> This state indicates |
| 8225 | the current status of the lens parameters.<wbr/></p> |
| 8226 | <p>When the state is STATIONARY,<wbr/> the lens parameters are not changing.<wbr/> This could be |
| 8227 | either because the parameters are all fixed,<wbr/> or because the lens has had enough |
| 8228 | time to reach the most recently-requested values.<wbr/> |
| 8229 | If all these lens parameters are not changable for a camera device,<wbr/> as listed below:</p> |
| 8230 | <ul> |
| 8231 | <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 |
| 8232 | <a href="#controls_android.lens.focusDistance">android.<wbr/>lens.<wbr/>focus<wbr/>Distance</a> parameter will always be 0.<wbr/></li> |
| 8233 | <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/> |
| 8234 | which means the optical zoom is not supported.<wbr/></li> |
| 8235 | <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> |
| 8236 | <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> |
| 8237 | </ul> |
| 8238 | <p>Then this state will always be STATIONARY.<wbr/></p> |
| 8239 | <p>When the state is MOVING,<wbr/> it indicates that at least one of the lens parameters |
| 8240 | is changing.<wbr/></p> |
| 8241 | </td> |
| 8242 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8243 | |
| 8244 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8245 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8246 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8247 | |
| 8248 | |
| 8249 | |
| 8250 | <!-- end of kind --> |
| 8251 | </tbody> |
| 8252 | |
| 8253 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8254 | <tr><td colspan="6" id="section_noiseReduction" class="section">noiseReduction</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8255 | |
| 8256 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8257 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8258 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8259 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8260 | <tr> |
| 8261 | <th class="th_name">Property Name</th> |
| 8262 | <th class="th_type">Type</th> |
| 8263 | <th class="th_description">Description</th> |
| 8264 | <th class="th_units">Units</th> |
| 8265 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8266 | <th class="th_tags">Tags</th> |
| 8267 | </tr> |
| 8268 | </thead> |
| 8269 | |
| 8270 | <tbody> |
| 8271 | |
| 8272 | |
| 8273 | |
| 8274 | |
| 8275 | |
| 8276 | |
| 8277 | |
| 8278 | |
| 8279 | |
| 8280 | |
| 8281 | <tr class="entry" id="controls_android.noiseReduction.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8282 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8283 | android.<wbr/>noise<wbr/>Reduction.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8284 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8285 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8286 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8287 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8288 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8289 | |
| 8290 | <ul class="entry_type_enum"> |
| 8291 | <li> |
| 8292 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 8293 | <span class="entry_type_enum_notes"><p>No noise reduction is applied</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8294 | </li> |
| 8295 | <li> |
| 8296 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 8297 | <span class="entry_type_enum_notes"><p>Must not slow down frame rate relative to sensor |
| 8298 | output</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8299 | </li> |
| 8300 | <li> |
| 8301 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 8302 | <span class="entry_type_enum_notes"><p>May slow down frame rate to provide highest |
| 8303 | quality</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8304 | </li> |
| 8305 | </ul> |
| 8306 | |
| 8307 | </td> <!-- entry_type --> |
| 8308 | |
| 8309 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8310 | <p>Mode of operation for the noise reduction |
| 8311 | algorithm</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8312 | </td> |
| 8313 | |
| 8314 | <td class="entry_units"> |
| 8315 | </td> |
| 8316 | |
| 8317 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 8318 | <p>android.<wbr/>noise<wbr/>Reduction.<wbr/>available<wbr/>Modes</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8319 | </td> |
| 8320 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8321 | <td class="entry_tags"> |
| 8322 | <ul class="entry_tags"> |
| 8323 | <li><a href="#tag_V1">V1</a></li> |
| 8324 | </ul> |
| 8325 | </td> |
| 8326 | |
| 8327 | </tr> |
| 8328 | <tr class="entries_header"> |
| 8329 | <th class="th_details" colspan="5">Details</th> |
| 8330 | </tr> |
| 8331 | <tr class="entry_cont"> |
| 8332 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8333 | <p>Noise filtering control.<wbr/> OFF means no noise reduction |
| 8334 | will be applied by the HAL.<wbr/></p> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 8335 | <p>FAST/<wbr/>HIGH_<wbr/>QUALITY both mean camera device determined noise filtering |
| 8336 | will be applied.<wbr/> HIGH_<wbr/>QUALITY mode indicates that the camera device |
| 8337 | will use the highest-quality noise filtering algorithms,<wbr/> |
| 8338 | even if it slows down capture rate.<wbr/> FAST means the camera device should not |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8339 | slow down capture rate when applying noise filtering.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8340 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8341 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8342 | |
| 8343 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8344 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8345 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8346 | |
| 8347 | |
| 8348 | <tr class="entry" id="controls_android.noiseReduction.strength"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8349 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8350 | android.<wbr/>noise<wbr/>Reduction.<wbr/>strength |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8351 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8352 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8353 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8354 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8355 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8356 | |
| 8357 | |
| 8358 | </td> <!-- entry_type --> |
| 8359 | |
| 8360 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8361 | <p>Control the amount of noise reduction |
| 8362 | applied to the images</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8363 | </td> |
| 8364 | |
| 8365 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8366 | 1-10; 10 is max noise reduction |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8367 | </td> |
| 8368 | |
| 8369 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 8370 | <p>1 - 10</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8371 | </td> |
| 8372 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8373 | <td class="entry_tags"> |
| 8374 | </td> |
| 8375 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8376 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8377 | |
| 8378 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8379 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8380 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8381 | |
| 8382 | |
| 8383 | |
| 8384 | <!-- end of kind --> |
| 8385 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8386 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8387 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8388 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8389 | <tr> |
| 8390 | <th class="th_name">Property Name</th> |
| 8391 | <th class="th_type">Type</th> |
| 8392 | <th class="th_description">Description</th> |
| 8393 | <th class="th_units">Units</th> |
| 8394 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8395 | <th class="th_tags">Tags</th> |
| 8396 | </tr> |
| 8397 | </thead> |
| 8398 | |
| 8399 | <tbody> |
| 8400 | |
| 8401 | |
| 8402 | |
| 8403 | |
| 8404 | |
| 8405 | |
| 8406 | |
| 8407 | |
| 8408 | |
| 8409 | |
| 8410 | <tr class="entry" id="dynamic_android.noiseReduction.mode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8411 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8412 | android.<wbr/>noise<wbr/>Reduction.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8413 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8414 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8415 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8416 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8417 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8418 | |
| 8419 | <ul class="entry_type_enum"> |
| 8420 | <li> |
| 8421 | <span class="entry_type_enum_name">OFF</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 8422 | <span class="entry_type_enum_notes"><p>No noise reduction is applied</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8423 | </li> |
| 8424 | <li> |
| 8425 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 8426 | <span class="entry_type_enum_notes"><p>Must not slow down frame rate relative to sensor |
| 8427 | output</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8428 | </li> |
| 8429 | <li> |
| 8430 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 8431 | <span class="entry_type_enum_notes"><p>May slow down frame rate to provide highest |
| 8432 | quality</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8433 | </li> |
| 8434 | </ul> |
| 8435 | |
| 8436 | </td> <!-- entry_type --> |
| 8437 | |
| 8438 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8439 | <p>Mode of operation for the noise reduction |
| 8440 | algorithm</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8441 | </td> |
| 8442 | |
| 8443 | <td class="entry_units"> |
| 8444 | </td> |
| 8445 | |
| 8446 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 8447 | <p>android.<wbr/>noise<wbr/>Reduction.<wbr/>available<wbr/>Modes</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8448 | </td> |
| 8449 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8450 | <td class="entry_tags"> |
| 8451 | <ul class="entry_tags"> |
| 8452 | <li><a href="#tag_V1">V1</a></li> |
| 8453 | </ul> |
| 8454 | </td> |
| 8455 | |
| 8456 | </tr> |
| 8457 | <tr class="entries_header"> |
| 8458 | <th class="th_details" colspan="5">Details</th> |
| 8459 | </tr> |
| 8460 | <tr class="entry_cont"> |
| 8461 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8462 | <p>Noise filtering control.<wbr/> OFF means no noise reduction |
| 8463 | will be applied by the HAL.<wbr/></p> |
Zhijun He | f90eeaf | 2014-01-16 12:13:35 -0800 | [diff] [blame] | 8464 | <p>FAST/<wbr/>HIGH_<wbr/>QUALITY both mean camera device determined noise filtering |
| 8465 | will be applied.<wbr/> HIGH_<wbr/>QUALITY mode indicates that the camera device |
| 8466 | will use the highest-quality noise filtering algorithms,<wbr/> |
| 8467 | even if it slows down capture rate.<wbr/> FAST means the camera device should not |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8468 | slow down capture rate when applying noise filtering.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8469 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8470 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8471 | |
| 8472 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8473 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8474 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8475 | |
| 8476 | |
| 8477 | |
| 8478 | <!-- end of kind --> |
| 8479 | </tbody> |
| 8480 | |
| 8481 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8482 | <tr><td colspan="6" id="section_quirks" class="section">quirks</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8483 | |
| 8484 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8485 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8486 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8487 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8488 | <tr> |
| 8489 | <th class="th_name">Property Name</th> |
| 8490 | <th class="th_type">Type</th> |
| 8491 | <th class="th_description">Description</th> |
| 8492 | <th class="th_units">Units</th> |
| 8493 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8494 | <th class="th_tags">Tags</th> |
| 8495 | </tr> |
| 8496 | </thead> |
| 8497 | |
| 8498 | <tbody> |
| 8499 | |
| 8500 | |
| 8501 | |
| 8502 | |
| 8503 | |
| 8504 | |
| 8505 | |
| 8506 | |
| 8507 | |
| 8508 | |
| 8509 | <tr class="entry" id="static_android.quirks.meteringCropRegion"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8510 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8511 | android.<wbr/>quirks.<wbr/>metering<wbr/>Crop<wbr/>Region |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8512 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8513 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8514 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8515 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8516 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8517 | |
| 8518 | |
| 8519 | </td> <!-- entry_type --> |
| 8520 | |
| 8521 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8522 | <p>If set to 1,<wbr/> the camera service does not |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 8523 | scale 'normalized' coordinates with respect to the crop |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8524 | region.<wbr/> This applies to metering input (a{e,<wbr/>f,<wbr/>wb}Region |
| 8525 | and output (face rectangles).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8526 | </td> |
| 8527 | |
| 8528 | <td class="entry_units"> |
| 8529 | </td> |
| 8530 | |
| 8531 | <td class="entry_range"> |
Zhijun He | fb4701f | 2014-02-04 11:32:24 -0800 | [diff] [blame] | 8532 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8533 | </td> |
| 8534 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8535 | <td class="entry_tags"> |
| 8536 | </td> |
| 8537 | |
| 8538 | </tr> |
| 8539 | <tr class="entries_header"> |
| 8540 | <th class="th_details" colspan="5">Details</th> |
| 8541 | </tr> |
| 8542 | <tr class="entry_cont"> |
| 8543 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8544 | <p>Normalized coordinates refer to those in the |
| 8545 | (-1000,<wbr/>1000) range mentioned in the |
| 8546 | android.<wbr/>hardware.<wbr/>Camera API.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 8547 | <p>HAL implementations should instead always use and emit |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8548 | sensor array-relative coordinates for all region data.<wbr/> Does |
| 8549 | not need to be listed in static metadata.<wbr/> Support will be |
| 8550 | removed in future versions of camera service.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8551 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8552 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8553 | |
| 8554 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8555 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8556 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8557 | |
| 8558 | |
| 8559 | <tr class="entry" id="static_android.quirks.triggerAfWithAuto"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8560 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8561 | android.<wbr/>quirks.<wbr/>trigger<wbr/>Af<wbr/>With<wbr/>Auto |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8562 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8563 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8564 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8565 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8566 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8567 | |
| 8568 | |
| 8569 | </td> <!-- entry_type --> |
| 8570 | |
| 8571 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8572 | <p>If set to 1,<wbr/> then the camera service always |
| 8573 | switches to FOCUS_<wbr/>MODE_<wbr/>AUTO before issuing a AF |
| 8574 | trigger.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8575 | </td> |
| 8576 | |
| 8577 | <td class="entry_units"> |
| 8578 | </td> |
| 8579 | |
| 8580 | <td class="entry_range"> |
Zhijun He | fb4701f | 2014-02-04 11:32:24 -0800 | [diff] [blame] | 8581 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8582 | </td> |
| 8583 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8584 | <td class="entry_tags"> |
| 8585 | </td> |
| 8586 | |
| 8587 | </tr> |
| 8588 | <tr class="entries_header"> |
| 8589 | <th class="th_details" colspan="5">Details</th> |
| 8590 | </tr> |
| 8591 | <tr class="entry_cont"> |
| 8592 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8593 | <p>HAL implementations should implement AF trigger |
| 8594 | modes for AUTO,<wbr/> MACRO,<wbr/> CONTINUOUS_<wbr/>FOCUS,<wbr/> and |
| 8595 | CONTINUOUS_<wbr/>PICTURE modes instead of using this flag.<wbr/> Does |
| 8596 | not need to be listed in static metadata.<wbr/> Support will be |
| 8597 | removed in future versions of camera service</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8598 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8599 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8600 | |
| 8601 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8602 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8603 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8604 | |
| 8605 | |
| 8606 | <tr class="entry" id="static_android.quirks.useZslFormat"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8607 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8608 | android.<wbr/>quirks.<wbr/>use<wbr/>Zsl<wbr/>Format |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8609 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8610 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8611 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8612 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8613 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8614 | |
| 8615 | |
| 8616 | </td> <!-- entry_type --> |
| 8617 | |
| 8618 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8619 | <p>If set to 1,<wbr/> the camera service uses |
| 8620 | CAMERA2_<wbr/>PIXEL_<wbr/>FORMAT_<wbr/>ZSL instead of |
| 8621 | HAL_<wbr/>PIXEL_<wbr/>FORMAT_<wbr/>IMPLEMENTATION_<wbr/>DEFINED for the zero |
| 8622 | shutter lag stream</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8623 | </td> |
| 8624 | |
| 8625 | <td class="entry_units"> |
| 8626 | </td> |
| 8627 | |
| 8628 | <td class="entry_range"> |
Zhijun He | fb4701f | 2014-02-04 11:32:24 -0800 | [diff] [blame] | 8629 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8630 | </td> |
| 8631 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8632 | <td class="entry_tags"> |
| 8633 | </td> |
| 8634 | |
| 8635 | </tr> |
| 8636 | <tr class="entries_header"> |
| 8637 | <th class="th_details" colspan="5">Details</th> |
| 8638 | </tr> |
| 8639 | <tr class="entry_cont"> |
| 8640 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8641 | <p>HAL implementations should use gralloc usage flags |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 8642 | to determine that a stream will be used for |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8643 | zero-shutter-lag,<wbr/> instead of relying on an explicit |
| 8644 | format setting.<wbr/> Does not need to be listed in static |
| 8645 | metadata.<wbr/> Support will be removed in future versions of |
| 8646 | camera service.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8647 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8648 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8649 | |
| 8650 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8651 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8652 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8653 | |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8654 | |
| 8655 | <tr class="entry" id="static_android.quirks.usePartialResult"> |
Igor Murashkin | 7761a22 | 2014-01-27 16:06:38 -0800 | [diff] [blame] | 8656 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8657 | android.<wbr/>quirks.<wbr/>use<wbr/>Partial<wbr/>Result |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8658 | </td> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8659 | <td class="entry_type"> |
| 8660 | <span class="entry_type_name">byte</span> |
| 8661 | |
Eino-Ville Talvala | 52a64a5 | 2013-11-07 14:43:43 -0800 | [diff] [blame] | 8662 | <span class="entry_type_visibility"> [hidden]</span> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8663 | |
| 8664 | |
| 8665 | </td> <!-- entry_type --> |
| 8666 | |
| 8667 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8668 | <p>If set to 1,<wbr/> the HAL will always split result |
| 8669 | metadata for a single capture into multiple buffers,<wbr/> |
| 8670 | returned using multiple process_<wbr/>capture_<wbr/>result calls.<wbr/></p> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8671 | </td> |
| 8672 | |
| 8673 | <td class="entry_units"> |
| 8674 | </td> |
| 8675 | |
| 8676 | <td class="entry_range"> |
Igor Murashkin | 7761a22 | 2014-01-27 16:06:38 -0800 | [diff] [blame] | 8677 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/></p> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8678 | </td> |
| 8679 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8680 | <td class="entry_tags"> |
| 8681 | </td> |
| 8682 | |
| 8683 | </tr> |
| 8684 | <tr class="entries_header"> |
| 8685 | <th class="th_details" colspan="5">Details</th> |
| 8686 | </tr> |
| 8687 | <tr class="entry_cont"> |
| 8688 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8689 | <p>Does not need to be listed in static |
| 8690 | metadata.<wbr/> Support for partial results will be reworked in |
| 8691 | future versions of camera service.<wbr/> This quirk will stop |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 8692 | working at that point; DO NOT USE without careful |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8693 | consideration of future support.<wbr/></p> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8694 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8695 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8696 | |
Igor Murashkin | 7761a22 | 2014-01-27 16:06:38 -0800 | [diff] [blame] | 8697 | <tr class="entries_header"> |
| 8698 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 8699 | </tr> |
| 8700 | <tr class="entry_cont"> |
| 8701 | <td class="entry_details" colspan="5"> |
| 8702 | <p>Refer to <code>camera3_<wbr/>capture_<wbr/>result::partial_<wbr/>result</code> |
| 8703 | for information on how to implement partial results.<wbr/></p> |
| 8704 | </td> |
| 8705 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8706 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8707 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8708 | <!-- end of entry --> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8709 | |
| 8710 | |
| 8711 | |
| 8712 | <!-- end of kind --> |
| 8713 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8714 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8715 | |
| 8716 | <thead class="entries_header"> |
| 8717 | <tr> |
| 8718 | <th class="th_name">Property Name</th> |
| 8719 | <th class="th_type">Type</th> |
| 8720 | <th class="th_description">Description</th> |
| 8721 | <th class="th_units">Units</th> |
| 8722 | <th class="th_range">Range</th> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8723 | <th class="th_tags">Tags</th> |
| 8724 | </tr> |
| 8725 | </thead> |
| 8726 | |
| 8727 | <tbody> |
| 8728 | |
| 8729 | |
| 8730 | |
| 8731 | |
| 8732 | |
| 8733 | |
| 8734 | |
| 8735 | |
| 8736 | |
| 8737 | |
| 8738 | <tr class="entry" id="dynamic_android.quirks.partialResult"> |
Igor Murashkin | 7761a22 | 2014-01-27 16:06:38 -0800 | [diff] [blame] | 8739 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8740 | android.<wbr/>quirks.<wbr/>partial<wbr/>Result |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8741 | </td> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8742 | <td class="entry_type"> |
| 8743 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 8744 | |
Eino-Ville Talvala | 52a64a5 | 2013-11-07 14:43:43 -0800 | [diff] [blame] | 8745 | <span class="entry_type_visibility"> [hidden as boolean]</span> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8746 | |
| 8747 | <ul class="entry_type_enum"> |
| 8748 | <li> |
| 8749 | <span class="entry_type_enum_name">FINAL</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 8750 | <span class="entry_type_enum_notes"><p>The last or only metadata result buffer |
| 8751 | for this capture.<wbr/></p></span> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8752 | </li> |
| 8753 | <li> |
| 8754 | <span class="entry_type_enum_name">PARTIAL</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 8755 | <span class="entry_type_enum_notes"><p>A partial buffer of result metadata for this |
| 8756 | capture.<wbr/> More result buffers for this capture will be sent |
| 8757 | by the HAL,<wbr/> the last of which will be marked |
| 8758 | FINAL.<wbr/></p></span> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8759 | </li> |
| 8760 | </ul> |
| 8761 | |
| 8762 | </td> <!-- entry_type --> |
| 8763 | |
| 8764 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8765 | <p>Whether a result given to the framework is the |
| 8766 | final one for the capture,<wbr/> or only a partial that contains a |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 8767 | subset of the full set of dynamic metadata |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8768 | values.<wbr/></p> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8769 | </td> |
| 8770 | |
| 8771 | <td class="entry_units"> |
| 8772 | </td> |
| 8773 | |
| 8774 | <td class="entry_range"> |
Igor Murashkin | 7761a22 | 2014-01-27 16:06:38 -0800 | [diff] [blame] | 8775 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/> Optional.<wbr/> Default value is FINAL.<wbr/></p> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8776 | </td> |
| 8777 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8778 | <td class="entry_tags"> |
| 8779 | </td> |
| 8780 | |
| 8781 | </tr> |
| 8782 | <tr class="entries_header"> |
| 8783 | <th class="th_details" colspan="5">Details</th> |
| 8784 | </tr> |
| 8785 | <tr class="entry_cont"> |
| 8786 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8787 | <p>The entries in the result metadata buffers for a |
| 8788 | single capture may not overlap,<wbr/> except for this entry.<wbr/> The |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 8789 | FINAL buffers must retain FIFO ordering relative to the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8790 | requests that generate them,<wbr/> so the FINAL buffer for frame 3 must |
| 8791 | always be sent to the framework after the FINAL buffer for frame 2,<wbr/> and |
| 8792 | before the FINAL buffer for frame 4.<wbr/> PARTIAL buffers may be returned |
| 8793 | in any order relative to other frames,<wbr/> but all PARTIAL buffers for a given |
| 8794 | capture must arrive before the FINAL buffer for that capture.<wbr/> This entry may |
| 8795 | only be used by the HAL if quirks.<wbr/>usePartialResult is set to 1.<wbr/></p> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8796 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8797 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8798 | |
Igor Murashkin | 7761a22 | 2014-01-27 16:06:38 -0800 | [diff] [blame] | 8799 | <tr class="entries_header"> |
| 8800 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 8801 | </tr> |
| 8802 | <tr class="entry_cont"> |
| 8803 | <td class="entry_details" colspan="5"> |
| 8804 | <p>Refer to <code>camera3_<wbr/>capture_<wbr/>result::partial_<wbr/>result</code> |
| 8805 | for information on how to implement partial results.<wbr/></p> |
| 8806 | </td> |
| 8807 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8808 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8809 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8810 | <!-- end of entry --> |
Eino-Ville Talvala | 82ce331 | 2013-10-09 18:21:30 -0700 | [diff] [blame] | 8811 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8812 | |
| 8813 | |
| 8814 | <!-- end of kind --> |
| 8815 | </tbody> |
| 8816 | |
| 8817 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8818 | <tr><td colspan="6" id="section_request" class="section">request</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8819 | |
| 8820 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8821 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8822 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8823 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8824 | <tr> |
| 8825 | <th class="th_name">Property Name</th> |
| 8826 | <th class="th_type">Type</th> |
| 8827 | <th class="th_description">Description</th> |
| 8828 | <th class="th_units">Units</th> |
| 8829 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8830 | <th class="th_tags">Tags</th> |
| 8831 | </tr> |
| 8832 | </thead> |
| 8833 | |
| 8834 | <tbody> |
| 8835 | |
| 8836 | |
| 8837 | |
| 8838 | |
| 8839 | |
| 8840 | |
| 8841 | |
| 8842 | |
| 8843 | |
| 8844 | |
| 8845 | <tr class="entry" id="controls_android.request.frameCount"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8846 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8847 | android.<wbr/>request.<wbr/>frame<wbr/>Count |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8848 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8849 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8850 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8851 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8852 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8853 | |
| 8854 | |
| 8855 | </td> <!-- entry_type --> |
| 8856 | |
| 8857 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8858 | <p>A frame counter set by the framework.<wbr/> Must |
| 8859 | be maintained unchanged in output frame.<wbr/> This value monotonically |
| 8860 | increases with every new result (that is,<wbr/> each new result has a unique |
| 8861 | frameCount value).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8862 | </td> |
| 8863 | |
| 8864 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8865 | incrementing integer |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8866 | </td> |
| 8867 | |
| 8868 | <td class="entry_range"> |
Zhijun He | fb4701f | 2014-02-04 11:32:24 -0800 | [diff] [blame] | 8869 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/> Any int.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8870 | </td> |
| 8871 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8872 | <td class="entry_tags"> |
| 8873 | </td> |
| 8874 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8875 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8876 | |
| 8877 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8878 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8879 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8880 | |
| 8881 | |
| 8882 | <tr class="entry" id="controls_android.request.id"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8883 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8884 | android.<wbr/>request.<wbr/>id |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8885 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8886 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8887 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8888 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8889 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8890 | |
| 8891 | |
| 8892 | </td> <!-- entry_type --> |
| 8893 | |
| 8894 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8895 | <p>An application-specified ID for the current |
| 8896 | request.<wbr/> Must be maintained unchanged in output |
| 8897 | frame</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8898 | </td> |
| 8899 | |
| 8900 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8901 | arbitrary integer assigned by application |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8902 | </td> |
| 8903 | |
| 8904 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 8905 | <p>Any int</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8906 | </td> |
| 8907 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8908 | <td class="entry_tags"> |
| 8909 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 8910 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8911 | </ul> |
| 8912 | </td> |
| 8913 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8914 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8915 | |
| 8916 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8917 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8918 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8919 | |
| 8920 | |
| 8921 | <tr class="entry" id="controls_android.request.inputStreams"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8922 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8923 | android.<wbr/>request.<wbr/>input<wbr/>Streams |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8924 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8925 | <td class="entry_type"> |
Zhijun He | e36cdbe | 2013-09-06 14:28:37 -0700 | [diff] [blame] | 8926 | <span class="entry_type_name">int32</span> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 8927 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8928 | |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 8929 | <span class="entry_type_array"> |
| 8930 | n |
| 8931 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8932 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8933 | |
| 8934 | |
| 8935 | </td> <!-- entry_type --> |
| 8936 | |
| 8937 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8938 | <p>List which camera reprocess stream is used |
| 8939 | for the source of reprocessing data.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8940 | </td> |
| 8941 | |
| 8942 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8943 | List of camera reprocess stream IDs |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8944 | </td> |
| 8945 | |
| 8946 | <td class="entry_range"> |
Zhijun He | fb4701f | 2014-02-04 11:32:24 -0800 | [diff] [blame] | 8947 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/></p> |
| 8948 | <p>Typically,<wbr/> only one entry allowed,<wbr/> must be a valid reprocess stream ID.<wbr/></p> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 8949 | <p>If android.<wbr/>jpeg.<wbr/>needs<wbr/>Thumbnail is set,<wbr/> then multiple |
| 8950 | reprocess streams may be included in a single request; they |
| 8951 | must be different scaled versions of the same image.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8952 | </td> |
| 8953 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8954 | <td class="entry_tags"> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 8955 | <ul class="entry_tags"> |
| 8956 | <li><a href="#tag_HAL2">HAL2</a></li> |
| 8957 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8958 | </td> |
| 8959 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8960 | </tr> |
| 8961 | <tr class="entries_header"> |
| 8962 | <th class="th_details" colspan="5">Details</th> |
| 8963 | </tr> |
| 8964 | <tr class="entry_cont"> |
| 8965 | <td class="entry_details" colspan="5"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 8966 | <p>Only meaningful when <a href="#controls_android.request.type">android.<wbr/>request.<wbr/>type</a> == |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8967 | REPROCESS.<wbr/> Ignored otherwise</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8968 | </td> |
| 8969 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8970 | |
| 8971 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 8972 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 8973 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8974 | |
| 8975 | |
| 8976 | <tr class="entry" id="controls_android.request.metadataMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8977 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 8978 | android.<wbr/>request.<wbr/>metadata<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 8979 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8980 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 8981 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8982 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 8983 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8984 | |
| 8985 | <ul class="entry_type_enum"> |
| 8986 | <li> |
| 8987 | <span class="entry_type_enum_name">NONE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 8988 | <span class="entry_type_enum_notes"><p>No metadata should be produced on output,<wbr/> except |
| 8989 | for application-bound buffer data.<wbr/> If no |
| 8990 | application-bound streams exist,<wbr/> no frame should be |
| 8991 | placed in the output frame queue.<wbr/> If such streams |
| 8992 | exist,<wbr/> a frame should be placed on the output queue |
| 8993 | with null metadata but with the necessary output buffer |
| 8994 | information.<wbr/> Timestamp information should still be |
| 8995 | included with any output stream buffers</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 8996 | </li> |
| 8997 | <li> |
| 8998 | <span class="entry_type_enum_name">FULL</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 8999 | <span class="entry_type_enum_notes"><p>All metadata should be produced.<wbr/> Statistics will |
| 9000 | only be produced if they are separately |
| 9001 | enabled</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9002 | </li> |
| 9003 | </ul> |
| 9004 | |
| 9005 | </td> <!-- entry_type --> |
| 9006 | |
| 9007 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9008 | <p>How much metadata to produce on |
| 9009 | output</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9010 | </td> |
| 9011 | |
| 9012 | <td class="entry_units"> |
| 9013 | </td> |
| 9014 | |
| 9015 | <td class="entry_range"> |
| 9016 | </td> |
| 9017 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9018 | <td class="entry_tags"> |
| 9019 | </td> |
| 9020 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9021 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9022 | |
| 9023 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9024 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9025 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9026 | |
| 9027 | |
| 9028 | <tr class="entry" id="controls_android.request.outputStreams"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9029 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9030 | android.<wbr/>request.<wbr/>output<wbr/>Streams |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9031 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9032 | <td class="entry_type"> |
Zhijun He | e36cdbe | 2013-09-06 14:28:37 -0700 | [diff] [blame] | 9033 | <span class="entry_type_name">int32</span> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 9034 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9035 | |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 9036 | <span class="entry_type_array"> |
| 9037 | n |
| 9038 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9039 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9040 | |
| 9041 | |
| 9042 | </td> <!-- entry_type --> |
| 9043 | |
| 9044 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9045 | <p>Lists which camera output streams image data |
| 9046 | from this capture must be sent to</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9047 | </td> |
| 9048 | |
| 9049 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9050 | List of camera stream IDs |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9051 | </td> |
| 9052 | |
| 9053 | <td class="entry_range"> |
Zhijun He | fb4701f | 2014-02-04 11:32:24 -0800 | [diff] [blame] | 9054 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/> List must only include streams that have been |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 9055 | created</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9056 | </td> |
| 9057 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9058 | <td class="entry_tags"> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 9059 | <ul class="entry_tags"> |
| 9060 | <li><a href="#tag_HAL2">HAL2</a></li> |
| 9061 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9062 | </td> |
| 9063 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9064 | </tr> |
| 9065 | <tr class="entries_header"> |
| 9066 | <th class="th_details" colspan="5">Details</th> |
| 9067 | </tr> |
| 9068 | <tr class="entry_cont"> |
| 9069 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9070 | <p>If no output streams are listed,<wbr/> then the image |
| 9071 | data should simply be discarded.<wbr/> The image data must |
| 9072 | still be captured for metadata and statistics production,<wbr/> |
| 9073 | and the lens and flash must operate as requested.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9074 | </td> |
| 9075 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9076 | |
| 9077 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9078 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9079 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9080 | |
| 9081 | |
| 9082 | <tr class="entry" id="controls_android.request.type"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9083 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9084 | android.<wbr/>request.<wbr/>type |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9085 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9086 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 9087 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9088 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9089 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9090 | |
| 9091 | <ul class="entry_type_enum"> |
| 9092 | <li> |
| 9093 | <span class="entry_type_enum_name">CAPTURE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 9094 | <span class="entry_type_enum_notes"><p>Capture a new image from the imaging hardware,<wbr/> |
| 9095 | and process it according to the |
| 9096 | settings</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9097 | </li> |
| 9098 | <li> |
| 9099 | <span class="entry_type_enum_name">REPROCESS</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 9100 | <span class="entry_type_enum_notes"><p>Process previously captured data; the |
| 9101 | android.<wbr/>request.<wbr/>input<wbr/>Stream parameter determines the |
| 9102 | source reprocessing stream.<wbr/> TODO: Mark dynamic metadata |
| 9103 | needed for reprocessing with [RP]</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9104 | </li> |
| 9105 | </ul> |
| 9106 | |
| 9107 | </td> <!-- entry_type --> |
| 9108 | |
| 9109 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9110 | <p>The type of the request; either CAPTURE or |
| 9111 | REPROCESS.<wbr/> For HAL3,<wbr/> this tag is redundant.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9112 | </td> |
| 9113 | |
| 9114 | <td class="entry_units"> |
| 9115 | </td> |
| 9116 | |
| 9117 | <td class="entry_range"> |
| 9118 | </td> |
| 9119 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9120 | <td class="entry_tags"> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 9121 | <ul class="entry_tags"> |
| 9122 | <li><a href="#tag_HAL2">HAL2</a></li> |
| 9123 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9124 | </td> |
| 9125 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9126 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9127 | |
| 9128 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9129 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9130 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9131 | |
| 9132 | |
| 9133 | |
| 9134 | <!-- end of kind --> |
| 9135 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9136 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9137 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9138 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9139 | <tr> |
| 9140 | <th class="th_name">Property Name</th> |
| 9141 | <th class="th_type">Type</th> |
| 9142 | <th class="th_description">Description</th> |
| 9143 | <th class="th_units">Units</th> |
| 9144 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9145 | <th class="th_tags">Tags</th> |
| 9146 | </tr> |
| 9147 | </thead> |
| 9148 | |
| 9149 | <tbody> |
| 9150 | |
| 9151 | |
| 9152 | |
| 9153 | |
| 9154 | |
| 9155 | |
| 9156 | |
| 9157 | |
| 9158 | |
| 9159 | |
| 9160 | <tr class="entry" id="static_android.request.maxNumOutputStreams"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9161 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9162 | android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Output<wbr/>Streams |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9163 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9164 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 9165 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9166 | <span class="entry_type_container">x</span> |
| 9167 | |
| 9168 | <span class="entry_type_array"> |
| 9169 | 3 |
| 9170 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9171 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9172 | |
| 9173 | |
| 9174 | </td> <!-- entry_type --> |
| 9175 | |
| 9176 | <td class="entry_description"> |
Zhijun He | 12744b2 | 2014-01-22 15:58:57 -0800 | [diff] [blame] | 9177 | <p>The maximum numbers of different types of output streams |
| 9178 | that can be configured and used simultaneously by a camera device.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9179 | </td> |
| 9180 | |
| 9181 | <td class="entry_units"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9182 | </td> |
| 9183 | |
| 9184 | <td class="entry_range"> |
Zhijun He | 12744b2 | 2014-01-22 15:58:57 -0800 | [diff] [blame] | 9185 | <p>>= 1 for JPEG-compressed format streams.<wbr/></p> |
| 9186 | <p>>= 0 for Raw format streams.<wbr/></p> |
| 9187 | <p>>= 3 for processed,<wbr/> uncompressed format streams.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9188 | </td> |
| 9189 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9190 | <td class="entry_tags"> |
| 9191 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 9192 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9193 | </ul> |
| 9194 | </td> |
| 9195 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9196 | </tr> |
| 9197 | <tr class="entries_header"> |
| 9198 | <th class="th_details" colspan="5">Details</th> |
| 9199 | </tr> |
| 9200 | <tr class="entry_cont"> |
| 9201 | <td class="entry_details" colspan="5"> |
Zhijun He | 12744b2 | 2014-01-22 15:58:57 -0800 | [diff] [blame] | 9202 | <p>This is a 3 element tuple that contains the max number of output simultaneous |
| 9203 | streams for raw sensor,<wbr/> processed (and uncompressed),<wbr/> and JPEG formats respectively.<wbr/> |
| 9204 | For example,<wbr/> if max raw sensor format output stream number is 1,<wbr/> max YUV streams |
| 9205 | 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> |
| 9206 | <p>This lists the upper bound of the number of output streams supported by |
| 9207 | the camera device.<wbr/> Using more streams simultaneously may require more hardware and |
| 9208 | CPU resources that will consume more power.<wbr/> The image format for a output stream can |
| 9209 | be any supported format provided by <a href="#static_android.scaler.availableFormats">android.<wbr/>scaler.<wbr/>available<wbr/>Formats</a>.<wbr/> The formats |
| 9210 | defined in <a href="#static_android.scaler.availableFormats">android.<wbr/>scaler.<wbr/>available<wbr/>Formats</a> can be catergorized into the 3 stream types |
| 9211 | as below:</p> |
| 9212 | <ul> |
| 9213 | <li>JPEG-compressed format: BLOB.<wbr/></li> |
| 9214 | <li>Raw formats: RAW_<wbr/>SENSOR and RAW_<wbr/>OPAQUE.<wbr/></li> |
| 9215 | <li>processed,<wbr/> uncompressed formats: YCb<wbr/>Cr_<wbr/>420_<wbr/>888,<wbr/> YCr<wbr/>Cb_<wbr/>420_<wbr/>SP,<wbr/> YV12.<wbr/></li> |
| 9216 | </ul> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9217 | </td> |
| 9218 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9219 | |
| 9220 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9221 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9222 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9223 | |
| 9224 | |
| 9225 | <tr class="entry" id="static_android.request.maxNumReprocessStreams"> |
Zhijun He | 12744b2 | 2014-01-22 15:58:57 -0800 | [diff] [blame] | 9226 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9227 | android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Reprocess<wbr/>Streams |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9228 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9229 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 9230 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9231 | <span class="entry_type_container">x</span> |
| 9232 | |
| 9233 | <span class="entry_type_array"> |
| 9234 | 1 |
| 9235 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9236 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9237 | |
| 9238 | |
| 9239 | </td> <!-- entry_type --> |
| 9240 | |
| 9241 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9242 | <p>How many reprocessing streams of any type |
Zhijun He | 12744b2 | 2014-01-22 15:58:57 -0800 | [diff] [blame] | 9243 | can be allocated at the same time.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9244 | </td> |
| 9245 | |
| 9246 | <td class="entry_units"> |
| 9247 | </td> |
| 9248 | |
| 9249 | <td class="entry_range"> |
Zhijun He | 12744b2 | 2014-01-22 15:58:57 -0800 | [diff] [blame] | 9250 | <p>>= 0</p> |
| 9251 | </td> |
| 9252 | |
| 9253 | <td class="entry_tags"> |
| 9254 | <ul class="entry_tags"> |
| 9255 | <li><a href="#tag_HAL2">HAL2</a></li> |
| 9256 | </ul> |
| 9257 | </td> |
| 9258 | |
| 9259 | </tr> |
| 9260 | <tr class="entries_header"> |
| 9261 | <th class="th_details" colspan="5">Details</th> |
| 9262 | </tr> |
| 9263 | <tr class="entry_cont"> |
| 9264 | <td class="entry_details" colspan="5"> |
| 9265 | <p><strong>Deprecated</strong>.<wbr/> Only used by HAL2.<wbr/>x.<wbr/></p> |
| 9266 | <p>When set to 0,<wbr/> it means no reprocess stream is supported.<wbr/></p> |
| 9267 | </td> |
| 9268 | </tr> |
| 9269 | |
| 9270 | |
| 9271 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9272 | <!-- end of entry --> |
| 9273 | |
| 9274 | |
| 9275 | <tr class="entry" id="static_android.request.maxNumInputStreams"> |
| 9276 | <td class="entry_name" rowspan="3"> |
| 9277 | android.<wbr/>request.<wbr/>max<wbr/>Num<wbr/>Input<wbr/>Streams |
| 9278 | </td> |
| 9279 | <td class="entry_type"> |
| 9280 | <span class="entry_type_name">int32</span> |
| 9281 | |
| 9282 | <span class="entry_type_visibility"> [public]</span> |
| 9283 | |
| 9284 | |
| 9285 | </td> <!-- entry_type --> |
| 9286 | |
| 9287 | <td class="entry_description"> |
| 9288 | <p>The maximum numbers of any type of input streams |
| 9289 | that can be configured and used simultaneously by a camera device.<wbr/></p> |
| 9290 | </td> |
| 9291 | |
| 9292 | <td class="entry_units"> |
| 9293 | </td> |
| 9294 | |
| 9295 | <td class="entry_range"> |
| 9296 | <p>>= 0 for LIMITED mode device (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == LIMITED</code>).<wbr/> |
| 9297 | >= 1 for FULL mode device (<code><a href="#static_android.info.supportedHardwareLevel">android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level</a> == FULL</code>).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9298 | </td> |
| 9299 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9300 | <td class="entry_tags"> |
| 9301 | </td> |
| 9302 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9303 | </tr> |
Zhijun He | 12744b2 | 2014-01-22 15:58:57 -0800 | [diff] [blame] | 9304 | <tr class="entries_header"> |
| 9305 | <th class="th_details" colspan="5">Details</th> |
| 9306 | </tr> |
| 9307 | <tr class="entry_cont"> |
| 9308 | <td class="entry_details" colspan="5"> |
| 9309 | <p>When set to 0,<wbr/> it means no input stream is supported.<wbr/></p> |
| 9310 | <p>The image format for a input stream can be any supported format provided |
| 9311 | by android.<wbr/>scaler.<wbr/>available<wbr/>Input<wbr/>Formats.<wbr/> When using an input stream,<wbr/> there must be |
| 9312 | at least one output stream configured to to receive the reprocessed images.<wbr/></p> |
| 9313 | <p>For example,<wbr/> for Zero Shutter Lag (ZSL) still capture use case,<wbr/> the input |
| 9314 | stream image format will be RAW_<wbr/>OPAQUE,<wbr/> the associated output stream image format |
| 9315 | should be JPEG.<wbr/></p> |
| 9316 | </td> |
| 9317 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9318 | |
| 9319 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9320 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9321 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9322 | |
Igor Murashkin | a46e02f | 2014-01-09 17:43:38 -0800 | [diff] [blame] | 9323 | |
| 9324 | <tr class="entry" id="static_android.request.pipelineMaxDepth"> |
| 9325 | <td class="entry_name" rowspan="5"> |
| 9326 | android.<wbr/>request.<wbr/>pipeline<wbr/>Max<wbr/>Depth |
| 9327 | </td> |
| 9328 | <td class="entry_type"> |
| 9329 | <span class="entry_type_name">byte</span> |
| 9330 | |
| 9331 | <span class="entry_type_visibility"> [public]</span> |
| 9332 | |
| 9333 | |
| 9334 | </td> <!-- entry_type --> |
| 9335 | |
| 9336 | <td class="entry_description"> |
| 9337 | <p>Specifies the number of maximum pipeline stages a frame |
| 9338 | has to go through from when it's exposed to when it's available |
| 9339 | to the framework.<wbr/></p> |
| 9340 | </td> |
| 9341 | |
| 9342 | <td class="entry_units"> |
| 9343 | </td> |
| 9344 | |
| 9345 | <td class="entry_range"> |
| 9346 | </td> |
| 9347 | |
| 9348 | <td class="entry_tags"> |
| 9349 | </td> |
| 9350 | |
| 9351 | </tr> |
| 9352 | <tr class="entries_header"> |
| 9353 | <th class="th_details" colspan="5">Details</th> |
| 9354 | </tr> |
| 9355 | <tr class="entry_cont"> |
| 9356 | <td class="entry_details" colspan="5"> |
| 9357 | <p>A typical minimum value for this is 2 (one stage to expose,<wbr/> |
| 9358 | one stage to readout) from the sensor.<wbr/> The ISP then usually adds |
| 9359 | its own stages to do custom HW processing.<wbr/> Further stages may be |
| 9360 | added by SW processing.<wbr/></p> |
| 9361 | <p>Depending on what settings are used (e.<wbr/>g.<wbr/> YUV,<wbr/> JPEG) and what |
| 9362 | processing is enabled (e.<wbr/>g.<wbr/> face detection),<wbr/> the actual pipeline |
| 9363 | depth (specified by <a href="#dynamic_android.request.pipelineDepth">android.<wbr/>request.<wbr/>pipeline<wbr/>Depth</a>) may be less than |
| 9364 | the max pipeline depth.<wbr/></p> |
| 9365 | <p>A pipeline depth of X stages is equivalent to a pipeline latency of |
| 9366 | X frame intervals.<wbr/></p> |
| 9367 | <p>This value will be 8 or less.<wbr/></p> |
| 9368 | </td> |
| 9369 | </tr> |
| 9370 | |
| 9371 | <tr class="entries_header"> |
| 9372 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 9373 | </tr> |
| 9374 | <tr class="entry_cont"> |
| 9375 | <td class="entry_details" colspan="5"> |
| 9376 | <p>This value should be 4 or less.<wbr/></p> |
| 9377 | </td> |
| 9378 | </tr> |
| 9379 | |
| 9380 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9381 | <!-- end of entry --> |
| 9382 | |
Igor Murashkin | 2e29110 | 2014-01-10 14:18:30 -0800 | [diff] [blame] | 9383 | |
| 9384 | <tr class="entry" id="static_android.request.partialResultCount"> |
| 9385 | <td class="entry_name" rowspan="3"> |
| 9386 | android.<wbr/>request.<wbr/>partial<wbr/>Result<wbr/>Count |
| 9387 | </td> |
| 9388 | <td class="entry_type"> |
| 9389 | <span class="entry_type_name">int32</span> |
| 9390 | |
| 9391 | <span class="entry_type_visibility"> [public]</span> |
| 9392 | |
| 9393 | |
| 9394 | </td> <!-- entry_type --> |
| 9395 | |
| 9396 | <td class="entry_description"> |
| 9397 | <p>Optional.<wbr/> Defaults to 1.<wbr/> Defines how many sub-components |
| 9398 | a result will be composed of.<wbr/></p> |
| 9399 | </td> |
| 9400 | |
| 9401 | <td class="entry_units"> |
| 9402 | </td> |
| 9403 | |
| 9404 | <td class="entry_range"> |
| 9405 | <p>>= 1</p> |
| 9406 | </td> |
| 9407 | |
| 9408 | <td class="entry_tags"> |
| 9409 | </td> |
| 9410 | |
| 9411 | </tr> |
| 9412 | <tr class="entries_header"> |
| 9413 | <th class="th_details" colspan="5">Details</th> |
| 9414 | </tr> |
| 9415 | <tr class="entry_cont"> |
| 9416 | <td class="entry_details" colspan="5"> |
| 9417 | <p>In order to combat the pipeline latency,<wbr/> partial results |
| 9418 | may be delivered to the application layer from the camera device as |
| 9419 | soon as they are available.<wbr/></p> |
| 9420 | <p>A value of 1 means that partial results are not supported.<wbr/></p> |
| 9421 | <p>A typical use case for this might be: after requesting an AF lock the |
| 9422 | new AF state might be available 50% of the way through the pipeline.<wbr/> |
| 9423 | The camera device could then immediately dispatch this state via a |
| 9424 | partial result to the framework/<wbr/>application layer,<wbr/> and the rest of |
| 9425 | the metadata via later partial results.<wbr/></p> |
| 9426 | </td> |
| 9427 | </tr> |
| 9428 | |
| 9429 | |
| 9430 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9431 | <!-- end of entry --> |
| 9432 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9433 | |
| 9434 | |
| 9435 | <!-- end of kind --> |
| 9436 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9437 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9438 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9439 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9440 | <tr> |
| 9441 | <th class="th_name">Property Name</th> |
| 9442 | <th class="th_type">Type</th> |
| 9443 | <th class="th_description">Description</th> |
| 9444 | <th class="th_units">Units</th> |
| 9445 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9446 | <th class="th_tags">Tags</th> |
| 9447 | </tr> |
| 9448 | </thead> |
| 9449 | |
| 9450 | <tbody> |
| 9451 | |
| 9452 | |
| 9453 | |
| 9454 | |
| 9455 | |
| 9456 | |
| 9457 | |
| 9458 | |
| 9459 | |
| 9460 | |
| 9461 | <tr class="entry" id="dynamic_android.request.frameCount"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9462 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9463 | android.<wbr/>request.<wbr/>frame<wbr/>Count |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9464 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9465 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 9466 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9467 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9468 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9469 | |
| 9470 | |
| 9471 | </td> <!-- entry_type --> |
| 9472 | |
| 9473 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9474 | <p>A frame counter set by the framework.<wbr/> This value monotonically |
| 9475 | increases with every new result (that is,<wbr/> each new result has a unique |
| 9476 | frameCount value).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9477 | </td> |
| 9478 | |
| 9479 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9480 | count of frames |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9481 | </td> |
| 9482 | |
| 9483 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 9484 | <p>> 0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9485 | </td> |
| 9486 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9487 | <td class="entry_tags"> |
| 9488 | </td> |
| 9489 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9490 | </tr> |
| 9491 | <tr class="entries_header"> |
| 9492 | <th class="th_details" colspan="5">Details</th> |
| 9493 | </tr> |
| 9494 | <tr class="entry_cont"> |
| 9495 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9496 | <p>Reset on release()</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9497 | </td> |
| 9498 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9499 | |
| 9500 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9501 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9502 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9503 | |
| 9504 | |
| 9505 | <tr class="entry" id="dynamic_android.request.id"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9506 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9507 | android.<wbr/>request.<wbr/>id |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9508 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9509 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 9510 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9511 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9512 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9513 | |
| 9514 | |
| 9515 | </td> <!-- entry_type --> |
| 9516 | |
| 9517 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9518 | <p>An application-specified ID for the current |
| 9519 | request.<wbr/> Must be maintained unchanged in output |
| 9520 | frame</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9521 | </td> |
| 9522 | |
| 9523 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9524 | arbitrary integer assigned by application |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9525 | </td> |
| 9526 | |
| 9527 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 9528 | <p>Any int</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9529 | </td> |
| 9530 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9531 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 9532 | <ul class="entry_tags"> |
| 9533 | <li><a href="#tag_V1">V1</a></li> |
| 9534 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9535 | </td> |
| 9536 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9537 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9538 | |
| 9539 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9540 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9541 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9542 | |
| 9543 | |
| 9544 | <tr class="entry" id="dynamic_android.request.metadataMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9545 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9546 | android.<wbr/>request.<wbr/>metadata<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9547 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9548 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 9549 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9550 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9551 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9552 | |
| 9553 | <ul class="entry_type_enum"> |
| 9554 | <li> |
| 9555 | <span class="entry_type_enum_name">NONE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 9556 | <span class="entry_type_enum_notes"><p>No metadata should be produced on output,<wbr/> except |
| 9557 | for application-bound buffer data.<wbr/> If no |
| 9558 | application-bound streams exist,<wbr/> no frame should be |
| 9559 | placed in the output frame queue.<wbr/> If such streams |
| 9560 | exist,<wbr/> a frame should be placed on the output queue |
| 9561 | with null metadata but with the necessary output buffer |
| 9562 | information.<wbr/> Timestamp information should still be |
| 9563 | included with any output stream buffers</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9564 | </li> |
| 9565 | <li> |
| 9566 | <span class="entry_type_enum_name">FULL</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 9567 | <span class="entry_type_enum_notes"><p>All metadata should be produced.<wbr/> Statistics will |
| 9568 | only be produced if they are separately |
| 9569 | enabled</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9570 | </li> |
| 9571 | </ul> |
| 9572 | |
| 9573 | </td> <!-- entry_type --> |
| 9574 | |
| 9575 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9576 | <p>How much metadata to produce on |
| 9577 | output</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9578 | </td> |
| 9579 | |
| 9580 | <td class="entry_units"> |
| 9581 | </td> |
| 9582 | |
| 9583 | <td class="entry_range"> |
| 9584 | </td> |
| 9585 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9586 | <td class="entry_tags"> |
| 9587 | </td> |
| 9588 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9589 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9590 | |
| 9591 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9592 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9593 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9594 | |
| 9595 | |
| 9596 | <tr class="entry" id="dynamic_android.request.outputStreams"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9597 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9598 | android.<wbr/>request.<wbr/>output<wbr/>Streams |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9599 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9600 | <td class="entry_type"> |
Zhijun He | e36cdbe | 2013-09-06 14:28:37 -0700 | [diff] [blame] | 9601 | <span class="entry_type_name">int32</span> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 9602 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9603 | |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 9604 | <span class="entry_type_array"> |
| 9605 | n |
| 9606 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9607 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9608 | |
| 9609 | |
| 9610 | </td> <!-- entry_type --> |
| 9611 | |
| 9612 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9613 | <p>Lists which camera output streams image data |
| 9614 | from this capture must be sent to</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9615 | </td> |
| 9616 | |
| 9617 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9618 | List of camera stream IDs |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9619 | </td> |
| 9620 | |
| 9621 | <td class="entry_range"> |
Zhijun He | fb4701f | 2014-02-04 11:32:24 -0800 | [diff] [blame] | 9622 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/> List must only include streams that have been |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 9623 | created</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9624 | </td> |
| 9625 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9626 | <td class="entry_tags"> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 9627 | <ul class="entry_tags"> |
| 9628 | <li><a href="#tag_HAL2">HAL2</a></li> |
| 9629 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9630 | </td> |
| 9631 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9632 | </tr> |
| 9633 | <tr class="entries_header"> |
| 9634 | <th class="th_details" colspan="5">Details</th> |
| 9635 | </tr> |
| 9636 | <tr class="entry_cont"> |
| 9637 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9638 | <p>If no output streams are listed,<wbr/> then the image |
| 9639 | data should simply be discarded.<wbr/> The image data must |
| 9640 | still be captured for metadata and statistics production,<wbr/> |
| 9641 | and the lens and flash must operate as requested.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9642 | </td> |
| 9643 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9644 | |
| 9645 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9646 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9647 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9648 | |
Igor Murashkin | a46e02f | 2014-01-09 17:43:38 -0800 | [diff] [blame] | 9649 | |
| 9650 | <tr class="entry" id="dynamic_android.request.pipelineDepth"> |
| 9651 | <td class="entry_name" rowspan="5"> |
| 9652 | android.<wbr/>request.<wbr/>pipeline<wbr/>Depth |
| 9653 | </td> |
| 9654 | <td class="entry_type"> |
| 9655 | <span class="entry_type_name">byte</span> |
| 9656 | |
| 9657 | <span class="entry_type_visibility"> [public]</span> |
| 9658 | |
| 9659 | |
| 9660 | </td> <!-- entry_type --> |
| 9661 | |
| 9662 | <td class="entry_description"> |
| 9663 | <p>Specifies the number of pipeline stages the frame went |
| 9664 | through from when it was exposed to when the final completed result |
| 9665 | was available to the framework.<wbr/></p> |
| 9666 | </td> |
| 9667 | |
| 9668 | <td class="entry_units"> |
| 9669 | </td> |
| 9670 | |
| 9671 | <td class="entry_range"> |
| 9672 | <p><= <a href="#static_android.request.pipelineMaxDepth">android.<wbr/>request.<wbr/>pipeline<wbr/>Max<wbr/>Depth</a></p> |
| 9673 | </td> |
| 9674 | |
| 9675 | <td class="entry_tags"> |
| 9676 | </td> |
| 9677 | |
| 9678 | </tr> |
| 9679 | <tr class="entries_header"> |
| 9680 | <th class="th_details" colspan="5">Details</th> |
| 9681 | </tr> |
| 9682 | <tr class="entry_cont"> |
| 9683 | <td class="entry_details" colspan="5"> |
| 9684 | <p>Depending on what settings are used in the request,<wbr/> and |
| 9685 | what streams are configured,<wbr/> the data may undergo less processing,<wbr/> |
| 9686 | and some pipeline stages skipped.<wbr/></p> |
| 9687 | <p>See <a href="#static_android.request.pipelineMaxDepth">android.<wbr/>request.<wbr/>pipeline<wbr/>Max<wbr/>Depth</a> for more details.<wbr/></p> |
| 9688 | </td> |
| 9689 | </tr> |
| 9690 | |
| 9691 | <tr class="entries_header"> |
| 9692 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 9693 | </tr> |
| 9694 | <tr class="entry_cont"> |
| 9695 | <td class="entry_details" colspan="5"> |
| 9696 | <p>This value must always represent the accurate count of how many |
| 9697 | pipeline stages were actually used.<wbr/></p> |
| 9698 | </td> |
| 9699 | </tr> |
| 9700 | |
| 9701 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9702 | <!-- end of entry --> |
| 9703 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9704 | |
| 9705 | |
| 9706 | <!-- end of kind --> |
| 9707 | </tbody> |
| 9708 | |
| 9709 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9710 | <tr><td colspan="6" id="section_scaler" class="section">scaler</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9711 | |
| 9712 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9713 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9714 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9715 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9716 | <tr> |
| 9717 | <th class="th_name">Property Name</th> |
| 9718 | <th class="th_type">Type</th> |
| 9719 | <th class="th_description">Description</th> |
| 9720 | <th class="th_units">Units</th> |
| 9721 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9722 | <th class="th_tags">Tags</th> |
| 9723 | </tr> |
| 9724 | </thead> |
| 9725 | |
| 9726 | <tbody> |
| 9727 | |
| 9728 | |
| 9729 | |
| 9730 | |
| 9731 | |
| 9732 | |
| 9733 | |
| 9734 | |
| 9735 | |
| 9736 | |
| 9737 | <tr class="entry" id="controls_android.scaler.cropRegion"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9738 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9739 | android.<wbr/>scaler.<wbr/>crop<wbr/>Region |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9740 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9741 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 9742 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9743 | <span class="entry_type_container">x</span> |
| 9744 | |
| 9745 | <span class="entry_type_array"> |
Eino-Ville Talvala | e04ec6e | 2013-04-16 15:35:18 -0700 | [diff] [blame] | 9746 | 4 |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9747 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 9748 | <span class="entry_type_visibility"> [public as rectangle]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9749 | |
| 9750 | |
| 9751 | </td> <!-- entry_type --> |
| 9752 | |
| 9753 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9754 | <p>(x,<wbr/> y,<wbr/> width,<wbr/> height).<wbr/></p> |
| 9755 | <p>A rectangle with the top-level corner of (x,<wbr/>y) and size |
| 9756 | (width,<wbr/> height).<wbr/> The region of the sensor that is used for |
| 9757 | output.<wbr/> Each stream must use this rectangle to produce its |
| 9758 | output,<wbr/> cropping to a smaller region if necessary to |
| 9759 | maintain the stream's aspect ratio.<wbr/></p> |
| 9760 | <p>HAL2.<wbr/>x uses only (x,<wbr/> y,<wbr/> width)</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9761 | </td> |
| 9762 | |
| 9763 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9764 | (x,<wbr/>y) of top-left corner,<wbr/> width and height of region |
| 9765 | in pixels; (0,<wbr/>0) is top-left corner of |
| 9766 | android.<wbr/>sensor.<wbr/>active<wbr/>Array<wbr/>Size |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9767 | </td> |
| 9768 | |
| 9769 | <td class="entry_range"> |
| 9770 | </td> |
| 9771 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9772 | <td class="entry_tags"> |
| 9773 | <ul class="entry_tags"> |
| 9774 | <li><a href="#tag_BC">BC</a></li> |
| 9775 | </ul> |
| 9776 | </td> |
| 9777 | |
| 9778 | </tr> |
| 9779 | <tr class="entries_header"> |
| 9780 | <th class="th_details" colspan="5">Details</th> |
| 9781 | </tr> |
| 9782 | <tr class="entry_cont"> |
| 9783 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9784 | <p>Any additional per-stream cropping must be done to |
| 9785 | maximize the final pixel area of the stream.<wbr/></p> |
| 9786 | <p>For example,<wbr/> if the crop region is set to a 4:3 aspect |
| 9787 | ratio,<wbr/> then 4:3 streams should use the exact crop |
| 9788 | region.<wbr/> 16:9 streams should further crop vertically |
| 9789 | (letterbox).<wbr/></p> |
| 9790 | <p>Conversely,<wbr/> if the crop region is set to a 16:9,<wbr/> then 4:3 |
| 9791 | outputs should crop horizontally (pillarbox),<wbr/> and 16:9 |
| 9792 | streams should match exactly.<wbr/> These additional crops must |
| 9793 | be centered within the crop region.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 9794 | <p>The output streams must maintain square pixels at all |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9795 | times,<wbr/> no matter what the relative aspect ratios of the |
| 9796 | crop region and the stream are.<wbr/> Negative values for |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 9797 | corner are allowed for raw output if full pixel array is |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9798 | larger than active pixel array.<wbr/> Width and height may be |
| 9799 | rounded to nearest larger supportable width,<wbr/> especially |
| 9800 | for raw output,<wbr/> where only a few fixed scales may be |
| 9801 | possible.<wbr/> The width and height of the crop region cannot |
| 9802 | be set to be smaller than floor( activeArraySize.<wbr/>width /<wbr/> |
| 9803 | android.<wbr/>scaler.<wbr/>max<wbr/>Digital<wbr/>Zoom ) and floor( |
| 9804 | activeArraySize.<wbr/>height /<wbr/> android.<wbr/>scaler.<wbr/>max<wbr/>Digital<wbr/>Zoom),<wbr/> |
| 9805 | respectively.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9806 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9807 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9808 | |
| 9809 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9810 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9811 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9812 | |
| 9813 | |
| 9814 | |
| 9815 | <!-- end of kind --> |
| 9816 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9817 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9818 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9819 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9820 | <tr> |
| 9821 | <th class="th_name">Property Name</th> |
| 9822 | <th class="th_type">Type</th> |
| 9823 | <th class="th_description">Description</th> |
| 9824 | <th class="th_units">Units</th> |
| 9825 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9826 | <th class="th_tags">Tags</th> |
| 9827 | </tr> |
| 9828 | </thead> |
| 9829 | |
| 9830 | <tbody> |
| 9831 | |
| 9832 | |
| 9833 | |
| 9834 | |
| 9835 | |
| 9836 | |
| 9837 | |
| 9838 | |
| 9839 | |
| 9840 | |
| 9841 | <tr class="entry" id="static_android.scaler.availableFormats"> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 9842 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9843 | android.<wbr/>scaler.<wbr/>available<wbr/>Formats |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9844 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9845 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 9846 | <span class="entry_type_name entry_type_name_enum">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9847 | <span class="entry_type_container">x</span> |
| 9848 | |
| 9849 | <span class="entry_type_array"> |
| 9850 | n |
| 9851 | </span> |
Eino-Ville Talvala | d4e240a | 2013-08-08 12:56:37 -0700 | [diff] [blame] | 9852 | <span class="entry_type_visibility"> [public as imageFormat]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9853 | |
| 9854 | <ul class="entry_type_enum"> |
| 9855 | <li> |
| 9856 | <span class="entry_type_enum_name">RAW_SENSOR</span> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 9857 | <span class="entry_type_enum_optional">optional</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9858 | <span class="entry_type_enum_value">0x20</span> |
| 9859 | </li> |
| 9860 | <li> |
| 9861 | <span class="entry_type_enum_name">YV12</span> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 9862 | <span class="entry_type_enum_optional">optional</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9863 | <span class="entry_type_enum_value">0x32315659</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 9864 | <span class="entry_type_enum_notes"><p>YCrCb 4:2:0 Planar</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9865 | </li> |
| 9866 | <li> |
Zhijun He | c2eebff | 2013-05-16 17:49:35 -0700 | [diff] [blame] | 9867 | <span class="entry_type_enum_name">YCrCb_420_SP</span> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 9868 | <span class="entry_type_enum_optional">optional</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9869 | <span class="entry_type_enum_value">0x11</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 9870 | <span class="entry_type_enum_notes"><p>NV21</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9871 | </li> |
| 9872 | <li> |
Zhijun He | c2eebff | 2013-05-16 17:49:35 -0700 | [diff] [blame] | 9873 | <span class="entry_type_enum_name">IMPLEMENTATION_DEFINED</span> |
| 9874 | <span class="entry_type_enum_value">0x22</span> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 9875 | <span class="entry_type_enum_notes"><p>System internal format,<wbr/> not application-accessible</p></span> |
Zhijun He | c2eebff | 2013-05-16 17:49:35 -0700 | [diff] [blame] | 9876 | </li> |
| 9877 | <li> |
| 9878 | <span class="entry_type_enum_name">YCbCr_420_888</span> |
| 9879 | <span class="entry_type_enum_value">0x23</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 9880 | <span class="entry_type_enum_notes"><p>Flexible YUV420 Format</p></span> |
Zhijun He | c2eebff | 2013-05-16 17:49:35 -0700 | [diff] [blame] | 9881 | </li> |
| 9882 | <li> |
| 9883 | <span class="entry_type_enum_name">BLOB</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9884 | <span class="entry_type_enum_value">0x21</span> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 9885 | <span class="entry_type_enum_notes"><p>JPEG format</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9886 | </li> |
| 9887 | </ul> |
| 9888 | |
| 9889 | </td> <!-- entry_type --> |
| 9890 | |
| 9891 | <td class="entry_description"> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 9892 | <p>The list of image formats that are supported by this |
| 9893 | camera device.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9894 | </td> |
| 9895 | |
| 9896 | <td class="entry_units"> |
| 9897 | </td> |
| 9898 | |
| 9899 | <td class="entry_range"> |
| 9900 | </td> |
| 9901 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9902 | <td class="entry_tags"> |
| 9903 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 9904 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9905 | </ul> |
| 9906 | </td> |
| 9907 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9908 | </tr> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 9909 | <tr class="entries_header"> |
| 9910 | <th class="th_details" colspan="5">Details</th> |
| 9911 | </tr> |
| 9912 | <tr class="entry_cont"> |
| 9913 | <td class="entry_details" colspan="5"> |
| 9914 | <p>All camera devices will support JPEG and YUV_<wbr/>420_<wbr/>888 formats.<wbr/></p> |
| 9915 | <p>When set to YUV_<wbr/>420_<wbr/>888,<wbr/> application can access the YUV420 data directly.<wbr/></p> |
| 9916 | </td> |
| 9917 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9918 | |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 9919 | <tr class="entries_header"> |
| 9920 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 9921 | </tr> |
| 9922 | <tr class="entry_cont"> |
| 9923 | <td class="entry_details" colspan="5"> |
| 9924 | <p>These format values are from HAL_<wbr/>PIXEL_<wbr/>FORMAT_<wbr/>* in |
| 9925 | system/<wbr/>core/<wbr/>include/<wbr/>system/<wbr/>graphics.<wbr/>h.<wbr/></p> |
| 9926 | <p>When IMPLEMENTATION_<wbr/>DEFINED is used,<wbr/> the platform |
| 9927 | gralloc module will select a format based on the usage flags provided |
| 9928 | by the camera HAL device and the other endpoint of the stream.<wbr/> It is |
| 9929 | usually used by preview and recording streams,<wbr/> where the application doesn't |
| 9930 | need access the image data.<wbr/></p> |
| 9931 | <p>YCb<wbr/>Cr_<wbr/>420_<wbr/>888 format must be supported by the HAL.<wbr/> When an image stream |
| 9932 | needs CPU/<wbr/>application direct access,<wbr/> this format will be used.<wbr/></p> |
| 9933 | <p>The BLOB format must be supported by the HAL.<wbr/> This is used for the JPEG stream.<wbr/></p> |
| 9934 | </td> |
| 9935 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9936 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9937 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9938 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9939 | |
| 9940 | |
| 9941 | <tr class="entry" id="static_android.scaler.availableJpegMinDurations"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9942 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9943 | android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Min<wbr/>Durations |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9944 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9945 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 9946 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9947 | <span class="entry_type_container">x</span> |
| 9948 | |
| 9949 | <span class="entry_type_array"> |
| 9950 | n |
| 9951 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 9952 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9953 | |
| 9954 | |
| 9955 | </td> <!-- entry_type --> |
| 9956 | |
| 9957 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9958 | <p>The minimum frame duration that is supported |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 9959 | for each resolution in <a href="#static_android.scaler.availableJpegSizes">android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Sizes</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9960 | </td> |
| 9961 | |
| 9962 | <td class="entry_units"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 9963 | ns |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9964 | </td> |
| 9965 | |
| 9966 | <td class="entry_range"> |
| 9967 | </td> |
| 9968 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9969 | <td class="entry_tags"> |
| 9970 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 9971 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9972 | </ul> |
| 9973 | </td> |
| 9974 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9975 | </tr> |
| 9976 | <tr class="entries_header"> |
| 9977 | <th class="th_details" colspan="5">Details</th> |
| 9978 | </tr> |
| 9979 | <tr class="entry_cont"> |
| 9980 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 9981 | <p>This corresponds to the minimum steady-state frame duration when only |
| 9982 | that JPEG stream is active and captured in a burst,<wbr/> with all |
| 9983 | processing (typically in android.<wbr/>*.<wbr/>mode) set to FAST.<wbr/></p> |
| 9984 | <p>When multiple streams are configured,<wbr/> the minimum |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9985 | frame duration will be >= max(individual stream min |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9986 | durations)</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9987 | </td> |
| 9988 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9989 | |
| 9990 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 9991 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 9992 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9993 | |
| 9994 | |
| 9995 | <tr class="entry" id="static_android.scaler.availableJpegSizes"> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 9996 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 9997 | android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Sizes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 9998 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 9999 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10000 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10001 | <span class="entry_type_container">x</span> |
| 10002 | |
| 10003 | <span class="entry_type_array"> |
| 10004 | n x 2 |
| 10005 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 10006 | <span class="entry_type_visibility"> [public as size]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10007 | |
| 10008 | |
| 10009 | </td> <!-- entry_type --> |
| 10010 | |
| 10011 | <td class="entry_description"> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 10012 | <p>The JPEG resolutions that are supported by this camera device.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10013 | </td> |
| 10014 | |
| 10015 | <td class="entry_units"> |
| 10016 | </td> |
| 10017 | |
| 10018 | <td class="entry_range"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10019 | </td> |
| 10020 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10021 | <td class="entry_tags"> |
| 10022 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 10023 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10024 | </ul> |
| 10025 | </td> |
| 10026 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10027 | </tr> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 10028 | <tr class="entries_header"> |
| 10029 | <th class="th_details" colspan="5">Details</th> |
| 10030 | </tr> |
| 10031 | <tr class="entry_cont"> |
| 10032 | <td class="entry_details" colspan="5"> |
| 10033 | <p>The resolutions are listed as <code>(width,<wbr/> height)</code> pairs.<wbr/> All camera devices will support |
| 10034 | 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> |
| 10035 | </td> |
| 10036 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10037 | |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 10038 | <tr class="entries_header"> |
| 10039 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 10040 | </tr> |
| 10041 | <tr class="entry_cont"> |
| 10042 | <td class="entry_details" colspan="5"> |
| 10043 | <p>The HAL must include sensor maximum resolution |
| 10044 | (defined by <a href="#static_android.sensor.info.activeArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size</a>),<wbr/> |
| 10045 | and should include half/<wbr/>quarter of sensor maximum resolution.<wbr/></p> |
| 10046 | </td> |
| 10047 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10048 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10049 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10050 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10051 | |
| 10052 | |
| 10053 | <tr class="entry" id="static_android.scaler.availableMaxDigitalZoom"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10054 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10055 | android.<wbr/>scaler.<wbr/>available<wbr/>Max<wbr/>Digital<wbr/>Zoom |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10056 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10057 | <td class="entry_type"> |
Igor Murashkin | f11a4df | 2013-05-07 10:00:46 -0700 | [diff] [blame] | 10058 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10059 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 10060 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10061 | |
| 10062 | |
| 10063 | </td> <!-- entry_type --> |
| 10064 | |
| 10065 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10066 | <p>The maximum ratio between active area width |
| 10067 | and crop region width,<wbr/> or between active area height and |
| 10068 | crop region height,<wbr/> if the crop region height is larger |
| 10069 | than width</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10070 | </td> |
| 10071 | |
| 10072 | <td class="entry_units"> |
| 10073 | </td> |
| 10074 | |
| 10075 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 10076 | <p>>=1</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10077 | </td> |
| 10078 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10079 | <td class="entry_tags"> |
Igor Murashkin | f11a4df | 2013-05-07 10:00:46 -0700 | [diff] [blame] | 10080 | <ul class="entry_tags"> |
| 10081 | <li><a href="#tag_BC">BC</a></li> |
| 10082 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10083 | </td> |
| 10084 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10085 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10086 | |
| 10087 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10088 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10089 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10090 | |
| 10091 | |
| 10092 | <tr class="entry" id="static_android.scaler.availableProcessedMinDurations"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10093 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10094 | android.<wbr/>scaler.<wbr/>available<wbr/>Processed<wbr/>Min<wbr/>Durations |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10095 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10096 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10097 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10098 | <span class="entry_type_container">x</span> |
| 10099 | |
| 10100 | <span class="entry_type_array"> |
| 10101 | n |
| 10102 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 10103 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10104 | |
| 10105 | |
| 10106 | </td> <!-- entry_type --> |
| 10107 | |
| 10108 | <td class="entry_description"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 10109 | <p>For each available processed output size (defined in |
| 10110 | <a href="#static_android.scaler.availableProcessedSizes">android.<wbr/>scaler.<wbr/>available<wbr/>Processed<wbr/>Sizes</a>),<wbr/> this property lists the |
| 10111 | minimum supportable frame duration for that size.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10112 | </td> |
| 10113 | |
| 10114 | <td class="entry_units"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 10115 | ns |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10116 | </td> |
| 10117 | |
| 10118 | <td class="entry_range"> |
| 10119 | </td> |
| 10120 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10121 | <td class="entry_tags"> |
| 10122 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 10123 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10124 | </ul> |
| 10125 | </td> |
| 10126 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10127 | </tr> |
| 10128 | <tr class="entries_header"> |
| 10129 | <th class="th_details" colspan="5">Details</th> |
| 10130 | </tr> |
| 10131 | <tr class="entry_cont"> |
| 10132 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 10133 | <p>This should correspond to the frame duration when only that processed |
| 10134 | stream is active,<wbr/> with all processing (typically in android.<wbr/>*.<wbr/>mode) |
| 10135 | set to FAST.<wbr/></p> |
| 10136 | <p>When multiple streams are configured,<wbr/> the minimum frame duration will |
| 10137 | be >= max(individual stream min durations).<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10138 | </td> |
| 10139 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10140 | |
| 10141 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10142 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10143 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10144 | |
| 10145 | |
| 10146 | <tr class="entry" id="static_android.scaler.availableProcessedSizes"> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 10147 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10148 | android.<wbr/>scaler.<wbr/>available<wbr/>Processed<wbr/>Sizes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10149 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10150 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10151 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10152 | <span class="entry_type_container">x</span> |
| 10153 | |
| 10154 | <span class="entry_type_array"> |
| 10155 | n x 2 |
| 10156 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 10157 | <span class="entry_type_visibility"> [public as size]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10158 | |
| 10159 | |
| 10160 | </td> <!-- entry_type --> |
| 10161 | |
| 10162 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10163 | <p>The resolutions available for use with |
| 10164 | processed output streams,<wbr/> such as YV12,<wbr/> NV12,<wbr/> and |
| 10165 | platform opaque YUV/<wbr/>RGB streams to the GPU or video |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 10166 | encoders.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10167 | </td> |
| 10168 | |
| 10169 | <td class="entry_units"> |
| 10170 | </td> |
| 10171 | |
| 10172 | <td class="entry_range"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10173 | </td> |
| 10174 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10175 | <td class="entry_tags"> |
| 10176 | <ul class="entry_tags"> |
| 10177 | <li><a href="#tag_BC">BC</a></li> |
| 10178 | </ul> |
| 10179 | </td> |
| 10180 | |
| 10181 | </tr> |
| 10182 | <tr class="entries_header"> |
| 10183 | <th class="th_details" colspan="5">Details</th> |
| 10184 | </tr> |
| 10185 | <tr class="entry_cont"> |
| 10186 | <td class="entry_details" colspan="5"> |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 10187 | <p>The resolutions are listed as <code>(width,<wbr/> height)</code> pairs.<wbr/></p> |
| 10188 | <p>For a given use case,<wbr/> the actual maximum supported resolution |
| 10189 | may be lower than what is listed here,<wbr/> depending on the destination |
| 10190 | Surface for the image data.<wbr/> For example,<wbr/> for recording video,<wbr/> |
| 10191 | the video encoder chosen may have a maximum size limit (e.<wbr/>g.<wbr/> 1080p) |
| 10192 | smaller than what the camera (e.<wbr/>g.<wbr/> maximum resolution is 3264x2448) |
| 10193 | can provide.<wbr/></p> |
| 10194 | <p>Please reference the documentation for the image data destination to |
| 10195 | check if it limits the maximum size for image data.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10196 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10197 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10198 | |
Zhijun He | b8317e2 | 2014-01-16 09:47:07 -0800 | [diff] [blame] | 10199 | <tr class="entries_header"> |
| 10200 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 10201 | </tr> |
| 10202 | <tr class="entry_cont"> |
| 10203 | <td class="entry_details" colspan="5"> |
| 10204 | <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/> |
| 10205 | the HAL must include all JPEG sizes listed in android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Sizes |
| 10206 | and each below resolution if it is smaller than or equal to the sensor |
| 10207 | maximum resolution (if they are not listed in JPEG sizes already):</p> |
| 10208 | <ul> |
| 10209 | <li>240p (320 x 240)</li> |
| 10210 | <li>480p (640 x 480)</li> |
| 10211 | <li>720p (1280 x 720)</li> |
| 10212 | <li>1080p (1920 x 1080)</li> |
| 10213 | </ul> |
| 10214 | <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/> |
| 10215 | the HAL only has to list up to the maximum video size supported by the devices.<wbr/></p> |
| 10216 | </td> |
| 10217 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10218 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10219 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10220 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10221 | |
| 10222 | |
| 10223 | <tr class="entry" id="static_android.scaler.availableRawMinDurations"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10224 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10225 | android.<wbr/>scaler.<wbr/>available<wbr/>Raw<wbr/>Min<wbr/>Durations |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10226 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10227 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10228 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10229 | <span class="entry_type_container">x</span> |
| 10230 | |
| 10231 | <span class="entry_type_array"> |
| 10232 | n |
| 10233 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 10234 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10235 | |
| 10236 | |
| 10237 | </td> <!-- entry_type --> |
| 10238 | |
| 10239 | <td class="entry_description"> |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 10240 | <p>For each available raw output size (defined in |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 10241 | <a href="#static_android.scaler.availableRawSizes">android.<wbr/>scaler.<wbr/>available<wbr/>Raw<wbr/>Sizes</a>),<wbr/> this property lists the minimum |
| 10242 | supportable frame duration for that size.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10243 | </td> |
| 10244 | |
| 10245 | <td class="entry_units"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 10246 | ns |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10247 | </td> |
| 10248 | |
| 10249 | <td class="entry_range"> |
| 10250 | </td> |
| 10251 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10252 | <td class="entry_tags"> |
| 10253 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 10254 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10255 | </ul> |
| 10256 | </td> |
| 10257 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10258 | </tr> |
| 10259 | <tr class="entries_header"> |
| 10260 | <th class="th_details" colspan="5">Details</th> |
| 10261 | </tr> |
| 10262 | <tr class="entry_cont"> |
| 10263 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 10264 | <p>Should correspond to the frame duration when only the raw stream is |
| 10265 | active.<wbr/></p> |
| 10266 | <p>When multiple streams are configured,<wbr/> the minimum |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10267 | frame duration will be >= max(individual stream min |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10268 | durations)</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10269 | </td> |
| 10270 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10271 | |
| 10272 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10273 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10274 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10275 | |
| 10276 | |
| 10277 | <tr class="entry" id="static_android.scaler.availableRawSizes"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10278 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10279 | android.<wbr/>scaler.<wbr/>available<wbr/>Raw<wbr/>Sizes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10280 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10281 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10282 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10283 | <span class="entry_type_container">x</span> |
| 10284 | |
| 10285 | <span class="entry_type_array"> |
| 10286 | n x 2 |
| 10287 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 10288 | <span class="entry_type_visibility"> [system as size]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10289 | |
| 10290 | |
| 10291 | </td> <!-- entry_type --> |
| 10292 | |
| 10293 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10294 | <p>The resolutions available for use with raw |
| 10295 | sensor output streams,<wbr/> listed as width,<wbr/> |
| 10296 | height</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10297 | </td> |
| 10298 | |
| 10299 | <td class="entry_units"> |
| 10300 | </td> |
| 10301 | |
| 10302 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 10303 | <p>Must include: - sensor maximum resolution</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10304 | </td> |
| 10305 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10306 | <td class="entry_tags"> |
| 10307 | </td> |
| 10308 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10309 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10310 | |
| 10311 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10312 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10313 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10314 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10315 | |
| 10316 | |
| 10317 | <!-- end of kind --> |
| 10318 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10319 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10320 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 10321 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10322 | <tr> |
| 10323 | <th class="th_name">Property Name</th> |
| 10324 | <th class="th_type">Type</th> |
| 10325 | <th class="th_description">Description</th> |
| 10326 | <th class="th_units">Units</th> |
| 10327 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10328 | <th class="th_tags">Tags</th> |
| 10329 | </tr> |
| 10330 | </thead> |
| 10331 | |
| 10332 | <tbody> |
| 10333 | |
| 10334 | |
| 10335 | |
| 10336 | |
| 10337 | |
| 10338 | |
| 10339 | |
| 10340 | |
| 10341 | |
| 10342 | |
| 10343 | <tr class="entry" id="dynamic_android.scaler.cropRegion"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10344 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10345 | android.<wbr/>scaler.<wbr/>crop<wbr/>Region |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10346 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10347 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10348 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10349 | <span class="entry_type_container">x</span> |
| 10350 | |
| 10351 | <span class="entry_type_array"> |
Eino-Ville Talvala | e04ec6e | 2013-04-16 15:35:18 -0700 | [diff] [blame] | 10352 | 4 |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10353 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 10354 | <span class="entry_type_visibility"> [public as rectangle]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10355 | |
| 10356 | |
| 10357 | </td> <!-- entry_type --> |
| 10358 | |
| 10359 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10360 | <p>(x,<wbr/> y,<wbr/> width,<wbr/> height).<wbr/></p> |
| 10361 | <p>A rectangle with the top-level corner of (x,<wbr/>y) and size |
| 10362 | (width,<wbr/> height).<wbr/> The region of the sensor that is used for |
| 10363 | output.<wbr/> Each stream must use this rectangle to produce its |
| 10364 | output,<wbr/> cropping to a smaller region if necessary to |
| 10365 | maintain the stream's aspect ratio.<wbr/></p> |
| 10366 | <p>HAL2.<wbr/>x uses only (x,<wbr/> y,<wbr/> width)</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10367 | </td> |
| 10368 | |
| 10369 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10370 | (x,<wbr/>y) of top-left corner,<wbr/> width and height of region |
| 10371 | in pixels; (0,<wbr/>0) is top-left corner of |
| 10372 | android.<wbr/>sensor.<wbr/>active<wbr/>Array<wbr/>Size |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10373 | </td> |
| 10374 | |
| 10375 | <td class="entry_range"> |
| 10376 | </td> |
| 10377 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10378 | <td class="entry_tags"> |
| 10379 | <ul class="entry_tags"> |
| 10380 | <li><a href="#tag_BC">BC</a></li> |
| 10381 | </ul> |
| 10382 | </td> |
| 10383 | |
| 10384 | </tr> |
| 10385 | <tr class="entries_header"> |
| 10386 | <th class="th_details" colspan="5">Details</th> |
| 10387 | </tr> |
| 10388 | <tr class="entry_cont"> |
| 10389 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10390 | <p>Any additional per-stream cropping must be done to |
| 10391 | maximize the final pixel area of the stream.<wbr/></p> |
| 10392 | <p>For example,<wbr/> if the crop region is set to a 4:3 aspect |
| 10393 | ratio,<wbr/> then 4:3 streams should use the exact crop |
| 10394 | region.<wbr/> 16:9 streams should further crop vertically |
| 10395 | (letterbox).<wbr/></p> |
| 10396 | <p>Conversely,<wbr/> if the crop region is set to a 16:9,<wbr/> then 4:3 |
| 10397 | outputs should crop horizontally (pillarbox),<wbr/> and 16:9 |
| 10398 | streams should match exactly.<wbr/> These additional crops must |
| 10399 | be centered within the crop region.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 10400 | <p>The output streams must maintain square pixels at all |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10401 | times,<wbr/> no matter what the relative aspect ratios of the |
| 10402 | crop region and the stream are.<wbr/> Negative values for |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 10403 | corner are allowed for raw output if full pixel array is |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10404 | larger than active pixel array.<wbr/> Width and height may be |
| 10405 | rounded to nearest larger supportable width,<wbr/> especially |
| 10406 | for raw output,<wbr/> where only a few fixed scales may be |
| 10407 | possible.<wbr/> The width and height of the crop region cannot |
| 10408 | be set to be smaller than floor( activeArraySize.<wbr/>width /<wbr/> |
| 10409 | android.<wbr/>scaler.<wbr/>max<wbr/>Digital<wbr/>Zoom ) and floor( |
| 10410 | activeArraySize.<wbr/>height /<wbr/> android.<wbr/>scaler.<wbr/>max<wbr/>Digital<wbr/>Zoom),<wbr/> |
| 10411 | respectively.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10412 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10413 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10414 | |
| 10415 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10416 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10417 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10418 | |
| 10419 | |
| 10420 | |
| 10421 | <!-- end of kind --> |
| 10422 | </tbody> |
| 10423 | |
| 10424 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10425 | <tr><td colspan="6" id="section_sensor" class="section">sensor</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10426 | |
| 10427 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10428 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10429 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 10430 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10431 | <tr> |
| 10432 | <th class="th_name">Property Name</th> |
| 10433 | <th class="th_type">Type</th> |
| 10434 | <th class="th_description">Description</th> |
| 10435 | <th class="th_units">Units</th> |
| 10436 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10437 | <th class="th_tags">Tags</th> |
| 10438 | </tr> |
| 10439 | </thead> |
| 10440 | |
| 10441 | <tbody> |
| 10442 | |
| 10443 | |
| 10444 | |
| 10445 | |
| 10446 | |
| 10447 | |
| 10448 | |
| 10449 | |
| 10450 | |
| 10451 | |
| 10452 | <tr class="entry" id="controls_android.sensor.exposureTime"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10453 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10454 | android.<wbr/>sensor.<wbr/>exposure<wbr/>Time |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10455 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10456 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10457 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10458 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 10459 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10460 | |
| 10461 | |
| 10462 | </td> <!-- entry_type --> |
| 10463 | |
| 10464 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10465 | <p>Duration each pixel is exposed to |
| 10466 | light.<wbr/></p> |
| 10467 | <p>If the sensor can't expose this exact duration,<wbr/> it should shorten the |
| 10468 | duration exposed to the nearest possible value (rather than expose longer).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10469 | </td> |
| 10470 | |
| 10471 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10472 | nanoseconds |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10473 | </td> |
| 10474 | |
| 10475 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 10476 | <p><a href="#static_android.sensor.info.exposureTimeRange">android.<wbr/>sensor.<wbr/>info.<wbr/>exposure<wbr/>Time<wbr/>Range</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10477 | </td> |
| 10478 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10479 | <td class="entry_tags"> |
| 10480 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 10481 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10482 | </ul> |
| 10483 | </td> |
| 10484 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10485 | </tr> |
| 10486 | <tr class="entries_header"> |
| 10487 | <th class="th_details" colspan="5">Details</th> |
| 10488 | </tr> |
| 10489 | <tr class="entry_cont"> |
| 10490 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10491 | <p>1/<wbr/>10000 - 30 sec range.<wbr/> No bulb mode</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10492 | </td> |
| 10493 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10494 | |
| 10495 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10496 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10497 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10498 | |
| 10499 | |
| 10500 | <tr class="entry" id="controls_android.sensor.frameDuration"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10501 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10502 | android.<wbr/>sensor.<wbr/>frame<wbr/>Duration |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10503 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10504 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10505 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10506 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 10507 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10508 | |
| 10509 | |
| 10510 | </td> <!-- entry_type --> |
| 10511 | |
| 10512 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10513 | <p>Duration from start of frame exposure to |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 10514 | start of next frame exposure.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10515 | </td> |
| 10516 | |
| 10517 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10518 | nanoseconds |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10519 | </td> |
| 10520 | |
| 10521 | <td class="entry_range"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 10522 | <p>See <a href="#static_android.sensor.info.maxFrameDuration">android.<wbr/>sensor.<wbr/>info.<wbr/>max<wbr/>Frame<wbr/>Duration</a>,<wbr/> |
| 10523 | android.<wbr/>scaler.<wbr/>available*Min<wbr/>Durations.<wbr/> The duration |
| 10524 | is capped to <code>max(duration,<wbr/> exposureTime + overhead)</code>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10525 | </td> |
| 10526 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10527 | <td class="entry_tags"> |
| 10528 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 10529 | <li><a href="#tag_V1">V1</a></li> |
| 10530 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10531 | </ul> |
| 10532 | </td> |
| 10533 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10534 | </tr> |
| 10535 | <tr class="entries_header"> |
| 10536 | <th class="th_details" colspan="5">Details</th> |
| 10537 | </tr> |
| 10538 | <tr class="entry_cont"> |
| 10539 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 10540 | <p>The maximum frame rate that can be supported by a camera subsystem is |
| 10541 | a function of many factors:</p> |
| 10542 | <ul> |
| 10543 | <li>Requested resolutions of output image streams</li> |
| 10544 | <li>Availability of binning /<wbr/> skipping modes on the imager</li> |
| 10545 | <li>The bandwidth of the imager interface</li> |
| 10546 | <li>The bandwidth of the various ISP processing blocks</li> |
| 10547 | </ul> |
| 10548 | <p>Since these factors can vary greatly between different ISPs and |
| 10549 | sensors,<wbr/> the camera abstraction tries to represent the bandwidth |
| 10550 | restrictions with as simple a model as possible.<wbr/></p> |
| 10551 | <p>The model presented has the following characteristics:</p> |
| 10552 | <ul> |
| 10553 | <li>The image sensor is always configured to output the smallest |
| 10554 | resolution possible given the application's requested output stream |
| 10555 | sizes.<wbr/> The smallest resolution is defined as being at least as large |
| 10556 | as the largest requested output stream size; the camera pipeline must |
| 10557 | never digitally upsample sensor data when the crop region covers the |
| 10558 | whole sensor.<wbr/> In general,<wbr/> this means that if only small output stream |
| 10559 | resolutions are configured,<wbr/> the sensor can provide a higher frame |
| 10560 | rate.<wbr/></li> |
| 10561 | <li>Since any request may use any or all the currently configured |
| 10562 | output streams,<wbr/> the sensor and ISP must be configured to support |
| 10563 | scaling a single capture to all the streams at the same time.<wbr/> This |
| 10564 | means the camera pipeline must be ready to produce the largest |
| 10565 | requested output size without any delay.<wbr/> Therefore,<wbr/> the overall |
| 10566 | frame rate of a given configured stream set is governed only by the |
| 10567 | largest requested stream resolution.<wbr/></li> |
| 10568 | <li>Using more than one output stream in a request does not affect the |
| 10569 | frame duration.<wbr/></li> |
| 10570 | <li>JPEG streams act like processed YUV streams in requests for which |
| 10571 | they are not included; in requests in which they are directly |
| 10572 | referenced,<wbr/> they act as JPEG streams.<wbr/> This is because supporting a |
| 10573 | JPEG stream requires the underlying YUV data to always be ready for |
| 10574 | use by a JPEG encoder,<wbr/> but the encoder will only be used (and impact |
| 10575 | frame duration) on requests that actually reference a JPEG stream.<wbr/></li> |
| 10576 | <li>The JPEG processor can run concurrently to the rest of the camera |
| 10577 | pipeline,<wbr/> but cannot process more than 1 capture at a time.<wbr/></li> |
| 10578 | </ul> |
| 10579 | <p>The necessary information for the application,<wbr/> given the model above,<wbr/> |
| 10580 | is provided via the android.<wbr/>scaler.<wbr/>available*Min<wbr/>Durations fields.<wbr/> |
| 10581 | These are used to determine the maximum frame rate /<wbr/> minimum frame |
| 10582 | duration that is possible for a given stream configuration.<wbr/></p> |
| 10583 | <p>Specifically,<wbr/> the application can use the following rules to |
| 10584 | determine the minimum frame duration it can request from the HAL |
| 10585 | device:</p> |
| 10586 | <ol> |
| 10587 | <li>Given the application's currently configured set of output |
| 10588 | streams,<wbr/> <code>S</code>,<wbr/> divide them into three sets: streams in a JPEG format |
| 10589 | <code>SJ</code>,<wbr/> streams in a raw sensor format <code>SR</code>,<wbr/> and the rest ('processed') |
| 10590 | <code>SP</code>.<wbr/></li> |
| 10591 | <li>For each subset of streams,<wbr/> find the largest resolution (by pixel |
| 10592 | count) in the subset.<wbr/> This gives (at most) three resolutions <code>RJ</code>,<wbr/> |
| 10593 | <code>RR</code>,<wbr/> and <code>RP</code>.<wbr/></li> |
| 10594 | <li>If <code>RJ</code> is greater than <code>RP</code>,<wbr/> set <code>RP</code> equal to <code>RJ</code>.<wbr/> If there is |
| 10595 | no exact match for <code>RP == RJ</code> (in particular there isn't an available |
| 10596 | processed resolution at the same size as <code>RJ</code>),<wbr/> then set <code>RP</code> equal |
| 10597 | to the smallest processed resolution that is larger than <code>RJ</code>.<wbr/> If |
| 10598 | there are no processed resolutions larger than <code>RJ</code>,<wbr/> then set <code>RJ</code> to |
| 10599 | the processed resolution closest to <code>RJ</code>.<wbr/></li> |
| 10600 | <li>If <code>RP</code> is greater than <code>RR</code>,<wbr/> set <code>RR</code> equal to <code>RP</code>.<wbr/> If there is |
| 10601 | no exact match for <code>RR == RP</code> (in particular there isn't an available |
| 10602 | raw resolution at the same size as <code>RP</code>),<wbr/> then set <code>RR</code> equal to |
| 10603 | or to the smallest raw resolution that is larger than <code>RP</code>.<wbr/> If |
| 10604 | there are no raw resolutions larger than <code>RP</code>,<wbr/> then set <code>RR</code> to |
| 10605 | the raw resolution closest to <code>RP</code>.<wbr/></li> |
| 10606 | <li>Look up the matching minimum frame durations in the property lists |
| 10607 | <a href="#static_android.scaler.availableJpegMinDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Min<wbr/>Durations</a>,<wbr/> |
| 10608 | <a href="#static_android.scaler.availableRawMinDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Raw<wbr/>Min<wbr/>Durations</a>,<wbr/> and |
| 10609 | <a href="#static_android.scaler.availableProcessedMinDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Processed<wbr/>Min<wbr/>Durations</a>.<wbr/> This gives three |
| 10610 | minimum frame durations <code>FJ</code>,<wbr/> <code>FR</code>,<wbr/> and <code>FP</code>.<wbr/></li> |
| 10611 | <li>If a stream of requests do not use a JPEG stream,<wbr/> then the minimum |
| 10612 | supported frame duration for each request is <code>max(FR,<wbr/> FP)</code>.<wbr/></li> |
| 10613 | <li>If a stream of requests all use the JPEG stream,<wbr/> then the minimum |
| 10614 | supported frame duration for each request is <code>max(FR,<wbr/> FP,<wbr/> FJ)</code>.<wbr/></li> |
| 10615 | <li>If a mix of JPEG-using and non-JPEG-using requests is submitted by |
| 10616 | the application,<wbr/> then the HAL will have to delay JPEG-using requests |
| 10617 | whenever the JPEG encoder is still busy processing an older capture.<wbr/> |
| 10618 | This will happen whenever a JPEG-using request starts capture less |
| 10619 | than <code>FJ</code> <em>ns</em> after a previous JPEG-using request.<wbr/> The minimum |
| 10620 | supported frame duration will vary between the values calculated in |
| 10621 | #6 and #7.<wbr/></li> |
| 10622 | </ol> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10623 | </td> |
| 10624 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10625 | |
| 10626 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10627 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10628 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10629 | |
| 10630 | |
| 10631 | <tr class="entry" id="controls_android.sensor.sensitivity"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10632 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10633 | android.<wbr/>sensor.<wbr/>sensitivity |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10634 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10635 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10636 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10637 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 10638 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10639 | |
| 10640 | |
| 10641 | </td> <!-- entry_type --> |
| 10642 | |
| 10643 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10644 | <p>Gain applied to image data.<wbr/> Must be |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 10645 | implemented through analog gain only if set to values |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10646 | below 'maximum analog sensitivity'.<wbr/></p> |
| 10647 | <p>If the sensor can't apply this exact gain,<wbr/> it should lessen the |
| 10648 | gain to the nearest possible value (rather than gain more).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10649 | </td> |
| 10650 | |
| 10651 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10652 | ISO arithmetic units |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10653 | </td> |
| 10654 | |
| 10655 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 10656 | <p><a href="#static_android.sensor.info.sensitivityRange">android.<wbr/>sensor.<wbr/>info.<wbr/>sensitivity<wbr/>Range</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10657 | </td> |
| 10658 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10659 | <td class="entry_tags"> |
| 10660 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 10661 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10662 | </ul> |
| 10663 | </td> |
| 10664 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10665 | </tr> |
| 10666 | <tr class="entries_header"> |
| 10667 | <th class="th_details" colspan="5">Details</th> |
| 10668 | </tr> |
| 10669 | <tr class="entry_cont"> |
| 10670 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10671 | <p>ISO 12232:2006 REI method</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10672 | </td> |
| 10673 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10674 | |
| 10675 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10676 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10677 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10678 | |
Igor Murashkin | a46e02f | 2014-01-09 17:43:38 -0800 | [diff] [blame] | 10679 | |
| 10680 | <tr class="entry" id="controls_android.sensor.testPatternData"> |
| 10681 | <td class="entry_name" rowspan="5"> |
| 10682 | android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Data |
| 10683 | </td> |
| 10684 | <td class="entry_type"> |
| 10685 | <span class="entry_type_name">int32</span> |
| 10686 | <span class="entry_type_container">x</span> |
| 10687 | |
| 10688 | <span class="entry_type_array"> |
| 10689 | 4 |
| 10690 | </span> |
| 10691 | <span class="entry_type_visibility"> [public]</span> |
| 10692 | |
| 10693 | |
| 10694 | </td> <!-- entry_type --> |
| 10695 | |
| 10696 | <td class="entry_description"> |
| 10697 | <p>A pixel <code>[R,<wbr/> G_<wbr/>even,<wbr/> G_<wbr/>odd,<wbr/> B]</code> that supplies the test pattern |
| 10698 | when <a href="#controls_android.sensor.testPatternMode">android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Mode</a> is SOLID_<wbr/>COLOR.<wbr/></p> |
| 10699 | </td> |
| 10700 | |
| 10701 | <td class="entry_units"> |
| 10702 | </td> |
| 10703 | |
| 10704 | <td class="entry_range"> |
| 10705 | <p>Optional.<wbr/> |
| 10706 | Must be supported if <a href="#static_android.sensor.availableTestPatternModes">android.<wbr/>sensor.<wbr/>available<wbr/>Test<wbr/>Pattern<wbr/>Modes</a> contains |
| 10707 | SOLID_<wbr/>COLOR.<wbr/></p> |
| 10708 | </td> |
| 10709 | |
| 10710 | <td class="entry_tags"> |
| 10711 | </td> |
| 10712 | |
| 10713 | </tr> |
| 10714 | <tr class="entries_header"> |
| 10715 | <th class="th_details" colspan="5">Details</th> |
| 10716 | </tr> |
| 10717 | <tr class="entry_cont"> |
| 10718 | <td class="entry_details" colspan="5"> |
| 10719 | <p>Each color channel is treated as an unsigned 32-bit integer.<wbr/> |
| 10720 | The camera device then uses the most significant X bits |
| 10721 | that correspond to how many bits are in its Bayer raw sensor |
| 10722 | output.<wbr/></p> |
| 10723 | <p>For example,<wbr/> a sensor with RAW10 Bayer output would use the |
| 10724 | 10 most significant bits from each color channel.<wbr/></p> |
| 10725 | </td> |
| 10726 | </tr> |
| 10727 | |
| 10728 | <tr class="entries_header"> |
| 10729 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 10730 | </tr> |
| 10731 | <tr class="entry_cont"> |
| 10732 | <td class="entry_details" colspan="5"> |
| 10733 | |
| 10734 | </td> |
| 10735 | </tr> |
| 10736 | |
| 10737 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10738 | <!-- end of entry --> |
| 10739 | |
| 10740 | |
| 10741 | <tr class="entry" id="controls_android.sensor.testPatternMode"> |
| 10742 | <td class="entry_name" rowspan="5"> |
| 10743 | android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Mode |
| 10744 | </td> |
| 10745 | <td class="entry_type"> |
| 10746 | <span class="entry_type_name entry_type_name_enum">int32</span> |
| 10747 | |
| 10748 | <span class="entry_type_visibility"> [public]</span> |
| 10749 | |
| 10750 | <ul class="entry_type_enum"> |
| 10751 | <li> |
| 10752 | <span class="entry_type_enum_name">OFF</span> |
| 10753 | <span class="entry_type_enum_notes"><p>Default.<wbr/> No test pattern mode is used,<wbr/> and the camera |
| 10754 | device returns captures from the image sensor.<wbr/></p></span> |
| 10755 | </li> |
| 10756 | <li> |
| 10757 | <span class="entry_type_enum_name">SOLID_COLOR</span> |
| 10758 | <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 |
| 10759 | respective color channel provided in |
| 10760 | <a href="#controls_android.sensor.testPatternData">android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Data</a>.<wbr/></p> |
| 10761 | <p>For example:</p> |
| 10762 | <pre><code>android.<wbr/>testPatternData = [0,<wbr/> 0xFFFFFFFF,<wbr/> 0xFFFFFFFF,<wbr/> 0] |
| 10763 | </code></pre> |
| 10764 | <p>All green pixels are 100% green.<wbr/> All red/<wbr/>blue pixels are black.<wbr/></p> |
| 10765 | <pre><code>android.<wbr/>testPatternData = [0xFFFFFFFF,<wbr/> 0,<wbr/> 0xFFFFFFFF,<wbr/> 0] |
| 10766 | </code></pre> |
| 10767 | <p>All red pixels are 100% red.<wbr/> Only the odd green pixels |
| 10768 | are 100% green.<wbr/> All blue pixels are 100% black.<wbr/></p></span> |
| 10769 | </li> |
| 10770 | <li> |
| 10771 | <span class="entry_type_enum_name">COLOR_BARS</span> |
| 10772 | <span class="entry_type_enum_notes"><p>All pixel data is replaced with an 8-bar color pattern.<wbr/></p> |
| 10773 | <p>The vertical bars (left-to-right) are as follows:</p> |
| 10774 | <ul> |
| 10775 | <li>100% white</li> |
| 10776 | <li>yellow</li> |
| 10777 | <li>cyan</li> |
| 10778 | <li>green</li> |
| 10779 | <li>magenta</li> |
| 10780 | <li>red</li> |
| 10781 | <li>blue</li> |
| 10782 | <li>black</li> |
| 10783 | </ul> |
| 10784 | <p>In general the image would look like the following:</p> |
| 10785 | <pre><code>W Y C G M R B K |
| 10786 | W Y C G M R B K |
| 10787 | W Y C G M R B K |
| 10788 | W Y C G M R B K |
| 10789 | W Y C G M R B K |
| 10790 | .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> |
| 10791 | .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> |
| 10792 | .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> |
| 10793 | |
| 10794 | (B = Blue,<wbr/> K = Black) |
| 10795 | </code></pre> |
| 10796 | <p>Each bar should take up 1/<wbr/>8 of the sensor pixel array width.<wbr/> |
| 10797 | When this is not possible,<wbr/> the bar size should be rounded |
| 10798 | down to the nearest integer and the pattern can repeat |
| 10799 | on the right side.<wbr/></p> |
| 10800 | <p>Each bar's height must always take up the full sensor |
| 10801 | pixel array height.<wbr/></p> |
| 10802 | <p>Each pixel in this test pattern must be set to either |
| 10803 | 0% intensity or 100% intensity.<wbr/></p></span> |
| 10804 | </li> |
| 10805 | <li> |
| 10806 | <span class="entry_type_enum_name">COLOR_BARS_FADE_TO_GRAY</span> |
| 10807 | <span class="entry_type_enum_notes"><p>The test pattern is similar to COLOR_<wbr/>BARS,<wbr/> except that |
| 10808 | each bar should start at its specified color at the top,<wbr/> |
| 10809 | and fade to gray at the bottom.<wbr/></p> |
| 10810 | <p>Furthermore each bar is further subdivided into a left and |
| 10811 | right half.<wbr/> The left half should have a smooth gradient,<wbr/> |
| 10812 | and the right half should have a quantized gradient.<wbr/></p> |
| 10813 | <p>In particular,<wbr/> the right half's should consist of blocks of the |
| 10814 | same color for 1/<wbr/>16th active sensor pixel array width.<wbr/></p> |
| 10815 | <p>The least significant bits in the quantized gradient should |
| 10816 | be copied from the most significant bits of the smooth gradient.<wbr/></p> |
| 10817 | <p>The height of each bar should always be a multiple of 128.<wbr/> |
| 10818 | When this is not the case,<wbr/> the pattern should repeat at the bottom |
| 10819 | of the image.<wbr/></p></span> |
| 10820 | </li> |
| 10821 | <li> |
| 10822 | <span class="entry_type_enum_name">PN9</span> |
| 10823 | <span class="entry_type_enum_notes"><p>All pixel data is replaced by a pseudo-random sequence |
| 10824 | generated from a PN9 512-bit sequence (typically implemented |
| 10825 | in hardware with a linear feedback shift register).<wbr/></p> |
| 10826 | <p>The generator should be reset at the beginning of each frame,<wbr/> |
| 10827 | and thus each subsequent raw frame with this test pattern should |
| 10828 | be exactly the same as the last.<wbr/></p></span> |
| 10829 | </li> |
| 10830 | <li> |
| 10831 | <span class="entry_type_enum_name">CUSTOM1</span> |
| 10832 | <span class="entry_type_enum_value">256</span> |
| 10833 | <span class="entry_type_enum_notes"><p>The first custom test pattern.<wbr/> All custom patterns that are |
| 10834 | available only on this camera device are at least this numeric |
| 10835 | value.<wbr/></p> |
| 10836 | <p>All of the custom test patterns will be static |
| 10837 | (that is the raw image must not vary from frame to frame).<wbr/></p></span> |
| 10838 | </li> |
| 10839 | </ul> |
| 10840 | |
| 10841 | </td> <!-- entry_type --> |
| 10842 | |
| 10843 | <td class="entry_description"> |
| 10844 | <p>When enabled,<wbr/> the sensor sends a test pattern instead of |
| 10845 | doing a real exposure from the camera.<wbr/></p> |
| 10846 | </td> |
| 10847 | |
| 10848 | <td class="entry_units"> |
| 10849 | </td> |
| 10850 | |
| 10851 | <td class="entry_range"> |
| 10852 | <p>Optional.<wbr/> Defaults to OFF.<wbr/> Value must be one of |
| 10853 | <a href="#static_android.sensor.availableTestPatternModes">android.<wbr/>sensor.<wbr/>available<wbr/>Test<wbr/>Pattern<wbr/>Modes</a></p> |
| 10854 | </td> |
| 10855 | |
| 10856 | <td class="entry_tags"> |
| 10857 | </td> |
| 10858 | |
| 10859 | </tr> |
| 10860 | <tr class="entries_header"> |
| 10861 | <th class="th_details" colspan="5">Details</th> |
| 10862 | </tr> |
| 10863 | <tr class="entry_cont"> |
| 10864 | <td class="entry_details" colspan="5"> |
| 10865 | <p>When a test pattern is enabled,<wbr/> all manual sensor controls specified |
| 10866 | by android.<wbr/>sensor.<wbr/>* should be ignored.<wbr/> All other controls should |
| 10867 | work as normal.<wbr/></p> |
| 10868 | <p>For example,<wbr/> if manual flash is enabled,<wbr/> flash firing should still |
| 10869 | occur (and that the test pattern remain unmodified,<wbr/> since the flash |
| 10870 | would not actually affect it).<wbr/></p> |
| 10871 | </td> |
| 10872 | </tr> |
| 10873 | |
| 10874 | <tr class="entries_header"> |
| 10875 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 10876 | </tr> |
| 10877 | <tr class="entry_cont"> |
| 10878 | <td class="entry_details" colspan="5"> |
| 10879 | <p>All test patterns are specified in the Bayer domain.<wbr/></p> |
| 10880 | <p>The HAL may choose to substitute test patterns from the sensor |
| 10881 | with test patterns from on-device memory.<wbr/> In that case,<wbr/> it should be |
| 10882 | indistinguishable to the ISP whether the data came from the |
| 10883 | sensor interconnect bus (such as CSI2) or memory.<wbr/></p> |
| 10884 | </td> |
| 10885 | </tr> |
| 10886 | |
| 10887 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10888 | <!-- end of entry --> |
| 10889 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10890 | |
| 10891 | |
| 10892 | <!-- end of kind --> |
| 10893 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10894 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10895 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 10896 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10897 | <tr> |
| 10898 | <th class="th_name">Property Name</th> |
| 10899 | <th class="th_type">Type</th> |
| 10900 | <th class="th_description">Description</th> |
| 10901 | <th class="th_units">Units</th> |
| 10902 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10903 | <th class="th_tags">Tags</th> |
| 10904 | </tr> |
| 10905 | </thead> |
| 10906 | |
| 10907 | <tbody> |
| 10908 | |
| 10909 | |
| 10910 | |
| 10911 | |
| 10912 | |
| 10913 | |
| 10914 | |
| 10915 | |
| 10916 | |
| 10917 | |
| 10918 | |
| 10919 | |
| 10920 | <tr class="entry" id="static_android.sensor.info.activeArraySize"> |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 10921 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10922 | android.<wbr/>sensor.<wbr/>info.<wbr/>active<wbr/>Array<wbr/>Size |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10923 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10924 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10925 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10926 | <span class="entry_type_container">x</span> |
| 10927 | |
| 10928 | <span class="entry_type_array"> |
| 10929 | 4 |
| 10930 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 10931 | <span class="entry_type_visibility"> [public as rectangle]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10932 | <div class="entry_type_notes">Four ints defining the active pixel rectangle</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10933 | |
| 10934 | |
| 10935 | </td> <!-- entry_type --> |
| 10936 | |
| 10937 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10938 | <p>Area of raw data which corresponds to only |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 10939 | active pixels.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10940 | </td> |
| 10941 | |
| 10942 | <td class="entry_units"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10943 | </td> |
| 10944 | |
| 10945 | <td class="entry_range"> |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 10946 | <p>This array contains <code>(xmin,<wbr/> ymin,<wbr/> width,<wbr/> height)</code>.<wbr/> The <code>(xmin,<wbr/> ymin)</code> must be |
| 10947 | >= <code>(0,<wbr/>0)</code>.<wbr/> The <code>(width,<wbr/> height)</code> must be <= |
| 10948 | <code><a href="#static_android.sensor.info.pixelArraySize">android.<wbr/>sensor.<wbr/>info.<wbr/>pixel<wbr/>Array<wbr/>Size</a></code>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10949 | </td> |
| 10950 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10951 | <td class="entry_tags"> |
| 10952 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 10953 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10954 | </ul> |
| 10955 | </td> |
| 10956 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10957 | </tr> |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 10958 | <tr class="entries_header"> |
| 10959 | <th class="th_details" colspan="5">Details</th> |
| 10960 | </tr> |
| 10961 | <tr class="entry_cont"> |
| 10962 | <td class="entry_details" colspan="5"> |
| 10963 | <p>It is smaller or equal to |
| 10964 | sensor full pixel array,<wbr/> which could include the black calibration pixels.<wbr/></p> |
| 10965 | </td> |
| 10966 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10967 | |
| 10968 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 10969 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 10970 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10971 | |
| 10972 | |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 10973 | <tr class="entry" id="static_android.sensor.info.sensitivityRange"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10974 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10975 | android.<wbr/>sensor.<wbr/>info.<wbr/>sensitivity<wbr/>Range |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 10976 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10977 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 10978 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10979 | <span class="entry_type_container">x</span> |
| 10980 | |
| 10981 | <span class="entry_type_array"> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 10982 | 2 |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10983 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 10984 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10985 | <div class="entry_type_notes">Range of supported sensitivities</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10986 | |
| 10987 | |
| 10988 | </td> <!-- entry_type --> |
| 10989 | |
| 10990 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 10991 | <p>Range of valid sensitivities</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10992 | </td> |
| 10993 | |
| 10994 | <td class="entry_units"> |
| 10995 | </td> |
| 10996 | |
| 10997 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 10998 | <p>Min <= 100,<wbr/> Max >= 1600</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 10999 | </td> |
| 11000 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11001 | <td class="entry_tags"> |
| 11002 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11003 | <li><a href="#tag_BC">BC</a></li> |
| 11004 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11005 | </ul> |
| 11006 | </td> |
| 11007 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11008 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11009 | |
| 11010 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11011 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11012 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11013 | |
| 11014 | |
| 11015 | <tr class="entry" id="static_android.sensor.info.colorFilterArrangement"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11016 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11017 | android.<wbr/>sensor.<wbr/>info.<wbr/>color<wbr/>Filter<wbr/>Arrangement |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11018 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11019 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11020 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11021 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11022 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11023 | |
| 11024 | <ul class="entry_type_enum"> |
| 11025 | <li> |
| 11026 | <span class="entry_type_enum_name">RGGB</span> |
| 11027 | </li> |
| 11028 | <li> |
| 11029 | <span class="entry_type_enum_name">GRBG</span> |
| 11030 | </li> |
| 11031 | <li> |
| 11032 | <span class="entry_type_enum_name">GBRG</span> |
| 11033 | </li> |
| 11034 | <li> |
| 11035 | <span class="entry_type_enum_name">BGGR</span> |
| 11036 | </li> |
| 11037 | <li> |
| 11038 | <span class="entry_type_enum_name">RGB</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 11039 | <span class="entry_type_enum_notes"><p>Sensor is not Bayer; output has 3 16-bit |
| 11040 | values for each pixel,<wbr/> instead of just 1 16-bit value |
| 11041 | per pixel.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11042 | </li> |
| 11043 | </ul> |
| 11044 | |
| 11045 | </td> <!-- entry_type --> |
| 11046 | |
| 11047 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11048 | <p>Arrangement of color filters on sensor; |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 11049 | represents the colors in the top-left 2x2 section of |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11050 | the sensor,<wbr/> in reading order</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11051 | </td> |
| 11052 | |
| 11053 | <td class="entry_units"> |
| 11054 | </td> |
| 11055 | |
| 11056 | <td class="entry_range"> |
| 11057 | </td> |
| 11058 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11059 | <td class="entry_tags"> |
| 11060 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11061 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11062 | </ul> |
| 11063 | </td> |
| 11064 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11065 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11066 | |
| 11067 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11068 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11069 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11070 | |
| 11071 | |
| 11072 | <tr class="entry" id="static_android.sensor.info.exposureTimeRange"> |
Igor Murashkin | 061c600 | 2014-01-27 16:00:26 -0800 | [diff] [blame] | 11073 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11074 | android.<wbr/>sensor.<wbr/>info.<wbr/>exposure<wbr/>Time<wbr/>Range |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11075 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11076 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11077 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11078 | <span class="entry_type_container">x</span> |
| 11079 | |
| 11080 | <span class="entry_type_array"> |
| 11081 | 2 |
| 11082 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11083 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11084 | <div class="entry_type_notes">nanoseconds</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11085 | |
| 11086 | |
| 11087 | </td> <!-- entry_type --> |
| 11088 | |
| 11089 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11090 | <p>Range of valid exposure |
Igor Murashkin | 061c600 | 2014-01-27 16:00:26 -0800 | [diff] [blame] | 11091 | times used by <a href="#controls_android.sensor.exposureTime">android.<wbr/>sensor.<wbr/>exposure<wbr/>Time</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11092 | </td> |
| 11093 | |
| 11094 | <td class="entry_units"> |
| 11095 | </td> |
| 11096 | |
| 11097 | <td class="entry_range"> |
Igor Murashkin | 061c600 | 2014-01-27 16:00:26 -0800 | [diff] [blame] | 11098 | <p>Min <= 100e3 (100 us),<wbr/> Max >= 1e9 (1 |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 11099 | sec)</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11100 | </td> |
| 11101 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11102 | <td class="entry_tags"> |
| 11103 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11104 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11105 | </ul> |
| 11106 | </td> |
| 11107 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11108 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11109 | |
Igor Murashkin | 061c600 | 2014-01-27 16:00:26 -0800 | [diff] [blame] | 11110 | <tr class="entries_header"> |
| 11111 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 11112 | </tr> |
| 11113 | <tr class="entry_cont"> |
| 11114 | <td class="entry_details" colspan="5"> |
| 11115 | <p>The maximum of the range must be at least |
| 11116 | 1 second.<wbr/> It should be at least 30 seconds.<wbr/></p> |
| 11117 | </td> |
| 11118 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11119 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11120 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11121 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11122 | |
| 11123 | |
| 11124 | <tr class="entry" id="static_android.sensor.info.maxFrameDuration"> |
Igor Murashkin | 061c600 | 2014-01-27 16:00:26 -0800 | [diff] [blame] | 11125 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11126 | android.<wbr/>sensor.<wbr/>info.<wbr/>max<wbr/>Frame<wbr/>Duration |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11127 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11128 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11129 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11130 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11131 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11132 | |
| 11133 | |
| 11134 | </td> <!-- entry_type --> |
| 11135 | |
| 11136 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11137 | <p>Maximum possible frame duration (minimum frame |
Igor Murashkin | 061c600 | 2014-01-27 16:00:26 -0800 | [diff] [blame] | 11138 | rate).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11139 | </td> |
| 11140 | |
| 11141 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11142 | nanoseconds |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11143 | </td> |
| 11144 | |
| 11145 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 11146 | <p>>= 30e9</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11147 | </td> |
| 11148 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11149 | <td class="entry_tags"> |
| 11150 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11151 | <li><a href="#tag_BC">BC</a></li> |
| 11152 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11153 | </ul> |
| 11154 | </td> |
| 11155 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11156 | </tr> |
| 11157 | <tr class="entries_header"> |
| 11158 | <th class="th_details" colspan="5">Details</th> |
| 11159 | </tr> |
| 11160 | <tr class="entry_cont"> |
| 11161 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 061c600 | 2014-01-27 16:00:26 -0800 | [diff] [blame] | 11162 | <p>The largest possible android.<wbr/>sensor.<wbr/>frame<wbr/>Duration |
| 11163 | that will be accepted by the camera device.<wbr/> Attempting to use |
| 11164 | frame durations beyond the maximum will result in the frame duration |
| 11165 | being clipped to the maximum.<wbr/> See that control |
| 11166 | for a full definition of frame durations.<wbr/></p> |
| 11167 | <p>Refer to |
| 11168 | <a href="#static_android.scaler.availableProcessedMinDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Processed<wbr/>Min<wbr/>Durations</a>,<wbr/> |
| 11169 | <a href="#static_android.scaler.availableJpegMinDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Min<wbr/>Durations</a>,<wbr/> and |
| 11170 | <a href="#static_android.scaler.availableRawMinDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Raw<wbr/>Min<wbr/>Durations</a> for the minimum |
| 11171 | frame duration values.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11172 | </td> |
| 11173 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11174 | |
Igor Murashkin | 061c600 | 2014-01-27 16:00:26 -0800 | [diff] [blame] | 11175 | <tr class="entries_header"> |
| 11176 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 11177 | </tr> |
| 11178 | <tr class="entry_cont"> |
| 11179 | <td class="entry_details" colspan="5"> |
| 11180 | <p>This value must be at least 1 second.<wbr/> It should be at least 30 |
| 11181 | seconds (30e9 ns).<wbr/></p> |
| 11182 | <p>android.<wbr/>sensor.<wbr/>max<wbr/>Frame<wbr/>Duration must be greater or equal to the |
| 11183 | android.<wbr/>sensor.<wbr/>exposure<wbr/>Time<wbr/>Range max value (since exposure time |
| 11184 | overrides frame duration).<wbr/></p> |
| 11185 | </td> |
| 11186 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11187 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11188 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11189 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11190 | |
| 11191 | |
| 11192 | <tr class="entry" id="static_android.sensor.info.physicalSize"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11193 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11194 | android.<wbr/>sensor.<wbr/>info.<wbr/>physical<wbr/>Size |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11195 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11196 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11197 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11198 | <span class="entry_type_container">x</span> |
| 11199 | |
| 11200 | <span class="entry_type_array"> |
| 11201 | 2 |
| 11202 | </span> |
Timothy Knight | ec817d5 | 2013-08-16 16:15:29 -0700 | [diff] [blame] | 11203 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11204 | <div class="entry_type_notes">width x height in millimeters</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11205 | |
| 11206 | |
| 11207 | </td> <!-- entry_type --> |
| 11208 | |
| 11209 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11210 | <p>The physical dimensions of the full pixel |
| 11211 | array</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11212 | </td> |
| 11213 | |
| 11214 | <td class="entry_units"> |
| 11215 | </td> |
| 11216 | |
| 11217 | <td class="entry_range"> |
| 11218 | </td> |
| 11219 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11220 | <td class="entry_tags"> |
| 11221 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11222 | <li><a href="#tag_V1">V1</a></li> |
| 11223 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11224 | </ul> |
| 11225 | </td> |
| 11226 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11227 | </tr> |
| 11228 | <tr class="entries_header"> |
| 11229 | <th class="th_details" colspan="5">Details</th> |
| 11230 | </tr> |
| 11231 | <tr class="entry_cont"> |
| 11232 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11233 | <p>Needed for FOV calculation for old API</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11234 | </td> |
| 11235 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11236 | |
| 11237 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11238 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11239 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11240 | |
| 11241 | |
| 11242 | <tr class="entry" id="static_android.sensor.info.pixelArraySize"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11243 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11244 | android.<wbr/>sensor.<wbr/>info.<wbr/>pixel<wbr/>Array<wbr/>Size |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11245 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11246 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11247 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11248 | <span class="entry_type_container">x</span> |
| 11249 | |
| 11250 | <span class="entry_type_array"> |
| 11251 | 2 |
| 11252 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 11253 | <span class="entry_type_visibility"> [system as size]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11254 | |
| 11255 | |
| 11256 | </td> <!-- entry_type --> |
| 11257 | |
| 11258 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11259 | <p>Dimensions of full pixel array,<wbr/> possibly |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 11260 | including black calibration pixels.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11261 | </td> |
| 11262 | |
| 11263 | <td class="entry_units"> |
| 11264 | </td> |
| 11265 | |
| 11266 | <td class="entry_range"> |
| 11267 | </td> |
| 11268 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11269 | <td class="entry_tags"> |
| 11270 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11271 | <li><a href="#tag_DNG">DNG</a></li> |
| 11272 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11273 | </ul> |
| 11274 | </td> |
| 11275 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11276 | </tr> |
| 11277 | <tr class="entries_header"> |
| 11278 | <th class="th_details" colspan="5">Details</th> |
| 11279 | </tr> |
| 11280 | <tr class="entry_cont"> |
| 11281 | <td class="entry_details" colspan="5"> |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 11282 | <p>The maximum output resolution for raw format in |
| 11283 | <a href="#static_android.scaler.availableRawSizes">android.<wbr/>scaler.<wbr/>available<wbr/>Raw<wbr/>Sizes</a> will be equal to this size.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11284 | </td> |
| 11285 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11286 | |
| 11287 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11288 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11289 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11290 | |
| 11291 | |
| 11292 | <tr class="entry" id="static_android.sensor.info.whiteLevel"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11293 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11294 | android.<wbr/>sensor.<wbr/>info.<wbr/>white<wbr/>Level |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11295 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11296 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11297 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11298 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11299 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11300 | |
| 11301 | |
| 11302 | </td> <!-- entry_type --> |
| 11303 | |
| 11304 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11305 | <p>Maximum raw value output by |
| 11306 | sensor</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11307 | </td> |
| 11308 | |
| 11309 | <td class="entry_units"> |
| 11310 | </td> |
| 11311 | |
| 11312 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 11313 | <p>> 1024 (10-bit output)</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11314 | </td> |
| 11315 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11316 | <td class="entry_tags"> |
| 11317 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11318 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11319 | </ul> |
| 11320 | </td> |
| 11321 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11322 | </tr> |
| 11323 | <tr class="entries_header"> |
| 11324 | <th class="th_details" colspan="5">Details</th> |
| 11325 | </tr> |
| 11326 | <tr class="entry_cont"> |
| 11327 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11328 | <p>Defines sensor bit depth (10-14 bits is |
| 11329 | expected)</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11330 | </td> |
| 11331 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11332 | |
| 11333 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11334 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11335 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11336 | |
| 11337 | |
| 11338 | |
| 11339 | |
| 11340 | |
| 11341 | <tr class="entry" id="static_android.sensor.baseGainFactor"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11342 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11343 | android.<wbr/>sensor.<wbr/>base<wbr/>Gain<wbr/>Factor |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11344 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11345 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11346 | <span class="entry_type_name">rational</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11347 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11348 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11349 | |
| 11350 | |
| 11351 | </td> <!-- entry_type --> |
| 11352 | |
| 11353 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11354 | <p>Gain factor from electrons to raw units when |
| 11355 | ISO=100</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11356 | </td> |
| 11357 | |
| 11358 | <td class="entry_units"> |
| 11359 | </td> |
| 11360 | |
| 11361 | <td class="entry_range"> |
| 11362 | </td> |
| 11363 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11364 | <td class="entry_tags"> |
| 11365 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11366 | <li><a href="#tag_V1">V1</a></li> |
Alex Ray | ef40ad6 | 2013-10-01 17:52:33 -0700 | [diff] [blame] | 11367 | <li><a href="#tag_FULL">FULL</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11368 | </ul> |
| 11369 | </td> |
| 11370 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11371 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11372 | |
| 11373 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11374 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11375 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11376 | |
| 11377 | |
| 11378 | <tr class="entry" id="static_android.sensor.blackLevelPattern"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11379 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11380 | android.<wbr/>sensor.<wbr/>black<wbr/>Level<wbr/>Pattern |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11381 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11382 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11383 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11384 | <span class="entry_type_container">x</span> |
| 11385 | |
| 11386 | <span class="entry_type_array"> |
| 11387 | 4 |
| 11388 | </span> |
Ruben Brunk | 24bdaaf | 2014-01-31 14:11:20 -0800 | [diff] [blame^] | 11389 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11390 | <div class="entry_type_notes">2x2 raw count block</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11391 | |
| 11392 | |
| 11393 | </td> <!-- entry_type --> |
| 11394 | |
| 11395 | <td class="entry_description"> |
Ruben Brunk | 24bdaaf | 2014-01-31 14:11:20 -0800 | [diff] [blame^] | 11396 | <p>A fixed black level offset for each of the color filter arrangement |
| 11397 | (CFA) mosaic channels.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11398 | </td> |
| 11399 | |
| 11400 | <td class="entry_units"> |
| 11401 | </td> |
| 11402 | |
| 11403 | <td class="entry_range"> |
Ruben Brunk | 24bdaaf | 2014-01-31 14:11:20 -0800 | [diff] [blame^] | 11404 | <p>>= 0 for each.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11405 | </td> |
| 11406 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11407 | <td class="entry_tags"> |
| 11408 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11409 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11410 | </ul> |
| 11411 | </td> |
| 11412 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11413 | </tr> |
| 11414 | <tr class="entries_header"> |
| 11415 | <th class="th_details" colspan="5">Details</th> |
| 11416 | </tr> |
| 11417 | <tr class="entry_cont"> |
| 11418 | <td class="entry_details" colspan="5"> |
Ruben Brunk | 24bdaaf | 2014-01-31 14:11:20 -0800 | [diff] [blame^] | 11419 | <p>This tag specifies the zero light value for each of the CFA mosaic |
| 11420 | channels in the camera sensor.<wbr/></p> |
| 11421 | <p>The values are given in row-column scan order,<wbr/> with the first value |
| 11422 | corresponding to the element of the CFA in row=0,<wbr/> column=0.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11423 | </td> |
| 11424 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11425 | |
| 11426 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11427 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11428 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11429 | |
| 11430 | |
| 11431 | <tr class="entry" id="static_android.sensor.calibrationTransform1"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11432 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11433 | android.<wbr/>sensor.<wbr/>calibration<wbr/>Transform1 |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11434 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11435 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11436 | <span class="entry_type_name">rational</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11437 | <span class="entry_type_container">x</span> |
| 11438 | |
| 11439 | <span class="entry_type_array"> |
| 11440 | 9 |
| 11441 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11442 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11443 | <div class="entry_type_notes">3x3 matrix in row-major-order</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11444 | |
| 11445 | |
| 11446 | </td> <!-- entry_type --> |
| 11447 | |
| 11448 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11449 | <p>Per-device calibration on top of color space |
| 11450 | transform 1</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11451 | </td> |
| 11452 | |
| 11453 | <td class="entry_units"> |
| 11454 | </td> |
| 11455 | |
| 11456 | <td class="entry_range"> |
| 11457 | </td> |
| 11458 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11459 | <td class="entry_tags"> |
| 11460 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11461 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11462 | </ul> |
| 11463 | </td> |
| 11464 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11465 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11466 | |
| 11467 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11468 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11469 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11470 | |
| 11471 | |
| 11472 | <tr class="entry" id="static_android.sensor.calibrationTransform2"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11473 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11474 | android.<wbr/>sensor.<wbr/>calibration<wbr/>Transform2 |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11475 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11476 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11477 | <span class="entry_type_name">rational</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11478 | <span class="entry_type_container">x</span> |
| 11479 | |
| 11480 | <span class="entry_type_array"> |
| 11481 | 9 |
| 11482 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11483 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11484 | <div class="entry_type_notes">3x3 matrix in row-major-order</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11485 | |
| 11486 | |
| 11487 | </td> <!-- entry_type --> |
| 11488 | |
| 11489 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11490 | <p>Per-device calibration on top of color space |
| 11491 | transform 2</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11492 | </td> |
| 11493 | |
| 11494 | <td class="entry_units"> |
| 11495 | </td> |
| 11496 | |
| 11497 | <td class="entry_range"> |
| 11498 | </td> |
| 11499 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11500 | <td class="entry_tags"> |
| 11501 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11502 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11503 | </ul> |
| 11504 | </td> |
| 11505 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11506 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11507 | |
| 11508 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11509 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11510 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11511 | |
| 11512 | |
| 11513 | <tr class="entry" id="static_android.sensor.colorTransform1"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11514 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11515 | android.<wbr/>sensor.<wbr/>color<wbr/>Transform1 |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11516 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11517 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11518 | <span class="entry_type_name">rational</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11519 | <span class="entry_type_container">x</span> |
| 11520 | |
| 11521 | <span class="entry_type_array"> |
| 11522 | 9 |
| 11523 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11524 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11525 | <div class="entry_type_notes">3x3 matrix in row-major-order</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11526 | |
| 11527 | |
| 11528 | </td> <!-- entry_type --> |
| 11529 | |
| 11530 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11531 | <p>Linear mapping from XYZ (D50) color space to |
| 11532 | reference linear sensor color,<wbr/> for first reference |
| 11533 | illuminant</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11534 | </td> |
| 11535 | |
| 11536 | <td class="entry_units"> |
| 11537 | </td> |
| 11538 | |
| 11539 | <td class="entry_range"> |
| 11540 | </td> |
| 11541 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11542 | <td class="entry_tags"> |
| 11543 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11544 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11545 | </ul> |
| 11546 | </td> |
| 11547 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11548 | </tr> |
| 11549 | <tr class="entries_header"> |
| 11550 | <th class="th_details" colspan="5">Details</th> |
| 11551 | </tr> |
| 11552 | <tr class="entry_cont"> |
| 11553 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11554 | <p>Use as follows XYZ = inv(transform) * clip( (raw - |
| 11555 | black level(raw) ) /<wbr/> ( white level - max black level) ).<wbr/> |
| 11556 | At least in the simple case</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11557 | </td> |
| 11558 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11559 | |
| 11560 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11561 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11562 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11563 | |
| 11564 | |
| 11565 | <tr class="entry" id="static_android.sensor.colorTransform2"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11566 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11567 | android.<wbr/>sensor.<wbr/>color<wbr/>Transform2 |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11568 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11569 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11570 | <span class="entry_type_name">rational</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11571 | <span class="entry_type_container">x</span> |
| 11572 | |
| 11573 | <span class="entry_type_array"> |
| 11574 | 9 |
| 11575 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11576 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11577 | <div class="entry_type_notes">3x3 matrix in row-major-order</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11578 | |
| 11579 | |
| 11580 | </td> <!-- entry_type --> |
| 11581 | |
| 11582 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11583 | <p>Linear mapping from XYZ (D50) color space to |
| 11584 | reference linear sensor color,<wbr/> for second reference |
| 11585 | illuminant</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11586 | </td> |
| 11587 | |
| 11588 | <td class="entry_units"> |
| 11589 | </td> |
| 11590 | |
| 11591 | <td class="entry_range"> |
| 11592 | </td> |
| 11593 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11594 | <td class="entry_tags"> |
| 11595 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11596 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11597 | </ul> |
| 11598 | </td> |
| 11599 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11600 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11601 | |
| 11602 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11603 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11604 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11605 | |
| 11606 | |
| 11607 | <tr class="entry" id="static_android.sensor.forwardMatrix1"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11608 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11609 | android.<wbr/>sensor.<wbr/>forward<wbr/>Matrix1 |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11610 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11611 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11612 | <span class="entry_type_name">rational</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11613 | <span class="entry_type_container">x</span> |
| 11614 | |
| 11615 | <span class="entry_type_array"> |
| 11616 | 9 |
| 11617 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11618 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11619 | <div class="entry_type_notes">3x3 matrix in row-major-order</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11620 | |
| 11621 | |
| 11622 | </td> <!-- entry_type --> |
| 11623 | |
| 11624 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11625 | <p>Used by DNG for better WB |
| 11626 | adaptation</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11627 | </td> |
| 11628 | |
| 11629 | <td class="entry_units"> |
| 11630 | </td> |
| 11631 | |
| 11632 | <td class="entry_range"> |
| 11633 | </td> |
| 11634 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11635 | <td class="entry_tags"> |
| 11636 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11637 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11638 | </ul> |
| 11639 | </td> |
| 11640 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11641 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11642 | |
| 11643 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11644 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11645 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11646 | |
| 11647 | |
| 11648 | <tr class="entry" id="static_android.sensor.forwardMatrix2"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11649 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11650 | android.<wbr/>sensor.<wbr/>forward<wbr/>Matrix2 |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11651 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11652 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11653 | <span class="entry_type_name">rational</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11654 | <span class="entry_type_container">x</span> |
| 11655 | |
| 11656 | <span class="entry_type_array"> |
| 11657 | 9 |
| 11658 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11659 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11660 | <div class="entry_type_notes">3x3 matrix in row-major-order</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11661 | |
| 11662 | |
| 11663 | </td> <!-- entry_type --> |
| 11664 | |
| 11665 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11666 | <p>Used by DNG for better WB |
| 11667 | adaptation</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11668 | </td> |
| 11669 | |
| 11670 | <td class="entry_units"> |
| 11671 | </td> |
| 11672 | |
| 11673 | <td class="entry_range"> |
| 11674 | </td> |
| 11675 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11676 | <td class="entry_tags"> |
| 11677 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11678 | <li><a href="#tag_DNG">DNG</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11679 | </ul> |
| 11680 | </td> |
| 11681 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11682 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11683 | |
| 11684 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11685 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11686 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11687 | |
| 11688 | |
| 11689 | <tr class="entry" id="static_android.sensor.maxAnalogSensitivity"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11690 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11691 | android.<wbr/>sensor.<wbr/>max<wbr/>Analog<wbr/>Sensitivity |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11692 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11693 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11694 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11695 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11696 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11697 | |
| 11698 | |
| 11699 | </td> <!-- entry_type --> |
| 11700 | |
| 11701 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11702 | <p>Maximum sensitivity that is implemented |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 11703 | purely through analog gain.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11704 | </td> |
| 11705 | |
| 11706 | <td class="entry_units"> |
| 11707 | </td> |
| 11708 | |
| 11709 | <td class="entry_range"> |
| 11710 | </td> |
| 11711 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11712 | <td class="entry_tags"> |
| 11713 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11714 | <li><a href="#tag_V1">V1</a></li> |
Alex Ray | ef40ad6 | 2013-10-01 17:52:33 -0700 | [diff] [blame] | 11715 | <li><a href="#tag_FULL">FULL</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11716 | </ul> |
| 11717 | </td> |
| 11718 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11719 | </tr> |
| 11720 | <tr class="entries_header"> |
| 11721 | <th class="th_details" colspan="5">Details</th> |
| 11722 | </tr> |
| 11723 | <tr class="entry_cont"> |
| 11724 | <td class="entry_details" colspan="5"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 11725 | <p>For <a href="#controls_android.sensor.sensitivity">android.<wbr/>sensor.<wbr/>sensitivity</a> values less than or |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11726 | equal to this,<wbr/> all applied gain must be analog.<wbr/> For |
Zhijun He | bdc94c4 | 2014-01-21 18:28:30 -0800 | [diff] [blame] | 11727 | values above this,<wbr/> the gain applied can be a mix of analog and |
| 11728 | digital.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11729 | </td> |
| 11730 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11731 | |
| 11732 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11733 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11734 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11735 | |
| 11736 | |
| 11737 | <tr class="entry" id="static_android.sensor.noiseModelCoefficients"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11738 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11739 | android.<wbr/>sensor.<wbr/>noise<wbr/>Model<wbr/>Coefficients |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11740 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11741 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11742 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11743 | <span class="entry_type_container">x</span> |
| 11744 | |
| 11745 | <span class="entry_type_array"> |
| 11746 | 2 |
| 11747 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11748 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11749 | <div class="entry_type_notes">float constants A,<wbr/> B for the noise variance model</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11750 | |
| 11751 | |
| 11752 | </td> <!-- entry_type --> |
| 11753 | |
| 11754 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11755 | <p>Estimation of sensor noise |
| 11756 | characteristics</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11757 | </td> |
| 11758 | |
| 11759 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11760 | var(raw pixel value) = electrons * (baseGainFactor |
| 11761 | * iso/<wbr/>100)^2 + A * (baseGainFactor * iso/<wbr/>100)^2 + |
| 11762 | B |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11763 | </td> |
| 11764 | |
| 11765 | <td class="entry_range"> |
| 11766 | </td> |
| 11767 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11768 | <td class="entry_tags"> |
| 11769 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11770 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11771 | </ul> |
| 11772 | </td> |
| 11773 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11774 | </tr> |
| 11775 | <tr class="entries_header"> |
| 11776 | <th class="th_details" colspan="5">Details</th> |
| 11777 | </tr> |
| 11778 | <tr class="entry_cont"> |
| 11779 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11780 | <p>A represents sensor read noise before analog |
| 11781 | amplification; B represents noise from A/<wbr/>D conversion and |
| 11782 | other circuits after amplification.<wbr/> Both noise sources |
| 11783 | are assumed to be gaussian,<wbr/> independent,<wbr/> and not to vary |
| 11784 | across the sensor</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11785 | </td> |
| 11786 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11787 | |
| 11788 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11789 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11790 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11791 | |
| 11792 | |
| 11793 | <tr class="entry" id="static_android.sensor.orientation"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11794 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11795 | android.<wbr/>sensor.<wbr/>orientation |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11796 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11797 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11798 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11799 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11800 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11801 | |
| 11802 | |
| 11803 | </td> <!-- entry_type --> |
| 11804 | |
| 11805 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11806 | <p>Clockwise angle through which the output |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 11807 | image needs to be rotated to be upright on the device |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11808 | screen in its native orientation.<wbr/> Also defines the |
| 11809 | direction of rolling shutter readout,<wbr/> which is from top |
| 11810 | to bottom in the sensor's coordinate system</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11811 | </td> |
| 11812 | |
| 11813 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11814 | degrees clockwise rotation,<wbr/> only multiples of |
| 11815 | 90 |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11816 | </td> |
| 11817 | |
| 11818 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 11819 | <p>0,<wbr/>90,<wbr/>180,<wbr/>270</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11820 | </td> |
| 11821 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11822 | <td class="entry_tags"> |
| 11823 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11824 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11825 | </ul> |
| 11826 | </td> |
| 11827 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11828 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11829 | |
| 11830 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11831 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11832 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11833 | |
| 11834 | |
| 11835 | <tr class="entry" id="static_android.sensor.referenceIlluminant1"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11836 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11837 | android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant1 |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11838 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11839 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11840 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11841 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11842 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11843 | |
| 11844 | <ul class="entry_type_enum"> |
| 11845 | <li> |
| 11846 | <span class="entry_type_enum_name">DAYLIGHT</span> |
| 11847 | <span class="entry_type_enum_value">1</span> |
| 11848 | </li> |
| 11849 | <li> |
| 11850 | <span class="entry_type_enum_name">FLUORESCENT</span> |
| 11851 | <span class="entry_type_enum_value">2</span> |
| 11852 | </li> |
| 11853 | <li> |
| 11854 | <span class="entry_type_enum_name">TUNGSTEN</span> |
| 11855 | <span class="entry_type_enum_value">3</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 11856 | <span class="entry_type_enum_notes"><p>Incandescent light</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11857 | </li> |
| 11858 | <li> |
| 11859 | <span class="entry_type_enum_name">FLASH</span> |
| 11860 | <span class="entry_type_enum_value">4</span> |
| 11861 | </li> |
| 11862 | <li> |
| 11863 | <span class="entry_type_enum_name">FINE_WEATHER</span> |
| 11864 | <span class="entry_type_enum_value">9</span> |
| 11865 | </li> |
| 11866 | <li> |
| 11867 | <span class="entry_type_enum_name">CLOUDY_WEATHER</span> |
| 11868 | <span class="entry_type_enum_value">10</span> |
| 11869 | </li> |
| 11870 | <li> |
| 11871 | <span class="entry_type_enum_name">SHADE</span> |
| 11872 | <span class="entry_type_enum_value">11</span> |
| 11873 | </li> |
| 11874 | <li> |
| 11875 | <span class="entry_type_enum_name">DAYLIGHT_FLUORESCENT</span> |
| 11876 | <span class="entry_type_enum_value">12</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 11877 | <span class="entry_type_enum_notes"><p>D 5700 - 7100K</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11878 | </li> |
| 11879 | <li> |
| 11880 | <span class="entry_type_enum_name">DAY_WHITE_FLUORESCENT</span> |
| 11881 | <span class="entry_type_enum_value">13</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 11882 | <span class="entry_type_enum_notes"><p>N 4600 - 5400K</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11883 | </li> |
| 11884 | <li> |
| 11885 | <span class="entry_type_enum_name">COOL_WHITE_FLUORESCENT</span> |
| 11886 | <span class="entry_type_enum_value">14</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 11887 | <span class="entry_type_enum_notes"><p>W 3900 - 4500K</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11888 | </li> |
| 11889 | <li> |
| 11890 | <span class="entry_type_enum_name">WHITE_FLUORESCENT</span> |
| 11891 | <span class="entry_type_enum_value">15</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 11892 | <span class="entry_type_enum_notes"><p>WW 3200 - 3700K</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11893 | </li> |
| 11894 | <li> |
| 11895 | <span class="entry_type_enum_name">STANDARD_A</span> |
| 11896 | <span class="entry_type_enum_value">17</span> |
| 11897 | </li> |
| 11898 | <li> |
| 11899 | <span class="entry_type_enum_name">STANDARD_B</span> |
| 11900 | <span class="entry_type_enum_value">18</span> |
| 11901 | </li> |
| 11902 | <li> |
| 11903 | <span class="entry_type_enum_name">STANDARD_C</span> |
| 11904 | <span class="entry_type_enum_value">19</span> |
| 11905 | </li> |
| 11906 | <li> |
| 11907 | <span class="entry_type_enum_name">D55</span> |
| 11908 | <span class="entry_type_enum_value">20</span> |
| 11909 | </li> |
| 11910 | <li> |
| 11911 | <span class="entry_type_enum_name">D65</span> |
| 11912 | <span class="entry_type_enum_value">21</span> |
| 11913 | </li> |
| 11914 | <li> |
| 11915 | <span class="entry_type_enum_name">D75</span> |
| 11916 | <span class="entry_type_enum_value">22</span> |
| 11917 | </li> |
| 11918 | <li> |
| 11919 | <span class="entry_type_enum_name">D50</span> |
| 11920 | <span class="entry_type_enum_value">23</span> |
| 11921 | </li> |
| 11922 | <li> |
| 11923 | <span class="entry_type_enum_name">ISO_STUDIO_TUNGSTEN</span> |
| 11924 | <span class="entry_type_enum_value">24</span> |
| 11925 | </li> |
| 11926 | </ul> |
| 11927 | |
| 11928 | </td> <!-- entry_type --> |
| 11929 | |
| 11930 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11931 | <p>Light source used to define transform |
| 11932 | 1</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11933 | </td> |
| 11934 | |
| 11935 | <td class="entry_units"> |
| 11936 | </td> |
| 11937 | |
| 11938 | <td class="entry_range"> |
| 11939 | </td> |
| 11940 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11941 | <td class="entry_tags"> |
| 11942 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 11943 | <li><a href="#tag_DNG">DNG</a></li> |
| 11944 | <li><a href="#tag_EXIF">EXIF</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11945 | </ul> |
| 11946 | </td> |
| 11947 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11948 | </tr> |
| 11949 | <tr class="entries_header"> |
| 11950 | <th class="th_details" colspan="5">Details</th> |
| 11951 | </tr> |
| 11952 | <tr class="entry_cont"> |
| 11953 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11954 | <p>[EXIF LightSource tag] Must all these be |
| 11955 | supported? Need CCT for each!</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11956 | </td> |
| 11957 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11958 | |
| 11959 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11960 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11961 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11962 | |
| 11963 | |
| 11964 | <tr class="entry" id="static_android.sensor.referenceIlluminant2"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11965 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11966 | android.<wbr/>sensor.<wbr/>reference<wbr/>Illuminant2 |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11967 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11968 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 11969 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11970 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 11971 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11972 | |
| 11973 | |
| 11974 | </td> <!-- entry_type --> |
| 11975 | |
| 11976 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11977 | <p>Light source used to define transform |
| 11978 | 2</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11979 | </td> |
| 11980 | |
| 11981 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 11982 | Same as illuminant 1 |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11983 | </td> |
| 11984 | |
| 11985 | <td class="entry_range"> |
| 11986 | </td> |
| 11987 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11988 | <td class="entry_tags"> |
| 11989 | </td> |
| 11990 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11991 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 11992 | |
| 11993 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 11994 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 11995 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 11996 | |
Igor Murashkin | a46e02f | 2014-01-09 17:43:38 -0800 | [diff] [blame] | 11997 | |
| 11998 | <tr class="entry" id="static_android.sensor.availableTestPatternModes"> |
| 11999 | <td class="entry_name" rowspan="1"> |
| 12000 | android.<wbr/>sensor.<wbr/>available<wbr/>Test<wbr/>Pattern<wbr/>Modes |
| 12001 | </td> |
| 12002 | <td class="entry_type"> |
| 12003 | <span class="entry_type_name">byte</span> |
| 12004 | |
| 12005 | <span class="entry_type_visibility"> [public]</span> |
| 12006 | |
| 12007 | |
| 12008 | </td> <!-- entry_type --> |
| 12009 | |
| 12010 | <td class="entry_description"> |
| 12011 | <p>Optional.<wbr/> Defaults to [OFF].<wbr/> Lists the supported test |
| 12012 | pattern modes for android.<wbr/>test.<wbr/>pattern<wbr/>Mode.<wbr/></p> |
| 12013 | </td> |
| 12014 | |
| 12015 | <td class="entry_units"> |
| 12016 | </td> |
| 12017 | |
| 12018 | <td class="entry_range"> |
| 12019 | <p>Must include OFF.<wbr/> All custom modes must be >= CUSTOM1</p> |
| 12020 | </td> |
| 12021 | |
| 12022 | <td class="entry_tags"> |
| 12023 | </td> |
| 12024 | |
| 12025 | </tr> |
| 12026 | |
| 12027 | |
| 12028 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12029 | <!-- end of entry --> |
| 12030 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12031 | |
| 12032 | |
| 12033 | <!-- end of kind --> |
| 12034 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12035 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12036 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 12037 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12038 | <tr> |
| 12039 | <th class="th_name">Property Name</th> |
| 12040 | <th class="th_type">Type</th> |
| 12041 | <th class="th_description">Description</th> |
| 12042 | <th class="th_units">Units</th> |
| 12043 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12044 | <th class="th_tags">Tags</th> |
| 12045 | </tr> |
| 12046 | </thead> |
| 12047 | |
| 12048 | <tbody> |
| 12049 | |
| 12050 | |
| 12051 | |
| 12052 | |
| 12053 | |
| 12054 | |
| 12055 | |
| 12056 | |
| 12057 | |
| 12058 | |
| 12059 | <tr class="entry" id="dynamic_android.sensor.exposureTime"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12060 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12061 | android.<wbr/>sensor.<wbr/>exposure<wbr/>Time |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12062 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12063 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 12064 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12065 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 12066 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12067 | |
| 12068 | |
| 12069 | </td> <!-- entry_type --> |
| 12070 | |
| 12071 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12072 | <p>Duration each pixel is exposed to |
| 12073 | light.<wbr/></p> |
| 12074 | <p>If the sensor can't expose this exact duration,<wbr/> it should shorten the |
| 12075 | duration exposed to the nearest possible value (rather than expose longer).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12076 | </td> |
| 12077 | |
| 12078 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12079 | nanoseconds |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12080 | </td> |
| 12081 | |
| 12082 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 12083 | <p><a href="#static_android.sensor.info.exposureTimeRange">android.<wbr/>sensor.<wbr/>info.<wbr/>exposure<wbr/>Time<wbr/>Range</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12084 | </td> |
| 12085 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12086 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 12087 | <ul class="entry_tags"> |
| 12088 | <li><a href="#tag_V1">V1</a></li> |
| 12089 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12090 | </td> |
| 12091 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12092 | </tr> |
| 12093 | <tr class="entries_header"> |
| 12094 | <th class="th_details" colspan="5">Details</th> |
| 12095 | </tr> |
| 12096 | <tr class="entry_cont"> |
| 12097 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12098 | <p>1/<wbr/>10000 - 30 sec range.<wbr/> No bulb mode</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12099 | </td> |
| 12100 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12101 | |
| 12102 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12103 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12104 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12105 | |
| 12106 | |
| 12107 | <tr class="entry" id="dynamic_android.sensor.frameDuration"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12108 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12109 | android.<wbr/>sensor.<wbr/>frame<wbr/>Duration |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12110 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12111 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 12112 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12113 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 12114 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12115 | |
| 12116 | |
| 12117 | </td> <!-- entry_type --> |
| 12118 | |
| 12119 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12120 | <p>Duration from start of frame exposure to |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 12121 | start of next frame exposure.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12122 | </td> |
| 12123 | |
| 12124 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12125 | nanoseconds |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12126 | </td> |
| 12127 | |
| 12128 | <td class="entry_range"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 12129 | <p>See <a href="#static_android.sensor.info.maxFrameDuration">android.<wbr/>sensor.<wbr/>info.<wbr/>max<wbr/>Frame<wbr/>Duration</a>,<wbr/> |
| 12130 | android.<wbr/>scaler.<wbr/>available*Min<wbr/>Durations.<wbr/> The duration |
| 12131 | is capped to <code>max(duration,<wbr/> exposureTime + overhead)</code>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12132 | </td> |
| 12133 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12134 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 12135 | <ul class="entry_tags"> |
| 12136 | <li><a href="#tag_V1">V1</a></li> |
| 12137 | <li><a href="#tag_BC">BC</a></li> |
| 12138 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12139 | </td> |
| 12140 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12141 | </tr> |
| 12142 | <tr class="entries_header"> |
| 12143 | <th class="th_details" colspan="5">Details</th> |
| 12144 | </tr> |
| 12145 | <tr class="entry_cont"> |
| 12146 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 10f4e0f | 2014-01-13 17:22:58 -0800 | [diff] [blame] | 12147 | <p>The maximum frame rate that can be supported by a camera subsystem is |
| 12148 | a function of many factors:</p> |
| 12149 | <ul> |
| 12150 | <li>Requested resolutions of output image streams</li> |
| 12151 | <li>Availability of binning /<wbr/> skipping modes on the imager</li> |
| 12152 | <li>The bandwidth of the imager interface</li> |
| 12153 | <li>The bandwidth of the various ISP processing blocks</li> |
| 12154 | </ul> |
| 12155 | <p>Since these factors can vary greatly between different ISPs and |
| 12156 | sensors,<wbr/> the camera abstraction tries to represent the bandwidth |
| 12157 | restrictions with as simple a model as possible.<wbr/></p> |
| 12158 | <p>The model presented has the following characteristics:</p> |
| 12159 | <ul> |
| 12160 | <li>The image sensor is always configured to output the smallest |
| 12161 | resolution possible given the application's requested output stream |
| 12162 | sizes.<wbr/> The smallest resolution is defined as being at least as large |
| 12163 | as the largest requested output stream size; the camera pipeline must |
| 12164 | never digitally upsample sensor data when the crop region covers the |
| 12165 | whole sensor.<wbr/> In general,<wbr/> this means that if only small output stream |
| 12166 | resolutions are configured,<wbr/> the sensor can provide a higher frame |
| 12167 | rate.<wbr/></li> |
| 12168 | <li>Since any request may use any or all the currently configured |
| 12169 | output streams,<wbr/> the sensor and ISP must be configured to support |
| 12170 | scaling a single capture to all the streams at the same time.<wbr/> This |
| 12171 | means the camera pipeline must be ready to produce the largest |
| 12172 | requested output size without any delay.<wbr/> Therefore,<wbr/> the overall |
| 12173 | frame rate of a given configured stream set is governed only by the |
| 12174 | largest requested stream resolution.<wbr/></li> |
| 12175 | <li>Using more than one output stream in a request does not affect the |
| 12176 | frame duration.<wbr/></li> |
| 12177 | <li>JPEG streams act like processed YUV streams in requests for which |
| 12178 | they are not included; in requests in which they are directly |
| 12179 | referenced,<wbr/> they act as JPEG streams.<wbr/> This is because supporting a |
| 12180 | JPEG stream requires the underlying YUV data to always be ready for |
| 12181 | use by a JPEG encoder,<wbr/> but the encoder will only be used (and impact |
| 12182 | frame duration) on requests that actually reference a JPEG stream.<wbr/></li> |
| 12183 | <li>The JPEG processor can run concurrently to the rest of the camera |
| 12184 | pipeline,<wbr/> but cannot process more than 1 capture at a time.<wbr/></li> |
| 12185 | </ul> |
| 12186 | <p>The necessary information for the application,<wbr/> given the model above,<wbr/> |
| 12187 | is provided via the android.<wbr/>scaler.<wbr/>available*Min<wbr/>Durations fields.<wbr/> |
| 12188 | These are used to determine the maximum frame rate /<wbr/> minimum frame |
| 12189 | duration that is possible for a given stream configuration.<wbr/></p> |
| 12190 | <p>Specifically,<wbr/> the application can use the following rules to |
| 12191 | determine the minimum frame duration it can request from the HAL |
| 12192 | device:</p> |
| 12193 | <ol> |
| 12194 | <li>Given the application's currently configured set of output |
| 12195 | streams,<wbr/> <code>S</code>,<wbr/> divide them into three sets: streams in a JPEG format |
| 12196 | <code>SJ</code>,<wbr/> streams in a raw sensor format <code>SR</code>,<wbr/> and the rest ('processed') |
| 12197 | <code>SP</code>.<wbr/></li> |
| 12198 | <li>For each subset of streams,<wbr/> find the largest resolution (by pixel |
| 12199 | count) in the subset.<wbr/> This gives (at most) three resolutions <code>RJ</code>,<wbr/> |
| 12200 | <code>RR</code>,<wbr/> and <code>RP</code>.<wbr/></li> |
| 12201 | <li>If <code>RJ</code> is greater than <code>RP</code>,<wbr/> set <code>RP</code> equal to <code>RJ</code>.<wbr/> If there is |
| 12202 | no exact match for <code>RP == RJ</code> (in particular there isn't an available |
| 12203 | processed resolution at the same size as <code>RJ</code>),<wbr/> then set <code>RP</code> equal |
| 12204 | to the smallest processed resolution that is larger than <code>RJ</code>.<wbr/> If |
| 12205 | there are no processed resolutions larger than <code>RJ</code>,<wbr/> then set <code>RJ</code> to |
| 12206 | the processed resolution closest to <code>RJ</code>.<wbr/></li> |
| 12207 | <li>If <code>RP</code> is greater than <code>RR</code>,<wbr/> set <code>RR</code> equal to <code>RP</code>.<wbr/> If there is |
| 12208 | no exact match for <code>RR == RP</code> (in particular there isn't an available |
| 12209 | raw resolution at the same size as <code>RP</code>),<wbr/> then set <code>RR</code> equal to |
| 12210 | or to the smallest raw resolution that is larger than <code>RP</code>.<wbr/> If |
| 12211 | there are no raw resolutions larger than <code>RP</code>,<wbr/> then set <code>RR</code> to |
| 12212 | the raw resolution closest to <code>RP</code>.<wbr/></li> |
| 12213 | <li>Look up the matching minimum frame durations in the property lists |
| 12214 | <a href="#static_android.scaler.availableJpegMinDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Jpeg<wbr/>Min<wbr/>Durations</a>,<wbr/> |
| 12215 | <a href="#static_android.scaler.availableRawMinDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Raw<wbr/>Min<wbr/>Durations</a>,<wbr/> and |
| 12216 | <a href="#static_android.scaler.availableProcessedMinDurations">android.<wbr/>scaler.<wbr/>available<wbr/>Processed<wbr/>Min<wbr/>Durations</a>.<wbr/> This gives three |
| 12217 | minimum frame durations <code>FJ</code>,<wbr/> <code>FR</code>,<wbr/> and <code>FP</code>.<wbr/></li> |
| 12218 | <li>If a stream of requests do not use a JPEG stream,<wbr/> then the minimum |
| 12219 | supported frame duration for each request is <code>max(FR,<wbr/> FP)</code>.<wbr/></li> |
| 12220 | <li>If a stream of requests all use the JPEG stream,<wbr/> then the minimum |
| 12221 | supported frame duration for each request is <code>max(FR,<wbr/> FP,<wbr/> FJ)</code>.<wbr/></li> |
| 12222 | <li>If a mix of JPEG-using and non-JPEG-using requests is submitted by |
| 12223 | the application,<wbr/> then the HAL will have to delay JPEG-using requests |
| 12224 | whenever the JPEG encoder is still busy processing an older capture.<wbr/> |
| 12225 | This will happen whenever a JPEG-using request starts capture less |
| 12226 | than <code>FJ</code> <em>ns</em> after a previous JPEG-using request.<wbr/> The minimum |
| 12227 | supported frame duration will vary between the values calculated in |
| 12228 | #6 and #7.<wbr/></li> |
| 12229 | </ol> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12230 | </td> |
| 12231 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12232 | |
| 12233 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12234 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12235 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12236 | |
| 12237 | |
| 12238 | <tr class="entry" id="dynamic_android.sensor.sensitivity"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12239 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12240 | android.<wbr/>sensor.<wbr/>sensitivity |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12241 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12242 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 12243 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12244 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 12245 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12246 | |
| 12247 | |
| 12248 | </td> <!-- entry_type --> |
| 12249 | |
| 12250 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12251 | <p>Gain applied to image data.<wbr/> Must be |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 12252 | implemented through analog gain only if set to values |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12253 | below 'maximum analog sensitivity'.<wbr/></p> |
| 12254 | <p>If the sensor can't apply this exact gain,<wbr/> it should lessen the |
| 12255 | gain to the nearest possible value (rather than gain more).<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12256 | </td> |
| 12257 | |
| 12258 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12259 | ISO arithmetic units |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12260 | </td> |
| 12261 | |
| 12262 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 12263 | <p><a href="#static_android.sensor.info.sensitivityRange">android.<wbr/>sensor.<wbr/>info.<wbr/>sensitivity<wbr/>Range</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12264 | </td> |
| 12265 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12266 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 12267 | <ul class="entry_tags"> |
| 12268 | <li><a href="#tag_V1">V1</a></li> |
| 12269 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12270 | </td> |
| 12271 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12272 | </tr> |
| 12273 | <tr class="entries_header"> |
| 12274 | <th class="th_details" colspan="5">Details</th> |
| 12275 | </tr> |
| 12276 | <tr class="entry_cont"> |
| 12277 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12278 | <p>ISO 12232:2006 REI method</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12279 | </td> |
| 12280 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12281 | |
| 12282 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12283 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12284 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12285 | |
| 12286 | |
| 12287 | <tr class="entry" id="dynamic_android.sensor.timestamp"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12288 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12289 | android.<wbr/>sensor.<wbr/>timestamp |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12290 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12291 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 12292 | <span class="entry_type_name">int64</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12293 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 12294 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12295 | |
| 12296 | |
| 12297 | </td> <!-- entry_type --> |
| 12298 | |
| 12299 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12300 | <p>Time at start of exposure of first |
| 12301 | row</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12302 | </td> |
| 12303 | |
| 12304 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12305 | nanoseconds |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12306 | </td> |
| 12307 | |
| 12308 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 12309 | <p>> 0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12310 | </td> |
| 12311 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12312 | <td class="entry_tags"> |
| 12313 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 12314 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12315 | </ul> |
| 12316 | </td> |
| 12317 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12318 | </tr> |
| 12319 | <tr class="entries_header"> |
| 12320 | <th class="th_details" colspan="5">Details</th> |
| 12321 | </tr> |
| 12322 | <tr class="entry_cont"> |
| 12323 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12324 | <p>Monotonic,<wbr/> should be synced to other timestamps in |
| 12325 | system</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12326 | </td> |
| 12327 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12328 | |
| 12329 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12330 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12331 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12332 | |
Igor Murashkin | 656aa5a | 2013-08-13 14:23:39 -0700 | [diff] [blame] | 12333 | |
| 12334 | <tr class="entry" id="dynamic_android.sensor.temperature"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12335 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12336 | android.<wbr/>sensor.<wbr/>temperature |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12337 | </td> |
Igor Murashkin | 656aa5a | 2013-08-13 14:23:39 -0700 | [diff] [blame] | 12338 | <td class="entry_type"> |
| 12339 | <span class="entry_type_name">float</span> |
| 12340 | |
| 12341 | <span class="entry_type_visibility"> [public]</span> |
| 12342 | |
| 12343 | |
| 12344 | </td> <!-- entry_type --> |
| 12345 | |
| 12346 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12347 | <p>The temperature of the sensor,<wbr/> sampled at the time |
| 12348 | exposure began for this frame.<wbr/></p> |
| 12349 | <p>The thermal diode being queried should be inside the sensor PCB,<wbr/> or |
| 12350 | somewhere close to it.<wbr/></p> |
Igor Murashkin | 656aa5a | 2013-08-13 14:23:39 -0700 | [diff] [blame] | 12351 | </td> |
| 12352 | |
| 12353 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12354 | celsius |
Igor Murashkin | 656aa5a | 2013-08-13 14:23:39 -0700 | [diff] [blame] | 12355 | </td> |
| 12356 | |
| 12357 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 12358 | <p>Optional.<wbr/> This value is missing if no temperature is available.<wbr/></p> |
Igor Murashkin | 656aa5a | 2013-08-13 14:23:39 -0700 | [diff] [blame] | 12359 | </td> |
| 12360 | |
Igor Murashkin | 656aa5a | 2013-08-13 14:23:39 -0700 | [diff] [blame] | 12361 | <td class="entry_tags"> |
Alex Ray | ef40ad6 | 2013-10-01 17:52:33 -0700 | [diff] [blame] | 12362 | <ul class="entry_tags"> |
| 12363 | <li><a href="#tag_FULL">FULL</a></li> |
| 12364 | </ul> |
Igor Murashkin | 656aa5a | 2013-08-13 14:23:39 -0700 | [diff] [blame] | 12365 | </td> |
| 12366 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12367 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12368 | |
| 12369 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12370 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12371 | <!-- end of entry --> |
Igor Murashkin | 656aa5a | 2013-08-13 14:23:39 -0700 | [diff] [blame] | 12372 | |
Igor Murashkin | a46e02f | 2014-01-09 17:43:38 -0800 | [diff] [blame] | 12373 | |
| 12374 | <tr class="entry" id="dynamic_android.sensor.testPatternMode"> |
| 12375 | <td class="entry_name" rowspan="5"> |
| 12376 | android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Mode |
| 12377 | </td> |
| 12378 | <td class="entry_type"> |
| 12379 | <span class="entry_type_name entry_type_name_enum">int32</span> |
| 12380 | |
| 12381 | <span class="entry_type_visibility"> [public]</span> |
| 12382 | |
| 12383 | <ul class="entry_type_enum"> |
| 12384 | <li> |
| 12385 | <span class="entry_type_enum_name">OFF</span> |
| 12386 | <span class="entry_type_enum_notes"><p>Default.<wbr/> No test pattern mode is used,<wbr/> and the camera |
| 12387 | device returns captures from the image sensor.<wbr/></p></span> |
| 12388 | </li> |
| 12389 | <li> |
| 12390 | <span class="entry_type_enum_name">SOLID_COLOR</span> |
| 12391 | <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 |
| 12392 | respective color channel provided in |
| 12393 | <a href="#controls_android.sensor.testPatternData">android.<wbr/>sensor.<wbr/>test<wbr/>Pattern<wbr/>Data</a>.<wbr/></p> |
| 12394 | <p>For example:</p> |
| 12395 | <pre><code>android.<wbr/>testPatternData = [0,<wbr/> 0xFFFFFFFF,<wbr/> 0xFFFFFFFF,<wbr/> 0] |
| 12396 | </code></pre> |
| 12397 | <p>All green pixels are 100% green.<wbr/> All red/<wbr/>blue pixels are black.<wbr/></p> |
| 12398 | <pre><code>android.<wbr/>testPatternData = [0xFFFFFFFF,<wbr/> 0,<wbr/> 0xFFFFFFFF,<wbr/> 0] |
| 12399 | </code></pre> |
| 12400 | <p>All red pixels are 100% red.<wbr/> Only the odd green pixels |
| 12401 | are 100% green.<wbr/> All blue pixels are 100% black.<wbr/></p></span> |
| 12402 | </li> |
| 12403 | <li> |
| 12404 | <span class="entry_type_enum_name">COLOR_BARS</span> |
| 12405 | <span class="entry_type_enum_notes"><p>All pixel data is replaced with an 8-bar color pattern.<wbr/></p> |
| 12406 | <p>The vertical bars (left-to-right) are as follows:</p> |
| 12407 | <ul> |
| 12408 | <li>100% white</li> |
| 12409 | <li>yellow</li> |
| 12410 | <li>cyan</li> |
| 12411 | <li>green</li> |
| 12412 | <li>magenta</li> |
| 12413 | <li>red</li> |
| 12414 | <li>blue</li> |
| 12415 | <li>black</li> |
| 12416 | </ul> |
| 12417 | <p>In general the image would look like the following:</p> |
| 12418 | <pre><code>W Y C G M R B K |
| 12419 | W Y C G M R B K |
| 12420 | W Y C G M R B K |
| 12421 | W Y C G M R B K |
| 12422 | W Y C G M R B K |
| 12423 | .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> |
| 12424 | .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> |
| 12425 | .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> .<wbr/> |
| 12426 | |
| 12427 | (B = Blue,<wbr/> K = Black) |
| 12428 | </code></pre> |
| 12429 | <p>Each bar should take up 1/<wbr/>8 of the sensor pixel array width.<wbr/> |
| 12430 | When this is not possible,<wbr/> the bar size should be rounded |
| 12431 | down to the nearest integer and the pattern can repeat |
| 12432 | on the right side.<wbr/></p> |
| 12433 | <p>Each bar's height must always take up the full sensor |
| 12434 | pixel array height.<wbr/></p> |
| 12435 | <p>Each pixel in this test pattern must be set to either |
| 12436 | 0% intensity or 100% intensity.<wbr/></p></span> |
| 12437 | </li> |
| 12438 | <li> |
| 12439 | <span class="entry_type_enum_name">COLOR_BARS_FADE_TO_GRAY</span> |
| 12440 | <span class="entry_type_enum_notes"><p>The test pattern is similar to COLOR_<wbr/>BARS,<wbr/> except that |
| 12441 | each bar should start at its specified color at the top,<wbr/> |
| 12442 | and fade to gray at the bottom.<wbr/></p> |
| 12443 | <p>Furthermore each bar is further subdivided into a left and |
| 12444 | right half.<wbr/> The left half should have a smooth gradient,<wbr/> |
| 12445 | and the right half should have a quantized gradient.<wbr/></p> |
| 12446 | <p>In particular,<wbr/> the right half's should consist of blocks of the |
| 12447 | same color for 1/<wbr/>16th active sensor pixel array width.<wbr/></p> |
| 12448 | <p>The least significant bits in the quantized gradient should |
| 12449 | be copied from the most significant bits of the smooth gradient.<wbr/></p> |
| 12450 | <p>The height of each bar should always be a multiple of 128.<wbr/> |
| 12451 | When this is not the case,<wbr/> the pattern should repeat at the bottom |
| 12452 | of the image.<wbr/></p></span> |
| 12453 | </li> |
| 12454 | <li> |
| 12455 | <span class="entry_type_enum_name">PN9</span> |
| 12456 | <span class="entry_type_enum_notes"><p>All pixel data is replaced by a pseudo-random sequence |
| 12457 | generated from a PN9 512-bit sequence (typically implemented |
| 12458 | in hardware with a linear feedback shift register).<wbr/></p> |
| 12459 | <p>The generator should be reset at the beginning of each frame,<wbr/> |
| 12460 | and thus each subsequent raw frame with this test pattern should |
| 12461 | be exactly the same as the last.<wbr/></p></span> |
| 12462 | </li> |
| 12463 | <li> |
| 12464 | <span class="entry_type_enum_name">CUSTOM1</span> |
| 12465 | <span class="entry_type_enum_value">256</span> |
| 12466 | <span class="entry_type_enum_notes"><p>The first custom test pattern.<wbr/> All custom patterns that are |
| 12467 | available only on this camera device are at least this numeric |
| 12468 | value.<wbr/></p> |
| 12469 | <p>All of the custom test patterns will be static |
| 12470 | (that is the raw image must not vary from frame to frame).<wbr/></p></span> |
| 12471 | </li> |
| 12472 | </ul> |
| 12473 | |
| 12474 | </td> <!-- entry_type --> |
| 12475 | |
| 12476 | <td class="entry_description"> |
| 12477 | <p>When enabled,<wbr/> the sensor sends a test pattern instead of |
| 12478 | doing a real exposure from the camera.<wbr/></p> |
| 12479 | </td> |
| 12480 | |
| 12481 | <td class="entry_units"> |
| 12482 | </td> |
| 12483 | |
| 12484 | <td class="entry_range"> |
| 12485 | <p>Optional.<wbr/> Defaults to OFF.<wbr/> Value must be one of |
| 12486 | <a href="#static_android.sensor.availableTestPatternModes">android.<wbr/>sensor.<wbr/>available<wbr/>Test<wbr/>Pattern<wbr/>Modes</a></p> |
| 12487 | </td> |
| 12488 | |
| 12489 | <td class="entry_tags"> |
| 12490 | </td> |
| 12491 | |
| 12492 | </tr> |
| 12493 | <tr class="entries_header"> |
| 12494 | <th class="th_details" colspan="5">Details</th> |
| 12495 | </tr> |
| 12496 | <tr class="entry_cont"> |
| 12497 | <td class="entry_details" colspan="5"> |
| 12498 | <p>When a test pattern is enabled,<wbr/> all manual sensor controls specified |
| 12499 | by android.<wbr/>sensor.<wbr/>* should be ignored.<wbr/> All other controls should |
| 12500 | work as normal.<wbr/></p> |
| 12501 | <p>For example,<wbr/> if manual flash is enabled,<wbr/> flash firing should still |
| 12502 | occur (and that the test pattern remain unmodified,<wbr/> since the flash |
| 12503 | would not actually affect it).<wbr/></p> |
| 12504 | </td> |
| 12505 | </tr> |
| 12506 | |
| 12507 | <tr class="entries_header"> |
| 12508 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 12509 | </tr> |
| 12510 | <tr class="entry_cont"> |
| 12511 | <td class="entry_details" colspan="5"> |
| 12512 | <p>All test patterns are specified in the Bayer domain.<wbr/></p> |
| 12513 | <p>The HAL may choose to substitute test patterns from the sensor |
| 12514 | with test patterns from on-device memory.<wbr/> In that case,<wbr/> it should be |
| 12515 | indistinguishable to the ISP whether the data came from the |
| 12516 | sensor interconnect bus (such as CSI2) or memory.<wbr/></p> |
| 12517 | </td> |
| 12518 | </tr> |
| 12519 | |
| 12520 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12521 | <!-- end of entry --> |
| 12522 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12523 | |
| 12524 | |
| 12525 | <!-- end of kind --> |
| 12526 | </tbody> |
| 12527 | |
| 12528 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12529 | <tr><td colspan="6" id="section_shading" class="section">shading</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12530 | |
| 12531 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12532 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12533 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 12534 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12535 | <tr> |
| 12536 | <th class="th_name">Property Name</th> |
| 12537 | <th class="th_type">Type</th> |
| 12538 | <th class="th_description">Description</th> |
| 12539 | <th class="th_units">Units</th> |
| 12540 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12541 | <th class="th_tags">Tags</th> |
| 12542 | </tr> |
| 12543 | </thead> |
| 12544 | |
| 12545 | <tbody> |
| 12546 | |
| 12547 | |
| 12548 | |
| 12549 | |
| 12550 | |
| 12551 | |
| 12552 | |
| 12553 | |
| 12554 | |
| 12555 | |
| 12556 | <tr class="entry" id="controls_android.shading.mode"> |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12557 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12558 | android.<wbr/>shading.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12559 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12560 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 12561 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12562 | |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12563 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12564 | |
| 12565 | <ul class="entry_type_enum"> |
| 12566 | <li> |
| 12567 | <span class="entry_type_enum_name">OFF</span> |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12568 | <span class="entry_type_enum_notes"><p>No lens shading correction is applied</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12569 | </li> |
| 12570 | <li> |
| 12571 | <span class="entry_type_enum_name">FAST</span> |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12572 | <span class="entry_type_enum_notes"><p>Must not slow down frame rate relative to sensor raw output</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12573 | </li> |
| 12574 | <li> |
| 12575 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12576 | <span class="entry_type_enum_notes"><p>Frame rate may be reduced by high quality</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12577 | </li> |
| 12578 | </ul> |
| 12579 | |
| 12580 | </td> <!-- entry_type --> |
| 12581 | |
| 12582 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12583 | <p>Quality of lens shading correction applied |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12584 | to the image data.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12585 | </td> |
| 12586 | |
| 12587 | <td class="entry_units"> |
| 12588 | </td> |
| 12589 | |
| 12590 | <td class="entry_range"> |
| 12591 | </td> |
| 12592 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12593 | <td class="entry_tags"> |
| 12594 | </td> |
| 12595 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12596 | </tr> |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12597 | <tr class="entries_header"> |
| 12598 | <th class="th_details" colspan="5">Details</th> |
| 12599 | </tr> |
| 12600 | <tr class="entry_cont"> |
| 12601 | <td class="entry_details" colspan="5"> |
| 12602 | <p>When set to OFF mode,<wbr/> no lens shading correction will be applied by the |
| 12603 | camera device,<wbr/> and an identity lens shading map data will be provided |
| 12604 | 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 |
| 12605 | shading map with size specified as <code><a href="#static_android.lens.info.shadingMapSize">android.<wbr/>lens.<wbr/>info.<wbr/>shading<wbr/>Map<wbr/>Size</a> = [ 4,<wbr/> 3 ]</code>,<wbr/> |
| 12606 | the output <a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a> for this case will be an identity map |
| 12607 | shown below:</p> |
| 12608 | <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/> |
| 12609 | 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/> |
| 12610 | 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/> |
| 12611 | 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/> |
| 12612 | 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/> |
| 12613 | 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 ] |
| 12614 | </code></pre> |
| 12615 | <p>When set to other modes,<wbr/> lens shading correction will be applied by the |
| 12616 | camera device.<wbr/> Applications can request lens shading map data by setting |
| 12617 | <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 |
| 12618 | lens shading map data in <a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a>,<wbr/> with size specified |
| 12619 | by <a href="#static_android.lens.info.shadingMapSize">android.<wbr/>lens.<wbr/>info.<wbr/>shading<wbr/>Map<wbr/>Size</a>.<wbr/></p> |
| 12620 | </td> |
| 12621 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12622 | |
| 12623 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12624 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12625 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12626 | |
| 12627 | |
| 12628 | <tr class="entry" id="controls_android.shading.strength"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12629 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12630 | android.<wbr/>shading.<wbr/>strength |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12631 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12632 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 12633 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12634 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 12635 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12636 | |
| 12637 | |
| 12638 | </td> <!-- entry_type --> |
| 12639 | |
| 12640 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12641 | <p>Control the amount of shading correction |
| 12642 | applied to the images</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12643 | </td> |
| 12644 | |
| 12645 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12646 | unitless: 1-10; 10 is full shading |
| 12647 | compensation |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12648 | </td> |
| 12649 | |
| 12650 | <td class="entry_range"> |
| 12651 | </td> |
| 12652 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12653 | <td class="entry_tags"> |
| 12654 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 12655 | <li><a href="#tag_ADV">ADV</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12656 | </ul> |
| 12657 | </td> |
| 12658 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12659 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12660 | |
| 12661 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12662 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12663 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12664 | |
| 12665 | |
| 12666 | |
| 12667 | <!-- end of kind --> |
| 12668 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12669 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12670 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 12671 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12672 | <tr> |
| 12673 | <th class="th_name">Property Name</th> |
| 12674 | <th class="th_type">Type</th> |
| 12675 | <th class="th_description">Description</th> |
| 12676 | <th class="th_units">Units</th> |
| 12677 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12678 | <th class="th_tags">Tags</th> |
| 12679 | </tr> |
| 12680 | </thead> |
| 12681 | |
| 12682 | <tbody> |
| 12683 | |
| 12684 | |
| 12685 | |
| 12686 | |
| 12687 | |
| 12688 | |
| 12689 | |
| 12690 | |
| 12691 | |
| 12692 | |
| 12693 | <tr class="entry" id="dynamic_android.shading.mode"> |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12694 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12695 | android.<wbr/>shading.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12696 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12697 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 12698 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12699 | |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12700 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12701 | |
| 12702 | <ul class="entry_type_enum"> |
| 12703 | <li> |
| 12704 | <span class="entry_type_enum_name">OFF</span> |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12705 | <span class="entry_type_enum_notes"><p>No lens shading correction is applied</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12706 | </li> |
| 12707 | <li> |
| 12708 | <span class="entry_type_enum_name">FAST</span> |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12709 | <span class="entry_type_enum_notes"><p>Must not slow down frame rate relative to sensor raw output</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12710 | </li> |
| 12711 | <li> |
| 12712 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12713 | <span class="entry_type_enum_notes"><p>Frame rate may be reduced by high quality</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12714 | </li> |
| 12715 | </ul> |
| 12716 | |
| 12717 | </td> <!-- entry_type --> |
| 12718 | |
| 12719 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12720 | <p>Quality of lens shading correction applied |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12721 | to the image data.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12722 | </td> |
| 12723 | |
| 12724 | <td class="entry_units"> |
| 12725 | </td> |
| 12726 | |
| 12727 | <td class="entry_range"> |
| 12728 | </td> |
| 12729 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12730 | <td class="entry_tags"> |
| 12731 | </td> |
| 12732 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12733 | </tr> |
Zhijun He | 2f86a21 | 2014-01-15 10:34:02 -0800 | [diff] [blame] | 12734 | <tr class="entries_header"> |
| 12735 | <th class="th_details" colspan="5">Details</th> |
| 12736 | </tr> |
| 12737 | <tr class="entry_cont"> |
| 12738 | <td class="entry_details" colspan="5"> |
| 12739 | <p>When set to OFF mode,<wbr/> no lens shading correction will be applied by the |
| 12740 | camera device,<wbr/> and an identity lens shading map data will be provided |
| 12741 | 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 |
| 12742 | shading map with size specified as <code><a href="#static_android.lens.info.shadingMapSize">android.<wbr/>lens.<wbr/>info.<wbr/>shading<wbr/>Map<wbr/>Size</a> = [ 4,<wbr/> 3 ]</code>,<wbr/> |
| 12743 | the output <a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a> for this case will be an identity map |
| 12744 | shown below:</p> |
| 12745 | <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/> |
| 12746 | 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/> |
| 12747 | 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/> |
| 12748 | 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/> |
| 12749 | 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/> |
| 12750 | 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 ] |
| 12751 | </code></pre> |
| 12752 | <p>When set to other modes,<wbr/> lens shading correction will be applied by the |
| 12753 | camera device.<wbr/> Applications can request lens shading map data by setting |
| 12754 | <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 |
| 12755 | lens shading map data in <a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a>,<wbr/> with size specified |
| 12756 | by <a href="#static_android.lens.info.shadingMapSize">android.<wbr/>lens.<wbr/>info.<wbr/>shading<wbr/>Map<wbr/>Size</a>.<wbr/></p> |
| 12757 | </td> |
| 12758 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12759 | |
| 12760 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12761 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12762 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12763 | |
| 12764 | |
| 12765 | |
| 12766 | <!-- end of kind --> |
| 12767 | </tbody> |
| 12768 | |
| 12769 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12770 | <tr><td colspan="6" id="section_statistics" class="section">statistics</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12771 | |
| 12772 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12773 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12774 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 12775 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12776 | <tr> |
| 12777 | <th class="th_name">Property Name</th> |
| 12778 | <th class="th_type">Type</th> |
| 12779 | <th class="th_description">Description</th> |
| 12780 | <th class="th_units">Units</th> |
| 12781 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12782 | <th class="th_tags">Tags</th> |
| 12783 | </tr> |
| 12784 | </thead> |
| 12785 | |
| 12786 | <tbody> |
| 12787 | |
| 12788 | |
| 12789 | |
| 12790 | |
| 12791 | |
| 12792 | |
| 12793 | |
| 12794 | |
| 12795 | |
| 12796 | |
| 12797 | <tr class="entry" id="controls_android.statistics.faceDetectMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12798 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12799 | android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12800 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12801 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 12802 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12803 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 12804 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12805 | |
| 12806 | <ul class="entry_type_enum"> |
| 12807 | <li> |
| 12808 | <span class="entry_type_enum_name">OFF</span> |
| 12809 | </li> |
| 12810 | <li> |
| 12811 | <span class="entry_type_enum_name">SIMPLE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 12812 | <span class="entry_type_enum_notes"><p>Optional Return rectangle and confidence |
| 12813 | only</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12814 | </li> |
| 12815 | <li> |
| 12816 | <span class="entry_type_enum_name">FULL</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 12817 | <span class="entry_type_enum_notes"><p>Optional Return all face |
| 12818 | metadata</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12819 | </li> |
| 12820 | </ul> |
| 12821 | |
| 12822 | </td> <!-- entry_type --> |
| 12823 | |
| 12824 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12825 | <p>State of the face detector |
| 12826 | unit</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12827 | </td> |
| 12828 | |
| 12829 | <td class="entry_units"> |
| 12830 | </td> |
| 12831 | |
| 12832 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 12833 | <p><a href="#static_android.statistics.info.availableFaceDetectModes">android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Face<wbr/>Detect<wbr/>Modes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12834 | </td> |
| 12835 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12836 | <td class="entry_tags"> |
| 12837 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 12838 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12839 | </ul> |
| 12840 | </td> |
| 12841 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12842 | </tr> |
| 12843 | <tr class="entries_header"> |
| 12844 | <th class="th_details" colspan="5">Details</th> |
| 12845 | </tr> |
| 12846 | <tr class="entry_cont"> |
| 12847 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12848 | <p>Whether face detection is enabled,<wbr/> and whether it |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12849 | should output just the basic fields or the full set of |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12850 | fields.<wbr/> Value must be one of the |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 12851 | <a href="#static_android.statistics.info.availableFaceDetectModes">android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Face<wbr/>Detect<wbr/>Modes</a>.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12852 | </td> |
| 12853 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12854 | |
| 12855 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12856 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12857 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12858 | |
| 12859 | |
| 12860 | <tr class="entry" id="controls_android.statistics.histogramMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12861 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12862 | android.<wbr/>statistics.<wbr/>histogram<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12863 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12864 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 12865 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12866 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 12867 | <span class="entry_type_visibility"> [system as boolean]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12868 | |
| 12869 | <ul class="entry_type_enum"> |
| 12870 | <li> |
| 12871 | <span class="entry_type_enum_name">OFF</span> |
| 12872 | </li> |
| 12873 | <li> |
| 12874 | <span class="entry_type_enum_name">ON</span> |
| 12875 | </li> |
| 12876 | </ul> |
| 12877 | |
| 12878 | </td> <!-- entry_type --> |
| 12879 | |
| 12880 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12881 | <p>Operating mode for histogram |
| 12882 | generation</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12883 | </td> |
| 12884 | |
| 12885 | <td class="entry_units"> |
| 12886 | </td> |
| 12887 | |
| 12888 | <td class="entry_range"> |
| 12889 | </td> |
| 12890 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12891 | <td class="entry_tags"> |
| 12892 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 12893 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12894 | </ul> |
| 12895 | </td> |
| 12896 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12897 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12898 | |
| 12899 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12900 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12901 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12902 | |
| 12903 | |
| 12904 | <tr class="entry" id="controls_android.statistics.sharpnessMapMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12905 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12906 | android.<wbr/>statistics.<wbr/>sharpness<wbr/>Map<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12907 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12908 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 12909 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12910 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 12911 | <span class="entry_type_visibility"> [system as boolean]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12912 | |
| 12913 | <ul class="entry_type_enum"> |
| 12914 | <li> |
| 12915 | <span class="entry_type_enum_name">OFF</span> |
| 12916 | </li> |
| 12917 | <li> |
| 12918 | <span class="entry_type_enum_name">ON</span> |
| 12919 | </li> |
| 12920 | </ul> |
| 12921 | |
| 12922 | </td> <!-- entry_type --> |
| 12923 | |
| 12924 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12925 | <p>Operating mode for sharpness map |
| 12926 | generation</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12927 | </td> |
| 12928 | |
| 12929 | <td class="entry_units"> |
| 12930 | </td> |
| 12931 | |
| 12932 | <td class="entry_range"> |
| 12933 | </td> |
| 12934 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12935 | <td class="entry_tags"> |
| 12936 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 12937 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12938 | </ul> |
| 12939 | </td> |
| 12940 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12941 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12942 | |
| 12943 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12944 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12945 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12946 | |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 12947 | |
| 12948 | <tr class="entry" id="controls_android.statistics.lensShadingMapMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12949 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12950 | android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12951 | </td> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 12952 | <td class="entry_type"> |
| 12953 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 12954 | |
| 12955 | <span class="entry_type_visibility"> [public]</span> |
| 12956 | |
| 12957 | <ul class="entry_type_enum"> |
| 12958 | <li> |
| 12959 | <span class="entry_type_enum_name">OFF</span> |
| 12960 | </li> |
| 12961 | <li> |
| 12962 | <span class="entry_type_enum_name">ON</span> |
| 12963 | </li> |
| 12964 | </ul> |
| 12965 | |
| 12966 | </td> <!-- entry_type --> |
| 12967 | |
| 12968 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12969 | <p>Whether the HAL needs to output the lens |
| 12970 | shading map in output result metadata</p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 12971 | </td> |
| 12972 | |
| 12973 | <td class="entry_units"> |
| 12974 | </td> |
| 12975 | |
| 12976 | <td class="entry_range"> |
| 12977 | </td> |
| 12978 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12979 | <td class="entry_tags"> |
| 12980 | </td> |
| 12981 | |
| 12982 | </tr> |
| 12983 | <tr class="entries_header"> |
| 12984 | <th class="th_details" colspan="5">Details</th> |
| 12985 | </tr> |
| 12986 | <tr class="entry_cont"> |
| 12987 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12988 | <p>When set to ON,<wbr/> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 12989 | <a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a> must be provided in |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 12990 | the output result metadata.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 12991 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12992 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 12993 | |
| 12994 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 12995 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 12996 | <!-- end of entry --> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 12997 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 12998 | |
| 12999 | |
| 13000 | <!-- end of kind --> |
| 13001 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13002 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13003 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 13004 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13005 | <tr> |
| 13006 | <th class="th_name">Property Name</th> |
| 13007 | <th class="th_type">Type</th> |
| 13008 | <th class="th_description">Description</th> |
| 13009 | <th class="th_units">Units</th> |
| 13010 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13011 | <th class="th_tags">Tags</th> |
| 13012 | </tr> |
| 13013 | </thead> |
| 13014 | |
| 13015 | <tbody> |
| 13016 | |
| 13017 | |
| 13018 | |
| 13019 | |
| 13020 | |
| 13021 | |
| 13022 | |
| 13023 | |
| 13024 | |
| 13025 | |
| 13026 | |
| 13027 | |
| 13028 | <tr class="entry" id="static_android.statistics.info.availableFaceDetectModes"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13029 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13030 | android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Face<wbr/>Detect<wbr/>Modes |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13031 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13032 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13033 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13034 | <span class="entry_type_container">x</span> |
| 13035 | |
| 13036 | <span class="entry_type_array"> |
| 13037 | n |
| 13038 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 13039 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13040 | <div class="entry_type_notes">List of enums from android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13041 | |
| 13042 | |
| 13043 | </td> <!-- entry_type --> |
| 13044 | |
| 13045 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13046 | <p>Which face detection modes are available,<wbr/> |
| 13047 | if any</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13048 | </td> |
| 13049 | |
| 13050 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13051 | List of enum: |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13052 | OFF |
| 13053 | SIMPLE |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13054 | FULL |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13055 | </td> |
| 13056 | |
| 13057 | <td class="entry_range"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13058 | </td> |
| 13059 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13060 | <td class="entry_tags"> |
| 13061 | </td> |
| 13062 | |
| 13063 | </tr> |
| 13064 | <tr class="entries_header"> |
| 13065 | <th class="th_details" colspan="5">Details</th> |
| 13066 | </tr> |
| 13067 | <tr class="entry_cont"> |
| 13068 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13069 | <p>OFF means face detection is disabled,<wbr/> it must |
| 13070 | be included in the list.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 13071 | <p>SIMPLE means the device supports the |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13072 | <a href="#dynamic_android.statistics.faceRectangles">android.<wbr/>statistics.<wbr/>face<wbr/>Rectangles</a> and |
| 13073 | <a href="#dynamic_android.statistics.faceScores">android.<wbr/>statistics.<wbr/>face<wbr/>Scores</a> outputs.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 13074 | <p>FULL means the device additionally supports the |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13075 | <a href="#dynamic_android.statistics.faceIds">android.<wbr/>statistics.<wbr/>face<wbr/>Ids</a> and |
| 13076 | <a href="#dynamic_android.statistics.faceLandmarks">android.<wbr/>statistics.<wbr/>face<wbr/>Landmarks</a> outputs.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13077 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13078 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13079 | |
| 13080 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13081 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13082 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13083 | |
| 13084 | |
| 13085 | <tr class="entry" id="static_android.statistics.info.histogramBucketCount"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13086 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13087 | android.<wbr/>statistics.<wbr/>info.<wbr/>histogram<wbr/>Bucket<wbr/>Count |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13088 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13089 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13090 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13091 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 13092 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13093 | |
| 13094 | |
| 13095 | </td> <!-- entry_type --> |
| 13096 | |
| 13097 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13098 | <p>Number of histogram buckets |
| 13099 | supported</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13100 | </td> |
| 13101 | |
| 13102 | <td class="entry_units"> |
| 13103 | </td> |
| 13104 | |
| 13105 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 13106 | <p>>= 64</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13107 | </td> |
| 13108 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13109 | <td class="entry_tags"> |
| 13110 | </td> |
| 13111 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13112 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13113 | |
| 13114 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13115 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13116 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13117 | |
| 13118 | |
| 13119 | <tr class="entry" id="static_android.statistics.info.maxFaceCount"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13120 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13121 | android.<wbr/>statistics.<wbr/>info.<wbr/>max<wbr/>Face<wbr/>Count |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13122 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13123 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13124 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13125 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 13126 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13127 | |
| 13128 | |
| 13129 | </td> <!-- entry_type --> |
| 13130 | |
| 13131 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13132 | <p>Maximum number of simultaneously detectable |
| 13133 | faces</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13134 | </td> |
| 13135 | |
| 13136 | <td class="entry_units"> |
| 13137 | </td> |
| 13138 | |
| 13139 | <td class="entry_range"> |
Igor Murashkin | 6cb7c2c | 2014-01-10 15:12:40 -0800 | [diff] [blame] | 13140 | <p>>= 4 if availableFaceDetectionModes lists |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13141 | modes besides OFF,<wbr/> otherwise 0</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13142 | </td> |
| 13143 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13144 | <td class="entry_tags"> |
| 13145 | </td> |
| 13146 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13147 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13148 | |
| 13149 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13150 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13151 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13152 | |
| 13153 | |
| 13154 | <tr class="entry" id="static_android.statistics.info.maxHistogramCount"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13155 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13156 | android.<wbr/>statistics.<wbr/>info.<wbr/>max<wbr/>Histogram<wbr/>Count |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13157 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13158 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13159 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13160 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 13161 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13162 | |
| 13163 | |
| 13164 | </td> <!-- entry_type --> |
| 13165 | |
| 13166 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13167 | <p>Maximum value possible for a histogram |
| 13168 | bucket</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13169 | </td> |
| 13170 | |
| 13171 | <td class="entry_units"> |
| 13172 | </td> |
| 13173 | |
| 13174 | <td class="entry_range"> |
| 13175 | </td> |
| 13176 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13177 | <td class="entry_tags"> |
| 13178 | </td> |
| 13179 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13180 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13181 | |
| 13182 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13183 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13184 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13185 | |
| 13186 | |
| 13187 | <tr class="entry" id="static_android.statistics.info.maxSharpnessMapValue"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13188 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13189 | android.<wbr/>statistics.<wbr/>info.<wbr/>max<wbr/>Sharpness<wbr/>Map<wbr/>Value |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13190 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13191 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13192 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13193 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 13194 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13195 | |
| 13196 | |
| 13197 | </td> <!-- entry_type --> |
| 13198 | |
| 13199 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13200 | <p>Maximum value possible for a sharpness map |
| 13201 | region.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13202 | </td> |
| 13203 | |
| 13204 | <td class="entry_units"> |
| 13205 | </td> |
| 13206 | |
| 13207 | <td class="entry_range"> |
| 13208 | </td> |
| 13209 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13210 | <td class="entry_tags"> |
| 13211 | </td> |
| 13212 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13213 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13214 | |
| 13215 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13216 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13217 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13218 | |
| 13219 | |
| 13220 | <tr class="entry" id="static_android.statistics.info.sharpnessMapSize"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13221 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13222 | android.<wbr/>statistics.<wbr/>info.<wbr/>sharpness<wbr/>Map<wbr/>Size |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13223 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13224 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13225 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13226 | <span class="entry_type_container">x</span> |
| 13227 | |
| 13228 | <span class="entry_type_array"> |
| 13229 | 2 |
| 13230 | </span> |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 13231 | <span class="entry_type_visibility"> [system as size]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13232 | <div class="entry_type_notes">width x height</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13233 | |
| 13234 | |
| 13235 | </td> <!-- entry_type --> |
| 13236 | |
| 13237 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13238 | <p>Dimensions of the sharpness |
| 13239 | map</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13240 | </td> |
| 13241 | |
| 13242 | <td class="entry_units"> |
| 13243 | </td> |
| 13244 | |
| 13245 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13246 | <p>Must be at least 32 x 32</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13247 | </td> |
| 13248 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13249 | <td class="entry_tags"> |
| 13250 | </td> |
| 13251 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13252 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13253 | |
| 13254 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13255 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13256 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13257 | |
| 13258 | |
| 13259 | |
| 13260 | |
| 13261 | |
| 13262 | |
| 13263 | <!-- end of kind --> |
| 13264 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13265 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13266 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 13267 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13268 | <tr> |
| 13269 | <th class="th_name">Property Name</th> |
| 13270 | <th class="th_type">Type</th> |
| 13271 | <th class="th_description">Description</th> |
| 13272 | <th class="th_units">Units</th> |
| 13273 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13274 | <th class="th_tags">Tags</th> |
| 13275 | </tr> |
| 13276 | </thead> |
| 13277 | |
| 13278 | <tbody> |
| 13279 | |
| 13280 | |
| 13281 | |
| 13282 | |
| 13283 | |
| 13284 | |
| 13285 | |
| 13286 | |
| 13287 | |
| 13288 | |
| 13289 | <tr class="entry" id="dynamic_android.statistics.faceDetectMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13290 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13291 | android.<wbr/>statistics.<wbr/>face<wbr/>Detect<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13292 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13293 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13294 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13295 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 13296 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13297 | |
| 13298 | <ul class="entry_type_enum"> |
| 13299 | <li> |
| 13300 | <span class="entry_type_enum_name">OFF</span> |
| 13301 | </li> |
| 13302 | <li> |
| 13303 | <span class="entry_type_enum_name">SIMPLE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 13304 | <span class="entry_type_enum_notes"><p>Optional Return rectangle and confidence |
| 13305 | only</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13306 | </li> |
| 13307 | <li> |
| 13308 | <span class="entry_type_enum_name">FULL</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 13309 | <span class="entry_type_enum_notes"><p>Optional Return all face |
| 13310 | metadata</p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13311 | </li> |
| 13312 | </ul> |
| 13313 | |
| 13314 | </td> <!-- entry_type --> |
| 13315 | |
| 13316 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13317 | <p>State of the face detector |
| 13318 | unit</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13319 | </td> |
| 13320 | |
| 13321 | <td class="entry_units"> |
| 13322 | </td> |
| 13323 | |
| 13324 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13325 | <p><a href="#static_android.statistics.info.availableFaceDetectModes">android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Face<wbr/>Detect<wbr/>Modes</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13326 | </td> |
| 13327 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13328 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 13329 | <ul class="entry_tags"> |
| 13330 | <li><a href="#tag_BC">BC</a></li> |
| 13331 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13332 | </td> |
| 13333 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13334 | </tr> |
| 13335 | <tr class="entries_header"> |
| 13336 | <th class="th_details" colspan="5">Details</th> |
| 13337 | </tr> |
| 13338 | <tr class="entry_cont"> |
| 13339 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13340 | <p>Whether face detection is enabled,<wbr/> and whether it |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13341 | should output just the basic fields or the full set of |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13342 | fields.<wbr/> Value must be one of the |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13343 | <a href="#static_android.statistics.info.availableFaceDetectModes">android.<wbr/>statistics.<wbr/>info.<wbr/>available<wbr/>Face<wbr/>Detect<wbr/>Modes</a>.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13344 | </td> |
| 13345 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13346 | |
| 13347 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13348 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13349 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13350 | |
| 13351 | |
| 13352 | <tr class="entry" id="dynamic_android.statistics.faceIds"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13353 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13354 | android.<wbr/>statistics.<wbr/>face<wbr/>Ids |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13355 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13356 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13357 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13358 | <span class="entry_type_container">x</span> |
| 13359 | |
| 13360 | <span class="entry_type_array"> |
| 13361 | n |
| 13362 | </span> |
Zhijun He | 3b4c206 | 2013-10-07 11:23:30 -0700 | [diff] [blame] | 13363 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13364 | |
| 13365 | |
| 13366 | </td> <!-- entry_type --> |
| 13367 | |
| 13368 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13369 | <p>List of unique IDs for detected |
| 13370 | faces</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13371 | </td> |
| 13372 | |
| 13373 | <td class="entry_units"> |
| 13374 | </td> |
| 13375 | |
| 13376 | <td class="entry_range"> |
| 13377 | </td> |
| 13378 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13379 | <td class="entry_tags"> |
| 13380 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 13381 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13382 | </ul> |
| 13383 | </td> |
| 13384 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13385 | </tr> |
| 13386 | <tr class="entries_header"> |
| 13387 | <th class="th_details" colspan="5">Details</th> |
| 13388 | </tr> |
| 13389 | <tr class="entry_cont"> |
| 13390 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13391 | <p>Only available if faceDetectMode == FULL</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13392 | </td> |
| 13393 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13394 | |
| 13395 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13396 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13397 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13398 | |
| 13399 | |
| 13400 | <tr class="entry" id="dynamic_android.statistics.faceLandmarks"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13401 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13402 | android.<wbr/>statistics.<wbr/>face<wbr/>Landmarks |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13403 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13404 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13405 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13406 | <span class="entry_type_container">x</span> |
| 13407 | |
| 13408 | <span class="entry_type_array"> |
| 13409 | n x 6 |
| 13410 | </span> |
Zhijun He | 3b4c206 | 2013-10-07 11:23:30 -0700 | [diff] [blame] | 13411 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13412 | <div class="entry_type_notes">(leftEyeX,<wbr/> leftEyeY,<wbr/> rightEyeX,<wbr/> rightEyeY,<wbr/> mouthX,<wbr/> mouthY)</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13413 | |
| 13414 | |
| 13415 | </td> <!-- entry_type --> |
| 13416 | |
| 13417 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13418 | <p>List of landmarks for detected |
| 13419 | faces</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13420 | </td> |
| 13421 | |
| 13422 | <td class="entry_units"> |
| 13423 | </td> |
| 13424 | |
| 13425 | <td class="entry_range"> |
| 13426 | </td> |
| 13427 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13428 | <td class="entry_tags"> |
| 13429 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 13430 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13431 | </ul> |
| 13432 | </td> |
| 13433 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13434 | </tr> |
| 13435 | <tr class="entries_header"> |
| 13436 | <th class="th_details" colspan="5">Details</th> |
| 13437 | </tr> |
| 13438 | <tr class="entry_cont"> |
| 13439 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13440 | <p>Only available if faceDetectMode == FULL</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13441 | </td> |
| 13442 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13443 | |
| 13444 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13445 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13446 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13447 | |
| 13448 | |
| 13449 | <tr class="entry" id="dynamic_android.statistics.faceRectangles"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13450 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13451 | android.<wbr/>statistics.<wbr/>face<wbr/>Rectangles |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13452 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13453 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13454 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13455 | <span class="entry_type_container">x</span> |
| 13456 | |
| 13457 | <span class="entry_type_array"> |
| 13458 | n x 4 |
| 13459 | </span> |
Zhijun He | 3b4c206 | 2013-10-07 11:23:30 -0700 | [diff] [blame] | 13460 | <span class="entry_type_visibility"> [hidden as rectangle]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13461 | <div class="entry_type_notes">(xmin,<wbr/> ymin,<wbr/> xmax,<wbr/> ymax).<wbr/> (0,<wbr/>0) is top-left of active pixel area</div> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13462 | |
| 13463 | |
| 13464 | </td> <!-- entry_type --> |
| 13465 | |
| 13466 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13467 | <p>List of the bounding rectangles for detected |
| 13468 | faces</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13469 | </td> |
| 13470 | |
| 13471 | <td class="entry_units"> |
| 13472 | </td> |
| 13473 | |
| 13474 | <td class="entry_range"> |
| 13475 | </td> |
| 13476 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13477 | <td class="entry_tags"> |
| 13478 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 13479 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13480 | </ul> |
| 13481 | </td> |
| 13482 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13483 | </tr> |
| 13484 | <tr class="entries_header"> |
| 13485 | <th class="th_details" colspan="5">Details</th> |
| 13486 | </tr> |
| 13487 | <tr class="entry_cont"> |
| 13488 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13489 | <p>Only available if faceDetectMode != OFF</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13490 | </td> |
| 13491 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13492 | |
| 13493 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13494 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13495 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13496 | |
| 13497 | |
| 13498 | <tr class="entry" id="dynamic_android.statistics.faceScores"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13499 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13500 | android.<wbr/>statistics.<wbr/>face<wbr/>Scores |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13501 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13502 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13503 | <span class="entry_type_name">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13504 | <span class="entry_type_container">x</span> |
| 13505 | |
| 13506 | <span class="entry_type_array"> |
| 13507 | n |
| 13508 | </span> |
Zhijun He | 3b4c206 | 2013-10-07 11:23:30 -0700 | [diff] [blame] | 13509 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13510 | |
| 13511 | |
| 13512 | </td> <!-- entry_type --> |
| 13513 | |
| 13514 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13515 | <p>List of the face confidence scores for |
| 13516 | detected faces</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13517 | </td> |
| 13518 | |
| 13519 | <td class="entry_units"> |
| 13520 | </td> |
| 13521 | |
| 13522 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13523 | <p>1-100</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13524 | </td> |
| 13525 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13526 | <td class="entry_tags"> |
| 13527 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 13528 | <li><a href="#tag_BC">BC</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13529 | </ul> |
| 13530 | </td> |
| 13531 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13532 | </tr> |
| 13533 | <tr class="entries_header"> |
| 13534 | <th class="th_details" colspan="5">Details</th> |
| 13535 | </tr> |
| 13536 | <tr class="entry_cont"> |
| 13537 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13538 | <p>Only available if faceDetectMode != OFF.<wbr/> The value should be |
| 13539 | meaningful (for example,<wbr/> setting 100 at all times is illegal).<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13540 | </td> |
| 13541 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13542 | |
| 13543 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13544 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13545 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13546 | |
| 13547 | |
| 13548 | <tr class="entry" id="dynamic_android.statistics.histogram"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13549 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13550 | android.<wbr/>statistics.<wbr/>histogram |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13551 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13552 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13553 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13554 | <span class="entry_type_container">x</span> |
| 13555 | |
| 13556 | <span class="entry_type_array"> |
| 13557 | n x 3 |
| 13558 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 13559 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13560 | <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> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13561 | |
| 13562 | |
| 13563 | </td> <!-- entry_type --> |
| 13564 | |
| 13565 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13566 | <p>A 3-channel histogram based on the raw |
| 13567 | sensor data</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13568 | </td> |
| 13569 | |
| 13570 | <td class="entry_units"> |
| 13571 | </td> |
| 13572 | |
| 13573 | <td class="entry_range"> |
| 13574 | </td> |
| 13575 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13576 | <td class="entry_tags"> |
| 13577 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 13578 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13579 | </ul> |
| 13580 | </td> |
| 13581 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13582 | </tr> |
| 13583 | <tr class="entries_header"> |
| 13584 | <th class="th_details" colspan="5">Details</th> |
| 13585 | </tr> |
| 13586 | <tr class="entry_cont"> |
| 13587 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13588 | <p>The k'th bucket (0-based) covers the input range |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13589 | (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/> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13590 | (k + 1) * w /<wbr/> N ).<wbr/> If only a monochrome sharpness map is |
| 13591 | supported,<wbr/> all channels should have the same data</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13592 | </td> |
| 13593 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13594 | |
| 13595 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13596 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13597 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13598 | |
| 13599 | |
| 13600 | <tr class="entry" id="dynamic_android.statistics.histogramMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13601 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13602 | android.<wbr/>statistics.<wbr/>histogram<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13603 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13604 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13605 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13606 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 13607 | <span class="entry_type_visibility"> [system as boolean]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13608 | |
| 13609 | <ul class="entry_type_enum"> |
| 13610 | <li> |
| 13611 | <span class="entry_type_enum_name">OFF</span> |
| 13612 | </li> |
| 13613 | <li> |
| 13614 | <span class="entry_type_enum_name">ON</span> |
| 13615 | </li> |
| 13616 | </ul> |
| 13617 | |
| 13618 | </td> <!-- entry_type --> |
| 13619 | |
| 13620 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13621 | <p>Operating mode for histogram |
| 13622 | generation</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13623 | </td> |
| 13624 | |
| 13625 | <td class="entry_units"> |
| 13626 | </td> |
| 13627 | |
| 13628 | <td class="entry_range"> |
| 13629 | </td> |
| 13630 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13631 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 13632 | <ul class="entry_tags"> |
| 13633 | <li><a href="#tag_V1">V1</a></li> |
| 13634 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13635 | </td> |
| 13636 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13637 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13638 | |
| 13639 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13640 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13641 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13642 | |
| 13643 | |
| 13644 | <tr class="entry" id="dynamic_android.statistics.sharpnessMap"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13645 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13646 | android.<wbr/>statistics.<wbr/>sharpness<wbr/>Map |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13647 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13648 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13649 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13650 | <span class="entry_type_container">x</span> |
| 13651 | |
| 13652 | <span class="entry_type_array"> |
| 13653 | n x m x 3 |
| 13654 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 13655 | <span class="entry_type_visibility"> [system]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13656 | <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> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13657 | |
| 13658 | |
| 13659 | </td> <!-- entry_type --> |
| 13660 | |
| 13661 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13662 | <p>A 3-channel sharpness map,<wbr/> based on the raw |
| 13663 | sensor data</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13664 | </td> |
| 13665 | |
| 13666 | <td class="entry_units"> |
| 13667 | </td> |
| 13668 | |
| 13669 | <td class="entry_range"> |
| 13670 | </td> |
| 13671 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13672 | <td class="entry_tags"> |
| 13673 | <ul class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 13674 | <li><a href="#tag_V1">V1</a></li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13675 | </ul> |
| 13676 | </td> |
| 13677 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13678 | </tr> |
| 13679 | <tr class="entries_header"> |
| 13680 | <th class="th_details" colspan="5">Details</th> |
| 13681 | </tr> |
| 13682 | <tr class="entry_cont"> |
| 13683 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13684 | <p>If only a monochrome sharpness map is supported,<wbr/> |
| 13685 | all channels should have the same data</p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13686 | </td> |
| 13687 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13688 | |
| 13689 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13690 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13691 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13692 | |
| 13693 | |
| 13694 | <tr class="entry" id="dynamic_android.statistics.sharpnessMapMode"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13695 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13696 | android.<wbr/>statistics.<wbr/>sharpness<wbr/>Map<wbr/>Mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13697 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13698 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 13699 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13700 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 13701 | <span class="entry_type_visibility"> [system as boolean]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13702 | |
| 13703 | <ul class="entry_type_enum"> |
| 13704 | <li> |
| 13705 | <span class="entry_type_enum_name">OFF</span> |
| 13706 | </li> |
| 13707 | <li> |
| 13708 | <span class="entry_type_enum_name">ON</span> |
| 13709 | </li> |
| 13710 | </ul> |
| 13711 | |
| 13712 | </td> <!-- entry_type --> |
| 13713 | |
| 13714 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13715 | <p>Operating mode for sharpness map |
| 13716 | generation</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13717 | </td> |
| 13718 | |
| 13719 | <td class="entry_units"> |
| 13720 | </td> |
| 13721 | |
| 13722 | <td class="entry_range"> |
| 13723 | </td> |
| 13724 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13725 | <td class="entry_tags"> |
Igor Murashkin | baacf9a | 2012-12-05 14:49:11 -0800 | [diff] [blame] | 13726 | <ul class="entry_tags"> |
| 13727 | <li><a href="#tag_V1">V1</a></li> |
| 13728 | </ul> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13729 | </td> |
| 13730 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13731 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13732 | |
| 13733 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13734 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13735 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13736 | |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13737 | |
| 13738 | <tr class="entry" id="dynamic_android.statistics.lensShadingMap"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13739 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13740 | android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13741 | </td> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13742 | <td class="entry_type"> |
| 13743 | <span class="entry_type_name">float</span> |
| 13744 | <span class="entry_type_container">x</span> |
| 13745 | |
| 13746 | <span class="entry_type_array"> |
| 13747 | 4 x n x m |
| 13748 | </span> |
| 13749 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13750 | <div class="entry_type_notes">2D array of float gain factors per channel to correct lens shading</div> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13751 | |
| 13752 | |
| 13753 | </td> <!-- entry_type --> |
| 13754 | |
| 13755 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13756 | <p>The shading map is a low-resolution floating-point map |
| 13757 | that lists the coefficients used to correct for vignetting,<wbr/> for each |
| 13758 | Bayer color channel.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13759 | </td> |
| 13760 | |
| 13761 | <td class="entry_units"> |
| 13762 | </td> |
| 13763 | |
| 13764 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13765 | <p>Each gain factor is >= 1</p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13766 | </td> |
| 13767 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13768 | <td class="entry_tags"> |
| 13769 | </td> |
| 13770 | |
| 13771 | </tr> |
| 13772 | <tr class="entries_header"> |
| 13773 | <th class="th_details" colspan="5">Details</th> |
| 13774 | </tr> |
| 13775 | <tr class="entry_cont"> |
| 13776 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13777 | <p>The least shaded section of the image should have a gain factor |
| 13778 | of 1; all other sections should have gains above 1.<wbr/></p> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13779 | <p>When <a href="#controls_android.colorCorrection.mode">android.<wbr/>color<wbr/>Correction.<wbr/>mode</a> = TRANSFORM_<wbr/>MATRIX,<wbr/> the map |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13780 | must take into account the colorCorrection settings.<wbr/></p> |
| 13781 | <p>The shading map is for the entire active pixel array,<wbr/> and is not |
| 13782 | affected by the crop region specified in the request.<wbr/> Each shading map |
Igor Murashkin | 1dd4ecb | 2013-12-11 13:31:00 -0800 | [diff] [blame] | 13783 | entry is the value of the shading compensation map over a specific |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13784 | pixel on the sensor.<wbr/> Specifically,<wbr/> with a (N x M) resolution shading |
| 13785 | map,<wbr/> and an active pixel array size (W x H),<wbr/> shading map entry |
| 13786 | (x,<wbr/>y) ϵ (0 ...<wbr/> N-1,<wbr/> 0 ...<wbr/> M-1) is the value of the shading map at |
| 13787 | pixel ( ((W-1)/<wbr/>(N-1)) * x,<wbr/> ((H-1)/<wbr/>(M-1)) * y) for the four color channels.<wbr/> |
| 13788 | The map is assumed to be bilinearly interpolated between the sample points.<wbr/></p> |
| 13789 | <p>The channel order is [R,<wbr/> Geven,<wbr/> Godd,<wbr/> B],<wbr/> where Geven is the green |
| 13790 | channel for the even rows of a Bayer pattern,<wbr/> and Godd is the odd rows.<wbr/> |
| 13791 | The shading map is stored in a fully interleaved format,<wbr/> and its size |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13792 | 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> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13793 | <p>The shading map should have on the order of 30-40 rows and columns,<wbr/> |
| 13794 | and must be smaller than 64x64.<wbr/></p> |
| 13795 | <p>As an example,<wbr/> given a very small map defined as:</p> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13796 | <pre><code><a href="#static_android.lens.info.shadingMapSize">android.<wbr/>lens.<wbr/>info.<wbr/>shading<wbr/>Map<wbr/>Size</a> = [ 4,<wbr/> 3 ] |
| 13797 | <a href="#dynamic_android.statistics.lensShadingMap">android.<wbr/>statistics.<wbr/>lens<wbr/>Shading<wbr/>Map</a> = |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13798 | [ 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/> |
| 13799 | 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/> |
| 13800 | 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/> |
| 13801 | 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/> |
| 13802 | 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/> |
| 13803 | 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 ] |
Igor Murashkin | 1dd4ecb | 2013-12-11 13:31:00 -0800 | [diff] [blame] | 13804 | </code></pre> |
| 13805 | <p>The low-resolution scaling map images for each channel are |
| 13806 | (displayed using nearest-neighbor interpolation):</p> |
| 13807 | <p><img alt="Red lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/red_shading.png"/> |
| 13808 | <img alt="Green (even rows) lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/green_e_shading.png"/> |
| 13809 | <img alt="Green (odd rows) lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/green_o_shading.png"/> |
| 13810 | <img alt="Blue lens shading map" src="images/camera2/metadata/android.statistics.lensShadingMap/blue_shading.png"/></p> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13811 | <p>As a visualization only,<wbr/> inverting the full-color map to recover an |
Igor Murashkin | 1dd4ecb | 2013-12-11 13:31:00 -0800 | [diff] [blame] | 13812 | image of a gray wall (using bicubic interpolation for visual quality) as captured by the sensor gives:</p> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13813 | <p><img alt="Image of a uniform white wall (inverse shading map)" src="images/camera2/metadata/android.statistics.lensShadingMap/inv_shading.png"/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13814 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13815 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13816 | |
| 13817 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13818 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13819 | <!-- end of entry --> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13820 | |
| 13821 | |
| 13822 | <tr class="entry" id="dynamic_android.statistics.predictedColorGains"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13823 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13824 | android.<wbr/>statistics.<wbr/>predicted<wbr/>Color<wbr/>Gains |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13825 | </td> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13826 | <td class="entry_type"> |
| 13827 | <span class="entry_type_name">float</span> |
| 13828 | <span class="entry_type_container">x</span> |
| 13829 | |
| 13830 | <span class="entry_type_array"> |
| 13831 | 4 |
| 13832 | </span> |
Igor Murashkin | 0fe2f13 | 2014-01-13 16:59:47 -0800 | [diff] [blame] | 13833 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13834 | <div class="entry_type_notes">A 1D array of floats for 4 color channel gains</div> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13835 | |
| 13836 | |
| 13837 | </td> <!-- entry_type --> |
| 13838 | |
| 13839 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13840 | <p>The best-fit color channel gains calculated |
| 13841 | by the HAL's statistics units for the current output frame</p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13842 | </td> |
| 13843 | |
| 13844 | <td class="entry_units"> |
| 13845 | </td> |
| 13846 | |
| 13847 | <td class="entry_range"> |
Igor Murashkin | 0fe2f13 | 2014-01-13 16:59:47 -0800 | [diff] [blame] | 13848 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13849 | </td> |
| 13850 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13851 | <td class="entry_tags"> |
| 13852 | </td> |
| 13853 | |
| 13854 | </tr> |
| 13855 | <tr class="entries_header"> |
| 13856 | <th class="th_details" colspan="5">Details</th> |
| 13857 | </tr> |
| 13858 | <tr class="entry_cont"> |
| 13859 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13860 | <p>This may be different than the gains used for this frame,<wbr/> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 13861 | since statistics processing on data from a new frame |
| 13862 | typically completes after the transform has already been |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13863 | applied to that frame.<wbr/></p> |
| 13864 | <p>The 4 channel gains are defined in Bayer domain,<wbr/> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 13865 | see <a href="#controls_android.colorCorrection.gains">android.<wbr/>color<wbr/>Correction.<wbr/>gains</a> for details.<wbr/></p> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13866 | <p>This value should always be calculated by the AWB block,<wbr/> |
| 13867 | regardless of the android.<wbr/>control.<wbr/>* current values.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13868 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13869 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13870 | |
| 13871 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13872 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13873 | <!-- end of entry --> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13874 | |
| 13875 | |
| 13876 | <tr class="entry" id="dynamic_android.statistics.predictedColorTransform"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13877 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13878 | android.<wbr/>statistics.<wbr/>predicted<wbr/>Color<wbr/>Transform |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13879 | </td> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13880 | <td class="entry_type"> |
| 13881 | <span class="entry_type_name">rational</span> |
| 13882 | <span class="entry_type_container">x</span> |
| 13883 | |
| 13884 | <span class="entry_type_array"> |
| 13885 | 3 x 3 |
| 13886 | </span> |
Igor Murashkin | 0fe2f13 | 2014-01-13 16:59:47 -0800 | [diff] [blame] | 13887 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13888 | <div class="entry_type_notes">3x3 rational matrix in row-major order</div> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13889 | |
| 13890 | |
| 13891 | </td> <!-- entry_type --> |
| 13892 | |
| 13893 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13894 | <p>The best-fit color transform matrix estimate |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 13895 | calculated by the HAL's statistics units for the current |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13896 | output frame</p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13897 | </td> |
| 13898 | |
| 13899 | <td class="entry_units"> |
| 13900 | </td> |
| 13901 | |
| 13902 | <td class="entry_range"> |
Igor Murashkin | 0fe2f13 | 2014-01-13 16:59:47 -0800 | [diff] [blame] | 13903 | <p><strong>Deprecated</strong>.<wbr/> Do not use.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13904 | </td> |
| 13905 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13906 | <td class="entry_tags"> |
| 13907 | </td> |
| 13908 | |
| 13909 | </tr> |
| 13910 | <tr class="entries_header"> |
| 13911 | <th class="th_details" colspan="5">Details</th> |
| 13912 | </tr> |
| 13913 | <tr class="entry_cont"> |
| 13914 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13915 | <p>The HAL must provide the estimate from its |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 13916 | statistics unit on the white balance transforms to use |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13917 | for the next frame.<wbr/> These are the values the HAL believes |
| 13918 | are the best fit for the current output frame.<wbr/> This may |
| 13919 | be different than the transform used for this frame,<wbr/> since |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 13920 | statistics processing on data from a new frame typically |
| 13921 | completes after the transform has already been applied to |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13922 | that frame.<wbr/></p> |
| 13923 | <p>These estimates must be provided for all frames,<wbr/> even if |
| 13924 | capture settings and color transforms are set by the application.<wbr/></p> |
| 13925 | <p>This value should always be calculated by the AWB block,<wbr/> |
| 13926 | regardless of the android.<wbr/>control.<wbr/>* current values.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13927 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13928 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13929 | |
| 13930 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13931 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13932 | <!-- end of entry --> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13933 | |
| 13934 | |
| 13935 | <tr class="entry" id="dynamic_android.statistics.sceneFlicker"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13936 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 13937 | android.<wbr/>statistics.<wbr/>scene<wbr/>Flicker |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13938 | </td> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13939 | <td class="entry_type"> |
| 13940 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 13941 | |
| 13942 | <span class="entry_type_visibility"> [public]</span> |
| 13943 | |
| 13944 | <ul class="entry_type_enum"> |
| 13945 | <li> |
| 13946 | <span class="entry_type_enum_name">NONE</span> |
| 13947 | </li> |
| 13948 | <li> |
| 13949 | <span class="entry_type_enum_name">50HZ</span> |
| 13950 | </li> |
| 13951 | <li> |
| 13952 | <span class="entry_type_enum_name">60HZ</span> |
| 13953 | </li> |
| 13954 | </ul> |
| 13955 | |
| 13956 | </td> <!-- entry_type --> |
| 13957 | |
| 13958 | <td class="entry_description"> |
Zhijun He | b8512c5 | 2014-02-03 11:46:58 -0800 | [diff] [blame] | 13959 | <p>The camera device estimated scene illumination lighting |
| 13960 | frequency.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13961 | </td> |
| 13962 | |
| 13963 | <td class="entry_units"> |
| 13964 | </td> |
| 13965 | |
| 13966 | <td class="entry_range"> |
| 13967 | </td> |
| 13968 | |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13969 | <td class="entry_tags"> |
| 13970 | </td> |
| 13971 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13972 | </tr> |
| 13973 | <tr class="entries_header"> |
| 13974 | <th class="th_details" colspan="5">Details</th> |
| 13975 | </tr> |
| 13976 | <tr class="entry_cont"> |
| 13977 | <td class="entry_details" colspan="5"> |
Zhijun He | b8512c5 | 2014-02-03 11:46:58 -0800 | [diff] [blame] | 13978 | <p>Many light sources,<wbr/> such as most fluorescent lights,<wbr/> flicker at a rate |
| 13979 | that depends on the local utility power standards.<wbr/> This flicker must be |
| 13980 | accounted for by auto-exposure routines to avoid artifacts in captured images.<wbr/> |
| 13981 | The camera device uses this entry to tell the application what the scene |
| 13982 | illuminant frequency is.<wbr/></p> |
| 13983 | <p>When manual exposure control is enabled |
| 13984 | (<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> == OFF</code>),<wbr/> |
| 13985 | the <a href="#controls_android.control.aeAntibandingMode">android.<wbr/>control.<wbr/>ae<wbr/>Antibanding<wbr/>Mode</a> doesn't do the antibanding,<wbr/> and the |
| 13986 | application can ensure it selects exposure times that do not cause banding |
| 13987 | issues by looking into this metadata field.<wbr/> See android.<wbr/>control.<wbr/>ae<wbr/>Antibanding<wbr/>Mode |
| 13988 | for more details.<wbr/></p> |
| 13989 | <p>Report NONE if there doesn't appear to be flickering illumination.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13990 | </td> |
| 13991 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 13992 | |
| 13993 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 13994 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 13995 | <!-- end of entry --> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 13996 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 13997 | |
| 13998 | |
| 13999 | <!-- end of kind --> |
| 14000 | </tbody> |
| 14001 | |
| 14002 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14003 | <tr><td colspan="6" id="section_tonemap" class="section">tonemap</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14004 | |
| 14005 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14006 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14007 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14008 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14009 | <tr> |
| 14010 | <th class="th_name">Property Name</th> |
| 14011 | <th class="th_type">Type</th> |
| 14012 | <th class="th_description">Description</th> |
| 14013 | <th class="th_units">Units</th> |
| 14014 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14015 | <th class="th_tags">Tags</th> |
| 14016 | </tr> |
| 14017 | </thead> |
| 14018 | |
| 14019 | <tbody> |
| 14020 | |
| 14021 | |
| 14022 | |
| 14023 | |
| 14024 | |
| 14025 | |
| 14026 | |
| 14027 | |
| 14028 | |
| 14029 | |
| 14030 | <tr class="entry" id="controls_android.tonemap.curveBlue"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14031 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14032 | android.<wbr/>tonemap.<wbr/>curve<wbr/>Blue |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14033 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14034 | <td class="entry_type"> |
Eino-Ville Talvala | 76548fe | 2013-01-11 13:57:19 -0800 | [diff] [blame] | 14035 | <span class="entry_type_name">float</span> |
Zhijun He | 704d128 | 2013-08-19 15:26:33 -0700 | [diff] [blame] | 14036 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14037 | |
Zhijun He | 704d128 | 2013-08-19 15:26:33 -0700 | [diff] [blame] | 14038 | <span class="entry_type_array"> |
| 14039 | n x 2 |
| 14040 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14041 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14042 | <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> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14043 | |
| 14044 | |
| 14045 | </td> <!-- entry_type --> |
| 14046 | |
| 14047 | <td class="entry_description"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14048 | <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the blue |
| 14049 | channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is |
| 14050 | CONTRAST_<wbr/>CURVE.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14051 | </td> |
| 14052 | |
| 14053 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14054 | same as android.<wbr/>tonemap.<wbr/>curve<wbr/>Red |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14055 | </td> |
| 14056 | |
| 14057 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 14058 | <p>same as <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14059 | </td> |
| 14060 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14061 | <td class="entry_tags"> |
| 14062 | </td> |
| 14063 | |
| 14064 | </tr> |
| 14065 | <tr class="entries_header"> |
| 14066 | <th class="th_details" colspan="5">Details</th> |
| 14067 | </tr> |
| 14068 | <tr class="entry_cont"> |
| 14069 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14070 | <p>See <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> for more details.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14071 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14072 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14073 | |
| 14074 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14075 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14076 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14077 | |
| 14078 | |
| 14079 | <tr class="entry" id="controls_android.tonemap.curveGreen"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14080 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14081 | android.<wbr/>tonemap.<wbr/>curve<wbr/>Green |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14082 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14083 | <td class="entry_type"> |
Eino-Ville Talvala | 76548fe | 2013-01-11 13:57:19 -0800 | [diff] [blame] | 14084 | <span class="entry_type_name">float</span> |
Zhijun He | 704d128 | 2013-08-19 15:26:33 -0700 | [diff] [blame] | 14085 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14086 | |
Zhijun He | 704d128 | 2013-08-19 15:26:33 -0700 | [diff] [blame] | 14087 | <span class="entry_type_array"> |
| 14088 | n x 2 |
| 14089 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14090 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14091 | <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> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14092 | |
| 14093 | |
| 14094 | </td> <!-- entry_type --> |
| 14095 | |
| 14096 | <td class="entry_description"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14097 | <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the green |
| 14098 | channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is |
| 14099 | CONTRAST_<wbr/>CURVE.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14100 | </td> |
| 14101 | |
| 14102 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14103 | same as android.<wbr/>tonemap.<wbr/>curve<wbr/>Red |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14104 | </td> |
| 14105 | |
| 14106 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 14107 | <p>same as <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14108 | </td> |
| 14109 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14110 | <td class="entry_tags"> |
| 14111 | </td> |
| 14112 | |
| 14113 | </tr> |
| 14114 | <tr class="entries_header"> |
| 14115 | <th class="th_details" colspan="5">Details</th> |
| 14116 | </tr> |
| 14117 | <tr class="entry_cont"> |
| 14118 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14119 | <p>See <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> for more details.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14120 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14121 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14122 | |
| 14123 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14124 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14125 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14126 | |
| 14127 | |
| 14128 | <tr class="entry" id="controls_android.tonemap.curveRed"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14129 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14130 | android.<wbr/>tonemap.<wbr/>curve<wbr/>Red |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14131 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14132 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 14133 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14134 | <span class="entry_type_container">x</span> |
| 14135 | |
| 14136 | <span class="entry_type_array"> |
| 14137 | n x 2 |
| 14138 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14139 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14140 | <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> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14141 | |
| 14142 | |
| 14143 | </td> <!-- entry_type --> |
| 14144 | |
| 14145 | <td class="entry_description"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14146 | <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the red |
| 14147 | channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is |
| 14148 | CONTRAST_<wbr/>CURVE.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14149 | </td> |
| 14150 | |
| 14151 | <td class="entry_units"> |
| 14152 | </td> |
| 14153 | |
| 14154 | <td class="entry_range"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14155 | <p>0-1 on both input and output coordinates,<wbr/> normalized |
| 14156 | as a floating-point value such that 0 == black and 1 == white.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14157 | </td> |
| 14158 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14159 | <td class="entry_tags"> |
| 14160 | <ul class="entry_tags"> |
| 14161 | <li><a href="#tag_DNG">DNG</a></li> |
| 14162 | </ul> |
| 14163 | </td> |
| 14164 | |
| 14165 | </tr> |
| 14166 | <tr class="entries_header"> |
| 14167 | <th class="th_details" colspan="5">Details</th> |
| 14168 | </tr> |
| 14169 | <tr class="entry_cont"> |
| 14170 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14171 | <p>Each channel's curve is defined by an array of control points:</p> |
| 14172 | <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = |
| 14173 | [ P0in,<wbr/> P0out,<wbr/> P1in,<wbr/> P1out,<wbr/> P2in,<wbr/> P2out,<wbr/> P3in,<wbr/> P3out,<wbr/> ...,<wbr/> PNin,<wbr/> PNout ] |
| 14174 | 2 <= N <= <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a></code></pre> |
| 14175 | <p>These are sorted in order of increasing <code>Pin</code>; it is always |
| 14176 | guaranteed that input values 0.<wbr/>0 and 1.<wbr/>0 are included in the list to |
| 14177 | define a complete mapping.<wbr/> For input values between control points,<wbr/> |
| 14178 | the camera device must linearly interpolate between the control |
| 14179 | points.<wbr/></p> |
| 14180 | <p>Each curve can have an independent number of points,<wbr/> and the number |
| 14181 | of points can be less than max (that is,<wbr/> the request doesn't have to |
| 14182 | always provide a curve with number of points equivalent to |
| 14183 | <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a>).<wbr/></p> |
| 14184 | <p>A few examples,<wbr/> and their corresponding graphical mappings; these |
| 14185 | only specify the red channel and the precision is limited to 4 |
| 14186 | digits,<wbr/> for conciseness.<wbr/></p> |
| 14187 | <p>Linear mapping:</p> |
| 14188 | <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 ] |
| 14189 | </code></pre> |
| 14190 | <p><img alt="Linear mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/linear_tonemap.png"/></p> |
| 14191 | <p>Invert mapping:</p> |
| 14192 | <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 ] |
| 14193 | </code></pre> |
| 14194 | <p><img alt="Inverting mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/inverse_tonemap.png"/></p> |
| 14195 | <p>Gamma 1/<wbr/>2.<wbr/>2 mapping,<wbr/> with 16 control points:</p> |
| 14196 | <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [ |
| 14197 | 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/> |
| 14198 | 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/> |
| 14199 | 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/> |
| 14200 | 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 ] |
| 14201 | </code></pre> |
| 14202 | <p><img alt="Gamma = 1/2.2 tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/gamma_tonemap.png"/></p> |
| 14203 | <p>Standard sRGB gamma mapping,<wbr/> per IEC 61966-2-1:1999,<wbr/> with 16 control points:</p> |
| 14204 | <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [ |
| 14205 | 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/> |
| 14206 | 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/> |
| 14207 | 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/> |
| 14208 | 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 ] |
| 14209 | </code></pre> |
| 14210 | <p><img alt="sRGB tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/srgb_tonemap.png"/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14211 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14212 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14213 | |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14214 | <tr class="entries_header"> |
| 14215 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 14216 | </tr> |
| 14217 | <tr class="entry_cont"> |
| 14218 | <td class="entry_details" colspan="5"> |
| 14219 | <p>For good quality of mapping,<wbr/> at least 128 control points are |
| 14220 | preferred.<wbr/></p> |
| 14221 | <p>A typical use case of this would be a gamma-1/<wbr/>2.<wbr/>2 curve,<wbr/> with as many |
| 14222 | control points used as are available.<wbr/></p> |
| 14223 | </td> |
| 14224 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14225 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14226 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14227 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14228 | |
| 14229 | |
| 14230 | <tr class="entry" id="controls_android.tonemap.mode"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14231 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14232 | android.<wbr/>tonemap.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14233 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14234 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 14235 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14236 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14237 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14238 | |
| 14239 | <ul class="entry_type_enum"> |
| 14240 | <li> |
| 14241 | <span class="entry_type_enum_name">CONTRAST_CURVE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 14242 | <span class="entry_type_enum_notes"><p>Use the tone mapping curve specified in |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14243 | android.<wbr/>tonemap.<wbr/>curve.<wbr/></p> |
| 14244 | <p>All color enhancement and tonemapping must be disabled,<wbr/> except |
| 14245 | for applying the tonemapping curve specified by |
| 14246 | <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a>,<wbr/> <a href="#controls_android.tonemap.curveBlue">android.<wbr/>tonemap.<wbr/>curve<wbr/>Blue</a>,<wbr/> or |
| 14247 | <a href="#controls_android.tonemap.curveGreen">android.<wbr/>tonemap.<wbr/>curve<wbr/>Green</a>.<wbr/></p> |
| 14248 | <p>Must not slow down frame rate relative to raw |
| 14249 | sensor output.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14250 | </li> |
| 14251 | <li> |
| 14252 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14253 | <span class="entry_type_enum_notes"><p>Advanced gamma mapping and color enhancement may be applied.<wbr/></p> |
| 14254 | <p>Should not slow down frame rate relative to raw sensor output.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14255 | </li> |
| 14256 | <li> |
| 14257 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14258 | <span class="entry_type_enum_notes"><p>Advanced gamma mapping and color enhancement may be applied.<wbr/></p> |
| 14259 | <p>May slow down frame rate relative to raw sensor output.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14260 | </li> |
| 14261 | </ul> |
| 14262 | |
| 14263 | </td> <!-- entry_type --> |
| 14264 | |
| 14265 | <td class="entry_description"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14266 | <p>High-level global contrast/<wbr/>gamma/<wbr/>tonemapping control.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14267 | </td> |
| 14268 | |
| 14269 | <td class="entry_units"> |
| 14270 | </td> |
| 14271 | |
| 14272 | <td class="entry_range"> |
| 14273 | </td> |
| 14274 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14275 | <td class="entry_tags"> |
| 14276 | </td> |
| 14277 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14278 | </tr> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14279 | <tr class="entries_header"> |
| 14280 | <th class="th_details" colspan="5">Details</th> |
| 14281 | </tr> |
| 14282 | <tr class="entry_cont"> |
| 14283 | <td class="entry_details" colspan="5"> |
| 14284 | <p>When switching to an application-defined contrast curve by setting |
| 14285 | <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> to CONTRAST_<wbr/>CURVE,<wbr/> the curve is defined |
| 14286 | per-channel with a set of <code>(in,<wbr/> out)</code> points that specify the |
| 14287 | mapping from input high-bit-depth pixel value to the output |
| 14288 | low-bit-depth value.<wbr/> Since the actual pixel ranges of both input |
| 14289 | and output may change depending on the camera pipeline,<wbr/> the values |
| 14290 | are specified by normalized floating-point numbers.<wbr/></p> |
| 14291 | <p>More-complex color mapping operations such as 3D color look-up |
| 14292 | tables,<wbr/> selective chroma enhancement,<wbr/> or other non-linear color |
| 14293 | transforms will be disabled when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is |
| 14294 | CONTRAST_<wbr/>CURVE.<wbr/></p> |
| 14295 | <p>When using either FAST or HIGH_<wbr/>QUALITY,<wbr/> the camera device will |
| 14296 | emit its own tonemap curve in <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a>,<wbr/> |
| 14297 | <a href="#controls_android.tonemap.curveGreen">android.<wbr/>tonemap.<wbr/>curve<wbr/>Green</a>,<wbr/> and <a href="#controls_android.tonemap.curveBlue">android.<wbr/>tonemap.<wbr/>curve<wbr/>Blue</a>.<wbr/> |
| 14298 | These values are always available,<wbr/> and as close as possible to the |
| 14299 | actually used nonlinear/<wbr/>nonglobal transforms.<wbr/></p> |
| 14300 | <p>If a request is sent with TRANSFORM_<wbr/>MATRIX with the camera device's |
| 14301 | provided curve in FAST or HIGH_<wbr/>QUALITY,<wbr/> the image's tonemap will be |
| 14302 | roughly the same.<wbr/></p> |
| 14303 | </td> |
| 14304 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14305 | |
| 14306 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14307 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14308 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14309 | |
| 14310 | |
| 14311 | |
| 14312 | <!-- end of kind --> |
| 14313 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14314 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14315 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14316 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14317 | <tr> |
| 14318 | <th class="th_name">Property Name</th> |
| 14319 | <th class="th_type">Type</th> |
| 14320 | <th class="th_description">Description</th> |
| 14321 | <th class="th_units">Units</th> |
| 14322 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14323 | <th class="th_tags">Tags</th> |
| 14324 | </tr> |
| 14325 | </thead> |
| 14326 | |
| 14327 | <tbody> |
| 14328 | |
| 14329 | |
| 14330 | |
| 14331 | |
| 14332 | |
| 14333 | |
| 14334 | |
| 14335 | |
| 14336 | |
| 14337 | |
| 14338 | <tr class="entry" id="static_android.tonemap.maxCurvePoints"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14339 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14340 | android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14341 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14342 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 14343 | <span class="entry_type_name">int32</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14344 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14345 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14346 | |
| 14347 | |
| 14348 | </td> <!-- entry_type --> |
| 14349 | |
| 14350 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14351 | <p>Maximum number of supported points in the |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14352 | tonemap curve that can be used for <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a>,<wbr/> or |
| 14353 | <a href="#controls_android.tonemap.curveGreen">android.<wbr/>tonemap.<wbr/>curve<wbr/>Green</a>,<wbr/> or <a href="#controls_android.tonemap.curveBlue">android.<wbr/>tonemap.<wbr/>curve<wbr/>Blue</a>.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14354 | </td> |
| 14355 | |
| 14356 | <td class="entry_units"> |
| 14357 | </td> |
| 14358 | |
| 14359 | <td class="entry_range"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14360 | <p>>= 64</p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14361 | </td> |
| 14362 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14363 | <td class="entry_tags"> |
| 14364 | </td> |
| 14365 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14366 | </tr> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14367 | <tr class="entries_header"> |
| 14368 | <th class="th_details" colspan="5">Details</th> |
| 14369 | </tr> |
| 14370 | <tr class="entry_cont"> |
| 14371 | <td class="entry_details" colspan="5"> |
| 14372 | <p>If the actual number of points provided by the application (in |
| 14373 | android.<wbr/>tonemap.<wbr/>curve*) is less than max,<wbr/> the camera device will |
| 14374 | resample the curve to its internal representation,<wbr/> using linear |
| 14375 | interpolation.<wbr/></p> |
| 14376 | <p>The output curves in the result metadata may have a different number |
| 14377 | of points than the input curves,<wbr/> and will represent the actual |
| 14378 | hardware curves used as closely as possible when linearly interpolated.<wbr/></p> |
| 14379 | </td> |
| 14380 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14381 | |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14382 | <tr class="entries_header"> |
| 14383 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 14384 | </tr> |
| 14385 | <tr class="entry_cont"> |
| 14386 | <td class="entry_details" colspan="5"> |
| 14387 | <p>This value must be at least 64.<wbr/> This should be at least 128.<wbr/></p> |
| 14388 | </td> |
| 14389 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14390 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14391 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14392 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14393 | |
| 14394 | |
| 14395 | |
| 14396 | <!-- end of kind --> |
| 14397 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14398 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14399 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14400 | <thead class="entries_header"> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14401 | <tr> |
| 14402 | <th class="th_name">Property Name</th> |
| 14403 | <th class="th_type">Type</th> |
| 14404 | <th class="th_description">Description</th> |
| 14405 | <th class="th_units">Units</th> |
| 14406 | <th class="th_range">Range</th> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14407 | <th class="th_tags">Tags</th> |
| 14408 | </tr> |
| 14409 | </thead> |
| 14410 | |
| 14411 | <tbody> |
| 14412 | |
| 14413 | |
| 14414 | |
| 14415 | |
| 14416 | |
| 14417 | |
| 14418 | |
| 14419 | |
| 14420 | |
| 14421 | |
| 14422 | <tr class="entry" id="dynamic_android.tonemap.curveBlue"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14423 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14424 | android.<wbr/>tonemap.<wbr/>curve<wbr/>Blue |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14425 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14426 | <td class="entry_type"> |
Eino-Ville Talvala | 76548fe | 2013-01-11 13:57:19 -0800 | [diff] [blame] | 14427 | <span class="entry_type_name">float</span> |
Zhijun He | 704d128 | 2013-08-19 15:26:33 -0700 | [diff] [blame] | 14428 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14429 | |
Zhijun He | 704d128 | 2013-08-19 15:26:33 -0700 | [diff] [blame] | 14430 | <span class="entry_type_array"> |
| 14431 | n x 2 |
| 14432 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14433 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14434 | <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> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14435 | |
| 14436 | |
| 14437 | </td> <!-- entry_type --> |
| 14438 | |
| 14439 | <td class="entry_description"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14440 | <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the blue |
| 14441 | channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is |
| 14442 | CONTRAST_<wbr/>CURVE.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14443 | </td> |
| 14444 | |
| 14445 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14446 | same as android.<wbr/>tonemap.<wbr/>curve<wbr/>Red |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14447 | </td> |
| 14448 | |
| 14449 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 14450 | <p>same as <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14451 | </td> |
| 14452 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14453 | <td class="entry_tags"> |
| 14454 | </td> |
| 14455 | |
| 14456 | </tr> |
| 14457 | <tr class="entries_header"> |
| 14458 | <th class="th_details" colspan="5">Details</th> |
| 14459 | </tr> |
| 14460 | <tr class="entry_cont"> |
| 14461 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14462 | <p>See <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> for more details.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14463 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14464 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14465 | |
| 14466 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14467 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14468 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14469 | |
| 14470 | |
| 14471 | <tr class="entry" id="dynamic_android.tonemap.curveGreen"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14472 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14473 | android.<wbr/>tonemap.<wbr/>curve<wbr/>Green |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14474 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14475 | <td class="entry_type"> |
Eino-Ville Talvala | 76548fe | 2013-01-11 13:57:19 -0800 | [diff] [blame] | 14476 | <span class="entry_type_name">float</span> |
Zhijun He | 704d128 | 2013-08-19 15:26:33 -0700 | [diff] [blame] | 14477 | <span class="entry_type_container">x</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14478 | |
Zhijun He | 704d128 | 2013-08-19 15:26:33 -0700 | [diff] [blame] | 14479 | <span class="entry_type_array"> |
| 14480 | n x 2 |
| 14481 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14482 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14483 | <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> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14484 | |
| 14485 | |
| 14486 | </td> <!-- entry_type --> |
| 14487 | |
| 14488 | <td class="entry_description"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14489 | <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the green |
| 14490 | channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is |
| 14491 | CONTRAST_<wbr/>CURVE.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14492 | </td> |
| 14493 | |
| 14494 | <td class="entry_units"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14495 | same as android.<wbr/>tonemap.<wbr/>curve<wbr/>Red |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14496 | </td> |
| 14497 | |
| 14498 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 14499 | <p>same as <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14500 | </td> |
| 14501 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14502 | <td class="entry_tags"> |
| 14503 | </td> |
| 14504 | |
| 14505 | </tr> |
| 14506 | <tr class="entries_header"> |
| 14507 | <th class="th_details" colspan="5">Details</th> |
| 14508 | </tr> |
| 14509 | <tr class="entry_cont"> |
| 14510 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14511 | <p>See <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> for more details.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14512 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14513 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14514 | |
| 14515 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14516 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14517 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14518 | |
| 14519 | |
| 14520 | <tr class="entry" id="dynamic_android.tonemap.curveRed"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14521 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14522 | android.<wbr/>tonemap.<wbr/>curve<wbr/>Red |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14523 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14524 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 14525 | <span class="entry_type_name">float</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14526 | <span class="entry_type_container">x</span> |
| 14527 | |
| 14528 | <span class="entry_type_array"> |
| 14529 | n x 2 |
| 14530 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14531 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14532 | <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> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14533 | |
| 14534 | |
| 14535 | </td> <!-- entry_type --> |
| 14536 | |
| 14537 | <td class="entry_description"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14538 | <p>Tonemapping /<wbr/> contrast /<wbr/> gamma curve for the red |
| 14539 | channel,<wbr/> to use when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is |
| 14540 | CONTRAST_<wbr/>CURVE.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14541 | </td> |
| 14542 | |
| 14543 | <td class="entry_units"> |
| 14544 | </td> |
| 14545 | |
| 14546 | <td class="entry_range"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14547 | <p>0-1 on both input and output coordinates,<wbr/> normalized |
| 14548 | as a floating-point value such that 0 == black and 1 == white.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14549 | </td> |
| 14550 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14551 | <td class="entry_tags"> |
| 14552 | <ul class="entry_tags"> |
| 14553 | <li><a href="#tag_DNG">DNG</a></li> |
| 14554 | </ul> |
| 14555 | </td> |
| 14556 | |
| 14557 | </tr> |
| 14558 | <tr class="entries_header"> |
| 14559 | <th class="th_details" colspan="5">Details</th> |
| 14560 | </tr> |
| 14561 | <tr class="entry_cont"> |
| 14562 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14563 | <p>Each channel's curve is defined by an array of control points:</p> |
| 14564 | <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = |
| 14565 | [ P0in,<wbr/> P0out,<wbr/> P1in,<wbr/> P1out,<wbr/> P2in,<wbr/> P2out,<wbr/> P3in,<wbr/> P3out,<wbr/> ...,<wbr/> PNin,<wbr/> PNout ] |
| 14566 | 2 <= N <= <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a></code></pre> |
| 14567 | <p>These are sorted in order of increasing <code>Pin</code>; it is always |
| 14568 | guaranteed that input values 0.<wbr/>0 and 1.<wbr/>0 are included in the list to |
| 14569 | define a complete mapping.<wbr/> For input values between control points,<wbr/> |
| 14570 | the camera device must linearly interpolate between the control |
| 14571 | points.<wbr/></p> |
| 14572 | <p>Each curve can have an independent number of points,<wbr/> and the number |
| 14573 | of points can be less than max (that is,<wbr/> the request doesn't have to |
| 14574 | always provide a curve with number of points equivalent to |
| 14575 | <a href="#static_android.tonemap.maxCurvePoints">android.<wbr/>tonemap.<wbr/>max<wbr/>Curve<wbr/>Points</a>).<wbr/></p> |
| 14576 | <p>A few examples,<wbr/> and their corresponding graphical mappings; these |
| 14577 | only specify the red channel and the precision is limited to 4 |
| 14578 | digits,<wbr/> for conciseness.<wbr/></p> |
| 14579 | <p>Linear mapping:</p> |
| 14580 | <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 ] |
| 14581 | </code></pre> |
| 14582 | <p><img alt="Linear mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/linear_tonemap.png"/></p> |
| 14583 | <p>Invert mapping:</p> |
| 14584 | <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 ] |
| 14585 | </code></pre> |
| 14586 | <p><img alt="Inverting mapping curve" src="images/camera2/metadata/android.tonemap.curveRed/inverse_tonemap.png"/></p> |
| 14587 | <p>Gamma 1/<wbr/>2.<wbr/>2 mapping,<wbr/> with 16 control points:</p> |
| 14588 | <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [ |
| 14589 | 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/> |
| 14590 | 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/> |
| 14591 | 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/> |
| 14592 | 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 ] |
| 14593 | </code></pre> |
| 14594 | <p><img alt="Gamma = 1/2.2 tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/gamma_tonemap.png"/></p> |
| 14595 | <p>Standard sRGB gamma mapping,<wbr/> per IEC 61966-2-1:1999,<wbr/> with 16 control points:</p> |
| 14596 | <pre><code><a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a> = [ |
| 14597 | 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/> |
| 14598 | 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/> |
| 14599 | 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/> |
| 14600 | 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 ] |
| 14601 | </code></pre> |
| 14602 | <p><img alt="sRGB tonemapping curve" src="images/camera2/metadata/android.tonemap.curveRed/srgb_tonemap.png"/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14603 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14604 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14605 | |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14606 | <tr class="entries_header"> |
| 14607 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 14608 | </tr> |
| 14609 | <tr class="entry_cont"> |
| 14610 | <td class="entry_details" colspan="5"> |
| 14611 | <p>For good quality of mapping,<wbr/> at least 128 control points are |
| 14612 | preferred.<wbr/></p> |
| 14613 | <p>A typical use case of this would be a gamma-1/<wbr/>2.<wbr/>2 curve,<wbr/> with as many |
| 14614 | control points used as are available.<wbr/></p> |
| 14615 | </td> |
| 14616 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14617 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14618 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14619 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14620 | |
| 14621 | |
| 14622 | <tr class="entry" id="dynamic_android.tonemap.mode"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14623 | <td class="entry_name" rowspan="3"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14624 | android.<wbr/>tonemap.<wbr/>mode |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14625 | </td> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14626 | <td class="entry_type"> |
Igor Murashkin | b556bc4 | 2012-12-04 16:07:21 -0800 | [diff] [blame] | 14627 | <span class="entry_type_name entry_type_name_enum">byte</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14628 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14629 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14630 | |
| 14631 | <ul class="entry_type_enum"> |
| 14632 | <li> |
| 14633 | <span class="entry_type_enum_name">CONTRAST_CURVE</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 14634 | <span class="entry_type_enum_notes"><p>Use the tone mapping curve specified in |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14635 | android.<wbr/>tonemap.<wbr/>curve.<wbr/></p> |
| 14636 | <p>All color enhancement and tonemapping must be disabled,<wbr/> except |
| 14637 | for applying the tonemapping curve specified by |
| 14638 | <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a>,<wbr/> <a href="#controls_android.tonemap.curveBlue">android.<wbr/>tonemap.<wbr/>curve<wbr/>Blue</a>,<wbr/> or |
| 14639 | <a href="#controls_android.tonemap.curveGreen">android.<wbr/>tonemap.<wbr/>curve<wbr/>Green</a>.<wbr/></p> |
| 14640 | <p>Must not slow down frame rate relative to raw |
| 14641 | sensor output.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14642 | </li> |
| 14643 | <li> |
| 14644 | <span class="entry_type_enum_name">FAST</span> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14645 | <span class="entry_type_enum_notes"><p>Advanced gamma mapping and color enhancement may be applied.<wbr/></p> |
| 14646 | <p>Should not slow down frame rate relative to raw sensor output.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14647 | </li> |
| 14648 | <li> |
| 14649 | <span class="entry_type_enum_name">HIGH_QUALITY</span> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14650 | <span class="entry_type_enum_notes"><p>Advanced gamma mapping and color enhancement may be applied.<wbr/></p> |
| 14651 | <p>May slow down frame rate relative to raw sensor output.<wbr/></p></span> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14652 | </li> |
| 14653 | </ul> |
| 14654 | |
| 14655 | </td> <!-- entry_type --> |
| 14656 | |
| 14657 | <td class="entry_description"> |
Igor Murashkin | 94e06c4 | 2014-01-13 16:51:17 -0800 | [diff] [blame] | 14658 | <p>High-level global contrast/<wbr/>gamma/<wbr/>tonemapping control.<wbr/></p> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14659 | </td> |
| 14660 | |
| 14661 | <td class="entry_units"> |
| 14662 | </td> |
| 14663 | |
| 14664 | <td class="entry_range"> |
| 14665 | </td> |
| 14666 | |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14667 | <td class="entry_tags"> |
| 14668 | </td> |
| 14669 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14670 | </tr> |
Igor Murashkin | 595f45b | 2014-01-17 17:27:15 -0800 | [diff] [blame] | 14671 | <tr class="entries_header"> |
| 14672 | <th class="th_details" colspan="5">Details</th> |
| 14673 | </tr> |
| 14674 | <tr class="entry_cont"> |
| 14675 | <td class="entry_details" colspan="5"> |
| 14676 | <p>When switching to an application-defined contrast curve by setting |
| 14677 | <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> to CONTRAST_<wbr/>CURVE,<wbr/> the curve is defined |
| 14678 | per-channel with a set of <code>(in,<wbr/> out)</code> points that specify the |
| 14679 | mapping from input high-bit-depth pixel value to the output |
| 14680 | low-bit-depth value.<wbr/> Since the actual pixel ranges of both input |
| 14681 | and output may change depending on the camera pipeline,<wbr/> the values |
| 14682 | are specified by normalized floating-point numbers.<wbr/></p> |
| 14683 | <p>More-complex color mapping operations such as 3D color look-up |
| 14684 | tables,<wbr/> selective chroma enhancement,<wbr/> or other non-linear color |
| 14685 | transforms will be disabled when <a href="#controls_android.tonemap.mode">android.<wbr/>tonemap.<wbr/>mode</a> is |
| 14686 | CONTRAST_<wbr/>CURVE.<wbr/></p> |
| 14687 | <p>When using either FAST or HIGH_<wbr/>QUALITY,<wbr/> the camera device will |
| 14688 | emit its own tonemap curve in <a href="#controls_android.tonemap.curveRed">android.<wbr/>tonemap.<wbr/>curve<wbr/>Red</a>,<wbr/> |
| 14689 | <a href="#controls_android.tonemap.curveGreen">android.<wbr/>tonemap.<wbr/>curve<wbr/>Green</a>,<wbr/> and <a href="#controls_android.tonemap.curveBlue">android.<wbr/>tonemap.<wbr/>curve<wbr/>Blue</a>.<wbr/> |
| 14690 | These values are always available,<wbr/> and as close as possible to the |
| 14691 | actually used nonlinear/<wbr/>nonglobal transforms.<wbr/></p> |
| 14692 | <p>If a request is sent with TRANSFORM_<wbr/>MATRIX with the camera device's |
| 14693 | provided curve in FAST or HIGH_<wbr/>QUALITY,<wbr/> the image's tonemap will be |
| 14694 | roughly the same.<wbr/></p> |
| 14695 | </td> |
| 14696 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14697 | |
| 14698 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14699 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14700 | <!-- end of entry --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 14701 | |
| 14702 | |
| 14703 | |
| 14704 | <!-- end of kind --> |
| 14705 | </tbody> |
| 14706 | |
| 14707 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14708 | <tr><td colspan="6" id="section_led" class="section">led</td></tr> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14709 | |
| 14710 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14711 | <tr><td colspan="6" class="kind">controls</td></tr> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14712 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14713 | <thead class="entries_header"> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14714 | <tr> |
| 14715 | <th class="th_name">Property Name</th> |
| 14716 | <th class="th_type">Type</th> |
| 14717 | <th class="th_description">Description</th> |
| 14718 | <th class="th_units">Units</th> |
| 14719 | <th class="th_range">Range</th> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14720 | <th class="th_tags">Tags</th> |
| 14721 | </tr> |
| 14722 | </thead> |
| 14723 | |
| 14724 | <tbody> |
| 14725 | |
| 14726 | |
| 14727 | |
| 14728 | |
| 14729 | |
| 14730 | |
| 14731 | |
| 14732 | |
| 14733 | |
| 14734 | |
| 14735 | <tr class="entry" id="controls_android.led.transmit"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14736 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14737 | android.<wbr/>led.<wbr/>transmit |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14738 | </td> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14739 | <td class="entry_type"> |
| 14740 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 14741 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 14742 | <span class="entry_type_visibility"> [hidden as boolean]</span> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14743 | |
| 14744 | <ul class="entry_type_enum"> |
| 14745 | <li> |
| 14746 | <span class="entry_type_enum_name">OFF</span> |
| 14747 | </li> |
| 14748 | <li> |
| 14749 | <span class="entry_type_enum_name">ON</span> |
| 14750 | </li> |
| 14751 | </ul> |
| 14752 | |
| 14753 | </td> <!-- entry_type --> |
| 14754 | |
| 14755 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14756 | <p>This LED is nominally used to indicate to the user |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 14757 | that the camera is powered on and may be streaming images back to the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14758 | Application Processor.<wbr/> In certain rare circumstances,<wbr/> the OS may |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 14759 | disable this when video is processed locally and not transmitted to |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14760 | any untrusted applications.<wbr/></p> |
| 14761 | <p>In particular,<wbr/> the LED <em>must</em> always be on when the data could be |
| 14762 | transmitted off the device.<wbr/> The LED <em>should</em> always be on whenever |
| 14763 | data is stored locally on the device.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 14764 | <p>The LED <em>may</em> be off if a trusted application is using the data that |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14765 | doesn't violate the above rules.<wbr/></p> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14766 | </td> |
| 14767 | |
| 14768 | <td class="entry_units"> |
| 14769 | </td> |
| 14770 | |
| 14771 | <td class="entry_range"> |
| 14772 | </td> |
| 14773 | |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14774 | <td class="entry_tags"> |
| 14775 | </td> |
| 14776 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14777 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14778 | |
| 14779 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14780 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14781 | <!-- end of entry --> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14782 | |
| 14783 | |
| 14784 | |
| 14785 | <!-- end of kind --> |
| 14786 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14787 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14788 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14789 | <thead class="entries_header"> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14790 | <tr> |
| 14791 | <th class="th_name">Property Name</th> |
| 14792 | <th class="th_type">Type</th> |
| 14793 | <th class="th_description">Description</th> |
| 14794 | <th class="th_units">Units</th> |
| 14795 | <th class="th_range">Range</th> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14796 | <th class="th_tags">Tags</th> |
| 14797 | </tr> |
| 14798 | </thead> |
| 14799 | |
| 14800 | <tbody> |
| 14801 | |
| 14802 | |
| 14803 | |
| 14804 | |
| 14805 | |
| 14806 | |
| 14807 | |
| 14808 | |
| 14809 | |
| 14810 | |
| 14811 | <tr class="entry" id="dynamic_android.led.transmit"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14812 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14813 | android.<wbr/>led.<wbr/>transmit |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14814 | </td> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14815 | <td class="entry_type"> |
| 14816 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 14817 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 14818 | <span class="entry_type_visibility"> [hidden as boolean]</span> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14819 | |
| 14820 | <ul class="entry_type_enum"> |
| 14821 | <li> |
| 14822 | <span class="entry_type_enum_name">OFF</span> |
| 14823 | </li> |
| 14824 | <li> |
| 14825 | <span class="entry_type_enum_name">ON</span> |
| 14826 | </li> |
| 14827 | </ul> |
| 14828 | |
| 14829 | </td> <!-- entry_type --> |
| 14830 | |
| 14831 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14832 | <p>This LED is nominally used to indicate to the user |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 14833 | that the camera is powered on and may be streaming images back to the |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14834 | Application Processor.<wbr/> In certain rare circumstances,<wbr/> the OS may |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 14835 | disable this when video is processed locally and not transmitted to |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14836 | any untrusted applications.<wbr/></p> |
| 14837 | <p>In particular,<wbr/> the LED <em>must</em> always be on when the data could be |
| 14838 | transmitted off the device.<wbr/> The LED <em>should</em> always be on whenever |
| 14839 | data is stored locally on the device.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 14840 | <p>The LED <em>may</em> be off if a trusted application is using the data that |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14841 | doesn't violate the above rules.<wbr/></p> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14842 | </td> |
| 14843 | |
| 14844 | <td class="entry_units"> |
| 14845 | </td> |
| 14846 | |
| 14847 | <td class="entry_range"> |
| 14848 | </td> |
| 14849 | |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14850 | <td class="entry_tags"> |
| 14851 | </td> |
| 14852 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14853 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14854 | |
| 14855 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14856 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14857 | <!-- end of entry --> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14858 | |
| 14859 | |
| 14860 | |
| 14861 | <!-- end of kind --> |
| 14862 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14863 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14864 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14865 | <thead class="entries_header"> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14866 | <tr> |
| 14867 | <th class="th_name">Property Name</th> |
| 14868 | <th class="th_type">Type</th> |
| 14869 | <th class="th_description">Description</th> |
| 14870 | <th class="th_units">Units</th> |
| 14871 | <th class="th_range">Range</th> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14872 | <th class="th_tags">Tags</th> |
| 14873 | </tr> |
| 14874 | </thead> |
| 14875 | |
| 14876 | <tbody> |
| 14877 | |
| 14878 | |
| 14879 | |
| 14880 | |
| 14881 | |
| 14882 | |
| 14883 | |
| 14884 | |
| 14885 | |
| 14886 | |
| 14887 | <tr class="entry" id="static_android.led.availableLeds"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14888 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14889 | android.<wbr/>led.<wbr/>available<wbr/>Leds |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14890 | </td> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14891 | <td class="entry_type"> |
| 14892 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 14893 | <span class="entry_type_container">x</span> |
| 14894 | |
| 14895 | <span class="entry_type_array"> |
| 14896 | n |
| 14897 | </span> |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14898 | <span class="entry_type_visibility"> [hidden]</span> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14899 | |
| 14900 | <ul class="entry_type_enum"> |
| 14901 | <li> |
| 14902 | <span class="entry_type_enum_name">TRANSMIT</span> |
Igor Murashkin | a10351a | 2014-01-15 17:05:22 -0800 | [diff] [blame] | 14903 | <span class="entry_type_enum_notes"><p><a href="#controls_android.led.transmit">android.<wbr/>led.<wbr/>transmit</a> control is used</p></span> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14904 | </li> |
| 14905 | </ul> |
| 14906 | |
| 14907 | </td> <!-- entry_type --> |
| 14908 | |
| 14909 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14910 | <p>A list of camera LEDs that are available on this system.<wbr/></p> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14911 | </td> |
| 14912 | |
| 14913 | <td class="entry_units"> |
| 14914 | </td> |
| 14915 | |
| 14916 | <td class="entry_range"> |
| 14917 | </td> |
| 14918 | |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14919 | <td class="entry_tags"> |
| 14920 | </td> |
| 14921 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14922 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14923 | |
| 14924 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14925 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 14926 | <!-- end of entry --> |
Igor Murashkin | c469f7d | 2013-04-23 14:31:02 -0700 | [diff] [blame] | 14927 | |
| 14928 | |
| 14929 | |
| 14930 | <!-- end of kind --> |
| 14931 | </tbody> |
| 14932 | |
| 14933 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14934 | <tr><td colspan="6" id="section_info" class="section">info</td></tr> |
Igor Murashkin | 38b8cae | 2013-05-23 16:38:59 -0700 | [diff] [blame] | 14935 | |
| 14936 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 14937 | <tr><td colspan="6" class="kind">static</td></tr> |
Igor Murashkin | 38b8cae | 2013-05-23 16:38:59 -0700 | [diff] [blame] | 14938 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14939 | <thead class="entries_header"> |
Igor Murashkin | 38b8cae | 2013-05-23 16:38:59 -0700 | [diff] [blame] | 14940 | <tr> |
| 14941 | <th class="th_name">Property Name</th> |
| 14942 | <th class="th_type">Type</th> |
| 14943 | <th class="th_description">Description</th> |
| 14944 | <th class="th_units">Units</th> |
| 14945 | <th class="th_range">Range</th> |
Igor Murashkin | 38b8cae | 2013-05-23 16:38:59 -0700 | [diff] [blame] | 14946 | <th class="th_tags">Tags</th> |
| 14947 | </tr> |
| 14948 | </thead> |
| 14949 | |
| 14950 | <tbody> |
| 14951 | |
| 14952 | |
| 14953 | |
| 14954 | |
| 14955 | |
| 14956 | |
| 14957 | |
| 14958 | |
| 14959 | |
| 14960 | |
| 14961 | <tr class="entry" id="static_android.info.supportedHardwareLevel"> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14962 | <td class="entry_name" rowspan="1"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14963 | android.<wbr/>info.<wbr/>supported<wbr/>Hardware<wbr/>Level |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 14964 | </td> |
Igor Murashkin | 38b8cae | 2013-05-23 16:38:59 -0700 | [diff] [blame] | 14965 | <td class="entry_type"> |
| 14966 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 14967 | |
Eino-Ville Talvala | fcef4c2 | 2013-07-16 16:18:44 -0700 | [diff] [blame] | 14968 | <span class="entry_type_visibility"> [public]</span> |
Igor Murashkin | 38b8cae | 2013-05-23 16:38:59 -0700 | [diff] [blame] | 14969 | |
| 14970 | <ul class="entry_type_enum"> |
| 14971 | <li> |
| 14972 | <span class="entry_type_enum_name">LIMITED</span> |
| 14973 | </li> |
| 14974 | <li> |
| 14975 | <span class="entry_type_enum_name">FULL</span> |
| 14976 | </li> |
| 14977 | </ul> |
| 14978 | |
| 14979 | </td> <!-- entry_type --> |
| 14980 | |
| 14981 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14982 | <p>The camera 3 HAL device can implement one of two possible |
| 14983 | operational modes; limited and full.<wbr/> Full support is |
| 14984 | expected from new higher-end devices.<wbr/> Limited mode has |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 14985 | hardware requirements roughly in line with those for a |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 14986 | camera HAL device v1 implementation,<wbr/> and is expected from |
| 14987 | older or inexpensive devices.<wbr/> Full is a strict superset of |
| 14988 | limited,<wbr/> and they share the same essential operational flow.<wbr/></p> |
| 14989 | <p>For full details refer to "S3.<wbr/> Operational Modes" in camera3.<wbr/>h</p> |
Igor Murashkin | 38b8cae | 2013-05-23 16:38:59 -0700 | [diff] [blame] | 14990 | </td> |
| 14991 | |
| 14992 | <td class="entry_units"> |
| 14993 | </td> |
| 14994 | |
| 14995 | <td class="entry_range"> |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 14996 | <p>Optional.<wbr/> Default value is LIMITED.<wbr/></p> |
Igor Murashkin | 38b8cae | 2013-05-23 16:38:59 -0700 | [diff] [blame] | 14997 | </td> |
| 14998 | |
Igor Murashkin | 38b8cae | 2013-05-23 16:38:59 -0700 | [diff] [blame] | 14999 | <td class="entry_tags"> |
| 15000 | </td> |
| 15001 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15002 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 15003 | |
| 15004 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15005 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 15006 | <!-- end of entry --> |
Igor Murashkin | 38b8cae | 2013-05-23 16:38:59 -0700 | [diff] [blame] | 15007 | |
| 15008 | |
| 15009 | |
| 15010 | <!-- end of kind --> |
| 15011 | </tbody> |
| 15012 | |
| 15013 | <!-- end of section --> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15014 | <tr><td colspan="6" id="section_blackLevel" class="section">blackLevel</td></tr> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15015 | |
| 15016 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15017 | <tr><td colspan="6" class="kind">controls</td></tr> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15018 | |
| 15019 | <thead class="entries_header"> |
| 15020 | <tr> |
| 15021 | <th class="th_name">Property Name</th> |
| 15022 | <th class="th_type">Type</th> |
| 15023 | <th class="th_description">Description</th> |
| 15024 | <th class="th_units">Units</th> |
| 15025 | <th class="th_range">Range</th> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15026 | <th class="th_tags">Tags</th> |
| 15027 | </tr> |
| 15028 | </thead> |
| 15029 | |
| 15030 | <tbody> |
| 15031 | |
| 15032 | |
| 15033 | |
| 15034 | |
| 15035 | |
| 15036 | |
| 15037 | |
| 15038 | |
| 15039 | |
| 15040 | |
| 15041 | <tr class="entry" id="controls_android.blackLevel.lock"> |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15042 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15043 | android.<wbr/>black<wbr/>Level.<wbr/>lock |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 15044 | </td> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15045 | <td class="entry_type"> |
| 15046 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 15047 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 15048 | <span class="entry_type_visibility"> [public as boolean]</span> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15049 | |
| 15050 | <ul class="entry_type_enum"> |
| 15051 | <li> |
| 15052 | <span class="entry_type_enum_name">OFF</span> |
| 15053 | </li> |
| 15054 | <li> |
| 15055 | <span class="entry_type_enum_name">ON</span> |
| 15056 | </li> |
| 15057 | </ul> |
| 15058 | |
| 15059 | </td> <!-- entry_type --> |
| 15060 | |
| 15061 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15062 | <p>Whether black-level compensation is locked |
| 15063 | to its current values,<wbr/> or is free to vary.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15064 | </td> |
| 15065 | |
| 15066 | <td class="entry_units"> |
| 15067 | </td> |
| 15068 | |
| 15069 | <td class="entry_range"> |
| 15070 | </td> |
| 15071 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15072 | <td class="entry_tags"> |
| 15073 | <ul class="entry_tags"> |
| 15074 | <li><a href="#tag_HAL2">HAL2</a></li> |
| 15075 | </ul> |
| 15076 | </td> |
| 15077 | |
| 15078 | </tr> |
| 15079 | <tr class="entries_header"> |
| 15080 | <th class="th_details" colspan="5">Details</th> |
| 15081 | </tr> |
| 15082 | <tr class="entry_cont"> |
| 15083 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15084 | <p>When set to ON,<wbr/> the values used for black-level |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15085 | compensation will not change until the lock is set to |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15086 | OFF.<wbr/></p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 15087 | <p>Since changes to certain capture parameters (such as |
| 15088 | exposure time) may require resetting of black level |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15089 | compensation,<wbr/> the camera device must report whether setting |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15090 | the black level lock was successful in the output result |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15091 | metadata.<wbr/></p> |
| 15092 | <p>For example,<wbr/> if a sequence of requests is as follows:</p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 15093 | <ul> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15094 | <li>Request 1: Exposure = 10ms,<wbr/> Black level lock = OFF</li> |
| 15095 | <li>Request 2: Exposure = 10ms,<wbr/> Black level lock = ON</li> |
| 15096 | <li>Request 3: Exposure = 10ms,<wbr/> Black level lock = ON</li> |
| 15097 | <li>Request 4: Exposure = 20ms,<wbr/> Black level lock = ON</li> |
| 15098 | <li>Request 5: Exposure = 20ms,<wbr/> Black level lock = ON</li> |
| 15099 | <li>Request 6: Exposure = 20ms,<wbr/> Black level lock = ON</li> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 15100 | </ul> |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15101 | <p>And the exposure change in Request 4 requires the camera |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15102 | device to reset the black level offsets,<wbr/> then the output |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15103 | result metadata is expected to be:</p> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 15104 | <ul> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15105 | <li>Result 1: Exposure = 10ms,<wbr/> Black level lock = OFF</li> |
| 15106 | <li>Result 2: Exposure = 10ms,<wbr/> Black level lock = ON</li> |
| 15107 | <li>Result 3: Exposure = 10ms,<wbr/> Black level lock = ON</li> |
| 15108 | <li>Result 4: Exposure = 20ms,<wbr/> Black level lock = OFF</li> |
| 15109 | <li>Result 5: Exposure = 20ms,<wbr/> Black level lock = ON</li> |
| 15110 | <li>Result 6: Exposure = 20ms,<wbr/> Black level lock = ON</li> |
Igor Murashkin | 8aa2a11 | 2013-12-09 12:06:17 -0800 | [diff] [blame] | 15111 | </ul> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15112 | <p>This indicates to the application that on frame 4,<wbr/> black |
| 15113 | levels were reset due to exposure value changes,<wbr/> and pixel |
| 15114 | values may not be consistent across captures.<wbr/></p> |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15115 | <p>The camera device will maintain the lock to the extent |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15116 | possible,<wbr/> only overriding the lock to OFF when changes to |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15117 | other request parameters require a black level recalculation |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15118 | or reset.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15119 | </td> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15120 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 15121 | |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15122 | <tr class="entries_header"> |
| 15123 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 15124 | </tr> |
| 15125 | <tr class="entry_cont"> |
| 15126 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15127 | <p>If for some reason black level locking is no longer possible |
| 15128 | (for example,<wbr/> the analog gain has changed,<wbr/> which forces |
| 15129 | black level offsets to be recalculated),<wbr/> then the HAL must |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15130 | override this request (and it must report 'OFF' when this |
| 15131 | does happen) until the next capture for which locking is |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15132 | possible again.<wbr/></p> |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15133 | </td> |
| 15134 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 15135 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15136 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 15137 | <!-- end of entry --> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15138 | |
| 15139 | |
| 15140 | |
| 15141 | <!-- end of kind --> |
| 15142 | </tbody> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15143 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15144 | |
| 15145 | <thead class="entries_header"> |
| 15146 | <tr> |
| 15147 | <th class="th_name">Property Name</th> |
| 15148 | <th class="th_type">Type</th> |
| 15149 | <th class="th_description">Description</th> |
| 15150 | <th class="th_units">Units</th> |
| 15151 | <th class="th_range">Range</th> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15152 | <th class="th_tags">Tags</th> |
| 15153 | </tr> |
| 15154 | </thead> |
| 15155 | |
| 15156 | <tbody> |
| 15157 | |
| 15158 | |
| 15159 | |
| 15160 | |
| 15161 | |
| 15162 | |
| 15163 | |
| 15164 | |
| 15165 | |
| 15166 | |
| 15167 | <tr class="entry" id="dynamic_android.blackLevel.lock"> |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15168 | <td class="entry_name" rowspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15169 | android.<wbr/>black<wbr/>Level.<wbr/>lock |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 15170 | </td> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15171 | <td class="entry_type"> |
| 15172 | <span class="entry_type_name entry_type_name_enum">byte</span> |
| 15173 | |
Igor Murashkin | b8dc881 | 2013-07-17 16:29:34 -0700 | [diff] [blame] | 15174 | <span class="entry_type_visibility"> [public as boolean]</span> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15175 | |
| 15176 | <ul class="entry_type_enum"> |
| 15177 | <li> |
| 15178 | <span class="entry_type_enum_name">OFF</span> |
| 15179 | </li> |
| 15180 | <li> |
| 15181 | <span class="entry_type_enum_name">ON</span> |
| 15182 | </li> |
| 15183 | </ul> |
| 15184 | |
| 15185 | </td> <!-- entry_type --> |
| 15186 | |
| 15187 | <td class="entry_description"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15188 | <p>Whether black-level compensation is locked |
| 15189 | to its current values,<wbr/> or is free to vary.<wbr/></p> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15190 | </td> |
| 15191 | |
| 15192 | <td class="entry_units"> |
| 15193 | </td> |
| 15194 | |
| 15195 | <td class="entry_range"> |
| 15196 | </td> |
| 15197 | |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15198 | <td class="entry_tags"> |
| 15199 | <ul class="entry_tags"> |
| 15200 | <li><a href="#tag_HAL2">HAL2</a></li> |
| 15201 | </ul> |
| 15202 | </td> |
| 15203 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15204 | </tr> |
| 15205 | <tr class="entries_header"> |
| 15206 | <th class="th_details" colspan="5">Details</th> |
| 15207 | </tr> |
| 15208 | <tr class="entry_cont"> |
| 15209 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15210 | <p>Whether the black level offset was locked for this frame.<wbr/> Should be |
Eino-Ville Talvala | 63c0fb2 | 2014-01-02 16:11:44 -0800 | [diff] [blame] | 15211 | ON if <a href="#controls_android.blackLevel.lock">android.<wbr/>black<wbr/>Level.<wbr/>lock</a> was ON in the capture request,<wbr/> unless |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15212 | a change in other capture settings forced the camera device to |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15213 | perform a black level reset.<wbr/></p> |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15214 | </td> |
| 15215 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 15216 | |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15217 | <tr class="entries_header"> |
| 15218 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 15219 | </tr> |
| 15220 | <tr class="entry_cont"> |
| 15221 | <td class="entry_details" colspan="5"> |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15222 | <p>If for some reason black level locking is no longer possible |
| 15223 | (for example,<wbr/> the analog gain has changed,<wbr/> which forces |
| 15224 | black level offsets to be recalculated),<wbr/> then the HAL must |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15225 | override this request (and it must report 'OFF' when this |
| 15226 | does happen) until the next capture for which locking is |
Igor Murashkin | 0b08045 | 2013-12-27 15:30:25 -0800 | [diff] [blame] | 15227 | possible again.<wbr/></p> |
Eino-Ville Talvala | 7796cfe | 2013-12-26 13:16:54 -0800 | [diff] [blame] | 15228 | </td> |
| 15229 | </tr> |
Eino-Ville Talvala | a5b73c2 | 2013-12-27 13:50:19 -0800 | [diff] [blame] | 15230 | |
Eino-Ville Talvala | 8eb7005 | 2013-12-26 12:06:13 -0800 | [diff] [blame] | 15231 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 15232 | <!-- end of entry --> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15233 | |
| 15234 | |
| 15235 | |
| 15236 | <!-- end of kind --> |
| 15237 | </tbody> |
| 15238 | |
| 15239 | <!-- end of section --> |
Igor Murashkin | 5c1fc68 | 2014-01-16 17:51:36 -0800 | [diff] [blame] | 15240 | <tr><td colspan="6" id="section_sync" class="section">sync</td></tr> |
| 15241 | |
| 15242 | |
| 15243 | <tr><td colspan="6" class="kind">dynamic</td></tr> |
| 15244 | |
| 15245 | <thead class="entries_header"> |
| 15246 | <tr> |
| 15247 | <th class="th_name">Property Name</th> |
| 15248 | <th class="th_type">Type</th> |
| 15249 | <th class="th_description">Description</th> |
| 15250 | <th class="th_units">Units</th> |
| 15251 | <th class="th_range">Range</th> |
| 15252 | <th class="th_tags">Tags</th> |
| 15253 | </tr> |
| 15254 | </thead> |
| 15255 | |
| 15256 | <tbody> |
| 15257 | |
| 15258 | |
| 15259 | |
| 15260 | |
| 15261 | |
| 15262 | |
| 15263 | |
| 15264 | |
| 15265 | |
| 15266 | |
| 15267 | <tr class="entry" id="dynamic_android.sync.frameNumber"> |
| 15268 | <td class="entry_name" rowspan="5"> |
| 15269 | android.<wbr/>sync.<wbr/>frame<wbr/>Number |
| 15270 | </td> |
| 15271 | <td class="entry_type"> |
| 15272 | <span class="entry_type_name entry_type_name_enum">int64</span> |
| 15273 | |
| 15274 | <span class="entry_type_visibility"> [hidden]</span> |
| 15275 | |
| 15276 | <ul class="entry_type_enum"> |
| 15277 | <li> |
| 15278 | <span class="entry_type_enum_name">CONVERGING</span> |
| 15279 | <span class="entry_type_enum_value">-1</span> |
| 15280 | <span class="entry_type_enum_notes"><p>The current result is not yet fully synchronized to any request.<wbr/> |
| 15281 | Synchronization is in progress,<wbr/> and reading metadata from this |
| 15282 | result may include a mix of data that have taken effect since the |
| 15283 | last synchronization time.<wbr/></p> |
| 15284 | <p>In some future result,<wbr/> within <a href="#static_android.sync.maxLatency">android.<wbr/>sync.<wbr/>max<wbr/>Latency</a> frames,<wbr/> |
| 15285 | this value will update to the actual frame number frame number |
| 15286 | the result is guaranteed to be synchronized to (as long as the |
| 15287 | request settings remain constant).<wbr/></p></span> |
| 15288 | </li> |
| 15289 | <li> |
| 15290 | <span class="entry_type_enum_name">UNKNOWN</span> |
| 15291 | <span class="entry_type_enum_value">-2</span> |
| 15292 | <span class="entry_type_enum_notes"><p>The current result's synchronization status is unknown.<wbr/> The |
| 15293 | result may have already converged,<wbr/> or it may be in progress.<wbr/> |
| 15294 | Reading from this result may include some mix of settings from |
| 15295 | past requests.<wbr/></p> |
| 15296 | <p>After a settings change,<wbr/> the new settings will eventually all |
| 15297 | take effect for the output buffers and results.<wbr/> However,<wbr/> this |
| 15298 | value will not change when that happens.<wbr/> Altering settings |
| 15299 | rapidly may provide outcomes using mixes of settings from recent |
| 15300 | requests.<wbr/></p> |
| 15301 | <p>This value is intended primarily for backwards compatibility with |
| 15302 | the older camera implementations (for android.<wbr/>hardware.<wbr/>Camera).<wbr/></p></span> |
| 15303 | </li> |
| 15304 | </ul> |
| 15305 | |
| 15306 | </td> <!-- entry_type --> |
| 15307 | |
| 15308 | <td class="entry_description"> |
| 15309 | <p>The frame number corresponding to the last request |
| 15310 | with which the output result (metadata + buffers) has been fully |
| 15311 | synchronized.<wbr/></p> |
| 15312 | </td> |
| 15313 | |
| 15314 | <td class="entry_units"> |
| 15315 | </td> |
| 15316 | |
| 15317 | <td class="entry_range"> |
| 15318 | <p>Either a non-negative value corresponding to a |
| 15319 | <code>frame_<wbr/>number</code>,<wbr/> or one of the two enums (CONVERGING /<wbr/> UNKNOWN).<wbr/></p> |
| 15320 | </td> |
| 15321 | |
| 15322 | <td class="entry_tags"> |
| 15323 | <ul class="entry_tags"> |
| 15324 | <li><a href="#tag_LIMITED">LIMITED</a></li> |
| 15325 | </ul> |
| 15326 | </td> |
| 15327 | |
| 15328 | </tr> |
| 15329 | <tr class="entries_header"> |
| 15330 | <th class="th_details" colspan="5">Details</th> |
| 15331 | </tr> |
| 15332 | <tr class="entry_cont"> |
| 15333 | <td class="entry_details" colspan="5"> |
| 15334 | <p>When a request is submitted to the camera device,<wbr/> there is usually a |
| 15335 | delay of several frames before the controls get applied.<wbr/> A camera |
| 15336 | device may either choose to account for this delay by implementing a |
| 15337 | pipeline and carefully submit well-timed atomic control updates,<wbr/> or |
| 15338 | it may start streaming control changes that span over several frame |
| 15339 | boundaries.<wbr/></p> |
| 15340 | <p>In the latter case,<wbr/> whenever a request's settings change relative to |
| 15341 | the previous submitted request,<wbr/> the full set of changes may take |
| 15342 | multiple frame durations to fully take effect.<wbr/> Some settings may |
| 15343 | take effect sooner (in less frame durations) than others.<wbr/></p> |
| 15344 | <p>While a set of control changes are being propagated,<wbr/> this value |
| 15345 | will be CONVERGING.<wbr/></p> |
| 15346 | <p>Once it is fully known that a set of control changes have been |
| 15347 | finished propagating,<wbr/> and the resulting updated control settings |
| 15348 | have been read back by the camera device,<wbr/> this value will be set |
| 15349 | to a non-negative frame number (corresponding to the request to |
| 15350 | which the results have synchronized to).<wbr/></p> |
| 15351 | <p>Older camera device implementations may not have a way to detect |
| 15352 | when all camera controls have been applied,<wbr/> and will always set this |
| 15353 | value to UNKNOWN.<wbr/></p> |
| 15354 | <p>FULL capability devices will always have this value set to the |
| 15355 | frame number of the request corresponding to this result.<wbr/></p> |
| 15356 | <p><em>Further details</em>:</p> |
| 15357 | <ul> |
| 15358 | <li>Whenever a request differs from the last request,<wbr/> any future |
| 15359 | results not yet returned may have this value set to CONVERGING (this |
| 15360 | could include any in-progress captures not yet returned by the camera |
| 15361 | device,<wbr/> for more details see pipeline considerations below).<wbr/></li> |
| 15362 | <li>Submitting a series of multiple requests that differ from the |
| 15363 | previous request (e.<wbr/>g.<wbr/> r1,<wbr/> r2,<wbr/> r3 s.<wbr/>t.<wbr/> r1 != r2 != r3) |
| 15364 | moves the new synchronization frame to the last non-repeating |
| 15365 | request (using the smallest frame number from the contiguous list of |
| 15366 | repeating requests).<wbr/></li> |
| 15367 | <li>Submitting the same request repeatedly will not change this value |
| 15368 | to CONVERGING,<wbr/> if it was already a non-negative value.<wbr/></li> |
| 15369 | <li>When this value changes to non-negative,<wbr/> that means that all of the |
| 15370 | metadata controls from the request have been applied,<wbr/> all of the |
| 15371 | metadata controls from the camera device have been read to the |
| 15372 | updated values (into the result),<wbr/> and all of the graphics buffers |
| 15373 | corresponding to this result are also synchronized to the request.<wbr/></li> |
| 15374 | </ul> |
| 15375 | <p><em>Pipeline considerations</em>:</p> |
| 15376 | <p>Submitting a request with updated controls relative to the previously |
| 15377 | submitted requests may also invalidate the synchronization state |
| 15378 | of all the results corresponding to currently in-flight requests.<wbr/></p> |
| 15379 | <p>In other words,<wbr/> results for this current request and up to |
| 15380 | <a href="#static_android.request.pipelineMaxDepth">android.<wbr/>request.<wbr/>pipeline<wbr/>Max<wbr/>Depth</a> prior requests may have their |
| 15381 | <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> change to CONVERGING.<wbr/></p> |
| 15382 | </td> |
| 15383 | </tr> |
| 15384 | |
| 15385 | <tr class="entries_header"> |
| 15386 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 15387 | </tr> |
| 15388 | <tr class="entry_cont"> |
| 15389 | <td class="entry_details" colspan="5"> |
| 15390 | <p>Using UNKNOWN here is illegal unless android.<wbr/>sync.<wbr/>max<wbr/>Latency |
| 15391 | is also UNKNOWN.<wbr/></p> |
| 15392 | <p>FULL capability devices should simply set this value to the |
| 15393 | <code>frame_<wbr/>number</code> of the request this result corresponds to.<wbr/></p> |
| 15394 | </td> |
| 15395 | </tr> |
| 15396 | |
| 15397 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 15398 | <!-- end of entry --> |
| 15399 | |
| 15400 | |
| 15401 | |
| 15402 | <!-- end of kind --> |
| 15403 | </tbody> |
| 15404 | <tr><td colspan="6" class="kind">static</td></tr> |
| 15405 | |
| 15406 | <thead class="entries_header"> |
| 15407 | <tr> |
| 15408 | <th class="th_name">Property Name</th> |
| 15409 | <th class="th_type">Type</th> |
| 15410 | <th class="th_description">Description</th> |
| 15411 | <th class="th_units">Units</th> |
| 15412 | <th class="th_range">Range</th> |
| 15413 | <th class="th_tags">Tags</th> |
| 15414 | </tr> |
| 15415 | </thead> |
| 15416 | |
| 15417 | <tbody> |
| 15418 | |
| 15419 | |
| 15420 | |
| 15421 | |
| 15422 | |
| 15423 | |
| 15424 | |
| 15425 | |
| 15426 | |
| 15427 | |
| 15428 | <tr class="entry" id="static_android.sync.maxLatency"> |
| 15429 | <td class="entry_name" rowspan="5"> |
| 15430 | android.<wbr/>sync.<wbr/>max<wbr/>Latency |
| 15431 | </td> |
| 15432 | <td class="entry_type"> |
| 15433 | <span class="entry_type_name entry_type_name_enum">int32</span> |
| 15434 | |
| 15435 | <span class="entry_type_visibility"> [public]</span> |
| 15436 | |
| 15437 | <ul class="entry_type_enum"> |
| 15438 | <li> |
| 15439 | <span class="entry_type_enum_name">PER_FRAME_CONTROL</span> |
| 15440 | <span class="entry_type_enum_value">0</span> |
| 15441 | <span class="entry_type_enum_notes"><p>Every frame has the requests immediately applied.<wbr/> |
| 15442 | (and furthermore for all results,<wbr/> |
| 15443 | <code><a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == <a href="#controls_android.request.frameCount">android.<wbr/>request.<wbr/>frame<wbr/>Count</a></code>)</p> |
| 15444 | <p>Changing controls over multiple requests one after another will |
| 15445 | produce results that have those controls applied atomically |
| 15446 | each frame.<wbr/></p> |
| 15447 | <p>All FULL capability devices will have this as their maxLatency.<wbr/></p></span> |
| 15448 | </li> |
| 15449 | <li> |
| 15450 | <span class="entry_type_enum_name">UNKNOWN</span> |
| 15451 | <span class="entry_type_enum_value">-1</span> |
| 15452 | <span class="entry_type_enum_notes"><p>Each new frame has some subset (potentially the entire set) |
| 15453 | of the past requests applied to the camera settings.<wbr/></p> |
| 15454 | <p>By submitting a series of identical requests,<wbr/> the camera device |
| 15455 | will eventually have the camera settings applied,<wbr/> but it is |
| 15456 | unknown when that exact point will be.<wbr/></p></span> |
| 15457 | </li> |
| 15458 | </ul> |
| 15459 | |
| 15460 | </td> <!-- entry_type --> |
| 15461 | |
| 15462 | <td class="entry_description"> |
| 15463 | <p>The maximum number of frames that can occur after a request |
| 15464 | (different than the previous) has been submitted,<wbr/> and before the |
| 15465 | result's state becomes synchronized (by setting |
| 15466 | <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> to a non-negative value).<wbr/></p> |
| 15467 | </td> |
| 15468 | |
| 15469 | <td class="entry_units"> |
| 15470 | number of processed requests |
| 15471 | </td> |
| 15472 | |
| 15473 | <td class="entry_range"> |
| 15474 | <p>>= -1</p> |
| 15475 | </td> |
| 15476 | |
| 15477 | <td class="entry_tags"> |
| 15478 | <ul class="entry_tags"> |
| 15479 | <li><a href="#tag_LIMITED">LIMITED</a></li> |
| 15480 | </ul> |
| 15481 | </td> |
| 15482 | |
| 15483 | </tr> |
| 15484 | <tr class="entries_header"> |
| 15485 | <th class="th_details" colspan="5">Details</th> |
| 15486 | </tr> |
| 15487 | <tr class="entry_cont"> |
| 15488 | <td class="entry_details" colspan="5"> |
| 15489 | <p>This defines the maximum distance (in number of metadata results),<wbr/> |
| 15490 | between <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> and the equivalent |
| 15491 | <a href="#controls_android.request.frameCount">android.<wbr/>request.<wbr/>frame<wbr/>Count</a>.<wbr/></p> |
| 15492 | <p>In other words this acts as an upper boundary for how many frames |
| 15493 | must occur before the camera device knows for a fact that the new |
| 15494 | submitted camera settings have been applied in outgoing frames.<wbr/></p> |
| 15495 | <p>For example if the distance was 2,<wbr/></p> |
| 15496 | <pre><code>initial request = X (repeating) |
| 15497 | request1 = X |
| 15498 | request2 = Y |
| 15499 | request3 = Y |
| 15500 | request4 = Y |
| 15501 | |
| 15502 | where requestN has frameNumber N,<wbr/> and the first of the repeating |
| 15503 | initial request's has frameNumber F (and F < 1).<wbr/> |
| 15504 | |
| 15505 | initial result = X' + { <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == F } |
| 15506 | result1 = X' + { <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == F } |
| 15507 | result2 = X' + { <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == CONVERGING } |
| 15508 | result3 = X' + { <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == CONVERGING } |
| 15509 | result4 = X' + { <a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == 2 } |
| 15510 | |
| 15511 | where resultN has frameNumber N.<wbr/> |
| 15512 | </code></pre> |
| 15513 | <p>Since <code>result4</code> has a <code>frameNumber == 4</code> and |
| 15514 | <code><a href="#dynamic_android.sync.frameNumber">android.<wbr/>sync.<wbr/>frame<wbr/>Number</a> == 2</code>,<wbr/> the distance is clearly |
| 15515 | <code>4 - 2 = 2</code>.<wbr/></p> |
| 15516 | </td> |
| 15517 | </tr> |
| 15518 | |
| 15519 | <tr class="entries_header"> |
| 15520 | <th class="th_details" colspan="5">HAL Implementation Details</th> |
| 15521 | </tr> |
| 15522 | <tr class="entry_cont"> |
| 15523 | <td class="entry_details" colspan="5"> |
| 15524 | <p>Use <code>frame_<wbr/>count</code> from camera3_<wbr/>request_<wbr/>t instead of |
| 15525 | <a href="#controls_android.request.frameCount">android.<wbr/>request.<wbr/>frame<wbr/>Count</a>.<wbr/></p> |
| 15526 | <p>LIMITED devices are strongly encouraged to use a non-negative |
| 15527 | value.<wbr/> If UNKNOWN is used here then app developers do not have a way |
| 15528 | to know when sensor settings have been applied.<wbr/></p> |
| 15529 | </td> |
| 15530 | </tr> |
| 15531 | |
| 15532 | <tr class="entry_spacer"><td class="entry_spacer" colspan="6"></td></tr> |
| 15533 | <!-- end of entry --> |
| 15534 | |
| 15535 | |
| 15536 | |
| 15537 | <!-- end of kind --> |
| 15538 | </tbody> |
| 15539 | |
| 15540 | <!-- end of section --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15541 | <!-- </namespace> --> |
| 15542 | </table> |
| 15543 | |
| 15544 | <div class="tags" id="tag_index"> |
| 15545 | <h2>Tags</h2> |
| 15546 | <ul> |
| 15547 | <li id="tag_AWB">AWB - |
| 15548 | Needed for auto white balance |
| 15549 | |
| 15550 | <ul class="tags_entries"> |
| 15551 | <li><a href="#controls_android.control.awbMode">android.control.awbMode</a> (controls)</li> |
| 15552 | </ul> |
| 15553 | </li> <!-- tag_AWB --> |
| 15554 | <li id="tag_BC">BC - |
| 15555 | Needed for backwards compatibility with old Java API |
| 15556 | |
| 15557 | <ul class="tags_entries"> |
Eino-Ville Talvala | 19ce2c1 | 2013-12-30 12:03:45 -0800 | [diff] [blame] | 15558 | <li><a href="#controls_android.control.aeAntibandingMode">android.control.aeAntibandingMode</a> (controls)</li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15559 | <li><a href="#controls_android.control.aeExposureCompensation">android.control.aeExposureCompensation</a> (controls)</li> |
| 15560 | <li><a href="#controls_android.control.aeLock">android.control.aeLock</a> (controls)</li> |
| 15561 | <li><a href="#controls_android.control.aeMode">android.control.aeMode</a> (controls)</li> |
| 15562 | <li><a href="#controls_android.control.aeRegions">android.control.aeRegions</a> (controls)</li> |
| 15563 | <li><a href="#controls_android.control.aeTargetFpsRange">android.control.aeTargetFpsRange</a> (controls)</li> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 15564 | <li><a href="#controls_android.control.aePrecaptureTrigger">android.control.aePrecaptureTrigger</a> (controls)</li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15565 | <li><a href="#controls_android.control.afMode">android.control.afMode</a> (controls)</li> |
| 15566 | <li><a href="#controls_android.control.afRegions">android.control.afRegions</a> (controls)</li> |
Eino-Ville Talvala | 3b4383a | 2013-03-18 09:42:48 -0700 | [diff] [blame] | 15567 | <li><a href="#controls_android.control.afTrigger">android.control.afTrigger</a> (controls)</li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15568 | <li><a href="#controls_android.control.awbLock">android.control.awbLock</a> (controls)</li> |
| 15569 | <li><a href="#controls_android.control.awbMode">android.control.awbMode</a> (controls)</li> |
| 15570 | <li><a href="#controls_android.control.awbRegions">android.control.awbRegions</a> (controls)</li> |
| 15571 | <li><a href="#controls_android.control.captureIntent">android.control.captureIntent</a> (controls)</li> |
| 15572 | <li><a href="#controls_android.control.effectMode">android.control.effectMode</a> (controls)</li> |
| 15573 | <li><a href="#controls_android.control.mode">android.control.mode</a> (controls)</li> |
| 15574 | <li><a href="#controls_android.control.sceneMode">android.control.sceneMode</a> (controls)</li> |
| 15575 | <li><a href="#controls_android.control.videoStabilizationMode">android.control.videoStabilizationMode</a> (controls)</li> |
Eino-Ville Talvala | 9fa0d90 | 2014-01-08 16:16:53 -0800 | [diff] [blame] | 15576 | <li><a href="#static_android.control.aeAvailableModes">android.control.aeAvailableModes</a> (static)</li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15577 | <li><a href="#static_android.control.aeCompensationRange">android.control.aeCompensationRange</a> (static)</li> |
| 15578 | <li><a href="#static_android.control.aeCompensationStep">android.control.aeCompensationStep</a> (static)</li> |
| 15579 | <li><a href="#static_android.control.afAvailableModes">android.control.afAvailableModes</a> (static)</li> |
| 15580 | <li><a href="#static_android.control.availableEffects">android.control.availableEffects</a> (static)</li> |
| 15581 | <li><a href="#static_android.control.availableSceneModes">android.control.availableSceneModes</a> (static)</li> |
| 15582 | <li><a href="#static_android.control.availableVideoStabilizationModes">android.control.availableVideoStabilizationModes</a> (static)</li> |
| 15583 | <li><a href="#static_android.control.awbAvailableModes">android.control.awbAvailableModes</a> (static)</li> |
| 15584 | <li><a href="#static_android.control.maxRegions">android.control.maxRegions</a> (static)</li> |
| 15585 | <li><a href="#static_android.control.sceneModeOverrides">android.control.sceneModeOverrides</a> (static)</li> |
| 15586 | <li><a href="#controls_android.flash.mode">android.flash.mode</a> (controls)</li> |
| 15587 | <li><a href="#static_android.flash.info.available">android.flash.info.available</a> (static)</li> |
| 15588 | <li><a href="#controls_android.jpeg.gpsCoordinates">android.jpeg.gpsCoordinates</a> (controls)</li> |
| 15589 | <li><a href="#controls_android.jpeg.gpsProcessingMethod">android.jpeg.gpsProcessingMethod</a> (controls)</li> |
| 15590 | <li><a href="#controls_android.jpeg.gpsTimestamp">android.jpeg.gpsTimestamp</a> (controls)</li> |
| 15591 | <li><a href="#controls_android.jpeg.orientation">android.jpeg.orientation</a> (controls)</li> |
| 15592 | <li><a href="#controls_android.jpeg.quality">android.jpeg.quality</a> (controls)</li> |
| 15593 | <li><a href="#controls_android.jpeg.thumbnailQuality">android.jpeg.thumbnailQuality</a> (controls)</li> |
| 15594 | <li><a href="#controls_android.jpeg.thumbnailSize">android.jpeg.thumbnailSize</a> (controls)</li> |
| 15595 | <li><a href="#static_android.jpeg.availableThumbnailSizes">android.jpeg.availableThumbnailSizes</a> (static)</li> |
| 15596 | <li><a href="#controls_android.lens.focusDistance">android.lens.focusDistance</a> (controls)</li> |
| 15597 | <li><a href="#static_android.lens.info.availableFocalLengths">android.lens.info.availableFocalLengths</a> (static)</li> |
| 15598 | <li><a href="#static_android.lens.info.hyperfocalDistance">android.lens.info.hyperfocalDistance</a> (static)</li> |
| 15599 | <li><a href="#dynamic_android.lens.focusRange">android.lens.focusRange</a> (dynamic)</li> |
| 15600 | <li><a href="#static_android.request.maxNumOutputStreams">android.request.maxNumOutputStreams</a> (static)</li> |
| 15601 | <li><a href="#controls_android.scaler.cropRegion">android.scaler.cropRegion</a> (controls)</li> |
| 15602 | <li><a href="#static_android.scaler.availableFormats">android.scaler.availableFormats</a> (static)</li> |
| 15603 | <li><a href="#static_android.scaler.availableJpegMinDurations">android.scaler.availableJpegMinDurations</a> (static)</li> |
| 15604 | <li><a href="#static_android.scaler.availableJpegSizes">android.scaler.availableJpegSizes</a> (static)</li> |
Igor Murashkin | f11a4df | 2013-05-07 10:00:46 -0700 | [diff] [blame] | 15605 | <li><a href="#static_android.scaler.availableMaxDigitalZoom">android.scaler.availableMaxDigitalZoom</a> (static)</li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15606 | <li><a href="#static_android.scaler.availableProcessedMinDurations">android.scaler.availableProcessedMinDurations</a> (static)</li> |
| 15607 | <li><a href="#static_android.scaler.availableProcessedSizes">android.scaler.availableProcessedSizes</a> (static)</li> |
| 15608 | <li><a href="#static_android.scaler.availableRawMinDurations">android.scaler.availableRawMinDurations</a> (static)</li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15609 | <li><a href="#controls_android.sensor.frameDuration">android.sensor.frameDuration</a> (controls)</li> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15610 | <li><a href="#static_android.sensor.info.sensitivityRange">android.sensor.info.sensitivityRange</a> (static)</li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15611 | <li><a href="#static_android.sensor.info.maxFrameDuration">android.sensor.info.maxFrameDuration</a> (static)</li> |
| 15612 | <li><a href="#static_android.sensor.info.physicalSize">android.sensor.info.physicalSize</a> (static)</li> |
| 15613 | <li><a href="#static_android.sensor.info.pixelArraySize">android.sensor.info.pixelArraySize</a> (static)</li> |
| 15614 | <li><a href="#static_android.sensor.orientation">android.sensor.orientation</a> (static)</li> |
| 15615 | <li><a href="#dynamic_android.sensor.timestamp">android.sensor.timestamp</a> (dynamic)</li> |
| 15616 | <li><a href="#controls_android.statistics.faceDetectMode">android.statistics.faceDetectMode</a> (controls)</li> |
| 15617 | <li><a href="#dynamic_android.statistics.faceIds">android.statistics.faceIds</a> (dynamic)</li> |
| 15618 | <li><a href="#dynamic_android.statistics.faceLandmarks">android.statistics.faceLandmarks</a> (dynamic)</li> |
| 15619 | <li><a href="#dynamic_android.statistics.faceRectangles">android.statistics.faceRectangles</a> (dynamic)</li> |
| 15620 | <li><a href="#dynamic_android.statistics.faceScores">android.statistics.faceScores</a> (dynamic)</li> |
| 15621 | <li><a href="#dynamic_android.lens.focalLength">android.lens.focalLength</a> (dynamic)</li> |
| 15622 | <li><a href="#dynamic_android.lens.focusDistance">android.lens.focusDistance</a> (dynamic)</li> |
| 15623 | </ul> |
| 15624 | </li> <!-- tag_BC --> |
| 15625 | <li id="tag_V1">V1 - |
| 15626 | New features for first camera 2 release (API1) |
| 15627 | |
| 15628 | <ul class="tags_entries"> |
| 15629 | <li><a href="#controls_android.demosaic.mode">android.demosaic.mode</a> (controls)</li> |
| 15630 | <li><a href="#controls_android.flash.firingPower">android.flash.firingPower</a> (controls)</li> |
| 15631 | <li><a href="#controls_android.flash.firingTime">android.flash.firingTime</a> (controls)</li> |
| 15632 | <li><a href="#static_android.flash.info.chargeDuration">android.flash.info.chargeDuration</a> (static)</li> |
| 15633 | <li><a href="#controls_android.hotPixel.mode">android.hotPixel.mode</a> (controls)</li> |
| 15634 | <li><a href="#controls_android.lens.aperture">android.lens.aperture</a> (controls)</li> |
| 15635 | <li><a href="#controls_android.lens.filterDensity">android.lens.filterDensity</a> (controls)</li> |
| 15636 | <li><a href="#controls_android.lens.focalLength">android.lens.focalLength</a> (controls)</li> |
| 15637 | <li><a href="#controls_android.lens.focusDistance">android.lens.focusDistance</a> (controls)</li> |
| 15638 | <li><a href="#controls_android.lens.opticalStabilizationMode">android.lens.opticalStabilizationMode</a> (controls)</li> |
| 15639 | <li><a href="#static_android.lens.info.availableApertures">android.lens.info.availableApertures</a> (static)</li> |
| 15640 | <li><a href="#static_android.lens.info.availableFilterDensities">android.lens.info.availableFilterDensities</a> (static)</li> |
| 15641 | <li><a href="#static_android.lens.info.availableFocalLengths">android.lens.info.availableFocalLengths</a> (static)</li> |
| 15642 | <li><a href="#static_android.lens.info.availableOpticalStabilization">android.lens.info.availableOpticalStabilization</a> (static)</li> |
| 15643 | <li><a href="#static_android.lens.info.geometricCorrectionMapSize">android.lens.info.geometricCorrectionMapSize</a> (static)</li> |
| 15644 | <li><a href="#static_android.lens.info.minimumFocusDistance">android.lens.info.minimumFocusDistance</a> (static)</li> |
| 15645 | <li><a href="#static_android.lens.info.shadingMapSize">android.lens.info.shadingMapSize</a> (static)</li> |
| 15646 | <li><a href="#static_android.lens.position">android.lens.position</a> (static)</li> |
| 15647 | <li><a href="#dynamic_android.lens.state">android.lens.state</a> (dynamic)</li> |
| 15648 | <li><a href="#controls_android.noiseReduction.mode">android.noiseReduction.mode</a> (controls)</li> |
| 15649 | <li><a href="#controls_android.request.id">android.request.id</a> (controls)</li> |
| 15650 | <li><a href="#controls_android.sensor.exposureTime">android.sensor.exposureTime</a> (controls)</li> |
| 15651 | <li><a href="#controls_android.sensor.frameDuration">android.sensor.frameDuration</a> (controls)</li> |
| 15652 | <li><a href="#controls_android.sensor.sensitivity">android.sensor.sensitivity</a> (controls)</li> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15653 | <li><a href="#static_android.sensor.info.sensitivityRange">android.sensor.info.sensitivityRange</a> (static)</li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15654 | <li><a href="#static_android.sensor.info.exposureTimeRange">android.sensor.info.exposureTimeRange</a> (static)</li> |
| 15655 | <li><a href="#static_android.sensor.info.maxFrameDuration">android.sensor.info.maxFrameDuration</a> (static)</li> |
| 15656 | <li><a href="#static_android.sensor.info.physicalSize">android.sensor.info.physicalSize</a> (static)</li> |
| 15657 | <li><a href="#static_android.sensor.baseGainFactor">android.sensor.baseGainFactor</a> (static)</li> |
| 15658 | <li><a href="#static_android.sensor.maxAnalogSensitivity">android.sensor.maxAnalogSensitivity</a> (static)</li> |
| 15659 | <li><a href="#static_android.sensor.noiseModelCoefficients">android.sensor.noiseModelCoefficients</a> (static)</li> |
| 15660 | <li><a href="#controls_android.statistics.histogramMode">android.statistics.histogramMode</a> (controls)</li> |
| 15661 | <li><a href="#controls_android.statistics.sharpnessMapMode">android.statistics.sharpnessMapMode</a> (controls)</li> |
| 15662 | <li><a href="#dynamic_android.statistics.histogram">android.statistics.histogram</a> (dynamic)</li> |
| 15663 | <li><a href="#dynamic_android.statistics.sharpnessMap">android.statistics.sharpnessMap</a> (dynamic)</li> |
| 15664 | <li><a href="#dynamic_android.hotPixel.mode">android.hotPixel.mode</a> (dynamic)</li> |
| 15665 | <li><a href="#dynamic_android.lens.aperture">android.lens.aperture</a> (dynamic)</li> |
| 15666 | <li><a href="#dynamic_android.lens.filterDensity">android.lens.filterDensity</a> (dynamic)</li> |
| 15667 | <li><a href="#dynamic_android.lens.opticalStabilizationMode">android.lens.opticalStabilizationMode</a> (dynamic)</li> |
| 15668 | </ul> |
| 15669 | </li> <!-- tag_V1 --> |
| 15670 | <li id="tag_ADV">ADV - None |
| 15671 | <ul class="tags_entries"> |
| 15672 | <li><a href="#static_android.flash.colorTemperature">android.flash.colorTemperature</a> (static)</li> |
| 15673 | <li><a href="#static_android.flash.maxEnergy">android.flash.maxEnergy</a> (static)</li> |
| 15674 | <li><a href="#controls_android.geometric.strength">android.geometric.strength</a> (controls)</li> |
| 15675 | <li><a href="#static_android.hotPixel.info.map">android.hotPixel.info.map</a> (static)</li> |
| 15676 | <li><a href="#static_android.lens.opticalAxisAngle">android.lens.opticalAxisAngle</a> (static)</li> |
| 15677 | <li><a href="#controls_android.shading.strength">android.shading.strength</a> (controls)</li> |
| 15678 | </ul> |
| 15679 | </li> <!-- tag_ADV --> |
| 15680 | <li id="tag_DNG">DNG - |
| 15681 | Needed for DNG file support |
| 15682 | |
| 15683 | <ul class="tags_entries"> |
| 15684 | <li><a href="#static_android.lens.info.geometricCorrectionMap">android.lens.info.geometricCorrectionMap</a> (static)</li> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15685 | <li><a href="#static_android.sensor.info.activeArraySize">android.sensor.info.activeArraySize</a> (static)</li> |
| 15686 | <li><a href="#static_android.sensor.info.colorFilterArrangement">android.sensor.info.colorFilterArrangement</a> (static)</li> |
| 15687 | <li><a href="#static_android.sensor.info.pixelArraySize">android.sensor.info.pixelArraySize</a> (static)</li> |
| 15688 | <li><a href="#static_android.sensor.info.whiteLevel">android.sensor.info.whiteLevel</a> (static)</li> |
| 15689 | <li><a href="#static_android.sensor.blackLevelPattern">android.sensor.blackLevelPattern</a> (static)</li> |
| 15690 | <li><a href="#static_android.sensor.calibrationTransform1">android.sensor.calibrationTransform1</a> (static)</li> |
| 15691 | <li><a href="#static_android.sensor.calibrationTransform2">android.sensor.calibrationTransform2</a> (static)</li> |
| 15692 | <li><a href="#static_android.sensor.colorTransform1">android.sensor.colorTransform1</a> (static)</li> |
| 15693 | <li><a href="#static_android.sensor.colorTransform2">android.sensor.colorTransform2</a> (static)</li> |
| 15694 | <li><a href="#static_android.sensor.forwardMatrix1">android.sensor.forwardMatrix1</a> (static)</li> |
| 15695 | <li><a href="#static_android.sensor.forwardMatrix2">android.sensor.forwardMatrix2</a> (static)</li> |
| 15696 | <li><a href="#static_android.sensor.referenceIlluminant1">android.sensor.referenceIlluminant1</a> (static)</li> |
| 15697 | <li><a href="#controls_android.tonemap.curveRed">android.tonemap.curveRed</a> (controls)</li> |
| 15698 | </ul> |
| 15699 | </li> <!-- tag_DNG --> |
| 15700 | <li id="tag_EXIF">EXIF - None |
| 15701 | <ul class="tags_entries"> |
| 15702 | <li><a href="#static_android.sensor.referenceIlluminant1">android.sensor.referenceIlluminant1</a> (static)</li> |
| 15703 | </ul> |
| 15704 | </li> <!-- tag_EXIF --> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 15705 | <li id="tag_HAL2">HAL2 - |
Alex Ray | ef40ad6 | 2013-10-01 17:52:33 -0700 | [diff] [blame] | 15706 | Entry is only used by camera device HAL 2.x |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 15707 | |
| 15708 | <ul class="tags_entries"> |
| 15709 | <li><a href="#controls_android.request.inputStreams">android.request.inputStreams</a> (controls)</li> |
| 15710 | <li><a href="#controls_android.request.outputStreams">android.request.outputStreams</a> (controls)</li> |
| 15711 | <li><a href="#controls_android.request.type">android.request.type</a> (controls)</li> |
Zhijun He | 12744b2 | 2014-01-22 15:58:57 -0800 | [diff] [blame] | 15712 | <li><a href="#static_android.request.maxNumReprocessStreams">android.request.maxNumReprocessStreams</a> (static)</li> |
Zhijun He | 69fc0ea | 2013-07-17 09:42:58 -0700 | [diff] [blame] | 15713 | <li><a href="#controls_android.blackLevel.lock">android.blackLevel.lock</a> (controls)</li> |
Eino-Ville Talvala | f384f0a | 2013-07-12 17:02:27 -0700 | [diff] [blame] | 15714 | </ul> |
| 15715 | </li> <!-- tag_HAL2 --> |
Alex Ray | ef40ad6 | 2013-10-01 17:52:33 -0700 | [diff] [blame] | 15716 | <li id="tag_FULL">FULL - |
| 15717 | Entry is required for full hardware level devices, and optional for other hardware levels |
| 15718 | |
| 15719 | <ul class="tags_entries"> |
| 15720 | <li><a href="#static_android.sensor.baseGainFactor">android.sensor.baseGainFactor</a> (static)</li> |
| 15721 | <li><a href="#static_android.sensor.maxAnalogSensitivity">android.sensor.maxAnalogSensitivity</a> (static)</li> |
| 15722 | <li><a href="#dynamic_android.sensor.temperature">android.sensor.temperature</a> (dynamic)</li> |
| 15723 | </ul> |
| 15724 | </li> <!-- tag_FULL --> |
Igor Murashkin | 5c1fc68 | 2014-01-16 17:51:36 -0800 | [diff] [blame] | 15725 | <li id="tag_LIMITED">LIMITED - |
| 15726 | Entry assists with LIMITED device implementation. LIMITED devices |
| 15727 | must implement all entries with this tag. Optional for FULL devices. |
| 15728 | |
| 15729 | <ul class="tags_entries"> |
| 15730 | <li><a href="#dynamic_android.sync.frameNumber">android.sync.frameNumber</a> (dynamic)</li> |
| 15731 | <li><a href="#static_android.sync.maxLatency">android.sync.maxLatency</a> (static)</li> |
| 15732 | </ul> |
| 15733 | </li> <!-- tag_LIMITED --> |
Igor Murashkin | 08b8aad | 2012-11-29 15:23:03 -0800 | [diff] [blame] | 15734 | </ul> |
| 15735 | </div> |
| 15736 | |
| 15737 | [ <a href="#">top</a> ] |
| 15738 | |
| 15739 | </body> |
| 15740 | </html> |