CoreVideo macOS 10.14 to 10.15 API Differences

CVBase.h
Removed #def API_AVAILABLE
Removed #def API_UNAVAILABLE
Removed #def COREVIDEO_SUPPORTS_IOSURFACE_FOOBAR_PREFETCH_SPI
Added #def COREVIDEO_SUPPORTS_IOSURFACE_PREFETCH
CVHostTime.h
Declaration
Fromuint64_t CVGetCurrentHostTime()
Touint64_t CVGetCurrentHostTime(void)

Declaration
Fromdouble CVGetHostClockFrequency()
Todouble CVGetHostClockFrequency(void)

Declaration
Fromuint32_t CVGetHostClockMinimumTimeDelta()
Touint32_t CVGetHostClockMinimumTimeDelta(void)

CVImageBuffer.h
CVMetalTexture.h
Declaration
Fromvoid CVMetalTextureGetCleanTexCoords(CVMetalTextureRef image, float [2] lowerLeft, float [2] lowerRight, float [2] upperRight, float [2] upperLeft)
Tovoid CVMetalTextureGetCleanTexCoords(CVMetalTextureRef image, float *lowerLeft, float *lowerRight, float *upperRight, float *upperLeft)

CVOpenGLTexture.h
Declaration
Fromvoid CVOpenGLTextureGetCleanTexCoords(CVOpenGLTextureRef image, GLfloat [2] lowerLeft, GLfloat [2] lowerRight, GLfloat [2] upperRight, GLfloat [2] upperLeft)
Tovoid CVOpenGLTextureGetCleanTexCoords(CVOpenGLTextureRef image, GLfloat *lowerLeft, GLfloat *lowerRight, GLfloat *upperRight, GLfloat *upperLeft)

CVPixelBuffer.h
Declaration
Fromtypedef void (*CVPixelBufferReleasePlanarBytesCallback)(void *releaseRefCon, const void *dataPtr, size_t dataSize, size_t numberOfPlanes, const void * _Nullable [] planeAddresses)
Totypedef void (*CVPixelBufferReleasePlanarBytesCallback)(void *releaseRefCon, const void *dataPtr, size_t dataSize, size_t numberOfPlanes, const void * _Nullable *planeAddresses)

Declaration
FromCVReturn CVPixelBufferCreateWithPlanarBytes(CFAllocatorRef allocator, size_t width, size_t height, OSType pixelFormatType, void *dataPtr, size_t dataSize, size_t numberOfPlanes, void * _Nullable [] planeBaseAddress, size_t [] planeWidth, size_t [] planeHeight, size_t [] planeBytesPerRow, CVPixelBufferReleasePlanarBytesCallback releaseCallback, void *releaseRefCon, CFDictionaryRef pixelBufferAttributes, CVPixelBufferRef _Nullable *pixelBufferOut)
ToCVReturn CVPixelBufferCreateWithPlanarBytes(CFAllocatorRef allocator, size_t width, size_t height, OSType pixelFormatType, void *dataPtr, size_t dataSize, size_t numberOfPlanes, void * _Nullable *planeBaseAddress, size_t *planeWidth, size_t *planeHeight, size_t *planeBytesPerRow, CVPixelBufferReleasePlanarBytesCallback releaseCallback, void *releaseRefCon, CFDictionaryRef pixelBufferAttributes, CVPixelBufferRef _Nullable *pixelBufferOut)

CVPixelBufferIOSurface.h