Home
last modified time | relevance | path

Searched refs:tnsInfo (Results 1 – 6 of 6) sorted by relevance

/external/aac/libAACenc/src/
Dbitenc.cpp446 static INT FDKaacEnc_encodeTnsDataPresent(TNS_INFO *tnsInfo, in FDKaacEnc_encodeTnsDataPresent() argument
450 if ( (hBitStream!=NULL) && (tnsInfo!=NULL) ) in FDKaacEnc_encodeTnsDataPresent()
456 if (tnsInfo->numOfFilters[i]!=0) { in FDKaacEnc_encodeTnsDataPresent()
480 static INT FDKaacEnc_encodeTnsData(TNS_INFO *tnsInfo, in FDKaacEnc_encodeTnsData() argument
486 if (tnsInfo!=NULL) { in FDKaacEnc_encodeTnsData()
494 if (tnsInfo->numOfFilters[i]!=0) { in FDKaacEnc_encodeTnsData()
503 FDKwriteBits(hBitStream,tnsInfo->numOfFilters[i],(blockType==SHORT_WINDOW?1:2)); in FDKaacEnc_encodeTnsData()
505 if (tnsInfo->numOfFilters[i]) { in FDKaacEnc_encodeTnsData()
506 FDKwriteBits(hBitStream,(tnsInfo->coefRes[i]==4?1:0),1); in FDKaacEnc_encodeTnsData()
509 for (j=0; j<tnsInfo->numOfFilters[i]; j++) { in FDKaacEnc_encodeTnsData()
[all …]
Daacenc_tns.cpp746 TNS_INFO* tnsInfo, in FDKaacEnc_TnsDetect() argument
767 tnsInfo->numOfFilters[subBlockNumber] = 0; in FDKaacEnc_TnsDetect()
768 tnsInfo->coefRes[subBlockNumber] = tC->coefRes; in FDKaacEnc_TnsDetect()
770 tnsInfo->coef[subBlockNumber][HIFILT][i] = tnsInfo->coef[subBlockNumber][LOFILT][i] = 0; in FDKaacEnc_TnsDetect()
773 tnsInfo->length[subBlockNumber][HIFILT] = tnsInfo->length[subBlockNumber][LOFILT] = 0; in FDKaacEnc_TnsDetect()
774 tnsInfo->order [subBlockNumber][HIFILT] = tnsInfo->order [subBlockNumber][LOFILT] = 0; in FDKaacEnc_TnsDetect()
796 tnsInfo->coef[subBlockNumber][HIFILT], in FDKaacEnc_TnsDetect()
802 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { in FDKaacEnc_TnsDetect()
807 tnsInfo->order[subBlockNumber][HIFILT] = i + 1; in FDKaacEnc_TnsDetect()
811 … sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i]; in FDKaacEnc_TnsDetect()
[all …]
Dtns_func.h112 TNS_INFO* tnsInfo,
132 TNS_INFO* tnsInfo,
Dinterface.h130 TNS_INFO tnsInfo; member
Dpsy_main.cpp797 &psyOutChannel[ch]->tnsInfo, in FDKaacEnc_psyMain()
810 &psyOutChannel[1]->tnsInfo, in FDKaacEnc_psyMain()
811 &psyOutChannel[0]->tnsInfo, in FDKaacEnc_psyMain()
855 &psyOutChannel[ch]->tnsInfo, in FDKaacEnc_psyMain()
1152 psyOutChannel[ch]->tnsInfo.order[0][0], in FDKaacEnc_psyMain()
Dqc_main.cpp1559 FDKmemclear(&psyChannel[ch]->tnsInfo, sizeof(TNS_INFO)); in FDKaacEnc_crashRecovery()