]> git.sesse.net Git - vlc/commit
Reimplemented the blend filter in C++ and completed the colorspaces supported.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 16 Jan 2012 19:26:22 +0000 (20:26 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 16 Jan 2012 19:51:32 +0000 (20:51 +0100)
commitfec8f97c7f712483d047e961b31b5cbec921692a
treeadcaeaaa7ea98a614982ac9f07af99ce2c0afbc1
parent4f417ef5ed3c7dbe3094fded253c135132afa5c2
Reimplemented the blend filter in C++ and completed the colorspaces supported.

It now supports all combinaisons of
Destinations:
 - YV9, YV12, I410, I411 (8 bits)
 - I420, I422, I444 (8, 9 and 10 bits, native endianness only)
 - YUYV and the various variants
 - NV12/NV21
 - RV15, RV16, RV24, RV32
Sources
 - YUVA
 - RGBA
 - YUVP

The quality of the blending is the same, and the speeds for I420 is the same
(not tested others combinaisons).

Support for blending I420 over another picture has been removed (I don't
see the use case and it simplify the code).

It closes ##5477.
modules/video_filter/Modules.am
modules/video_filter/blend.c [deleted file]
modules/video_filter/blend.cpp [new file with mode: 0644]