Lines Matching defs:qmat
91 "psubw "a", "b" \n\t" // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i])
100 const uint16_t *qmat, *bias;
132 qmat = s->q_intra_matrix16[qscale][0];
136 qmat = s->q_inter_matrix16[qscale][0];
146 MOVQ" (%2), "MM"5 \n\t" // qmat[0]
155 "pmulhw "MM"5, "MM"0 \n\t" // (ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16
157 RESTORE_SIGN(MM"1", MM"0") // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i])
170 : "r" (block+64), "r" (qmat), "r" (bias),
188 MOVQ" (%2, %%"REG_a"), "MM"5 \n\t" // qmat[i]
189 "pmulhw "MM"5, "MM"0 \n\t" // (ABS(block[i])*qmat[0] + bias[0]*qmat[0])>>16
191 RESTORE_SIGN(MM"1", MM"0") // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i])
204 : "r" (block+64), "r" (qmat+64), "r" (bias+64),