react-native-vision-camera/package/ios/Frame Processor
Marc Rousavy 29fe98cc44
feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383)
* feat: Create `TypedArray` class for Frame Processor Plugins

* Type

* feat: Pass `VisionCameraProxy` along (BREAKING)

* feat: Finish implementation

* Log a bit

* feat: Successfully convert JSI <> JNI buffers

* Wrap buffer

* fix: Fix using wrong Runtime

* feat: Add docs

* add zero copy example

* Format C++

* Create iOS base

* feat: Finish iOS implementation

* chore: Format

* fix: Use `NSData` instead of `NSMutableData`

* Format

* fix: Fix build when Frame Processors are disabled

* chore: Rename `TypedArray` to `SharedArray`

* fix: Fix Swift typings for Array

* Remove a few default inits

* fix: Fix Android build

* fix: Use `NSInteger`

* Update SharedArray.mm

* fix: Expose bytes directly on iOS (NSData was immutable)
2024-01-12 16:00:36 +01:00
..
Frame.h feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
Frame.m feat: Make Frame thread-safe and improve error messages (#2327) 2023-12-29 14:09:56 +01:00
FrameHostObject.h feat: Make Frame thread-safe and improve error messages (#2327) 2023-12-29 14:09:56 +01:00
FrameHostObject.mm fix: Fix crash when trying to console.log(frame) (#2335) 2024-01-02 13:54:07 +01:00
FrameProcessor.h feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
FrameProcessor.mm feat: Re-throw error on JS side instead of just logging on native side (#2366) 2024-01-11 17:23:38 +01:00
FrameProcessorPlugin.h feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
FrameProcessorPlugin.m feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
FrameProcessorPluginHostObject.h chore: Change line width to 140 in C++ 2023-09-01 19:39:25 +02:00
FrameProcessorPluginHostObject.mm fix: Fix passing options to frame processors on iOS (#1750) 2023-09-06 11:27:35 +02:00
FrameProcessorPluginRegistry.h feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
FrameProcessorPluginRegistry.m feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
JSINSObjectConversion.h feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
JSINSObjectConversion.mm feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
SharedArray.h feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
SharedArray.mm feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
UIImageOrientation+descriptor.h feat: Make Frame thread-safe and improve error messages (#2327) 2023-12-29 14:09:56 +01:00
VisionCameraProxy.h feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00
VisionCameraProxy.mm feat: Add zero-copy SharedArray type to Frame Processor Plugins (#2383) 2024-01-12 16:00:36 +01:00