swscale: add NV16 input/output

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Matthieu Bouron
2022-06-01 22:33:37 +02:00
committed by Anton Khirnov
parent 61c151a098
commit 0a6bb7da55
14 changed files with 14 additions and 1 deletions

View File

@@ -1101,6 +1101,7 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c)
c->chrToYV12 = uyvyToUV_c;
break;
case AV_PIX_FMT_NV12:
case AV_PIX_FMT_NV16:
case AV_PIX_FMT_NV24:
c->chrToYV12 = nv12ToUV_c;
break;