Open sailfish009 opened 8 years ago
Unfortunately, SDL_gpu's YUV support is not complete. I started it a long time ago and never did finish it. As it is, I think you'd have to write your own shader to combine planes from 3 individual GPU_Images.
My personal obligations are pressing lately, so I can't commit to finishing YUV support any time soon.
Thanks for the answer! :)
i will look at libyuv. https://chromium.googlesource.com/libyuv/libyuv/
Hi,
how do i replace SDL_UpdateYUVTexture() with sdl-gpu functions?
with GPU_UpdateImageBytes(), i can only copy Y planar pixels to GPU_image. so i can see gray image/stream only, no color image.