[FFmpeg-devel] [PATCH] VP8: avoid conditional and division for chroma MV

Måns Rullgård mans
Wed Jun 23 20:07:47 CEST 2010

Stefan Gehrer <stefan.gehrer at gmx.de> writes:

> On 06/23/2010 06:51 PM, Ronald S. Bultje wrote:
>> Hi,
>> On Wed, Jun 23, 2010 at 12:44 PM, Stefan Gehrer<stefan.gehrer at gmx.de>  wrote:
>>> Are there any recommended samples to test against?
>> http://code.google.com/p/webm/downloads/detail?name=vp8-test-vectors-r1.zip&can=2&q=
> Okay, I tested some clips from the test vector and
> the frame CRCs stay the same with the patch.
> But when I compile on my machine with gcc 4.4.3 amd -O3
> it seems clever enough to avoid conditional and division
> anyway.
> So now I believe in the correctness of the patch, I am
> just not so sure about the usefulness.

That's just one compiler on the primary target.  Is it just as clever
when targeting things like ARM?

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list