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

Introduce an abstract widget/concept of "stream" pointed to memory/DMA buf ? #4

Open
c1ngular opened this issue Oct 14, 2023 · 2 comments

Comments

@c1ngular
Copy link

c1ngular commented Oct 14, 2023

I wanna start with displaying hardware decoded video frame or preview USB cameras (at least get the video working first , leave the audio /sync ... for later), could fyne offer an abstract widget/concept of "stream" , which point to an memory or dma buf (even better), consume and optimize it with fixed size/bytes/format accordingly ?

Is this idea gonna work ?

Thanks

@c1ngular c1ngular changed the title is it possible fyne could accept decoded video frame from DMA buf ? Introduce an abstract widget/concept of "stream" pointed to memory/DMA buf ? Oct 14, 2023
@andydotxyz
Copy link
Contributor

If the decoded video frame is a Go image.Image then it already works!
I guess your request is not that straight forward?

@c1ngular
Copy link
Author

c1ngular commented Oct 16, 2023

@andydotxyz I was thinking zero copy technique , to display hardware decoded or captured video frame as fast /performant as possible , format could be various according to hardwares .

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