[FFmpeg-devel] [PATCH] lavc/qsvenc_jpeg: accept YUYV422 and BGRA in system memory
Xiang, Haihao
haihao.xiang at intel.com
Mon Jan 9 10:56:26 EET 2023
From: Haihao Xiang <haihao.xiang at intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
---
libavcodec/qsvenc_jpeg.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/qsvenc_jpeg.c b/libavcodec/qsvenc_jpeg.c
index 2469ef7c9f..2add12adc9 100644
--- a/libavcodec/qsvenc_jpeg.c
+++ b/libavcodec/qsvenc_jpeg.c
@@ -89,6 +89,8 @@ const FFCodec ff_mjpeg_qsv_encoder = {
.close = qsv_enc_close,
.p.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HYBRID,
.p.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
+ AV_PIX_FMT_YUYV422,
+ AV_PIX_FMT_BGRA,
AV_PIX_FMT_QSV,
AV_PIX_FMT_NONE },
.p.priv_class = &class,
--
2.25.1
More information about the ffmpeg-devel
mailing list