diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2019-05-28 20:02:18 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-29 17:48:34 +0300 |
commit | 32cddf9c94d81c4cd3c63fd1fe8ea9b98feac7e5 (patch) | |
tree | 8d9b4db8b60de17973970895fa8b9055eb40d0c2 /crypto/lzo.c | |
parent | ce57a82f8a8dfd9c6eef3b99bf9b3677933210c0 (diff) | |
download | linux-32cddf9c94d81c4cd3c63fd1fe8ea9b98feac7e5.tar.xz |
media: v4l2-common: Add an helper to apply frmsize constraints
The rockchip VPU driver is open-coding this logic which seems pretty
generic. Let's provide an helper to apply the min/max and alignment
constraints on width/height.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'crypto/lzo.c')
0 files changed, 0 insertions, 0 deletions