I'm trying unsuccesfully to upgrade our CIImage based video display pipeline to wide color and HDR. The problem is finding a >8bit pixelformat supported by CIImage imageWithIOSurface: or imageWithCVImageBuffer:
for all but the most common formats (32, '2vuy', etc) i get the following error on console:
[api] [CIImage initWithIOSurface:options:] failed because surface format was x422.
I've tried kCVPixelFormatType_422YpCbCr10BiPlanarVideoRange (suggested format for HEVC wide decomp according to avf wwdc video) and numerous others.
Are supported pixelformats documented anywhere?