[FFmpeg-devel] [PATCH] VP8 EMU_EDGE support

Ronald S. Bultje rsbultje
Sat Dec 25 16:09:46 CET 2010


Hi,

patch adds support for that. Complications are that as far as I can
see, there's no restrictions on referencing off-screen pixels, in fact
these are defined (127/129), so I had to add some hacks to handle
that. Please review and let's discuss if these are acceptable or if we
want other ways to accomplish the same. I've added two new intra
prediction modes, DC_127 and DC_129, which are identical to DC_128 but
different value. For more comples VP8 edge intra pred cases where it
depends on off-frame pixels, I emulate the edge in a temp 5x8 buffer.
I can add more hacky intra pred cases for this but I don't think it's
important, after all the number of MBs that reference off-frame pixel
data is merely one row + one col...

Make fate-vp8 fails with -flags emu_edge. I think this isn't because
displayed data output changes, because diff says PNGs are identical
before/after. Maybe framemd5 includes edge pixels in its pixel data?
Also, pixel data looks visually identical and photoshop difference
mask shows no differences.

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vp8_emu_edge.patch
Type: application/octet-stream
Size: 14714 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101225/337e8efa/attachment.obj>



More information about the ffmpeg-devel mailing list