Commit 0740e543 authored by Asad Mehmood's avatar Asad Mehmood Committed by 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: default avatarRafaël Carré <funman@videolan.org>
parent 38978586
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment