Lines Matching defs:bias
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;
142 bias = s->q_intra_matrix16[qscale][1];
146 bias = s->q_inter_matrix16[qscale][1];
159 "psubw (%3), "MM"6 \n\t" // -bias[0]
165 "psubusw "MM"6, "MM"0 \n\t" // ABS(block[i]) + bias[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),
195 MOVQ" (%3, %%"REG_a"), "MM"6 \n\t" // bias[0]
196 "paddusw "MM"6, "MM"0 \n\t" // ABS(block[i]) + bias[0]
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),