/hardware/qcom/sm8150/display/sdm/libs/core/ |
D | resource_default.cpp | 752 float scale_x = 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); 134 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
D | display_base.cpp | 1648 float scale_x = FLOAT(width / display_width); in ValidateScaling() local 1651 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateScaling() 1655 if (UINT32(scale_x) < 1 && scale_x > 0.0f) { in ValidateScaling() 1656 if ((1.0f / scale_x) > max_scale_up) { in ValidateScaling()
|
/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/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/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/sdm845/display/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 | 1450 float scale_x = FLOAT(width / display_width); in ValidateScaling() local 1453 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateScaling() 1457 if (UINT32(scale_x) < 1 && scale_x > 0.0f) { in ValidateScaling() 1458 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/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 305 *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/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()
|
/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()
|