Lines Matching refs:dst_w
506 unsigned int src_w, src_h, dst_w, dst_h; in g2d_copy() local
515 dst_w = w; in g2d_copy()
518 dst_w = dst->width - dst_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
599 dst_w = w; in g2d_move()
602 dst_w = img->width - dst_x; in g2d_move()
606 w = MIN(src_w, dst_w); in g2d_move()
684 unsigned int dst_y, unsigned int dst_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()
711 if (dst_x + dst_w > dst->width) in g2d_copy_with_scale()
712 dst_w = dst->width - dst_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()
765 pt.data.x = dst_x + dst_w; in g2d_copy_with_scale()
798 unsigned int src_w, src_h, dst_w, dst_h; in g2d_blend() local
807 dst_w = w; in g2d_blend()
810 dst_w = dst->width - dst_x; in g2d_blend()
814 w = MIN(src_w, dst_w); in g2d_blend()
909 unsigned int dst_y, unsigned int dst_w, unsigned int dst_h, 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()
931 if (dst_x + dst_w > dst->width) in g2d_scale_and_blend()
932 dst_w = dst->width - dst_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()
1005 pt.data.x = dst_x + dst_w; in g2d_scale_and_blend()