Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-17 01:01:47 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-06-17 01:45:46 +0300
commite29d996149692f2ec80c6f20f6a427c7287ab9a4 (patch)
tree45f410b075569dc00393c20dd9de0cecddc25e7a /libswscale/utils.c
parentf140a99f8b3178e0fb2dc6fee0c63a2e298ebdad (diff)
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.c8
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 &&