@@ -5,6 +5,8 @@
* ipa_dummy.cpp - Dummy Image Processing Algorithm module
*/
+#include <iostream>
+
#include <ipa/ipa_interface.h>
#include <ipa/ipa_module_info.h>
@@ -22,6 +24,16 @@ public:
int queueRequest(ControlList &controls) override
{
+ std::cout << "Request queued to IPA!" << std::endl;
+ for (auto it : controls) {
+ const ControlInfo *info = it.first;
+ ControlValue &control = it.second;
+
+ std::cout << "Deserialized control:"
+ << info->name() << ":"
+ << control.getInt() << std::endl;
+ }
+
return 0;
}
};
Verify the content of the received controls in the dummy request queue operation. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> --- src/ipa/ipa_dummy.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+)