diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-09-27 16:13:16 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-09-28 19:37:58 +0200 |
commit | 29b673bdcfe1cd37de40b1714bfbcc03817cef7e (patch) | |
tree | 70d6028e6f8bfd923aa0081837bdd341ff052621 /libswscale/utils.c | |
parent | 8e1ef7c38f6906455ae96984d032e57106e11b77 (diff) | |
download | ffmpeg-29b673bdcfe1cd37de40b1714bfbcc03817cef7e.tar.gz |
swscale: add GBRAP14 format support
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index b3cc74331f..e1ad685972 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -204,6 +204,8 @@ static const FormatEntry format_entries[] = { [AV_PIX_FMT_GBRAP12BE] = { 1, 1 }, [AV_PIX_FMT_GBRP14LE] = { 1, 1 }, [AV_PIX_FMT_GBRP14BE] = { 1, 1 }, + [AV_PIX_FMT_GBRAP14LE] = { 1, 1 }, + [AV_PIX_FMT_GBRAP14BE] = { 1, 1 }, [AV_PIX_FMT_GBRP16LE] = { 1, 1 }, [AV_PIX_FMT_GBRP16BE] = { 1, 1 }, [AV_PIX_FMT_GBRPF32LE] = { 1, 1 }, @@ -1228,6 +1230,9 @@ static enum AVPixelFormat alphaless_fmt(enum AVPixelFormat fmt) case AV_PIX_FMT_GBRAP12LE: return AV_PIX_FMT_GBRP12; case AV_PIX_FMT_GBRAP12BE: return AV_PIX_FMT_GBRP12; + case AV_PIX_FMT_GBRAP14LE: return AV_PIX_FMT_GBRP14; + case AV_PIX_FMT_GBRAP14BE: return AV_PIX_FMT_GBRP14; + case AV_PIX_FMT_GBRAP16LE: return AV_PIX_FMT_GBRP16; case AV_PIX_FMT_GBRAP16BE: return AV_PIX_FMT_GBRP16; @@ -1496,6 +1501,7 @@ static av_cold int sws_init_single_context(SwsContext *c, SwsFilter *srcFilter, srcFormat != AV_PIX_FMT_GBRAP10BE && srcFormat != AV_PIX_FMT_GBRAP10LE && srcFormat != AV_PIX_FMT_GBRP12BE && srcFormat != AV_PIX_FMT_GBRP12LE && srcFormat != AV_PIX_FMT_GBRAP12BE && srcFormat != AV_PIX_FMT_GBRAP12LE && + srcFormat != AV_PIX_FMT_GBRAP14BE && srcFormat != AV_PIX_FMT_GBRAP14LE && srcFormat != AV_PIX_FMT_GBRP14BE && srcFormat != AV_PIX_FMT_GBRP14LE && srcFormat != AV_PIX_FMT_GBRP16BE && srcFormat != AV_PIX_FMT_GBRP16LE && srcFormat != AV_PIX_FMT_GBRAP16BE && srcFormat != AV_PIX_FMT_GBRAP16LE && |