dmlc / dmlc/decord

decode to OpenGL texture / FBO / PBO

Open
#205 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
232
PR merge metrics
No merged PRs in 30d

Description

I'm using decord (either cuda of not, depending on machine) to grab video frames that are later processed/displayed through openGL. In the present form, this implies (at least with cuda) GPU->CPU->memory allocation with asnumpy()->back to GPU.

I have little expertise in deep learning frameworks, but it seems that the decord.bridges enable to use data while still on GPU (without an intermediate CPU transfer)
Would it be possible to implement (and how?) an OpenGL bridge, so we could use glBindTexture glBindBuffer (...) with a texture ID or FBO/PBO ID

Alternatively, how could we directly use _vr[x].handle in glTexImage2D glTexSubImage2D
any directions?

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.