[FFmpeg-cvslog] simple_idct: arm: Drop disabled code variant

Diego Biurrun git at videolan.org
Sun Mar 19 17:12:25 EET 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Aug  1 20:57:30 2016 +0200| [014852e932dab6e9cf2a53e7a17ce8321f3e922c] | committer: Diego Biurrun

simple_idct: arm: Drop disabled code variant

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=014852e932dab6e9cf2a53e7a17ce8321f3e922c
---

 libavcodec/arm/simple_idct_armv5te.S | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/libavcodec/arm/simple_idct_armv5te.S b/libavcodec/arm/simple_idct_armv5te.S
index bf509ee..b196833 100644
--- a/libavcodec/arm/simple_idct_armv5te.S
+++ b/libavcodec/arm/simple_idct_armv5te.S
@@ -148,12 +148,6 @@ endfunc
         ldr    a4, [a1]              /* a4 = col[1:0] */
         mov    ip, #16384
         sub    ip, ip, #1            /* ip = W4 */
-#if 0
-        mov    v1, #(1<<(COL_SHIFT-1))
-        smlabt v2, ip, a4, v1        /* v2 = W4*col[1] + (1<<(COL_SHIFT-1)) */
-        smlabb v1, ip, a4, v1        /* v1 = W4*col[0] + (1<<(COL_SHIFT-1)) */
-        ldr    a4, [a1, #(16*4)]
-#else
         mov    v1, #((1<<(COL_SHIFT-1))/W4) /* this matches the C version */
         add    v2, v1, a4, asr #16
         rsb    v2, v2, v2, lsl #14
@@ -161,7 +155,6 @@ endfunc
         add    v1, v1, a4, asr #16
         ldr    a4, [a1, #(16*4)]
         rsb    v1, v1, v1, lsl #14
-#endif
 
         smulbb lr, ip, a4
         smulbt a3, ip, a4



More information about the ffmpeg-cvslog mailing list