mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
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
@ -23,6 +23,7 @@
|
|||||||
#include "libavutil/crc.h"
|
#include "libavutil/crc.h"
|
||||||
#include "libavutil/intreadwrite.h"
|
#include "libavutil/intreadwrite.h"
|
||||||
|
|
||||||
|
#define CACHED_BITSTREAM_READER !ARCH_X86_32
|
||||||
#define BITSTREAM_READER_LE
|
#define BITSTREAM_READER_LE
|
||||||
#include "tak.h"
|
#include "tak.h"
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
* TAK parser
|
* TAK parser
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
#define CACHED_BITSTREAM_READER !ARCH_X86_32
|
||||||
#define BITSTREAM_READER_LE
|
#define BITSTREAM_READER_LE
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
#include "tak.h"
|
#include "tak.h"
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include "libavutil/mem_internal.h"
|
#include "libavutil/mem_internal.h"
|
||||||
#include "libavutil/samplefmt.h"
|
#include "libavutil/samplefmt.h"
|
||||||
|
|
||||||
|
#define CACHED_BITSTREAM_READER !ARCH_X86_32
|
||||||
#define BITSTREAM_READER_LE
|
#define BITSTREAM_READER_LE
|
||||||
#include "audiodsp.h"
|
#include "audiodsp.h"
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user