OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:finalShift
(Results
1 - 2
of
2
) sorted by null
/frameworks/av/media/libstagefright/codecs/aacenc/src/
quantize.c
58
Word32 e, minusFinalExp,
finalShift
;
73
finalShift
= minusFinalExp >> 4;
75
if (
finalShift
< INT_BITS) {
78
x += XROUND >> (INT_BITS -
finalShift
);
81
finalShift
--;
83
if(
finalShift
>= 0)
84
x >>=
finalShift
;
86
x <<= (-
finalShift
);
/external/aac/libAACenc/src/
psy_main.cpp
664
INT
finalShift
= MAX_SHIFT_DBL;
707
finalShift
= fixMin(minSpecShift, nrgShift);
711
if (
finalShift
> psyData[0]->mdctScale + 3 )
712
finalShift
= psyData[0]->mdctScale + 3;
714
FDK_ASSERT(
finalShift
>= 0); /* right shift is not allowed */
716
/* correct sfbEnergy and sfbEnergyLdData with new
finalShift
*/
717
FIXP_DBL ldShift =
finalShift
* FL2FXCONST_DBL(2.0/64);
722
scale = fixMin((scale-
finalShift
)<<1, DFRACT_BITS-1);
731
if (
finalShift
!= 0 ) {
736
psyData[ch]->mdctSpectrum[line+wOffset] <<=
finalShift
;
[
all
...]
Completed in 76 milliseconds