Lines Matching refs:frame_settings

5358     CameraMetadata frame_settings;  in extractJpegMetadata()  local
5359 frame_settings = request->settings; in extractJpegMetadata()
5361 if (frame_settings.exists(ANDROID_JPEG_GPS_COORDINATES)) in extractJpegMetadata()
5363 frame_settings.find(ANDROID_JPEG_GPS_COORDINATES).data.d, in extractJpegMetadata()
5364 frame_settings.find(ANDROID_JPEG_GPS_COORDINATES).count); in extractJpegMetadata()
5366 if (frame_settings.exists(ANDROID_JPEG_GPS_PROCESSING_METHOD)) in extractJpegMetadata()
5368 frame_settings.find(ANDROID_JPEG_GPS_PROCESSING_METHOD).data.u8, in extractJpegMetadata()
5369 frame_settings.find(ANDROID_JPEG_GPS_PROCESSING_METHOD).count); in extractJpegMetadata()
5371 if (frame_settings.exists(ANDROID_JPEG_GPS_TIMESTAMP)) in extractJpegMetadata()
5373 frame_settings.find(ANDROID_JPEG_GPS_TIMESTAMP).data.i64, in extractJpegMetadata()
5374 frame_settings.find(ANDROID_JPEG_GPS_TIMESTAMP).count); in extractJpegMetadata()
5376 if (frame_settings.exists(ANDROID_JPEG_ORIENTATION)) in extractJpegMetadata()
5378 frame_settings.find(ANDROID_JPEG_ORIENTATION).data.i32, in extractJpegMetadata()
5379 frame_settings.find(ANDROID_JPEG_ORIENTATION).count); in extractJpegMetadata()
5381 if (frame_settings.exists(ANDROID_JPEG_QUALITY)) in extractJpegMetadata()
5383 frame_settings.find(ANDROID_JPEG_QUALITY).data.u8, in extractJpegMetadata()
5384 frame_settings.find(ANDROID_JPEG_QUALITY).count); in extractJpegMetadata()
5386 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_QUALITY)) in extractJpegMetadata()
5388 frame_settings.find(ANDROID_JPEG_THUMBNAIL_QUALITY).data.u8, in extractJpegMetadata()
5389 frame_settings.find(ANDROID_JPEG_THUMBNAIL_QUALITY).count); in extractJpegMetadata()
5391 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_SIZE)) { in extractJpegMetadata()
5393 thumbnail_size[0] = frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32[0]; in extractJpegMetadata()
5394 thumbnail_size[1] = frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32[1]; in extractJpegMetadata()
5395 if (frame_settings.exists(ANDROID_JPEG_ORIENTATION)) { in extractJpegMetadata()
5397 frame_settings.find(ANDROID_JPEG_ORIENTATION).data.i32[0]; in extractJpegMetadata()
5408 frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).count); in extractJpegMetadata()
5452 CameraMetadata frame_settings; in convertFromRegions() local
5453 frame_settings = settings; in convertFromRegions()
5454 int32_t x_min = frame_settings.find(tag).data.i32[0]; in convertFromRegions()
5455 int32_t y_min = frame_settings.find(tag).data.i32[1]; in convertFromRegions()
5456 int32_t x_max = frame_settings.find(tag).data.i32[2]; in convertFromRegions()
5457 int32_t y_max = frame_settings.find(tag).data.i32[3]; in convertFromRegions()
5458 roi.weight = frame_settings.find(tag).data.i32[4]; in convertFromRegions()
7708 CameraMetadata frame_settings; in setReprocParameters() local
7709 frame_settings = request->settings; in setReprocParameters()
7710 if (frame_settings.exists(QCAMERA3_CROP_COUNT_REPROCESS) && in setReprocParameters()
7711 frame_settings.exists(QCAMERA3_CROP_REPROCESS)) { in setReprocParameters()
7713 frame_settings.find(QCAMERA3_CROP_COUNT_REPROCESS).data.i32; in setReprocParameters()
7715 frame_settings.find(QCAMERA3_CROP_REPROCESS).data.i32; in setReprocParameters()
7717 frame_settings.find(QCAMERA3_CROP_ROI_MAP_REPROCESS).data.i32; in setReprocParameters()
7762 if (frame_settings.exists(ANDROID_FLASH_MODE)) { in setReprocParameters()
7764 (int)frame_settings.find(ANDROID_FLASH_MODE).data.u8[0]); in setReprocParameters()
7772 frame_settings.find(ANDROID_FLASH_MODE).data.u8[0]); in setReprocParameters()
7778 if (frame_settings.exists(ANDROID_FLASH_STATE)) { in setReprocParameters()
7779 int32_t flashState = (int32_t)frame_settings.find(ANDROID_FLASH_STATE).data.u8[0]; in setReprocParameters()
7950 CameraMetadata frame_settings; in translateToHalMetadata() local
7951 frame_settings = request->settings; in translateToHalMetadata()
7962 if (frame_settings.exists(ANDROID_CONTROL_MODE)) { in translateToHalMetadata()
7963 uint8_t metaMode = frame_settings.find(ANDROID_CONTROL_MODE).data.u8[0]; in translateToHalMetadata()
7967 rc = extractSceneMode(frame_settings, metaMode, hal_metadata); in translateToHalMetadata()
7973 if (frame_settings.exists(ANDROID_CONTROL_AE_MODE)) { in translateToHalMetadata()
7975 frame_settings.find(ANDROID_CONTROL_AE_MODE).data.u8[0]; in translateToHalMetadata()
8003 if (frame_settings.exists(ANDROID_CONTROL_AWB_MODE)) { in translateToHalMetadata()
8004 uint8_t fwk_whiteLevel = frame_settings.find(ANDROID_CONTROL_AWB_MODE).data.u8[0]; in translateToHalMetadata()
8015 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_ABERRATION_MODE)) { in translateToHalMetadata()
8017 frame_settings.find( in translateToHalMetadata()
8031 if (frame_settings.exists(ANDROID_CONTROL_AF_MODE)) { in translateToHalMetadata()
8032 uint8_t fwk_focusMode = frame_settings.find(ANDROID_CONTROL_AF_MODE).data.u8[0]; in translateToHalMetadata()
8043 if (frame_settings.exists(ANDROID_LENS_FOCUS_DISTANCE)) { in translateToHalMetadata()
8044 float focalDistance = frame_settings.find(ANDROID_LENS_FOCUS_DISTANCE).data.f[0]; in translateToHalMetadata()
8051 if (frame_settings.exists(ANDROID_CONTROL_AE_ANTIBANDING_MODE)) { in translateToHalMetadata()
8053 frame_settings.find(ANDROID_CONTROL_AE_ANTIBANDING_MODE).data.u8[0]; in translateToHalMetadata()
8065 if (frame_settings.exists(ANDROID_CONTROL_AE_EXPOSURE_COMPENSATION)) { in translateToHalMetadata()
8066 int32_t expCompensation = frame_settings.find( in translateToHalMetadata()
8078 if (frame_settings.exists(ANDROID_CONTROL_AE_LOCK)) { in translateToHalMetadata()
8079 uint8_t aeLock = frame_settings.find(ANDROID_CONTROL_AE_LOCK).data.u8[0]; in translateToHalMetadata()
8084 if (frame_settings.exists(ANDROID_CONTROL_AE_TARGET_FPS_RANGE)) { in translateToHalMetadata()
8085 rc = setHalFpsRange(frame_settings, hal_metadata); in translateToHalMetadata()
8091 if (frame_settings.exists(ANDROID_CONTROL_AWB_LOCK)) { in translateToHalMetadata()
8092 uint8_t awbLock = frame_settings.find(ANDROID_CONTROL_AWB_LOCK).data.u8[0]; in translateToHalMetadata()
8098 if (frame_settings.exists(ANDROID_CONTROL_EFFECT_MODE)) { in translateToHalMetadata()
8099 uint8_t fwk_effectMode = frame_settings.find(ANDROID_CONTROL_EFFECT_MODE).data.u8[0]; in translateToHalMetadata()
8110 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_MODE)) { in translateToHalMetadata()
8111 uint8_t colorCorrectMode = frame_settings.find(ANDROID_COLOR_CORRECTION_MODE).data.u8[0]; in translateToHalMetadata()
8118 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_GAINS)) { in translateToHalMetadata()
8122 frame_settings.find(ANDROID_COLOR_CORRECTION_GAINS).data.f[i]; in translateToHalMetadata()
8130 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_TRANSFORM)) { in translateToHalMetadata()
8137 frame_settings.find(ANDROID_COLOR_CORRECTION_TRANSFORM).data.r[num].numerator; in translateToHalMetadata()
8139 frame_settings.find(ANDROID_COLOR_CORRECTION_TRANSFORM).data.r[num].denominator; in translateToHalMetadata()
8153 if (frame_settings.exists(ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER)&& in translateToHalMetadata()
8154 frame_settings.exists(ANDROID_CONTROL_AE_PRECAPTURE_ID)) { in translateToHalMetadata()
8156 frame_settings.find(ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER).data.u8[0]; in translateToHalMetadata()
8158 frame_settings.find(ANDROID_CONTROL_AE_PRECAPTURE_ID).data.i32[0]; in translateToHalMetadata()
8168 if (frame_settings.exists(ANDROID_CONTROL_AF_TRIGGER) && in translateToHalMetadata()
8169 frame_settings.exists(ANDROID_CONTROL_AF_TRIGGER_ID)) { in translateToHalMetadata()
8172 frame_settings.find(ANDROID_CONTROL_AF_TRIGGER).data.u8[0]; in translateToHalMetadata()
8174 frame_settings.find(ANDROID_CONTROL_AF_TRIGGER_ID).data.i32[0]; in translateToHalMetadata()
8182 if (frame_settings.exists(ANDROID_DEMOSAIC_MODE)) { in translateToHalMetadata()
8183 int32_t demosaic = frame_settings.find(ANDROID_DEMOSAIC_MODE).data.u8[0]; in translateToHalMetadata()
8188 if (frame_settings.exists(ANDROID_EDGE_MODE)) { in translateToHalMetadata()
8190 edge_application.edge_mode = frame_settings.find(ANDROID_EDGE_MODE).data.u8[0]; in translateToHalMetadata()
8201 if (frame_settings.exists(ANDROID_FLASH_MODE)) { in translateToHalMetadata()
8203 if (frame_settings.exists(ANDROID_CONTROL_AE_MODE)) { in translateToHalMetadata()
8205 frame_settings.find(ANDROID_CONTROL_AE_MODE).data.u8[0]; in translateToHalMetadata()
8214 (int)frame_settings.find(ANDROID_FLASH_MODE).data.u8[0]); in translateToHalMetadata()
8226 if (frame_settings.exists(ANDROID_FLASH_FIRING_POWER)) { in translateToHalMetadata()
8227 uint8_t flashPower = frame_settings.find(ANDROID_FLASH_FIRING_POWER).data.u8[0]; in translateToHalMetadata()
8233 if (frame_settings.exists(ANDROID_FLASH_FIRING_TIME)) { in translateToHalMetadata()
8234 int64_t flashFiringTime = frame_settings.find(ANDROID_FLASH_FIRING_TIME).data.i64[0]; in translateToHalMetadata()
8241 if (frame_settings.exists(ANDROID_HOT_PIXEL_MODE)) { in translateToHalMetadata()
8242 uint8_t hotPixelMode = frame_settings.find(ANDROID_HOT_PIXEL_MODE).data.u8[0]; in translateToHalMetadata()
8249 if (frame_settings.exists(ANDROID_LENS_APERTURE)) { in translateToHalMetadata()
8250 float lensAperture = frame_settings.find( ANDROID_LENS_APERTURE).data.f[0]; in translateToHalMetadata()
8257 if (frame_settings.exists(ANDROID_LENS_FILTER_DENSITY)) { in translateToHalMetadata()
8258 float filterDensity = frame_settings.find(ANDROID_LENS_FILTER_DENSITY).data.f[0]; in translateToHalMetadata()
8265 if (frame_settings.exists(ANDROID_LENS_FOCAL_LENGTH)) { in translateToHalMetadata()
8266 float focalLength = frame_settings.find(ANDROID_LENS_FOCAL_LENGTH).data.f[0]; in translateToHalMetadata()
8273 if (frame_settings.exists(ANDROID_LENS_OPTICAL_STABILIZATION_MODE)) { in translateToHalMetadata()
8275 frame_settings.find(ANDROID_LENS_OPTICAL_STABILIZATION_MODE).data.u8[0]; in translateToHalMetadata()
8282 if (frame_settings.exists(ANDROID_CONTROL_VIDEO_STABILIZATION_MODE)) { in translateToHalMetadata()
8284 frame_settings.find(ANDROID_CONTROL_VIDEO_STABILIZATION_MODE).data.u8[0]; in translateToHalMetadata()
8292 if (frame_settings.exists(ANDROID_NOISE_REDUCTION_MODE)) { in translateToHalMetadata()
8293 uint8_t noiseRedMode = frame_settings.find(ANDROID_NOISE_REDUCTION_MODE).data.u8[0]; in translateToHalMetadata()
8300 if (frame_settings.exists(ANDROID_REPROCESS_EFFECTIVE_EXPOSURE_FACTOR)) { in translateToHalMetadata()
8302 frame_settings.find(ANDROID_REPROCESS_EFFECTIVE_EXPOSURE_FACTOR).data.f[0]; in translateToHalMetadata()
8311 if (frame_settings.exists(ANDROID_SCALER_CROP_REGION)) { in translateToHalMetadata()
8312 scalerCropRegion.left = frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[0]; in translateToHalMetadata()
8313 scalerCropRegion.top = frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[1]; in translateToHalMetadata()
8314 scalerCropRegion.width = frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[2]; in translateToHalMetadata()
8315 scalerCropRegion.height = frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[3]; in translateToHalMetadata()
8328 if (frame_settings.exists(ANDROID_SENSOR_EXPOSURE_TIME)) { in translateToHalMetadata()
8330 frame_settings.find(ANDROID_SENSOR_EXPOSURE_TIME).data.i64[0]; in translateToHalMetadata()
8338 if (frame_settings.exists(ANDROID_SENSOR_FRAME_DURATION)) { in translateToHalMetadata()
8340 frame_settings.find(ANDROID_SENSOR_FRAME_DURATION).data.i64[0]; in translateToHalMetadata()
8352 if (frame_settings.exists(ANDROID_SENSOR_SENSITIVITY)) { in translateToHalMetadata()
8353 int32_t sensorSensitivity = frame_settings.find(ANDROID_SENSOR_SENSITIVITY).data.i32[0]; in translateToHalMetadata()
8365 if (frame_settings.exists(ANDROID_SHADING_MODE)) { in translateToHalMetadata()
8366 uint8_t shadingMode = frame_settings.find(ANDROID_SHADING_MODE).data.u8[0]; in translateToHalMetadata()
8372 if (frame_settings.exists(ANDROID_STATISTICS_FACE_DETECT_MODE)) { in translateToHalMetadata()
8374 frame_settings.find(ANDROID_STATISTICS_FACE_DETECT_MODE).data.u8[0]; in translateToHalMetadata()
8388 if (frame_settings.exists(ANDROID_STATISTICS_HISTOGRAM_MODE)) { in translateToHalMetadata()
8390 frame_settings.find(ANDROID_STATISTICS_HISTOGRAM_MODE).data.u8[0]; in translateToHalMetadata()
8397 if (frame_settings.exists(ANDROID_STATISTICS_SHARPNESS_MAP_MODE)) { in translateToHalMetadata()
8399 frame_settings.find(ANDROID_STATISTICS_SHARPNESS_MAP_MODE).data.u8[0]; in translateToHalMetadata()
8406 if (frame_settings.exists(ANDROID_TONEMAP_MODE)) { in translateToHalMetadata()
8408 frame_settings.find(ANDROID_TONEMAP_MODE).data.u8[0]; in translateToHalMetadata()
8415 if (frame_settings.exists(ANDROID_TONEMAP_CURVE_GREEN) && in translateToHalMetadata()
8416 frame_settings.exists(ANDROID_TONEMAP_CURVE_BLUE) && in translateToHalMetadata()
8417 frame_settings.exists(ANDROID_TONEMAP_CURVE_RED)) { in translateToHalMetadata()
8419 tonemapCurves.tonemap_points_cnt = frame_settings.find(ANDROID_TONEMAP_CURVE_GREEN).count/2; in translateToHalMetadata()
8433 frame_settings.find(ANDROID_TONEMAP_CURVE_GREEN).data.f[point]; in translateToHalMetadata()
8445 frame_settings.find(ANDROID_TONEMAP_CURVE_BLUE).data.f[point]; in translateToHalMetadata()
8457 frame_settings.find(ANDROID_TONEMAP_CURVE_RED).data.f[point]; in translateToHalMetadata()
8469 if (frame_settings.exists(ANDROID_CONTROL_CAPTURE_INTENT)) { in translateToHalMetadata()
8470 uint8_t captureIntent = frame_settings.find(ANDROID_CONTROL_CAPTURE_INTENT).data.u8[0]; in translateToHalMetadata()
8477 if (frame_settings.exists(ANDROID_BLACK_LEVEL_LOCK)) { in translateToHalMetadata()
8478 uint8_t blackLevelLock = frame_settings.find(ANDROID_BLACK_LEVEL_LOCK).data.u8[0]; in translateToHalMetadata()
8485 if (frame_settings.exists(ANDROID_STATISTICS_LENS_SHADING_MAP_MODE)) { in translateToHalMetadata()
8487 frame_settings.find(ANDROID_STATISTICS_LENS_SHADING_MAP_MODE).data.u8[0]; in translateToHalMetadata()
8494 if (frame_settings.exists(ANDROID_CONTROL_AE_REGIONS)) { in translateToHalMetadata()
8511 if (frame_settings.exists(ANDROID_CONTROL_AF_REGIONS)) { in translateToHalMetadata()
8535 frame_settings.exists(QCAMERA3_CDS_MODE)) { in translateToHalMetadata()
8536 int32_t *fwk_cds = frame_settings.find(QCAMERA3_CDS_MODE).data.i32; in translateToHalMetadata()
8548 if (frame_settings.exists(QCAMERA3_TEMPORAL_DENOISE_ENABLE) && in translateToHalMetadata()
8549 frame_settings.exists(QCAMERA3_TEMPORAL_DENOISE_PROCESS_TYPE)) { in translateToHalMetadata()
8552 tnr.denoise_enable = frame_settings.find(QCAMERA3_TEMPORAL_DENOISE_ENABLE).data.u8[0]; in translateToHalMetadata()
8554 (cam_denoise_process_type_t)frame_settings.find( in translateToHalMetadata()
8562 if (frame_settings.exists(ANDROID_SENSOR_TEST_PATTERN_MODE)) { in translateToHalMetadata()
8564 frame_settings.find(ANDROID_SENSOR_TEST_PATTERN_MODE).data.i32[0]; in translateToHalMetadata()
8573 frame_settings.exists(ANDROID_SENSOR_TEST_PATTERN_DATA)) { in translateToHalMetadata()
8575 frame_settings.find(ANDROID_SENSOR_TEST_PATTERN_DATA).data.i32; in translateToHalMetadata()
8605 if (frame_settings.exists(ANDROID_JPEG_GPS_COORDINATES)) { in translateToHalMetadata()
8607 camera_metadata_entry_t gps_coords = frame_settings.find(ANDROID_JPEG_GPS_COORDINATES); in translateToHalMetadata()
8615 if (frame_settings.exists(ANDROID_JPEG_GPS_PROCESSING_METHOD)) { in translateToHalMetadata()
8619 frame_settings.find(ANDROID_JPEG_GPS_PROCESSING_METHOD).data.u8; in translateToHalMetadata()
8629 if (frame_settings.exists(ANDROID_JPEG_GPS_TIMESTAMP)) { in translateToHalMetadata()
8630 int64_t gps_timestamp = frame_settings.find(ANDROID_JPEG_GPS_TIMESTAMP).data.i64[0]; in translateToHalMetadata()
8637 if (frame_settings.exists(ANDROID_JPEG_ORIENTATION)) { in translateToHalMetadata()
8638 int32_t orientation = frame_settings.find(ANDROID_JPEG_ORIENTATION).data.i32[0]; in translateToHalMetadata()
8656 if (frame_settings.exists(ANDROID_JPEG_QUALITY)) { in translateToHalMetadata()
8657 uint32_t quality = (uint32_t) frame_settings.find(ANDROID_JPEG_QUALITY).data.u8[0]; in translateToHalMetadata()
8663 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_QUALITY)) { in translateToHalMetadata()
8665 frame_settings.find(ANDROID_JPEG_THUMBNAIL_QUALITY).data.u8[0]; in translateToHalMetadata()
8672 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_SIZE)) { in translateToHalMetadata()
8674 dim.width = frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32[0]; in translateToHalMetadata()
8675 dim.height = frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32[1]; in translateToHalMetadata()
8682 if (frame_settings.exists(QCAMERA3_PRIVATEDATA_REPROCESS)) { in translateToHalMetadata()
8684 camera_metadata_entry_t privatedata = frame_settings.find(QCAMERA3_PRIVATEDATA_REPROCESS); in translateToHalMetadata()
8692 if (frame_settings.exists(QCAMERA3_USE_AV_TIMER)) { in translateToHalMetadata()
8694 frame_settings.find(QCAMERA3_USE_AV_TIMER).data.u8; in translateToHalMetadata()
8707 if (frame_settings.exists(QCAMERA3_CDS_INFO)) { in translateToHalMetadata()
8709 frame_settings.find(QCAMERA3_CDS_INFO).data.u8; in translateToHalMetadata()
8718 if (frame_settings.exists(NEXUS_EXPERIMENTAL_2016_HYBRID_AE_ENABLE)) { in translateToHalMetadata()
8720 frame_settings.find(NEXUS_EXPERIMENTAL_2016_HYBRID_AE_ENABLE).data.u8; in translateToHalMetadata()
9033 const CameraMetadata &frame_settings, uint8_t metaMode, in extractSceneMode() argument
9040 frame_settings.find(ANDROID_CONTROL_SCENE_MODE); in extractSceneMode()