summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/histogram.h
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-09-23 07:52:18 +0200
committerJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-10-06 15:58:57 +0200
commit195e6d09685be76a53f2890a224796c15a9f7e26 (patch)
treedfe4951f7e62ee6435716cf58555477698730b71 /src/ipa/libipa/histogram.h
parent65e7d11f6c7e6137636f33afad018d2f6f94a864 (diff)
ipa: ipu3: Change limits and split loops in calculateBdsGrid()
The loops over the width and height of the image when calculating the BDS grid parameters are nested, but they're actually independent. Split them to reduce the complexity. While at it, split out the constants to documented const expressions for the grid sizes. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/libipa/histogram.h')
0 files changed, 0 insertions, 0 deletions