chore(deps): upgrade camerax (#257)
* Upgrade CameraX to alpha6 * Upgrade CameraX extensions to alpha26 * `init` -> `getInstance` * Use new Extensions API * Update CameraView.kt * use new ExtensionsManager API in `getAvailableCameraDevices()` * fix cpplint errors
This commit is contained in:
@@ -19,7 +19,6 @@ struct JImageProxy : public facebook::jni::JavaClass<JImageProxy> {
|
||||
int getPlaneCount();
|
||||
int getBytesPerRow();
|
||||
void close();
|
||||
|
||||
};
|
||||
|
||||
} // namespace vision
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <jni.h>
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include "JImageProxy.h"
|
||||
|
||||
@@ -32,7 +33,7 @@ class JSI_EXPORT JImageProxyHostObject : public jsi::HostObject {
|
||||
private:
|
||||
static auto constexpr TAG = "VisionCamera";
|
||||
|
||||
void assertIsFrameStrong(jsi::Runtime& runtime, const std::string& accessedPropName);
|
||||
void assertIsFrameStrong(jsi::Runtime& runtime, const std::string& accessedPropName); // NOLINT(runtime/references)
|
||||
};
|
||||
|
||||
} // namespace vision
|
||||
|
||||
Reference in New Issue
Block a user