[FFmpeg-cvslog] swscale/arm/yuv2rgb: fix slicing

Clément Bœsch git at videolan.org
Fri Dec 18 16:28:17 CET 2015


ffmpeg | branch: master | Clément Bœsch <clement at stupeflix.com> | Fri Dec 18 16:03:00 2015 +0100| [91b4afd58d7858bfbee10d3e115418f3a9543720] | committer: Clément Bœsch

swscale/arm/yuv2rgb: fix slicing

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

 libswscale/arm/swscale_unscaled.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/libswscale/arm/swscale_unscaled.c b/libswscale/arm/swscale_unscaled.c
index dbb0fb0..e694ef4 100644
--- a/libswscale/arm/swscale_unscaled.c
+++ b/libswscale/arm/swscale_unscaled.c
@@ -83,9 +83,8 @@ static int ifmt##_to_##ofmt##_neon_wrapper_##precision(SwsContext *c, const uint
     };                                                                                      \
                                                                                             \
     ff_##ifmt##_to_##ofmt##_neon_##precision(c->srcW, srcSliceH,                            \
-                                 dst[0] +  srcSliceY      * dstStride[0], dstStride[0],     \
-                                 src[0] +  srcSliceY      * srcStride[0], srcStride[0],     \
-                                 src[1] + (srcSliceY / 2) * srcStride[1], srcStride[1],     \
+                                 dst[0] + srcSliceY * dstStride[0], dstStride[0],           \
+                                 src[0], srcStride[0], src[1], srcStride[1],                \
                                  yuv2rgb_table,                                             \
                                  c->yuv2rgb_y_offset >> 9,                                  \
                                  c->yuv2rgb_y_coeff / ((precision) == 16 ? 1 << 7 : 1));    \



More information about the ffmpeg-cvslog mailing list