Merge pull request #2121 from codesnake/ffmpeg_hevc_aarch64

ffmpeg: fix undefined reference to rpi_sand128b_stripe_to_8_10 error when building for aarch64
This commit is contained in:
MilhouseVH 2017-10-16 21:39:48 +01:00 committed by GitHub
commit 938470e395

View File

@ -29153,7 +29153,7 @@ index 0000000000..b8bfad915e
+#include "rpi_sand_fn_pw.h"
+#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);
+#endif
+
@ -29199,7 +29199,7 @@ index 0000000000..b8bfad915e
+ // 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
+
+#if HAVE_NEON
+#if defined(HAVE_NEON) && defined(__arm__)
+ if (shr == 3 && src_stride1 == 128) {
+ for (j = 0; j + n < w; j += dst_stride1) {
+ uint8_t * d = dst + j * dst_stride2;