Home | History | Annotate | Download | only in core

Lines Matching refs:scale_x

707   float scale_x = 1.0f;
710 error = GetScaleFactor(crop, dst, &scale_x, &scale_y);
715 error = ValidateDownScaling(scale_x, scale_y, ubwc_tiled);
720 error = ValidateUpScaling(scale_x, scale_y);
728 DisplayError ResourceDefault::ValidateDownScaling(float scale_x, float scale_y, bool ubwc_tiled) {
729 if ((UINT32(scale_x) > 1) || (UINT32(scale_y) > 1)) {
737 if (scale_x > max_scale_down || scale_y > max_scale_down) {
739 "Scaling down is over the limit: scale_x = %.0f, scale_y = %.0f, " \
740 "has_deci = %d", scale_x, scale_y, hw_res_info_.has_decimation);
745 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y);
750 DisplayError ResourceDefault::ValidateUpScaling(float scale_x, float scale_y) {
753 if (UINT32(scale_x) < 1 && scale_x > 0.0f) {
754 if ((1.0f / scale_x) > max_scale_up) {
755 DLOGV_IF(kTagResources, "Scaling up is over limit scale_x = %f", 1.0f / scale_x);
767 DLOGV_IF(kTagResources, "scale_x = %.4f, scale_y = %.4f", scale_x, scale_y);
773 float *scale_x, float *scale_y) {
779 *scale_x = crop_width / dst_width;