summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-12-16 21:19:50 +0000
committerMans Rullgard <mans@mansr.com>2011-12-16 21:21:48 +0000
commita1e98f198e9db4e5ddfc2f777014179d3d7bc4d2 (patch)
tree98af88558f3eb86f067d5c8426a3e0ae7b72f0e1 /libavcodec/dv.c
parenta7b5e841ffe4b0f8423288965b8d069bd2a7a792 (diff)
downloadffmpeg-a1e98f198e9db4e5ddfc2f777014179d3d7bc4d2.tar.gz
get_bits: remove A32 variant
The A32 bitstream reader variant is only used on ARMv5 and for Prores due to the larger bit cache this decoder requires. In benchmarks on ARMv5 (Marvell Sheeva) with gcc 4.6, the only statistically significant difference between ALT and A32 is a 4% advantage for ALT in FLAC decoding. There is thus no (longer) any reason to keep the A32 reader from this point of view. This patch adds an option to the ALT reader increasing the bit cache to 32 bits as required by the Prores decoder. Benchmarking shows no significant change in speed on Intel i7. Again, the A32 reader fails to justify its existence. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 6c50f77d3f..76825f51ee 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -37,7 +37,7 @@
* @file
* DV codec.
*/
-#define ALT_BITSTREAM_READER
+
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "dsputil.h"