What is pixelFormat=&8v0

I am porting over some video decoding code from Intel to M1 and I'm seeing a very strange pixelFormat.

The setup is pretty basic, basically just setting kCVPixelBufferMetalCompatibilityKey to true.

But I am at a complete loss as to how to interpret this pixelFormat. In looking through CVPixelBuffer.h, I don't see any constant even close. (Using Xcode 12.5.1).

This is the beginning of the debug description of the imageBuffer:

CVPixelBuffer 0x6000eea7bf60 width=320 height=480 pixelFormat=&8v0 iosurface=0x6000e4c87ff0 planes=2 poolName=decode

Replies

Just now getting to the "What's new in camera capture" talk from WWDC21. Brad describes the new lossless compression available in certain data paths. So this is the value of the new enum:

kCVPixelFormatType_Lossless_420YpCbCr8BiPlanarVideoRange

Even though this value is being seen in practice on an M1 Mac running macOS 11.6, this enum is not in the macOS 11 SDK.