CoreVideo Changes for Objective-C
CoreVideo
CVBase.h
Added #def COREVIDEO_DECLARE_NULLABILITY
Added #def COREVIDEO_SUPPORTS_IOSURFACE_PREFETCH
Added #def COREVIDEO_USE_DERIVED_ENUMS_FOR_CONSTANTS
Added #def CV_BRIDGED_TYPE
Added #def CV_NONNULL
Added #def CV_NULLABLE
Added #def CV_RELEASES_ARGUMENT
Added #def CV_RETURNS_RETAINED_PARAMETER
CVBuffer.h
Modified CVBufferGetAttachment()
| Declaration | |
|---|---|
| From | CFTypeRef CVBufferGetAttachment (
CVBufferRef buffer,
CFStringRef key,
CVAttachmentMode *attachmentMode
);
|
| To | CFTypeRef _Nullable CVBufferGetAttachment (
CVBufferRef _Nonnull buffer,
CFStringRef _Nonnull key,
CVAttachmentMode * _Nullable attachmentMode
);
|
Modified CVBufferGetAttachments()
| Declaration | |
|---|---|
| From | CFDictionaryRef CVBufferGetAttachments (
CVBufferRef buffer,
CVAttachmentMode attachmentMode
);
|
| To | CFDictionaryRef _Nullable CVBufferGetAttachments (
CVBufferRef _Nonnull buffer,
CVAttachmentMode attachmentMode
);
|
Modified CVBufferPropagateAttachments()
| Declaration | |
|---|---|
| From | void CVBufferPropagateAttachments (
CVBufferRef sourceBuffer,
CVBufferRef destinationBuffer
);
|
| To | void CVBufferPropagateAttachments (
CVBufferRef _Nonnull sourceBuffer,
CVBufferRef _Nonnull destinationBuffer
);
|
Modified CVBufferRelease()
| Declaration | |
|---|---|
| From | void CVBufferRelease (
CVBufferRef buffer
);
|
| To | void CVBufferRelease (
CVBufferRef _Nullable buffer
);
|
Modified CVBufferRemoveAllAttachments()
| Declaration | |
|---|---|
| From | void CVBufferRemoveAllAttachments (
CVBufferRef buffer
);
|
| To | void CVBufferRemoveAllAttachments (
CVBufferRef _Nonnull buffer
);
|
Modified CVBufferRemoveAttachment()
| Declaration | |
|---|---|
| From | void CVBufferRemoveAttachment (
CVBufferRef buffer,
CFStringRef key
);
|
| To | void CVBufferRemoveAttachment (
CVBufferRef _Nonnull buffer,
CFStringRef _Nonnull key
);
|
Modified CVBufferRetain()
| Declaration | |
|---|---|
| From | CVBufferRef CVBufferRetain (
CVBufferRef buffer
);
|
| To | CVBufferRef _Nullable CVBufferRetain (
CVBufferRef _Nullable buffer
);
|
Modified CVBufferSetAttachment()
| Declaration | |
|---|---|
| From | void CVBufferSetAttachment (
CVBufferRef buffer,
CFStringRef key,
CFTypeRef value,
CVAttachmentMode attachmentMode
);
|
| To | void CVBufferSetAttachment (
CVBufferRef _Nonnull buffer,
CFStringRef _Nonnull key,
CFTypeRef _Nonnull value,
CVAttachmentMode attachmentMode
);
|
Modified CVBufferSetAttachments()
| Declaration | |
|---|---|
| From | void CVBufferSetAttachments (
CVBufferRef buffer,
CFDictionaryRef theAttachments,
CVAttachmentMode attachmentMode
);
|
| To | void CVBufferSetAttachments (
CVBufferRef _Nonnull buffer,
CFDictionaryRef _Nonnull theAttachments,
CVAttachmentMode attachmentMode
);
|
CVDisplayLink.h
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkCreateWithActiveCGDisplays (
CVDisplayLinkRef *displayLinkOut
);
|
| To | CVReturn CVDisplayLinkCreateWithActiveCGDisplays (
CVDisplayLinkRef _Nullable * _Nonnull displayLinkOut
);
|
Modified CVDisplayLinkCreateWithCGDisplay()
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkCreateWithCGDisplay (
CGDirectDisplayID displayID,
CVDisplayLinkRef *displayLinkOut
);
|
| To | CVReturn CVDisplayLinkCreateWithCGDisplay (
CGDirectDisplayID displayID,
CVDisplayLinkRef _Nullable * _Nonnull displayLinkOut
);
|
Modified CVDisplayLinkCreateWithCGDisplays()
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkCreateWithCGDisplays (
CGDirectDisplayID *displayArray,
CFIndex count,
CVDisplayLinkRef *displayLinkOut
);
|
| To | CVReturn CVDisplayLinkCreateWithCGDisplays (
CGDirectDisplayID * _Nonnull displayArray,
CFIndex count,
CVDisplayLinkRef _Nullable * _Nonnull displayLinkOut
);
|
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkCreateWithOpenGLDisplayMask (
CGOpenGLDisplayMask mask,
CVDisplayLinkRef *displayLinkOut
);
|
| To | CVReturn CVDisplayLinkCreateWithOpenGLDisplayMask (
CGOpenGLDisplayMask mask,
CVDisplayLinkRef _Nullable * _Nonnull displayLinkOut
);
|
| Declaration | |
|---|---|
| From | double CVDisplayLinkGetActualOutputVideoRefreshPeriod (
CVDisplayLinkRef displayLink
);
|
| To | double CVDisplayLinkGetActualOutputVideoRefreshPeriod (
CVDisplayLinkRef _Nonnull displayLink
);
|
Modified CVDisplayLinkGetCurrentCGDisplay()
| Declaration | |
|---|---|
| From | CGDirectDisplayID CVDisplayLinkGetCurrentCGDisplay (
CVDisplayLinkRef displayLink
);
|
| To | CGDirectDisplayID CVDisplayLinkGetCurrentCGDisplay (
CVDisplayLinkRef _Nonnull displayLink
);
|
Modified CVDisplayLinkGetCurrentTime()
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkGetCurrentTime (
CVDisplayLinkRef displayLink,
CVTimeStamp *outTime
);
|
| To | CVReturn CVDisplayLinkGetCurrentTime (
CVDisplayLinkRef _Nonnull displayLink,
CVTimeStamp * _Nonnull outTime
);
|
| Declaration | |
|---|---|
| From | CVTime CVDisplayLinkGetNominalOutputVideoRefreshPeriod (
CVDisplayLinkRef displayLink
);
|
| To | CVTime CVDisplayLinkGetNominalOutputVideoRefreshPeriod (
CVDisplayLinkRef _Nonnull displayLink
);
|
Modified CVDisplayLinkGetOutputVideoLatency()
| Declaration | |
|---|---|
| From | CVTime CVDisplayLinkGetOutputVideoLatency (
CVDisplayLinkRef displayLink
);
|
| To | CVTime CVDisplayLinkGetOutputVideoLatency (
CVDisplayLinkRef _Nonnull displayLink
);
|
Modified CVDisplayLinkIsRunning()
| Declaration | |
|---|---|
| From | Boolean CVDisplayLinkIsRunning (
CVDisplayLinkRef displayLink
);
|
| To | Boolean CVDisplayLinkIsRunning (
CVDisplayLinkRef _Nonnull displayLink
);
|
Modified CVDisplayLinkRelease()
| Declaration | |
|---|---|
| From | void CVDisplayLinkRelease (
CVDisplayLinkRef displayLink
);
|
| To | void CVDisplayLinkRelease (
CVDisplayLinkRef _Nullable displayLink
);
|
Modified CVDisplayLinkRetain()
| Declaration | |
|---|---|
| From | CVDisplayLinkRef CVDisplayLinkRetain (
CVDisplayLinkRef displayLink
);
|
| To | CVDisplayLinkRef _Nullable CVDisplayLinkRetain (
CVDisplayLinkRef _Nullable displayLink
);
|
Modified CVDisplayLinkSetCurrentCGDisplay()
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkSetCurrentCGDisplay (
CVDisplayLinkRef displayLink,
CGDirectDisplayID displayID
);
|
| To | CVReturn CVDisplayLinkSetCurrentCGDisplay (
CVDisplayLinkRef _Nonnull displayLink,
CGDirectDisplayID displayID
);
|
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkSetCurrentCGDisplayFromOpenGLContext (
CVDisplayLinkRef displayLink,
CGLContextObj cglContext,
CGLPixelFormatObj cglPixelFormat
);
|
| To | CVReturn CVDisplayLinkSetCurrentCGDisplayFromOpenGLContext (
CVDisplayLinkRef _Nonnull displayLink,
CGLContextObj _Nonnull cglContext,
CGLPixelFormatObj _Nonnull cglPixelFormat
);
|
Modified CVDisplayLinkSetOutputCallback()
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkSetOutputCallback (
CVDisplayLinkRef displayLink,
CVDisplayLinkOutputCallback callback,
void *userInfo
);
|
| To | CVReturn CVDisplayLinkSetOutputCallback (
CVDisplayLinkRef _Nonnull displayLink,
CVDisplayLinkOutputCallback _Nonnull callback,
void * _Nullable userInfo
);
|
Modified CVDisplayLinkStart()
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkStart (
CVDisplayLinkRef displayLink
);
|
| To | CVReturn CVDisplayLinkStart (
CVDisplayLinkRef _Nonnull displayLink
);
|
Modified CVDisplayLinkStop()
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkStop (
CVDisplayLinkRef displayLink
);
|
| To | CVReturn CVDisplayLinkStop (
CVDisplayLinkRef _Nonnull displayLink
);
|
Modified CVDisplayLinkTranslateTime()
| Declaration | |
|---|---|
| From | CVReturn CVDisplayLinkTranslateTime (
CVDisplayLinkRef displayLink,
const CVTimeStamp *inTime,
CVTimeStamp *outTime
);
|
| To | CVReturn CVDisplayLinkTranslateTime (
CVDisplayLinkRef _Nonnull displayLink,
const CVTimeStamp * _Nonnull inTime,
CVTimeStamp * _Nonnull outTime
);
|
CVImageBuffer.h
| Declaration | |
|---|---|
| From | CGColorSpaceRef CVImageBufferCreateColorSpaceFromAttachments (
CFDictionaryRef attachments
);
|
| To | CGColorSpaceRef _Nullable CVImageBufferCreateColorSpaceFromAttachments (
CFDictionaryRef _Nonnull attachments
);
|
Modified CVImageBufferGetCleanRect()
| Declaration | |
|---|---|
| From | CGRect CVImageBufferGetCleanRect (
CVImageBufferRef imageBuffer
);
|
| To | CGRect CVImageBufferGetCleanRect (
CVImageBufferRef _Nonnull imageBuffer
);
|
Modified CVImageBufferGetColorSpace()
| Declaration | |
|---|---|
| From | CGColorSpaceRef CVImageBufferGetColorSpace (
CVImageBufferRef imageBuffer
);
|
| To | CGColorSpaceRef _Nullable CVImageBufferGetColorSpace (
CVImageBufferRef _Nonnull imageBuffer
);
|
Modified CVImageBufferGetDisplaySize()
| Declaration | |
|---|---|
| From | CGSize CVImageBufferGetDisplaySize (
CVImageBufferRef imageBuffer
);
|
| To | CGSize CVImageBufferGetDisplaySize (
CVImageBufferRef _Nonnull imageBuffer
);
|
Modified CVImageBufferGetEncodedSize()
| Declaration | |
|---|---|
| From | CGSize CVImageBufferGetEncodedSize (
CVImageBufferRef imageBuffer
);
|
| To | CGSize CVImageBufferGetEncodedSize (
CVImageBufferRef _Nonnull imageBuffer
);
|
Modified CVImageBufferIsFlipped()
| Declaration | |
|---|---|
| From | Boolean CVImageBufferIsFlipped (
CVImageBufferRef imageBuffer
);
|
| To | Boolean CVImageBufferIsFlipped (
CVImageBufferRef _Nonnull imageBuffer
);
|
CVMetalTexture.h (Added)
Added CVMetalTextureRef
CVMetalTextureCache.h (Added)
CVOpenGLBuffer.h
Modified CVOpenGLBufferAttach()
| Declaration | |
|---|---|
| From | CVReturn CVOpenGLBufferAttach (
CVOpenGLBufferRef openGLBuffer,
CGLContextObj cglContext,
GLenum face,
GLint level,
GLint screen
);
|
| To | CVReturn CVOpenGLBufferAttach (
CVOpenGLBufferRef _Nonnull openGLBuffer,
CGLContextObj _Nonnull cglContext,
GLenum face,
GLint level,
GLint screen
);
|
Modified CVOpenGLBufferCreate()
| Declaration | |
|---|---|
| From | CVReturn CVOpenGLBufferCreate (
CFAllocatorRef allocator,
size_t width,
size_t height,
CFDictionaryRef attributes,
CVOpenGLBufferRef *bufferOut
);
|
| To | CVReturn CVOpenGLBufferCreate (
CFAllocatorRef _Nullable allocator,
size_t width,
size_t height,
CFDictionaryRef _Nullable attributes,
CVOpenGLBufferRef _Nullable * _Nonnull bufferOut
);
|
Modified CVOpenGLBufferGetAttributes()
| Declaration | |
|---|---|
| From | CFDictionaryRef CVOpenGLBufferGetAttributes (
CVOpenGLBufferRef openGLBuffer
);
|
| To | CFDictionaryRef _Nullable CVOpenGLBufferGetAttributes (
CVOpenGLBufferRef _Nonnull openGLBuffer
);
|
Modified CVOpenGLBufferRelease()
| Declaration | |
|---|---|
| From | void CVOpenGLBufferRelease (
CVOpenGLBufferRef buffer
);
|
| To | void CVOpenGLBufferRelease (
CVOpenGLBufferRef _Nullable buffer
);
|
Modified CVOpenGLBufferRetain()
| Declaration | |
|---|---|
| From | CVOpenGLBufferRef CVOpenGLBufferRetain (
CVOpenGLBufferRef buffer
);
|
| To | CVOpenGLBufferRef _Nullable CVOpenGLBufferRetain (
CVOpenGLBufferRef _Nullable buffer
);
|
CVOpenGLBufferPool.h
Modified CVOpenGLBufferPoolCreate()
| Declaration | |
|---|---|
| From | CVReturn CVOpenGLBufferPoolCreate (
CFAllocatorRef allocator,
CFDictionaryRef poolAttributes,
CFDictionaryRef openGLBufferAttributes,
CVOpenGLBufferPoolRef *poolOut
);
|
| To | CVReturn CVOpenGLBufferPoolCreate (
CFAllocatorRef _Nullable allocator,
CFDictionaryRef _Nullable poolAttributes,
CFDictionaryRef _Nullable openGLBufferAttributes,
CVOpenGLBufferPoolRef _Nullable * _Nonnull poolOut
);
|
| Declaration | |
|---|---|
| From | CVReturn CVOpenGLBufferPoolCreateOpenGLBuffer (
CFAllocatorRef allocator,
CVOpenGLBufferPoolRef openGLBufferPool,
CVOpenGLBufferRef *openGLBufferOut
);
|
| To | CVReturn CVOpenGLBufferPoolCreateOpenGLBuffer (
CFAllocatorRef _Nullable allocator,
CVOpenGLBufferPoolRef _Nonnull openGLBufferPool,
CVOpenGLBufferRef _Nullable * _Nonnull openGLBufferOut
);
|
Modified CVOpenGLBufferPoolGetAttributes()
| Declaration | |
|---|---|
| From | CFDictionaryRef CVOpenGLBufferPoolGetAttributes (
CVOpenGLBufferPoolRef pool
);
|
| To | CFDictionaryRef _Nullable CVOpenGLBufferPoolGetAttributes (
CVOpenGLBufferPoolRef _Nonnull pool
);
|
| Declaration | |
|---|---|
| From | CFDictionaryRef CVOpenGLBufferPoolGetOpenGLBufferAttributes (
CVOpenGLBufferPoolRef pool
);
|
| To | CFDictionaryRef _Nullable CVOpenGLBufferPoolGetOpenGLBufferAttributes (
CVOpenGLBufferPoolRef _Nonnull pool
);
|
Modified CVOpenGLBufferPoolRelease()
| Declaration | |
|---|---|
| From | void CVOpenGLBufferPoolRelease (
CVOpenGLBufferPoolRef openGLBufferPool
);
|
| To | void CVOpenGLBufferPoolRelease (
CVOpenGLBufferPoolRef _Nullable openGLBufferPool
);
|
Modified CVOpenGLBufferPoolRetain()
| Declaration | |
|---|---|
| From | CVOpenGLBufferPoolRef CVOpenGLBufferPoolRetain (
CVOpenGLBufferPoolRef openGLBufferPool
);
|
| To | CVOpenGLBufferPoolRef _Nullable CVOpenGLBufferPoolRetain (
CVOpenGLBufferPoolRef _Nullable openGLBufferPool
);
|
CVOpenGLTexture.h
Modified CVOpenGLTextureGetCleanTexCoords()
| Declaration | |
|---|---|
| From | void CVOpenGLTextureGetCleanTexCoords (
CVOpenGLTextureRef image,
GLfloat lowerLeft[2],
GLfloat lowerRight[2],
GLfloat upperRight[2],
GLfloat upperLeft[2]
);
|
| To | void CVOpenGLTextureGetCleanTexCoords (
CVOpenGLTextureRef _Nonnull image,
GLfloat lowerLeft[2],
GLfloat lowerRight[2],
GLfloat upperRight[2],
GLfloat upperLeft[2]
);
|
Modified CVOpenGLTextureGetName()
| Declaration | |
|---|---|
| From | GLuint CVOpenGLTextureGetName (
CVOpenGLTextureRef image
);
|
| To | GLuint CVOpenGLTextureGetName (
CVOpenGLTextureRef _Nonnull image
);
|
Modified CVOpenGLTextureGetTarget()
| Declaration | |
|---|---|
| From | GLenum CVOpenGLTextureGetTarget (
CVOpenGLTextureRef image
);
|
| To | GLenum CVOpenGLTextureGetTarget (
CVOpenGLTextureRef _Nonnull image
);
|
Modified CVOpenGLTextureIsFlipped()
| Declaration | |
|---|---|
| From | Boolean CVOpenGLTextureIsFlipped (
CVOpenGLTextureRef image
);
|
| To | Boolean CVOpenGLTextureIsFlipped (
CVOpenGLTextureRef _Nonnull image
);
|
Modified CVOpenGLTextureRelease()
| Declaration | |
|---|---|
| From | void CVOpenGLTextureRelease (
CVOpenGLTextureRef texture
);
|
| To | void CVOpenGLTextureRelease (
CVOpenGLTextureRef _Nullable texture
);
|
Modified CVOpenGLTextureRetain()
| Declaration | |
|---|---|
| From | CVOpenGLTextureRef CVOpenGLTextureRetain (
CVOpenGLTextureRef texture
);
|
| To | CVOpenGLTextureRef _Nullable CVOpenGLTextureRetain (
CVOpenGLTextureRef _Nullable texture
);
|
CVOpenGLTextureCache.h
Modified CVOpenGLTextureCacheCreate()
| Declaration | |
|---|---|
| From | CVReturn CVOpenGLTextureCacheCreate (
CFAllocatorRef allocator,
CFDictionaryRef cacheAttributes,
CGLContextObj cglContext,
CGLPixelFormatObj cglPixelFormat,
CFDictionaryRef textureAttributes,
CVOpenGLTextureCacheRef *cacheOut
);
|
| To | CVReturn CVOpenGLTextureCacheCreate (
CFAllocatorRef _Nullable allocator,
CFDictionaryRef _Nullable cacheAttributes,
CGLContextObj _Nonnull cglContext,
CGLPixelFormatObj _Nonnull cglPixelFormat,
CFDictionaryRef _Nullable textureAttributes,
CVOpenGLTextureCacheRef _Nullable * _Nonnull cacheOut
);
|
| Declaration | |
|---|---|
| From | CVReturn CVOpenGLTextureCacheCreateTextureFromImage (
CFAllocatorRef allocator,
CVOpenGLTextureCacheRef textureCache,
CVImageBufferRef sourceImage,
CFDictionaryRef attributes,
CVOpenGLTextureRef *textureOut
);
|
| To | CVReturn CVOpenGLTextureCacheCreateTextureFromImage (
CFAllocatorRef _Nullable allocator,
CVOpenGLTextureCacheRef _Nonnull textureCache,
CVImageBufferRef _Nonnull sourceImage,
CFDictionaryRef _Nullable attributes,
CVOpenGLTextureRef _Nullable * _Nonnull textureOut
);
|
Modified CVOpenGLTextureCacheFlush()
| Declaration | |
|---|---|
| From | void CVOpenGLTextureCacheFlush (
CVOpenGLTextureCacheRef textureCache,
CVOptionFlags options
);
|
| To | void CVOpenGLTextureCacheFlush (
CVOpenGLTextureCacheRef _Nonnull textureCache,
CVOptionFlags options
);
|
Modified CVOpenGLTextureCacheRelease()
| Declaration | |
|---|---|
| From | void CVOpenGLTextureCacheRelease (
CVOpenGLTextureCacheRef textureCache
);
|
| To | void CVOpenGLTextureCacheRelease (
CVOpenGLTextureCacheRef _Nullable textureCache
);
|
Modified CVOpenGLTextureCacheRetain()
| Declaration | |
|---|---|
| From | CVOpenGLTextureCacheRef CVOpenGLTextureCacheRetain (
CVOpenGLTextureCacheRef textureCache
);
|
| To | CVOpenGLTextureCacheRef _Nullable CVOpenGLTextureCacheRetain (
CVOpenGLTextureCacheRef _Nullable textureCache
);
|
CVPixelBuffer.h
Removed CVPixelBufferLockFlags
Added CVPixelBufferLockFlags
Modified CVPixelBufferCreate()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferCreate (
CFAllocatorRef allocator,
size_t width,
size_t height,
OSType pixelFormatType,
CFDictionaryRef pixelBufferAttributes,
CVPixelBufferRef *pixelBufferOut
);
|
| To | CVReturn CVPixelBufferCreate (
CFAllocatorRef _Nullable allocator,
size_t width,
size_t height,
OSType pixelFormatType,
CFDictionaryRef _Nullable pixelBufferAttributes,
CVPixelBufferRef _Nullable * _Nonnull pixelBufferOut
);
|
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferCreateResolvedAttributesDictionary (
CFAllocatorRef allocator,
CFArrayRef attributes,
CFDictionaryRef *resolvedDictionaryOut
);
|
| To | CVReturn CVPixelBufferCreateResolvedAttributesDictionary (
CFAllocatorRef _Nullable allocator,
CFArrayRef _Nullable attributes,
CFDictionaryRef _Nullable * _Nonnull resolvedDictionaryOut
);
|
Modified CVPixelBufferCreateWithBytes()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferCreateWithBytes (
CFAllocatorRef allocator,
size_t width,
size_t height,
OSType pixelFormatType,
void *baseAddress,
size_t bytesPerRow,
CVPixelBufferReleaseBytesCallback releaseCallback,
void *releaseRefCon,
CFDictionaryRef pixelBufferAttributes,
CVPixelBufferRef *pixelBufferOut
);
|
| To | CVReturn CVPixelBufferCreateWithBytes (
CFAllocatorRef _Nullable allocator,
size_t width,
size_t height,
OSType pixelFormatType,
void * _Nonnull baseAddress,
size_t bytesPerRow,
CVPixelBufferReleaseBytesCallback _Nullable releaseCallback,
void * _Nullable releaseRefCon,
CFDictionaryRef _Nullable pixelBufferAttributes,
CVPixelBufferRef _Nullable * _Nonnull pixelBufferOut
);
|
Modified CVPixelBufferCreateWithPlanarBytes()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferCreateWithPlanarBytes (
CFAllocatorRef allocator,
size_t width,
size_t height,
OSType pixelFormatType,
void *dataPtr,
size_t dataSize,
size_t numberOfPlanes,
void *planeBaseAddress[],
size_t planeWidth[],
size_t planeHeight[],
size_t planeBytesPerRow[],
CVPixelBufferReleasePlanarBytesCallback releaseCallback,
void *releaseRefCon,
CFDictionaryRef pixelBufferAttributes,
CVPixelBufferRef *pixelBufferOut
);
|
| To | CVReturn CVPixelBufferCreateWithPlanarBytes (
CFAllocatorRef _Nullable allocator,
size_t width,
size_t height,
OSType pixelFormatType,
void * _Nullable dataPtr,
size_t dataSize,
size_t numberOfPlanes,
void * _Nullable planeBaseAddress[],
size_t planeWidth[],
size_t planeHeight[],
size_t planeBytesPerRow[],
CVPixelBufferReleasePlanarBytesCallback _Nullable releaseCallback,
void * _Nullable releaseRefCon,
CFDictionaryRef _Nullable pixelBufferAttributes,
CVPixelBufferRef _Nullable * _Nonnull pixelBufferOut
);
|
Modified CVPixelBufferFillExtendedPixels()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferFillExtendedPixels (
CVPixelBufferRef pixelBuffer
);
|
| To | CVReturn CVPixelBufferFillExtendedPixels (
CVPixelBufferRef _Nonnull pixelBuffer
);
|
Modified CVPixelBufferGetBaseAddress()
| Declaration | |
|---|---|
| From | void * CVPixelBufferGetBaseAddress (
CVPixelBufferRef pixelBuffer
);
|
| To | void * _Nullable CVPixelBufferGetBaseAddress (
CVPixelBufferRef _Nonnull pixelBuffer
);
|
Modified CVPixelBufferGetBaseAddressOfPlane()
| Declaration | |
|---|---|
| From | void * CVPixelBufferGetBaseAddressOfPlane (
CVPixelBufferRef pixelBuffer,
size_t planeIndex
);
|
| To | void * _Nullable CVPixelBufferGetBaseAddressOfPlane (
CVPixelBufferRef _Nonnull pixelBuffer,
size_t planeIndex
);
|
Modified CVPixelBufferGetBytesPerRow()
| Declaration | |
|---|---|
| From | size_t CVPixelBufferGetBytesPerRow (
CVPixelBufferRef pixelBuffer
);
|
| To | size_t CVPixelBufferGetBytesPerRow (
CVPixelBufferRef _Nonnull pixelBuffer
);
|
Modified CVPixelBufferGetBytesPerRowOfPlane()
| Declaration | |
|---|---|
| From | size_t CVPixelBufferGetBytesPerRowOfPlane (
CVPixelBufferRef pixelBuffer,
size_t planeIndex
);
|
| To | size_t CVPixelBufferGetBytesPerRowOfPlane (
CVPixelBufferRef _Nonnull pixelBuffer,
size_t planeIndex
);
|
Modified CVPixelBufferGetDataSize()
| Declaration | |
|---|---|
| From | size_t CVPixelBufferGetDataSize (
CVPixelBufferRef pixelBuffer
);
|
| To | size_t CVPixelBufferGetDataSize (
CVPixelBufferRef _Nonnull pixelBuffer
);
|
Modified CVPixelBufferGetExtendedPixels()
| Declaration | |
|---|---|
| From | void CVPixelBufferGetExtendedPixels (
CVPixelBufferRef pixelBuffer,
size_t *extraColumnsOnLeft,
size_t *extraColumnsOnRight,
size_t *extraRowsOnTop,
size_t *extraRowsOnBottom
);
|
| To | void CVPixelBufferGetExtendedPixels (
CVPixelBufferRef _Nonnull pixelBuffer,
size_t * _Nullable extraColumnsOnLeft,
size_t * _Nullable extraColumnsOnRight,
size_t * _Nullable extraRowsOnTop,
size_t * _Nullable extraRowsOnBottom
);
|
Modified CVPixelBufferGetHeight()
| Declaration | |
|---|---|
| From | size_t CVPixelBufferGetHeight (
CVPixelBufferRef pixelBuffer
);
|
| To | size_t CVPixelBufferGetHeight (
CVPixelBufferRef _Nonnull pixelBuffer
);
|
Modified CVPixelBufferGetHeightOfPlane()
| Declaration | |
|---|---|
| From | size_t CVPixelBufferGetHeightOfPlane (
CVPixelBufferRef pixelBuffer,
size_t planeIndex
);
|
| To | size_t CVPixelBufferGetHeightOfPlane (
CVPixelBufferRef _Nonnull pixelBuffer,
size_t planeIndex
);
|
Modified CVPixelBufferGetPixelFormatType()
| Declaration | |
|---|---|
| From | OSType CVPixelBufferGetPixelFormatType (
CVPixelBufferRef pixelBuffer
);
|
| To | OSType CVPixelBufferGetPixelFormatType (
CVPixelBufferRef _Nonnull pixelBuffer
);
|
Modified CVPixelBufferGetPlaneCount()
| Declaration | |
|---|---|
| From | size_t CVPixelBufferGetPlaneCount (
CVPixelBufferRef pixelBuffer
);
|
| To | size_t CVPixelBufferGetPlaneCount (
CVPixelBufferRef _Nonnull pixelBuffer
);
|
Modified CVPixelBufferGetWidth()
| Declaration | |
|---|---|
| From | size_t CVPixelBufferGetWidth (
CVPixelBufferRef pixelBuffer
);
|
| To | size_t CVPixelBufferGetWidth (
CVPixelBufferRef _Nonnull pixelBuffer
);
|
Modified CVPixelBufferGetWidthOfPlane()
| Declaration | |
|---|---|
| From | size_t CVPixelBufferGetWidthOfPlane (
CVPixelBufferRef pixelBuffer,
size_t planeIndex
);
|
| To | size_t CVPixelBufferGetWidthOfPlane (
CVPixelBufferRef _Nonnull pixelBuffer,
size_t planeIndex
);
|
Modified CVPixelBufferIsPlanar()
| Declaration | |
|---|---|
| From | Boolean CVPixelBufferIsPlanar (
CVPixelBufferRef pixelBuffer
);
|
| To | Boolean CVPixelBufferIsPlanar (
CVPixelBufferRef _Nonnull pixelBuffer
);
|
Modified CVPixelBufferLockBaseAddress()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferLockBaseAddress (
CVPixelBufferRef pixelBuffer,
CVOptionFlags lockFlags
);
|
| To | CVReturn CVPixelBufferLockBaseAddress (
CVPixelBufferRef _Nonnull pixelBuffer,
CVPixelBufferLockFlags lockFlags
);
|
Modified CVPixelBufferRelease()
| Declaration | |
|---|---|
| From | void CVPixelBufferRelease (
CVPixelBufferRef texture
);
|
| To | void CVPixelBufferRelease (
CVPixelBufferRef _Nullable texture
);
|
Modified CVPixelBufferRetain()
| Declaration | |
|---|---|
| From | CVPixelBufferRef CVPixelBufferRetain (
CVPixelBufferRef texture
);
|
| To | CVPixelBufferRef _Nullable CVPixelBufferRetain (
CVPixelBufferRef _Nullable texture
);
|
Modified CVPixelBufferUnlockBaseAddress()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferUnlockBaseAddress (
CVPixelBufferRef pixelBuffer,
CVOptionFlags unlockFlags
);
|
| To | CVReturn CVPixelBufferUnlockBaseAddress (
CVPixelBufferRef _Nonnull pixelBuffer,
CVPixelBufferLockFlags unlockFlags
);
|
CVPixelBufferIOSurface.h
Modified CVPixelBufferCreateWithIOSurface()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferCreateWithIOSurface (
CFAllocatorRef allocator,
IOSurfaceRef surface,
CFDictionaryRef pixelBufferAttributes,
CVPixelBufferRef *pixelBufferOut
);
|
| To | CVReturn CVPixelBufferCreateWithIOSurface (
CFAllocatorRef _Nullable allocator,
IOSurfaceRef _Nonnull surface,
CFDictionaryRef _Nullable pixelBufferAttributes,
CVPixelBufferRef _Nullable * _Nonnull pixelBufferOut
);
|
Modified CVPixelBufferGetIOSurface()
| Declaration | |
|---|---|
| From | IOSurfaceRef CVPixelBufferGetIOSurface (
CVPixelBufferRef pixelBuffer
);
|
| To | IOSurfaceRef _Nullable CVPixelBufferGetIOSurface (
CVPixelBufferRef _Nullable pixelBuffer
);
|
CVPixelBufferPool.h
Added CVPixelBufferPoolFlush()
Modified CVPixelBufferPoolCreate()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferPoolCreate (
CFAllocatorRef allocator,
CFDictionaryRef poolAttributes,
CFDictionaryRef pixelBufferAttributes,
CVPixelBufferPoolRef *poolOut
);
|
| To | CVReturn CVPixelBufferPoolCreate (
CFAllocatorRef _Nullable allocator,
CFDictionaryRef _Nullable poolAttributes,
CFDictionaryRef _Nullable pixelBufferAttributes,
CVPixelBufferPoolRef _Nullable * _Nonnull poolOut
);
|
Modified CVPixelBufferPoolCreatePixelBuffer()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferPoolCreatePixelBuffer (
CFAllocatorRef allocator,
CVPixelBufferPoolRef pixelBufferPool,
CVPixelBufferRef *pixelBufferOut
);
|
| To | CVReturn CVPixelBufferPoolCreatePixelBuffer (
CFAllocatorRef _Nullable allocator,
CVPixelBufferPoolRef _Nonnull pixelBufferPool,
CVPixelBufferRef _Nullable * _Nonnull pixelBufferOut
);
|
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferPoolCreatePixelBufferWithAuxAttributes (
CFAllocatorRef allocator,
CVPixelBufferPoolRef pixelBufferPool,
CFDictionaryRef auxAttributes,
CVPixelBufferRef *pixelBufferOut
);
|
| To | CVReturn CVPixelBufferPoolCreatePixelBufferWithAuxAttributes (
CFAllocatorRef _Nullable allocator,
CVPixelBufferPoolRef _Nonnull pixelBufferPool,
CFDictionaryRef _Nullable auxAttributes,
CVPixelBufferRef _Nullable * _Nonnull pixelBufferOut
);
|
Modified CVPixelBufferPoolGetAttributes()
| Declaration | |
|---|---|
| From | CFDictionaryRef CVPixelBufferPoolGetAttributes (
CVPixelBufferPoolRef pool
);
|
| To | CFDictionaryRef _Nullable CVPixelBufferPoolGetAttributes (
CVPixelBufferPoolRef _Nonnull pool
);
|
| Declaration | |
|---|---|
| From | CFDictionaryRef CVPixelBufferPoolGetPixelBufferAttributes (
CVPixelBufferPoolRef pool
);
|
| To | CFDictionaryRef _Nullable CVPixelBufferPoolGetPixelBufferAttributes (
CVPixelBufferPoolRef _Nonnull pool
);
|
Modified CVPixelBufferPoolRelease()
| Declaration | |
|---|---|
| From | void CVPixelBufferPoolRelease (
CVPixelBufferPoolRef pixelBufferPool
);
|
| To | void CVPixelBufferPoolRelease (
CVPixelBufferPoolRef _Nullable pixelBufferPool
);
|
Modified CVPixelBufferPoolRetain()
| Declaration | |
|---|---|
| From | CVPixelBufferPoolRef CVPixelBufferPoolRetain (
CVPixelBufferPoolRef pixelBufferPool
);
|
| To | CVPixelBufferPoolRef _Nullable CVPixelBufferPoolRetain (
CVPixelBufferPoolRef _Nullable pixelBufferPool
);
|
CVPixelFormatDescription.h
| Declaration | |
|---|---|
| From | CFArrayRef CVPixelFormatDescriptionArrayCreateWithAllPixelFormatTypes (
CFAllocatorRef allocator
);
|
| To | CFArrayRef _Nullable CVPixelFormatDescriptionArrayCreateWithAllPixelFormatTypes (
CFAllocatorRef _Nullable allocator
);
|
| Declaration | |
|---|---|
| From | CFDictionaryRef CVPixelFormatDescriptionCreateWithPixelFormatType (
CFAllocatorRef allocator,
OSType pixelFormat
);
|
| To | CFDictionaryRef _Nullable CVPixelFormatDescriptionCreateWithPixelFormatType (
CFAllocatorRef _Nullable allocator,
OSType pixelFormat
);
|
| Declaration | |
|---|---|
| From | void CVPixelFormatDescriptionRegisterDescriptionWithPixelFormatType (
CFDictionaryRef description,
OSType pixelFormat
);
|
| To | void CVPixelFormatDescriptionRegisterDescriptionWithPixelFormatType (
CFDictionaryRef _Nonnull description,
OSType pixelFormat
);
|
CVReturn.h
Added kCVReturnUnsupported