/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3CropRegionMapper.cpp | 128 int32_t& crop_width, int32_t& crop_height) in toActiveArray() argument 139 crop_height = crop_height * mActiveArrayH / mSensorH; 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 171 crop_height = crop_height * mSensorH / mActiveArrayH; 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()
|
D | QCamera3CropRegionMapper.h | 48 int32_t& crop_width, int32_t& crop_height); 50 int32_t& crop_width, int32_t& crop_height);
|
/hardware/qcom/sdm845/display/sdm/libs/utils/ |
D | rect.cpp | 271 float *crop_height, float *dst_width, in GetCropAndDestination() argument 284 *crop_height = crop.bottom - crop.top; 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() 306 *scale_y = crop_height / dst_height; in GetScaleFactor()
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | resource_default.cpp | 572 float crop_height = crop->bottom - crop->top; in CalculateCropRects() local 617 crop_top += crop_height * top_cut_ratio; in CalculateCropRects() 619 crop_bottom -= crop_height * bottom_cut_ratio; in CalculateCropRects() 669 float crop_height = crop.bottom - crop.top; 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() 775 float crop_height = crop.bottom - crop.top; in GetScaleFactor() local 780 *scale_y = crop_height / dst_height; in GetScaleFactor()
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | resource_default.cpp | 609 float crop_height = crop->bottom - crop->top; in CalculateCropRects() local 654 crop_top += crop_height * top_cut_ratio; in CalculateCropRects() 656 crop_bottom -= crop_height * bottom_cut_ratio; in CalculateCropRects() 706 float crop_height = crop.bottom - crop.top; 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() 813 float crop_height = crop.bottom - crop.top; in GetScaleFactor() local 818 *scale_y = crop_height / dst_height; in GetScaleFactor()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | resource_default.cpp | 609 float crop_height = crop->bottom - crop->top; in CalculateCropRects() local 654 crop_top += crop_height * top_cut_ratio; in CalculateCropRects() 656 crop_bottom -= crop_height * bottom_cut_ratio; in CalculateCropRects() 706 float crop_height = crop.bottom - crop.top; 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() 813 float crop_height = crop.bottom - crop.top; in GetScaleFactor() local 818 *scale_y = crop_height / dst_height; in GetScaleFactor()
|
/hardware/qcom/sdm845/display/sdm/libs/core/ |
D | resource_default.cpp | 609 float crop_height = crop->bottom - crop->top; in CalculateCropRects() local 654 crop_top += crop_height * top_cut_ratio; in CalculateCropRects() 656 crop_bottom -= crop_height * bottom_cut_ratio; in CalculateCropRects() 706 float crop_height = crop.bottom - crop.top; 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() 813 float crop_height = crop.bottom - crop.top; in GetScaleFactor() local 818 *scale_y = crop_height / dst_height; in GetScaleFactor()
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | resource_default.cpp | 609 float crop_height = crop->bottom - crop->top; in CalculateCropRects() local 654 crop_top += crop_height * top_cut_ratio; in CalculateCropRects() 656 crop_bottom -= crop_height * bottom_cut_ratio; in CalculateCropRects() 706 float crop_height = crop.bottom - crop.top; 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() 813 float crop_height = crop.bottom - crop.top; in GetScaleFactor() local 818 *scale_y = crop_height / dst_height; in GetScaleFactor()
|
/hardware/qcom/sdm845/display/sdm/include/utils/ |
D | rect.h | 65 bool rotate90, float *crop_width, float *crop_height,
|