diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2021-11-26 15:35:38 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-11-29 14:42:19 +0000 |
commit | 22574ff19545d96e8f873081d51fde2682a12293 (patch) | |
tree | 5fb725404244acffca32e77e7e8e423adde1d301 /test/pipeline/rkisp1 | |
parent | 762f38811b696cdf7b43f580f18f9c98c209f5ff (diff) |
pipeline: raspberrypi: Tidy the camera enumeration and registration logic
When acquiring the media device, it is not necessary to match all entity names,
so remove it. Aditionally, we do not need to keep the MediaEntity pointers for
the Unicam and ISP devices stored within the PipelineHandlerRPi class. Instead
these can be stored locally in PipelineHandlerRPi::match().
PipelineHandlerRPi::registerCamera() now returns an int error code instead of a
boolean for pass/fail.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/pipeline/rkisp1')
0 files changed, 0 insertions, 0 deletions