Lines Matching refs:dst_w
511 unsigned int src_w, src_h, dst_w, dst_h; in g2d_copy() local
520 dst_w = w; in g2d_copy()
523 dst_w = dst->width - dst_x; in g2d_copy()
527 w = MIN(src_w, dst_w); in g2d_copy()
595 unsigned int src_w, src_h, dst_w, dst_h; in g2d_move() local
604 dst_w = w; in g2d_move()
607 dst_w = img->width - dst_x; in g2d_move()
611 w = MIN(src_w, dst_w); in g2d_move()
689 unsigned int dst_y, unsigned int dst_w, in g2d_copy_with_scale() argument
701 if (src_w == dst_w && src_h == dst_h) in g2d_copy_with_scale()
705 scale_x = g2d_get_scaling(src_w, dst_w); in g2d_copy_with_scale()
716 if (dst_x + dst_w > dst->width) in g2d_copy_with_scale()
717 dst_w = dst->width - dst_x; in g2d_copy_with_scale()
721 if (src_w <= 0 || src_h <= 0 || dst_w <= 0 || dst_h <= 0) { in g2d_copy_with_scale()
770 pt.data.x = dst_x + dst_w; in g2d_copy_with_scale()
803 unsigned int src_w, src_h, dst_w, dst_h; in g2d_blend() local
812 dst_w = w; in g2d_blend()
815 dst_w = dst->width - dst_x; in g2d_blend()
819 w = MIN(src_w, dst_w); in g2d_blend()
914 unsigned int dst_y, unsigned int dst_w, unsigned int dst_h, in g2d_scale_and_blend() argument
923 if (src_w == dst_w && src_h == dst_h) in g2d_scale_and_blend()
927 scale_x = g2d_get_scaling(src_w, dst_w); in g2d_scale_and_blend()
936 if (dst_x + dst_w > dst->width) in g2d_scale_and_blend()
937 dst_w = dst->width - dst_x; in g2d_scale_and_blend()
941 if (src_w <= 0 || src_h <= 0 || dst_w <= 0 || dst_h <= 0) { in g2d_scale_and_blend()
1010 pt.data.x = dst_x + dst_w; in g2d_scale_and_blend()