diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-12-10 14:51:54 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-12-10 14:57:05 +0100 |
commit | 442bbdb3c53201daac81d53f9a15b846d760f2b3 (patch) | |
tree | db1b2e67549fdaf1e0c1b222c6b7b0f385bbb336 | |
parent | 7e8b5393895f6a21df501b047e5f987f456b9701 (diff) | |
download | ffmpeg-442bbdb3c53201daac81d53f9a15b846d760f2b3.tar.gz |
avfilter/drawutils: rgb48/bgr48 is supported
-rw-r--r-- | libavfilter/drawutils.c | 3 | ||||
-rw-r--r-- | tests/ref/fate/filter-pixfmts-pad | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c index b4083b9a95..1081938d86 100644 --- a/libavfilter/drawutils.c +++ b/libavfilter/drawutils.c @@ -128,9 +128,6 @@ int ff_draw_init2(FFDrawContext *draw, enum AVPixelFormat format, enum AVColorSp if (pixelstep[c->plane] != 0 && pixelstep[c->plane] != c->step) return AVERROR(ENOSYS); - if (pixelstep[c->plane] == 6 && - c->depth == 16) - return AVERROR(ENOSYS); pixelstep[c->plane] = c->step; if (pixelstep[c->plane] >= 8) return AVERROR(ENOSYS); diff --git a/tests/ref/fate/filter-pixfmts-pad b/tests/ref/fate/filter-pixfmts-pad index d659ef6121..57ccc4ae4d 100644 --- a/tests/ref/fate/filter-pixfmts-pad +++ b/tests/ref/fate/filter-pixfmts-pad @@ -4,6 +4,7 @@ abgr 52738042432893de555e6a3833172806 argb 2a10108ac524b422b8a2393c064b3eab bgr0 025d4d5e5691801ba39bc9de70e39df0 bgr24 f8b65ad845905c7d0c93ca28dfbb826f +bgr48le 4564b56dd1f2a9761b8a7a5244ac4c49 bgra 929aac15e848038e367c250037575f9f gbrap 5f16cccab5a17cb766c882e865995167 gbrap10le e63e0a1ae9afd7e6a732f18be194e761 @@ -35,6 +36,7 @@ p410le 5ca28f2bcc849987810e1f3437b12feb p416le fa4e023d0bf4b03b0ffef3d4d35abf7e rgb0 0984eb985dabbe757ed6beb53db84eff rgb24 17f9e2e0c609009acaf2175c42d4a2a5 +rgb48le ed08db9b1aa50d69b8c3d73db93e390e rgba b157c90191463d34fb3ce77b36c96386 vuya 44368c0a758ee68e24ce976e3b1b8535 vuyx bc7c4f693a22cd1ac95e33d473086474 |