Lines Matching refs:src_x
500 struct g2d_image *dst, unsigned int src_x, unsigned int src_y, in g2d_copy() argument
510 if (src_x + src->width > w) in g2d_copy()
511 src_w = src->width - src_x; in g2d_copy()
543 pt.data.x = src_x; in g2d_copy()
546 pt.data.x = src_x + w; in g2d_copy()
583 unsigned int src_x, unsigned int src_y, in g2d_move() argument
594 if (src_x + img->width > w) in g2d_move()
595 src_w = img->width - src_x; in g2d_move()
631 if (dst_x >= src_x) in g2d_move()
638 pt.data.x = src_x; in g2d_move()
641 pt.data.x = src_x + w; in g2d_move()
681 struct g2d_image *dst, unsigned int src_x, in g2d_copy_with_scale() argument
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()
755 pt.data.x = src_x; in g2d_copy_with_scale()
758 pt.data.x = src_x + src_w; in g2d_copy_with_scale()
790 struct g2d_image *dst, unsigned int src_x, in g2d_blend() argument
802 if (src_x + w > src->width) in g2d_blend()
803 src_w = src->width - src_x; in g2d_blend()
870 pt.data.x = src_x; in g2d_blend()
873 pt.data.x = src_x + w; in g2d_blend()
907 struct g2d_image *dst, unsigned int src_x, unsigned int src_y, in g2d_scale_and_blend() argument
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()
995 pt.data.x = src_x; in g2d_scale_and_blend()
998 pt.data.x = src_x + src_w; in g2d_scale_and_blend()