Hello Caroline, if I want to operate YUV in metal, would you please tell me how can I do?
I haven’t used YUV at all.
There is a YUV MTLPixelFormat
:
https://developer.apple.com/documentation/metal/mtlpixelformat
Here’s where someone converted RGB to YUV in a compute shader: