diff options
author | Michael Tretter <[email protected]> | 2023-10-13 13:00:29 +0200 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2023-12-07 08:56:14 +0100 |
commit | 012602c560b43a6de4c82a463bb4f282d50c38b4 (patch) | |
tree | 2cf126c5bafda1d36b755324ac2273852e23cad4 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 60faf2b82b52ffc3f75ad7ddc28691ce3c367d82 (diff) |
media: rockchip: rga: use pixelformat to find format
Use the pixelformat instead of the v4l2_format to find the rga_fmt. This
avoids knowing the structure and type of v4l2_format in rga_fmt_find and
simplifies the function.
Also cleanup the users of the function. In try_fmt always return the
found pixel format to make sure that the pixel format is always set.
Thus, we can be sure that we will find the rga_fmt in s_fmt and can drop
the check if a given format has been found.
Signed-off-by: Michael Tretter <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions