DVS_COORD_FRAC_BITS
topleft_y = ymin >> DVS_COORD_FRAC_BITS;
topleft_x = ((xmin >> DVS_COORD_FRAC_BITS)
bottom_y = DIV_ROUND_UP(ymax, BIT(DVS_COORD_FRAC_BITS));
bottom_x = DIV_ROUND_UP(xmax, BIT(DVS_COORD_FRAC_BITS));
topleft_x_frac = topleft_x << (DVS_COORD_FRAC_BITS);
topleft_y_frac = topleft_y << (DVS_COORD_FRAC_BITS);
assert(s.p0_x < (s.in_block_width << DVS_COORD_FRAC_BITS));
assert(s.p1_x < (s.in_block_width << DVS_COORD_FRAC_BITS));
assert(s.p2_x < (s.in_block_width << DVS_COORD_FRAC_BITS));
assert(s.p3_x < (s.in_block_width << DVS_COORD_FRAC_BITS));
assert(s.p0_y < (s.in_block_height << DVS_COORD_FRAC_BITS));
assert(s.p1_y < (s.in_block_height << DVS_COORD_FRAC_BITS));
assert(s.p2_y < (s.in_block_height << DVS_COORD_FRAC_BITS));
assert(s.p3_y < (s.in_block_height << DVS_COORD_FRAC_BITS));
printf("p0_x_nofrac[0]: %d\n", s.p0_x >> DVS_COORD_FRAC_BITS);
printf("p0_y_nofrac[1]: %d\n", s.p0_y >> DVS_COORD_FRAC_BITS);
printf("p1_x_nofrac[2]: %d\n", s.p1_x >> DVS_COORD_FRAC_BITS);
printf("p1_y_nofrac[3]: %d\n", s.p1_y >> DVS_COORD_FRAC_BITS);
printf("p2_x_nofrac[0]: %d\n", s.p2_x >> DVS_COORD_FRAC_BITS);
printf("p2_y_nofrac[1]: %d\n", s.p2_y >> DVS_COORD_FRAC_BITS);
printf("p3_x_nofrac[2]: %d\n", s.p3_x >> DVS_COORD_FRAC_BITS);
printf("p3_y_nofrac[3]: %d\n", s.p3_y >> DVS_COORD_FRAC_BITS);
DVS_BLOCKDIM_X) << DVS_COORD_FRAC_BITS;
DVS_BLOCKDIM_Y_LUMA) << DVS_COORD_FRAC_BITS;
DVS_BLOCKDIM_X) << DVS_COORD_FRAC_BITS;
DVS_COORD_FRAC_BITS;