Lines Matching refs:MAX2
132 dst->width = MAX2(a->x + a->width, b->x + b->width) - x; in u_box_union_2d()
133 dst->height = MAX2(a->y + a->height, b->y + b->height) - y; in u_box_union_2d()
149 dst->width = MAX2(a->x + a->width, b->x + b->width) - x; in u_box_union_3d()
150 dst->height = MAX2(a->y + a->height, b->y + b->height) - y; in u_box_union_3d()
151 dst->depth = MAX2(a->z + a->depth, b->z + b->depth) - z; in u_box_union_3d()
165 a_r[0] = MAX2(a->x, a->x + a->width); in u_box_test_intersection_2d()
167 a_r[1] = MAX2(a->y, a->y + a->height); in u_box_test_intersection_2d()
170 b_r[0] = MAX2(b->x, b->x + b->width); in u_box_test_intersection_2d()
172 b_r[1] = MAX2(b->y, b->y + b->height); in u_box_test_intersection_2d()
187 dst->width = MAX2(src->width >> l, 1); in u_box_minify_2d()
188 dst->height = MAX2(src->height >> l, 1); in u_box_minify_2d()
198 dst->width = MAX2(src->width >> l, 1); in u_box_minify_3d()
199 dst->height = MAX2(src->height >> l, 1); in u_box_minify_3d()
200 dst->depth = MAX2(src->depth >> l, 1); in u_box_minify_3d()