avcodec/tak*: use cached bitstream reader on !x86_32

Increases single thread decoding speed in one example from 85x to 90x
pull/388/head
Paul B Mahol 2 years ago
parent dd2a01ef5c
commit 53523ed530
  1. 1
      libavcodec/tak.c
  2. 1
      libavcodec/tak_parser.c
  3. 1
      libavcodec/takdec.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"

@ -24,6 +24,7 @@
* TAK parser
**/
#define CACHED_BITSTREAM_READER !ARCH_X86_32
#define BITSTREAM_READER_LE
#include "parser.h"
#include "tak.h"

@ -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"

Loading…
Cancel
Save