[FFmpeg-devel] [PATCH] lavc/qsvenc_jpeg: accept YUYV422 and BGRA in system memory
Xiang, Haihao
haihao.xiang at intel.com
Thu Jan 12 05:58:27 EET 2023
On Ma, 2023-01-09 at 16:56 +0800, Xiang, Haihao wrote:
> 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,
Will apply,
-Haihao
More information about the ffmpeg-devel
mailing list