Lines Matching full:frame_settings
4608 CameraMetadata frame_settings;
4609 frame_settings = request->settings;
4611 if (frame_settings.exists(ANDROID_JPEG_GPS_COORDINATES))
4613 frame_settings.find(ANDROID_JPEG_GPS_COORDINATES).data.d,
4614 frame_settings.find(ANDROID_JPEG_GPS_COORDINATES).count);
4616 if (frame_settings.exists(ANDROID_JPEG_GPS_PROCESSING_METHOD))
4618 frame_settings.find(ANDROID_JPEG_GPS_PROCESSING_METHOD).data.u8,
4619 frame_settings.find(ANDROID_JPEG_GPS_PROCESSING_METHOD).count);
4621 if (frame_settings.exists(ANDROID_JPEG_GPS_TIMESTAMP))
4623 frame_settings.find(ANDROID_JPEG_GPS_TIMESTAMP).data.i64,
4624 frame_settings.find(ANDROID_JPEG_GPS_TIMESTAMP).count);
4626 if (frame_settings.exists(ANDROID_JPEG_ORIENTATION))
4628 frame_settings.find(ANDROID_JPEG_ORIENTATION).data.i32,
4629 frame_settings.find(ANDROID_JPEG_ORIENTATION).count);
4631 if (frame_settings.exists(ANDROID_JPEG_QUALITY))
4633 frame_settings.find(ANDROID_JPEG_QUALITY).data.u8,
4634 frame_settings.find(ANDROID_JPEG_QUALITY).count);
4636 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_QUALITY))
4638 frame_settings.find(ANDROID_JPEG_THUMBNAIL_QUALITY).data.u8,
4639 frame_settings.find(ANDROID_JPEG_THUMBNAIL_QUALITY).count);
4641 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_SIZE))
4643 frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32,
4644 frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).count);
4686 CameraMetadata frame_settings;
4687 frame_settings = settings;
4688 int32_t x_min = frame_settings.find(tag).data.i32[0];
4689 int32_t y_min = frame_settings.find(tag).data.i32[1];
4690 int32_t x_max = frame_settings.find(tag).data.i32[2];
4691 int32_t y_max = frame_settings.find(tag).data.i32[3];
4692 roi.weight = frame_settings.find(tag).data.i32[4];
6676 CameraMetadata frame_settings;
6677 frame_settings = request->settings;
6678 if (frame_settings.exists(QCAMERA3_CROP_COUNT_REPROCESS) &&
6679 frame_settings.exists(QCAMERA3_CROP_REPROCESS) &&
6680 frame_settings.exists(QCAMERA3_CROP_STREAM_ID_REPROCESS)) {
6682 frame_settings.find(QCAMERA3_CROP_COUNT_REPROCESS).data.i32;
6684 frame_settings.find(QCAMERA3_CROP_REPROCESS).data.i32;
6686 frame_settings.find(QCAMERA3_CROP_STREAM_ID_REPROCESS).data.i32;
6688 frame_settings.find(QCAMERA3_CROP_ROI_MAP_REPROCESS).data.i32;
6868 CameraMetadata frame_settings;
6869 frame_settings = request->settings;
6880 if (frame_settings.exists(ANDROID_CONTROL_MODE)) {
6881 uint8_t metaMode = frame_settings.find(ANDROID_CONTROL_MODE).data.u8[0];
6885 rc = extractSceneMode(frame_settings, metaMode, hal_metadata);
6891 if (frame_settings.exists(ANDROID_CONTROL_AE_MODE)) {
6893 frame_settings.find(ANDROID_CONTROL_AE_MODE).data.u8[0];
6922 if (frame_settings.exists(ANDROID_CONTROL_AWB_MODE)) {
6923 uint8_t fwk_whiteLevel = frame_settings.find(ANDROID_CONTROL_AWB_MODE).data.u8[0];
6934 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_ABERRATION_MODE)) {
6936 frame_settings.find(
6950 if (frame_settings.exists(ANDROID_CONTROL_AF_MODE)) {
6951 uint8_t fwk_focusMode = frame_settings.find(ANDROID_CONTROL_AF_MODE).data.u8[0];
6962 if (frame_settings.exists(ANDROID_LENS_FOCUS_DISTANCE)) {
6963 float focalDistance = frame_settings.find(ANDROID_LENS_FOCUS_DISTANCE).data.f[0];
6970 if (frame_settings.exists(ANDROID_CONTROL_AE_ANTIBANDING_MODE)) {
6972 frame_settings.find(ANDROID_CONTROL_AE_ANTIBANDING_MODE).data.u8[0];
6984 if (frame_settings.exists(ANDROID_CONTROL_AE_EXPOSURE_COMPENSATION)) {
6985 int32_t expCompensation = frame_settings.find(
6997 if (frame_settings.exists(ANDROID_CONTROL_AE_LOCK)) {
6998 uint8_t aeLock = frame_settings.find(ANDROID_CONTROL_AE_LOCK).data.u8[0];
7003 if (frame_settings.exists(ANDROID_CONTROL_AE_TARGET_FPS_RANGE)) {
7004 rc = setHalFpsRange(frame_settings, hal_metadata);
7010 if (frame_settings.exists(ANDROID_CONTROL_AWB_LOCK)) {
7011 uint8_t awbLock = frame_settings.find(ANDROID_CONTROL_AWB_LOCK).data.u8[0];
7017 if (frame_settings.exists(ANDROID_CONTROL_EFFECT_MODE)) {
7018 uint8_t fwk_effectMode = frame_settings.find(ANDROID_CONTROL_EFFECT_MODE).data.u8[0];
7029 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_MODE)) {
7030 uint8_t colorCorrectMode = frame_settings.find(ANDROID_COLOR_CORRECTION_MODE).data.u8[0];
7037 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_GAINS)) {
7041 frame_settings.find(ANDROID_COLOR_CORRECTION_GAINS).data.f[i];
7049 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_TRANSFORM)) {
7056 frame_settings.find(ANDROID_COLOR_CORRECTION_TRANSFORM).data.r[num].numerator;
7058 frame_settings.find(ANDROID_COLOR_CORRECTION_TRANSFORM).data.r[num].denominator;
7072 if (frame_settings.exists(ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER)&&
7073 frame_settings.exists(ANDROID_CONTROL_AE_PRECAPTURE_ID)) {
7075 frame_settings.find(ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER).data.u8[0];
7077 frame_settings.find(ANDROID_CONTROL_AE_PRECAPTURE_ID).data.i32[0];
7087 if (frame_settings.exists(ANDROID_CONTROL_AF_TRIGGER) &&
7088 frame_settings.exists(ANDROID_CONTROL_AF_TRIGGER_ID)) {
7091 frame_settings.find(ANDROID_CONTROL_AF_TRIGGER).data.u8[0];
7093 frame_settings.find(ANDROID_CONTROL_AF_TRIGGER_ID).data.i32[0];
7101 if (frame_settings.exists(ANDROID_DEMOSAIC_MODE)) {
7102 int32_t demosaic = frame_settings.find(ANDROID_DEMOSAIC_MODE).data.u8[0];
7108 if (frame_settings.exists(ANDROID_EDGE_MODE)) {
7110 edge_application.edge_mode = frame_settings.find(ANDROID_EDGE_MODE).data.u8[0];
7114 if (frame_settings.exists(ANDROID_EDGE_STRENGTH)) {
7115 uint8_t edgeStrength = frame_settings.find(ANDROID_EDGE_STRENGTH).data.u8[0];
7126 if (frame_settings.exists(ANDROID_FLASH_MODE)) {
7128 if (frame_settings.exists(ANDROID_CONTROL_AE_MODE)) {
7130 frame_settings.find(ANDROID_CONTROL_AE_MODE).data.u8[0];
7139 (int)frame_settings.find(ANDROID_FLASH_MODE).data.u8[0]);
7151 if (frame_settings.exists(ANDROID_FLASH_FIRING_POWER)) {
7152 uint8_t flashPower = frame_settings.find(ANDROID_FLASH_FIRING_POWER).data.u8[0];
7158 if (frame_settings.exists(ANDROID_FLASH_FIRING_TIME)) {
7159 int64_t flashFiringTime = frame_settings.find(ANDROID_FLASH_FIRING_TIME).data.i64[0];
7166 if (frame_settings.exists(ANDROID_HOT_PIXEL_MODE)) {
7167 uint8_t hotPixelMode = frame_settings.find(ANDROID_HOT_PIXEL_MODE).data.u8[0];
7174 if (frame_settings.exists(ANDROID_LENS_APERTURE)) {
7175 float lensAperture = frame_settings.find( ANDROID_LENS_APERTURE).data.f[0];
7182 if (frame_settings.exists(ANDROID_LENS_FILTER_DENSITY)) {
7183 float filterDensity = frame_settings.find(ANDROID_LENS_FILTER_DENSITY).data.f[0];
7190 if (frame_settings.exists(ANDROID_LENS_FOCAL_LENGTH)) {
7191 float focalLength = frame_settings.find(ANDROID_LENS_FOCAL_LENGTH).data.f[0];
7197 if (frame_settings.exists(ANDROID_LENS_OPTICAL_STABILIZATION_MODE)) {
7199 frame_settings.find(ANDROID_LENS_OPTICAL_STABILIZATION_MODE).data.u8[0];
7205 if (frame_settings.exists(ANDROID_NOISE_REDUCTION_MODE)) {
7206 uint8_t noiseRedMode = frame_settings.find(ANDROID_NOISE_REDUCTION_MODE).data.u8[0];
7213 if (frame_settings.exists(ANDROID_NOISE_REDUCTION_STRENGTH)) {
7215 frame_settings.find(ANDROID_NOISE_REDUCTION_STRENGTH).data.u8[0];
7222 if (frame_settings.exists(ANDROID_REPROCESS_EFFECTIVE_EXPOSURE_FACTOR)) {
7224 frame_settings.find(ANDROID_REPROCESS_EFFECTIVE_EXPOSURE_FACTOR).data.f[0];
7233 if (frame_settings.exists(ANDROID_SCALER_CROP_REGION)) {
7234 scalerCropRegion.left = frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[0];
7235 scalerCropRegion.top = frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[1];
7236 scalerCropRegion.width = frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[2];
7237 scalerCropRegion.height = frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[3];
7250 if (frame_settings.exists(ANDROID_SENSOR_EXPOSURE_TIME)) {
7252 frame_settings.find(ANDROID_SENSOR_EXPOSURE_TIME).data.i64[0];
7260 if (frame_settings.exists(ANDROID_SENSOR_FRAME_DURATION)) {
7262 frame_settings.find(ANDROID_SENSOR_FRAME_DURATION).data.i64[0];
7274 if (frame_settings.exists(ANDROID_SENSOR_SENSITIVITY)) {
7275 int32_t sensorSensitivity = frame_settings.find(ANDROID_SENSOR_SENSITIVITY).data.i32[0];
7287 if (frame_settings.exists(ANDROID_SHADING_MODE)) {
7288 uint8_t shadingMode = frame_settings.find(ANDROID_SHADING_MODE).data.u8[0];
7294 if (frame_settings.exists(ANDROID_SHADING_STRENGTH)) {
7295 uint8_t shadingStrength = frame_settings.find(ANDROID_SHADING_STRENGTH).data.u8[0];
7303 if (frame_settings.exists(ANDROID_STATISTICS_FACE_DETECT_MODE)) {
7305 frame_settings.find(ANDROID_STATISTICS_FACE_DETECT_MODE).data.u8[0];
7317 if (frame_settings.exists(ANDROID_STATISTICS_HISTOGRAM_MODE)) {
7319 frame_settings.find(ANDROID_STATISTICS_HISTOGRAM_MODE).data.u8[0];
7326 if (frame_settings.exists(ANDROID_STATISTICS_SHARPNESS_MAP_MODE)) {
7328 frame_settings.find(ANDROID_STATISTICS_SHARPNESS_MAP_MODE).data.u8[0];
7335 if (frame_settings.exists(ANDROID_TONEMAP_MODE)) {
7337 frame_settings.find(ANDROID_TONEMAP_MODE).data.u8[0];
7344 if (frame_settings.exists(ANDROID_TONEMAP_CURVE_GREEN) &&
7345 frame_settings.exists(ANDROID_TONEMAP_CURVE_BLUE) &&
7346 frame_settings.exists(ANDROID_TONEMAP_CURVE_RED)) {
7348 tonemapCurves.tonemap_points_cnt = frame_settings.find(ANDROID_TONEMAP_CURVE_GREEN).count/2;
7362 frame_settings.find(ANDROID_TONEMAP_CURVE_GREEN).data.f[point];
7374 frame_settings.find(ANDROID_TONEMAP_CURVE_BLUE).data.f[point];
7386 frame_settings.find(ANDROID_TONEMAP_CURVE_RED).data.f[point];
7398 if (frame_settings.exists(ANDROID_CONTROL_CAPTURE_INTENT)) {
7399 uint8_t captureIntent = frame_settings
7406 if (frame_settings.exists(ANDROID_BLACK_LEVEL_LOCK)) {
7407 uint8_t blackLevelLock = frame_settings.find(ANDROID_BLACK_LEVEL_LOCK).data.u8[0];
7414 if (frame_settings.exists(ANDROID_STATISTICS_LENS_SHADING_MAP_MODE)) {
7416 frame_settings.find(ANDROID_STATISTICS_LENS_SHADING_MAP_MODE).data.u8[0];
7423 if (frame_settings.exists(ANDROID_CONTROL_AE_REGIONS)) {
7435 if (frame_settings.exists(ANDROID_CONTROL_AF_REGIONS)) {
7448 if (frame_settings.exists(QCAMERA3_CDS_MODE)) {
7449 int32_t *cds = frame_settings.find(QCAMERA3_CDS_MODE).data.i32;
7459 if (frame_settings.exists(ANDROID_SENSOR_TEST_PATTERN_MODE)) {
7461 frame_settings.find(ANDROID_SENSOR_TEST_PATTERN_MODE).data.i32[0];
7470 frame_settings.exists(ANDROID_SENSOR_TEST_PATTERN_DATA)) {
7472 frame_settings.find(ANDROID_SENSOR_TEST_PATTERN_DATA).data.i32;
7502 if (frame_settings.exists(ANDROID_JPEG_GPS_COORDINATES)) {
7504 camera_metadata_entry_t gps_coords = frame_settings.find(ANDROID_JPEG_GPS_COORDINATES);
7512 if (frame_settings.exists(ANDROID_JPEG_GPS_PROCESSING_METHOD)) {
7516 frame_settings.find(ANDROID_JPEG_GPS_PROCESSING_METHOD).data.u8;
7526 if (frame_settings.exists(ANDROID_JPEG_GPS_TIMESTAMP)) {
7527 int64_t gps_timestamp = frame_settings.find(ANDROID_JPEG_GPS_TIMESTAMP).data.i64[0];
7534 if (frame_settings.exists(ANDROID_JPEG_ORIENTATION)) {
7535 int32_t orientation = frame_settings.find(ANDROID_JPEG_ORIENTATION).data.i32[0];
7553 if (frame_settings.exists(ANDROID_JPEG_QUALITY)) {
7554 uint32_t quality = (uint32_t) frame_settings.find(ANDROID_JPEG_QUALITY).data.u8[0];
7560 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_QUALITY)) {
7562 frame_settings.find(ANDROID_JPEG_THUMBNAIL_QUALITY).data.u8[0];
7569 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_SIZE)) {
7571 dim.width = frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32[0];
7572 dim.height = frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32[1];
7579 if (frame_settings.exists(QCAMERA3_PRIVATEDATA_REPROCESS)) {
7581 camera_metadata_entry_t privatedata = frame_settings.find(QCAMERA3_PRIVATEDATA_REPROCESS);
7589 if (frame_settings.exists(QCAMERA3_USE_AV_TIMER)) {
7591 frame_settings.find(QCAMERA3_USE_AV_TIMER).data.u8;
7871 * @frame_settings: CameraMetadata reference
7878 const CameraMetadata &frame_settings, uint8_t metaMode,
7885 frame_settings.find(ANDROID_CONTROL_SCENE_MODE);