react-native-vision-camera/src
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
..
expo-plugin fix: Fix expo plugin import path 2021-07-12 18:02:28 +02:00
hooks fix: Fix TypeScript relative imports (#358) 2021-08-16 10:45:41 +02:00
utils fix: Fix TypeScript relative imports (#358) 2021-08-16 10:45:41 +02:00
Camera.tsx feat: frameProcessorFps="auto" and automatic performance suggestions (throttle or increase FPS) (#393) 2021-09-06 16:27:16 +02:00
CameraDevice.ts feat: BREAKING CHANGE: Express zoom factor always in actual factor value (1, 2, 128, ...) instead of 0.0-1.0 scale (#306) 2021-07-29 11:44:22 +02:00
CameraError.ts fix: Rename incorrect error type name parallel-video-processing-not-supported 2021-06-27 13:47:35 +02:00
CameraPosition.ts ESLint autofix 2021-02-20 17:07:10 +01:00
CameraPreset.ts ESLint autofix 2021-02-20 17:07:10 +01:00
CameraProps.ts feat: frameProcessorFps="auto" and automatic performance suggestions (throttle or increase FPS) (#393) 2021-09-06 16:27:16 +02:00
Frame.ts feat: Implement Frame.close() (#229) 2021-07-06 10:08:44 +02:00
globals.d.ts Revert "Update globals.d.ts" 2021-05-06 16:12:43 +02:00
index.ts feature: Frame Processors (iOS) (#2) 2021-05-06 14:11:55 +02:00
PhotoFile.ts feat: High quality mode (enableHighQualityPhotos) (#194) 2021-06-10 13:49:34 +02:00
Point.ts Bootstrap 2021-02-19 16:07:53 +01:00
Snapshot.ts feat: Frame Processors for Android (#196) 2021-06-27 12:37:54 +02:00
TemporaryFile.ts Update TemporaryFile.ts 2021-03-08 18:00:30 +01:00
VideoFile.ts chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00