y = temp_type((float)y * y_scale + round); \
u = temp_type((float)(u - (max / 2 + 1)) * u_scale + round) + (max / 2 + 1); \
v = temp_type((float)(v - (max / 2 + 1)) * v_scale + round) + (max / 2 + 1); \
y = temp_type((float)y * y_scale + round); \
u = temp_type((float)(u - (max / 2 + 1)) * u_scale + round) + (max / 2 + 1); \
v = temp_type((float)(v - (max / 2 + 1)) * v_scale + round) + (max / 2 + 1); \