diff options
| author | Steve Longerbeam <[email protected]> | 2020-04-06 18:39:03 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-04-21 13:21:52 +0200 |
| commit | 74cd3984f13381049627cfa260fd87e6fcd31add (patch) | |
| tree | f320c138f53d68e32aec13e76a9275e9e50dd186 /tools/perf/scripts/python | |
| parent | c943b6947f459189419114682ac343fc1e22a954 (diff) | |
media: imx: utils: Split find|enum_format into fourcc and mbus functions
To make the code easier to follow, split up find_format() into separate
search functions for pixel formats and media-bus codes, and inline
find_format() into the exported functions imx_media_find_format()
and imx_media_find_mbus_format().
Do the equivalent for enum_format().
Also add comment blocks for the exported find|enum functions.
The convenience functions imx_media_find_ipu_format() and
imx_media_enum_ipu_format() can now be made inline and moved to
imx-media.h.
Signed-off-by: Steve Longerbeam <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions