aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2024-10-18 14:34:37 +0100
committerHans Verkuil <[email protected]>2024-10-22 11:31:27 +0200
commit7e58132ca2bca4f46533604877b4fac080274699 (patch)
tree5499e656074decfc4a685e931abced2c1c855001 /tools/perf/scripts/python/event_analyzing_sample.py
parent8853467c41e8edd77a1dceb22c085d1d483946c3 (diff)
media: rzg2l-cru: Inline calculating bytesperline
Remove the `rzg2l_cru_format_bytesperline()` function and inline the calculation of `bytesperline` directly in `rzg2l_cru_format_align()`. This simplifies the code by removing an unnecessary function call and directly multiplying the image width by the `bpp` (bytes per pixel) from the format structure. 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