[FFmpeg-devel] [PATCH] up VOFW in swscale?

Andreas Öman andreas
Thu Apr 2 20:53:44 CEST 2009

Michael Niedermayer wrote:
> On Wed, Apr 01, 2009 at 11:59:46PM +0200, Andreas ?man wrote:
>> Michael Niedermayer wrote:
>>> On Wed, Apr 01, 2009 at 09:28:46PM +0200, Andreas ?man wrote:
>>>> Hi
>>>> I use the scaler to rescale photos (>2048 pixels wide) in my
>>>> application.
>>>> With the old scaler this was not a problem but nowadays it
>>>> no longer works since the maximum width is limited to 2048 pix.
>>>> Therefore I propose we up this to 4096.
>>> can post some benchmarks with a CPU with small cache and a low resolution
>>> video?
>> Interesting exercise. Seems that increasing it to 4096 causes more
>> cache aliasing. However, increasing it to 5120 makes it faster than
>> the original code.
> looks  good so far but i still would like to see benchmarks from one or 2
> other cpus, at least one (non P4) intel

This is on a:
Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz

I wouldn't say it's much of a difference on that one.
I don't have access to any non-x86 platforms of significance.

VOFW = 2048

user	1m40.558s
user	1m40.634s
user	1m40.494s
user	1m40.598s

VOFW = 5120

user	1m40.766s
user	1m40.514s
user	1m40.474s
user	1m40.326s

More information about the ffmpeg-devel mailing list