diff options
| author | Michael Tretter <m.tretter@pengutronix.de> | 2023-10-13 13:00:31 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-12-07 08:56:14 +0100 |
| commit | 2addee7aeff25260f35e688f7ced057b8651c1c5 (patch) | |
| tree | 42ed53fa8b7f441f1f3760ff020af7e300e7168a /tools/perf/scripts/python | |
| parent | media: rockchip: rga: add local variable for pix_format (diff) | |
| download | linux-2addee7aeff25260f35e688f7ced057b8651c1c5.tar.gz linux-2addee7aeff25260f35e688f7ced057b8651c1c5.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
