Home
last modified time | relevance | path

Searched refs:crop_width (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3CropRegionMapper.cpp128 int32_t& crop_width, int32_t& crop_height) in toActiveArray() argument
138 crop_width = crop_width * mActiveArrayW / mSensorW; in toActiveArray()
141 boundToSize(crop_left, crop_top, crop_width, crop_height, in toActiveArray()
160 int32_t& crop_width, int32_t& crop_height) in toSensor() argument
170 crop_width = crop_width * mSensorW / mActiveArrayW; in toSensor()
174 crop_left, crop_top, crop_width, crop_height); in toSensor()
175 boundToSize(crop_left, crop_top, crop_width, crop_height, in toSensor()
178 crop_left, crop_top, crop_width, crop_height); in toSensor()
DQCamera3CropRegionMapper.h48 int32_t& crop_width, int32_t& crop_height);
50 int32_t& crop_width, int32_t& crop_height);
/hardware/qcom/sdm845/display/sdm/libs/utils/
Drect.cpp270 const bool rotated90, float *crop_width, in GetCropAndDestination() argument
283 *crop_width = crop.right - crop.left; in GetCropAndDestination()
286 std::swap(*crop_width, *crop_height); in GetCropAndDestination()
297 float crop_width = 1.0f, crop_height = 1.0f, dst_width = 1.0f, dst_height = 1.0f; in GetScaleFactor() local
299 DisplayError error = GetCropAndDestination(crop, dst, rotated90, &crop_width, &crop_height, in GetScaleFactor()
305 *scale_x = crop_width / dst_width; in GetScaleFactor()
/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp311 const bool rotated90, float *crop_width, in GetCropAndDestination() argument
324 *crop_width = crop.right - crop.left; in GetCropAndDestination()
327 std::swap(*crop_width, *crop_height); in GetCropAndDestination()
338 float crop_width = 1.0f, crop_height = 1.0f, dst_width = 1.0f, dst_height = 1.0f; in GetScaleFactor() local
340 DisplayError error = GetCropAndDestination(crop, dst, rotated90, &crop_width, &crop_height, in GetScaleFactor()
346 *scale_x = crop_width / dst_width; in GetScaleFactor()
/hardware/qcom/sm8150/display/sdm/libs/core/
Dresource_default.cpp615 float crop_width = crop->right - crop->left; in CalculateCropRects() local
660 crop_left += crop_width * left_cut_ratio; in CalculateCropRects()
662 crop_right -= crop_width * right_cut_ratio; in CalculateCropRects()
712 float crop_width = crop.right - crop.left; in ValidateDimensions() local
717 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
719 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
819 float crop_width = crop.right - crop.left; in GetScaleFactor() local
824 *scale_x = crop_width / dst_width; in GetScaleFactor()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dresource_default.cpp608 float crop_width = crop->right - crop->left; in CalculateCropRects() local
653 crop_left += crop_width * left_cut_ratio; in CalculateCropRects()
655 crop_right -= crop_width * right_cut_ratio; in CalculateCropRects()
705 float crop_width = crop.right - crop.left; in ValidateDimensions() local
710 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
712 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
812 float crop_width = crop.right - crop.left; in GetScaleFactor() local
817 *scale_x = crop_width / dst_width; in GetScaleFactor()
/hardware/qcom/display/msm8998/sdm/libs/core/
Dresource_default.cpp608 float crop_width = crop->right - crop->left; in CalculateCropRects() local
653 crop_left += crop_width * left_cut_ratio; in CalculateCropRects()
655 crop_right -= crop_width * right_cut_ratio; in CalculateCropRects()
705 float crop_width = crop.right - crop.left; in ValidateDimensions() local
710 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
712 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
812 float crop_width = crop.right - crop.left; in GetScaleFactor() local
817 *scale_x = crop_width / dst_width; in GetScaleFactor()
/hardware/qcom/display/msm8909/sdm/libs/core/
Dresource_default.cpp608 float crop_width = crop->right - crop->left; in CalculateCropRects() local
653 crop_left += crop_width * left_cut_ratio; in CalculateCropRects()
655 crop_right -= crop_width * right_cut_ratio; in CalculateCropRects()
705 float crop_width = crop.right - crop.left; in ValidateDimensions() local
710 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
712 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
812 float crop_width = crop.right - crop.left; in GetScaleFactor() local
817 *scale_x = crop_width / dst_width; in GetScaleFactor()
/hardware/qcom/sdm845/display/sdm/libs/core/
Dresource_default.cpp608 float crop_width = crop->right - crop->left; in CalculateCropRects() local
653 crop_left += crop_width * left_cut_ratio; in CalculateCropRects()
655 crop_right -= crop_width * right_cut_ratio; in CalculateCropRects()
705 float crop_width = crop.right - crop.left; in ValidateDimensions() local
710 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
712 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
812 float crop_width = crop.right - crop.left; in GetScaleFactor() local
817 *scale_x = crop_width / dst_width; in GetScaleFactor()
/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp571 float crop_width = crop->right - crop->left; in CalculateCropRects() local
616 crop_left += crop_width * left_cut_ratio; in CalculateCropRects()
618 crop_right -= crop_width * right_cut_ratio; in CalculateCropRects()
668 float crop_width = crop.right - crop.left; in ValidateDimensions() local
673 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
675 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
774 float crop_width = crop.right - crop.left; in GetScaleFactor() local
779 *scale_x = crop_width / dst_width; in GetScaleFactor()
/hardware/qcom/sdm845/display/sdm/include/utils/
Drect.h65 bool rotate90, float *crop_width, float *crop_height,
/hardware/qcom/sm8150/display/sdm/include/utils/
Drect.h67 bool rotate90, float *crop_width, float *crop_height,
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c1152 uint8_t crop_width) in mm_jpeg_update_thumbnail_crop() argument
1157 if (crop_width) { in mm_jpeg_update_thumbnail_crop()