summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJonas Karlman <jonas@kwiboo.se>2025-02-25 10:40:28 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2025-04-08 07:21:21 +0000
commite3f9e3a6a032f37d43c31f36330d04b609cb7fbd (patch)
treee5d33151a1ec102e3835e7f90daeb936b5265c2d /tools/perf/scripts/python/stackcollapse.py
parent98a0aa1b6910766a23b5162a1499696837e5d3ca (diff)
media: rkvdec: Extract decoded format enumeration into helper
Add a rkvdec_is_valid_fmt() helper that check if a fourcc is a supported CAPTURE format, and a rkvdec_enum_decoded_fmt() helper that enumerates valid formats. This moves current code into helper functions in preparation for adding CAPTURE format filtering and validation in next patch. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Tested-by: Christopher Obbard <chris.obbard@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions