summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/data/imx378.json
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2021-11-18 16:42:14 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-11-23 13:46:04 +0000
commita3b0aa5511f9e7fe76ec5966a6031d3c9d02a3f2 (patch)
tree07785cd695c0f6cf010bd6fe446684c751e8158d /src/ipa/raspberrypi/data/imx378.json
parente0b870e615dda0b43e2b5778cfd797ba19aa4ba5 (diff)
pipeline: raspberrypi: Rework the internal buffer allocation scheme
For simplicity, the pipeline handler currently look at the maximum number of buffers set in the StreamConfiguration by the user and allocate the same number of internal buffers for all device nodes. This would likely overallocate buffers for some nodes. Rework this logic to try and minimise overallcations without compromising performance. The key change is to mostly decouple the number of internal buffers allocated from number of buffers requested by the user through the StreamConfiguration. For ISP nodes, we only ever need 1 set of internal buffers, as the hardware runs synchronous with the requests and IPA. For Unicam nodes, allocate a minimum for 4 buffers (exported + internal), but also require at least 2 internal buffers to minimise frame drops. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/data/imx378.json')
0 files changed, 0 insertions, 0 deletions