react-native-vision-camera/example/ios/Podfile.lock

628 lines
22 KiB
Plaintext
Raw Normal View History

2021-02-19 08:07:53 -07:00
PODS:
- boost (1.76.0)
2021-02-19 08:07:53 -07:00
- DoubleConversion (1.1.6)
- FBLazyVector (0.71.7)
- FBReactNativeSpec (0.71.7):
- RCT-Folly (= 2021.07.22.00)
- RCTRequired (= 0.71.7)
- RCTTypeSafety (= 0.71.7)
- React-Core (= 0.71.7)
- React-jsi (= 0.71.7)
- ReactCommon/turbomodule/core (= 0.71.7)
- fmt (6.2.1)
- glog (0.3.5)
- hermes-engine (0.71.7):
- hermes-engine/Pre-built (= 0.71.7)
- hermes-engine/Pre-built (0.71.7)
- libevent (2.1.12)
- RCT-Folly (2021.07.22.00):
- boost
2021-02-19 08:07:53 -07:00
- DoubleConversion
- fmt (~> 6.2.1)
2021-02-19 08:07:53 -07:00
- glog
- RCT-Folly/Default (= 2021.07.22.00)
- RCT-Folly/Default (2021.07.22.00):
- boost
2021-02-19 08:07:53 -07:00
- DoubleConversion
- fmt (~> 6.2.1)
2021-02-19 08:07:53 -07:00
- glog
- RCT-Folly/Futures (2021.07.22.00):
- boost
- DoubleConversion
- fmt (~> 6.2.1)
- glog
- libevent
- RCTRequired (0.71.7)
- RCTTypeSafety (0.71.7):
- FBLazyVector (= 0.71.7)
- RCTRequired (= 0.71.7)
- React-Core (= 0.71.7)
- React (0.71.7):
- React-Core (= 0.71.7)
- React-Core/DevSupport (= 0.71.7)
- React-Core/RCTWebSocket (= 0.71.7)
- React-RCTActionSheet (= 0.71.7)
- React-RCTAnimation (= 0.71.7)
- React-RCTBlob (= 0.71.7)
- React-RCTImage (= 0.71.7)
- React-RCTLinking (= 0.71.7)
- React-RCTNetwork (= 0.71.7)
- React-RCTSettings (= 0.71.7)
- React-RCTText (= 0.71.7)
- React-RCTVibration (= 0.71.7)
- React-callinvoker (0.71.7)
- React-Codegen (0.71.7):
- FBReactNativeSpec
- hermes-engine
- RCT-Folly
- RCTRequired
- RCTTypeSafety
- React-Core
- React-jsi
- React-jsiexecutor
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- React-Core (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default (= 0.71.7)
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/CoreModulesHeaders (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
2021-02-19 08:07:53 -07:00
- React-Core/Default
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
- Yoga
- React-Core/Default (0.71.7):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/DevSupport (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default (= 0.71.7)
- React-Core/RCTWebSocket (= 0.71.7)
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-jsinspector (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/RCTActionSheetHeaders (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
2021-02-19 08:07:53 -07:00
- React-Core/Default
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/RCTAnimationHeaders (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
2021-02-19 08:07:53 -07:00
- React-Core/Default
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/RCTBlobHeaders (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
2021-02-19 08:07:53 -07:00
- React-Core/Default
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/RCTImageHeaders (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
2021-02-19 08:07:53 -07:00
- React-Core/Default
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/RCTLinkingHeaders (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
2021-02-19 08:07:53 -07:00
- React-Core/Default
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/RCTNetworkHeaders (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
2021-02-19 08:07:53 -07:00
- React-Core/Default
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/RCTSettingsHeaders (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
2021-02-19 08:07:53 -07:00
- React-Core/Default
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/RCTTextHeaders (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
2021-02-19 08:07:53 -07:00
- React-Core/Default
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/RCTVibrationHeaders (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
2021-02-19 08:07:53 -07:00
- React-Core/Default
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-Core/RCTWebSocket (0.71.7):
2021-02-19 08:07:53 -07:00
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default (= 0.71.7)
- React-cxxreact (= 0.71.7)
- React-hermes
- React-jsi (= 0.71.7)
- React-jsiexecutor (= 0.71.7)
- React-perflogger (= 0.71.7)
2021-02-19 08:07:53 -07:00
- Yoga
- React-CoreModules (0.71.7):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.71.7)
- React-Codegen (= 0.71.7)
- React-Core/CoreModulesHeaders (= 0.71.7)
- React-jsi (= 0.71.7)
- React-RCTBlob
- React-RCTImage (= 0.71.7)
- ReactCommon/turbomodule/core (= 0.71.7)
- React-cxxreact (0.71.7):
- boost (= 1.76.0)
2021-02-19 08:07:53 -07:00
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-callinvoker (= 0.71.7)
- React-jsi (= 0.71.7)
- React-jsinspector (= 0.71.7)
- React-logger (= 0.71.7)
- React-perflogger (= 0.71.7)
- React-runtimeexecutor (= 0.71.7)
- React-hermes (0.71.7):
2021-02-19 08:07:53 -07:00
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- RCT-Folly/Futures (= 2021.07.22.00)
- React-cxxreact (= 0.71.7)
- React-jsi
- React-jsiexecutor (= 0.71.7)
- React-jsinspector (= 0.71.7)
- React-perflogger (= 0.71.7)
- React-jsi (0.71.7):
- boost (= 1.76.0)
2021-02-19 08:07:53 -07:00
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-jsiexecutor (0.71.7):
2021-02-19 08:07:53 -07:00
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-cxxreact (= 0.71.7)
- React-jsi (= 0.71.7)
- React-perflogger (= 0.71.7)
- React-jsinspector (0.71.7)
- React-logger (0.71.7):
- glog
- react-native-blur (4.3.0):
2021-02-19 11:29:29 -07:00
- React-Core
- react-native-cameraroll (5.2.3):
- React-Core
- react-native-safe-area-context (4.5.0):
- RCT-Folly
- RCTRequired
- RCTTypeSafety
- React-Core
- ReactCommon/turbomodule/core
- react-native-skia (0.1.186):
feat: Draw onto `Frame` as if it was a Skia Canvas (#1479) * Create Shaders.ts * Add `previewType` and `enableFpsGraph` * Add RN Skia native dependency * Add Skia Preview View on iOS * Pass 1 * Update FrameHostObject.mm * Wrap Canvas * Lockfiles * fix: Fix stuff * chore: Upgrade RNWorklets * Add `previewType` to set the Preview * feat: Add Example * Update project.pbxproj * `enableFpsGraph` * Cache the `std::shared_ptr<FrameHostObject>` * Update CameraView+RecordVideo.swift * Update SkiaMetalCanvasProvider.mm * Android: Integrate Skia Dependency * fix: Use new Prefix * Add example for rendering shader * chore: Upgrade CameraX * Remove KTX * Enable `viewBinding` * Revert "Enable `viewBinding`" This reverts commit f2a603f53b33ea4311a296422ffd1a910ce03f9e. * Revert "chore: Upgrade CameraX" This reverts commit 8dc832cf8754490d31a6192e6c1a1f11cdcd94fe. * Remove unneeded `ProcessCameraProvider.getInstance()` call * fix: Add REA hotfix patch * fix: Fix FrameHostObject dead in runAsync * fix: Make `runAsync` run truly async by dropping new Frames while executing * chore: Upgrade RN Worklets to latest * chore: Upgrade RN Skia * Revert "Remove KTX" This reverts commit 253f586633f7af2da992d2279fc206dc62597129. * Make Skia optional in CMake * Fix import * Update CMakeLists.txt * Update build.gradle * Update CameraView.kt * Update CameraView.kt * Update CameraView.kt * Update Shaders.ts * Center Blur * chore: Upgrade RN Worklets * feat: Add `toByteArray()`, `orientation`, `isMirrored` and `timestamp` to `Frame` (#1487) * feat: Implement `orientation` and `isMirrored` on Frame * feat: Add `toArrayBuffer()` func * perf: Do faster buffer copy * feat: Implement `toArrayBuffer()` on Android * feat: Add `orientation` and `isMirrored` to Android * feat: Add `timestamp` to Frame * Update Frame.ts * Update JImageProxy.h * Update FrameHostObject.cpp * Update FrameHostObject.cpp * Update CameraPage.tsx * fix: Format Swift
2023-02-21 07:00:48 -07:00
- React
- React-callinvoker
- React-Core
- react-native-slider (4.4.2):
- React-Core
- react-native-video (5.2.1):
2021-02-19 10:43:41 -07:00
- React-Core
- react-native-video/Video (= 5.2.1)
- react-native-video/Video (5.2.1):
2021-02-19 10:43:41 -07:00
- React-Core
- react-native-worklets (0.1.0):
- React
- React-callinvoker
- React-Core
- React-perflogger (0.71.7)
- React-RCTActionSheet (0.71.7):
- React-Core/RCTActionSheetHeaders (= 0.71.7)
- React-RCTAnimation (0.71.7):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.71.7)
- React-Codegen (= 0.71.7)
- React-Core/RCTAnimationHeaders (= 0.71.7)
- React-jsi (= 0.71.7)
- ReactCommon/turbomodule/core (= 0.71.7)
- React-RCTAppDelegate (0.71.7):
- RCT-Folly
- RCTRequired
- RCTTypeSafety
- React-Core
- ReactCommon/turbomodule/core
- React-RCTBlob (0.71.7):
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-Codegen (= 0.71.7)
- React-Core/RCTBlobHeaders (= 0.71.7)
- React-Core/RCTWebSocket (= 0.71.7)
- React-jsi (= 0.71.7)
- React-RCTNetwork (= 0.71.7)
- ReactCommon/turbomodule/core (= 0.71.7)
- React-RCTImage (0.71.7):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.71.7)
- React-Codegen (= 0.71.7)
- React-Core/RCTImageHeaders (= 0.71.7)
- React-jsi (= 0.71.7)
- React-RCTNetwork (= 0.71.7)
- ReactCommon/turbomodule/core (= 0.71.7)
- React-RCTLinking (0.71.7):
- React-Codegen (= 0.71.7)
- React-Core/RCTLinkingHeaders (= 0.71.7)
- React-jsi (= 0.71.7)
- ReactCommon/turbomodule/core (= 0.71.7)
- React-RCTNetwork (0.71.7):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.71.7)
- React-Codegen (= 0.71.7)
- React-Core/RCTNetworkHeaders (= 0.71.7)
- React-jsi (= 0.71.7)
- ReactCommon/turbomodule/core (= 0.71.7)
- React-RCTSettings (0.71.7):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.71.7)
- React-Codegen (= 0.71.7)
- React-Core/RCTSettingsHeaders (= 0.71.7)
- React-jsi (= 0.71.7)
- ReactCommon/turbomodule/core (= 0.71.7)
- React-RCTText (0.71.7):
- React-Core/RCTTextHeaders (= 0.71.7)
- React-RCTVibration (0.71.7):
- RCT-Folly (= 2021.07.22.00)
- React-Codegen (= 0.71.7)
- React-Core/RCTVibrationHeaders (= 0.71.7)
- React-jsi (= 0.71.7)
- ReactCommon/turbomodule/core (= 0.71.7)
- React-runtimeexecutor (0.71.7):
- React-jsi (= 0.71.7)
- ReactCommon/turbomodule/bridging (0.71.7):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-callinvoker (= 0.71.7)
- React-Core (= 0.71.7)
- React-cxxreact (= 0.71.7)
- React-jsi (= 0.71.7)
- React-logger (= 0.71.7)
- React-perflogger (= 0.71.7)
- ReactCommon/turbomodule/core (0.71.7):
2021-02-19 08:07:53 -07:00
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-callinvoker (= 0.71.7)
- React-Core (= 0.71.7)
- React-cxxreact (= 0.71.7)
- React-jsi (= 0.71.7)
- React-logger (= 0.71.7)
- React-perflogger (= 0.71.7)
- RNGestureHandler (2.9.0):
2021-02-19 10:12:07 -07:00
- React-Core
2023-03-21 08:19:32 -06:00
- RNReanimated (3.0.2):
2021-02-19 10:05:45 -07:00
- DoubleConversion
- FBLazyVector
- FBReactNativeSpec
- glog
- RCT-Folly
2021-02-19 10:05:45 -07:00
- RCTRequired
- RCTTypeSafety
- React-callinvoker
- React-Core
- React-Core/DevSupport
- React-Core/RCTWebSocket
- React-CoreModules
- React-cxxreact
- React-jsi
- React-jsiexecutor
- React-jsinspector
- React-RCTActionSheet
- React-RCTAnimation
- React-RCTBlob
- React-RCTImage
- React-RCTLinking
- React-RCTNetwork
- React-RCTSettings
- React-RCTText
- ReactCommon/turbomodule/core
- Yoga
feat: Sync Frame Processors (plus `runAsync` and `runAtTargetFps`) (#1472) Before, Frame Processors ran on a separate Thread. After, Frame Processors run fully synchronous and always at the same FPS as the Camera. Two new functions have been introduced: * `runAtTargetFps(fps: number, func: () => void)`: Runs the given code as often as the given `fps`, effectively throttling it's calls. * `runAsync(frame: Frame, func: () => void)`: Runs the given function on a separate Thread for Frame Processing. A strong reference to the Frame is held as long as the function takes to execute. You can use `runAtTargetFps` to throttle calls to a specific API (e.g. if your Camera is running at 60 FPS, but you only want to run face detection at ~25 FPS, use `runAtTargetFps(25, ...)`.) You can use `runAsync` to run a heavy algorithm asynchronous, so that the Camera is not blocked while your algorithm runs. This is useful if your main sync processor draws something, and your async processor is doing some image analysis on the side. You can also combine both functions. Examples: ```js const frameProcessor = useFrameProcessor((frame) => { 'worklet' console.log("I'm running at 60 FPS!") }, []) ``` ```js const frameProcessor = useFrameProcessor((frame) => { 'worklet' console.log("I'm running at 60 FPS!") runAtTargetFps(10, () => { 'worklet' console.log("I'm running at 10 FPS!") }) }, []) ``` ```js const frameProcessor = useFrameProcessor((frame) => { 'worklet' console.log("I'm running at 60 FPS!") runAsync(frame, () => { 'worklet' console.log("I'm running on another Thread, I can block for longer!") }) }, []) ``` ```js const frameProcessor = useFrameProcessor((frame) => { 'worklet' console.log("I'm running at 60 FPS!") runAtTargetFps(10, () => { 'worklet' runAsync(frame, () => { 'worklet' console.log("I'm running on another Thread at 10 FPS, I can block for longer!") }) }) }, []) ```
2023-02-15 08:47:09 -07:00
- RNScreens (3.20.0):
- React-Core
- React-RCTImage
- RNStaticSafeAreaInsets (2.2.0):
- React-Core
- RNVectorIcons (9.2.0):
2021-02-19 11:06:28 -07:00
- React-Core
- VisionCamera (3.0.0-rc.2):
feature: Frame Processors (iOS) (#2) * Clean up Frame Processor * Create FrameProcessorHolder * Create FrameProcessorDelegate in ObjC++ * Move frame processor to FrameProcessorDelegate * Decorate runtime, check for null * Update FrameProcessorDelegate.mm * Cleanup FrameProcessorBindings.mm * Fix RuntimeDecorator.h import * Update FrameProcessorDelegate.mm * "React" -> "React Helper" to avoid confusion * Rename folders again * Fix podspec flattening a lot of headers, causing REA nameclash * Fix header imports to avoid REA naming collision * Lazily initialize jsi::Runtime on DispatchQueue * Install frame processor bindings from Swift * First try to call jsi::Function (frame processor) :eyes: * Call viewForReactTag on RCT main thread * Fix bridge accessing * Add more logs * Update CameraViewManager.swift * Add more TODOs * Re-indent .cpp files * Fix RCTTurboModule import podspec * Remove unnecessary include check for swift umbrella header * Merge branch 'main' into frame-processors * Docs: use static width for images (283) * Create validate-cpp.yml * Update a lot of packages to latest * Set SWIFT_VERSION to 5.2 in podspec * Create clean.sh * Delete unused C++ files * podspec: Remove CLANG_CXX_LANGUAGE_STANDARD and OTHER_CFLAGS * Update pod lockfiles * Regenerate lockfiles * Remove IOSLogger * Use NSLog * Create FrameProcessorManager (inherits from REA RuntimeManager) * Create reanimated::RuntimeManager shared_ptr * Re-integrate pods * Add react-native-reanimated >=2 peerDependency * Add metro-config * blacklist -> exclusionList * Try to call worklet * Fix jsi::Value* initializer * Call ShareableValue::adapt (makeShareable) with React/JS Runtime * Add null-checks * Lift runtime manager creation out of delegate, into bindings * Remove debug statement * Make RuntimeManager unique_ptr * Set _FRAME_PROCESSOR * Extract convertJSIFunctionToFrameProcessorCallback * Print frame * Merge branch 'main' into frame-processors * Reformat Swift code * Install reanimated from npm again * Re-integrate Pods * Dependabot: Also scan example/ and docs/ * Update validate-cpp.yml * Create FrameProcessorUtils * Create Frame.h * Abstract HostObject creation away * Fix types * Fix frame processor call * Add todo * Update lockfiles * Add C++ contributing instructions * Update CONTRIBUTING.md * Add android/src/main/cpp to cpplint * Update cpplint.sh * Fix a few cpplint errors * Fix globals * Fix a few more cpplint errors * Update App.tsx * Update AndroidLogger.cpp * Format * Fix cpplint script (check-cpp) * Try to simplify frame processor * y * Update FrameProcessorUtils.mm * Update FrameProcessorBindings.mm * Update CameraView.swift * Update CameraViewManager.m * Restructure everything * fix * Fix `@objc` export (make public) * Refactor installFrameProcessorBindings into FrameProcessorRuntimeManager * Add swift RCTBridge.runOnJS helper * Fix run(onJS) * Add pragma once * Add `&self` to lambda * Update FrameProcessorRuntimeManager.mm * reorder imports * Fix imports * forward declare * Rename extension * Destroy buffer after execution * Add FrameProcessorPluginRegistry base * Merge branch 'main' into frame-processors * Add frameProcessor to types * Update Camera.tsx * Fix rebase merge * Remove movieOutput * Use `useFrameProcessor` * Fix bad merge * Add additional ESLint rules * Update lockfiles * Update CameraViewManager.m * Add support for V8 runtime * Add frame processor plugins API * Print plugin invoke * Fix React Utils in podspec * Fix runOnJS swift name * Remove invalid redecl of `captureSession` * Use REA 2.1.0 which includes all my big PRs :tada: * Update validate-cpp.yml * Update Podfile.lock * Remove Flipper * Fix dereferencing * Capture `self` by value. Fucking hell, what a dumb mistake. * Override a few HostObject functions * Expose isReady, width, height, bytesPerRow and planesCount * use hook again * Expose property names * FrameProcessor -> Frame * Update CameraView+RecordVideo.swift * Add Swift support for Frame Processors Plugins * Add macros for plugin installation * Add ObjC frame processor plugin * Correctly install frame processor plugins * Don't require custom name for macro * Check if plugin already exists * Implement QR Code Frame Processor Plugin in Swift * Adjust ObjC style frame processor macro * optimize * Add `frameProcessorFrameDropRate` * Fix types * Only log once * Log if it executes slowly * Implement `frameProcessorFps` * Implement manual encoded video recordings * Use recommended video settings * Add fileType types * Ignore if input is not ready for media data * Add completion handler * Add audio buffer sampling * Init only for video frame * use AVAssetWriterInputPixelBufferAdaptor * Remove AVAssetWriterInputPixelBufferAdaptor * Rotate VideoWriter * Always assume portrait orientation * Update RecordingSession.swift * Use a separate Queue for Audio * Format Swift * Update CameraView+RecordVideo.swift * Use `videoQueue` instead of `cameraQueue` * Move example plugins to example app * Fix hardcoded name in plugin macro * QRFrame... -> QRCodeFrame... * Update FrameProcessorPlugin.h * Add example frame processors to JS base * Update QRCodeFrameProcessorPluginSwift.m * Add docs to create FP Plugins * Update FRAME_PROCESSORS_CREATE.mdx * Update FRAME_PROCESSORS_CREATE.mdx * Use `AVAssetWriterInputPixelBufferAdaptor` for efficient pixel buffer recycling * Add customizable `pixelFormat` * Use native format if available * Update project.pbxproj * Set video width and height as source-pixel-buffer attributes * Catch * Update App.tsx * Don't explicitly set video dimensions, let CVPixelBufferPool handle it * Add a few logs * Cleanup * Update CameraView+RecordVideo.swift * Eagerly initialize asset writer to fix stutter at first frame * Use `cameraQueue` DispatchQueue to not block CaptureDataOutputDelegate * Fix duration calculation * cleanup * Cleanup * Swiftformat * Return available video codecs * Only show frame drop notification for video output * Remove photo and video codec functionality It was too much complexity and probably never used anyways. * Revert all android related changes for now * Cleanup * Remove unused header * Update AVAssetWriter.Status+descriptor.swift * Only call Frame Processor for Video Frames * Fix `if` * Add support for Frame Processor plugin parameters/arguments * Fix arg support * Move to JSIUtils.mm * Update JSIUtils.h * Update FRAME_PROCESSORS_CREATE.mdx * Update FRAME_PROCESSORS_CREATE.mdx * Upgrade packages for docs/ * fix docs * Rename * highlight lines * docs * community plugins * Update FRAME_PROCESSOR_CREATE_FINAL.mdx * Update FRAME_PROCESSOR_PLUGIN_LIST.mdx * Update FRAME_PROCESSOR_PLUGIN_LIST.mdx * Update dependencies (1/2) * Update dependencies (2/2) * Update Gemfile.lock * add FP docs * Update README.md * Make `lastFrameProcessor` private * add `frameProcessor` docs * fix docs * adjust docs * Update DEVICES.mdx * fix * s * Add logs demo * add metro restart note * Update FRAME_PROCESSOR_CREATE_PLUGIN_IOS.mdx * Mirror video device * Update AVCaptureVideoDataOutput+mirror.swift * Create .swift-version * Enable whole module optimization * Fix recording mirrored video * Swift format * Clean dictionary on `markInvalid` * Fix cleanup * Add docs for disabling frame processors * Update project.pbxproj * Revert "Update project.pbxproj" This reverts commit e67861e51b88b4888a6940e2d20388f3044211d0. * Log frame drop reason * Format * add more samples * Add clang-format * also check .mm * Revert "also check .mm" This reverts commit 8b9d5e2c29866b05909530d104f6633d6c49eadd. * Revert "Add clang-format" This reverts commit 7643ac808e0fc34567ea1f814e73d84955381636. * Use `kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange` as default * Read matching video attributes from videoSettings * Add TODO * Swiftformat * Conditionally disable frame processors * Assert if trying to use frame processors when disabled * Add frame-processors demo gif * Allow disabling frame processors via `VISION_CAMERA_DISABLE_FRAME_PROCESSORS` * Update FrameProcessorRuntimeManager.mm * Update FRAME_PROCESSORS.mdx * Update project.pbxproj * Update FRAME_PROCESSORS_CREATE_OVERVIEW.mdx
2021-05-06 06:11:55 -06:00
- React
- React-callinvoker
2021-03-26 09:22:24 -06:00
- React-Core
feat: Draw onto `Frame` as if it was a Skia Canvas (#1479) * Create Shaders.ts * Add `previewType` and `enableFpsGraph` * Add RN Skia native dependency * Add Skia Preview View on iOS * Pass 1 * Update FrameHostObject.mm * Wrap Canvas * Lockfiles * fix: Fix stuff * chore: Upgrade RNWorklets * Add `previewType` to set the Preview * feat: Add Example * Update project.pbxproj * `enableFpsGraph` * Cache the `std::shared_ptr<FrameHostObject>` * Update CameraView+RecordVideo.swift * Update SkiaMetalCanvasProvider.mm * Android: Integrate Skia Dependency * fix: Use new Prefix * Add example for rendering shader * chore: Upgrade CameraX * Remove KTX * Enable `viewBinding` * Revert "Enable `viewBinding`" This reverts commit f2a603f53b33ea4311a296422ffd1a910ce03f9e. * Revert "chore: Upgrade CameraX" This reverts commit 8dc832cf8754490d31a6192e6c1a1f11cdcd94fe. * Remove unneeded `ProcessCameraProvider.getInstance()` call * fix: Add REA hotfix patch * fix: Fix FrameHostObject dead in runAsync * fix: Make `runAsync` run truly async by dropping new Frames while executing * chore: Upgrade RN Worklets to latest * chore: Upgrade RN Skia * Revert "Remove KTX" This reverts commit 253f586633f7af2da992d2279fc206dc62597129. * Make Skia optional in CMake * Fix import * Update CMakeLists.txt * Update build.gradle * Update CameraView.kt * Update CameraView.kt * Update CameraView.kt * Update Shaders.ts * Center Blur * chore: Upgrade RN Worklets * feat: Add `toByteArray()`, `orientation`, `isMirrored` and `timestamp` to `Frame` (#1487) * feat: Implement `orientation` and `isMirrored` on Frame * feat: Add `toArrayBuffer()` func * perf: Do faster buffer copy * feat: Implement `toArrayBuffer()` on Android * feat: Add `orientation` and `isMirrored` to Android * feat: Add `timestamp` to Frame * Update Frame.ts * Update JImageProxy.h * Update FrameHostObject.cpp * Update FrameHostObject.cpp * Update CameraPage.tsx * fix: Format Swift
2023-02-21 07:00:48 -07:00
- react-native-skia
- react-native-worklets
2021-02-19 08:07:53 -07:00
- Yoga (1.14.0)
DEPENDENCIES:
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
2021-02-19 08:07:53 -07:00
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
2021-02-19 08:07:53 -07:00
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
- hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`)
- libevent (~> 2.1.12)
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
2021-02-19 08:07:53 -07:00
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
- React (from `../node_modules/react-native/`)
- React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`)
- React-Codegen (from `build/generated/ios`)
2021-02-19 08:07:53 -07:00
- React-Core (from `../node_modules/react-native/`)
- React-Core/RCTWebSocket (from `../node_modules/react-native/`)
- React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
- React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
- React-hermes (from `../node_modules/react-native/ReactCommon/hermes`)
2021-02-19 08:07:53 -07:00
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
2021-02-19 10:53:08 -07:00
- "react-native-blur (from `../node_modules/@react-native-community/blur`)"
- "react-native-cameraroll (from `../node_modules/@react-native-camera-roll/camera-roll`)"
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
feat: Draw onto `Frame` as if it was a Skia Canvas (#1479) * Create Shaders.ts * Add `previewType` and `enableFpsGraph` * Add RN Skia native dependency * Add Skia Preview View on iOS * Pass 1 * Update FrameHostObject.mm * Wrap Canvas * Lockfiles * fix: Fix stuff * chore: Upgrade RNWorklets * Add `previewType` to set the Preview * feat: Add Example * Update project.pbxproj * `enableFpsGraph` * Cache the `std::shared_ptr<FrameHostObject>` * Update CameraView+RecordVideo.swift * Update SkiaMetalCanvasProvider.mm * Android: Integrate Skia Dependency * fix: Use new Prefix * Add example for rendering shader * chore: Upgrade CameraX * Remove KTX * Enable `viewBinding` * Revert "Enable `viewBinding`" This reverts commit f2a603f53b33ea4311a296422ffd1a910ce03f9e. * Revert "chore: Upgrade CameraX" This reverts commit 8dc832cf8754490d31a6192e6c1a1f11cdcd94fe. * Remove unneeded `ProcessCameraProvider.getInstance()` call * fix: Add REA hotfix patch * fix: Fix FrameHostObject dead in runAsync * fix: Make `runAsync` run truly async by dropping new Frames while executing * chore: Upgrade RN Worklets to latest * chore: Upgrade RN Skia * Revert "Remove KTX" This reverts commit 253f586633f7af2da992d2279fc206dc62597129. * Make Skia optional in CMake * Fix import * Update CMakeLists.txt * Update build.gradle * Update CameraView.kt * Update CameraView.kt * Update CameraView.kt * Update Shaders.ts * Center Blur * chore: Upgrade RN Worklets * feat: Add `toByteArray()`, `orientation`, `isMirrored` and `timestamp` to `Frame` (#1487) * feat: Implement `orientation` and `isMirrored` on Frame * feat: Add `toArrayBuffer()` func * perf: Do faster buffer copy * feat: Implement `toArrayBuffer()` on Android * feat: Add `orientation` and `isMirrored` to Android * feat: Add `timestamp` to Frame * Update Frame.ts * Update JImageProxy.h * Update FrameHostObject.cpp * Update FrameHostObject.cpp * Update CameraPage.tsx * fix: Format Swift
2023-02-21 07:00:48 -07:00
- "react-native-skia (from `../node_modules/@shopify/react-native-skia`)"
2021-02-20 09:38:28 -07:00
- "react-native-slider (from `../node_modules/@react-native-community/slider`)"
2021-02-19 10:43:41 -07:00
- react-native-video (from `../node_modules/react-native-video`)
- react-native-worklets (from `../node_modules/react-native-worklets`)
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
2021-02-19 08:07:53 -07:00
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
- React-RCTAppDelegate (from `../node_modules/react-native/Libraries/AppDelegate`)
2021-02-19 08:07:53 -07:00
- React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
- React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
- React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
- React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
- React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
- React-RCTText (from `../node_modules/react-native/Libraries/Text`)
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
- React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
2021-02-19 08:07:53 -07:00
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
2021-02-19 10:12:07 -07:00
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
2021-02-19 10:05:45 -07:00
- RNReanimated (from `../node_modules/react-native-reanimated`)
- RNScreens (from `../node_modules/react-native-screens`)
2021-02-19 10:24:32 -07:00
- RNStaticSafeAreaInsets (from `../node_modules/react-native-static-safe-area-insets`)
2021-02-19 11:06:28 -07:00
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
2021-03-26 09:22:24 -06:00
- VisionCamera (from `../..`)
2021-02-19 08:07:53 -07:00
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
SPEC REPOS:
trunk:
- fmt
- libevent
2021-02-19 08:07:53 -07:00
EXTERNAL SOURCES:
boost:
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
2021-02-19 08:07:53 -07:00
DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
FBLazyVector:
:path: "../node_modules/react-native/Libraries/FBLazyVector"
FBReactNativeSpec:
:path: "../node_modules/react-native/React/FBReactNativeSpec"
2021-02-19 08:07:53 -07:00
glog:
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
hermes-engine:
:podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec"
RCT-Folly:
:podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
2021-02-19 08:07:53 -07:00
RCTRequired:
:path: "../node_modules/react-native/Libraries/RCTRequired"
RCTTypeSafety:
:path: "../node_modules/react-native/Libraries/TypeSafety"
React:
:path: "../node_modules/react-native/"
React-callinvoker:
:path: "../node_modules/react-native/ReactCommon/callinvoker"
React-Codegen:
:path: build/generated/ios
2021-02-19 08:07:53 -07:00
React-Core:
:path: "../node_modules/react-native/"
React-CoreModules:
:path: "../node_modules/react-native/React/CoreModules"
React-cxxreact:
:path: "../node_modules/react-native/ReactCommon/cxxreact"
React-hermes:
:path: "../node_modules/react-native/ReactCommon/hermes"
2021-02-19 08:07:53 -07:00
React-jsi:
:path: "../node_modules/react-native/ReactCommon/jsi"
React-jsiexecutor:
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
React-jsinspector:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
React-logger:
:path: "../node_modules/react-native/ReactCommon/logger"
2021-02-19 10:53:08 -07:00
react-native-blur:
:path: "../node_modules/@react-native-community/blur"
2021-02-19 11:29:29 -07:00
react-native-cameraroll:
:path: "../node_modules/@react-native-camera-roll/camera-roll"
react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context"
feat: Draw onto `Frame` as if it was a Skia Canvas (#1479) * Create Shaders.ts * Add `previewType` and `enableFpsGraph` * Add RN Skia native dependency * Add Skia Preview View on iOS * Pass 1 * Update FrameHostObject.mm * Wrap Canvas * Lockfiles * fix: Fix stuff * chore: Upgrade RNWorklets * Add `previewType` to set the Preview * feat: Add Example * Update project.pbxproj * `enableFpsGraph` * Cache the `std::shared_ptr<FrameHostObject>` * Update CameraView+RecordVideo.swift * Update SkiaMetalCanvasProvider.mm * Android: Integrate Skia Dependency * fix: Use new Prefix * Add example for rendering shader * chore: Upgrade CameraX * Remove KTX * Enable `viewBinding` * Revert "Enable `viewBinding`" This reverts commit f2a603f53b33ea4311a296422ffd1a910ce03f9e. * Revert "chore: Upgrade CameraX" This reverts commit 8dc832cf8754490d31a6192e6c1a1f11cdcd94fe. * Remove unneeded `ProcessCameraProvider.getInstance()` call * fix: Add REA hotfix patch * fix: Fix FrameHostObject dead in runAsync * fix: Make `runAsync` run truly async by dropping new Frames while executing * chore: Upgrade RN Worklets to latest * chore: Upgrade RN Skia * Revert "Remove KTX" This reverts commit 253f586633f7af2da992d2279fc206dc62597129. * Make Skia optional in CMake * Fix import * Update CMakeLists.txt * Update build.gradle * Update CameraView.kt * Update CameraView.kt * Update CameraView.kt * Update Shaders.ts * Center Blur * chore: Upgrade RN Worklets * feat: Add `toByteArray()`, `orientation`, `isMirrored` and `timestamp` to `Frame` (#1487) * feat: Implement `orientation` and `isMirrored` on Frame * feat: Add `toArrayBuffer()` func * perf: Do faster buffer copy * feat: Implement `toArrayBuffer()` on Android * feat: Add `orientation` and `isMirrored` to Android * feat: Add `timestamp` to Frame * Update Frame.ts * Update JImageProxy.h * Update FrameHostObject.cpp * Update FrameHostObject.cpp * Update CameraPage.tsx * fix: Format Swift
2023-02-21 07:00:48 -07:00
react-native-skia:
:path: "../node_modules/@shopify/react-native-skia"
2021-02-20 09:38:28 -07:00
react-native-slider:
:path: "../node_modules/@react-native-community/slider"
2021-02-19 10:43:41 -07:00
react-native-video:
:path: "../node_modules/react-native-video"
react-native-worklets:
:path: "../node_modules/react-native-worklets"
React-perflogger:
:path: "../node_modules/react-native/ReactCommon/reactperflogger"
2021-02-19 08:07:53 -07:00
React-RCTActionSheet:
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
React-RCTAnimation:
:path: "../node_modules/react-native/Libraries/NativeAnimation"
React-RCTAppDelegate:
:path: "../node_modules/react-native/Libraries/AppDelegate"
2021-02-19 08:07:53 -07:00
React-RCTBlob:
:path: "../node_modules/react-native/Libraries/Blob"
React-RCTImage:
:path: "../node_modules/react-native/Libraries/Image"
React-RCTLinking:
:path: "../node_modules/react-native/Libraries/LinkingIOS"
React-RCTNetwork:
:path: "../node_modules/react-native/Libraries/Network"
React-RCTSettings:
:path: "../node_modules/react-native/Libraries/Settings"
React-RCTText:
:path: "../node_modules/react-native/Libraries/Text"
React-RCTVibration:
:path: "../node_modules/react-native/Libraries/Vibration"
React-runtimeexecutor:
:path: "../node_modules/react-native/ReactCommon/runtimeexecutor"
2021-02-19 08:07:53 -07:00
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
2021-02-19 10:12:07 -07:00
RNGestureHandler:
:path: "../node_modules/react-native-gesture-handler"
2021-02-19 10:05:45 -07:00
RNReanimated:
:path: "../node_modules/react-native-reanimated"
RNScreens:
:path: "../node_modules/react-native-screens"
2021-02-19 10:24:32 -07:00
RNStaticSafeAreaInsets:
:path: "../node_modules/react-native-static-safe-area-insets"
2021-02-19 11:06:28 -07:00
RNVectorIcons:
:path: "../node_modules/react-native-vector-icons"
2021-03-26 09:22:24 -06:00
VisionCamera:
:path: "../.."
2021-02-19 08:07:53 -07:00
Yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"
SPEC CHECKSUMS:
boost: 57d2868c099736d80fcd648bf211b4431e51a558
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: a89a0525bc7ca174675045c2b492b5280d5a2470
FBReactNativeSpec: 7714e6bc1e9ea23df6c4cb42f0b2fd9c6a3a559c
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
hermes-engine: 4438d2b8bf8bebaba1b1ac0451160bab59e491f8
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
RCTRequired: 5a4a30ac20c86eeadd6844a9328f78d4168cf9b2
RCTTypeSafety: 279fc5861a89f0f37db3a585f27f971485b4b734
React: 88307a9be3bd0e71a6822271cf28b84a587fb97f
React-callinvoker: 35fb980c454104ebe82f0afb9826830089248e08
React-Codegen: a8dbde3b7476d5c19437d2adb9e8ea1b426b9595
React-Core: 385cb6fa78762c6409ff39faeb0dd9ad664b6e84
React-CoreModules: c2b7db313b04d9b71954ffd55d0c2e46bc40e9fb
React-cxxreact: 845fefb889132e5d004ff818f7a599e32c52e7d6
React-hermes: 86135f35e1dd2dfccfb97afe96d0c06f6a3970c4
React-jsi: 39c116aa6c3d6f3d9874eff6998a670b47882a28
React-jsiexecutor: eaa5f71eb8f6861cf0e57f1a0f52aeb020d9e18e
React-jsinspector: 9885f6f94d231b95a739ef7bb50536fb87ce7539
React-logger: 3f8ebad1be1bf3299d1ab6d7f971802d7395c7ef
react-native-blur: 50c9feabacbc5f49b61337ebc32192c6be7ec3c3
react-native-cameraroll: 5b25d0be40185d02e522bf2abf8a1ba4e8faa107
react-native-safe-area-context: 39c2d8be3328df5d437ac1700f4f3a4f75716acc
react-native-skia: 93857be5661fc3d81abcd3e7cb357a6662275778
react-native-slider: 33b8d190b59d4f67a541061bb91775d53d617d9d
react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
react-native-worklets: c7576ad4ad0f030ff41e8d74ad0077c96054a6c1
React-perflogger: 2d505bbe298e3b7bacdd9e542b15535be07220f6
React-RCTActionSheet: 0e96e4560bd733c9b37efbf68f5b1a47615892fb
React-RCTAnimation: fd138e26f120371c87e406745a27535e2c8a04ef
React-RCTAppDelegate: 4a9fd1230a98dc3d4382f8a934dc9f50834d8335
React-RCTBlob: 38a7185f06a0ce8153a023e63b406a28d67b955d
React-RCTImage: 92b0966e7c1cadda889e961c474397ad5180e194
React-RCTLinking: b80f8d0c6e94c54294b0048def51f57eaa9a27af
React-RCTNetwork: 491b0c65ac22edbd6695d12d084b4943103b009b
React-RCTSettings: 97af3e8abe0023349ec015910df3bda1a0380117
React-RCTText: 33c85753bd714d527d2ae538dc56ec24c6783d84
React-RCTVibration: 08f132cad9896458776f37c112e71d60aef1c6ae
React-runtimeexecutor: c5c89f8f543842dd864b63ded1b0bbb9c9445328
ReactCommon: dbfbe2f7f3c5ce4ce44f43f2fd0d5950d1eb67c5
RNGestureHandler: 071d7a9ad81e8b83fe7663b303d132406a7d8f39
2023-03-21 08:19:32 -06:00
RNReanimated: f0dd6b881808e635ef0673f89642937d6c141314
feat: Sync Frame Processors (plus `runAsync` and `runAtTargetFps`) (#1472) Before, Frame Processors ran on a separate Thread. After, Frame Processors run fully synchronous and always at the same FPS as the Camera. Two new functions have been introduced: * `runAtTargetFps(fps: number, func: () => void)`: Runs the given code as often as the given `fps`, effectively throttling it's calls. * `runAsync(frame: Frame, func: () => void)`: Runs the given function on a separate Thread for Frame Processing. A strong reference to the Frame is held as long as the function takes to execute. You can use `runAtTargetFps` to throttle calls to a specific API (e.g. if your Camera is running at 60 FPS, but you only want to run face detection at ~25 FPS, use `runAtTargetFps(25, ...)`.) You can use `runAsync` to run a heavy algorithm asynchronous, so that the Camera is not blocked while your algorithm runs. This is useful if your main sync processor draws something, and your async processor is doing some image analysis on the side. You can also combine both functions. Examples: ```js const frameProcessor = useFrameProcessor((frame) => { 'worklet' console.log("I'm running at 60 FPS!") }, []) ``` ```js const frameProcessor = useFrameProcessor((frame) => { 'worklet' console.log("I'm running at 60 FPS!") runAtTargetFps(10, () => { 'worklet' console.log("I'm running at 10 FPS!") }) }, []) ``` ```js const frameProcessor = useFrameProcessor((frame) => { 'worklet' console.log("I'm running at 60 FPS!") runAsync(frame, () => { 'worklet' console.log("I'm running on another Thread, I can block for longer!") }) }, []) ``` ```js const frameProcessor = useFrameProcessor((frame) => { 'worklet' console.log("I'm running at 60 FPS!") runAtTargetFps(10, () => { 'worklet' runAsync(frame, () => { 'worklet' console.log("I'm running on another Thread at 10 FPS, I can block for longer!") }) }) }, []) ```
2023-02-15 08:47:09 -07:00
RNScreens: 218801c16a2782546d30bd2026bb625c0302d70f
RNStaticSafeAreaInsets: 055ddbf5e476321720457cdaeec0ff2ba40ec1b8
RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8
VisionCamera: 75445eda0090454f5a80786a001e4fb7793fbfe1
Yoga: d56980c8914db0b51692f55533409e844b66133c
2021-02-19 08:07:53 -07:00
PODFILE CHECKSUM: bd58477b713db59422e816e017e3fbbdd8b7cf60
2021-02-19 08:07:53 -07:00
COCOAPODS: 1.12.1