[PATCH v2] media: mediatek: vcodec: Use 4K frame size when supported by stateful decoder
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue Mar 14 07:44:43 PDT 2023
Il 14/03/23 11:22, Pin-yen Lin ha scritto:
> After commit b018be06f3c7 ("media: mediatek: vcodec: Read max resolution
> from dec_capability"), the stateful video decoder driver never really
> sets its output frame size to 4K.
>
> Parse the decoder capability reported by the firmware, and update the
> output frame size in mtk_init_vdec_params to enable 4K frame size when
> available.
>
> Fixes: b018be06f3c7 ("media: mediatek: vcodec: Read max resolution from dec_capability")
> Signed-off-by: Pin-yen Lin <treapking at chromium.org>
>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list