Lines Matching defs:qmat
97 "psubw "a", "b" \n\t" // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i])
106 const uint16_t *qmat, *bias;
122 qmat = s->q_intra_matrix16[qscale][0];
126 qmat = s->q_chroma_intra_matrix16[qscale][0];
145 qmat = s->q_inter_matrix16[qscale][0];
155 MOVQ" (%2), "MM"5 \n\t" // qmat[0]
164 "pmulhw "MM"5, "MM"0 \n\t" // (ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16
166 RESTORE_SIGN(MM"1", MM"0") // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i])
179 : "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),