Lines Matching refs:src_w
506 unsigned int src_w, src_h, dst_w, dst_h; in g2d_copy() local
508 src_w = w; in g2d_copy()
511 src_w = src->width - src_x; in g2d_copy()
522 w = MIN(src_w, dst_w); in g2d_copy()
590 unsigned int src_w, src_h, dst_w, dst_h; in g2d_move() local
592 src_w = w; in g2d_move()
595 src_w = img->width - src_x; in g2d_move()
606 w = MIN(src_w, dst_w); in g2d_move()
682 unsigned int src_y, unsigned int src_w, in g2d_copy_with_scale() argument
696 if (src_w == dst_w && src_h == dst_h) in g2d_copy_with_scale()
700 scale_x = g2d_get_scaling(src_w, dst_w); in g2d_copy_with_scale()
706 if (src_x + src_w > src->width) in g2d_copy_with_scale()
707 src_w = src->width - src_x; in g2d_copy_with_scale()
716 if (src_w <= 0 || src_h <= 0 || dst_w <= 0 || dst_h <= 0) { in g2d_copy_with_scale()
758 pt.data.x = src_x + src_w; in g2d_copy_with_scale()
798 unsigned int src_w, src_h, dst_w, dst_h; in g2d_blend() local
800 src_w = w; in g2d_blend()
803 src_w = src->width - src_x; in g2d_blend()
814 w = MIN(src_w, dst_w); in g2d_blend()
908 unsigned int src_w, unsigned int src_h, unsigned int dst_x, in g2d_scale_and_blend() argument
918 if (src_w == dst_w && src_h == dst_h) in g2d_scale_and_blend()
922 scale_x = g2d_get_scaling(src_w, dst_w); in g2d_scale_and_blend()
926 if (src_x + src_w > src->width) in g2d_scale_and_blend()
927 src_w = src->width - src_x; in g2d_scale_and_blend()
936 if (src_w <= 0 || src_h <= 0 || dst_w <= 0 || dst_h <= 0) { in g2d_scale_and_blend()
998 pt.data.x = src_x + src_w; in g2d_scale_and_blend()