Home
last modified time | relevance | path

Searched refs:scale_x (Results 1 – 25 of 30) sorted by relevance

12

/hardware/qcom/sm8150/display/sdm/libs/core/
Dresource_default.cpp752 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 …]
Dresource_default.h132 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,
Ddisplay_base.cpp1648 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/
Dresource_default.cpp745 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 …]
Dresource_default.h127 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/
Dresource_default.cpp745 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 …]
Dresource_default.h126 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/
Dresource_default.cpp745 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 …]
Dresource_default.h127 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,
Ddisplay_base.cpp1487 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/
Dresource_default.cpp745 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 …]
Dresource_default.h127 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,
Ddisplay_base.cpp1450 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/
Dresource_default.cpp707 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 …]
Dresource_default.h120 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/
Drect.h68 float *scale_x, float *scale_y);
/hardware/qcom/sm8150/display/sdm/include/utils/
Drect.h70 float *scale_x, float *scale_y);
/hardware/qcom/sdm845/display/sdm/libs/utils/
Drect.cpp296 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/
Drect.cpp337 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/
Dhw_device_drm.cpp761 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/
Dhw_device_drm.cpp1010 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/
Dhw_device_drm.cpp1011 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/
Dhw_device.cpp1182 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/
Dhw_device.cpp1324 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/
Dhw_device.cpp1333 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()

12