avcodec/utvideodec: use cached bitstream reader everywhere except on x86_32
authorPaul B Mahol <onemda@gmail.com>
Tue, 3 Apr 2018 11:32:07 +0000 (13:32 +0200)
committerPaul B Mahol <onemda@gmail.com>
Thu, 30 Aug 2018 10:00:27 +0000 (12:00 +0200)
From 100x real-time decoding to 138x real-time decoding for 320x240 video.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/utvideodec.c

index 82cb038..3891df3 100644 (file)
@@ -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"