react-native-vision-camera/docs
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
..
docs/guides feat: Create C++/OpenGL-based Video Pipeline for more efficient Recording and Frame Processing (#1721) 2023-08-29 17:52:03 +02:00
src docs: Add @vercel/analytics 2023-03-07 11:53:32 +01:00
static Merge branch 'main' into v3 2023-07-31 18:27:11 +02:00
.gitignore Automatically build API documentation (#11) 2021-03-03 12:37:43 +01:00
babel.config.js Automatically build API documentation (#11) 2021-03-03 12:37:43 +01:00
docusaurus.config.js docs: Use other Algolia App ID 2023-05-23 17:41:29 +02:00
package.json docs: Set up Google gtag 2023-03-16 13:30:59 -04:00
README.md remove build docs 2023-03-06 11:36:00 +01:00
sidebars.js docs: 📄 Add mocking section to docs (#1061) 2022-05-27 11:34:54 +02:00
yarn.lock docs: Set up Google gtag 2023-03-16 13:30:59 -04:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn install

Local Development

yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Docs are deployed to https://react-native-vision-camera.com using Next.js/Vercel.