Home
last modified time | relevance | path

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

/external/aac/libSBRenc/src/
Dton_corr.cpp508 INT patchDistance; in resetPatch() local
550 patchDistance = targetStopBand - sourceStartBand; /* get the targetOffset */ in resetPatch()
551patchDistance = patchDistance & ~1; /* rounding off odd numbers and make al… in resetPatch()
552 numBandsInPatch = lsb - (targetStopBand - patchDistance); in resetPatch()
558 patchDistance = numBandsInPatch + targetStopBand - lsb; /* get minimal distance */ in resetPatch()
559patchDistance = (patchDistance + 1) & ~1; /* rounding up odd numbers and make all… in resetPatch()
564 patchParam[patch].sourceStartBand = targetStopBand - patchDistance; in resetPatch()
565 patchParam[patch].targetBandOffs = patchDistance; in resetPatch()
/external/aac/libSBRdec/src/
Dlpp_tran.cpp855 int patchDistance; in resetLppTransposer() local
907 patchDistance = targetStopBand - sourceStartBand; /* Get the targetOffset */ in resetLppTransposer()
908patchDistance = patchDistance & ~1; /* Rounding off odd numbers and make al… in resetLppTransposer()
909 …numBandsInPatch = lsb - (targetStopBand - patchDistance); /* Update number of bands to be patched… in resetLppTransposer()
915 patchDistance = numBandsInPatch + targetStopBand - lsb; /* Get minimal distance */ in resetLppTransposer()
916patchDistance = (patchDistance + 1) & ~1; /* Rounding up odd numbers and make all… in resetLppTransposer()
919 patchParam[patch].sourceStartBand = targetStopBand - patchDistance; in resetLppTransposer()
920 patchParam[patch].targetBandOffs = patchDistance; in resetLppTransposer()