[SCM] libav/experimental: Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:46:04 UTC 2013
The following commit has been merged in the experimental branch:
commit 075ec82c547da919e3fb3affefbbe2be27c08800
Author: Kostya Shishkov <kostya.shishkov at gmail.com>
Date: Tue May 19 17:26:22 2009 +0000
Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).
Originally committed as revision 29316 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 31e3b83..e3bf0c3 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -463,6 +463,10 @@ const char *sws_format_name(enum PixelFormat format)
return "rgb4";
case PIX_FMT_RGB4_BYTE:
return "rgb4 byte";
+ case PIX_FMT_RGB48BE:
+ return "rgb48be";
+ case PIX_FMT_RGB48LE:
+ return "rgb48le";
case PIX_FMT_NV12:
return "nv12";
case PIX_FMT_NV21:
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index d9bbb6c..effbae9 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -376,6 +376,9 @@ const char *sws_format_name(int format);
static inline int fmt_depth(int fmt)
{
switch(fmt) {
+ case PIX_FMT_RGB48BE:
+ case PIX_FMT_RGB48LE:
+ return 48;
case PIX_FMT_BGRA:
case PIX_FMT_ABGR:
case PIX_FMT_RGBA:
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list