Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering on USB camera content using OpenGL #16

Closed
habi-kvana opened this issue Feb 19, 2021 · 1 comment
Closed

Rendering on USB camera content using OpenGL #16

habi-kvana opened this issue Feb 19, 2021 · 1 comment

Comments

@habi-kvana
Copy link

StartIsoStreamActivity----> processReceivedMJpegVideoFrameKamera() --> glsurface --- > render other image on frame

can we render those images frame data on glsurface?

@Peter-St
Copy link
Owner

Hello,

the surface view I think accepts PixelFormat.RGB_888.

processReceivedMJpegVideoFrameKamera() returns a jpeg which is useless I think for rendering to a glsufaceview.

You would have to convert the mjpeg to RGBX Pixel Format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants