diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-17 00:01:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-17 00:45:46 +0200 |
commit | e29d996149692f2ec80c6f20f6a427c7287ab9a4 (patch) | |
tree | 45f410b075569dc00393c20dd9de0cecddc25e7a /libswscale/utils.c | |
parent | f140a99f8b3178e0fb2dc6fee0c63a2e298ebdad (diff) | |
download | ffmpeg-e29d996149692f2ec80c6f20f6a427c7287ab9a4.tar.gz |
swscale/output: Add rgba64/rgb48/bgra64/bgr48 output functions with full chroma interpolation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index de0c7f968a..074f8c0d13 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -1158,6 +1158,14 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter, if (flags & SWS_FULL_CHR_H_INT && isAnyRGB(dstFormat) && !isPlanarRGB(dstFormat) && + dstFormat != AV_PIX_FMT_RGBA64LE && + dstFormat != AV_PIX_FMT_RGBA64BE && + dstFormat != AV_PIX_FMT_BGRA64LE && + dstFormat != AV_PIX_FMT_BGRA64BE && + dstFormat != AV_PIX_FMT_RGB48LE && + dstFormat != AV_PIX_FMT_RGB48BE && + dstFormat != AV_PIX_FMT_BGR48LE && + dstFormat != AV_PIX_FMT_BGR48BE && dstFormat != AV_PIX_FMT_RGBA && dstFormat != AV_PIX_FMT_ARGB && dstFormat != AV_PIX_FMT_BGRA && |