[vlc-commits] commit: ARM NEON: fix I420/YV12->UYVY ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sun May 9 18:22:35 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May  9 19:21:06 2010 +0300| [fa3c90b622c6a93fbade4a9ff7cc3d71d885d5c6] | committer: Rémi Denis-Courmont 

ARM NEON: fix I420/YV12->UYVY

(cherry picked from commit 3076fe1bf0dff81f2b9cef25d70dabf7f78ce72d)

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

 modules/arm_neon/i420_yuy2.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/arm_neon/i420_yuy2.c b/modules/arm_neon/i420_yuy2.c
index f0ef0fe..6b73c7a 100644
--- a/modules/arm_neon/i420_yuy2.c
+++ b/modules/arm_neon/i420_yuy2.c
@@ -51,7 +51,7 @@ static void I420_YUYV (filter_t *filter, picture_t *src, picture_t *dst)
 }
 
 void i420_uyvy_neon (uint8_t *out, const uint8_t **in,
-                     uintptr_t pitch, uintptr_t height);
+                     uintptr_t pitch, uintptr_t s_off, uintptr_t height);
 
 static void I420_UYVY (filter_t *filter, picture_t *src, picture_t *dst)
 {
@@ -61,7 +61,7 @@ static void I420_UYVY (filter_t *filter, picture_t *src, picture_t *dst)
     int i_pitch = (dst->p->i_pitch >> 1) & ~0xF;
     int s_offset = src->p->i_pitch - i_pitch;
 
-    i420_yuyv_neon (out, yuv, i_pitch, s_offset, height);
+    i420_uyvy_neon (out, yuv, i_pitch, s_offset, height);
 }
 
 VIDEO_FILTER_WRAPPER (I420_YUYV)



More information about the vlc-commits mailing list