media: v4l2-ctrls: add v4l2_ctrl_modify_dimensions
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 11 Jul 2022 10:21:09 +0000 (12:21 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 19 Aug 2022 11:47:54 +0000 (13:47 +0200)
commit0975274557d15ab9a01c0944f27065e6708a797c
tree7be7cd0f3294b5b4d71721bcf779ca9478359717
parent7392d87a9febb5f46f28d4704eb5636c5e22cdeb
media: v4l2-ctrls: add v4l2_ctrl_modify_dimensions

Add a new function to modify the dimensions of an array control.

This is typically used if the array size depends on e.g. the currently
selected video format.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls-api.c
include/media/v4l2-ctrls.h