Lines Matching refs:width_scale
597 float width_scale, height_scale;
600 width_scale = (float)psrc->width / (float)width;
607 rx = vx * width_scale;
693 float width_scale, height_scale;
701 width_scale = (float)psrc->width / (float)width;
704 half_square_width = (int32_t)(width_scale / 2.0);
706 round_width = (width_scale / 2.0) - (float)half_square_width;
721 rx = vx * width_scale;
766 red /= width_scale*height_scale;
767 green /= width_scale*height_scale;
768 blue /= width_scale*height_scale;
769 alpha /= width_scale*height_scale;