Skip to content

How to draw YUV buffer image on a texture #7699

Answered by suzp1984
hanna2100 asked this question in Q&A
Discussion options

You must be logged in to vote

First of All, the Android's way to handle the camera images is through the Surface or SurfaceTexture, so I think you need to refactor the external module to provide the Camera's output as Surface or SurfaceTexture instead of raw image buffer, otherwise there are no high speed method to process these image.

you already knows the Stream API in filament, so I guess you already knows the sample-hello-camera sample project.

/**
* Toy class that handles all interaction with the Android camera2 API.
* Sets the "textureTransform" and "vi…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hanna2100
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants