react-native-vision-camera/docs/docs/guides
Marc Rousavy ea3686cb9a
feat: Create C++/OpenGL-based Video Pipeline for more efficient Recording and Frame Processing (#1721)
* Create `VideoPipeline` c++

* Remove folly C++ dependency

* Create `VideoPipeline` HybridClass

* Set up OpenGL

* Add outputs

* Update VideoPipeline.kt

* Bum `minSdkVersion` to `26`

* Create `VideoPipelineOutput`

* Create output funcs

* Set output pipelines

* Add FP/Recording on Output change

* Update VideoPipeline.cpp

* Create `PassThroughShader`

* Try to draw? I have honestly no idea

* fix: Fix `setFrameProcessor` nameclash

* fix: Fix `high-res-sizes` being null

* Add preview output

* Create `OpenGLContext.cpp`

* Make screen red

* This _should_ work (MESSY)

* FINALLY RENDER TEXTURE

* Rotate

* Mirror

* Clean up a bit

* Add `getWidth()`/`getHeight()`

* Cleanup

* fix: Use uniforms instead of attributes

* Draw with passed rotation/mirror mode

* feat: Use SurfaceTexture's transformMatrix in OpenGL pipeline (#1727)

* feat: Use Transform Matrix from SurfaceTexture

* Renam

* feat: Fix OpenGL Shader

* Update VideoPipeline.kt

* Measure elapsed time

* fix: Fix low resolution

* Render to offscreen

* Render to every context

* Release `SurfaceTexture` on close

* Use one OpenGL context to render to multiple EGLSurfaces

* Clean up a bit

* fix: Fix recording pipeline not triggering

* fix: Synchronize close to prevent nulls

* Update OpenGLRenderer.cpp

* fix: Hardcode Android recorder size
2023-08-29 17:52:03 +02:00
..
CAPTURING.mdx feat: Full Android rewrite (CameraX -> Camera2) (#1674) 2023-08-21 12:50:14 +02:00
DEVICES.mdx feat: Full Android rewrite (CameraX -> Camera2) (#1674) 2023-08-21 12:50:14 +02:00
ERRORS.mdx docs: Fix typo in ERRORS (#1160) 2022-07-25 13:26:18 +02:00
FOCUSING.mdx chore: Upgrade a whole lotta dependencies (#436) 2021-09-22 13:58:59 +02:00
FORMATS.mdx feat: Full Android rewrite (CameraX -> Camera2) (#1674) 2023-08-21 12:50:14 +02:00
FRAME_PROCESSOR_CREATE_FINAL.mdx feat: Expose unified VisionCameraProxy object, make FrameProcessorPlugins object-oriented (#1660) 2023-07-21 17:52:30 +02:00
FRAME_PROCESSOR_CREATE_PLUGIN_ANDROID.mdx feat: Replace *NativeMap and *NativeArray with Map<K,V> and List<T> for faster JSI -> JNI calls (#1720) 2023-08-25 12:22:44 +02:00
FRAME_PROCESSOR_CREATE_PLUGIN_IOS.mdx feat: Expose unified VisionCameraProxy object, make FrameProcessorPlugins object-oriented (#1660) 2023-07-21 17:52:30 +02:00
FRAME_PROCESSOR_PLUGIN_LIST.mdx feat: Replace Reanimated with RN Worklets (#1468) 2023-02-13 15:22:45 +01:00
FRAME_PROCESSORS_CREATE_OVERVIEW.mdx feat: Replace *NativeMap and *NativeArray with Map<K,V> and List<T> for faster JSI -> JNI calls (#1720) 2023-08-25 12:22:44 +02:00
FRAME_PROCESSORS_SKIA.mdx feat: Allow build without Skia or Frame Processors (#1710) 2023-08-23 12:42:38 +02:00
FRAME_PROCESSORS.mdx feat: Allow build without Skia or Frame Processors (#1710) 2023-08-23 12:42:38 +02:00
LIFECYCLE.mdx docs: Fix "siginificant" typo (#1626) 2023-06-19 16:12:01 +02:00
MOCKING.mdx feat: Full Android rewrite (CameraX -> Camera2) (#1674) 2023-08-21 12:50:14 +02:00
SETUP.mdx feat: Full Android rewrite (CameraX -> Camera2) (#1674) 2023-08-21 12:50:14 +02:00
TROUBLESHOOTING.mdx feat: Create C++/OpenGL-based Video Pipeline for more efficient Recording and Frame Processing (#1721) 2023-08-29 17:52:03 +02:00
ZOOMING.mdx docs: Add Multi-Camera zooming GIF 2023-03-16 13:40:05 -04:00