Hi,

On Tue, May 24, 2011 at 4:21 PM, Diego Biurrun <[email protected]> wrote:
> On Tue, May 24, 2011 at 04:07:50PM -0400, Ronald S. Bultje wrote:
>> ---
>>  libswscale/x86/swscale_template.c |   58 
>> ++++++++++++++++++++++++++----------
>>  1 files changed, 42 insertions(+), 16 deletions(-)
>
> The log message tells me what you are doing, but not why.

Make an insanely big file with even more insanely big functions just a
little bit smaller. The idea is that after function splits, I can move
smaller, individual functions to separate files, so that swscale will
finally be manageable and understandable.

For example, you could have a file containing specific i420-to-rgb
conversion functions, and another such file containing mmx/mmx2
versions of these, and yet another containing yasm-versions using
ssse3. Binaries from one machine that has and uses ssse3/sse4 will be
interchangeable with machines that do not have ssse3/sse4.

Behold, I foresee a time that mere mortal, non-godlike human beings
will be able to add functionality and optimizations to swscale. It
will rain ponies and android phones. ;-).

I'll fix the indenting/coding style where appropriate.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to