Lines Matching refs:qmul
1251 const int qmul= ff_qexp[qlog&(QROOT-1)]<<((qlog>>QSHIFT) + ENCODER_EXTRA_BITS); in quantize() local
1261 bias= bias ? 0 : (3*qmul)>>3; in quantize()
1262 thres1= ((qmul - bias)>>QEXPSHIFT) - 1; in quantize()
1273 i/= qmul; //FIXME optimize in quantize()
1278 i/= qmul; //FIXME optimize in quantize()
1293 i= (i + bias) / qmul; //FIXME optimize in quantize()
1298 i= (i + bias) / qmul; //FIXME optimize in quantize()
1312 const int qmul= ff_qexp[qlog&(QROOT-1)]<<(qlog>>QSHIFT); in dequantize() local
1313 const int qadd= (s->qbias*qmul)>>QBIAS_SHIFT; in dequantize()
1322 src[x + y*stride]= -((-i*qmul + qadd)>>(QEXPSHIFT)); //FIXME try different bias in dequantize()
1324 src[x + y*stride]= (( i*qmul + qadd)>>(QEXPSHIFT)); in dequantize()
1505 const int qmul= ff_qexp[qlog&(QROOT-1)]<<(qlog>>QSHIFT); in ratecontrol_1pass() local
1506 const int qdiv= (1<<16)/qmul; in ratecontrol_1pass()