summaryrefslogtreecommitdiff
path: root/stats/shared_item_pool.cpp
AgeCommit message (Collapse)Author
2021-10-18ipu3: Remove the usage of SharedItemPoolHan-Lin Chen
The SharedItemPool was migrated from Chrome OS to maintain RGBS and AF grids in IPAIPU3Stats. The orginal reason is to reserve the validness unitl the grids are processed in a different thread. However, it leads to a subtle bug which recycles the buffer before sending into AIQ libraries. Since the IPU3 IPA (Unlike Chrome OS) process IPAIPU3Stats in a single thread, It would be simpler to maintain the grids as the members of IPAIPU3Stats, and remove the usage of SharedItemPool. Signed-off-by: Han-Lin Chen <hanlinchen@chromium.org> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2021-06-28stats: Import SharedItemPool for stats' grid buffersUmang Jain
Import the SharedItemPool implementation to managed grid buffers. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>