Source

pyobjc / pyobjc-framework-Quartz / Lib / Quartz / CoreVideo / _metadata.py

Full commit
# Generated file, don't edit
# Source: BridgeSupport/CoreVideo.bridgesupport
# Last update: Thu Jul 21 17:06:23 2011

import objc, sys

if sys.maxint > 2 ** 32:
    def sel32or64(a, b): return b
else:
    def sel32or64(a, b): return a
if sys.byteorder == 'little':
    def littleOrBig(a, b): return a
else:
    def littleOrBig(a, b): return b

misc = {
    "CVFillExtendedPixelsCallBackData": objc.createStructType('CVFillExtendedPixelsCallBackData', sel32or64(b'{_CVFillExtendedPixelsCallBackData="version"i"fillCallBack"^?"refCon"^v}', b'{_CVFillExtendedPixelsCallBackData="version"q"fillCallBack"^?"refCon"^v}'), None),
    "CVPlanarComponentInfo": objc.createStructType('CVPlanarComponentInfo', b'{CVPlanarComponentInfo="offset"i"rowBytes"I}', None),
    "CVPlanarPixelBufferInfo": objc.createStructType('CVPlanarPixelBufferInfo', b'{CVPlanarPixelBufferInfo="componentInfo"[1{CVPlanarComponentInfo="offset"i"rowBytes"I}]}', None),
    "CVPlanarPixelBufferInfo_YCbCrPlanar": objc.createStructType('CVPlanarPixelBufferInfo_YCbCrPlanar', b'{CVPlanarPixelBufferInfo_YCbCrPlanar="componentInfoY"{CVPlanarComponentInfo="offset"i"rowBytes"I}"componentInfoCb"{CVPlanarComponentInfo="offset"i"rowBytes"I}"componentInfoCr"{CVPlanarComponentInfo="offset"i"rowBytes"I}}', None),
    "CVSMPTETime": objc.createStructType('CVSMPTETime', b'{CVSMPTETime="subframes"s"subframeDivisor"s"counter"I"type"I"flags"I"hours"s"minutes"s"seconds"s"frames"s}', None),
    "CVTime": objc.createStructType('CVTime', b'{_CVTime="timeValue"q"timeScale"i"flags"i}', None),
    "CVTimeStamp": objc.createStructType('CVTimeStamp', b'{_CVTimeStamp="version"I"videoTimeScale"i"videoTime"q"hostTime"Q"rateScalar"d"videoRefreshPeriod"q"smpteTime"{CVSMPTETime="subframes"s"subframeDivisor"s"counter"I"type"I"flags"I"hours"s"minutes"s"seconds"s"frames"s}"flags"Q"reserved"Q}', None),
}
constants = '''$kCVPixelFormatBlackBlock@^{__CFString=}$kCVBufferMovieTimeKey@^{__CFString=}$kCVBufferNonPropagatedAttachmentsKey@^{__CFString=}$kCVBufferPropagatedAttachmentsKey@^{__CFString=}$kCVBufferTimeScaleKey@^{__CFString=}$kCVBufferTimeValueKey@^{__CFString=}$kCVImageBufferCGColorSpaceKey@^{__CFString=}$kCVImageBufferChromaLocationBottomFieldKey@^{__CFString=}$kCVImageBufferChromaLocationTopFieldKey@^{__CFString=}$kCVImageBufferChromaLocation_Bottom@^{__CFString=}$kCVImageBufferChromaLocation_BottomLeft@^{__CFString=}$kCVImageBufferChromaLocation_Center@^{__CFString=}$kCVImageBufferChromaLocation_DV420@^{__CFString=}$kCVImageBufferChromaLocation_Left@^{__CFString=}$kCVImageBufferChromaLocation_Top@^{__CFString=}$kCVImageBufferChromaLocation_TopLeft@^{__CFString=}$kCVImageBufferChromaSubsamplingKey@^{__CFString=}$kCVImageBufferChromaSubsampling_411@^{__CFString=}$kCVImageBufferChromaSubsampling_420@^{__CFString=}$kCVImageBufferChromaSubsampling_422@^{__CFString=}$kCVImageBufferCleanApertureHeightKey@^{__CFString=}$kCVImageBufferCleanApertureHorizontalOffsetKey@^{__CFString=}$kCVImageBufferCleanApertureKey@^{__CFString=}$kCVImageBufferCleanApertureVerticalOffsetKey@^{__CFString=}$kCVImageBufferCleanApertureWidthKey@^{__CFString=}$kCVImageBufferColorPrimariesKey@^{__CFString=}$kCVImageBufferColorPrimaries_EBU_3213@^{__CFString=}$kCVImageBufferColorPrimaries_ITU_R_709_2@^{__CFString=}$kCVImageBufferColorPrimaries_SMPTE_C@^{__CFString=}$kCVImageBufferDisplayDimensionsKey@^{__CFString=}$kCVImageBufferDisplayHeightKey@^{__CFString=}$kCVImageBufferDisplayWidthKey@^{__CFString=}$kCVImageBufferFieldCountKey@^{__CFString=}$kCVImageBufferFieldDetailKey@^{__CFString=}$kCVImageBufferFieldDetailSpatialFirstLineEarly@^{__CFString=}$kCVImageBufferFieldDetailSpatialFirstLineLate@^{__CFString=}$kCVImageBufferFieldDetailTemporalBottomFirst@^{__CFString=}$kCVImageBufferFieldDetailTemporalTopFirst@^{__CFString=}$kCVImageBufferGammaLevelKey@^{__CFString=}$kCVImageBufferPixelAspectRatioHorizontalSpacingKey@^{__CFString=}$kCVImageBufferPixelAspectRatioKey@^{__CFString=}$kCVImageBufferPixelAspectRatioVerticalSpacingKey@^{__CFString=}$kCVImageBufferPreferredCleanApertureKey@^{__CFString=}$kCVImageBufferTransferFunctionKey@^{__CFString=}$kCVImageBufferTransferFunction_EBU_3213@^{__CFString=}$kCVImageBufferTransferFunction_ITU_R_709_2@^{__CFString=}$kCVImageBufferTransferFunction_SMPTE_C@^{__CFString=}$kCVImageBufferYCbCrMatrixKey@^{__CFString=}$kCVImageBufferYCbCrMatrix_ITU_R_601_4@^{__CFString=}$kCVImageBufferYCbCrMatrix_ITU_R_709_2@^{__CFString=}$kCVImageBufferYCbCrMatrix_SMPTE_240M_1995@^{__CFString=}$kCVIndefiniteTime@{_CVTime=qii}$kCVOpenGLBufferHeight@^{__CFString=}$kCVOpenGLBufferInternalFormat@^{__CFString=}$kCVOpenGLBufferMaximumMipmapLevel@^{__CFString=}$kCVOpenGLBufferPoolMaximumBufferAgeKey@^{__CFString=}$kCVOpenGLBufferPoolMinimumBufferCountKey@^{__CFString=}$kCVOpenGLBufferTarget@^{__CFString=}$kCVOpenGLBufferWidth@^{__CFString=}$kCVOpenGLTextureCacheChromaSamplingModeAutomatic@^{__CFString=}$kCVOpenGLTextureCacheChromaSamplingModeBestPerformance@^{__CFString=}$kCVOpenGLTextureCacheChromaSamplingModeHighestQuality@^{__CFString=}$kCVOpenGLTextureCacheChromaSamplingModeKey@^{__CFString=}$kCVPixelBufferBytesPerRowAlignmentKey@^{__CFString=}$kCVPixelBufferCGBitmapContextCompatibilityKey@^{__CFString=}$kCVPixelBufferCGImageCompatibilityKey@^{__CFString=}$kCVPixelBufferExtendedPixelsBottomKey@^{__CFString=}$kCVPixelBufferExtendedPixelsLeftKey@^{__CFString=}$kCVPixelBufferExtendedPixelsRightKey@^{__CFString=}$kCVPixelBufferExtendedPixelsTopKey@^{__CFString=}$kCVPixelBufferHeightKey@^{__CFString=}$kCVPixelBufferMemoryAllocatorKey@^{__CFString=}$kCVPixelBufferOpenGLCompatibilityKey@^{__CFString=}$kCVPixelBufferPixelFormatTypeKey@^{__CFString=}$kCVPixelBufferPoolMaximumBufferAgeKey@^{__CFString=}$kCVPixelBufferPoolMinimumBufferCountKey@^{__CFString=}$kCVPixelBufferWidthKey@^{__CFString=}$kCVPixelFormatBitsPerBlock@^{__CFString=}$kCVPixelFormatBlockHeight@^{__CFString=}$kCVPixelFormatBlockHorizontalAlignment@^{__CFString=}$kCVPixelFormatBlockVerticalAlignment@^{__CFString=}$kCVPixelFormatBlockWidth@^{__CFString=}$kCVPixelFormatCGBitmapContextCompatibility@^{__CFString=}$kCVPixelFormatCGBitmapInfo@^{__CFString=}$kCVPixelFormatCGImageCompatibility@^{__CFString=}$kCVPixelFormatCodecType@^{__CFString=}$kCVPixelFormatConstant@^{__CFString=}$kCVPixelFormatFillExtendedPixelsCallback@^{__CFString=}$kCVPixelFormatFourCC@^{__CFString=}$kCVPixelFormatHorizontalSubsampling@^{__CFString=}$kCVPixelFormatName@^{__CFString=}$kCVPixelFormatOpenGLCompatibility@^{__CFString=}$kCVPixelFormatOpenGLFormat@^{__CFString=}$kCVPixelFormatOpenGLInternalFormat@^{__CFString=}$kCVPixelFormatOpenGLType@^{__CFString=}$kCVPixelFormatPlanes@^{__CFString=}$kCVPixelFormatQDCompatibility@^{__CFString=}$kCVPixelFormatVerticalSubsampling@^{__CFString=}$kCVPixelBufferPlaneAlignmentKey@^{__CFString=}$kCVPixelBufferIOSurfacePropertiesKey@^{__CFString=}$kCVPixelBufferIOSurfaceOpenGLTextureCompatibilityKey@^{__CFString=}$kCVPixelBufferIOSurfaceOpenGLFBOCompatibilityKey@^{__CFString=}$kCVPixelBufferIOSurfaceCoreAnimationCompatibilityKey@^{__CFString=}$kCVZeroTime@{_CVTime=qii}$'''
enums = '''$kCVPixelBufferLock_ReadOnly@1$kCVAttachmentMode_ShouldNotPropagate@0$kCVAttachmentMode_ShouldPropagate@1$kCVPixelFormatType_16BE555@16$kCVPixelFormatType_16BE565@1110783541$kCVPixelFormatType_16Gray@1647392359$kCVPixelFormatType_16LE555@1278555445$kCVPixelFormatType_16LE5551@892679473$kCVPixelFormatType_16LE565@1278555701$kCVPixelFormatType_1IndexedGray_WhiteIsZero@33$kCVPixelFormatType_1Monochrome@1$kCVPixelFormatType_24BGR@842285639$kCVPixelFormatType_24RGB@24$kCVPixelFormatType_2Indexed@2$kCVPixelFormatType_2IndexedGray_WhiteIsZero@34$kCVPixelFormatType_32ABGR@1094862674$kCVPixelFormatType_32ARGB@32$kCVPixelFormatType_32AlphaGray@1647522401$kCVPixelFormatType_32BGRA@1111970369$kCVPixelFormatType_32RGBA@1380401729$kCVPixelFormatType_420YpCbCr8Planar@2033463856$kCVPixelFormatType_422YpCbCr10@1983000880$kCVPixelFormatType_422YpCbCr16@1983000886$kCVPixelFormatType_422YpCbCr8@846624121$kCVPixelFormatType_4444YpCbCrA8@1983131704$kCVPixelFormatType_4444YpCbCrA8R@1916022840$kCVPixelFormatType_444YpCbCr10@1983131952$kCVPixelFormatType_444YpCbCr8@1983066168$kCVPixelFormatType_48RGB@1647589490$kCVPixelFormatType_4Indexed@4$kCVPixelFormatType_4IndexedGray_WhiteIsZero@36$kCVPixelFormatType_64ARGB@1647719521$kCVPixelFormatType_8Indexed@8$kCVPixelFormatType_8IndexedGray_WhiteIsZero@40$kCVReturnAllocationFailed@-6662$kCVReturnDisplayLinkAlreadyRunning@-6671$kCVReturnDisplayLinkCallbacksNotSet@-6673$kCVReturnDisplayLinkNotRunning@-6672$kCVReturnError@-6660$kCVReturnFirst@-6660$kCVReturnInvalidArgument@-6661$kCVReturnInvalidDisplay@-6670$kCVReturnInvalidPixelBufferAttributes@-6682$kCVReturnInvalidPixelFormat@-6680$kCVReturnInvalidPoolAttributes@-6691$kCVReturnInvalidSize@-6681$kCVReturnLast@-6699$kCVReturnPixelBufferNotOpenGLCompatible@-6683$kCVReturnPoolAllocationFailed@-6690$kCVReturnSuccess@0$kCVSMPTETimeRunning@2$kCVSMPTETimeType24@0$kCVSMPTETimeType25@1$kCVSMPTETimeType2997@4$kCVSMPTETimeType2997Drop@5$kCVSMPTETimeType30@3$kCVSMPTETimeType30Drop@2$kCVSMPTETimeType5994@7$kCVSMPTETimeType60@6$kCVSMPTETimeValid@1$kCVTimeIsIndefinite@1$kCVTimeStampBottomField@131072$kCVTimeStampHostTimeValid@2$kCVTimeStampIsInterlaced@196608$kCVTimeStampRateScalarValid@16$kCVTimeStampSMPTETimeValid@4$kCVTimeStampTopField@65536$kCVTimeStampVideoHostTimeValid@3$kCVTimeStampVideoRefreshPeriodValid@8$kCVTimeStampVideoTimeValid@1$'''
misc.update({})
functions = {'CVImageBufferGetEncodedSize': (sel32or64('{CGSize=ff}@', '{CGSize=dd}@'),), 'CVOpenGLTextureRelease': ('v@',), 'CVPixelBufferPoolRelease': ('v^{__CVPixelBufferPool=}',), 'CVPixelBufferPoolGetTypeID': (sel32or64('L', 'Q'),), 'CVPixelBufferCreate': ('i^{__CFAllocator=}LLL^{__CFDictionary=}^@', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'L'}, 2: {'type': b'L'}, 3: {'type': b'L'}, 4: {'type': b'^{__CFDictionary=}'}, 5: {'type': b'^@', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVOpenGLBufferPoolGetTypeID': (sel32or64('L', 'Q'),), 'CVPixelBufferFillExtendedPixels': ('i@',), 'CVOpenGLTextureCacheRetain': ('^{__CVOpenGLTextureCache=}^{__CVOpenGLTextureCache=}',), 'CVOpenGLBufferPoolCreateOpenGLBuffer': ('i^{__CFAllocator=}^{__CVOpenGLBufferPool=}^@', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^{__CVOpenGLBufferPool=}'}, 2: {'type': b'^@', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVDisplayLinkSetCurrentCGDisplay': ('i^{__CVDisplayLink=}I',), 'CVBufferSetAttachment': ('v@^{__CFString=}@I',), 'CVGetCurrentHostTime': ('Q',), 'CVPixelBufferPoolCreate': ('i^{__CFAllocator=}^{__CFDictionary=}^{__CFDictionary=}^^{__CVPixelBufferPool}', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^{__CFDictionary=}'}, 2: {'type': b'^{__CFDictionary=}'}, 3: {'type': b'^^{__CVPixelBufferPool}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVPixelBufferGetHeightOfPlane': (sel32or64('L@L', 'Q@L'),), 'CVBufferRetain': ('@@',), 'CVDisplayLinkTranslateTime': ('i^{__CVDisplayLink=}^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}', '', {'arguments': {0: {'type': b'^{__CVDisplayLink=}'}, 1: {'type': b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}', 'type_modifier': b'n'}, 2: {'type': b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}', 'type_modifier': b'o'}}}), 'CVPixelBufferRetain': ('@@',), 'CVPixelBufferGetPlaneCount': (sel32or64('L@', 'Q@'),), 'CVOpenGLTextureCacheRelease': ('v^{__CVOpenGLTextureCache=}',), 'CVPixelBufferGetBaseAddress': ('^v@', '', {'retval': {'type': b'^v', 'c_array_of_variable_length': True}}), 'CVOpenGLBufferPoolRelease': ('v^{__CVOpenGLBufferPool=}',), 'CVOpenGLTextureCacheGetTypeID': (sel32or64('L', 'Q'),), 'CVPixelBufferLockBaseAddress': ('i@Q',), 'CVPixelFormatDescriptionRegisterDescriptionWithPixelFormatType': ('v^{__CFDictionary=}L',), 'CVOpenGLTextureIsFlipped': ('Z@',), 'CVPixelBufferGetTypeID': (sel32or64('L', 'Q'),), 'CVDisplayLinkGetActualOutputVideoRefreshPeriod': ('d^{__CVDisplayLink=}',), 'CVPixelBufferGetWidth': (sel32or64('L@', 'Q@'),), 'CVDisplayLinkCreateWithCGDisplay': ('iI^^{__CVDisplayLink}', '', {'arguments': {0: {'type': b'I'}, 1: {'type': b'^^{__CVDisplayLink}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVBufferRelease': ('v@',), 'CVDisplayLinkStart': ('i^{__CVDisplayLink=}',), 'CVDisplayLinkGetCurrentTime': ('i^{__CVDisplayLink=}^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}', '', {'arguments': {0: {'type': b'^{__CVDisplayLink=}'}, 1: {'type': b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}', 'type_modifier': b'o'}}}), 'CVPixelFormatDescriptionArrayCreateWithAllPixelFormatTypes': ('^{__CFArray=}^{__CFAllocator=}', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}}), 'CVPixelBufferPoolGetAttributes': ('^{__CFDictionary=}^{__CVPixelBufferPool=}',), 'CVBufferGetAttachments': ('^{__CFDictionary=}@I',), 'CVOpenGLBufferPoolCreate': ('i^{__CFAllocator=}^{__CFDictionary=}^{__CFDictionary=}^^{__CVOpenGLBufferPool}', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^{__CFDictionary=}'}, 2: {'type': b'^{__CFDictionary=}'}, 3: {'type': b'^^{__CVOpenGLBufferPool}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVDisplayLinkRetain': ('^{__CVDisplayLink=}^{__CVDisplayLink=}',), 'CVPixelBufferCreateWithIOSurface': ('i^{__CFAllocator=}^{__IOSurfaceRef=}^{__CFDictionary=}^@', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^{__IOSurfaceRef=}'}, 2: {'type': b'^{__CFDictionary=}'}, 3: {'type': b'^@', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVDisplayLinkCreateWithOpenGLDisplayMask': ('iI^^{__CVDisplayLink}', '', {'arguments': {0: {'type': b'I'}, 1: {'type': b'^^{__CVDisplayLink}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVOpenGLBufferCreate': ('i^{__CFAllocator=}LL^{__CFDictionary=}^@', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'L'}, 2: {'type': b'L'}, 3: {'type': b'^{__CFDictionary=}'}, 4: {'type': b'^@', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVOpenGLTextureCacheFlush': ('v^{__CVOpenGLTextureCache=}Q',), 'CVDisplayLinkCreateWithActiveCGDisplays': ('i^^{__CVDisplayLink}', '', {'arguments': {0: {'type': b'^^{__CVDisplayLink}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVDisplayLinkGetNominalOutputVideoRefreshPeriod': ('{_CVTime=qii}^{__CVDisplayLink=}',), 'CVPixelBufferCreateResolvedAttributesDictionary': ('i^{__CFAllocator=}^{__CFArray=}^^{__CFDictionary}', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^{__CFArray=}'}, 2: {'type': b'^^{__CFDictionary}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVDisplayLinkSetOutputCallback': ('i^{__CVDisplayLink=}^?^v', '', {'arguments': {0: {'type': b'^{__CVDisplayLink=}'}, 1: {'callable': {'retval': {'type': b'i'}, 'arguments': {0: {'type': b'@'}, 1: {'type': b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}', 'type_modifier': b'n'}, 2: {'type': b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}', 'type_modifier': b'N'}, 3: {'type': b'Q'}, 4: {'type': b'^Q', 'type_modifier': b'o'}, 5: {'type': b'^v'}}}, 'type': b'^?'}, 2: {'type': b'^v'}}}), 'CVOpenGLTextureGetName': ('I@',), 'CVOpenGLBufferRelease': ('v@',), 'CVOpenGLTextureRetain': ('@@',), 'CVPixelBufferIsPlanar': ('Z@',), 'CVPixelBufferGetWidthOfPlane': (sel32or64('L@L', 'Q@L'),), 'CVBufferPropagateAttachments': ('v@@',), 'CVPixelBufferPoolRetain': ('^{__CVPixelBufferPool=}^{__CVPixelBufferPool=}',), 'CVPixelBufferGetHeight': (sel32or64('L@', 'Q@'),), 'CVPixelBufferGetExtendedPixels': (sel32or64('v@^I^I^I^I', 'v@^L^L^L^L'), '', {'arguments': {0: {'type': b'@'}, 1: {'type': sel32or64(b'^I', b'^L'), 'type_modifier': b'o'}, 2: {'type': sel32or64(b'^I', b'^L'), 'type_modifier': b'o'}, 3: {'type': sel32or64(b'^I', b'^L'), 'type_modifier': b'o'}, 4: {'type': sel32or64(b'^I', b'^L'), 'type_modifier': b'o'}}}), 'CVOpenGLBufferGetTypeID': (sel32or64('L', 'Q'),), 'CVDisplayLinkRelease': ('v^{__CVDisplayLink=}',), 'CVBufferGetAttachment': ('@@^{__CFString=}^I', '', {'arguments': {0: {'type': b'@'}, 1: {'type': b'^{__CFString=}'}, 2: {'type': b'^I', 'type_modifier': b'o'}}}), 'CVDisplayLinkStop': ('i^{__CVDisplayLink=}',), 'CVPixelFormatDescriptionCreateWithPixelFormatType': ('^{__CFDictionary=}^{__CFAllocator=}L', '', {'retval': {'type': b'^{__CFDictionary=}', 'already_cfretained': True}}), 'CVPixelBufferGetIOSurface': ('^{__IOSurfaceRef=}^{__CVPixelBuffer=}',), 'CVOpenGLTextureCacheCreateTextureFromImage': ('i^{__CFAllocator=}^{__CVOpenGLTextureCache=}@^{__CFDictionary=}^@', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^{__CVOpenGLTextureCache=}'}, 2: {'type': b'@'}, 3: {'type': b'^{__CFDictionary=}'}, 4: {'type': b'^@', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVDisplayLinkCreateWithCGDisplays': ('i^Il^^{__CVDisplayLink}', '', {'arguments': {0: {'type': b'^I', 'type_modifier': b'n', 'c_array_length_in_arg': 1}, 1: {'type': b'l'}, 2: {'type': b'^^{__CVDisplayLink}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVPixelBufferPoolGetPixelBufferAttributes': ('^{__CFDictionary=}^{__CVPixelBufferPool=}',), 'CVOpenGLTextureGetTypeID': (sel32or64('L', 'Q'),), 'CVOpenGLBufferPoolGetAttributes': ('^{__CFDictionary=}^{__CVOpenGLBufferPool=}',), 'CVBufferRemoveAllAttachments': ('v@',), 'CVPixelBufferCreateWithBytes': ('i^{__CFAllocator=}LLL^vL^?^v^{__CFDictionary=}^@', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'L'}, 2: {'type': b'L'}, 3: {'type': b'L'}, 4: {'type': b'^v'}, 5: {'type': b'L'}, 6: {'type': b'^?'}, 7: {'type': b'^v'}, 8: {'type': b'^{__CFDictionary=}'}, 9: {'type': b'^@', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVOpenGLBufferPoolRetain': ('^{__CVOpenGLBufferPool=}^{__CVOpenGLBufferPool=}',), 'CVPixelBufferUnlockBaseAddress': ('i@Q',), 'CVImageBufferGetCleanRect': (sel32or64('{CGRect={CGPoint=ff}{CGSize=ff}}@', '{CGRect={CGPoint=dd}{CGSize=dd}}@'),), 'CVPixelBufferGetBytesPerRowOfPlane': (sel32or64('L@L', 'Q@L'),), 'CVDisplayLinkGetTypeID': (sel32or64('L', 'Q'),), 'CVImageBufferGetDisplaySize': (sel32or64('{CGSize=ff}@', '{CGSize=dd}@'),), 'CVPixelBufferGetDataSize': (sel32or64('L@', 'Q@'),), 'CVOpenGLBufferPoolGetOpenGLBufferAttributes': ('^{__CFDictionary=}^{__CVOpenGLBufferPool=}',), 'CVOpenGLBufferAttach': ('i@^{_CGLContextObject=}Iii',), 'CVPixelBufferGetBaseAddressOfPlane': ('^v@L', '', {'retval': {'type': b'^v', 'c_array_of_variable_length': True}}), 'CVDisplayLinkIsRunning': ('Z^{__CVDisplayLink=}',), 'CVPixelBufferGetPixelFormatType': (sel32or64('L@', 'I@'),), 'CVBufferRemoveAttachment': ('v@^{__CFString=}',), 'CVOpenGLBufferGetAttributes': ('^{__CFDictionary=}@',), 'CVDisplayLinkGetOutputVideoLatency': ('{_CVTime=qii}^{__CVDisplayLink=}',), 'CVPixelBufferGetBytesPerRow': (sel32or64('L@', 'Q@'),), 'CVPixelBufferPoolCreatePixelBuffer': ('i^{__CFAllocator=}^{__CVPixelBufferPool=}^@', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^{__CVPixelBufferPool=}'}, 2: {'type': b'^@', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVImageBufferGetColorSpace': ('^{CGColorSpace=}@',), 'CVDisplayLinkGetCurrentCGDisplay': ('I^{__CVDisplayLink=}',), 'CVDisplayLinkSetCurrentCGDisplayFromOpenGLContext': ('i^{__CVDisplayLink=}^{_CGLContextObject=}^{_CGLPixelFormatObject=}',), 'CVPixelBufferRelease': ('v@',), 'CVBufferSetAttachments': ('v@^{__CFDictionary=}I',), 'CVOpenGLTextureGetTarget': ('I@',), 'CVGetHostClockFrequency': ('d',), 'CVGetHostClockMinimumTimeDelta': ('I',), 'CVOpenGLBufferRetain': ('@@',), 'CVOpenGLTextureCacheCreate': ('i^{__CFAllocator=}^{__CFDictionary=}^{_CGLContextObject=}^{_CGLPixelFormatObject=}^{__CFDictionary=}^^{__CVOpenGLTextureCache}', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^{__CFDictionary=}'}, 2: {'type': b'^{_CGLContextObject=}'}, 3: {'type': b'^{_CGLPixelFormatObject=}'}, 4: {'type': b'^{__CFDictionary=}'}, 5: {'type': b'^^{__CVOpenGLTextureCache}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CVOpenGLTextureGetCleanTexCoords': ('v@[2f][2f][2f][2f]',)}
cftypes = []
cftypes.append(('CVOpenGLTextureRef', '^{__CVOpenGLTexture=}', 'CVOpenGLTextureGetTypeID', None))
cftypes.append(('CVDisplayLinkRef', '^{__CVDisplayLink=}', 'CVDisplayLinkGetTypeID', None))
cftypes.append(('CVOpenGLBufferPoolRef', '^{__CVOpenGLBufferPool=}', 'CVOpenGLBufferPoolGetTypeID', None))
cftypes.append(('CVOpenGLTextureCacheRef', '^{__CVOpenGLTextureCache=}', 'CVOpenGLTextureCacheGetTypeID', None))
cftypes.append(('CVPixelBufferPoolRef', '^{__CVPixelBufferPool=}', 'CVPixelBufferPoolGetTypeID', None))
cftypes.append(('CVOpenGLBufferRef', '^{__CVOpenGLBuffer=}', 'CVOpenGLBufferGetTypeID', None))
cftypes.append(('CVPixelBufferRef', '^{__CVPixelBuffer=}', 'CVPixelBufferGetTypeID', None))
r = objc.registerMetaDataForSelector
objc._updatingMetadata(True)
try:
    pass
finally:
    objc._updatingMetadata(False)