summaryrefslogtreecommitdiffstats
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-20 15:12:10 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-21 12:56:11 +0200
commita90baa63c33fbba3d79f5c119fd4c7fad722d701 (patch)
tree106906571fe44a7d67356ec5fa0cd51e2f967d05 /libswscale/utils.c
parent1d8b1f0e51106c1a24cee565cd29ea469a1d83f8 (diff)
downloadffmpeg-streaming-a90baa63c33fbba3d79f5c119fd4c7fad722d701.zip
ffmpeg-streaming-a90baa63c33fbba3d79f5c119fd4c7fad722d701.tar.gz
add YUVJ411P
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 6bcd226..6324bc8 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -91,6 +91,7 @@ static const FormatEntry format_entries[AV_PIX_FMT_NB] = {
[AV_PIX_FMT_MONOBLACK] = { 1, 1 },
[AV_PIX_FMT_PAL8] = { 1, 0 },
[AV_PIX_FMT_YUVJ420P] = { 1, 1 },
+ [AV_PIX_FMT_YUVJ411P] = { 1, 1 },
[AV_PIX_FMT_YUVJ422P] = { 1, 1 },
[AV_PIX_FMT_YUVJ444P] = { 1, 1 },
[AV_PIX_FMT_UYVY422] = { 1, 1 },
@@ -999,6 +1000,9 @@ static int handle_jpeg(enum AVPixelFormat *format)
case AV_PIX_FMT_YUVJ420P:
*format = AV_PIX_FMT_YUV420P;
return 1;
+ case AV_PIX_FMT_YUVJ411P:
+ *format = AV_PIX_FMT_YUV411P;
+ return 1;
case AV_PIX_FMT_YUVJ422P:
*format = AV_PIX_FMT_YUV422P;
return 1;
OpenPOWER on IntegriCloud