[Ffmpeg-devel] [PATCH] enable libswscale

Luca Abeni lucabe72
Sat Aug 5 00:09:42 CEST 2006

Hi all,

the attached patch is the last missing part for using libswscale in
To use it, apply the patch to the ffmpeg tree, copy libswscale from the
mplayer tree, copy mplayer/asmalign.h into ffmpeg/libswscale, and copy
mplayer/libmpcodecs/img_format.h into ffmpeg/libswscale (such copies
will be handled with the external svn property).
Note that the last two copies are only a temporary solution: when a
proper configure support will be implemented, asmalign.h will not be
needed, and I plan to remove the need for img_format.h soon (I plan to
switch to ffmpeg's format names).

The patch works, but I am not sure if the configure and makefiles
changes can be implemented in a better way; comments from the
maintainers of such subsystems would be very useful.

After applying the patch, if --enable-swscaler is not used "make
libavtest" and "make codectest" pass without problems.
If --enable-swscaler is used some tests fail (because the pixel format
conversion and rescale routines change) and some other segfault (see my
next email)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: sws-internal.diff
Type: text/x-patch
Size: 7960 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060805/aee8a606/attachment.bin>

More information about the ffmpeg-devel mailing list