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

Can add a sample program for rendering YUV using webgpu? #64

Open
luojinghui opened this issue Jun 9, 2023 · 1 comment
Open

Can add a sample program for rendering YUV using webgpu? #64

luojinghui opened this issue Jun 9, 2023 · 1 comment

Comments

@luojinghui
Copy link

The YUV data has been converted into Uint8Array. Next, I want to render it to the canvas through webgpu, but after trying, it fails. Have any good ideas or sample programs?

@hjlld
Copy link
Owner

hjlld commented Jun 14, 2023

I have a basic idea that translate the yuv renderer code from webgl to webgpu, like this one: https://github.com/changzhn/render-yuv/blob/master/demo1.html, seems like it's not impossible.

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