ffmpeg: fix undefined reference to rpi_sand128b_stripe_to_8_10 error when building for aarch64

This commit is contained in:
Alex Deryskyba 2017-10-16 23:05:49 +03:00
parent a007775f04
commit 335a82b4e3

View File

@ -29153,7 +29153,7 @@ index 0000000000..b8bfad915e
+#include "rpi_sand_fn_pw.h" +#include "rpi_sand_fn_pw.h"
+#undef PW +#undef PW
+ +
+#if HAVE_NEON +#if defined(HAVE_NEON) && defined(__arm__)
+void rpi_sand128b_stripe_to_8_10(uint8_t * dest, const uint8_t * src1, const uint8_t * src2, unsigned int lines); +void rpi_sand128b_stripe_to_8_10(uint8_t * dest, const uint8_t * src1, const uint8_t * src2, unsigned int lines);
+#endif +#endif
+ +
@ -29199,7 +29199,7 @@ index 0000000000..b8bfad915e
+ // We make no effort to copy an exact width - round up to nearest src stripe + // We make no effort to copy an exact width - round up to nearest src stripe
+ // as we will always have storage in dest for that + // as we will always have storage in dest for that
+ +
+#if HAVE_NEON +#if defined(HAVE_NEON) && defined(__arm__)
+ if (shr == 3 && src_stride1 == 128) { + if (shr == 3 && src_stride1 == 128) {
+ for (j = 0; j + n < w; j += dst_stride1) { + for (j = 0; j + n < w; j += dst_stride1) {
+ uint8_t * d = dst + j * dst_stride2; + uint8_t * d = dst + j * dst_stride2;