[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <63c1962b-26a5-0415-9035-580c2842e67b@mediatek.com>
Date: Mon, 26 Sep 2022 15:23:01 +0800
From: Allen-KH Cheng <allen-kh.cheng@...iatek.com>
To: Matthias Brugger <matthias.bgg@...il.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Hans Verkuil <hverkuil-cisco@...all.nl>
CC: <Project_Global_Chrome_Upstream_Group@...iatek.com>,
<devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-media@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>, <hsinyi@...omium.org>,
kyrie wu <kyrie.wu@...iatek.com>
Subject: Re: [PATCH] media: mediatek: venc: Add h264 extended profile support
hello, maintainers
kindly disregard this patch.
The MTK HW encoder does not yet support this. (only sw)
Thanks,
Allen
On 9/15/22 19:51, Allen-KH Cheng wrote:
> Add h264 extended profile support
>
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@...iatek.com>
> Co-developed-by: kyrie wu <kyrie.wu@...iatek.com>
> Signed-off-by: kyrie wu <kyrie.wu@...iatek.com>
> ---
> drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c b/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c
> index 13c4f860fa69..ac2ef6275d78 100644
> --- a/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c
> +++ b/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c
> @@ -243,8 +243,7 @@ static unsigned int h264_get_profile(struct venc_h264_inst *inst,
> mtk_vcodec_err(inst, "unsupported CONSTRAINED_BASELINE");
> return 0;
> case V4L2_MPEG_VIDEO_H264_PROFILE_EXTENDED:
> - mtk_vcodec_err(inst, "unsupported EXTENDED");
> - return 0;
> + return 88;
> default:
> mtk_vcodec_debug(inst, "unsupported profile %d", profile);
> return 100;
Powered by blists - more mailing lists