pipeline: ipa: raspberrypi: Handle failures during IPA configuration
If the IPA fails during configuration, return an error flag to the pipeline handler and fail the use case gracefully. At present, the IPA configuration can fail for the following reasons: - The sensor is not recognised, and fails to open a CamHelper object. - The pipeline handler did not pass in controls for the ISP and sensor. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
8fed613562
commit
ee477efde8
@@ -21,6 +21,7 @@ enum ConfigParameters {
|
||||
IPA_CONFIG_STAGGERED_WRITE = (1 << 1),
|
||||
IPA_CONFIG_SENSOR = (1 << 2),
|
||||
IPA_CONFIG_DROP_FRAMES = (1 << 3),
|
||||
IPA_CONFIG_FAILED = (1 << 4),
|
||||
};
|
||||
|
||||
enum Operations {
|
||||
|
||||
Reference in New Issue
Block a user