react-native-vision-camera/ios/Extensions
Marc Rousavy 375e894038
feat: Complete iOS Codebase rewrite (#1647)
* Make Frame Processors an extra subspec

* Update VisionCamera.podspec

* Make optional

* Make VisionCamera compile without Skia

* Fix

* Add skia again

* Update VisionCamera.podspec

* Make VisionCamera build without Frame Processors

* Rename error to `system/frame-processors-unavailable`

* Fix Frame Processor returning early

* Remove `preset`, FP partial rewrite

* Only warn on frame drop

* Fix wrong queue

* fix: Run on CameraQueue again

* Update CameraView.swift

* fix: Activate audio session asynchronously on audio queue

* Update CameraView+RecordVideo.swift

* Update PreviewView.h

* Cleanups

* Cleanup

* fix cast

* feat: Add LiDAR Depth Camera support

* Upgrade Ruby

* Add vector icons type

* Update Gemfile.lock

* fix: Stop queues on deinit

* Also load `builtInTrueDepthCamera`

* Update CameraViewManager.swift

* Update SkImageHelpers.mm

* Extract FrameProcessorCallback to FrameProcessor

Holds more context now :)

* Rename to .m

* fix: Add `RCTLog` import

* Create SkiaFrameProcessor

* Update CameraBridge.h

* Call Frame Processor

* Fix defines

* fix: Allow deleting callback funcs

* fix Skia build

* batch

* Just call `setSkiaFrameProcessor`

* Rewrite in Swift

* Pass `SkiaRenderer`

* Fix Import

* Move `PreviewView` to Swift

* Fix Layer

* Set Skia Canvas to Frame Host Object

* Make `DrawableFrameHostObject` subclass

* Fix TS types

* Use same MTLDevice and apply scale

* Make getter

* Extract `setTorch` and `Preview`

* fix: Fix nil metal device

* Don't wait for session stop in deinit

* Use main pixel ratio

* Use unique_ptr for Render Contexts

* fix: Fix SkiaPreviewDisplayLink broken after deinit

* inline `getTextureCache`

* Update CameraPage.tsx

* chore: Format iOS

* perf: Allow MTLLayer to be optimized for only frame buffers

* Add RN Video types

* fix: Fix Frame Processors if guard

* Find nodeModules recursively

* Create `Frame.isDrawable`

* Add `cocoapods-check` dependency
2023-07-20 15:30:04 +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 chore: Lint 2021-12-10 09:44:54 +01: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
FourCharCode+toString.swift feat: Complete iOS Codebase rewrite (#1647) 2023-07-20 15:30:04 +02:00