aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tak.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-09-13 14:38:18 +0200
committerPaul B Mahol <onemda@gmail.com>2022-09-16 10:02:19 +0200
commit53523ed530d0aceb0581c2e4f120ae3915e9bc05 (patch)
tree0f40fb0aad52a8d81b41157d86657f8e36a8e64e /libavcodec/tak.c
parentdd2a01ef5cad08347ecbbcba7afd5e5a0810f504 (diff)
downloadffmpeg-53523ed530d0aceb0581c2e4f120ae3915e9bc05.tar.gz
avcodec/tak*: use cached bitstream reader on !x86_32
Increases single thread decoding speed in one example from 85x to 90x
Diffstat (limited to 'libavcodec/tak.c')
-rw-r--r--libavcodec/tak.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/tak.c b/libavcodec/tak.c
index 7221a80094..f26574c968 100644
--- a/libavcodec/tak.c
+++ b/libavcodec/tak.c
@@ -23,6 +23,7 @@
#include "libavutil/crc.h"
#include "libavutil/intreadwrite.h"
+#define CACHED_BITSTREAM_READER !ARCH_X86_32
#define BITSTREAM_READER_LE
#include "tak.h"