[FFmpeg-devel] [PATCH] lavfi: add kerndeint filter

Stefano Sabatini stefasab at gmail.com
Thu Jan 3 23:27:19 CET 2013

On date Thursday 2013-01-03 19:48:08 +0000, Carl Eugen Hoyos encoded:
> Stefano Sabatini <stefasab <at> gmail.com> writes:
> > Update, ready for review.
> > 
> > I had to fix the yuyv422 code (which is broken in
> > mp=kerndeint/MPlayer).
> Could you just commit the fix to MPlayer svn?

I have no access to MPlayer SVN, and I wouldn't know how to fix
it. Basically mp=kerndeint is assuming width = linesize, which is only
true in the case of yuv420p. I relied on av_image_alloc() to properly
compute the linesizes without relying on format-specific hacks, and
used that in place of width, but don't know what's the proper way to
do it in libmpcodecs.
FFmpeg = Fundamentalist & Forgiving Multimedia Purposeless Easy Geek

More information about the ffmpeg-devel mailing list