[SCM] libav/experimental: ARM: add some PLD in NEON IDCT

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:46:39 UTC 2013


The following commit has been merged in the experimental branch:
commit c9311a12d5f948cbfab1732edff087e61ab9b8d4
Author: Måns Rullgård <mans at mansr.com>
Date:   Thu May 28 17:19:28 2009 +0000

    ARM: add some PLD in NEON IDCT
    
    Originally committed as revision 18972 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/arm/simple_idct_neon.S b/libavcodec/arm/simple_idct_neon.S
index e7099a2..0882481 100644
--- a/libavcodec/arm/simple_idct_neon.S
+++ b/libavcodec/arm/simple_idct_neon.S
@@ -68,6 +68,19 @@
         .text
         .align 6
 
+function idct_row4_pld_neon
+        pld             [r0]
+        add             r3,  r0,  r1,  lsl #2
+        pld             [r0, r1]
+        pld             [r0, r1, lsl #1]
+        pld             [r3, -r1]
+        pld             [r3]
+        pld             [r3, r1]
+        add             r3,  r3,  r1,  lsl #1
+        pld             [r3]
+        pld             [r3, r1]
+        .endfunc
+
 function idct_row4_neon
         vmov.i32        q15, #(1<<(ROW_SHIFT-1))
         vld1.64         {d2-d5},  [r2,:128]!
@@ -252,7 +265,7 @@ idct_coeff_neon:
 function ff_simple_idct_put_neon, export=1
         idct_start      r2
 
-        bl              idct_row4_neon
+        bl              idct_row4_pld_neon
         bl              idct_row4_neon
         add             r2,  r2,  #-128
         bl              idct_col4_neon
@@ -307,7 +320,7 @@ function idct_col4_add8_neon
 function ff_simple_idct_add_neon, export=1
         idct_start      r2
 
-        bl              idct_row4_neon
+        bl              idct_row4_pld_neon
         bl              idct_row4_neon
         add             r2,  r2,  #-128
         bl              idct_col4_neon

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list