diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-09-10 16:49:24 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-09-14 12:47:53 +0100 |
commit | 3bcb7a90c1b1404e51015bda9add4d2ba467c052 (patch) | |
tree | b1e332499eea157d9add3f9ab2e54bd22cc1ca67 /src/android/yuv | |
parent | 84acaac8b73ad4740ce0eff45421241f88ea0c7c (diff) |
ipa: ipu3: Clear incoming parameter use flags
The incoming params buffer may contain uninitialised data, or the
parameters of previously queued frames. Clearing the entire buffer
may be an expensive operation, and the kernel will only read from
structures which have their associated use-flag set.
It is the responsibility of the algorithms to set the use flags
accordingly for any data structure they update during prepare().
Clear the use flags of the parameter buffer before passing the buffer
to the algorithms during their prepare() operations.
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Tested-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/yuv')
0 files changed, 0 insertions, 0 deletions