vlc | branch: master | Asad Mehmood <[email protected]> | Mon Dec 31 
00:56:00 2012 +0000| [0740e5433637c12dab43067b964248b667cda19d] | committer: 
Rafaël Carré

arm_neon i420 -> rgb: Output pitch can be 64 bit aligned

When an output picure is requested from a Samsung (exynos?) device
it is not guarateed to be aligned to 128 bit (4 pixels).

Signed-off-by: Rafaël Carré <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0740e5433637c12dab43067b964248b667cda19d
---

 modules/arm_neon/i420_rgb.S |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/arm_neon/i420_rgb.S b/modules/arm_neon/i420_rgb.S
index db955e9..11f7f12 100644
--- a/modules/arm_neon/i420_rgb.S
+++ b/modules/arm_neon/i420_rgb.S
@@ -163,8 +163,8 @@ loop_col:
        vzip.u8 green1, green2
        vzip.u8 blue1, blue2
 
-       vst4.u8         {red1,green1,blue1,alpha1}, [O1,:128]!
-       vst4.u8         {red2,green2,blue2,alpha2}, [O1,:128]!
+       vst4.u8         {red1,green1,blue1,alpha1}, [O1,:64]!
+       vst4.u8         {red2,green2,blue2,alpha2}, [O1,:64]!
 
        /* Y Bottom Row */
        vld2.u8 {y1,y2}, [Y2,:128]!
@@ -194,8 +194,8 @@ loop_col:
        vzip.u8 green1, green2
        vzip.u8 blue1, blue2
 
-       vst4.u8         {red1,green1,blue1,alpha1}, [O2,:128]!
-       vst4.u8         {red2,green2,blue2,alpha2}, [O2,:128]!
+       vst4.u8         {red1,green1,blue1,alpha1}, [O2,:64]!
+       vst4.u8         {red2,green2,blue2,alpha2}, [O2,:64]!
 
        /* next columns (x16) */
        subs    COUNT,  COUNT,  #16

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to