avcodec/tak*: use cached bitstream reader on !x86_32
Increases single thread decoding speed in one example from 85x to 90x
This commit is contained in:
parent
dd2a01ef5c
commit
53523ed530
3 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue