[FFmpeg-cvslog] avcodec/utvideodec: use cached bitstream reader everywhere except on x86_32

Paul B Mahol git at videolan.org
Thu Aug 30 13:05:22 EEST 2018


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Apr  3 13:32:07 2018 +0200| [562f00ed072080b34f351577818783a94ac9de62] | committer: Paul B Mahol

avcodec/utvideodec: use cached bitstream reader everywhere except on x86_32

>From 100x real-time decoding to 138x real-time decoding for 320x240 video.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=562f00ed072080b34f351577818783a94ac9de62
---

 libavcodec/utvideodec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index 82cb038ccd..3891df3570 100644
--- a/libavcodec/utvideodec.c
+++ b/libavcodec/utvideodec.c
@@ -27,6 +27,7 @@
 #include <inttypes.h>
 #include <stdlib.h>
 
+#define CACHED_BITSTREAM_READER !ARCH_X86_32
 #define UNCHECKED_BITSTREAM_READER 1
 
 #include "libavutil/intreadwrite.h"



More information about the ffmpeg-cvslog mailing list