Add guaranteed alignment for loading dest pixels in avg_pixels16_neon
authorDavid Conrad <lessen42@gmail.com>
Thu, 16 Apr 2009 08:39:13 +0000 (08:39 +0000)
committerDavid Conrad <lessen42@gmail.com>
Thu, 16 Apr 2009 08:39:13 +0000 (08:39 +0000)
Originally committed as revision 18535 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/arm/dsputil_neon_s.S

index 5b95717..f16293d 100644 (file)
         pld             [r1, r2]
         pld             [r1, r2, lsl #1]
 .if \avg
-        vld1.64         {d16,d17}, [ip], r2
+        vld1.64         {d16,d17}, [ip,:128], r2
         vrhadd.u8       q0,  q0,  q8
-        vld1.64         {d18,d19}, [ip], r2
+        vld1.64         {d18,d19}, [ip,:128], r2
         vrhadd.u8       q1,  q1,  q9
-        vld1.64         {d20,d21}, [ip], r2
+        vld1.64         {d20,d21}, [ip,:128], r2
         vrhadd.u8       q2,  q2,  q10
-        vld1.64         {d22,d23}, [ip], r2
+        vld1.64         {d22,d23}, [ip,:128], r2
         vrhadd.u8       q3,  q3,  q11
 .endif
         subs            r3,  r3,  #4