[Ffmpeg-devel] dsputil arm patch
Michael Niedermayer
michaelni
Wed Apr 25 01:28:11 CEST 2007
Hi
On Tue, Apr 24, 2007 at 10:59:11PM +0800, Tao Huang wrote:
> M?ns Rullg?rd ??????:
> >>When I benchmark this video with mplayer, it use 30s. I don't know why
> >>ffmpeg use so long time. But, the delta is more important.
> >>
> >
> >Well, did you specify the correct CPU? If you don't, the ARMv6
> >optimized IDCT isn't used.
> >
> >
> My patch is for some put*, NOT IDCT. Which version IDCT isn't important.
>
> Now I reconfigure ffmpeg with extra-cflags -mcpu=arm1136jf-s -mfpu=vfp
> -mfloat-abi=softfp
> configure output have:
> ARCH armv4l (generic)
> big-endian no
> ARMv5TE enabled yes
> ARMv6 enabled yes
> IWMMXT enabled no
>
> The ffmpeg output like this:
>
> FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
> configuration: --prefix=/usr --extra-cflags=-mcpu=arm1136jf-s
> -mfpu=vfp -mfloat-abi=softfp
> libavutil version: 49.4.0
> libavcodec version: 51.40.4
> libavformat version: 51.12.1
> built on Apr 24 2007 22:03:50, gcc: 3.4.4 (release) (CodeSourcery ARM
> 2005q3-2)
> Input #0, avi, from 'Nokia_N800.avi':
> Duration: 00:01:41.9, start: 0.000000, bitrate: 743 kb/s
> Stream #0.0: Video: mpeg4, yuv420p, 400x240, 25.00 fps(r)
> Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
> Output #0, rawvideo, to '/dev/null':
> Stream #0.0: Video: rawvideo, yuv420p, 400x240, q=2-31, 200 kb/s,
> 25.00 fps(c)
> Stream mapping:
> Stream #0.0 -> #0.0
>
> The result:
> ./ffmpeg -benchmark -i Nokia_N800.avi -an -f rawvideo -y /dev/null
> 2>/dev/null
> bench: utime=38.148s
>
> ./ffmpeg.orig -benchmark -i Nokia_N800.avi -an -f rawvideo -y /dev/null
> 2>/dev/null
> bench: utime=40.352s
>
> All files are in RAM (tmpfs).
>
> I rebuild the patch and send again.
patch looks ok assuming regression tests pass on arm
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070425/b1b02c83/attachment.pgp>
More information about the ffmpeg-devel
mailing list