Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
YUV format support is incomplete #22
how do i replace SDL_UpdateYUVTexture() with sdl-gpu functions?
with GPU_UpdateImageBytes(), i can only copy Y planar pixels to GPU_image.
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.