use the A32_BITSTREAM_READER by default on ARM (faster)
authorAurelien Jacobs <aurel@gnuage.org>
Mon, 28 Aug 2006 22:25:30 +0000 (22:25 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Mon, 28 Aug 2006 22:25:30 +0000 (22:25 +0000)
Originally committed as revision 6120 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/bitstream.h

index 914911ec2671d5c7c88f98a0ebe47befd3daa6ec..81247bf09b23f5e9ae4501c477ec8fe45597ae1b 100644 (file)
 //#define ALT_BITSTREAM_WRITER
 //#define ALIGNED_BITSTREAM_WRITER
 #if !defined(LIBMPEG2_BITSTREAM_READER) && !defined(A32_BITSTREAM_READER) && !defined(ALT_BITSTREAM_READER)
+#   ifdef ARCH_ARMV4L
+#       define A32_BITSTREAM_READER
+#   else
 #define ALT_BITSTREAM_READER
 //#define LIBMPEG2_BITSTREAM_READER
 //#define A32_BITSTREAM_READER
+#   endif
 #endif
 #define LIBMPEG2_BITSTREAM_READER_HACK //add BERO