summaryrefslogtreecommitdiff
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-11-24 10:40:05 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2011-11-24 10:40:05 -0800
commit185655c601cd893866fee42acab19a481f44941e (patch)
tree141b0f9554fc8a3232e9421f4643a0a6ec3c38d6 /libswscale/utils.c
parentdb431f7efec7467219ab370f796e01bd23bc2639 (diff)
swscale: add support for planar RGB input.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 51bec62717..7a969867ed 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -137,6 +137,13 @@ const static FormatEntry format_entries[PIX_FMT_NB] = {
[PIX_FMT_YUV444P9LE] = { 1 , 1 },
[PIX_FMT_YUV444P10BE] = { 1 , 1 },
[PIX_FMT_YUV444P10LE] = { 1 , 1 },
+ [PIX_FMT_GBRP] = { 1 , 0 },
+ [PIX_FMT_GBRP9LE] = { 1 , 0 },
+ [PIX_FMT_GBRP9BE] = { 1 , 0 },
+ [PIX_FMT_GBRP10LE] = { 1 , 0 },
+ [PIX_FMT_GBRP10BE] = { 1 , 0 },
+ [PIX_FMT_GBRP16LE] = { 1 , 0 },
+ [PIX_FMT_GBRP16BE] = { 1 , 0 },
};
int sws_isSupportedInput(enum PixelFormat pix_fmt)