[vlc-commits] Blend: allow YUV 4:4:4 16bit
Jean-Baptiste Kempf
git at videolan.org
Tue Feb 18 12:16:59 CET 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 18 12:15:35 2014 +0100| [8cc28d2ba34f3672c45d173b4498337ac0613b22] | committer: Jean-Baptiste Kempf
Blend: allow YUV 4:4:4 16bit
This is notably needed for old vouts like Xv and DDraw
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8cc28d2ba34f3672c45d173b4498337ac0613b22
---
modules/video_filter/blend.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/video_filter/blend.cpp b/modules/video_filter/blend.cpp
index 6552899..befe886 100644
--- a/modules/video_filter/blend.cpp
+++ b/modules/video_filter/blend.cpp
@@ -425,6 +425,7 @@ struct convertBits {
};
typedef convertBits< 9, 8> convert8To9Bits;
typedef convertBits<10, 8> convert8To10Bits;
+typedef convertBits<16, 8> convert8To16Bits;
struct convertRgbToYuv8 {
convertRgbToYuv8(const video_format_t *, const video_format_t *) {}
@@ -598,9 +599,11 @@ static const struct {
#ifdef WORDS_BIGENDIAN
YUV(VLC_CODEC_I444_9B, CPictureI444_16, convert8To9Bits),
YUV(VLC_CODEC_I444_10B, CPictureI444_16, convert8To10Bits),
+ YUV(VLC_CODEC_I444_16B, CPictureI444_16, convert8To16Bits),
#else
YUV(VLC_CODEC_I444_9L, CPictureI444_16, convert8To9Bits),
YUV(VLC_CODEC_I444_10L, CPictureI444_16, convert8To10Bits),
+ YUV(VLC_CODEC_I444_16L, CPictureI444_16, convert8To16Bits),
#endif
YUV(VLC_CODEC_YUYV, CPictureYUYV, convertNone),
More information about the vlc-commits
mailing list