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