Bug 1360429 - Part 1. inline arm assember for YCBCR should be on arm only. r=sotaro

ycvcr_to_rgb565 uses inline assember for arm neon.  Since it is different for aarch64's assembler, we should define HAVE_YCBCR_TO_RGB565 on arm32 only.

MozReview-Commit-ID: 4c2n1luvVvC

--HG--
extra : rebase_source : 8ae3f9deb6d0f4e3ab6036b7ce7ec57e0c7e1b57
This commit is contained in:
Makoto Kato 2017-04-28 13:22:07 +09:00
parent 997dcaa50f
commit 5a2c91137e

View File

@ -7,7 +7,7 @@
#include "mozilla/arm.h"
// It's currently only worth including this if we have NEON support.
#ifdef MOZILLA_MAY_SUPPORT_NEON
#if defined(__arm__) && defined(MOZILLA_MAY_SUPPORT_NEON)
#define HAVE_YCBCR_TO_RGB565 1
#endif