Home
last modified time | relevance | path

Searched refs:goalSb (Results 1 – 2 of 2) sorted by relevance

/external/aac/libSBRenc/src/
Dton_corr.cpp453 findClosestEntry(INT goalSb, in findClosestEntry() argument
460 if( goalSb <= v_k_master[0] ) in findClosestEntry()
463 if( goalSb >= v_k_master[numMaster] ) in findClosestEntry()
468 while( v_k_master[index] < goalSb ) { in findClosestEntry()
473 while( v_k_master[index] > goalSb ) { in findClosestEntry()
515 INT goalSb; in resetPatch() local
527 goalSb = (INT)( (2 * noChannels * 16000 + (fs>>1)) / fs ); /* 16 kHz band */ in resetPatch()
528 goalSb = findClosestEntry(goalSb, v_k_master, numMaster, 1); /* Adapt region to master-table */ in resetPatch()
546 …numBandsInPatch = goalSb - targetStopBand; /* get the desired range of the patch… in resetPatch()
576 if( fixp_abs(targetStopBand - goalSb) < 3) { in resetPatch()
[all …]
/external/aac/libSBRdec/src/
Dlpp_tran.cpp806 static int findClosestEntry(UCHAR goalSb, UCHAR *v_k_master, UCHAR numMaster, UCHAR direction) in findClosestEntry() argument
810 if( goalSb <= v_k_master[0] ) in findClosestEntry()
813 if( goalSb >= v_k_master[numMaster] ) in findClosestEntry()
818 while( v_k_master[index] < goalSb ) { in findClosestEntry()
823 while( v_k_master[index] > goalSb ) { in findClosestEntry()