mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 22:28:22 +01:00
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:
parent
8fda56126e
commit
fbb5c473b4
@ -14,7 +14,10 @@
|
|||||||
#include "./vp8i.h"
|
#include "./vp8i.h"
|
||||||
#include "../utils/bit_reader_inl.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
|
#define USE_GENERIC_TREE
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_GENERIC_TREE
|
#ifdef USE_GENERIC_TREE
|
||||||
static const int8_t kYModesIntra4[18] = {
|
static const int8_t kYModesIntra4[18] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user