Marc Rousavy
977b859e46
feat: New JS API for useCameraDevice
and useCameraFormat
and much faster getAvailableCameraDevices()
( #1784 )
...
* Update podfile
* Update useCameraFormat.ts
* Update API
* Delete FormatFilter.md
* Format CameraViewManager.m ObjC style
* Make `getAvailableCameraDevices` synchronous/blocking
* Create some docs
* fix: Fix HardwareLevel types
* fix: Use new device/format API
* Use 60 FPS format as an example
* Replace `Camera.getAvailableCameraDevices` with new `CameraDevices` API/Module
* Fix Lint
* KTLint options
* Use continuation indent of 8
* Use 2 spaces for indent
* Update .editorconfig
* Format code
* Update .editorconfig
* Format more
* Update VideoStabilizationMode.kt
* fix: Expose `CameraDevicesManager` to ObjC
* Update CameraPage.tsx
* fix: `requiresMainQueueSetup() -> false`
* Always prefer higher resolution
* Update CameraDevicesManager.swift
* Update CameraPage.tsx
* Also filter pixelFormat
* fix: Add AVFoundation import
2023-09-21 11:20:33 +02:00
Marc Rousavy
9eed89aac6
chore: Upgrade version in Pods
2023-09-19 13:26:26 +02:00
ike
18c7034b50
fix: Fix h264
videoCodec type for RecordVideoOptions ( #1808 )
2023-09-17 19:26:25 +02:00
Marc Rousavy
4e96eb77e0
perf: Use ImageWriter
instead of OpenGL Pipeline for faster processing ( #1789 )
...
* perf: Use `ImageWriter` instead of OpenGL Pipeline for faster processing
* chore: Remove C++ part of OpenGL pipeline
* Clean up
* Update README.md
2023-09-11 13:58:58 +02:00
Xavier Seignard
648c3638e8
fix: Log plugin name in assertion ( #1786 )
2023-09-11 11:48:26 +02:00
Marc Rousavy
297abae6bb
docs: Upgrade to Docusaurus 3 ( #1783 )
...
* docs: Upgrade to latest Docusaurus/Typedoc
* chore: Re-run typedoc
* docs: Upgrade to Docusaurus 3
* Add `docs/api/` to gitignore
* Remove `docs` from git
* Remove V3 banner
* fix: Export `PixelFormat`
2023-09-11 11:45:17 +02:00
Marc Rousavy
a4ace351fa
fix: Consider everything between 24mm and 43mm a wide-angle lense ( #1782 )
...
* fix: Consider everything between 24mm and 43mm a wide-angle lense
* chore: Use Kotlin when API instead
* Use floats
* Catch error
2023-09-11 11:33:02 +02:00
Vojtech Novak
eddb01fda1
fix: Fix potential bug in Photo Orientation ( #1765 )
2023-09-06 11:30:58 +02:00
rkmackinnon
6dd1d4147e
fix: Fix passing options to frame processors on iOS ( #1750 )
2023-09-06 11:27:35 +02:00
Marc Rousavy
b4b0e49eb5
fix: Also properly convert any[]
-> List<Object>
in FP Android ( #1760 )
...
* fix: Also properly convert `any[]` -> `List<Object>` in FP Android
* Format C++
* fix: Add missing return
2023-09-06 10:56:33 +02:00
Marc Rousavy
f3fd3f15e3
chore: Clean up Android codebase a bit ( #1748 )
...
<!--
❤️ Thank you for your contribution! ❤️
Make sure you have read the Contributing Guidelines:
https://github.com/mrousavy/react-native-vision-camera/blob/main/CONTRIBUTING.md
-->
## What
<!--
Enter a short description on what this pull-request does.
Examples:
This PR adds support for the HEVC format.
This PR fixes a "unsupported device" error on iPhone 8 and below.
This PR fixes a typo in a CameraError.
This PR adds support for Quadruple Cameras.
-->
## Changes
<!--
Create a short list of logic-changes.
Examples:
* This PR changes the default value of X to Y.
* This PR changes the configure() function to cache results.
-->
## Tested on
<!--
Create a short list of devices and operating-systems you have tested
this change on. (And verified that everything works as expected).
Examples:
* iPhone 11 Pro, iOS 14.3
* Huawai P20, Android 10
-->
## Related issues
<!--
Link related issues here.
Examples:
* Fixes #29
* Closes #30
* Resolves #5
-->
2023-09-02 01:04:36 +02:00
Marc Rousavy
620b49ee0a
chore: release 3.0.0
2023-09-01 20:35:24 +02:00
Marc Rousavy
ae439e3752
Update .gitignore
2023-09-01 20:19:02 +02:00
Marc Rousavy
385014bf56
Create .bundle/config
2023-09-01 20:17:36 +02:00
Marc Rousavy
18d5400f50
Add Image to example
2023-09-01 19:52:08 +02:00
Marc Rousavy
a3b48f4951
Add start
script
2023-09-01 19:49:44 +02:00
Vojtech Novak
fc0e2bf34b
fix: Fix savePhotoToFile()
sometimes writing empty files ( #1746 )
2023-09-01 19:41:42 +02:00
Marc Rousavy
cebb7b3e89
Update .prettierrc.js
2023-09-01 19:40:04 +02:00
Marc Rousavy
325fc4d2bb
chore: Change line width to 140 in C++
2023-09-01 19:39:25 +02:00
Marc Rousavy
033ddb8cff
Move prettier and babel to separate files
2023-09-01 19:39:14 +02:00
Marc Rousavy
0ee9cb3352
chore: release 3.0.0-rc.10
2023-09-01 18:53:11 +02:00
Marc Rousavy
290a20f8e3
docs: Update CONTRIBUTING
2023-09-01 18:32:23 +02:00
Marc Rousavy
036856aed5
chore: Move everything into package/
( #1745 )
...
* Move everything into package
* Remove .DS_Store
* Move scripts and eslintrc to package
* Create CODE_OF_CONDUCT.md
* fix some links
* Update all links (I think)
* Update generated docs
* Update notice-yarn-changes.yml
* Update validate-android.yml
* Update validate-cpp.yml
* Delete notice-yarn-changes.yml
* Update validate-cpp.yml
* Update validate-cpp.yml
* Update validate-js.yml
* Update validate-cpp.yml
* Update validate-cpp.yml
* wrong c++ style
* Revert "wrong c++ style"
This reverts commit 55a3575589c6f13f8b05134d83384f55e0601ab2.
2023-09-01 18:15:28 +02:00