summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-04-05 17:44:31 +0300
committerMartin Storsjo <martin@martin.st>2012-01-13 21:16:14 +0200
commit2ec6c483fcf569a3c085b595de6c3818d38ef344 (patch)
treeb8d8bf64cd4da7f9c4b10f7f711916e448669635 /media/libstagefright/codecs
parentd55da5d452fa20c7c4c4172884e0983bbeb79b6d (diff)
downloadframeworks_base-2ec6c483fcf569a3c085b595de6c3818d38ef344.zip
frameworks_base-2ec6c483fcf569a3c085b595de6c3818d38ef344.tar.gz
frameworks_base-2ec6c483fcf569a3c085b595de6c3818d38ef344.tar.bz2
stagefright aacenc: Remove useless inline asm for simple right shift
Change-Id: If1f40e9c16952182e974af1c86a14995259c2ade
Diffstat (limited to 'media/libstagefright/codecs')
-rw-r--r--media/libstagefright/codecs/aacenc/basic_op/basic_op.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/media/libstagefright/codecs/aacenc/basic_op/basic_op.h b/media/libstagefright/codecs/aacenc/basic_op/basic_op.h
index 7c45132..d475488 100644
--- a/media/libstagefright/codecs/aacenc/basic_op/basic_op.h
+++ b/media/libstagefright/codecs/aacenc/basic_op/basic_op.h
@@ -227,13 +227,7 @@ Word32 L_shr_r (Word32 L_var1, Word16 var2);
#if ARMV4_INASM
__inline Word32 ASM_L_shr(Word32 L_var1, Word16 var2)
{
- Word32 result;
- asm (
- "MOV %[result], %[L_var1], ASR %[var2] \n"
- :[result]"=r"(result)
- :[L_var1]"r"(L_var1), [var2]"r"(var2)
- );
- return result;
+ return L_var1 >> var2;
}
__inline Word32 ASM_L_shl(Word32 L_var1, Word16 var2)