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.cpp817 static int findClosestEntry(UCHAR goalSb, UCHAR *v_k_master, UCHAR numMaster, UCHAR direction) in findClosestEntry() argument
821 if( goalSb <= v_k_master[0] ) in findClosestEntry()
824 if( goalSb >= v_k_master[numMaster] ) in findClosestEntry()
829 while( v_k_master[index] < goalSb ) { in findClosestEntry()
834 while( v_k_master[index] > goalSb ) { in findClosestEntry()