[Ffmpeg-devel] [PATCH] introduce swscale interface inlibavcodec

Luca Abeni lucabe72
Mon Apr 10 11:52:09 CEST 2006

Hi Michael,

sorry for the delayed reply

On Thu, 2006-04-06 at 16:55 +0200, Michael Niedermayer wrote:
> > 2) a change to all the swscale callers, to use ffmpeg pixel format names
> > instead of the VO ones that are currently used. Maybe some #define trick
> > will help.
> hmm, i thought sws should support both mplayer style and ffmpeg style img
> formats externally ...
I must have misunderstood something, then ;-)
Anyway, I can add a new flag SWS_FFMPEG_PIXFMT that enables ffmpeg style
format names when set (so, mplayer will not set such flag and will
continue to use its own format names. FFMpeg will set the flag and will
use PIX_FMT_*).

Give me two or three days to make some order in my sources (I am
beginning to get confused with all the versions I have on my hd :), and
I'll send an update.

Finally, the last question: which functions should mplayer pass to
sws_global_init()? (Ok, mp_msg() for logging, but I assume av_malloc()
and av_free() are not ok, because in this way it would become impossible
to compile mplayer without libavcodec...)

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

More information about the ffmpeg-devel mailing list