// // Created by Marc Rousavy on 29.09.21 // #pragma once #include #include #include #include "JImageProxy.h" namespace vision { using namespace facebook; using namespace jni; struct JFrameProcessorPlugin : public JavaClass { static constexpr auto kJavaDescriptor = "Lcom/mrousavy/camera/frameprocessor/FrameProcessorPlugin;"; public: /** * Call the plugin. */ local_ref callback(alias_ref image, alias_ref> params) const; /** * Get the user-defined name of the Frame Processor Plugin */ std::string getName() const; }; } // namespace vision