[FFmpeg-devel] [RFC] Cleanse swscale

Michael Niedermayer michaelni
Wed Jan 12 01:37:39 CET 2011

On Tue, Jan 11, 2011 at 10:50:30PM +0100, Luca Barbato wrote:
> I started to have yet another look at swscale since soon I might dabble
> a bit with neon.
> I'd like to move ALL the x86 code in the x86 dir and possibly unify the
> init functions so x86 won't be special.
> Right now I'm just shuffling the code away and duplicate it (C-only in
> libswscale, asm-laced in x86), then I'll untemplateze the C one and
> apparently some usual suspect seems interested in convert the x86 asm to
> yasm as the latest step of the cleanup. The x86 init code will move away
> and possibly will be unified.
> So far some early points:
> - we have bits of Alpha asm left in rgb2rgb_template.c

> - Always set FAST_BGR2YV12 (7bit consts instead of 15bit) puzzles me,
> maybe an extended comment might be useful

Id add one if i would remember ...

> - Non-x86 arches have quite a barrier in order to add effectively
> optimizations.

> - the functions have sometimes camelCase names sometimes not.

changing style of bike colors over the years ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110112/452e645d/attachment.pgp>

More information about the ffmpeg-devel mailing list