Waiting for your answer…
Does SDL support yuv 10/12 bits?
I don’t think so, although I would be happy to be proved wrong. The only 10-bit format listed in SDL_pixels.h is SDL_PIXELFORMAT_ARGB2101010 which is an RGB format not YUV.
One can deduce what the relevant SDL_PixelFormat would be using the macro expansion
SDL_DEFINE_PIXELFOURCC(‘Y’,‘2’,‘1’,‘0’) but other than acting as a placeholder for future expansion I’m not sure that it is particularly useful.
Thanks. UHD video is becoming more and more popular and I wish yuv 10/12 bits should be supported in the future.