Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-09-13 15:38:18 +0300
committerPaul B Mahol <onemda@gmail.com>2022-09-16 11:02:19 +0300
commit53523ed530d0aceb0581c2e4f120ae3915e9bc05 (patch)
tree0f40fb0aad52a8d81b41157d86657f8e36a8e64e /libavcodec/takdec.c
parentdd2a01ef5cad08347ecbbcba7afd5e5a0810f504 (diff)
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/takdec.c')
-rw-r--r--libavcodec/takdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 68ad1e9ed7..5cbc2de6bd 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -29,6 +29,7 @@
#include "libavutil/mem_internal.h"
#include "libavutil/samplefmt.h"
+#define CACHED_BITSTREAM_READER !ARCH_X86_32
#define BITSTREAM_READER_LE
#include "audiodsp.h"
#include "thread.h"