diff options
author | Lad Prabhakar <[email protected]> | 2024-10-18 14:34:46 +0100 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-10-22 11:31:28 +0200 |
commit | 2269e399b3f0f9d474606cddd9cb6a833fc62b7f (patch) | |
tree | 471d52354c82ff7a630cee5739e701bf9cc8b1c5 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | c0fc8dd01ffc37f3ce4132b7b2b579fbf64aaca7 (diff) |
media: renesas: rzg2l-cru: Add 'yuv' flag to IP format structure
Add a 'yuv' flag to the `rzg2l_cru_ip_format` structure to indicate
whether a given format is YUV-based and update the `rzg2l_cru_ip_formats`
array with this flag appropriately. This change enables a more efficient
way to check if the input and output formats use the same colorspace.
With this change, we can eliminate the use of `v4l2_format_info()` in
`rzg2l_cru_initialize_image_conv()` as the necessary details for the source
and destination formats are already available through the `yuv` flag.
Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions