diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2020-09-18 10:42:32 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-09-21 13:10:48 +0200 |
commit | dd0df6d73965bc8566ad97d0e005545a71b7b409 (patch) | |
tree | 67924bca65afe0a36a9940dbd6f46e0d60c3546d /src/cam/main.cpp | |
parent | e1784ca88359827824f3b5a1efc60c15c9783564 (diff) |
pipeline: raspberrypi: Use an unordered_set to store IPA buffer ids
By using a set container, we can easily insert/remove buffer ids that have
been mmaped by the IPA. This will be required to track buffers allocated
externally and passed to the pipeline handler through a Request.
Move the IPA buffer mapping code into a function to remove duplicated
code.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/cam/main.cpp')
0 files changed, 0 insertions, 0 deletions