Lines Matching refs:frame_settings

3880     CameraMetadata frame_settings;  in extractJpegMetadata()  local
3881 frame_settings = request->settings; in extractJpegMetadata()
3883 if (frame_settings.exists(ANDROID_JPEG_GPS_COORDINATES)) in extractJpegMetadata()
3885 frame_settings.find(ANDROID_JPEG_GPS_COORDINATES).data.d, in extractJpegMetadata()
3886 frame_settings.find(ANDROID_JPEG_GPS_COORDINATES).count); in extractJpegMetadata()
3888 if (frame_settings.exists(ANDROID_JPEG_GPS_PROCESSING_METHOD)) in extractJpegMetadata()
3890 frame_settings.find(ANDROID_JPEG_GPS_PROCESSING_METHOD).data.u8, in extractJpegMetadata()
3891 frame_settings.find(ANDROID_JPEG_GPS_PROCESSING_METHOD).count); in extractJpegMetadata()
3893 if (frame_settings.exists(ANDROID_JPEG_GPS_TIMESTAMP)) in extractJpegMetadata()
3895 frame_settings.find(ANDROID_JPEG_GPS_TIMESTAMP).data.i64, in extractJpegMetadata()
3896 frame_settings.find(ANDROID_JPEG_GPS_TIMESTAMP).count); in extractJpegMetadata()
3898 if (frame_settings.exists(ANDROID_JPEG_ORIENTATION)) in extractJpegMetadata()
3900 frame_settings.find(ANDROID_JPEG_ORIENTATION).data.i32, in extractJpegMetadata()
3901 frame_settings.find(ANDROID_JPEG_ORIENTATION).count); in extractJpegMetadata()
3903 if (frame_settings.exists(ANDROID_JPEG_QUALITY)) in extractJpegMetadata()
3905 frame_settings.find(ANDROID_JPEG_QUALITY).data.u8, in extractJpegMetadata()
3906 frame_settings.find(ANDROID_JPEG_QUALITY).count); in extractJpegMetadata()
3908 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_QUALITY)) in extractJpegMetadata()
3910 frame_settings.find(ANDROID_JPEG_THUMBNAIL_QUALITY).data.u8, in extractJpegMetadata()
3911 frame_settings.find(ANDROID_JPEG_THUMBNAIL_QUALITY).count); in extractJpegMetadata()
3913 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_SIZE)) { in extractJpegMetadata()
3915 thumbnail_size[0] = frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32[0]; in extractJpegMetadata()
3916 thumbnail_size[1] = frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32[1]; in extractJpegMetadata()
3917 if (frame_settings.exists(ANDROID_JPEG_ORIENTATION)) { in extractJpegMetadata()
3919 frame_settings.find(ANDROID_JPEG_ORIENTATION).data.i32[0]; in extractJpegMetadata()
3930 frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).count); in extractJpegMetadata()
3971 CameraMetadata frame_settings; in convertFromRegions() local
3972 frame_settings = settings; in convertFromRegions()
3973 int32_t x_min = frame_settings.find(tag).data.i32[0]; in convertFromRegions()
3974 int32_t y_min = frame_settings.find(tag).data.i32[1]; in convertFromRegions()
3975 int32_t x_max = frame_settings.find(tag).data.i32[2]; in convertFromRegions()
3976 int32_t y_max = frame_settings.find(tag).data.i32[3]; in convertFromRegions()
3977 roi->weight = frame_settings.find(tag).data.i32[4]; in convertFromRegions()
6084 CameraMetadata frame_settings; in setReprocParameters() local
6085 frame_settings = request->settings; in setReprocParameters()
6086 if (frame_settings.exists(QCAMERA3_CROP_COUNT_REPROCESS) && in setReprocParameters()
6087 frame_settings.exists(QCAMERA3_CROP_REPROCESS) && in setReprocParameters()
6088 frame_settings.exists(QCAMERA3_CROP_STREAM_ID_REPROCESS)) { in setReprocParameters()
6090 frame_settings.find(QCAMERA3_CROP_COUNT_REPROCESS).data.i32; in setReprocParameters()
6092 frame_settings.find(QCAMERA3_CROP_REPROCESS).data.i32; in setReprocParameters()
6094 frame_settings.find(QCAMERA3_CROP_STREAM_ID_REPROCESS).data.i32; in setReprocParameters()
6153 CameraMetadata frame_settings; in translateToHalMetadata() local
6154 frame_settings = request->settings; in translateToHalMetadata()
6165 if (frame_settings.exists(ANDROID_CONTROL_MODE)) { in translateToHalMetadata()
6166 uint8_t metaMode = frame_settings.find(ANDROID_CONTROL_MODE).data.u8[0]; in translateToHalMetadata()
6170 camera_metadata_entry entry = frame_settings.find(ANDROID_CONTROL_SCENE_MODE); in translateToHalMetadata()
6190 if (frame_settings.exists(ANDROID_CONTROL_AE_MODE)) { in translateToHalMetadata()
6192 frame_settings.find(ANDROID_CONTROL_AE_MODE).data.u8[0]; in translateToHalMetadata()
6218 if (frame_settings.exists(ANDROID_CONTROL_AWB_MODE)) { in translateToHalMetadata()
6220 frame_settings.find(ANDROID_CONTROL_AWB_MODE).data.u8[0]; in translateToHalMetadata()
6228 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_ABERRATION_MODE)) { in translateToHalMetadata()
6230 frame_settings.find( in translateToHalMetadata()
6244 if (frame_settings.exists(ANDROID_CONTROL_AF_MODE)) { in translateToHalMetadata()
6246 frame_settings.find(ANDROID_CONTROL_AF_MODE).data.u8[0]; in translateToHalMetadata()
6255 if (frame_settings.exists(ANDROID_LENS_FOCUS_DISTANCE)) { in translateToHalMetadata()
6256 float focalDistance = frame_settings.find(ANDROID_LENS_FOCUS_DISTANCE).data.f[0]; in translateToHalMetadata()
6262 if (frame_settings.exists(ANDROID_CONTROL_AE_ANTIBANDING_MODE)) { in translateToHalMetadata()
6264 frame_settings.find(ANDROID_CONTROL_AE_ANTIBANDING_MODE).data.u8[0]; in translateToHalMetadata()
6272 if (frame_settings.exists(ANDROID_CONTROL_AE_EXPOSURE_COMPENSATION)) { in translateToHalMetadata()
6273 int32_t expCompensation = frame_settings.find( in translateToHalMetadata()
6283 if (frame_settings.exists(ANDROID_CONTROL_AE_LOCK)) { in translateToHalMetadata()
6284 uint8_t aeLock = frame_settings.find(ANDROID_CONTROL_AE_LOCK).data.u8[0]; in translateToHalMetadata()
6288 if (frame_settings.exists(ANDROID_CONTROL_AE_TARGET_FPS_RANGE)) { in translateToHalMetadata()
6291 frame_settings.find(ANDROID_CONTROL_AE_TARGET_FPS_RANGE).data.i32[0]; in translateToHalMetadata()
6293 frame_settings.find(ANDROID_CONTROL_AE_TARGET_FPS_RANGE).data.i32[1]; in translateToHalMetadata()
6300 if (frame_settings.exists(ANDROID_CONTROL_AWB_LOCK)) { in translateToHalMetadata()
6302 frame_settings.find(ANDROID_CONTROL_AWB_LOCK).data.u8[0]; in translateToHalMetadata()
6307 if (frame_settings.exists(ANDROID_CONTROL_EFFECT_MODE)) { in translateToHalMetadata()
6309 frame_settings.find(ANDROID_CONTROL_EFFECT_MODE).data.u8[0]; in translateToHalMetadata()
6317 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_MODE)) { in translateToHalMetadata()
6319 frame_settings.find(ANDROID_COLOR_CORRECTION_MODE).data.u8[0]; in translateToHalMetadata()
6325 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_GAINS)) { in translateToHalMetadata()
6329 frame_settings.find(ANDROID_COLOR_CORRECTION_GAINS).data.f[i]; in translateToHalMetadata()
6336 if (frame_settings.exists(ANDROID_COLOR_CORRECTION_TRANSFORM)) { in translateToHalMetadata()
6343 frame_settings.find(ANDROID_COLOR_CORRECTION_TRANSFORM).data.r[num].numerator; in translateToHalMetadata()
6345 frame_settings.find(ANDROID_COLOR_CORRECTION_TRANSFORM).data.r[num].denominator; in translateToHalMetadata()
6358 if (frame_settings.exists(ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER)&& in translateToHalMetadata()
6359 frame_settings.exists(ANDROID_CONTROL_AE_PRECAPTURE_ID)) { in translateToHalMetadata()
6361 frame_settings.find(ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER).data.u8[0]; in translateToHalMetadata()
6363 frame_settings.find(ANDROID_CONTROL_AE_PRECAPTURE_ID).data.i32[0]; in translateToHalMetadata()
6369 if (frame_settings.exists(ANDROID_CONTROL_AF_TRIGGER) && in translateToHalMetadata()
6370 frame_settings.exists(ANDROID_CONTROL_AF_TRIGGER_ID)) { in translateToHalMetadata()
6373 frame_settings.find(ANDROID_CONTROL_AF_TRIGGER).data.u8[0]; in translateToHalMetadata()
6375 frame_settings.find(ANDROID_CONTROL_AF_TRIGGER_ID).data.i32[0]; in translateToHalMetadata()
6380 if (frame_settings.exists(ANDROID_DEMOSAIC_MODE)) { in translateToHalMetadata()
6382 frame_settings.find(ANDROID_DEMOSAIC_MODE).data.u8[0]; in translateToHalMetadata()
6387 if (frame_settings.exists(ANDROID_EDGE_MODE)) { in translateToHalMetadata()
6389 edge_application.edge_mode = frame_settings.find(ANDROID_EDGE_MODE).data.u8[0]; in translateToHalMetadata()
6393 if (frame_settings.exists(ANDROID_EDGE_STRENGTH)) { in translateToHalMetadata()
6395 frame_settings.find(ANDROID_EDGE_STRENGTH).data.u8[0]; in translateToHalMetadata()
6405 if (frame_settings.exists(ANDROID_FLASH_MODE)) { in translateToHalMetadata()
6407 if (frame_settings.exists(ANDROID_CONTROL_AE_MODE)) { in translateToHalMetadata()
6409 frame_settings.find(ANDROID_CONTROL_AE_MODE).data.u8[0]; in translateToHalMetadata()
6418 frame_settings.find(ANDROID_FLASH_MODE).data.u8[0]; in translateToHalMetadata()
6429 if (frame_settings.exists(ANDROID_FLASH_FIRING_POWER)) { in translateToHalMetadata()
6431 frame_settings.find(ANDROID_FLASH_FIRING_POWER).data.u8[0]; in translateToHalMetadata()
6436 if (frame_settings.exists(ANDROID_FLASH_FIRING_TIME)) { in translateToHalMetadata()
6438 frame_settings.find(ANDROID_FLASH_FIRING_TIME).data.i64[0]; in translateToHalMetadata()
6443 if (frame_settings.exists(ANDROID_HOT_PIXEL_MODE)) { in translateToHalMetadata()
6445 frame_settings.find(ANDROID_HOT_PIXEL_MODE).data.u8[0]; in translateToHalMetadata()
6450 if (frame_settings.exists(ANDROID_LENS_APERTURE)) { in translateToHalMetadata()
6452 frame_settings.find( ANDROID_LENS_APERTURE).data.f[0]; in translateToHalMetadata()
6457 if (frame_settings.exists(ANDROID_LENS_FILTER_DENSITY)) { in translateToHalMetadata()
6459 frame_settings.find(ANDROID_LENS_FILTER_DENSITY).data.f[0]; in translateToHalMetadata()
6464 if (frame_settings.exists(ANDROID_LENS_FOCAL_LENGTH)) { in translateToHalMetadata()
6466 frame_settings.find(ANDROID_LENS_FOCAL_LENGTH).data.f[0]; in translateToHalMetadata()
6472 if (frame_settings.exists(ANDROID_LENS_OPTICAL_STABILIZATION_MODE)) { in translateToHalMetadata()
6474 frame_settings.find(ANDROID_LENS_OPTICAL_STABILIZATION_MODE).data.u8[0]; in translateToHalMetadata()
6480 if (frame_settings.exists(ANDROID_NOISE_REDUCTION_MODE)) { in translateToHalMetadata()
6482 frame_settings.find(ANDROID_NOISE_REDUCTION_MODE).data.u8[0]; in translateToHalMetadata()
6488 if (frame_settings.exists(ANDROID_NOISE_REDUCTION_STRENGTH)) { in translateToHalMetadata()
6490 frame_settings.find(ANDROID_NOISE_REDUCTION_STRENGTH).data.u8[0]; in translateToHalMetadata()
6496 if (frame_settings.exists(ANDROID_REPROCESS_EFFECTIVE_EXPOSURE_FACTOR)) { in translateToHalMetadata()
6498 frame_settings.find(ANDROID_REPROCESS_EFFECTIVE_EXPOSURE_FACTOR).data.f[0]; in translateToHalMetadata()
6506 if (frame_settings.exists(ANDROID_SCALER_CROP_REGION)) { in translateToHalMetadata()
6508 frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[0]; in translateToHalMetadata()
6510 frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[1]; in translateToHalMetadata()
6512 frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[2]; in translateToHalMetadata()
6514 frame_settings.find(ANDROID_SCALER_CROP_REGION).data.i32[3]; in translateToHalMetadata()
6521 if (frame_settings.exists(ANDROID_SENSOR_EXPOSURE_TIME)) { in translateToHalMetadata()
6523 frame_settings.find(ANDROID_SENSOR_EXPOSURE_TIME).data.i64[0]; in translateToHalMetadata()
6530 if (frame_settings.exists(ANDROID_SENSOR_FRAME_DURATION)) { in translateToHalMetadata()
6532 frame_settings.find(ANDROID_SENSOR_FRAME_DURATION).data.i64[0]; in translateToHalMetadata()
6543 if (frame_settings.exists(ANDROID_SENSOR_SENSITIVITY)) { in translateToHalMetadata()
6545 frame_settings.find(ANDROID_SENSOR_SENSITIVITY).data.i32[0]; in translateToHalMetadata()
6560 if (frame_settings.exists(ANDROID_SHADING_MODE)) { in translateToHalMetadata()
6562 frame_settings.find(ANDROID_SHADING_MODE).data.u8[0]; in translateToHalMetadata()
6567 if (frame_settings.exists(ANDROID_SHADING_STRENGTH)) { in translateToHalMetadata()
6569 frame_settings.find(ANDROID_SHADING_STRENGTH).data.u8[0]; in translateToHalMetadata()
6574 if (frame_settings.exists(ANDROID_STATISTICS_FACE_DETECT_MODE)) { in translateToHalMetadata()
6576 frame_settings.find(ANDROID_STATISTICS_FACE_DETECT_MODE).data.u8[0]; in translateToHalMetadata()
6585 if (frame_settings.exists(ANDROID_STATISTICS_HISTOGRAM_MODE)) { in translateToHalMetadata()
6587 frame_settings.find(ANDROID_STATISTICS_HISTOGRAM_MODE).data.u8[0]; in translateToHalMetadata()
6593 if (frame_settings.exists(ANDROID_STATISTICS_SHARPNESS_MAP_MODE)) { in translateToHalMetadata()
6595 frame_settings.find(ANDROID_STATISTICS_SHARPNESS_MAP_MODE).data.u8[0]; in translateToHalMetadata()
6601 if (frame_settings.exists(ANDROID_TONEMAP_MODE)) { in translateToHalMetadata()
6603 frame_settings.find(ANDROID_TONEMAP_MODE).data.u8[0]; in translateToHalMetadata()
6610 if (frame_settings.exists(ANDROID_TONEMAP_CURVE_GREEN) && in translateToHalMetadata()
6611 frame_settings.exists(ANDROID_TONEMAP_CURVE_BLUE) && in translateToHalMetadata()
6612 frame_settings.exists(ANDROID_TONEMAP_CURVE_RED)) { in translateToHalMetadata()
6614 tonemapCurves.tonemap_points_cnt = frame_settings.find(ANDROID_TONEMAP_CURVE_GREEN).count/2; in translateToHalMetadata()
6628 frame_settings.find(ANDROID_TONEMAP_CURVE_GREEN).data.f[point]; in translateToHalMetadata()
6640 frame_settings.find(ANDROID_TONEMAP_CURVE_BLUE).data.f[point]; in translateToHalMetadata()
6652 frame_settings.find(ANDROID_TONEMAP_CURVE_RED).data.f[point]; in translateToHalMetadata()
6663 if (frame_settings.exists(ANDROID_CONTROL_CAPTURE_INTENT)) { in translateToHalMetadata()
6665 frame_settings.find(ANDROID_CONTROL_CAPTURE_INTENT).data.u8[0]; in translateToHalMetadata()
6670 if (frame_settings.exists(ANDROID_BLACK_LEVEL_LOCK)) { in translateToHalMetadata()
6672 frame_settings.find(ANDROID_BLACK_LEVEL_LOCK).data.u8[0]; in translateToHalMetadata()
6677 if (frame_settings.exists(ANDROID_STATISTICS_LENS_SHADING_MAP_MODE)) { in translateToHalMetadata()
6679 frame_settings.find(ANDROID_STATISTICS_LENS_SHADING_MAP_MODE).data.u8[0]; in translateToHalMetadata()
6684 if (frame_settings.exists(ANDROID_CONTROL_AE_REGIONS)) { in translateToHalMetadata()
6697 if (frame_settings.exists(ANDROID_CONTROL_AF_REGIONS)) { in translateToHalMetadata()
6711 if (frame_settings.exists(QCAMERA3_CDS_MODE)) { in translateToHalMetadata()
6713 frame_settings.find(QCAMERA3_CDS_MODE).data.i32; in translateToHalMetadata()
6723 if (frame_settings.exists(ANDROID_SENSOR_TEST_PATTERN_MODE)) { in translateToHalMetadata()
6725 … uint32_t fwk_testPatternMode = frame_settings.find(ANDROID_SENSOR_TEST_PATTERN_MODE).data.i32[0]; in translateToHalMetadata()
6732 frame_settings.exists(ANDROID_SENSOR_TEST_PATTERN_DATA)) { in translateToHalMetadata()
6733 int32_t* fwk_testPatternData = frame_settings.find( in translateToHalMetadata()
6758 if (frame_settings.exists(ANDROID_JPEG_GPS_COORDINATES)) { in translateToHalMetadata()
6760 frame_settings.find(ANDROID_JPEG_GPS_COORDINATES).data.d; in translateToHalMetadata()
6764 if (frame_settings.exists(ANDROID_JPEG_GPS_PROCESSING_METHOD)) { in translateToHalMetadata()
6767 frame_settings.find(ANDROID_JPEG_GPS_PROCESSING_METHOD).data.u8; in translateToHalMetadata()
6773 if (frame_settings.exists(ANDROID_JPEG_GPS_TIMESTAMP)) { in translateToHalMetadata()
6775 frame_settings.find(ANDROID_JPEG_GPS_TIMESTAMP).data.i64[0]; in translateToHalMetadata()
6779 if (frame_settings.exists(ANDROID_JPEG_ORIENTATION)) { in translateToHalMetadata()
6781 frame_settings.find(ANDROID_JPEG_ORIENTATION).data.i32[0]; in translateToHalMetadata()
6797 if (frame_settings.exists(ANDROID_JPEG_QUALITY)) { in translateToHalMetadata()
6799 frame_settings.find(ANDROID_JPEG_QUALITY).data.u8[0]; in translateToHalMetadata()
6803 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_QUALITY)) { in translateToHalMetadata()
6805 frame_settings.find(ANDROID_JPEG_THUMBNAIL_QUALITY).data.u8[0]; in translateToHalMetadata()
6809 if (frame_settings.exists(ANDROID_JPEG_THUMBNAIL_SIZE)) { in translateToHalMetadata()
6811 dim.width = frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32[0]; in translateToHalMetadata()
6812 dim.height = frame_settings.find(ANDROID_JPEG_THUMBNAIL_SIZE).data.i32[1]; in translateToHalMetadata()
6817 if (frame_settings.exists(QCAMERA3_PRIVATEDATA_REPROCESS)) { in translateToHalMetadata()
6819 frame_settings.find(QCAMERA3_PRIVATEDATA_REPROCESS).data.i32; in translateToHalMetadata()
6824 if (frame_settings.exists(QCAMERA3_USE_AV_TIMER)) { in translateToHalMetadata()
6826 frame_settings.find(QCAMERA3_USE_AV_TIMER).data.u8; in translateToHalMetadata()