diff options
author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2024-10-18 16:34:46 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2024-10-22 12:31:28 +0300 |
commit | 2269e399b3f0f9d474606cddd9cb6a833fc62b7f (patch) | |
tree | 471d52354c82ff7a630cee5739e701bf9cc8b1c5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c0fc8dd01ffc37f3ce4132b7b2b579fbf64aaca7 (diff) | |
download | linux-2269e399b3f0f9d474606cddd9cb6a833fc62b7f.tar.xz |
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 <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20241018133446.223516-24-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions