diff options
author | Paul Elder <[email protected]> | 2024-02-16 18:54:55 +0900 |
---|---|---|
committer | Laurent Pinchart <[email protected]> | 2024-02-23 14:23:29 +0200 |
commit | fd62bd4e1f1f9a075656ecce7773816e65516b3d (patch) | |
tree | 4595994e78dfecabca814e87aa82da4aae1caf4d /tools/perf/util/trace-event-scripting.c | |
parent | da1484c7ba028f06274630ea2b6a2e51f6ec201a (diff) |
media: rkisp1: Add YC swap capability
The ISP version in the i.MX8MP has an MI_OUTPUT_ALIGN_FORMAT register
that the rk3399 does not have. This register allows swapping bytes,
which can be used to implement UYVY from YUYV.
Add a flag to the format info in the list of formats supported by the
capture v4l2 devices, and update enum_fmt and s_fmt to take it into
account.
To signify the presence of this feature, reuse the MAIN_STRIDE feature
flag, as it is very likely that any ISP version that supports one of
these two features will also support the other.
Signed-off-by: Paul Elder <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Tested-by: Alexander Stein <[email protected]>
Tested-by: Adam Ford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions