Lines Matching refs:scaleEnergies
112 INT *scaleEnergies, in spectralChange() argument
142 FDK_ASSERT(scaleEnergies[0] >= 0); in spectralChange()
143 FDK_ASSERT(scaleEnergies[1] >= 0); in spectralChange()
145 energies_e = 19 - FDKmin(scaleEnergies[0], scaleEnergies[1]); in spectralChange()
159 …prevEnergies_e_diff = scaleEnergies[0] - FDKmin(scaleEnergies[0], scaleEnergies[1]) + energies_e_a… in spectralChange()
160 …newEnergies_e_diff = scaleEnergies[1] - FDKmin(scaleEnergies[0], scaleEnergies[1]) + energies_e_a… in spectralChange()
242 int *scaleEnergies, in addLowbandEnergies() argument
268 nrgTotal = ( scaleValueSaturate(accu1, 1-scaleEnergies[0]) ) in addLowbandEnergies()
269 + ( scaleValueSaturate(accu2, 4-scaleEnergies[1]) ); in addLowbandEnergies()
293 INT *scaleEnergies, in addHighbandEnergies() argument
328 scale[0] = fixMin(8,scaleEnergies[0]); in addHighbandEnergies()
329 scale[1] = fixMin(8,scaleEnergies[1]); in addHighbandEnergies()
331 …if ((scaleEnergies[0]-scale[0]) > (DFRACT_BITS-1) || (scaleEnergies[1]-scale[0]) > (DFRACT_BITS-1)) in addHighbandEnergies()
342 nrgTotal = accu >> (scaleEnergies[0]-scale[0]); in addHighbandEnergies()
349 nrgTotal = accu >> (scaleEnergies[1]-scale[1]); in addHighbandEnergies()
366 INT *scaleEnergies, in FDKsbrEnc_frameSplitter() argument
395 scaleEnergies, in FDKsbrEnc_frameSplitter()
403 scaleEnergies, in FDKsbrEnc_frameSplitter()
420 …if ( (INT)EnergyTotal&0xffffffe0 && (scaleEnergies[0]<32 || scaleEnergies[1]<32) ) /* i.e. > 31 */… in FDKsbrEnc_frameSplitter()
422 scaleEnergies, in FDKsbrEnc_frameSplitter()
461 INT *RESTRICT scaleEnergies, in calculateThresholds() argument
480 commonScale = fixMin(scaleEnergies[0],scaleEnergies[1]); in calculateThresholds()
483 scaleFactor0 = fixMin((scaleEnergies[0]-commonScale), (DFRACT_BITS-1)); in calculateThresholds()
484 scaleFactor1 = fixMin((scaleEnergies[1]-commonScale), (DFRACT_BITS-1)); in calculateThresholds()
544 INT *RESTRICT scaleEnergies, in extractTransientCandidates() argument
563 tmpScaleEnergies0 = scaleEnergies[0]; in extractTransientCandidates()
564 tmpScaleEnergies1 = scaleEnergies[1]; in extractTransientCandidates()
644 INT *scaleEnergies, in FDKsbrEnc_transientDetect() argument
669 scaleEnergies, in FDKsbrEnc_transientDetect()
678 scaleEnergies, in FDKsbrEnc_transientDetect()
904 const int *const scaleEnergies, in FDKsbrEnc_fastTransientDetect() argument
977 …energy_timeSlots_scale[timeSlot] = (-scaleEnergies[0]+2*QMF_SCALE_OFFSET) + (10+6) - headroomEnSlo… in FDKsbrEnc_fastTransientDetect()
979 …energy_timeSlots_scale[timeSlot] = (-scaleEnergies[1]+2*QMF_SCALE_OFFSET) + (10+6) - headroomEnSlo… in FDKsbrEnc_fastTransientDetect()