diff options
author | Hans de Goede <[email protected]> | 2023-05-29 11:37:33 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2023-06-09 15:29:30 +0100 |
commit | eec8787bfb5558999ac97ac3363acc7fc8c4fdf8 (patch) | |
tree | 113ac4efc258d2a8f78c28a6b31fe94cd998b5bb /tools/perf/util/trace-event-scripting.c | |
parent | 9f221053342ab943c4bac8d5cf10ca256793a878 (diff) |
media: atomisp: Add ia_css_frame_pad_width() helper function
Factor the code to go from width to a properly aligned pitch out of
ia_css_frame_info_set_width().
This is a preparation patch to fix try_fmt() calls returning a bogus
bytesperline value.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions