react-native-vision-camera/ios/Extensions
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
..
AVAssetWriterInputPixelBufferAdaptor+initWithVideoSettings.swift try: Improvements from WWDC 2021 1:1 workshop (#197) 2021-06-11 21:06:19 +02:00
AVAudioSession+trySetAllowHaptics.swift fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
AVAudioSession+updateCategory.swift feat: frameProcessorFps="auto" and automatic performance suggestions (throttle or increase FPS) (#393) 2021-09-06 16:27:16 +02:00
AVCaptureConnection+setInterfaceOrientation.swift feat: Support rotation (#301) 2021-07-26 11:32:58 +02:00
AVCaptureDevice.Format+isBetterThan.swift chore: Lint Swift 2021-08-03 12:01:39 +02:00
AVCaptureDevice.Format+matchesFilter.swift chore: Lint Swift 2021-08-03 12:01:39 +02:00
AVCaptureDevice.Format+toDictionary.swift feat: Correctly get videoDimensions on devices below iOS 13 2021-08-03 10:37:48 +02:00
AVCaptureDevice.Format+videoDimensions.swift chore: Lint Swift 2021-08-03 12:01:39 +02:00
AVCaptureDevice+isMultiCam.swift chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00
AVCaptureDevice+neutralZoom.swift chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00
AVCaptureDevice+physicalDevices.swift chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00
AVCapturePhotoOutput+mirror.swift chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00
AVCaptureSession+setVideoStabilizationMode.swift feat: Video Stabilization (#160) 2021-06-03 15:42:02 +02:00
AVFrameRateRange+includes.swift chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00
Collection+safe.swift chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00