Skip to content

Commit 4107ec6

Browse files
committed
2 parents 05142d3 + d37e967 commit 4107ec6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
# processing-video-android
2-
Processing Video implementation for Android
1+
# Processing Video implementation for Android
2+
In this branch, I'm maintaing another approach to render camera preview on processing's `GLSurfaceView`.
3+
The idea is to render camera preview on a `SurfaceTexture` and as soon as the new frame is received, copy the data from this `SurfaceTexture` to processing's underlying texure.
4+
We cannot directly render to processing's own texture because it's bound `GLES20.GL_TEXTURE_2D` target, whereas for the preview to happen, the texture should be bound to `GLES11Ext.GL_TEXTURE_EXTERNAL_OES`.
5+
6+
As of now, I've written pretty much the OpenGL code but a lot still remains to be fixed.
7+
8+
For an alternative, but working, ultra slow approach head over to pixel_manipulation branch.

0 commit comments

Comments
 (0)