Home
last modified time | relevance | path

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

12

/hardware/qcom/sm8150/display/sdm/libs/core/
Dresource_default.cpp753 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 …]
Dresource_default.h132 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled);
133 DisplayError ValidateUpScaling(float scale_x, float scale_y);
135 float *scale_y);
Ddisplay_base.cpp1649 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/
Dresource_default.cpp746 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 …]
Dresource_default.h127 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/
Dresource_default.cpp746 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 …]
Dresource_default.h126 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/
Dresource_default.cpp746 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 …]
Dresource_default.h127 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled);
128 DisplayError ValidateUpScaling(float scale_x, float scale_y);
130 float *scale_y);
Ddisplay_base.cpp1488 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/
Dresource_default.cpp746 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 …]
Dresource_default.h127 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled);
128 DisplayError ValidateUpScaling(float scale_x, float scale_y);
130 float *scale_y);
Ddisplay_base.cpp1451 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/
Dresource_default.cpp708 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 …]
Dresource_default.h120 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/
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
306 *scale_y = crop_height / dst_height; in GetScaleFactor()
/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp337 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/
Dhw_device_drm.cpp762 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/
Dhw_device_drm.cpp1011 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/
Dhw_device_drm.cpp1012 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/
Dhw_device.cpp1183 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/
Dhw_device.cpp1325 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/
Dhw_device.cpp1334 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()

12