/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | resource_default.cpp | 745 float scale_x = 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); 128 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | resource_default.cpp | 745 float scale_x = 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); 129 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
/hardware/qcom/sm8150/display/sdm/libs/core/ |
D | resource_default.cpp | 737 float scale_x = 1.0f; in ValidateScaling() local 740 error = GetScaleFactor(crop, dst, &scale_x, &scale_y); in ValidateScaling() 745 error = ValidateDownScaling(scale_x, scale_y, (layout != kLinear)); in ValidateScaling() 750 error = ValidateUpScaling(scale_x, scale_y); in ValidateScaling() 758 DisplayError ResourceDefault::ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled) { in ValidateDownScaling() argument 759 if ((UINT32(scale_x) > 1) || (UINT32(scale_y) > 1)) { in ValidateDownScaling() 767 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateDownScaling() 770 "has_deci = %d", scale_x, scale_y, hw_res_info_.has_decimation); in ValidateDownScaling() 775 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y); in ValidateDownScaling() 780 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); 134 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
D | display_base.cpp | 1733 float scale_x = FLOAT(width / display_width); in ValidateScaling() local 1736 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateScaling() 1740 if (UINT32(scale_x) < 1 && scale_x > 0.0f) { in ValidateScaling() 1741 if ((1.0f / scale_x) > max_scale_up) { in ValidateScaling()
|
/hardware/qcom/sm7250/display/sdm/libs/core/ |
D | resource_default.cpp | 734 float scale_x = 1.0f; in ValidateScaling() local 737 error = GetScaleFactor(crop, dst, &scale_x, &scale_y); in ValidateScaling() 742 error = ValidateDownScaling(scale_x, scale_y, (layout != kLinear)); in ValidateScaling() 747 error = ValidateUpScaling(scale_x, scale_y); in ValidateScaling() 755 DisplayError ResourceDefault::ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled) { in ValidateDownScaling() argument 756 if ((UINT32(scale_x) > 1) || (UINT32(scale_y) > 1)) { in ValidateDownScaling() 764 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateDownScaling() 767 "has_deci = %d", scale_x, scale_y, hw_res_info_.has_decimation); in ValidateDownScaling() 772 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y); in ValidateDownScaling() 777 DisplayError ResourceDefault::ValidateUpScaling(float scale_x, float scale_y) { in ValidateUpScaling() argument [all …]
|
D | resource_default.h | 136 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled); 137 DisplayError ValidateUpScaling(float scale_x, float scale_y); 138 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
D | display_base.cpp | 2000 float scale_x = FLOAT(width / display_width); in ValidateScaling() local 2003 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateScaling() 2007 if (UINT32(scale_x) < 1 && scale_x > 0.0f) { in ValidateScaling() 2008 if ((1.0f / scale_x) > max_scale_up) { in ValidateScaling()
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | resource_default.cpp | 707 float scale_x = 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); 122 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | resource_default.cpp | 745 float scale_x = 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); 129 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
D | display_base.cpp | 1487 float scale_x = FLOAT(width / display_width); in ValidateScaling() local 1490 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateScaling() 1494 if (UINT32(scale_x) < 1 && scale_x > 0.0f) { in ValidateScaling() 1495 if ((1.0f / scale_x) > max_scale_up) { in ValidateScaling()
|
/hardware/qcom/sm7250/display/sdm/include/utils/ |
D | rect.h | 70 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/sm7250/display/sdm/libs/utils/ |
D | rect.cpp | 338 bool rotated90, float *scale_x, float *scale_y) { in GetScaleFactor() argument 347 *scale_x = crop_width / dst_width; in GetScaleFactor()
|
/hardware/qcom/sm8150/display/sdm/libs/utils/ |
D | rect.cpp | 337 bool rotated90, float *scale_x, float *scale_y) { in GetScaleFactor() argument 346 *scale_x = crop_width / dst_width; in GetScaleFactor()
|
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 761 float scale_x = FLOAT(display_attributes_.x_pixels) / FLOAT(mixer_attributes.width); 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 | 1010 float scale_x = FLOAT(display_attributes_.x_pixels) / FLOAT(mixer_attributes.width); 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 | 1011 float scale_x = FLOAT(display_attributes_.x_pixels) / FLOAT(mixer_attributes.width); 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 | 1182 float scale_x = FLOAT(display_attributes_.x_pixels) / FLOAT(mixer_attributes.width); 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/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_device.cpp | 1333 float scale_x = FLOAT(display_attributes_.x_pixels) / FLOAT(mixer_attributes.width); 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()
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_device.cpp | 1324 float scale_x = FLOAT(display_attributes_.x_pixels) / FLOAT(mixer_attributes.width); 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()
|