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;
143 qmat = s->q_intra_matrix16[qscale][0];
147 qmat = s->q_inter_matrix16[qscale][0];
157 MOVQ" (%2), "MM"5 \n\t" // qmat[0]
166 "pmulhw "MM"5, "MM"0 \n\t" // (ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16
168 RESTORE_SIGN(MM"1", MM"0") // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i])
181 : "r" (block+64), "r" (qmat), "r" (bias),
197 MOVQ" (%2, %%"REG_a"), "MM"5 \n\t" // qmat[i]
198 "pmulhw "MM"5, "MM"0 \n\t" // (ABS(block[i])*qmat[0] + bias[0]*qmat[0])>>16
200 RESTORE_SIGN(MM"1", MM"0") // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i])
213 : "r" (block+64), "r" (qmat+64), "r" (bias+64),