/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3CropRegionMapper.cpp | 131 int32_t& crop_width, int32_t& crop_height, float zoom_ratio) in toActiveArray() argument 147 float height = crop_height * mActiveArrayH / mSensorH; in toActiveArray() 160 crop_height = std::round(height); in toActiveArray() 162 boundToSize(crop_left, crop_top, crop_width, crop_height, in toActiveArray() 182 int32_t& crop_width, int32_t& crop_height, float zoom_ratio) in toSensor() argument 190 applyZoomRatioHelper(crop_left, crop_top, crop_width, crop_height, zoom_ratio, in toSensor() 212 int32_t& crop_width, int32_t& crop_height, float zoom_ratio, bool to_sensor) in applyZoomRatioHelper() argument 227 float height = crop_height / zoom_ratio; in applyZoomRatioHelper() 240 crop_height = std::round(height); in applyZoomRatioHelper() 243 crop_left, crop_top, crop_width, crop_height); in applyZoomRatioHelper() [all …]
|
D | QCamera3CropRegionMapper.h | 48 int32_t& crop_width, int32_t& crop_height, float zoom_ratio); 50 int32_t& crop_width, int32_t& crop_height, float zoom_ratio); 58 int32_t& crop_width, int32_t& crop_height, float zoom_ratio); 70 int32_t& crop_width, int32_t& crop_height, float zoom_ratio,
|
/hardware/google/gchips/include/ |
D | csc.h | 127 unsigned int crop_height; member 378 unsigned int *crop_height, 423 unsigned int crop_height, 464 unsigned int *crop_height, 509 unsigned int crop_height,
|
/hardware/google/graphics/common/libscaler/include/ |
D | exynos_scaler.h | 277 unsigned int crop_height, 331 unsigned int crop_height, 485 unsigned int crop_height; member
|
/hardware/google/graphics/common/libgscaler/include/ |
D | exynos_gscaler.h | 182 unsigned int crop_height, 232 unsigned int 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/sm8150/display/sdm/libs/utils/ |
D | rect.cpp | 312 float *crop_height, float *dst_width, in GetCropAndDestination() argument 325 *crop_height = crop.bottom - crop.top; 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() 347 *scale_y = crop_height / dst_height; in GetScaleFactor()
|
/hardware/qcom/sm7250/display/sdm/libs/utils/ |
D | rect.cpp | 313 float *crop_height, float *dst_width, in GetCropAndDestination() argument 326 *crop_height = crop.bottom - crop.top; in GetCropAndDestination() 328 std::swap(*crop_width, *crop_height); in GetCropAndDestination() 339 float crop_width = 1.0f, crop_height = 1.0f, dst_width = 1.0f, dst_height = 1.0f; in GetScaleFactor() local 341 DisplayError error = GetCropAndDestination(crop, dst, rotated90, &crop_width, &crop_height, in GetScaleFactor() 348 *scale_y = crop_height / dst_height; in GetScaleFactor()
|
/hardware/google/graphics/common/libgscaler/ |
D | libgscaler.cpp | 175 unsigned int crop_height, in exynos_gsc_set_src_format() argument 192 gsc->src_info.crop_height = crop_height; in exynos_gsc_set_src_format() 210 unsigned int crop_height, in exynos_gsc_set_dst_format() argument 228 gsc->dst_info.crop_height = crop_height; in exynos_gsc_set_dst_format()
|
/hardware/google/graphics/common/libscaler/ |
D | libscaler.cpp | 209 pxinfo->src.crop_width, pxinfo->src.crop_height)) in exynos_sc_copy_pixels() 213 pxinfo->dst.crop_width, pxinfo->dst.crop_height)) in exynos_sc_copy_pixels() 322 unsigned int crop_height, in exynos_sc_set_src_format() argument 339 return sc->SetSrcCrop(crop_left, crop_top, crop_width, crop_height) ? 0 : -1; in exynos_sc_set_src_format() 349 unsigned int crop_height, in exynos_sc_set_dst_format() argument 366 if (!sc->SetDstCrop(crop_left, crop_top, crop_width, crop_height)) in exynos_sc_set_dst_format()
|
/hardware/qcom/sm7250/display/sdm/libs/core/ |
D | resource_default.cpp | 598 float crop_height = crop->bottom - crop->top; in CalculateCropRects() local 643 crop_top += crop_height * top_cut_ratio; in CalculateCropRects() 645 crop_bottom -= crop_height * bottom_cut_ratio; in CalculateCropRects() 695 float crop_height = crop.bottom - crop.top; in ValidateDimensions() local 699 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions() 701 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions() 802 float crop_height = crop.bottom - crop.top; in GetScaleFactor() local 807 *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/sm8150/display/sdm/libs/core/ |
D | resource_default.cpp | 601 float crop_height = crop->bottom - crop->top; in CalculateCropRects() local 646 crop_top += crop_height * top_cut_ratio; in CalculateCropRects() 648 crop_bottom -= crop_height * bottom_cut_ratio; in CalculateCropRects() 698 float crop_height = crop.bottom - crop.top; in ValidateDimensions() local 702 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions() 704 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions() 805 float crop_height = crop.bottom - crop.top; in GetScaleFactor() local 810 *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/sdm845/display/sdm/include/utils/ |
D | rect.h | 65 bool rotate90, float *crop_width, float *crop_height,
|
/hardware/qcom/sm8150/display/sdm/include/utils/ |
D | rect.h | 67 bool rotate90, float *crop_width, float *crop_height,
|
/hardware/qcom/sm7250/display/sdm/include/utils/ |
D | rect.h | 67 bool rotate90, float *crop_width, float *crop_height,
|
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/ |
D | ExifUtils.h | 82 virtual bool SetDigitalZoomRatio(uint32_t crop_width, uint32_t crop_height,
|
D | ExifUtils.cpp | 80 virtual bool SetDigitalZoomRatio(uint32_t crop_width, uint32_t crop_height, 367 uint32_t crop_height, in SetDigitalZoomRatio() argument 372 (crop_height == 0) ? 1.0 : 1.0 * sensor_height / crop_height; in SetDigitalZoomRatio()
|
/hardware/google/gchips/gralloc3/src/ |
D | gralloc_buffer_priv.h | 34 int crop_height; member
|
/hardware/google/graphics/common/libacryl/local_include/uapi/ |
D | g2d.h | 299 uint16_t crop_height; member
|