[Ffmpeg-devel] [PATCH] Import swscale

Luca Abeni lucabe72
Mon Apr 3 14:25:58 CEST 2006

Hi all,

here is my next try...

Changes from last version:
1) removed "#include "i386/mmx.h"" from libswscale/cpu.h
2) removed "struct vo_mpegpes_t" and "vo_format_name()" from
libswscale/img_format.h. swscale now prints the vo format in
hexadecimal. I'll post an incremental patch for printing both numeric
value and ASCII characters in the next days (but it will reintroduce a
function - or macro - similar to vo_format_name()). That could be
committed in a second time.
3) removed sws_convert(). swscale integration is now based on the
sws-emulation.diff and move-ffmpeg-to-sws.diff patches I sent this
4) the configure ouptut now (hopefully) prints "software scaler" instead
of "swscale", "SwScale", or similar
5) the swscale version is now set to 0.5.0 (I hope I did the right

The imported libswscale still contains the "USE_AVUTIL" trick. If this
is not ok, let me know and I'll remove it.

Well, I hope I addressed all the comments and I did not screw up
anything ;-)

As usual, I attach:
1) libswscale.diff ---> a patch showing how I modified swscale for
importing it (minus the Makefile part). This is only useful for review.
2) sws-internal-new.diff ---> the ffmpeg patch (to be applied over the
patches I sent this morning) for compiling/using the imported swscale.

Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sws-internal-new.diff
Type: text/x-patch
Size: 7763 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060403/935b0ff4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libswscale.diff
Type: text/x-patch
Size: 28353 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060403/935b0ff4/attachment-0001.bin>

More information about the ffmpeg-devel mailing list