1 /* 2 * Copyright (C) 2012 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /** 18 * !! Do not include this file directly !! 19 * 20 * Include camera_metadata.h instead. 21 */ 22 23 /** 24 * ! Do not edit this file directly ! 25 * 26 * Generated automatically from camera_metadata_tags.mako 27 */ 28 29 /** TODO: Nearly every enum in this file needs a description */ 30 31 /** 32 * Top level hierarchy definitions for camera metadata. *_INFO sections are for 33 * the static metadata that can be retrived without opening the camera device. 34 * New sections must be added right before ANDROID_SECTION_COUNT to maintain 35 * existing enumerations. 36 */ 37 typedef enum camera_metadata_section { 38 ANDROID_COLOR_CORRECTION, 39 ANDROID_CONTROL, 40 ANDROID_DEMOSAIC, 41 ANDROID_EDGE, 42 ANDROID_FLASH, 43 ANDROID_FLASH_INFO, 44 ANDROID_HOT_PIXEL, 45 ANDROID_JPEG, 46 ANDROID_LENS, 47 ANDROID_LENS_INFO, 48 ANDROID_NOISE_REDUCTION, 49 ANDROID_QUIRKS, 50 ANDROID_REQUEST, 51 ANDROID_SCALER, 52 ANDROID_SENSOR, 53 ANDROID_SENSOR_INFO, 54 ANDROID_SHADING, 55 ANDROID_STATISTICS, 56 ANDROID_STATISTICS_INFO, 57 ANDROID_TONEMAP, 58 ANDROID_LED, 59 ANDROID_INFO, 60 ANDROID_BLACK_LEVEL, 61 ANDROID_SYNC, 62 ANDROID_REPROCESS, 63 ANDROID_DEPTH, 64 ANDROID_SECTION_COUNT, 65 66 VENDOR_SECTION = 0x8000 67 } camera_metadata_section_t; 68 69 /** 70 * Hierarchy positions in enum space. All vendor extension tags must be 71 * defined with tag >= VENDOR_SECTION_START 72 */ 73 typedef enum camera_metadata_section_start { 74 ANDROID_COLOR_CORRECTION_START = ANDROID_COLOR_CORRECTION << 16, 75 ANDROID_CONTROL_START = ANDROID_CONTROL << 16, 76 ANDROID_DEMOSAIC_START = ANDROID_DEMOSAIC << 16, 77 ANDROID_EDGE_START = ANDROID_EDGE << 16, 78 ANDROID_FLASH_START = ANDROID_FLASH << 16, 79 ANDROID_FLASH_INFO_START = ANDROID_FLASH_INFO << 16, 80 ANDROID_HOT_PIXEL_START = ANDROID_HOT_PIXEL << 16, 81 ANDROID_JPEG_START = ANDROID_JPEG << 16, 82 ANDROID_LENS_START = ANDROID_LENS << 16, 83 ANDROID_LENS_INFO_START = ANDROID_LENS_INFO << 16, 84 ANDROID_NOISE_REDUCTION_START = ANDROID_NOISE_REDUCTION << 16, 85 ANDROID_QUIRKS_START = ANDROID_QUIRKS << 16, 86 ANDROID_REQUEST_START = ANDROID_REQUEST << 16, 87 ANDROID_SCALER_START = ANDROID_SCALER << 16, 88 ANDROID_SENSOR_START = ANDROID_SENSOR << 16, 89 ANDROID_SENSOR_INFO_START = ANDROID_SENSOR_INFO << 16, 90 ANDROID_SHADING_START = ANDROID_SHADING << 16, 91 ANDROID_STATISTICS_START = ANDROID_STATISTICS << 16, 92 ANDROID_STATISTICS_INFO_START = ANDROID_STATISTICS_INFO << 16, 93 ANDROID_TONEMAP_START = ANDROID_TONEMAP << 16, 94 ANDROID_LED_START = ANDROID_LED << 16, 95 ANDROID_INFO_START = ANDROID_INFO << 16, 96 ANDROID_BLACK_LEVEL_START = ANDROID_BLACK_LEVEL << 16, 97 ANDROID_SYNC_START = ANDROID_SYNC << 16, 98 ANDROID_REPROCESS_START = ANDROID_REPROCESS << 16, 99 ANDROID_DEPTH_START = ANDROID_DEPTH << 16, 100 VENDOR_SECTION_START = VENDOR_SECTION << 16 101 } camera_metadata_section_start_t; 102 103 /** 104 * Main enum for defining camera metadata tags. New entries must always go 105 * before the section _END tag to preserve existing enumeration values. In 106 * addition, the name and type of the tag needs to be added to 107 * system/media/camera/src/camera_metadata_tag_info.c 108 */ 109 typedef enum camera_metadata_tag { 110 ANDROID_COLOR_CORRECTION_MODE = // enum | public 111 ANDROID_COLOR_CORRECTION_START, 112 ANDROID_COLOR_CORRECTION_TRANSFORM, // rational[] | public 113 ANDROID_COLOR_CORRECTION_GAINS, // float[] | public 114 ANDROID_COLOR_CORRECTION_ABERRATION_MODE, // enum | public 115 ANDROID_COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES, 116 // byte[] | public 117 ANDROID_COLOR_CORRECTION_END, 118 119 ANDROID_CONTROL_AE_ANTIBANDING_MODE = // enum | public 120 ANDROID_CONTROL_START, 121 ANDROID_CONTROL_AE_EXPOSURE_COMPENSATION, // int32 | public 122 ANDROID_CONTROL_AE_LOCK, // enum | public 123 ANDROID_CONTROL_AE_MODE, // enum | public 124 ANDROID_CONTROL_AE_REGIONS, // int32[] | public 125 ANDROID_CONTROL_AE_TARGET_FPS_RANGE, // int32[] | public 126 ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER, // enum | public 127 ANDROID_CONTROL_AF_MODE, // enum | public 128 ANDROID_CONTROL_AF_REGIONS, // int32[] | public 129 ANDROID_CONTROL_AF_TRIGGER, // enum | public 130 ANDROID_CONTROL_AWB_LOCK, // enum | public 131 ANDROID_CONTROL_AWB_MODE, // enum | public 132 ANDROID_CONTROL_AWB_REGIONS, // int32[] | public 133 ANDROID_CONTROL_CAPTURE_INTENT, // enum | public 134 ANDROID_CONTROL_EFFECT_MODE, // enum | public 135 ANDROID_CONTROL_MODE, // enum | public 136 ANDROID_CONTROL_SCENE_MODE, // enum | public 137 ANDROID_CONTROL_VIDEO_STABILIZATION_MODE, // enum | public 138 ANDROID_CONTROL_AE_AVAILABLE_ANTIBANDING_MODES, // byte[] | public 139 ANDROID_CONTROL_AE_AVAILABLE_MODES, // byte[] | public 140 ANDROID_CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES, // int32[] | public 141 ANDROID_CONTROL_AE_COMPENSATION_RANGE, // int32[] | public 142 ANDROID_CONTROL_AE_COMPENSATION_STEP, // rational | public 143 ANDROID_CONTROL_AF_AVAILABLE_MODES, // byte[] | public 144 ANDROID_CONTROL_AVAILABLE_EFFECTS, // byte[] | public 145 ANDROID_CONTROL_AVAILABLE_SCENE_MODES, // byte[] | public 146 ANDROID_CONTROL_AVAILABLE_VIDEO_STABILIZATION_MODES, 147 // byte[] | public 148 ANDROID_CONTROL_AWB_AVAILABLE_MODES, // byte[] | public 149 ANDROID_CONTROL_MAX_REGIONS, // int32[] | hidden 150 ANDROID_CONTROL_SCENE_MODE_OVERRIDES, // byte[] | system 151 ANDROID_CONTROL_AE_PRECAPTURE_ID, // int32 | system 152 ANDROID_CONTROL_AE_STATE, // enum | public 153 ANDROID_CONTROL_AF_STATE, // enum | public 154 ANDROID_CONTROL_AF_TRIGGER_ID, // int32 | system 155 ANDROID_CONTROL_AWB_STATE, // enum | public 156 ANDROID_CONTROL_AVAILABLE_HIGH_SPEED_VIDEO_CONFIGURATIONS, 157 // int32[] | hidden 158 ANDROID_CONTROL_AE_LOCK_AVAILABLE, // enum | public 159 ANDROID_CONTROL_AWB_LOCK_AVAILABLE, // enum | public 160 ANDROID_CONTROL_AVAILABLE_MODES, // byte[] | public 161 ANDROID_CONTROL_END, 162 163 ANDROID_DEMOSAIC_MODE = // enum | system 164 ANDROID_DEMOSAIC_START, 165 ANDROID_DEMOSAIC_END, 166 167 ANDROID_EDGE_MODE = // enum | public 168 ANDROID_EDGE_START, 169 ANDROID_EDGE_STRENGTH, // byte | system 170 ANDROID_EDGE_AVAILABLE_EDGE_MODES, // byte[] | public 171 ANDROID_EDGE_END, 172 173 ANDROID_FLASH_FIRING_POWER = // byte | system 174 ANDROID_FLASH_START, 175 ANDROID_FLASH_FIRING_TIME, // int64 | system 176 ANDROID_FLASH_MODE, // enum | public 177 ANDROID_FLASH_COLOR_TEMPERATURE, // byte | system 178 ANDROID_FLASH_MAX_ENERGY, // byte | system 179 ANDROID_FLASH_STATE, // enum | public 180 ANDROID_FLASH_END, 181 182 ANDROID_FLASH_INFO_AVAILABLE = // enum | public 183 ANDROID_FLASH_INFO_START, 184 ANDROID_FLASH_INFO_CHARGE_DURATION, // int64 | system 185 ANDROID_FLASH_INFO_END, 186 187 ANDROID_HOT_PIXEL_MODE = // enum | public 188 ANDROID_HOT_PIXEL_START, 189 ANDROID_HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES, // byte[] | public 190 ANDROID_HOT_PIXEL_END, 191 192 ANDROID_JPEG_GPS_COORDINATES = // double[] | hidden 193 ANDROID_JPEG_START, 194 ANDROID_JPEG_GPS_PROCESSING_METHOD, // byte | hidden 195 ANDROID_JPEG_GPS_TIMESTAMP, // int64 | hidden 196 ANDROID_JPEG_ORIENTATION, // int32 | public 197 ANDROID_JPEG_QUALITY, // byte | public 198 ANDROID_JPEG_THUMBNAIL_QUALITY, // byte | public 199 ANDROID_JPEG_THUMBNAIL_SIZE, // int32[] | public 200 ANDROID_JPEG_AVAILABLE_THUMBNAIL_SIZES, // int32[] | public 201 ANDROID_JPEG_MAX_SIZE, // int32 | system 202 ANDROID_JPEG_SIZE, // int32 | system 203 ANDROID_JPEG_END, 204 205 ANDROID_LENS_APERTURE = // float | public 206 ANDROID_LENS_START, 207 ANDROID_LENS_FILTER_DENSITY, // float | public 208 ANDROID_LENS_FOCAL_LENGTH, // float | public 209 ANDROID_LENS_FOCUS_DISTANCE, // float | public 210 ANDROID_LENS_OPTICAL_STABILIZATION_MODE, // enum | public 211 ANDROID_LENS_FACING, // enum | public 212 ANDROID_LENS_POSE_ROTATION, // float[] | public 213 ANDROID_LENS_POSE_TRANSLATION, // float[] | public 214 ANDROID_LENS_FOCUS_RANGE, // float[] | public 215 ANDROID_LENS_STATE, // enum | public 216 ANDROID_LENS_INTRINSIC_CALIBRATION, // float[] | public 217 ANDROID_LENS_RADIAL_DISTORTION, // float[] | public 218 ANDROID_LENS_END, 219 220 ANDROID_LENS_INFO_AVAILABLE_APERTURES = // float[] | public 221 ANDROID_LENS_INFO_START, 222 ANDROID_LENS_INFO_AVAILABLE_FILTER_DENSITIES, // float[] | public 223 ANDROID_LENS_INFO_AVAILABLE_FOCAL_LENGTHS, // float[] | public 224 ANDROID_LENS_INFO_AVAILABLE_OPTICAL_STABILIZATION,// byte[] | public 225 ANDROID_LENS_INFO_HYPERFOCAL_DISTANCE, // float | public 226 ANDROID_LENS_INFO_MINIMUM_FOCUS_DISTANCE, // float | public 227 ANDROID_LENS_INFO_SHADING_MAP_SIZE, // int32[] | hidden 228 ANDROID_LENS_INFO_FOCUS_DISTANCE_CALIBRATION, // enum | public 229 ANDROID_LENS_INFO_END, 230 231 ANDROID_NOISE_REDUCTION_MODE = // enum | public 232 ANDROID_NOISE_REDUCTION_START, 233 ANDROID_NOISE_REDUCTION_STRENGTH, // byte | system 234 ANDROID_NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES, 235 // byte[] | public 236 ANDROID_NOISE_REDUCTION_END, 237 238 ANDROID_QUIRKS_METERING_CROP_REGION = // byte | system 239 ANDROID_QUIRKS_START, 240 ANDROID_QUIRKS_TRIGGER_AF_WITH_AUTO, // byte | system 241 ANDROID_QUIRKS_USE_ZSL_FORMAT, // byte | system 242 ANDROID_QUIRKS_USE_PARTIAL_RESULT, // byte | hidden 243 ANDROID_QUIRKS_PARTIAL_RESULT, // enum | hidden 244 ANDROID_QUIRKS_END, 245 246 ANDROID_REQUEST_FRAME_COUNT = // int32 | hidden 247 ANDROID_REQUEST_START, 248 ANDROID_REQUEST_ID, // int32 | hidden 249 ANDROID_REQUEST_INPUT_STREAMS, // int32[] | system 250 ANDROID_REQUEST_METADATA_MODE, // enum | system 251 ANDROID_REQUEST_OUTPUT_STREAMS, // int32[] | system 252 ANDROID_REQUEST_TYPE, // enum | system 253 ANDROID_REQUEST_MAX_NUM_OUTPUT_STREAMS, // int32[] | hidden 254 ANDROID_REQUEST_MAX_NUM_REPROCESS_STREAMS, // int32[] | system 255 ANDROID_REQUEST_MAX_NUM_INPUT_STREAMS, // int32 | public 256 ANDROID_REQUEST_PIPELINE_DEPTH, // byte | public 257 ANDROID_REQUEST_PIPELINE_MAX_DEPTH, // byte | public 258 ANDROID_REQUEST_PARTIAL_RESULT_COUNT, // int32 | public 259 ANDROID_REQUEST_AVAILABLE_CAPABILITIES, // enum[] | public 260 ANDROID_REQUEST_AVAILABLE_REQUEST_KEYS, // int32[] | hidden 261 ANDROID_REQUEST_AVAILABLE_RESULT_KEYS, // int32[] | hidden 262 ANDROID_REQUEST_AVAILABLE_CHARACTERISTICS_KEYS, // int32[] | hidden 263 ANDROID_REQUEST_END, 264 265 ANDROID_SCALER_CROP_REGION = // int32[] | public 266 ANDROID_SCALER_START, 267 ANDROID_SCALER_AVAILABLE_FORMATS, // enum[] | hidden 268 ANDROID_SCALER_AVAILABLE_JPEG_MIN_DURATIONS, // int64[] | hidden 269 ANDROID_SCALER_AVAILABLE_JPEG_SIZES, // int32[] | hidden 270 ANDROID_SCALER_AVAILABLE_MAX_DIGITAL_ZOOM, // float | public 271 ANDROID_SCALER_AVAILABLE_PROCESSED_MIN_DURATIONS, // int64[] | hidden 272 ANDROID_SCALER_AVAILABLE_PROCESSED_SIZES, // int32[] | hidden 273 ANDROID_SCALER_AVAILABLE_RAW_MIN_DURATIONS, // int64[] | system 274 ANDROID_SCALER_AVAILABLE_RAW_SIZES, // int32[] | system 275 ANDROID_SCALER_AVAILABLE_INPUT_OUTPUT_FORMATS_MAP,// int32 | hidden 276 ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, // enum[] | hidden 277 ANDROID_SCALER_AVAILABLE_MIN_FRAME_DURATIONS, // int64[] | hidden 278 ANDROID_SCALER_AVAILABLE_STALL_DURATIONS, // int64[] | hidden 279 ANDROID_SCALER_CROPPING_TYPE, // enum | public 280 ANDROID_SCALER_END, 281 282 ANDROID_SENSOR_EXPOSURE_TIME = // int64 | public 283 ANDROID_SENSOR_START, 284 ANDROID_SENSOR_FRAME_DURATION, // int64 | public 285 ANDROID_SENSOR_SENSITIVITY, // int32 | public 286 ANDROID_SENSOR_REFERENCE_ILLUMINANT1, // enum | public 287 ANDROID_SENSOR_REFERENCE_ILLUMINANT2, // byte | public 288 ANDROID_SENSOR_CALIBRATION_TRANSFORM1, // rational[] | public 289 ANDROID_SENSOR_CALIBRATION_TRANSFORM2, // rational[] | public 290 ANDROID_SENSOR_COLOR_TRANSFORM1, // rational[] | public 291 ANDROID_SENSOR_COLOR_TRANSFORM2, // rational[] | public 292 ANDROID_SENSOR_FORWARD_MATRIX1, // rational[] | public 293 ANDROID_SENSOR_FORWARD_MATRIX2, // rational[] | public 294 ANDROID_SENSOR_BASE_GAIN_FACTOR, // rational | system 295 ANDROID_SENSOR_BLACK_LEVEL_PATTERN, // int32[] | public 296 ANDROID_SENSOR_MAX_ANALOG_SENSITIVITY, // int32 | public 297 ANDROID_SENSOR_ORIENTATION, // int32 | public 298 ANDROID_SENSOR_PROFILE_HUE_SAT_MAP_DIMENSIONS, // int32[] | system 299 ANDROID_SENSOR_TIMESTAMP, // int64 | public 300 ANDROID_SENSOR_TEMPERATURE, // float | system 301 ANDROID_SENSOR_NEUTRAL_COLOR_POINT, // rational[] | public 302 ANDROID_SENSOR_NOISE_PROFILE, // double[] | public 303 ANDROID_SENSOR_PROFILE_HUE_SAT_MAP, // float[] | system 304 ANDROID_SENSOR_PROFILE_TONE_CURVE, // float[] | system 305 ANDROID_SENSOR_GREEN_SPLIT, // float | public 306 ANDROID_SENSOR_TEST_PATTERN_DATA, // int32[] | public 307 ANDROID_SENSOR_TEST_PATTERN_MODE, // enum | public 308 ANDROID_SENSOR_AVAILABLE_TEST_PATTERN_MODES, // int32[] | public 309 ANDROID_SENSOR_ROLLING_SHUTTER_SKEW, // int64 | public 310 ANDROID_SENSOR_END, 311 312 ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE = // int32[] | public 313 ANDROID_SENSOR_INFO_START, 314 ANDROID_SENSOR_INFO_SENSITIVITY_RANGE, // int32[] | public 315 ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT, // enum | public 316 ANDROID_SENSOR_INFO_EXPOSURE_TIME_RANGE, // int64[] | public 317 ANDROID_SENSOR_INFO_MAX_FRAME_DURATION, // int64 | public 318 ANDROID_SENSOR_INFO_PHYSICAL_SIZE, // float[] | public 319 ANDROID_SENSOR_INFO_PIXEL_ARRAY_SIZE, // int32[] | public 320 ANDROID_SENSOR_INFO_WHITE_LEVEL, // int32 | public 321 ANDROID_SENSOR_INFO_TIMESTAMP_SOURCE, // enum | public 322 ANDROID_SENSOR_INFO_LENS_SHADING_APPLIED, // enum | public 323 ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE, 324 // int32[] | public 325 ANDROID_SENSOR_INFO_END, 326 327 ANDROID_SHADING_MODE = // enum | public 328 ANDROID_SHADING_START, 329 ANDROID_SHADING_STRENGTH, // byte | system 330 ANDROID_SHADING_AVAILABLE_MODES, // byte[] | public 331 ANDROID_SHADING_END, 332 333 ANDROID_STATISTICS_FACE_DETECT_MODE = // enum | public 334 ANDROID_STATISTICS_START, 335 ANDROID_STATISTICS_HISTOGRAM_MODE, // enum | system 336 ANDROID_STATISTICS_SHARPNESS_MAP_MODE, // enum | system 337 ANDROID_STATISTICS_HOT_PIXEL_MAP_MODE, // enum | public 338 ANDROID_STATISTICS_FACE_IDS, // int32[] | hidden 339 ANDROID_STATISTICS_FACE_LANDMARKS, // int32[] | hidden 340 ANDROID_STATISTICS_FACE_RECTANGLES, // int32[] | hidden 341 ANDROID_STATISTICS_FACE_SCORES, // byte[] | hidden 342 ANDROID_STATISTICS_HISTOGRAM, // int32[] | system 343 ANDROID_STATISTICS_SHARPNESS_MAP, // int32[] | system 344 ANDROID_STATISTICS_LENS_SHADING_CORRECTION_MAP, // byte | public 345 ANDROID_STATISTICS_LENS_SHADING_MAP, // float[] | hidden 346 ANDROID_STATISTICS_PREDICTED_COLOR_GAINS, // float[] | hidden 347 ANDROID_STATISTICS_PREDICTED_COLOR_TRANSFORM, // rational[] | hidden 348 ANDROID_STATISTICS_SCENE_FLICKER, // enum | public 349 ANDROID_STATISTICS_HOT_PIXEL_MAP, // int32[] | public 350 ANDROID_STATISTICS_LENS_SHADING_MAP_MODE, // enum | public 351 ANDROID_STATISTICS_END, 352 353 ANDROID_STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES = 354 // byte[] | public 355 ANDROID_STATISTICS_INFO_START, 356 ANDROID_STATISTICS_INFO_HISTOGRAM_BUCKET_COUNT, // int32 | system 357 ANDROID_STATISTICS_INFO_MAX_FACE_COUNT, // int32 | public 358 ANDROID_STATISTICS_INFO_MAX_HISTOGRAM_COUNT, // int32 | system 359 ANDROID_STATISTICS_INFO_MAX_SHARPNESS_MAP_VALUE, // int32 | system 360 ANDROID_STATISTICS_INFO_SHARPNESS_MAP_SIZE, // int32[] | system 361 ANDROID_STATISTICS_INFO_AVAILABLE_HOT_PIXEL_MAP_MODES, 362 // byte[] | public 363 ANDROID_STATISTICS_INFO_AVAILABLE_LENS_SHADING_MAP_MODES, 364 // byte[] | public 365 ANDROID_STATISTICS_INFO_END, 366 367 ANDROID_TONEMAP_CURVE_BLUE = // float[] | hidden 368 ANDROID_TONEMAP_START, 369 ANDROID_TONEMAP_CURVE_GREEN, // float[] | hidden 370 ANDROID_TONEMAP_CURVE_RED, // float[] | hidden 371 ANDROID_TONEMAP_MODE, // enum | public 372 ANDROID_TONEMAP_MAX_CURVE_POINTS, // int32 | public 373 ANDROID_TONEMAP_AVAILABLE_TONE_MAP_MODES, // byte[] | public 374 ANDROID_TONEMAP_GAMMA, // float | public 375 ANDROID_TONEMAP_PRESET_CURVE, // enum | public 376 ANDROID_TONEMAP_END, 377 378 ANDROID_LED_TRANSMIT = // enum | hidden 379 ANDROID_LED_START, 380 ANDROID_LED_AVAILABLE_LEDS, // enum[] | hidden 381 ANDROID_LED_END, 382 383 ANDROID_INFO_SUPPORTED_HARDWARE_LEVEL = // enum | public 384 ANDROID_INFO_START, 385 ANDROID_INFO_END, 386 387 ANDROID_BLACK_LEVEL_LOCK = // enum | public 388 ANDROID_BLACK_LEVEL_START, 389 ANDROID_BLACK_LEVEL_END, 390 391 ANDROID_SYNC_FRAME_NUMBER = // enum | hidden 392 ANDROID_SYNC_START, 393 ANDROID_SYNC_MAX_LATENCY, // enum | public 394 ANDROID_SYNC_END, 395 396 ANDROID_REPROCESS_EFFECTIVE_EXPOSURE_FACTOR = // float | public 397 ANDROID_REPROCESS_START, 398 ANDROID_REPROCESS_MAX_CAPTURE_STALL, // int32 | public 399 ANDROID_REPROCESS_END, 400 401 ANDROID_DEPTH_MAX_DEPTH_SAMPLES = // int32 | system 402 ANDROID_DEPTH_START, 403 ANDROID_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS, 404 // enum[] | hidden 405 ANDROID_DEPTH_AVAILABLE_DEPTH_MIN_FRAME_DURATIONS,// int64[] | hidden 406 ANDROID_DEPTH_AVAILABLE_DEPTH_STALL_DURATIONS, // int64[] | hidden 407 ANDROID_DEPTH_DEPTH_IS_EXCLUSIVE, // enum | public 408 ANDROID_DEPTH_END, 409 410 } camera_metadata_tag_t; 411 412 /** 413 * Enumeration definitions for the various entries that need them 414 */ 415 416 // ANDROID_COLOR_CORRECTION_MODE 417 typedef enum camera_metadata_enum_android_color_correction_mode { 418 ANDROID_COLOR_CORRECTION_MODE_TRANSFORM_MATRIX, 419 ANDROID_COLOR_CORRECTION_MODE_FAST, 420 ANDROID_COLOR_CORRECTION_MODE_HIGH_QUALITY, 421 } camera_metadata_enum_android_color_correction_mode_t; 422 423 // ANDROID_COLOR_CORRECTION_ABERRATION_MODE 424 typedef enum camera_metadata_enum_android_color_correction_aberration_mode { 425 ANDROID_COLOR_CORRECTION_ABERRATION_MODE_OFF, 426 ANDROID_COLOR_CORRECTION_ABERRATION_MODE_FAST, 427 ANDROID_COLOR_CORRECTION_ABERRATION_MODE_HIGH_QUALITY, 428 } camera_metadata_enum_android_color_correction_aberration_mode_t; 429 430 431 // ANDROID_CONTROL_AE_ANTIBANDING_MODE 432 typedef enum camera_metadata_enum_android_control_ae_antibanding_mode { 433 ANDROID_CONTROL_AE_ANTIBANDING_MODE_OFF, 434 ANDROID_CONTROL_AE_ANTIBANDING_MODE_50HZ, 435 ANDROID_CONTROL_AE_ANTIBANDING_MODE_60HZ, 436 ANDROID_CONTROL_AE_ANTIBANDING_MODE_AUTO, 437 } camera_metadata_enum_android_control_ae_antibanding_mode_t; 438 439 // ANDROID_CONTROL_AE_LOCK 440 typedef enum camera_metadata_enum_android_control_ae_lock { 441 ANDROID_CONTROL_AE_LOCK_OFF, 442 ANDROID_CONTROL_AE_LOCK_ON, 443 } camera_metadata_enum_android_control_ae_lock_t; 444 445 // ANDROID_CONTROL_AE_MODE 446 typedef enum camera_metadata_enum_android_control_ae_mode { 447 ANDROID_CONTROL_AE_MODE_OFF, 448 ANDROID_CONTROL_AE_MODE_ON, 449 ANDROID_CONTROL_AE_MODE_ON_AUTO_FLASH, 450 ANDROID_CONTROL_AE_MODE_ON_ALWAYS_FLASH, 451 ANDROID_CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE, 452 } camera_metadata_enum_android_control_ae_mode_t; 453 454 // ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER 455 typedef enum camera_metadata_enum_android_control_ae_precapture_trigger { 456 ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER_IDLE, 457 ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER_START, 458 ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER_CANCEL, 459 } camera_metadata_enum_android_control_ae_precapture_trigger_t; 460 461 // ANDROID_CONTROL_AF_MODE 462 typedef enum camera_metadata_enum_android_control_af_mode { 463 ANDROID_CONTROL_AF_MODE_OFF, 464 ANDROID_CONTROL_AF_MODE_AUTO, 465 ANDROID_CONTROL_AF_MODE_MACRO, 466 ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO, 467 ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE, 468 ANDROID_CONTROL_AF_MODE_EDOF, 469 } camera_metadata_enum_android_control_af_mode_t; 470 471 // ANDROID_CONTROL_AF_TRIGGER 472 typedef enum camera_metadata_enum_android_control_af_trigger { 473 ANDROID_CONTROL_AF_TRIGGER_IDLE, 474 ANDROID_CONTROL_AF_TRIGGER_START, 475 ANDROID_CONTROL_AF_TRIGGER_CANCEL, 476 } camera_metadata_enum_android_control_af_trigger_t; 477 478 // ANDROID_CONTROL_AWB_LOCK 479 typedef enum camera_metadata_enum_android_control_awb_lock { 480 ANDROID_CONTROL_AWB_LOCK_OFF, 481 ANDROID_CONTROL_AWB_LOCK_ON, 482 } camera_metadata_enum_android_control_awb_lock_t; 483 484 // ANDROID_CONTROL_AWB_MODE 485 typedef enum camera_metadata_enum_android_control_awb_mode { 486 ANDROID_CONTROL_AWB_MODE_OFF, 487 ANDROID_CONTROL_AWB_MODE_AUTO, 488 ANDROID_CONTROL_AWB_MODE_INCANDESCENT, 489 ANDROID_CONTROL_AWB_MODE_FLUORESCENT, 490 ANDROID_CONTROL_AWB_MODE_WARM_FLUORESCENT, 491 ANDROID_CONTROL_AWB_MODE_DAYLIGHT, 492 ANDROID_CONTROL_AWB_MODE_CLOUDY_DAYLIGHT, 493 ANDROID_CONTROL_AWB_MODE_TWILIGHT, 494 ANDROID_CONTROL_AWB_MODE_SHADE, 495 } camera_metadata_enum_android_control_awb_mode_t; 496 497 // ANDROID_CONTROL_CAPTURE_INTENT 498 typedef enum camera_metadata_enum_android_control_capture_intent { 499 ANDROID_CONTROL_CAPTURE_INTENT_CUSTOM, 500 ANDROID_CONTROL_CAPTURE_INTENT_PREVIEW, 501 ANDROID_CONTROL_CAPTURE_INTENT_STILL_CAPTURE, 502 ANDROID_CONTROL_CAPTURE_INTENT_VIDEO_RECORD, 503 ANDROID_CONTROL_CAPTURE_INTENT_VIDEO_SNAPSHOT, 504 ANDROID_CONTROL_CAPTURE_INTENT_ZERO_SHUTTER_LAG, 505 ANDROID_CONTROL_CAPTURE_INTENT_MANUAL, 506 } camera_metadata_enum_android_control_capture_intent_t; 507 508 // ANDROID_CONTROL_EFFECT_MODE 509 typedef enum camera_metadata_enum_android_control_effect_mode { 510 ANDROID_CONTROL_EFFECT_MODE_OFF, 511 ANDROID_CONTROL_EFFECT_MODE_MONO, 512 ANDROID_CONTROL_EFFECT_MODE_NEGATIVE, 513 ANDROID_CONTROL_EFFECT_MODE_SOLARIZE, 514 ANDROID_CONTROL_EFFECT_MODE_SEPIA, 515 ANDROID_CONTROL_EFFECT_MODE_POSTERIZE, 516 ANDROID_CONTROL_EFFECT_MODE_WHITEBOARD, 517 ANDROID_CONTROL_EFFECT_MODE_BLACKBOARD, 518 ANDROID_CONTROL_EFFECT_MODE_AQUA, 519 } camera_metadata_enum_android_control_effect_mode_t; 520 521 // ANDROID_CONTROL_MODE 522 typedef enum camera_metadata_enum_android_control_mode { 523 ANDROID_CONTROL_MODE_OFF, 524 ANDROID_CONTROL_MODE_AUTO, 525 ANDROID_CONTROL_MODE_USE_SCENE_MODE, 526 ANDROID_CONTROL_MODE_OFF_KEEP_STATE, 527 } camera_metadata_enum_android_control_mode_t; 528 529 // ANDROID_CONTROL_SCENE_MODE 530 typedef enum camera_metadata_enum_android_control_scene_mode { 531 ANDROID_CONTROL_SCENE_MODE_DISABLED = 0, 532 ANDROID_CONTROL_SCENE_MODE_FACE_PRIORITY, 533 ANDROID_CONTROL_SCENE_MODE_ACTION, 534 ANDROID_CONTROL_SCENE_MODE_PORTRAIT, 535 ANDROID_CONTROL_SCENE_MODE_LANDSCAPE, 536 ANDROID_CONTROL_SCENE_MODE_NIGHT, 537 ANDROID_CONTROL_SCENE_MODE_NIGHT_PORTRAIT, 538 ANDROID_CONTROL_SCENE_MODE_THEATRE, 539 ANDROID_CONTROL_SCENE_MODE_BEACH, 540 ANDROID_CONTROL_SCENE_MODE_SNOW, 541 ANDROID_CONTROL_SCENE_MODE_SUNSET, 542 ANDROID_CONTROL_SCENE_MODE_STEADYPHOTO, 543 ANDROID_CONTROL_SCENE_MODE_FIREWORKS, 544 ANDROID_CONTROL_SCENE_MODE_SPORTS, 545 ANDROID_CONTROL_SCENE_MODE_PARTY, 546 ANDROID_CONTROL_SCENE_MODE_CANDLELIGHT, 547 ANDROID_CONTROL_SCENE_MODE_BARCODE, 548 ANDROID_CONTROL_SCENE_MODE_HIGH_SPEED_VIDEO, 549 ANDROID_CONTROL_SCENE_MODE_HDR, 550 ANDROID_CONTROL_SCENE_MODE_FACE_PRIORITY_LOW_LIGHT, 551 } camera_metadata_enum_android_control_scene_mode_t; 552 553 // ANDROID_CONTROL_VIDEO_STABILIZATION_MODE 554 typedef enum camera_metadata_enum_android_control_video_stabilization_mode { 555 ANDROID_CONTROL_VIDEO_STABILIZATION_MODE_OFF, 556 ANDROID_CONTROL_VIDEO_STABILIZATION_MODE_ON, 557 } camera_metadata_enum_android_control_video_stabilization_mode_t; 558 559 // ANDROID_CONTROL_AE_STATE 560 typedef enum camera_metadata_enum_android_control_ae_state { 561 ANDROID_CONTROL_AE_STATE_INACTIVE, 562 ANDROID_CONTROL_AE_STATE_SEARCHING, 563 ANDROID_CONTROL_AE_STATE_CONVERGED, 564 ANDROID_CONTROL_AE_STATE_LOCKED, 565 ANDROID_CONTROL_AE_STATE_FLASH_REQUIRED, 566 ANDROID_CONTROL_AE_STATE_PRECAPTURE, 567 } camera_metadata_enum_android_control_ae_state_t; 568 569 // ANDROID_CONTROL_AF_STATE 570 typedef enum camera_metadata_enum_android_control_af_state { 571 ANDROID_CONTROL_AF_STATE_INACTIVE, 572 ANDROID_CONTROL_AF_STATE_PASSIVE_SCAN, 573 ANDROID_CONTROL_AF_STATE_PASSIVE_FOCUSED, 574 ANDROID_CONTROL_AF_STATE_ACTIVE_SCAN, 575 ANDROID_CONTROL_AF_STATE_FOCUSED_LOCKED, 576 ANDROID_CONTROL_AF_STATE_NOT_FOCUSED_LOCKED, 577 ANDROID_CONTROL_AF_STATE_PASSIVE_UNFOCUSED, 578 } camera_metadata_enum_android_control_af_state_t; 579 580 // ANDROID_CONTROL_AWB_STATE 581 typedef enum camera_metadata_enum_android_control_awb_state { 582 ANDROID_CONTROL_AWB_STATE_INACTIVE, 583 ANDROID_CONTROL_AWB_STATE_SEARCHING, 584 ANDROID_CONTROL_AWB_STATE_CONVERGED, 585 ANDROID_CONTROL_AWB_STATE_LOCKED, 586 } camera_metadata_enum_android_control_awb_state_t; 587 588 // ANDROID_CONTROL_AE_LOCK_AVAILABLE 589 typedef enum camera_metadata_enum_android_control_ae_lock_available { 590 ANDROID_CONTROL_AE_LOCK_AVAILABLE_FALSE, 591 ANDROID_CONTROL_AE_LOCK_AVAILABLE_TRUE, 592 } camera_metadata_enum_android_control_ae_lock_available_t; 593 594 // ANDROID_CONTROL_AWB_LOCK_AVAILABLE 595 typedef enum camera_metadata_enum_android_control_awb_lock_available { 596 ANDROID_CONTROL_AWB_LOCK_AVAILABLE_FALSE, 597 ANDROID_CONTROL_AWB_LOCK_AVAILABLE_TRUE, 598 } camera_metadata_enum_android_control_awb_lock_available_t; 599 600 601 // ANDROID_DEMOSAIC_MODE 602 typedef enum camera_metadata_enum_android_demosaic_mode { 603 ANDROID_DEMOSAIC_MODE_FAST, 604 ANDROID_DEMOSAIC_MODE_HIGH_QUALITY, 605 } camera_metadata_enum_android_demosaic_mode_t; 606 607 608 // ANDROID_EDGE_MODE 609 typedef enum camera_metadata_enum_android_edge_mode { 610 ANDROID_EDGE_MODE_OFF, 611 ANDROID_EDGE_MODE_FAST, 612 ANDROID_EDGE_MODE_HIGH_QUALITY, 613 ANDROID_EDGE_MODE_ZERO_SHUTTER_LAG, 614 } camera_metadata_enum_android_edge_mode_t; 615 616 617 // ANDROID_FLASH_MODE 618 typedef enum camera_metadata_enum_android_flash_mode { 619 ANDROID_FLASH_MODE_OFF, 620 ANDROID_FLASH_MODE_SINGLE, 621 ANDROID_FLASH_MODE_TORCH, 622 } camera_metadata_enum_android_flash_mode_t; 623 624 // ANDROID_FLASH_STATE 625 typedef enum camera_metadata_enum_android_flash_state { 626 ANDROID_FLASH_STATE_UNAVAILABLE, 627 ANDROID_FLASH_STATE_CHARGING, 628 ANDROID_FLASH_STATE_READY, 629 ANDROID_FLASH_STATE_FIRED, 630 ANDROID_FLASH_STATE_PARTIAL, 631 } camera_metadata_enum_android_flash_state_t; 632 633 634 // ANDROID_FLASH_INFO_AVAILABLE 635 typedef enum camera_metadata_enum_android_flash_info_available { 636 ANDROID_FLASH_INFO_AVAILABLE_FALSE, 637 ANDROID_FLASH_INFO_AVAILABLE_TRUE, 638 } camera_metadata_enum_android_flash_info_available_t; 639 640 641 // ANDROID_HOT_PIXEL_MODE 642 typedef enum camera_metadata_enum_android_hot_pixel_mode { 643 ANDROID_HOT_PIXEL_MODE_OFF, 644 ANDROID_HOT_PIXEL_MODE_FAST, 645 ANDROID_HOT_PIXEL_MODE_HIGH_QUALITY, 646 } camera_metadata_enum_android_hot_pixel_mode_t; 647 648 649 650 // ANDROID_LENS_OPTICAL_STABILIZATION_MODE 651 typedef enum camera_metadata_enum_android_lens_optical_stabilization_mode { 652 ANDROID_LENS_OPTICAL_STABILIZATION_MODE_OFF, 653 ANDROID_LENS_OPTICAL_STABILIZATION_MODE_ON, 654 } camera_metadata_enum_android_lens_optical_stabilization_mode_t; 655 656 // ANDROID_LENS_FACING 657 typedef enum camera_metadata_enum_android_lens_facing { 658 ANDROID_LENS_FACING_FRONT, 659 ANDROID_LENS_FACING_BACK, 660 ANDROID_LENS_FACING_EXTERNAL, 661 } camera_metadata_enum_android_lens_facing_t; 662 663 // ANDROID_LENS_STATE 664 typedef enum camera_metadata_enum_android_lens_state { 665 ANDROID_LENS_STATE_STATIONARY, 666 ANDROID_LENS_STATE_MOVING, 667 } camera_metadata_enum_android_lens_state_t; 668 669 670 // ANDROID_LENS_INFO_FOCUS_DISTANCE_CALIBRATION 671 typedef enum camera_metadata_enum_android_lens_info_focus_distance_calibration { 672 ANDROID_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_UNCALIBRATED, 673 ANDROID_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_APPROXIMATE, 674 ANDROID_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_CALIBRATED, 675 } camera_metadata_enum_android_lens_info_focus_distance_calibration_t; 676 677 678 // ANDROID_NOISE_REDUCTION_MODE 679 typedef enum camera_metadata_enum_android_noise_reduction_mode { 680 ANDROID_NOISE_REDUCTION_MODE_OFF, 681 ANDROID_NOISE_REDUCTION_MODE_FAST, 682 ANDROID_NOISE_REDUCTION_MODE_HIGH_QUALITY, 683 ANDROID_NOISE_REDUCTION_MODE_MINIMAL, 684 ANDROID_NOISE_REDUCTION_MODE_ZERO_SHUTTER_LAG, 685 } camera_metadata_enum_android_noise_reduction_mode_t; 686 687 688 // ANDROID_QUIRKS_PARTIAL_RESULT 689 typedef enum camera_metadata_enum_android_quirks_partial_result { 690 ANDROID_QUIRKS_PARTIAL_RESULT_FINAL, 691 ANDROID_QUIRKS_PARTIAL_RESULT_PARTIAL, 692 } camera_metadata_enum_android_quirks_partial_result_t; 693 694 695 // ANDROID_REQUEST_METADATA_MODE 696 typedef enum camera_metadata_enum_android_request_metadata_mode { 697 ANDROID_REQUEST_METADATA_MODE_NONE, 698 ANDROID_REQUEST_METADATA_MODE_FULL, 699 } camera_metadata_enum_android_request_metadata_mode_t; 700 701 // ANDROID_REQUEST_TYPE 702 typedef enum camera_metadata_enum_android_request_type { 703 ANDROID_REQUEST_TYPE_CAPTURE, 704 ANDROID_REQUEST_TYPE_REPROCESS, 705 } camera_metadata_enum_android_request_type_t; 706 707 // ANDROID_REQUEST_AVAILABLE_CAPABILITIES 708 typedef enum camera_metadata_enum_android_request_available_capabilities { 709 ANDROID_REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE, 710 ANDROID_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR, 711 ANDROID_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_POST_PROCESSING, 712 ANDROID_REQUEST_AVAILABLE_CAPABILITIES_RAW, 713 ANDROID_REQUEST_AVAILABLE_CAPABILITIES_PRIVATE_REPROCESSING, 714 ANDROID_REQUEST_AVAILABLE_CAPABILITIES_READ_SENSOR_SETTINGS, 715 ANDROID_REQUEST_AVAILABLE_CAPABILITIES_BURST_CAPTURE, 716 ANDROID_REQUEST_AVAILABLE_CAPABILITIES_YUV_REPROCESSING, 717 ANDROID_REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT, 718 ANDROID_REQUEST_AVAILABLE_CAPABILITIES_CONSTRAINED_HIGH_SPEED_VIDEO, 719 } camera_metadata_enum_android_request_available_capabilities_t; 720 721 722 // ANDROID_SCALER_AVAILABLE_FORMATS 723 typedef enum camera_metadata_enum_android_scaler_available_formats { 724 ANDROID_SCALER_AVAILABLE_FORMATS_RAW16 = 0x20, 725 ANDROID_SCALER_AVAILABLE_FORMATS_RAW_OPAQUE = 0x24, 726 ANDROID_SCALER_AVAILABLE_FORMATS_YV12 = 0x32315659, 727 ANDROID_SCALER_AVAILABLE_FORMATS_YCrCb_420_SP = 0x11, 728 ANDROID_SCALER_AVAILABLE_FORMATS_IMPLEMENTATION_DEFINED = 0x22, 729 ANDROID_SCALER_AVAILABLE_FORMATS_YCbCr_420_888 = 0x23, 730 ANDROID_SCALER_AVAILABLE_FORMATS_BLOB = 0x21, 731 } camera_metadata_enum_android_scaler_available_formats_t; 732 733 // ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS 734 typedef enum camera_metadata_enum_android_scaler_available_stream_configurations { 735 ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT, 736 ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_INPUT, 737 } camera_metadata_enum_android_scaler_available_stream_configurations_t; 738 739 // ANDROID_SCALER_CROPPING_TYPE 740 typedef enum camera_metadata_enum_android_scaler_cropping_type { 741 ANDROID_SCALER_CROPPING_TYPE_CENTER_ONLY, 742 ANDROID_SCALER_CROPPING_TYPE_FREEFORM, 743 } camera_metadata_enum_android_scaler_cropping_type_t; 744 745 746 // ANDROID_SENSOR_REFERENCE_ILLUMINANT1 747 typedef enum camera_metadata_enum_android_sensor_reference_illuminant1 { 748 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT = 1, 749 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_FLUORESCENT = 2, 750 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_TUNGSTEN = 3, 751 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_FLASH = 4, 752 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_FINE_WEATHER = 9, 753 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_CLOUDY_WEATHER = 10, 754 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_SHADE = 11, 755 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT_FLUORESCENT = 12, 756 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_DAY_WHITE_FLUORESCENT = 13, 757 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_COOL_WHITE_FLUORESCENT = 14, 758 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_WHITE_FLUORESCENT = 15, 759 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_STANDARD_A = 17, 760 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_STANDARD_B = 18, 761 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_STANDARD_C = 19, 762 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_D55 = 20, 763 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_D65 = 21, 764 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_D75 = 22, 765 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_D50 = 23, 766 ANDROID_SENSOR_REFERENCE_ILLUMINANT1_ISO_STUDIO_TUNGSTEN = 24, 767 } camera_metadata_enum_android_sensor_reference_illuminant1_t; 768 769 // ANDROID_SENSOR_TEST_PATTERN_MODE 770 typedef enum camera_metadata_enum_android_sensor_test_pattern_mode { 771 ANDROID_SENSOR_TEST_PATTERN_MODE_OFF, 772 ANDROID_SENSOR_TEST_PATTERN_MODE_SOLID_COLOR, 773 ANDROID_SENSOR_TEST_PATTERN_MODE_COLOR_BARS, 774 ANDROID_SENSOR_TEST_PATTERN_MODE_COLOR_BARS_FADE_TO_GRAY, 775 ANDROID_SENSOR_TEST_PATTERN_MODE_PN9, 776 ANDROID_SENSOR_TEST_PATTERN_MODE_CUSTOM1 = 256, 777 } camera_metadata_enum_android_sensor_test_pattern_mode_t; 778 779 780 // ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT 781 typedef enum camera_metadata_enum_android_sensor_info_color_filter_arrangement { 782 ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGGB, 783 ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GRBG, 784 ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GBRG, 785 ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_BGGR, 786 ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGB, 787 } camera_metadata_enum_android_sensor_info_color_filter_arrangement_t; 788 789 // ANDROID_SENSOR_INFO_TIMESTAMP_SOURCE 790 typedef enum camera_metadata_enum_android_sensor_info_timestamp_source { 791 ANDROID_SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN, 792 ANDROID_SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME, 793 } camera_metadata_enum_android_sensor_info_timestamp_source_t; 794 795 // ANDROID_SENSOR_INFO_LENS_SHADING_APPLIED 796 typedef enum camera_metadata_enum_android_sensor_info_lens_shading_applied { 797 ANDROID_SENSOR_INFO_LENS_SHADING_APPLIED_FALSE, 798 ANDROID_SENSOR_INFO_LENS_SHADING_APPLIED_TRUE, 799 } camera_metadata_enum_android_sensor_info_lens_shading_applied_t; 800 801 802 // ANDROID_SHADING_MODE 803 typedef enum camera_metadata_enum_android_shading_mode { 804 ANDROID_SHADING_MODE_OFF, 805 ANDROID_SHADING_MODE_FAST, 806 ANDROID_SHADING_MODE_HIGH_QUALITY, 807 } camera_metadata_enum_android_shading_mode_t; 808 809 810 // ANDROID_STATISTICS_FACE_DETECT_MODE 811 typedef enum camera_metadata_enum_android_statistics_face_detect_mode { 812 ANDROID_STATISTICS_FACE_DETECT_MODE_OFF, 813 ANDROID_STATISTICS_FACE_DETECT_MODE_SIMPLE, 814 ANDROID_STATISTICS_FACE_DETECT_MODE_FULL, 815 } camera_metadata_enum_android_statistics_face_detect_mode_t; 816 817 // ANDROID_STATISTICS_HISTOGRAM_MODE 818 typedef enum camera_metadata_enum_android_statistics_histogram_mode { 819 ANDROID_STATISTICS_HISTOGRAM_MODE_OFF, 820 ANDROID_STATISTICS_HISTOGRAM_MODE_ON, 821 } camera_metadata_enum_android_statistics_histogram_mode_t; 822 823 // ANDROID_STATISTICS_SHARPNESS_MAP_MODE 824 typedef enum camera_metadata_enum_android_statistics_sharpness_map_mode { 825 ANDROID_STATISTICS_SHARPNESS_MAP_MODE_OFF, 826 ANDROID_STATISTICS_SHARPNESS_MAP_MODE_ON, 827 } camera_metadata_enum_android_statistics_sharpness_map_mode_t; 828 829 // ANDROID_STATISTICS_HOT_PIXEL_MAP_MODE 830 typedef enum camera_metadata_enum_android_statistics_hot_pixel_map_mode { 831 ANDROID_STATISTICS_HOT_PIXEL_MAP_MODE_OFF, 832 ANDROID_STATISTICS_HOT_PIXEL_MAP_MODE_ON, 833 } camera_metadata_enum_android_statistics_hot_pixel_map_mode_t; 834 835 // ANDROID_STATISTICS_SCENE_FLICKER 836 typedef enum camera_metadata_enum_android_statistics_scene_flicker { 837 ANDROID_STATISTICS_SCENE_FLICKER_NONE, 838 ANDROID_STATISTICS_SCENE_FLICKER_50HZ, 839 ANDROID_STATISTICS_SCENE_FLICKER_60HZ, 840 } camera_metadata_enum_android_statistics_scene_flicker_t; 841 842 // ANDROID_STATISTICS_LENS_SHADING_MAP_MODE 843 typedef enum camera_metadata_enum_android_statistics_lens_shading_map_mode { 844 ANDROID_STATISTICS_LENS_SHADING_MAP_MODE_OFF, 845 ANDROID_STATISTICS_LENS_SHADING_MAP_MODE_ON, 846 } camera_metadata_enum_android_statistics_lens_shading_map_mode_t; 847 848 849 850 // ANDROID_TONEMAP_MODE 851 typedef enum camera_metadata_enum_android_tonemap_mode { 852 ANDROID_TONEMAP_MODE_CONTRAST_CURVE, 853 ANDROID_TONEMAP_MODE_FAST, 854 ANDROID_TONEMAP_MODE_HIGH_QUALITY, 855 ANDROID_TONEMAP_MODE_GAMMA_VALUE, 856 ANDROID_TONEMAP_MODE_PRESET_CURVE, 857 } camera_metadata_enum_android_tonemap_mode_t; 858 859 // ANDROID_TONEMAP_PRESET_CURVE 860 typedef enum camera_metadata_enum_android_tonemap_preset_curve { 861 ANDROID_TONEMAP_PRESET_CURVE_SRGB, 862 ANDROID_TONEMAP_PRESET_CURVE_REC709, 863 } camera_metadata_enum_android_tonemap_preset_curve_t; 864 865 866 // ANDROID_LED_TRANSMIT 867 typedef enum camera_metadata_enum_android_led_transmit { 868 ANDROID_LED_TRANSMIT_OFF, 869 ANDROID_LED_TRANSMIT_ON, 870 } camera_metadata_enum_android_led_transmit_t; 871 872 // ANDROID_LED_AVAILABLE_LEDS 873 typedef enum camera_metadata_enum_android_led_available_leds { 874 ANDROID_LED_AVAILABLE_LEDS_TRANSMIT, 875 } camera_metadata_enum_android_led_available_leds_t; 876 877 878 // ANDROID_INFO_SUPPORTED_HARDWARE_LEVEL 879 typedef enum camera_metadata_enum_android_info_supported_hardware_level { 880 ANDROID_INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED, 881 ANDROID_INFO_SUPPORTED_HARDWARE_LEVEL_FULL, 882 ANDROID_INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY, 883 } camera_metadata_enum_android_info_supported_hardware_level_t; 884 885 886 // ANDROID_BLACK_LEVEL_LOCK 887 typedef enum camera_metadata_enum_android_black_level_lock { 888 ANDROID_BLACK_LEVEL_LOCK_OFF, 889 ANDROID_BLACK_LEVEL_LOCK_ON, 890 } camera_metadata_enum_android_black_level_lock_t; 891 892 893 // ANDROID_SYNC_FRAME_NUMBER 894 typedef enum camera_metadata_enum_android_sync_frame_number { 895 ANDROID_SYNC_FRAME_NUMBER_CONVERGING = -1, 896 ANDROID_SYNC_FRAME_NUMBER_UNKNOWN = -2, 897 } camera_metadata_enum_android_sync_frame_number_t; 898 899 // ANDROID_SYNC_MAX_LATENCY 900 typedef enum camera_metadata_enum_android_sync_max_latency { 901 ANDROID_SYNC_MAX_LATENCY_PER_FRAME_CONTROL = 0, 902 ANDROID_SYNC_MAX_LATENCY_UNKNOWN = -1, 903 } camera_metadata_enum_android_sync_max_latency_t; 904 905 906 907 // ANDROID_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS 908 typedef enum camera_metadata_enum_android_depth_available_depth_stream_configurations { 909 ANDROID_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_OUTPUT, 910 ANDROID_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_INPUT, 911 } camera_metadata_enum_android_depth_available_depth_stream_configurations_t; 912 913 // ANDROID_DEPTH_DEPTH_IS_EXCLUSIVE 914 typedef enum camera_metadata_enum_android_depth_depth_is_exclusive { 915 ANDROID_DEPTH_DEPTH_IS_EXCLUSIVE_FALSE, 916 ANDROID_DEPTH_DEPTH_IS_EXCLUSIVE_TRUE, 917 } camera_metadata_enum_android_depth_depth_is_exclusive_t; 918 919 920