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

Laurent Aimar git at videolan.org
Thu Jan 19 23:14:16 CET 2012


vlc/vlc-1.2 | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jan 16 20:26:22 2012 +0100| [8ac537a3914e23416623d7ed0f96f95fadae9cbe] | committer: Jean-Baptiste Kempf

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.

(cherry picked from commit fec8f97c7f712483d047e961b31b5cbec921692a)
(cherry picked from commit 4729c93f0cfe187029f0aee1c85253bd54edc2ad)

This commit is backported, because it is the only way to have proper
Hi10p playback on linux using Xv with subtitles. I do not think we want
to deal with the support of people asking why they don't see their subtitles,
and switching to the openGL output with great drivers is...

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/video_filter/Modules.am |    2 +-
 modules/video_filter/blend.c    | 1399 ---------------------------------------
 modules/video_filter/blend.cpp  |  656 ++++++++++++++++++
 po/POTFILES.in                  |    2 +-
 4 files changed, 658 insertions(+), 1401 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commitdiff;h=8ac537a3914e23416623d7ed0f96f95fadae9cbe


More information about the vlc-commits mailing list