diff options
| author | Jan Luebbe <[email protected]> | 2018-05-18 09:56:38 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-07-04 09:26:17 -0400 |
| commit | f6aaac7fa03e36bb43401182864a74f65a211e86 (patch) | |
| tree | ef8c108e1df97b89001dd7d56fdd75db5c7cb5b5 /tools/perf/scripts/python | |
| parent | 56e5faf299502d902b94cd88d6ff1c48c3865c69 (diff) | |
media: imx: capture: refactor enum_/try_fmt
By checking and handling the internal IPU formats (ARGB or AYUV) first,
we don't need to check whether it's a bayer format, as we can default to
passing the input format on in all other cases.
This simplifies handling the different configurations for RGB565 between
parallel and MIPI CSI-2, as we don't need to check the details of the
format anymore.
Signed-off-by: Jan Luebbe <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Reviewed-by: Steve Longerbeam <[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