mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 15:50:10 -04:00
media: hantro: imx: reuse MB_DIM define
Swap the hardcoded 16 with MB_DIM define.
Fixes: 8e4aaa6878 ("media: hantro: add initial i.MX8MQ support")
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
09f4310c6b
commit
3b33084951
@@ -109,10 +109,10 @@ static const struct hantro_fmt imx8m_vpu_dec_fmts[] = {
|
||||
.frmsize = {
|
||||
.min_width = 48,
|
||||
.max_width = 3840,
|
||||
.step_width = 16,
|
||||
.step_width = MB_DIM,
|
||||
.min_height = 48,
|
||||
.max_height = 2160,
|
||||
.step_height = 16,
|
||||
.step_height = MB_DIM,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user