- Posts: 7
- Joined: Mon Apr 11, 2016 5:35 pm
> can the BMD device return RGBA
Our reading of the docs is that the BMD cannot return RGBA. The SDK contains sample code for converting bmdFormat8BitYUV into an OpenGL RGB texture using a GLSL shader.
> do I have to allocate extra buffers to handle the raw capture in some form of RGBA and then allocate more to handle the YUV data?
Yes; you must supply a buffer for YUV every time it asks for one. If you have only one YUV buffer, then you will get in trouble when you are busy processing that single buffer into RGB but the BMD needs another buffer to capture the next frame into it. So you will probably need to have a YUV buffer pool in your allocator, with multiple YUV buffers (and convert them into RGB as each frame is captured).