Patch Detail
Show a patch.
GET /api/1.1/patches/22579/?format=api
{ "id": 22579, "url": "https://patchwork.libcamera.org/api/1.1/patches/22579/?format=api", "web_url": "https://patchwork.libcamera.org/patch/22579/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20250114213337.926578-1-paul.elder@ideasonboard.com>", "date": "2025-01-14T21:33:37", "name": "[v8.1,05/12] ipa: raspberry: Port to the new AEGC controls", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "ee64adeac436d097cbc1101de7907662a60ecbf6", "submitter": { "id": 17, "url": "https://patchwork.libcamera.org/api/1.1/people/17/?format=api", "name": "Paul Elder", "email": "paul.elder@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/22579/mbox/", "series": [ { "id": 4953, "url": "https://patchwork.libcamera.org/api/1.1/series/4953/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4953", "date": "2025-01-14T21:33:37", "name": null, "version": 1, "mbox": "https://patchwork.libcamera.org/series/4953/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/22579/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/22579/checks/", "tags": {}, "headers": { "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>", "X-Original-To": "parsemail@patchwork.libcamera.org", "Delivered-To": "parsemail@patchwork.libcamera.org", "Received": [ "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 517ACC3304\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 14 Jan 2025 21:36:12 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 98A2968536;\n\tTue, 14 Jan 2025 22:36:11 +0100 (CET)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 29D31607D6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Jan 2025 22:36:10 +0100 (CET)", "from pyrite.hamster-moth.ts.net (unknown [173.16.167.215])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id AF5A3BEB;\n\tTue, 14 Jan 2025 22:35:10 +0100 (CET)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"q3yVZupI\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1736890512;\n\tbh=dgyIJdgSiQbMCSqn4ZmB8q+A0Ed3rwSKslN669tdt1A=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=q3yVZupIWOqxvAPP2zZVjEzNwDvQu8QKnVVN1RaEiv9kUZoiTXQDW7oKEZHkyeQJg\n\tM8k46UOn/x8+PJK5xyV7yJdMn+tLnD8Q0uNQ/IfqKZ0BpeSzCEzV7XYwP9mab+My93\n\tl2YTM5Ez+VD5V+enUDcoW/8Ud1j9BJEApL/jLIgs=", "From": "Paul Elder <paul.elder@ideasonboard.com>", "To": "naush@raspberrypi.com", "Cc": "Jacopo Mondi <jacopo@jmondi.org>, libcamera-devel@lists.libcamera.org,\n\tpaul.elder@ideasonboard.com, laurent.pinchart@ideasonboard.com,\n\tstefan.klug@ideasonboard.com, david.plowman@raspberrypi.com", "Subject": "[PATCH v8.1 05/12] ipa: raspberry: Port to the new AEGC controls", "Date": "Tue, 14 Jan 2025 15:33:37 -0600", "Message-Id": "<20250114213337.926578-1-paul.elder@ideasonboard.com>", "X-Mailer": "git-send-email 2.39.2", "In-Reply-To": "<CAEmqJPrgoom80AKgzikQdzJkKyuf7FbyRb1p9ftMmkbEzgambA@mail.gmail.com>", "References": "<CAEmqJPrgoom80AKgzikQdzJkKyuf7FbyRb1p9ftMmkbEzgambA@mail.gmail.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "From: Jacopo Mondi <jacopo@jmondi.org>\n\nThe newly introduced controls to drive the AEGC algorithm allow\nto control the computation of the exposure time and analogue gain\nseparately.\n\nThe RPi AEGC implementation already computes the shutter and gain\nvalues separately but does not expose separate functions to control\nthem.\n\nAugment the AgcAlgorithm interface to allow pausing/resuming the shutter\nand gain automatic computations separately and plumb them to the newly\nintroduced controls.\n\nAdd safety checks to ignore ExposureTime and AnalogueGain values if the\nalgorithms are not paused, and report the correct AeState value by\nchecking if both algorithms have been paused or if they have converged.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\nReviewed-by: Paul Elder <paul.elder@ideasonboard.com>\nReviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>\n\n---\nChanges in v8.1:\n- fix the racy check in handling the auto/manual controls and the manual\n control value control\n\nChanges in v8:\n- add auto as default value for ExposureMode and AnalogueGainMode\n- add todo for control processing order\n\nNo change in v7\n\nNo change in v6\n\nNo change in v5\n\nChanges in v4:\n- s/shutter/exposure/\n\nChanges in v3:\n- recovered from 2-year-old bitrot\n---\n src/ipa/rpi/common/ipa_base.cpp | 106 +++++++++++++++++----\n src/ipa/rpi/controller/agc_algorithm.h | 8 +-\n src/ipa/rpi/controller/rpi/agc.cpp | 52 ++++++++--\n src/ipa/rpi/controller/rpi/agc.h | 8 +-\n src/ipa/rpi/controller/rpi/agc_channel.cpp | 24 ++++-\n src/ipa/rpi/controller/rpi/agc_channel.h | 8 +-\n 6 files changed, 171 insertions(+), 35 deletions(-)", "diff": "diff --git a/src/ipa/rpi/common/ipa_base.cpp b/src/ipa/rpi/common/ipa_base.cpp\nindex 6ff1e22b1..78206bb4a 100644\n--- a/src/ipa/rpi/common/ipa_base.cpp\n+++ b/src/ipa/rpi/common/ipa_base.cpp\n@@ -55,8 +55,15 @@ constexpr Duration controllerMinFrameDuration = 1.0s / 30.0;\n \n /* List of controls handled by the Raspberry Pi IPA */\n const ControlInfoMap::Map ipaControls{\n-\t{ &controls::AeEnable, ControlInfo(false, true) },\n+\t{ &controls::ExposureTimeMode,\n+\t ControlInfo(static_cast<int32_t>(controls::ExposureTimeModeAuto),\n+\t\t static_cast<int32_t>(controls::ExposureTimeModeManual),\n+\t\t static_cast<int32_t>(controls::ExposureTimeModeAuto)) },\n \t{ &controls::ExposureTime, ControlInfo(0, 66666) },\n+\t{ &controls::AnalogueGainMode,\n+\t ControlInfo(static_cast<int32_t>(controls::AnalogueGainModeAuto),\n+\t\t static_cast<int32_t>(controls::AnalogueGainModeManual),\n+\t\t static_cast<int32_t>(controls::AnalogueGainModeAuto)) },\n \t{ &controls::AnalogueGain, ControlInfo(1.0f, 16.0f) },\n \t{ &controls::AeMeteringMode, ControlInfo(controls::AeMeteringModeValues) },\n \t{ &controls::AeConstraintMode, ControlInfo(controls::AeConstraintModeValues) },\n@@ -749,6 +756,46 @@ void IpaBase::applyControls(const ControlList &controls)\n \t\t\taf->setMode(mode->second);\n \t}\n \n+\t/*\n+\t * Because some AE controls are mode-specific, handle the AE-related\n+\t * mode changes first.\n+\t */\n+\tif (controls.contains(controls::EXPOSURE_TIME_MODE)) {\n+\t\tRPiController::AgcAlgorithm *agc = dynamic_cast<RPiController::AgcAlgorithm *>(\n+\t\t\tcontroller_.getAlgorithm(\"agc\"));\n+\t\tif (!agc) {\n+\t\t\tLOG(IPARPI, Warning)\n+\t\t\t\t<< \"Could not set EXPOSURE_TIME_MODE - no AGC algorithm\";\n+\t\t\tbreak;\n+\t\t}\n+\n+\t\tif (ctrl.second.get<int32_t>() == controls::ExposureTimeModeManual)\n+\t\t\tagc->disableAutoExposure();\n+\t\telse\n+\t\t\tagc->enableAutoExposure();\n+\n+\t\tlibcameraMetadata_.set(controls::ExposureTimeMode,\n+\t\t\t\t ctrl.second.get<int32_t>());\n+\t}\n+\n+\tif (controls.contains(controls::ANALOGUE_GAIN_MODE)) {\n+\t\tRPiController::AgcAlgorithm *agc = dynamic_cast<RPiController::AgcAlgorithm *>(\n+\t\t\tcontroller_.getAlgorithm(\"agc\"));\n+\t\tif (!agc) {\n+\t\t\tLOG(IPARPI, Warning)\n+\t\t\t\t<< \"Could not set ANALOGUE_GAIN_MODE - no AGC algorithm\";\n+\t\t\tbreak;\n+\t\t}\n+\n+\t\tif (ctrl.second.get<int32_t>() == controls::AnalogueGainModeManual)\n+\t\t\tagc->disableAutoGain();\n+\t\telse\n+\t\t\tagc->enableAutoGain();\n+\n+\t\tlibcameraMetadata_.set(controls::AnalogueGainMode,\n+\t\t\t\t ctrl.second.get<int32_t>());\n+\t}\n+\n \t/* Iterate over controls */\n \tfor (auto const &ctrl : controls) {\n \t\tLOG(IPARPI, Debug) << \"Request ctrl: \"\n@@ -756,23 +803,8 @@ void IpaBase::applyControls(const ControlList &controls)\n \t\t\t\t << \" = \" << ctrl.second.toString();\n \n \t\tswitch (ctrl.first) {\n-\t\tcase controls::AE_ENABLE: {\n-\t\t\tRPiController::AgcAlgorithm *agc = dynamic_cast<RPiController::AgcAlgorithm *>(\n-\t\t\t\tcontroller_.getAlgorithm(\"agc\"));\n-\t\t\tif (!agc) {\n-\t\t\t\tLOG(IPARPI, Warning)\n-\t\t\t\t\t<< \"Could not set AE_ENABLE - no AGC algorithm\";\n-\t\t\t\tbreak;\n-\t\t\t}\n-\n-\t\t\tif (ctrl.second.get<bool>() == false)\n-\t\t\t\tagc->disableAuto();\n-\t\t\telse\n-\t\t\t\tagc->enableAuto();\n-\n-\t\t\tlibcameraMetadata_.set(controls::AeEnable, ctrl.second.get<bool>());\n-\t\t\tbreak;\n-\t\t}\n+\t\tcase controls::EXPOSURE_TIME_MODE:\n+\t\t\tbreak; /* We already handled this one above */\n \n \t\tcase controls::EXPOSURE_TIME: {\n \t\t\tRPiController::AgcAlgorithm *agc = dynamic_cast<RPiController::AgcAlgorithm *>(\n@@ -783,6 +815,13 @@ void IpaBase::applyControls(const ControlList &controls)\n \t\t\t\tbreak;\n \t\t\t}\n \n+\t\t\t/*\n+\t\t\t * Ignore manual exposure time when the auto exposure\n+\t\t\t * algorithm is running.\n+\t\t\t */\n+\t\t\tif (agc->autoExposureEnabled())\n+\t\t\t\tbreak;\n+\n \t\t\t/* The control provides units of microseconds. */\n \t\t\tagc->setFixedExposureTime(0, ctrl.second.get<int32_t>() * 1.0us);\n \n@@ -790,6 +829,9 @@ void IpaBase::applyControls(const ControlList &controls)\n \t\t\tbreak;\n \t\t}\n \n+\t\tcase controls::ANALOGUE_GAIN_MODE:\n+\t\t\tbreak; /* We already handled this one above */\n+\n \t\tcase controls::ANALOGUE_GAIN: {\n \t\t\tRPiController::AgcAlgorithm *agc = dynamic_cast<RPiController::AgcAlgorithm *>(\n \t\t\t\tcontroller_.getAlgorithm(\"agc\"));\n@@ -799,6 +841,13 @@ void IpaBase::applyControls(const ControlList &controls)\n \t\t\t\tbreak;\n \t\t\t}\n \n+\t\t\t/*\n+\t\t\t * Ignore manual analogue gain value when the auto gain\n+\t\t\t * algorithm is running.\n+\t\t\t */\n+\t\t\tif (agc->autoGainEnabled())\n+\t\t\t\tbreak;\n+\n \t\t\tagc->setFixedAnalogueGain(0, ctrl.second.get<float>());\n \n \t\t\tlibcameraMetadata_.set(controls::AnalogueGain,\n@@ -855,6 +904,13 @@ void IpaBase::applyControls(const ControlList &controls)\n \t\t\t\tbreak;\n \t\t\t}\n \n+\t\t\t/*\n+\t\t\t * Ignore AE_EXPOSURE_MODE if the shutter or the gain\n+\t\t\t * are in auto mode.\n+\t\t\t */\n+\t\t\tif (agc->autoExposureEnabled() || agc->autoGainEnabled())\n+\t\t\t\tbreak;\n+\n \t\t\tint32_t idx = ctrl.second.get<int32_t>();\n \t\t\tif (ExposureModeTable.count(idx)) {\n \t\t\t\tagc->setExposureMode(ExposureModeTable.at(idx));\n@@ -1334,9 +1390,19 @@ void IpaBase::reportMetadata(unsigned int ipaContext)\n \t}\n \n \tAgcPrepareStatus *agcPrepareStatus = rpiMetadata.getLocked<AgcPrepareStatus>(\"agc.prepare_status\");\n-\tif (agcPrepareStatus) {\n-\t\tlibcameraMetadata_.set(controls::AeLocked, agcPrepareStatus->locked);\n+\tif (agcPrepareStatus)\n \t\tlibcameraMetadata_.set(controls::DigitalGain, agcPrepareStatus->digitalGain);\n+\n+\tRPiController::AgcAlgorithm *agc = dynamic_cast<RPiController::AgcAlgorithm *>(\n+\t\tcontroller_.getAlgorithm(\"agc\"));\n+\tif (agc) {\n+\t\tif (!agc->autoExposureEnabled() && !agc->autoGainEnabled())\n+\t\t\tlibcameraMetadata_.set(controls::AeState, controls::AeStateIdle);\n+\t\telse if (agcPrepareStatus)\n+\t\t\tlibcameraMetadata_.set(controls::AeState,\n+\t\t\t\t\t agcPrepareStatus->locked\n+\t\t\t\t\t\t ? controls::AeStateConverged\n+\t\t\t\t\t\t : controls::AeStateSearching);\n \t}\n \n \tLuxStatus *luxStatus = rpiMetadata.getLocked<LuxStatus>(\"lux.status\");\ndiff --git a/src/ipa/rpi/controller/agc_algorithm.h b/src/ipa/rpi/controller/agc_algorithm.h\nindex c97828577..fdaa10e6c 100644\n--- a/src/ipa/rpi/controller/agc_algorithm.h\n+++ b/src/ipa/rpi/controller/agc_algorithm.h\n@@ -30,8 +30,12 @@ public:\n \tvirtual void setMeteringMode(std::string const &meteringModeName) = 0;\n \tvirtual void setExposureMode(std::string const &exposureModeName) = 0;\n \tvirtual void setConstraintMode(std::string const &contraintModeName) = 0;\n-\tvirtual void enableAuto() = 0;\n-\tvirtual void disableAuto() = 0;\n+\tvirtual void enableAutoExposure() = 0;\n+\tvirtual void disableAutoExposure() = 0;\n+\tvirtual bool autoExposureEnabled() const = 0;\n+\tvirtual void enableAutoGain() = 0;\n+\tvirtual void disableAutoGain() = 0;\n+\tvirtual bool autoGainEnabled() const = 0;\n \tvirtual void setActiveChannels(const std::vector<unsigned int> &activeChannels) = 0;\n };\n \ndiff --git a/src/ipa/rpi/controller/rpi/agc.cpp b/src/ipa/rpi/controller/rpi/agc.cpp\nindex c48fdf156..02bfdb4a5 100644\n--- a/src/ipa/rpi/controller/rpi/agc.cpp\n+++ b/src/ipa/rpi/controller/rpi/agc.cpp\n@@ -74,22 +74,62 @@ int Agc::checkChannel(unsigned int channelIndex) const\n \treturn 0;\n }\n \n-void Agc::disableAuto()\n+void Agc::disableAutoExposure()\n {\n-\tLOG(RPiAgc, Debug) << \"disableAuto\";\n+\tLOG(RPiAgc, Debug) << \"disableAutoExposure\";\n \n \t/* All channels are enabled/disabled together. */\n \tfor (auto &data : channelData_)\n-\t\tdata.channel.disableAuto();\n+\t\tdata.channel.disableAutoExposure();\n }\n \n-void Agc::enableAuto()\n+void Agc::enableAutoExposure()\n {\n-\tLOG(RPiAgc, Debug) << \"enableAuto\";\n+\tLOG(RPiAgc, Debug) << \"enableAutoExposure\";\n \n \t/* All channels are enabled/disabled together. */\n \tfor (auto &data : channelData_)\n-\t\tdata.channel.enableAuto();\n+\t\tdata.channel.enableAutoExposure();\n+}\n+\n+bool Agc::autoExposureEnabled() const\n+{\n+\tLOG(RPiAgc, Debug) << \"autoExposureEnabled\";\n+\n+\t/*\n+\t * We always have at least one channel, and since all channels are\n+\t * enabled and disabled together we can simply check the first one.\n+\t */\n+\treturn channelData_[0].channel.autoExposureEnabled();\n+}\n+\n+void Agc::disableAutoGain()\n+{\n+\tLOG(RPiAgc, Debug) << \"disableAutoGain\";\n+\n+\t/* All channels are enabled/disabled together. */\n+\tfor (auto &data : channelData_)\n+\t\tdata.channel.disableAutoGain();\n+}\n+\n+void Agc::enableAutoGain()\n+{\n+\tLOG(RPiAgc, Debug) << \"enableAutoGain\";\n+\n+\t/* All channels are enabled/disabled together. */\n+\tfor (auto &data : channelData_)\n+\t\tdata.channel.enableAutoGain();\n+}\n+\n+bool Agc::autoGainEnabled() const\n+{\n+\tLOG(RPiAgc, Debug) << \"autoGainEnabled\";\n+\n+\t/*\n+\t * We always have at least one channel, and since all channels are\n+\t * enabled and disabled together we can simply check the first one.\n+\t */\n+\treturn channelData_[0].channel.autoGainEnabled();\n }\n \n unsigned int Agc::getConvergenceFrames() const\ndiff --git a/src/ipa/rpi/controller/rpi/agc.h b/src/ipa/rpi/controller/rpi/agc.h\nindex 3aca000bb..c3a940bf6 100644\n--- a/src/ipa/rpi/controller/rpi/agc.h\n+++ b/src/ipa/rpi/controller/rpi/agc.h\n@@ -40,8 +40,12 @@ public:\n \tvoid setMeteringMode(std::string const &meteringModeName) override;\n \tvoid setExposureMode(std::string const &exposureModeName) override;\n \tvoid setConstraintMode(std::string const &contraintModeName) override;\n-\tvoid enableAuto() override;\n-\tvoid disableAuto() override;\n+\tvoid enableAutoExposure() override;\n+\tvoid disableAutoExposure() override;\n+\tbool autoExposureEnabled() const override;\n+\tvoid enableAutoGain() override;\n+\tvoid disableAutoGain() override;\n+\tbool autoGainEnabled() const override;\n \tvoid switchMode(CameraMode const &cameraMode, Metadata *metadata) override;\n \tvoid prepare(Metadata *imageMetadata) override;\n \tvoid process(StatisticsPtr &stats, Metadata *imageMetadata) override;\ndiff --git a/src/ipa/rpi/controller/rpi/agc_channel.cpp b/src/ipa/rpi/controller/rpi/agc_channel.cpp\nindex 79c459735..e79184b7a 100644\n--- a/src/ipa/rpi/controller/rpi/agc_channel.cpp\n+++ b/src/ipa/rpi/controller/rpi/agc_channel.cpp\n@@ -319,18 +319,36 @@ int AgcChannel::read(const libcamera::YamlObject ¶ms,\n \treturn 0;\n }\n \n-void AgcChannel::disableAuto()\n+void AgcChannel::disableAutoExposure()\n {\n \tfixedExposureTime_ = status_.exposureTime;\n-\tfixedAnalogueGain_ = status_.analogueGain;\n }\n \n-void AgcChannel::enableAuto()\n+void AgcChannel::enableAutoExposure()\n {\n \tfixedExposureTime_ = 0s;\n+}\n+\n+bool AgcChannel::autoExposureEnabled() const\n+{\n+\treturn fixedExposureTime_ == 0s;\n+}\n+\n+void AgcChannel::disableAutoGain()\n+{\n+\tfixedAnalogueGain_ = status_.analogueGain;\n+}\n+\n+void AgcChannel::enableAutoGain()\n+{\n \tfixedAnalogueGain_ = 0;\n }\n \n+bool AgcChannel::autoGainEnabled() const\n+{\n+\treturn fixedAnalogueGain_ == 0;\n+}\n+\n unsigned int AgcChannel::getConvergenceFrames() const\n {\n \t/*\ndiff --git a/src/ipa/rpi/controller/rpi/agc_channel.h b/src/ipa/rpi/controller/rpi/agc_channel.h\nindex 734e5efd3..fa697e6fa 100644\n--- a/src/ipa/rpi/controller/rpi/agc_channel.h\n+++ b/src/ipa/rpi/controller/rpi/agc_channel.h\n@@ -96,8 +96,12 @@ public:\n \tvoid setMeteringMode(std::string const &meteringModeName);\n \tvoid setExposureMode(std::string const &exposureModeName);\n \tvoid setConstraintMode(std::string const &contraintModeName);\n-\tvoid enableAuto();\n-\tvoid disableAuto();\n+\tvoid enableAutoExposure();\n+\tvoid disableAutoExposure();\n+\tbool autoExposureEnabled() const;\n+\tvoid enableAutoGain();\n+\tvoid disableAutoGain();\n+\tbool autoGainEnabled() const;\n \tvoid switchMode(CameraMode const &cameraMode, Metadata *metadata);\n \tvoid prepare(Metadata *imageMetadata);\n \tvoid process(StatisticsPtr &stats, DeviceStatus const &deviceStatus, Metadata *imageMetadata,\n", "prefixes": [ "v8.1", "05/12" ] }