ipa: raspberrypi: Rename RPi::ConfigParameters enum values

Rename the enum values to indicate pipeline handler -> IPA actions
(IPA_CONFIG_*) and IPA -> pipeline handler return results (IPA_RESULT_*).
Additionally, provide more descriptive names for these values.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Naushir Patuck 2021-02-01 12:56:32 +00:00 committed by Laurent Pinchart
parent e09c487b97
commit a08b216ac4
3 changed files with 20 additions and 20 deletions

View file

@ -20,11 +20,11 @@ namespace RPi {
enum ConfigParameters {
IPA_CONFIG_LS_TABLE = (1 << 0),
IPA_CONFIG_STAGGERED_WRITE = (1 << 1),
IPA_CONFIG_SENSOR = (1 << 2),
IPA_CONFIG_DROP_FRAMES = (1 << 3),
IPA_CONFIG_FAILED = (1 << 4),
IPA_CONFIG_STARTUP = (1 << 5),
IPA_CONFIG_STARTUP_CTRLS = (1 << 1),
IPA_RESULT_CONFIG_FAILED = (1 << 2),
IPA_RESULT_SENSOR_PARAMS = (1 << 3),
IPA_RESULT_SENSOR_CTRLS = (1 << 4),
IPA_RESULT_DROP_FRAMES = (1 << 5),
};
enum Operations {