[vlc-commits] Reimplemented the blend filter in C++ and completed the colorspaces supported .

Laurent Aimar git at videolan.org
Mon Jan 16 21:00:15 CET 2012


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jan 16 20:26:22 2012 +0100| [fec8f97c7f712483d047e961b31b5cbec921692a] | committer: Laurent Aimar

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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fec8f97c7f712483d047e961b31b5cbec921692a
---

 modules/video_filter/Modules.am |    2 +-
 modules/video_filter/blend.c    | 1399 ---------------------------------------
 modules/video_filter/blend.cpp  |  656 ++++++++++++++++++
 3 files changed, 657 insertions(+), 1400 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=fec8f97c7f712483d047e961b31b5cbec921692a


More information about the vlc-commits mailing list