Searched refs:scale_y (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | resource_default.cpp | 701 float scale_y = 1.0f; in ValidateScaling() local 703 error = GetScaleFactor(crop, dst, &scale_x, &scale_y); in ValidateScaling() 708 error = ValidateDownScaling(scale_x, scale_y, ubwc_tiled); in ValidateScaling() 713 error = ValidateUpScaling(scale_x, scale_y); in ValidateScaling() 721 DisplayError ResourceDefault::ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled) { in ValidateDownScaling() argument 722 if ((UINT32(scale_x) > 1) || (UINT32(scale_y) > 1)) { in ValidateDownScaling() 730 if (scale_x > max_scale_down || scale_y > max_scale_down) { in ValidateDownScaling() 733 "has_deci = %d", scale_x, scale_y, hw_res_info_.has_decimation); in ValidateDownScaling() 738 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y); in ValidateDownScaling() 743 DisplayError ResourceDefault::ValidateUpScaling(float scale_x, float scale_y) { in ValidateUpScaling() argument [all …]
|
D | resource_default.h | 111 DisplayError ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled); 112 DisplayError ValidateUpScaling(float scale_x, float scale_y); 114 float *scale_y);
|