react-native-vision-camera/ios/Frame Processor
Marc Rousavy ad5e131f6a
feat: frameProcessorFps="auto" and automatic performance suggestions (throttle or increase FPS) (#393)
* Add `onFrameProcessorPerformanceSuggestionAvailable` and make `frameProcessorFps` support `auto`

* Implement performance suggestion and auto-adjusting

* Fix FPS setting, evaluate correctly

* Floor suggested FPS

* Remove `console.log` for frame drop warnings.

* Swift format

* Use `30` magic number

* only call if FPS is different

* Update CameraView.swift

* Implement Android 1/2

* Cleanup

* Update `frameProcessorFps` if available

* Optimize `FrameProcessorPerformanceDataCollector` initialization

* Cache call

* Set frameProcessorFps directly (Kotlin setter)

* Don't suggest if same value

* Call suggestion every second

* reset time on set

* Always store 15 last samples

* reset counter too

* Update FrameProcessorPerformanceDataCollector.swift

* Update CameraView+RecordVideo.swift

* Update CameraView.kt

* iOS: Redesign evaluation

* Update CameraView+RecordVideo.swift

* Android: Redesign evaluation

* Update CameraView.kt

* Update REA to latest alpha and install RNScreens

* Fix frameProcessorFps updating
2021-09-06 16:27:16 +02:00
..
Frame.h feat: native Frame type to provide Orientation (#186) 2021-06-09 10:57:05 +02:00
Frame.m feat: native Frame type to provide Orientation (#186) 2021-06-09 10:57:05 +02:00
FrameHostObject.h fix: Fix close being called on a collected reference (enforce alias_ref) (#379) 2021-08-20 16:05:02 +02:00
FrameHostObject.mm fix: Fix close being called on a collected reference (enforce alias_ref) (#379) 2021-08-20 16:05:02 +02:00
FrameProcessorCallback.h feat: native Frame type to provide Orientation (#186) 2021-06-09 10:57:05 +02:00
FrameProcessorPerformanceDataCollector.swift feat: frameProcessorFps="auto" and automatic performance suggestions (throttle or increase FPS) (#393) 2021-09-06 16:27:16 +02:00
FrameProcessorPlugin.h feat: native Frame type to provide Orientation (#186) 2021-06-09 10:57:05 +02:00
FrameProcessorPluginRegistry.h feat: native Frame type to provide Orientation (#186) 2021-06-09 10:57:05 +02:00
FrameProcessorPluginRegistry.mm fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
FrameProcessorRuntimeManager.h fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
FrameProcessorRuntimeManager.mm feat: Add console logging support for Frame Processors (#297) 2021-07-30 10:27:45 +02:00
FrameProcessorUtils.h fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
FrameProcessorUtils.mm feat: Add console logging support for Frame Processors (#297) 2021-07-30 10:27:45 +02:00
VisionCameraScheduler.h feat: Add console logging support for Frame Processors (#297) 2021-07-30 10:27:45 +02:00
VisionCameraScheduler.mm feat: Add console logging support for Frame Processors (#297) 2021-07-30 10:27:45 +02:00