CoreVideo Changes for Objective-C
CoreVideo
CVBase.h
Added #def COREVIDEO_DECLARE_NULLABILITY
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
CVImageBuffer.h
CVPixelBuffer.h
Removed CVPixelBufferLockFlags
Modified CVPixelBufferLockBaseAddress()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferLockBaseAddress (
CVPixelBufferRef pixelBuffer,
CVOptionFlags lockFlags
);
|
| To | CVReturn CVPixelBufferLockBaseAddress (
CVPixelBufferRef _Nonnull pixelBuffer,
CVPixelBufferLockFlags lockFlags
);
|
Modified CVPixelBufferUnlockBaseAddress()
| Declaration | |
|---|---|
| From | CVReturn CVPixelBufferUnlockBaseAddress (
CVPixelBufferRef pixelBuffer,
CVOptionFlags unlockFlags
);
|
| To | CVReturn CVPixelBufferUnlockBaseAddress (
CVPixelBufferRef _Nonnull pixelBuffer,
CVPixelBufferLockFlags unlockFlags
);
|
CVPixelBufferPool.h
CVPixelFormatDescription.h
CVReturn.h
Added kCVReturnUnsupported