Home
last modified time | relevance | path

Searched refs:SHORT_WINDOW (Results 1 – 11 of 11) sorted by relevance

/external/aac/libAACenc/src/
Dblock_switch.cpp202 …/*no attack*/ { {LONG_WINDOW, SHORT_WINDOW, STOP_WINDOW, LONG_WINDOW, WRONG_WINDOW, WRONG_WI…
203 …/*attack */ {START_WINDOW, SHORT_WINDOW, SHORT_WINDOW, START_WINDOW, WRONG_WINDOW, WRONG_WI…
204 …/*no attack*/ { {LONG_WINDOW, SHORT_WINDOW, SHORT_WINDOW, LONG_WINDOW, WRONG_WINDOW, WRONG_WI…
205 …/*attack */ {START_WINDOW, SHORT_WINDOW, SHORT_WINDOW, START_WINDOW, WRONG_WINDOW, WRONG_WI…
381 /* LONG_WINDOW */ {LONG_WINDOW, START_WINDOW, SHORT_WINDOW, STOP_WINDOW, LOWOV_WINDOW},
382 /* START_WINDOW */ {START_WINDOW, START_WINDOW, SHORT_WINDOW, SHORT_WINDOW, LOWOV_WINDOW},
383 /* SHORT_WINDOW */ {SHORT_WINDOW, SHORT_WINDOW, SHORT_WINDOW, SHORT_WINDOW, WRONG_WINDOW},
384 /* STOP_WINDOW */ {STOP_WINDOW, SHORT_WINDOW, SHORT_WINDOW, STOP_WINDOW, LOWOV_WINDOW},
429 if(patchType != SHORT_WINDOW) { in FDKaacEnc_SyncBlockSwitching()
446 if( (windowSequenceLeftOld == SHORT_WINDOW) && in FDKaacEnc_SyncBlockSwitching()
[all …]
Dbitenc.cpp182 if (blockType == SHORT_WINDOW) { in FDKaacEnc_encodeIcsInfo()
213 case SHORT_WINDOW: in FDKaacEnc_encodeIcsInfo()
255 case SHORT_WINDOW: in FDKaacEnc_encodeSectionData()
453 INT numOfWindows = (blockType==SHORT_WINDOW?TRANS_FAC:1); in FDKaacEnc_encodeTnsDataPresent()
491 INT numOfWindows=(blockType==SHORT_WINDOW?TRANS_FAC:1); in FDKaacEnc_encodeTnsData()
503 FDKwriteBits(hBitStream,tnsInfo->numOfFilters[i],(blockType==SHORT_WINDOW?1:2)); in FDKaacEnc_encodeTnsData()
504 tnsBits += (blockType==SHORT_WINDOW?1:2); in FDKaacEnc_encodeTnsData()
510 FDKwriteBits(hBitStream,tnsInfo->length[i][j],(blockType==SHORT_WINDOW?4:6)); in FDKaacEnc_encodeTnsData()
511 tnsBits += (blockType==SHORT_WINDOW?4:6); in FDKaacEnc_encodeTnsData()
513 FDKwriteBits(hBitStream,tnsInfo->order[i][j],(blockType==SHORT_WINDOW?3:5)); in FDKaacEnc_encodeTnsData()
[all …]
Daacenc_tns.cpp390 tC->maxOrder = (blockType == SHORT_WINDOW) ? 5 : 12; /* maximum: 7, 20 */ in FDKaacEnc_InitTnsConfiguration()
393 tC->coefRes = (blockType == SHORT_WINDOW) ? 3 : 4; in FDKaacEnc_InitTnsConfiguration()
396 tC->lpcStopBand = getTnsMaxBands(sampleRate, granuleLength, (blockType == SHORT_WINDOW) ? 1 : 0); in FDKaacEnc_InitTnsConfiguration()
408 tC->lpcStartBand[LOFILT] = (blockType == SHORT_WINDOW) ? 0 : ((sampleRate < 18783) ? 4 : 8); in FDKaacEnc_InitTnsConfiguration()
438 if (blockType == SHORT_WINDOW) { in FDKaacEnc_InitTnsConfiguration()
760 TNS_SUBBLOCK_INFO *tsbi = (blockType == SHORT_WINDOW) in FDKaacEnc_TnsDetect()
824 if ( (blockType != SHORT_WINDOW) && in FDKaacEnc_TnsDetect()
925 if ( (blockTypeSrc == SHORT_WINDOW && blockTypeDest != SHORT_WINDOW) || in FDKaacEnc_TnsSync()
926 (blockTypeDest == SHORT_WINDOW && blockTypeSrc != SHORT_WINDOW) ) in FDKaacEnc_TnsSync()
931 if (blockTypeDest != SHORT_WINDOW) { in FDKaacEnc_TnsSync()
[all …]
Dpsy_const.h115 SHORT_WINDOW, enumerator
Dpsy_configuration.cpp248 case SHORT_WINDOW: in FDKaacEnc_initSfbTable()
398 if (blockType != SHORT_WINDOW) in FDKaacEnc_initSpreading()
511 if (blockType == SHORT_WINDOW) in FDKaacEnc_initMinSnr()
622 if (blocktype!=SHORT_WINDOW) { in FDKaacEnc_InitPsyConfiguration()
Dpsy_main.cpp355 …cEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, SHORT_WINDOW, hPsy->granuleL… in FDKaacEnc_psyMainInit()
363 SHORT_WINDOW, in FDKaacEnc_psyMainInit()
558 isShortWindow[ch]=(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == SHORT_WINDOW); in FDKaacEnc_psyMain()
1039 … (psyStatic[1]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW), in FDKaacEnc_psyMain()
1171 if(psyStatic[0]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW) in FDKaacEnc_psyMain()
1306 psyOutChannel[ch]->lastWindowSequence = SHORT_WINDOW; in FDKaacEnc_psyMain()
Dadj_thr.cpp449 if (psyOutChannel[ch]->lastWindowSequence != SHORT_WINDOW) { in FDKaacEnc_initAvoidHoleFlag()
638 if (psyOutChannel[ch]->lastWindowSequence == SHORT_WINDOW) { in FDKaacEnc_calcWeighting()
994 if (psyOutChannel[0]->lastWindowSequence == SHORT_WINDOW) { in FDKaacEnc_reduceThresholdsVBR()
1025 if (psyOutChannel[0]->lastWindowSequence == SHORT_WINDOW){ /* short-blocks */ in FDKaacEnc_reduceThresholdsVBR()
1070 if (psyOutChannel[ch]->lastWindowSequence == SHORT_WINDOW) { in FDKaacEnc_reduceThresholdsVBR()
1501 if (psyOutChannel[ch]->lastWindowSequence != SHORT_WINDOW) in FDKaacEnc_allowMoreHoles()
2117 if (lastWindowSequence != SHORT_WINDOW) in FDKaacEnc_bitresCalcBitFac()
2469 if ((psyOutChannel[0]->lastWindowSequence == SHORT_WINDOW) || in FDKaacEnc_DistributeBits()
2470 (psyOutChannel[1]->lastWindowSequence == SHORT_WINDOW)) { in FDKaacEnc_DistributeBits()
2471 curWindowSequence = SHORT_WINDOW; in FDKaacEnc_DistributeBits()
Dtransform.cpp153 case SHORT_WINDOW: in FDKaacEnc_Transform_Real()
Daacenc_pns.cpp205 (lastWindowSequence == SHORT_WINDOW) ) /* currently only long blocks */ in FDKaacEnc_PnsDetect()
Ddyn_bits.cpp414 case SHORT_WINDOW: in FDKaacEnc_noiselessCounter()
Dqc_main.cpp1535 … savedBits += (psyChannel[ch]->lastWindowSequence!=SHORT_WINDOW) ? FDKaacEnc_sideInfoTabLong[0] in FDKaacEnc_crashRecovery()