mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-14 21:09:55 +02:00
NEON speed up
add TransformDC special case, and make the switch function inlined. Recovers a few of the CPU lost during the addition of TransformAC3 (only on ARM) Change-Id: I21c1f0c6a9cb9d1dfc1e307b4f473a2791273bd6
This commit is contained in:
@ -671,7 +671,7 @@ static void Copy32b(uint8_t* dst, uint8_t* src) {
|
||||
memcpy(dst, src, 4);
|
||||
}
|
||||
|
||||
static void DoTransform(uint32_t bits, const int16_t* const src,
|
||||
static WEBP_INLINE void DoTransform(uint32_t bits, const int16_t* const src,
|
||||
uint8_t* const dst) {
|
||||
switch (bits >> 30) {
|
||||
case 3:
|
||||
|
Reference in New Issue
Block a user