diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-24 14:47:15 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-25 14:55:25 -0800 |
commit | b3f9759c8c9437c45b9a34519ce2ea38a8314d4e (patch) | |
tree | 05982b486e08637901d5ac4890aa2be659239064 /media/libstagefright/codecs/aacenc/basic_op/oper_32b.c | |
parent | e4f6ecb9d323984c2b86f6d2735ebc69c5a3517a (diff) | |
download | frameworks_av-b3f9759c8c9437c45b9a34519ce2ea38a8314d4e.zip frameworks_av-b3f9759c8c9437c45b9a34519ce2ea38a8314d4e.tar.gz frameworks_av-b3f9759c8c9437c45b9a34519ce2ea38a8314d4e.tar.bz2 |
Stagefright: Fix unused variables, functions, values
For build-system CFLAGS clean-up, remove unused functions and
variables.
Change-Id: Ic3dee56b589ea9a693efa1d72ba394036efff168
Diffstat (limited to 'media/libstagefright/codecs/aacenc/basic_op/oper_32b.c')
-rw-r--r-- | media/libstagefright/codecs/aacenc/basic_op/oper_32b.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/media/libstagefright/codecs/aacenc/basic_op/oper_32b.c b/media/libstagefright/codecs/aacenc/basic_op/oper_32b.c index 1d029fc..d1fe833 100644 --- a/media/libstagefright/codecs/aacenc/basic_op/oper_32b.c +++ b/media/libstagefright/codecs/aacenc/basic_op/oper_32b.c @@ -351,12 +351,11 @@ Word32 pow2_xy(Word32 x, Word32 y) UWord32 iPart; UWord32 fPart; Word32 res; - Word32 tmp, tmp2; - Word32 shift, shift2; + Word32 tmp; - tmp2 = -x; - iPart = tmp2 / y; - fPart = tmp2 - iPart*y; + tmp = -x; + iPart = tmp / y; + fPart = tmp - iPart*y; iPart = min(iPart,INT_BITS-1); res = pow2Table[(POW2_TABLE_SIZE*fPart)/y] >> iPart; |