/hardware/qcom/sm8150/display/sdm/libs/core/ |
D | resource_default.cpp | 753 float scale_y = 1.0f; in ValidateScaling() local 755 error = GetScaleFactor(crop, dst, &scale_x, &scale_y); in ValidateScaling() 760 error = ValidateDownScaling(scale_x, scale_y, (layout != kLinear)); in ValidateScaling() 765 error = ValidateUpScaling(scale_x, scale_y); in ValidateScaling() 773 DisplayError ResourceDefault::ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled) { in ValidateDownScaling() argument 774 if ((UINT32(scale_x) > 1) || (UINT32(scale_y) > 1)) { in ValidateDownScaling() 782 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateDownScaling() 785 "has_deci = %d", scale_x, scale_y, hw_res_info_.has_decimation); in ValidateDownScaling() 790 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y); in ValidateDownScaling() 795 DisplayError ResourceDefault::ValidateUpScaling(float scale_x, float scale_y) { in ValidateUpScaling() argument [all …]
|
D | resource_default.h | 132 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled); 133 DisplayError ValidateUpScaling(float scale_x, float scale_y); 135 float *scale_y);
|
D | display_base.cpp | 1649 float scale_y = FLOAT(height / display_height); in ValidateScaling() local 1651 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateScaling() 1661 if (UINT32(scale_y) < 1 && scale_y > 0.0f) { in ValidateScaling() 1662 if ((1.0f / scale_y) > max_scale_up) { in ValidateScaling()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | resource_default.cpp | 746 float scale_y = 1.0f; in ValidateScaling() local 748 error = GetScaleFactor(crop, dst, &scale_x, &scale_y); in ValidateScaling() 753 error = ValidateDownScaling(scale_x, scale_y, (layout != kLinear)); in ValidateScaling() 758 error = ValidateUpScaling(scale_x, scale_y); in ValidateScaling() 766 DisplayError ResourceDefault::ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled) { in ValidateDownScaling() argument 767 if ((UINT32(scale_x) > 1) || (UINT32(scale_y) > 1)) { in ValidateDownScaling() 775 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateDownScaling() 778 "has_deci = %d", scale_x, scale_y, hw_res_info_.has_decimation); in ValidateDownScaling() 783 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y); in ValidateDownScaling() 788 DisplayError ResourceDefault::ValidateUpScaling(float scale_x, float scale_y) { in ValidateUpScaling() argument [all …]
|
D | resource_default.h | 127 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled); 128 DisplayError ValidateUpScaling(float scale_x, float scale_y); 130 float *scale_y);
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | resource_default.cpp | 746 float scale_y = 1.0f; in ValidateScaling() local 748 error = GetScaleFactor(crop, dst, &scale_x, &scale_y); in ValidateScaling() 753 error = ValidateDownScaling(scale_x, scale_y, (layout != kLinear)); in ValidateScaling() 758 error = ValidateUpScaling(scale_x, scale_y); in ValidateScaling() 766 DisplayError ResourceDefault::ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled) { in ValidateDownScaling() argument 767 if ((UINT32(scale_x) > 1) || (UINT32(scale_y) > 1)) { in ValidateDownScaling() 775 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateDownScaling() 778 "has_deci = %d", scale_x, scale_y, hw_res_info_.has_decimation); in ValidateDownScaling() 783 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y); in ValidateDownScaling() 788 DisplayError ResourceDefault::ValidateUpScaling(float scale_x, float scale_y) { in ValidateUpScaling() argument [all …]
|
D | resource_default.h | 126 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled); 127 DisplayError ValidateUpScaling(float scale_x, float scale_y); 129 float *scale_y);
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | resource_default.cpp | 746 float scale_y = 1.0f; in ValidateScaling() local 748 error = GetScaleFactor(crop, dst, &scale_x, &scale_y); in ValidateScaling() 753 error = ValidateDownScaling(scale_x, scale_y, (layout != kLinear)); in ValidateScaling() 758 error = ValidateUpScaling(scale_x, scale_y); in ValidateScaling() 766 DisplayError ResourceDefault::ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled) { in ValidateDownScaling() argument 767 if ((UINT32(scale_x) > 1) || (UINT32(scale_y) > 1)) { in ValidateDownScaling() 775 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateDownScaling() 778 "has_deci = %d", scale_x, scale_y, hw_res_info_.has_decimation); in ValidateDownScaling() 783 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y); in ValidateDownScaling() 788 DisplayError ResourceDefault::ValidateUpScaling(float scale_x, float scale_y) { in ValidateUpScaling() argument [all …]
|
D | resource_default.h | 127 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled); 128 DisplayError ValidateUpScaling(float scale_x, float scale_y); 130 float *scale_y);
|
D | display_base.cpp | 1488 float scale_y = FLOAT(height / display_height); in ValidateScaling() local 1490 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateScaling() 1500 if (UINT32(scale_y) < 1 && scale_y > 0.0f) { in ValidateScaling() 1501 if ((1.0f / scale_y) > max_scale_up) { in ValidateScaling()
|
/hardware/qcom/sdm845/display/sdm/libs/core/ |
D | resource_default.cpp | 746 float scale_y = 1.0f; in ValidateScaling() local 748 error = GetScaleFactor(crop, dst, &scale_x, &scale_y); in ValidateScaling() 753 error = ValidateDownScaling(scale_x, scale_y, (layout != kLinear)); in ValidateScaling() 758 error = ValidateUpScaling(scale_x, scale_y); in ValidateScaling() 766 DisplayError ResourceDefault::ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled) { in ValidateDownScaling() argument 767 if ((UINT32(scale_x) > 1) || (UINT32(scale_y) > 1)) { in ValidateDownScaling() 775 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateDownScaling() 778 "has_deci = %d", scale_x, scale_y, hw_res_info_.has_decimation); in ValidateDownScaling() 783 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y); in ValidateDownScaling() 788 DisplayError ResourceDefault::ValidateUpScaling(float scale_x, float scale_y) { in ValidateUpScaling() argument [all …]
|
D | resource_default.h | 127 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled); 128 DisplayError ValidateUpScaling(float scale_x, float scale_y); 130 float *scale_y);
|
D | display_base.cpp | 1451 float scale_y = FLOAT(height / display_height); in ValidateScaling() local 1453 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateScaling() 1463 if (UINT32(scale_y) < 1 && scale_y > 0.0f) { in ValidateScaling() 1464 if ((1.0f / scale_y) > max_scale_up) { in ValidateScaling()
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | resource_default.cpp | 708 float scale_y = 1.0f; in ValidateScaling() local 710 error = GetScaleFactor(crop, dst, &scale_x, &scale_y); in ValidateScaling() 715 error = ValidateDownScaling(scale_x, scale_y, ubwc_tiled); in ValidateScaling() 720 error = ValidateUpScaling(scale_x, scale_y); in ValidateScaling() 728 DisplayError ResourceDefault::ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled) { in ValidateDownScaling() argument 729 if ((UINT32(scale_x) > 1) || (UINT32(scale_y) > 1)) { in ValidateDownScaling() 737 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateDownScaling() 740 "has_deci = %d", scale_x, scale_y, hw_res_info_.has_decimation); in ValidateDownScaling() 745 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y); in ValidateDownScaling() 750 DisplayError ResourceDefault::ValidateUpScaling(float scale_x, float scale_y) { in ValidateUpScaling() argument [all …]
|
D | resource_default.h | 120 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled); 121 DisplayError ValidateUpScaling(float scale_x, float scale_y); 123 float *scale_y);
|
/hardware/qcom/sdm845/display/sdm/include/utils/ |
D | rect.h | 68 float *scale_x, float *scale_y);
|
/hardware/qcom/sm8150/display/sdm/include/utils/ |
D | rect.h | 70 float *scale_x, float *scale_y);
|
/hardware/qcom/sdm845/display/sdm/libs/utils/ |
D | rect.cpp | 296 bool rotated90, float *scale_x, float *scale_y) { in GetScaleFactor() argument 306 *scale_y = crop_height / dst_height; in GetScaleFactor()
|
/hardware/qcom/sm8150/display/sdm/libs/utils/ |
D | rect.cpp | 337 bool rotated90, float *scale_x, float *scale_y) { in GetScaleFactor() argument 347 *scale_y = crop_height / dst_height; in GetScaleFactor()
|
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 762 float scale_y = FLOAT(display_attributes_.y_pixels) / FLOAT(mixer_attributes.height); in SetMixerAttributes() local 764 if (scale_x > max_scale_up || scale_y > max_scale_up) { in SetMixerAttributes() 768 scale_x, scale_y, max_scale_up); in SetMixerAttributes()
|
/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 1011 float scale_y = FLOAT(display_attributes_.y_pixels) / FLOAT(mixer_attributes.height); in SetMixerAttributes() local 1013 if (scale_x > max_scale_up || scale_y > max_scale_up) { in SetMixerAttributes() 1017 scale_x, scale_y, max_scale_up); in SetMixerAttributes()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 1012 float scale_y = FLOAT(display_attributes_.y_pixels) / FLOAT(mixer_attributes.height); in SetMixerAttributes() local 1014 if (scale_x > max_scale_up || scale_y > max_scale_up) { in SetMixerAttributes() 1018 scale_x, scale_y, max_scale_up); in SetMixerAttributes()
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_device.cpp | 1183 float scale_y = FLOAT(display_attributes_.y_pixels) / FLOAT(mixer_attributes.height); in SetMixerAttributes() local 1185 if (scale_x > max_scale_up || scale_y > max_scale_up) { in SetMixerAttributes() 1187 "max_scale_up %f", scale_x, scale_y, max_scale_up); in SetMixerAttributes()
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_device.cpp | 1325 float scale_y = FLOAT(display_attributes_.y_pixels) / FLOAT(mixer_attributes.height); in SetMixerAttributes() local 1327 if (scale_x > max_scale_up || scale_y > max_scale_up) { in SetMixerAttributes() 1329 "limit scale_x %f scale_y %f max_scale_up %f", scale_x, scale_y, max_scale_up); in SetMixerAttributes()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_device.cpp | 1334 float scale_y = FLOAT(display_attributes_.y_pixels) / FLOAT(mixer_attributes.height); in SetMixerAttributes() local 1336 if (scale_x > max_scale_up || scale_y > max_scale_up) { in SetMixerAttributes() 1338 "limit scale_x %f scale_y %f max_scale_up %f", scale_x, scale_y, max_scale_up); in SetMixerAttributes()
|