Lines Matching refs:SAMPLE_BITS
191 int scale = ((DFRACT_BITS-SAMPLE_BITS)-1-qmf->outScalefactor);
196 FDK_ASSERT(SAMPLE_BITS-1-qmf->outScalefactor >= 0); // (DFRACT_BITS-SAMPLE_BITS)-1-qmf->outScalefactor >= 0);
209 #if SAMPLE_BITS > 16
210 tmp = (INT_PCM)(SATURATE_SHIFT(fAbs(Are), scale, SAMPLE_BITS));
212 tmp = (INT_PCM)(SATURATE_RIGHT_SHIFT(fAbs(Are), scale, SAMPLE_BITS));
259 int scale = ((DFRACT_BITS-SAMPLE_BITS)-1-qmf->outScalefactor);
264 FDK_ASSERT(SAMPLE_BITS-1-qmf->outScalefactor >= 0); // (DFRACT_BITS-SAMPLE_BITS)-1-qmf->outScalefactor >= 0);
274 #if SAMPLE_BITS > 16
275 tmp = (INT_PCM)(SATURATE_SHIFT(fAbs(Are), scale, SAMPLE_BITS));
277 tmp = (INT_PCM)(SATURATE_RIGHT_SHIFT(fAbs(Are), scale, SAMPLE_BITS));
555 #if (QAS_BITS==SAMPLE_BITS)
558 #elif (QAS_BITS>SAMPLE_BITS)
559 *FilterStatesAnaTmp++ = (FIXP_QAS)((*timeIn)<<(QAS_BITS-SAMPLE_BITS)); timeIn += stride;
560 *FilterStatesAnaTmp++ = (FIXP_QAS)((*timeIn)<<(QAS_BITS-SAMPLE_BITS)); timeIn += stride;
562 *FilterStatesAnaTmp++ = (FIXP_QAS)((*timeIn)>>(SAMPLE_BITS-QAS_BITS)); timeIn += stride;
563 *FilterStatesAnaTmp++ = (FIXP_QAS)((*timeIn)>>(SAMPLE_BITS-QAS_BITS)); timeIn += stride;
1167 if (outScalefactor > (SAMPLE_BITS - 1)) {
1168 outScalefactor = SAMPLE_BITS - 1;
1169 } else if (outScalefactor < (1 - SAMPLE_BITS)) {
1170 outScalefactor = 1 - SAMPLE_BITS;