pipeline: ipa: raspberrypi: Pass controls to IPA on start

Forward any controls passed into the pipeline handler to the IPA.
The IPA then sets up the Raspberry Pi controller with these settings
appropriately, and passes back any V4L2 sensor controls that need
to be applied.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Tested-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Naushir Patuck 2020-12-04 15:31:21 +00:00 committed by Laurent Pinchart
parent 0238b9e080
commit 2795f333fc
3 changed files with 47 additions and 20 deletions

View file

@ -22,6 +22,7 @@ enum ConfigParameters {
IPA_CONFIG_SENSOR = (1 << 2),
IPA_CONFIG_DROP_FRAMES = (1 << 3),
IPA_CONFIG_FAILED = (1 << 4),
IPA_CONFIG_STARTUP = (1 << 5),
};
enum Operations {