]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: verisilicon: Fix IMX8 native pixel-format step values
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Thu, 12 Dec 2024 15:43:34 +0000 (15:43 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 Dec 2024 19:48:25 +0000 (19:48 +0000)
commite5453f2a94828b954e728521531d2d813cb7b3a3
tree622379117b58108f73e5cd9ce0693b382efe9447
parentdb300ab0e9d38b1e1b0b561333b66a5beacb9994
media: verisilicon: Fix IMX8 native pixel-format step values

The Hantro decoder non post-processed pixel-format steps are different
from the post-processed ones. Fix the steps according to the hardware
limitations. Since reference frame pixel-format issues have been fixed,
it is possible to use V4L2_PIX_FMT_NV15_4L4 rather V4L2_PIX_FMT_P010_4L4
for 10bit streams.

Fluster VP9 score goes up to 207/305.
HEVC score is still 141/147.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/verisilicon/imx8m_vpu_hw.c