diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2023-10-13 14:00:31 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-12-07 10:56:14 +0300 |
commit | 2addee7aeff25260f35e688f7ced057b8651c1c5 (patch) | |
tree | 42ed53fa8b7f441f1f3760ff020af7e300e7168a /.cocciconfig | |
parent | 4e4dd24e309dbd9a3cac7a228b62991a8dfe8390 (diff) | |
download | linux-2addee7aeff25260f35e688f7ced057b8651c1c5.tar.xz |
media: rockchip: rga: use macros for testing buffer type
Use the provided V4L2_TYPE_IS_{OUTPUT,CAPTURE} macros to check if the
buffer or queue is OUTPUT or CAPTURE. The macros work also work for the
_MPLANE buffer and queue types and make it easier to switch to the
multi-planar API.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions