ARM: don't use USE_GENERIC_TREE

It's 1-2% faster to use hard-coded tree on ARM

Change-Id: I54403a70f6c692e50148c33f36833588957c20ee
This commit is contained in:
Pascal Massimino 2017-01-13 10:05:21 +01:00
parent 8fda56126e
commit fbb5c473b4

View File

@ -14,7 +14,10 @@
#include "./vp8i.h"
#include "../utils/bit_reader_inl.h"
#if !defined(__arm__) && !defined(_M_ARM) && !defined(__aarch64__)
// using a table is ~1-2% slower on ARM. Prefer the coded-tree approach then.
#define USE_GENERIC_TREE
#endif
#ifdef USE_GENERIC_TREE
static const int8_t kYModesIntra4[18] = {