diff options
| author | Jean-Michel Hautbois <[email protected]> | 2021-09-16 19:25:04 +0200 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-09-27 09:39:56 +0200 |
| commit | e2d3e77d0e7d3caf676cb0eb707f8c7b0a4d41b9 (patch) | |
| tree | 879e118aeae85c1bbff80c23daadf590d8922bc5 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 12ee5f71e0e7f93b10f83655c8c334c06536f9cb (diff) | |
media: staging: ipu3-imgu: Initialise height_per_slice in the stripes
While playing with low resolutions for the grid, it appeared that
height_per_slice is not initialised if we are not using both stripes for
the calculations. This pattern occurs three times:
- for the awb_fr processing block
- for the af processing block
- for the awb processing block
The idea of this small portion of code is to reduce complexity in
loading the statistics, it could be done also when only one stripe is
used. Fix it by getting this initialisation code outside of the else()
test case.
Signed-off-by: Jean-Michel Hautbois <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions