Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save krackers/5aa6ac87a7ac39d2865c28fdda9c8b8d to your computer and use it in GitHub Desktop.
Save krackers/5aa6ac87a7ac39d2865c28fdda9c8b8d to your computer and use it in GitHub Desktop.

Revisions

  1. @gregcotten gregcotten created this gist Aug 29, 2019.
    2,124 changes: 2,124 additions & 0 deletions CVPixelFormat Descriptions
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2124 @@
    Structure is [PixelFormatTitle: DescriptionDictionary]. PixelFormatTitle is the kCVPixelFormatType_ suffix (if known) and the FourCharCode as a string or int if the string is too short.

    [["32ARGB / 32": {
    BitsPerBlock = 32;
    BitsPerComponent = 8;
    BlackBlock = <ff000000>;
    CGBitmapContextCompatibility = 1;
    CGBitmapInfo = 16388;
    CGImageCompatibility = 1;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    OpenGLCompatibility = 1;
    OpenGLFormat = 32993;
    OpenGLInternalFormat = 32856;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 32821;
    PixelFormat = 32;
    QDCompatibility = 1;
    }], ["24RGB / 24": {
    BitsPerBlock = 24;
    BitsPerComponent = 8;
    CGBitmapContextCompatibility = 0;
    CGBitmapInfo = 0;
    CGImageCompatibility = 1;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 57cedb41 ff7f0000 00000000 00000000>;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6407;
    OpenGLInternalFormat = 32849;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5121;
    PixelFormat = 24;
    QDCompatibility = 1;
    }], ["16BE555 / 16": {
    BitsPerBlock = 16;
    BitsPerComponent = 5;
    BlackBlock = <8000>;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 16;
    QDCompatibility = 1;
    }], ["422YpCbCr8 / 2vuy": {
    BitsPerBlock = 32;
    BitsPerComponent = 8;
    BlackBlock = <80108010>;
    BlockWidth = 2;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 37d3db41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 2;
    IOSurfaceCoreAnimationCompatibility = 1;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 34233;
    OpenGLInternalFormat = 6407;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 34234;
    PixelFormat = 846624121;
    }], ["2vuf": {
    BitsPerBlock = 32;
    BitsPerComponent = 8;
    BlackBlock = <80008000>;
    BlockWidth = 2;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 37d3db41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 2;
    IOSurfaceCoreAnimationCompatibility = 1;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 34233;
    OpenGLInternalFormat = 6407;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 34234;
    PixelFormat = 846624102;
    }], ["422YpCbCr8_yuvs / yuvs": {
    BitsPerBlock = 32;
    BitsPerComponent = 8;
    BlackBlock = <10801080>;
    BlockWidth = 2;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 e7d4db41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 2;
    IOSurfaceCoreAnimationCompatibility = 1;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 34233;
    OpenGLInternalFormat = 6407;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 34235;
    PixelFormat = 2037741171;
    }], ["422YpCbCr8FullRange / yuvf": {
    BitsPerBlock = 32;
    BitsPerComponent = 8;
    BlackBlock = <00800080>;
    BlockWidth = 2;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 e7d4db41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 2;
    IOSurfaceCoreAnimationCompatibility = 1;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 34233;
    OpenGLInternalFormat = 6407;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 34235;
    PixelFormat = 2037741158;
    }], ["8IndexedGray_WhiteIsZero / 40": {
    BitsPerBlock = 8;
    BitsPerComponent = 8;
    BlackBlock = <ff>;
    ContainsAlpha = 0;
    ContainsGrayscale = 1;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 91d1db41 ff7f0000 00000000 00000000>;
    PixelFormat = 40;
    QDCompatibility = 1;
    }], ["OneComponent8 / L008": {
    BitsPerBlock = 8;
    BitsPerComponent = 8;
    CGBitmapContextCompatibility = 1;
    CGBitmapInfo = 0;
    CGImageCompatibility = 1;
    ContainsAlpha = 0;
    ContainsGrayscale = 1;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 91d1db41 ff7f0000 00000000 00000000>;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6403;
    OpenGLInternalFormat = 6403;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5121;
    PixelFormat = 1278226488;
    }], ["L010": {
    BitsPerBlock = 16;
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ContainsAlpha = 0;
    ContainsGrayscale = 1;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1278226736;
    }], ["L016": {
    BitsPerBlock = 16;
    BitsPerComponent = 16;
    CGBitmapContextCompatibility = 1;
    CGBitmapInfo = 0;
    CGImageCompatibility = 1;
    ContainsAlpha = 0;
    ContainsGrayscale = 1;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6403;
    OpenGLInternalFormat = 6403;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5123;
    PixelFormat = 1278226742;
    }], ["TwoComponent8 / 2C08": {
    BitsPerBlock = 16;
    BitsPerComponent = 8;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    OpenGLCompatibility = 1;
    OpenGLFormat = 33319;
    OpenGLInternalFormat = 33319;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5121;
    PixelFormat = 843264056;
    }], ["2C16": {
    BitsPerBlock = 32;
    BitsPerComponent = 16;
    ContainsAlpha = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 33319;
    OpenGLInternalFormat = 33319;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5123;
    PixelFormat = 843264310;
    }], ["4444YpCbCrA8R / r408": {
    BitsPerBlock = 32;
    BitsPerComponent = 8;
    BlackBlock = <ff008080>;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1916022840;
    }], ["4444YpCbCrA8 / v408": {
    BitsPerBlock = 32;
    BitsPerComponent = 8;
    BlackBlock = <801080eb>;
    ComponentRange = VideoRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1983131704;
    }], ["4444AYpCbCr8 / y408": {
    BitsPerBlock = 32;
    BitsPerComponent = 8;
    BlackBlock = <ff108080>;
    ComponentRange = VideoRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    OpenGLTextureCacheCompatibility = 1;
    PixelFormat = 2033463352;
    }], ["4444AYpCbCr16 / y416": {
    BitsPerBlock = 64;
    BitsPerComponent = 16;
    BlackBlock = <ffff0010 00800080>;
    ComponentRange = VideoRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 56c8db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 2033463606;
    }], ["32BGRA / BGRA": {
    BitsPerBlock = 32;
    BitsPerComponent = 8;
    BlackBlock = <000000ff>;
    CGBitmapContextCompatibility = 1;
    CGBitmapInfo = 8196;
    CGImageCompatibility = 1;
    ComponentRange = FullRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    IOSurfaceOpenGLFBOCompatibility = 1;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 32993;
    OpenGLInternalFormat = 32856;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 33639;
    PixelFormat = 1111970369;
    }], ["64ARGB / b64a": {
    BitsPerBlock = 64;
    BitsPerComponent = 16;
    BlackBlock = <ffff0000 00000000>;
    ComponentRange = FullRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 56c8db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1647719521;
    }], ["48RGB / b48r": {
    BitsPerBlock = 48;
    BitsPerComponent = 16;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 02cadb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1647589490;
    }], ["32AlphaGray / b32a": {
    BitsPerBlock = 32;
    BitsPerComponent = 32;
    BlackBlock = <ffff0000>;
    ContainsAlpha = 1;
    ContainsGrayscale = 1;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1647522401;
    }], ["16Gray / b16g": {
    BitsPerBlock = 16;
    BitsPerComponent = 16;
    ContainsAlpha = 0;
    ContainsGrayscale = 1;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1647392359;
    }], ["30RGB / R10k": {
    BitsPerBlock = 32;
    BitsPerComponent = 10;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1378955371;
    }], ["444YpCbCr8 / v308": {
    BitsPerBlock = 24;
    BitsPerComponent = 8;
    BlackBlock = <801080>;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 57cedb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1983066168;
    }], ["422YpCbCr16 / v216": {
    BitsPerBlock = 64;
    BitsPerComponent = 16;
    BlackBlock = <00800010 00800010>;
    BlockWidth = 2;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 48e8db41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 2;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 1983000886;
    }], ["422YpCbCr10 / v210": {
    BitsPerBlock = 128;
    BitsPerComponent = 10;
    BlackBlock = <00020120 40000804 00020120 40000804>;
    BlockHorizontalAlignment = 8;
    BlockWidth = 6;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 f7e9db41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 2;
    PixelFormat = 1983000880;
    }], ["444YpCbCr10 / v410": {
    BitsPerBlock = 32;
    BitsPerComponent = 10;
    BlackBlock = <00080480>;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    OpenGLTextureCacheCompatibility = 1;
    PixelFormat = 1983131952;
    }], ["r4fl": {
    BitsPerBlock = 128;
    BitsPerComponent = 32;
    BlackBlock = <0000803f 00000000 8180003f 8180003f>;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 60c6db41 ff7f0000 00000000 00000000>;
    OpenGLTextureCacheCompatibility = 1;
    PixelFormat = 1916036716;
    }], ["14Bayer_GRBG / grb4": {
    BitsPerBlock = 16;
    BitsPerComponent = 8;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1735549492;
    }], ["14Bayer_RGGB / rgg4": {
    BitsPerBlock = 16;
    BitsPerComponent = 8;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1919379252;
    }], ["14Bayer_BGGR / bgg4": {
    BitsPerBlock = 16;
    BitsPerComponent = 8;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1650943796;
    }], ["14Bayer_GBRG / gbr4": {
    BitsPerBlock = 16;
    BitsPerComponent = 8;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1734505012;
    }], ["420YpCbCr8BiPlanarVideoRange / 420v": {
    BitsPerComponent = 8;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 68d8db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 875704438;
    Planes = (
    {
    BitsPerBlock = 8;
    BlackBlock = <10>;
    },
    {
    BitsPerBlock = 16;
    BlackBlock = <8080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["420YpCbCr8BiPlanarFullRange / 420f": {
    BitsPerComponent = 8;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 68d8db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 875704422;
    Planes = (
    {
    BitsPerBlock = 8;
    BlackBlock = <00>;
    },
    {
    BitsPerBlock = 16;
    BlackBlock = <8080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["411v": {
    BitsPerComponent = 8;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    PixelFormat = 875639158;
    Planes = (
    {
    BitsPerBlock = 8;
    BlackBlock = <10>;
    },
    {
    BitsPerBlock = 16;
    BlackBlock = <8080>;
    HorizontalSubsampling = 4;
    }
    );
    }], ["411f": {
    BitsPerComponent = 8;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    PixelFormat = 875639142;
    Planes = (
    {
    BitsPerBlock = 8;
    BlackBlock = <00>;
    },
    {
    BitsPerBlock = 16;
    BlackBlock = <8080>;
    HorizontalSubsampling = 4;
    }
    );
    }], ["422v": {
    BitsPerComponent = 8;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 7bd7db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 875704950;
    Planes = (
    {
    BitsPerBlock = 8;
    BlackBlock = <10>;
    },
    {
    BitsPerBlock = 16;
    BlackBlock = <8080>;
    HorizontalSubsampling = 2;
    }
    );
    }], ["422f": {
    BitsPerComponent = 8;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 7bd7db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 875704934;
    Planes = (
    {
    BitsPerBlock = 8;
    BlackBlock = <00>;
    },
    {
    BitsPerBlock = 16;
    BlackBlock = <8080>;
    HorizontalSubsampling = 2;
    }
    );
    }], ["444v": {
    BitsPerComponent = 8;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 97d6db41 ff7f0000 00000000 00000000>;
    PixelFormat = 875836534;
    Planes = (
    {
    BitsPerBlock = 8;
    BlackBlock = <10>;
    },
    {
    BitsPerBlock = 16;
    BlackBlock = <8080>;
    }
    );
    }], ["444f": {
    BitsPerComponent = 8;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 97d6db41 ff7f0000 00000000 00000000>;
    PixelFormat = 875836518;
    Planes = (
    {
    BitsPerBlock = 8;
    BlackBlock = <00>;
    },
    {
    BitsPerBlock = 16;
    BlackBlock = <8080>;
    }
    );
    }], ["420YpCbCr8Planar / y420": {
    BitsPerComponent = 8;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    PixelFormat = 2033463856;
    Planes = (
    {
    BitsPerBlock = 8;
    BlackBlock = <10>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 8;
    BlackBlock = <80>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    },
    {
    BitsPerBlock = 8;
    BlackBlock = <80>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["420YpCbCr8PlanarFullRange / f420": {
    BitsPerComponent = 8;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    PixelFormat = 1714696752;
    Planes = (
    {
    BitsPerBlock = 8;
    BlackBlock = <00>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 8;
    BlackBlock = <80>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    },
    {
    BitsPerBlock = 8;
    BlackBlock = <80>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["422YpCbCr_4A_8BiPlanar / a2vy": {
    BitsPerComponent = 8;
    ComponentRange = VideoRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    HorizontalSubsampling = 2;
    PixelFormat = 1630697081;
    Planes = (
    {
    BitsPerBlock = 32;
    BlackBlock = <80108010>;
    BlockWidth = 2;
    },
    {
    BitsPerBlock = 8;
    BlackBlock = <00000000 0000003c>;
    }
    );
    }], ["OneComponent16Half / L00h": {
    BitsPerBlock = 16;
    BitsPerComponent = 16;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ContainsAlpha = 0;
    ContainsGrayscale = 1;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6403;
    OpenGLInternalFormat = 6403;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5131;
    PixelFormat = 1278226536;
    }], ["OneComponent32Float / L00f": {
    BitsPerBlock = 32;
    BitsPerComponent = 32;
    CGBitmapContextCompatibility = 1;
    CGBitmapInfo = 256;
    CGImageCompatibility = 1;
    ContainsAlpha = 0;
    ContainsGrayscale = 1;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6403;
    OpenGLInternalFormat = 6403;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5126;
    PixelFormat = 1278226534;
    }], ["TwoComponent16Half / 2C0h": {
    BitsPerBlock = 32;
    BitsPerComponent = 16;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    OpenGLCompatibility = 1;
    OpenGLFormat = 33319;
    OpenGLInternalFormat = 33319;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5131;
    PixelFormat = 843264104;
    }], ["TwoComponent32Float / 2C0f": {
    BitsPerBlock = 64;
    BitsPerComponent = 32;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 56c8db41 ff7f0000 00000000 00000000>;
    OpenGLCompatibility = 1;
    OpenGLFormat = 33319;
    OpenGLInternalFormat = 33319;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5126;
    PixelFormat = 843264102;
    }], ["64RGBAHalf / RGhA": {
    BitsPerBlock = 64;
    BitsPerComponent = 16;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 56c8db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6408;
    OpenGLInternalFormat = 6408;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5131;
    PixelFormat = 1380411457;
    }], ["rg3h": {
    BitsPerComponent = 16;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    PixelFormat = 1919365992;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <00000000 00000000 00000000 0000803f>;
    },
    {
    BitsPerBlock = 16;
    BlackBlock = <00000000 00000000 00000000 0000803f>;
    },
    {
    BitsPerBlock = 16;
    BlackBlock = <00000000 00000000 00000000 0000803f>;
    }
    );
    }], ["128RGBAFloat / RGfA": {
    BitsPerBlock = 128;
    CGBitmapContextCompatibility = 1;
    CGBitmapInfo = 8451;
    CGImageCompatibility = 1;
    ComponentRange = FullRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 60c6db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6408;
    OpenGLInternalFormat = 6408;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5126;
    PixelFormat = 1380410945;
    }], ["rg3f": {
    BitsPerComponent = 32;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    PixelFormat = 1919365990;
    Planes = (
    {
    BitsPerBlock = 32;
    },
    {
    BitsPerBlock = 32;
    },
    {
    BitsPerBlock = 32;
    }
    );
    }], ["ARGB2101010LEPacked / l10r": {
    BitsPerBlock = 32;
    BitsPerComponent = 10;
    BlackBlock = <000000c0>;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 32993;
    OpenGLInternalFormat = 32857;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 33640;
    PixelFormat = 1815162994;
    }], ["30RGBLEPackedWideGamut / w30r": {
    BitsPerBlock = 32;
    BitsPerComponent = 10;
    BlackBlock = <80010618>;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 32993;
    OpenGLInternalFormat = 32857;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 33640;
    PixelFormat = 1999843442;
    }], ["w40a": {
    BitsPerBlock = 64;
    BitsPerComponent = 10;
    BlackBlock = <00000000 00000060>;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1999908961;
    }], ["w40m": {
    BitsPerBlock = 64;
    BitsPerComponent = 10;
    BlackBlock = <00000000 00000060>;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1999908973;
    }], ["420YpCbCr10BiPlanarVideoRange / x420": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 32dbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 2016686640;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <0010>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["422YpCbCr10BiPlanarVideoRange / x422": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 45dadb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 2016686642;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <0010>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["444YpCbCr10BiPlanarVideoRange / x444": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 61d9db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 2016687156;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <0010>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["x44p": {
    BitsPerBlock = 32;
    BitsPerComponent = 10;
    BlackBlock = <00020804>;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    OpenGLTextureCacheCompatibility = 1;
    PixelFormat = 2016687216;
    }], ["xw20": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 32dbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 2021077552;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <8001>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["xw22": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 45dadb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 2021077554;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <8001>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["xw44": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 61d9db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 2021078068;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <8001>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["xw4p": {
    BitsPerBlock = 32;
    BitsPerComponent = 10;
    BlackBlock = <00020818>;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    OpenGLTextureCacheCompatibility = 1;
    PixelFormat = 2021078128;
    }], ["420YpCbCr10BiPlanarFullRange / xf20": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 32dbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 2019963440;
    Planes = (
    {
    BitsPerBlock = 16;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["422YpCbCr10BiPlanarFullRange / xf22": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 45dadb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 2019963442;
    Planes = (
    {
    BitsPerBlock = 16;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["444YpCbCr10BiPlanarFullRange / xf44": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 61d9db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 2019963956;
    Planes = (
    {
    BitsPerBlock = 16;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["xf4p": {
    BitsPerBlock = 32;
    BitsPerComponent = 10;
    BlackBlock = <00020800>;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    OpenGLTextureCacheCompatibility = 1;
    PixelFormat = 2019964016;
    }], ["x22p": {
    BitsPerBlock = 64;
    BitsPerComponent = 10;
    BlackBlock = <00024000 00024000>;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 a1e6db41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 2;
    PixelFormat = 2016555632;
    }], ["xf2p": {
    BitsPerBlock = 64;
    BitsPerComponent = 10;
    BlackBlock = <00020000 00020000>;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 2;
    PixelFormat = 2019963504;
    }], ["p420": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 4adfdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1882468912;
    Planes = (
    {
    BitsPerBlock = 32;
    BlackBlock = <40000104>;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 64;
    BlackBlock = <00020820 00020820>;
    BlockWidth = 3;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["p422": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 b5dddb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1882468914;
    Planes = (
    {
    BitsPerBlock = 32;
    BlackBlock = <40000104>;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 64;
    BlackBlock = <00020820 00020820>;
    BlockWidth = 3;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["p444": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 2bdcdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1882469428;
    Planes = (
    {
    BitsPerBlock = 32;
    BlackBlock = <40000104>;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 64;
    BlackBlock = <00020820 00020820>;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["pf20": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 4adfdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1885745712;
    Planes = (
    {
    BitsPerBlock = 32;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 64;
    BlockWidth = 3;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["pf22": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 b5dddb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1885745714;
    Planes = (
    {
    BitsPerBlock = 32;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 64;
    BlockWidth = 3;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["pf44": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 2bdcdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1885746228;
    Planes = (
    {
    BitsPerBlock = 32;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 64;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["pw20": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 4adfdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886859824;
    Planes = (
    {
    BitsPerBlock = 32;
    BlackBlock = <80010618>;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 64;
    BlockWidth = 3;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["pw22": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 b5dddb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886859826;
    Planes = (
    {
    BitsPerBlock = 32;
    BlackBlock = <80010618>;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 64;
    BlockWidth = 3;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["pw44": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 2bdcdb41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886860340;
    Planes = (
    {
    BitsPerBlock = 32;
    BlackBlock = <80010618>;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 64;
    BlockWidth = 3;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["b3a8": {
    BitsPerComponent = 10;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 bde5db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1647534392;
    Planes = (
    {
    BitsPerBlock = 32;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 8;
    BlackBlock = <ff>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["bgp0": {
    BitsPerBlock = 160;
    BitsPerComponent = 10;
    BlockWidth = 16;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    PixelFormat = 1650946096;
    }], ["grp0": {
    BitsPerBlock = 160;
    BitsPerComponent = 10;
    BlockWidth = 16;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    PixelFormat = 1735553072;
    }], ["rgp0": {
    BitsPerBlock = 160;
    BitsPerComponent = 10;
    BlockWidth = 16;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    PixelFormat = 1919381552;
    }], ["gbp0": {
    BitsPerBlock = 160;
    BitsPerComponent = 10;
    BlockWidth = 16;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    PixelFormat = 1734504496;
    }], ["bgp2": {
    BitsPerBlock = 96;
    BitsPerComponent = 12;
    BlockWidth = 8;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    PixelFormat = 1650946098;
    }], ["bgp4": {
    BitsPerBlock = 224;
    BitsPerComponent = 14;
    BlockWidth = 16;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    PixelFormat = 1650946100;
    }], ["===1": {
    BitsPerBlock = 64;
    BlackBlock = <000020ff 000020ff>;
    BlockWidth = 2;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 78f3db41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 2;
    PixelFormat = 1027423537;
    }], ["===2": {
    BitsPerBlock = 64;
    BlackBlock = <00000080 00800000>;
    BlockWidth = 1;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 56c8db41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 1;
    PixelFormat = 1027423538;
    }], ["===3": {
    BitsPerBlock = 64;
    BlackBlock = <00000080 00000080>;
    BlockWidth = 2;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 31f5db41 ff7f0000 00000000 00000000>;
    HorizontalSubsampling = 2;
    PixelFormat = 1027423539;
    }], ["l64r": {
    BitsPerBlock = 64;
    BitsPerComponent = 16;
    BlackBlock = <00000000 0000ffff>;
    ContainsAlpha = 1;
    ContainsGrayscale = 0;
    ContainsRGB = 1;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 56c8db41 ff7f0000 00000000 00000000>;
    OpenGLCompatibility = 1;
    OpenGLFormat = 36249;
    OpenGLInternalFormat = 36214;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5123;
    PixelFormat = 1815491698;
    }], ["tv20": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 32dbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 1953903152;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <0010>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["tv22": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 45dadb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 1953903154;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <0010>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["tv44": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 61d9db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 1953903668;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <0010>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["tf20": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 32dbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 1952854576;
    Planes = (
    {
    BitsPerBlock = 16;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["tf22": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 45dadb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 1952854578;
    Planes = (
    {
    BitsPerBlock = 16;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["tf44": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 61d9db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 1952855092;
    Planes = (
    {
    BitsPerBlock = 16;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["tw20": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 32dbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 1953968688;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <8001>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["tw22": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 45dadb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 1953968690;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <8001>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["tw44": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 61d9db41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 1;
    PixelFormat = 1953969204;
    Planes = (
    {
    BitsPerBlock = 16;
    BlackBlock = <8001>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 32;
    BlackBlock = <00800080>;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["ptv0": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 19e4db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886680624;
    Planes = (
    {
    BitsPerBlock = 64;
    BlackBlock = <00011000 01100001>;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 128;
    BlackBlock = <00088000 08800008 00088000 08800008>;
    BlockWidth = 5;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["ptv2": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 7ce2db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886680626;
    Planes = (
    {
    BitsPerBlock = 64;
    BlackBlock = <00011000 01100001>;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 128;
    BlackBlock = <00088000 08800008 00088000 08800008>;
    BlockWidth = 5;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["ptv4": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = VideoRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 e8e0db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886680628;
    Planes = (
    {
    BitsPerBlock = 64;
    BlackBlock = <00011000 01100001>;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 128;
    BlackBlock = <00088000 08800008 00088000 08800008>;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["ptf0": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 19e4db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886676528;
    Planes = (
    {
    BitsPerBlock = 64;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 128;
    BlockWidth = 5;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["ptf2": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 7ce2db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886676530;
    Planes = (
    {
    BitsPerBlock = 64;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 128;
    BlockWidth = 5;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["ptf4": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 e8e0db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886676532;
    Planes = (
    {
    BitsPerBlock = 64;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 128;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["ptw0": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 19e4db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886680880;
    Planes = (
    {
    BitsPerBlock = 64;
    BlackBlock = <00066000 06600006>;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 128;
    BlockWidth = 5;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 2;
    }
    );
    }], ["ptw2": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 7ce2db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886680882;
    Planes = (
    {
    BitsPerBlock = 64;
    BlackBlock = <00066000 06600006>;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 128;
    BlockWidth = 5;
    HorizontalSubsampling = 2;
    VerticalSubsampling = 1;
    }
    );
    }], ["ptw4": {
    BitsPerComponent = 12;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = WideRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 1;
    FillExtendedPixelsCallback = <00000000 00000000 e8e0db41 ff7f0000 00000000 00000000>;
    PixelFormat = 1886680884;
    Planes = (
    {
    BitsPerBlock = 64;
    BlackBlock = <00066000 06600006>;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    },
    {
    BitsPerBlock = 128;
    BlockWidth = 5;
    HorizontalSubsampling = 1;
    VerticalSubsampling = 1;
    }
    );
    }], ["13.3": {
    BitsPerBlock = 16;
    BitsPerComponent = 16;
    CGBitmapContextCompatibility = 0;
    CGBitmapInfo = 0;
    CGImageCompatibility = 0;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    IOSurfaceOpenGLTextureCompatibility = 0;
    OpenGLCompatibility = 0;
    OpenGLTextureCacheCompatibility = 0;
    PixelFormat = 825437747;
    }], ["11.5": {
    BitsPerBlock = 16;
    BitsPerComponent = 16;
    CGBitmapContextCompatibility = 0;
    CGBitmapInfo = 0;
    CGImageCompatibility = 0;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    IOSurfaceOpenGLTextureCompatibility = 0;
    OpenGLCompatibility = 0;
    OpenGLTextureCacheCompatibility = 0;
    PixelFormat = 825306677;
    }], ["s7.5": {
    BitsPerBlock = 16;
    BitsPerComponent = 16;
    CGBitmapContextCompatibility = 0;
    CGBitmapInfo = 0;
    CGImageCompatibility = 0;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    IOSurfaceOpenGLTextureCompatibility = 0;
    OpenGLCompatibility = 0;
    OpenGLTextureCacheCompatibility = 0;
    PixelFormat = 1932996149;
    }], ["DisparityFloat16 / hdis": {
    BitsPerBlock = 16;
    BitsPerComponent = 16;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 0;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6403;
    OpenGLInternalFormat = 6403;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5131;
    PixelFormat = 1751411059;
    }], ["DepthFloat16 / hdep": {
    BitsPerBlock = 16;
    BitsPerComponent = 16;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 e8cfdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 0;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6403;
    OpenGLInternalFormat = 6403;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5131;
    PixelFormat = 1751410032;
    }], ["DisparityFloat32 / fdis": {
    BitsPerBlock = 32;
    BitsPerComponent = 32;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 0;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6403;
    OpenGLInternalFormat = 6403;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5126;
    PixelFormat = 1717856627;
    }], ["DepthFloat32 / fdep": {
    BitsPerBlock = 32;
    BitsPerComponent = 32;
    CGBitmapContextCompatibility = 0;
    CGImageCompatibility = 0;
    ComponentRange = FullRange;
    ContainsAlpha = 0;
    ContainsGrayscale = 0;
    ContainsRGB = 0;
    ContainsYCbCr = 0;
    FillExtendedPixelsCallback = <00000000 00000000 a4cbdb41 ff7f0000 00000000 00000000>;
    IOSurfaceCoreAnimationCompatibility = 0;
    IOSurfaceOpenGLTextureCompatibility = 1;
    OpenGLCompatibility = 1;
    OpenGLFormat = 6403;
    OpenGLInternalFormat = 6403;
    OpenGLTextureCacheCompatibility = 1;
    OpenGLType = 5126;
    PixelFormat = 1717855600;
    }]]
    161 changes: 161 additions & 0 deletions CVPixelFormatDescriptionGenerator.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,161 @@
    import Cocoa
    import CoreVideo

    extension FourCharCode {
    public var string: String? {
    let cString: [CChar] = [
    CChar(self >> 24 & 0xFF),
    CChar(self >> 16 & 0xFF),
    CChar(self >> 8 & 0xFF),
    CChar(self & 0xFF),
    0,
    ]
    return String(cString: cString)
    }
    }

    extension OSType {
    var pixelFormatDescription: String? {
    switch self {
    case kCVPixelFormatType_1Monochrome:
    return "1Monochrome"
    case kCVPixelFormatType_2Indexed:
    return "2Indexed"
    case kCVPixelFormatType_4Indexed:
    return "4Indexed"
    case kCVPixelFormatType_8Indexed:
    return "8Indexed"
    case kCVPixelFormatType_1IndexedGray_WhiteIsZero:
    return "1IndexedGray_WhiteIsZero"
    case kCVPixelFormatType_2IndexedGray_WhiteIsZero:
    return "2IndexedGray_WhiteIsZero"
    case kCVPixelFormatType_4IndexedGray_WhiteIsZero:
    return "4IndexedGray_WhiteIsZero"
    case kCVPixelFormatType_8IndexedGray_WhiteIsZero:
    return "8IndexedGray_WhiteIsZero"
    case kCVPixelFormatType_16BE555:
    return "16BE555"
    case kCVPixelFormatType_16LE555:
    return "16LE555"
    case kCVPixelFormatType_16LE5551:
    return "16LE5551"
    case kCVPixelFormatType_16BE565:
    return "16BE565"
    case kCVPixelFormatType_16LE565:
    return "16LE565"
    case kCVPixelFormatType_24RGB:
    return "24RGB"
    case kCVPixelFormatType_24BGR:
    return "24BGR"
    case kCVPixelFormatType_32ARGB:
    return "32ARGB"
    case kCVPixelFormatType_32BGRA:
    return "32BGRA"
    case kCVPixelFormatType_32ABGR:
    return "32ABGR"
    case kCVPixelFormatType_32RGBA:
    return "32RGBA"
    case kCVPixelFormatType_64ARGB:
    return "64ARGB"
    case kCVPixelFormatType_48RGB:
    return "48RGB"
    case kCVPixelFormatType_32AlphaGray:
    return "32AlphaGray"
    case kCVPixelFormatType_16Gray:
    return "16Gray"
    case kCVPixelFormatType_30RGB:
    return "30RGB"
    case kCVPixelFormatType_422YpCbCr8:
    return "422YpCbCr8"
    case kCVPixelFormatType_4444YpCbCrA8:
    return "4444YpCbCrA8"
    case kCVPixelFormatType_4444YpCbCrA8R:
    return "4444YpCbCrA8R"
    case kCVPixelFormatType_4444AYpCbCr8:
    return "4444AYpCbCr8"
    case kCVPixelFormatType_4444AYpCbCr16:
    return "4444AYpCbCr16"
    case kCVPixelFormatType_444YpCbCr8:
    return "444YpCbCr8"
    case kCVPixelFormatType_422YpCbCr16:
    return "422YpCbCr16"
    case kCVPixelFormatType_422YpCbCr10:
    return "422YpCbCr10"
    case kCVPixelFormatType_444YpCbCr10:
    return "444YpCbCr10"
    case kCVPixelFormatType_420YpCbCr8Planar:
    return "420YpCbCr8Planar"
    case kCVPixelFormatType_420YpCbCr8PlanarFullRange:
    return "420YpCbCr8PlanarFullRange"
    case kCVPixelFormatType_422YpCbCr_4A_8BiPlanar:
    return "422YpCbCr_4A_8BiPlanar"
    case kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange:
    return "420YpCbCr8BiPlanarVideoRange"
    case kCVPixelFormatType_420YpCbCr8BiPlanarFullRange:
    return "420YpCbCr8BiPlanarFullRange"
    case kCVPixelFormatType_422YpCbCr8_yuvs:
    return "422YpCbCr8_yuvs"
    case kCVPixelFormatType_422YpCbCr8FullRange:
    return "422YpCbCr8FullRange"
    case kCVPixelFormatType_OneComponent8:
    return "OneComponent8"
    case kCVPixelFormatType_TwoComponent8:
    return "TwoComponent8"
    case kCVPixelFormatType_30RGBLEPackedWideGamut:
    return "30RGBLEPackedWideGamut"
    case kCVPixelFormatType_ARGB2101010LEPacked:
    return "ARGB2101010LEPacked"
    case kCVPixelFormatType_OneComponent16Half:
    return "OneComponent16Half"
    case kCVPixelFormatType_OneComponent32Float:
    return "OneComponent32Float"
    case kCVPixelFormatType_TwoComponent16Half:
    return "TwoComponent16Half"
    case kCVPixelFormatType_TwoComponent32Float:
    return "TwoComponent32Float"
    case kCVPixelFormatType_64RGBAHalf:
    return "64RGBAHalf"
    case kCVPixelFormatType_128RGBAFloat:
    return "128RGBAFloat"
    case kCVPixelFormatType_14Bayer_GRBG:
    return "14Bayer_GRBG"
    case kCVPixelFormatType_14Bayer_RGGB:
    return "14Bayer_RGGB"
    case kCVPixelFormatType_14Bayer_BGGR:
    return "14Bayer_BGGR"
    case kCVPixelFormatType_14Bayer_GBRG:
    return "14Bayer_GBRG"
    case kCVPixelFormatType_DisparityFloat16:
    return "DisparityFloat16"
    case kCVPixelFormatType_DisparityFloat32:
    return "DisparityFloat32"
    case kCVPixelFormatType_DepthFloat16:
    return "DepthFloat16"
    case kCVPixelFormatType_DepthFloat32:
    return "DepthFloat32"
    case kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange:
    return "420YpCbCr10BiPlanarVideoRange"
    case kCVPixelFormatType_422YpCbCr10BiPlanarVideoRange:
    return "422YpCbCr10BiPlanarVideoRange"
    case kCVPixelFormatType_444YpCbCr10BiPlanarVideoRange:
    return "444YpCbCr10BiPlanarVideoRange"
    case kCVPixelFormatType_420YpCbCr10BiPlanarFullRange:
    return "420YpCbCr10BiPlanarFullRange"
    case kCVPixelFormatType_422YpCbCr10BiPlanarFullRange:
    return "422YpCbCr10BiPlanarFullRange"
    case kCVPixelFormatType_444YpCbCr10BiPlanarFullRange:
    return "444YpCbCr10BiPlanarFullRange"
    default:
    return nil
    }
    }
    }

    let array = CVPixelFormatDescriptionArrayCreateWithAllPixelFormatTypes(nil) as! [OSType]

    let result = array.compactMap { pixelFormat -> [String: NSDictionary]? in
    let dict = CVPixelFormatDescriptionCreateWithPixelFormatType(nil, pixelFormat) as! NSDictionary
    return [pixelFormat.pixelFormatDescription == nil ? pixelFormat.string! : "\(pixelFormat.pixelFormatDescription!) / \(pixelFormat.string!.count == 0 ? String(pixelFormat) : pixelFormat.string!)": dict]
    }

    print(result)