Commit 1eb2212e authored by Fabrice Bellard's avatar Fabrice Bellard

mpegaudio decoder is in high precision mode by default (low precision is only...

mpegaudio decoder is in high precision mode by default (low precision is only interesting for slow/old CPUs)

Originally committed as revision 635 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 81552334
...@@ -51,6 +51,7 @@ lshared="no" ...@@ -51,6 +51,7 @@ lshared="no"
extralibs="-lm" extralibs="-lm"
simpleidct="yes" simpleidct="yes"
bigendian="no" bigendian="no"
mpegaudio_hp="yes"
# OS specific # OS specific
targetos=`uname -s` targetos=`uname -s`
...@@ -130,6 +131,8 @@ for opt do ...@@ -130,6 +131,8 @@ for opt do
;; ;;
--enable-shared) lshared="yes" --enable-shared) lshared="yes"
;; ;;
--disable-mpegaudio-hp) mpegaudio_hp="no"
;;
esac esac
done done
...@@ -219,6 +222,8 @@ echo " --disable-v4l disable video4linux grabbing [default=no]" ...@@ -219,6 +222,8 @@ echo " --disable-v4l disable video4linux grabbing [default=no]"
echo " --disable-network disable network support [default=no]" echo " --disable-network disable network support [default=no]"
echo " --disable-simple_idct disable simple IDCT routines [default=no]" echo " --disable-simple_idct disable simple IDCT routines [default=no]"
echo " --enable-gprof enable profiling with gprof [$gprof]" echo " --enable-gprof enable profiling with gprof [$gprof]"
echo " --disable-mpegaudio-hp faster (but less accurate)"
echo " mpegaudio decoding [default=no]"
echo "" echo ""
echo "NOTE: The object files are build at the place where configure is launched" echo "NOTE: The object files are build at the place where configure is launched"
exit 1 exit 1
...@@ -300,6 +305,11 @@ if test "$a52" = "yes" ; then ...@@ -300,6 +305,11 @@ if test "$a52" = "yes" ; then
fi fi
fi fi
# mpeg audio high precision mode
if test "$mpegaudio_hp" = "yes" ; then
echo "#define CONFIG_MPEGAUDIO_HP 1" >> $TMPH
fi
if test "$v4l" = "yes" ; then if test "$v4l" = "yes" ; then
echo "#define CONFIG_VIDEO4LINUX 1" >> $TMPH echo "#define CONFIG_VIDEO4LINUX 1" >> $TMPH
echo "CONFIG_VIDEO4LINUX=yes" >> config.mak echo "CONFIG_VIDEO4LINUX=yes" >> config.mak
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment