Home
last modified time | relevance | path

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

/external/aac/libSBRenc/src/
Dton_corr.cpp468 static INT findClosestEntry(INT goalSb, UCHAR *v_k_master, INT numMaster, in findClosestEntry() argument
472 if (goalSb <= v_k_master[0]) return v_k_master[0]; in findClosestEntry()
474 if (goalSb >= v_k_master[numMaster]) return v_k_master[numMaster]; in findClosestEntry()
478 while (v_k_master[index] < goalSb) { in findClosestEntry()
483 while (v_k_master[index] > goalSb) { in findClosestEntry()
529 INT goalSb; in resetPatch() local
540 goalSb = (INT)((2 * noChannels * 16000 + (fs >> 1)) / fs); /* 16 kHz band */ in resetPatch()
541 goalSb = findClosestEntry(goalSb, v_k_master, numMaster, in resetPatch()
560 goalSb - targetStopBand; /* get the desired range of the patch */ in resetPatch()
597 if (fixp_abs(targetStopBand - goalSb) < 3) { in resetPatch()
[all …]
/external/aac/libSBRdec/src/
Dlpp_tran.cpp1281 static int findClosestEntry(UCHAR goalSb, UCHAR *v_k_master, UCHAR numMaster, in findClosestEntry() argument
1285 if (goalSb <= v_k_master[0]) return v_k_master[0]; in findClosestEntry()
1287 if (goalSb >= v_k_master[numMaster]) return v_k_master[numMaster]; in findClosestEntry()
1291 while (v_k_master[index] < goalSb) { in findClosestEntry()
1296 while (v_k_master[index] > goalSb) { in findClosestEntry()