- p_dst[i_x * 2] = ( (uint16_t)p_src2_y[i_x] * p_trans[i_x] +
- (uint16_t)p_src1[i_x * 2] *
- (MAX_TRANS - p_trans[i_x]) ) >> TRANS_BITS;
- p_dst[i_x * 2 + 1] = ( (uint16_t)p_src2_u[i_x] * p_trans[i_x] +
- (uint16_t)p_src1[i_x * 2 + 1] *
- (MAX_TRANS - p_trans[i_x]) ) >> TRANS_BITS;
- p_dst[i_x * 2 + 3] = ( (uint16_t)p_src2_v[i_x] * p_trans[i_x] +
- (uint16_t)p_src1[i_x * 2 + 3] *
- (MAX_TRANS - p_trans[i_x]) ) >> TRANS_BITS;
+ p_dst[i_x * 2] = ( (uint16_t)p_src2_y[i_x] * i_trans +
+ (uint16_t)p_src1[i_x * 2] * (MAX_TRANS - i_trans) )
+ >> TRANS_BITS;
+ p_dst[i_x * 2 + 1] = ( (uint16_t)p_src2_u[i_x] * i_trans +
+ (uint16_t)p_src1[i_x * 2 + 1] * (MAX_TRANS - i_trans) )
+ >> TRANS_BITS;
+ p_dst[i_x * 2 + 3] = ( (uint16_t)p_src2_v[i_x] * i_trans +
+ (uint16_t)p_src1[i_x * 2 + 3] * (MAX_TRANS - i_trans) )
+ >> TRANS_BITS;