Cargo Features
[dependencies]
objc2-core-video = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "block2", "objc2", "objc2-core-graphics", "objc2-io-surface", "objc2-metal", "CVBase", "CVBuffer", "CVDisplayLink", "CVHostTime", "CVImageBuffer", "CVMetalBuffer", "CVMetalBufferCache", "CVMetalTexture", "CVMetalTextureCache", "CVOpenGLBuffer", "CVOpenGLBufferPool", "CVOpenGLTexture", "CVOpenGLTextureCache", "CVPixelBuffer", "CVPixelBufferIOSurface", "CVPixelBufferPool", "CVPixelFormatDescription", "CVReturn"] }
- default = CVBase, CVBuffer, CVDisplayLink, CVHostTime, CVImageBuffer, CVMetalBuffer, CVMetalBufferCache, CVMetalTexture, CVMetalTextureCache, CVOpenGLBuffer, CVOpenGLBufferPool, CVOpenGLTexture, CVOpenGLTextureCache, CVPixelBuffer, CVPixelBufferIOSurface, CVPixelBufferPool, CVPixelFormatDescription, CVReturn, bitflags, block2, objc2, objc2-core-graphics, objc2-metal, std
-
These default features are set whenever
objc2-core-video
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- bitflags default CVBase CVPixelBuffer CVPixelBufferPool
-
Enables bitflags
- block2 default
-
Enables block2
Affects
CVDisplayLink::CVDisplayLinkOutputHandler
,CVDisplayLink::CVDisplayLinkSetOutputHandler
… - objc2 default
-
Enables objc2, objc2 of objc2-core-foundation, optional objc2-core-graphics, and optional objc2-io-surface
Affects
CVMetalBuffer::CVMetalBufferGetBuffer
,CVMetalBufferCache::CVMetalBufferCacheCreate
,CVMetalTextureCache::CVMetalTextureCacheCreate
,CVMetalTexture::CVMetalTextureGetTexture
… - objc2-core-graphics default
-
Enables objc2-core-graphics
Affects
CVDisplayLink::CVDisplayLinkGetCurrentCGDisplay
,CVImageBuffer::CVImageBufferCreateColorSpaceFromAttachments
,CVDisplayLink::CVDisplayLinkCreateWithCGDisplays
,CVDisplayLink::CVDisplayLinkCreateWithOpenGLDisplayMask
,CVDisplayLink::CVDisplayLinkCreateWithCGDisplay
,CVDisplayLink::CVDisplayLinkSetCurrentCGDisplay
,CVImageBuffer::CVImageBufferGetColorSpace
… - objc2-io-surface
-
Enables objc2-io-surface
Affects
CVPixelBufferIOSurface::CVPixelBufferGetIOSurface
,CVPixelBufferIOSurface::CVPixelBufferCreateWithIOSurface
… - objc2-metal default
-
Enables objc2-metal
Affects
CVMetalBuffer::CVMetalBufferGetBuffer
,CVMetalBufferCache::CVMetalBufferCacheCreate
,CVMetalTextureCache::CVMetalTextureCacheCreate
,CVMetalTexture::CVMetalTextureGetTexture
,CVMetalTextureCache::CVMetalTextureCacheCreateTextureFromImage
… - CVBase default = bitflags
-
Affects
CVDisplayLink::CVDisplayLinkGetNominalOutputVideoRefreshPeriod
,CVDisplayLink::CVDisplayLinkGetOutputVideoLatency
,CVMetalBufferCache::CVMetalBufferCacheFlush
,CVMetalTextureCache::CVMetalTextureCacheFlush
,CVOpenGLTextureCache::CVOpenGLTextureCacheFlush
,CVPixelBuffer::CVPixelBufferLockFlags
,CVPixelBufferPool::CVPixelBufferPoolFlushFlags
,CVPixelBufferPool::CVPixelBufferPoolFlush
,CVDisplayLink::CVDisplayLinkOutputCallback
,CVDisplayLink::CVDisplayLinkSetOutputCallback
,CVDisplayLink::CVDisplayLinkGetCurrentTime
,CVDisplayLink::CVDisplayLinkTranslateTime
,CVDisplayLink::CVDisplayLinkOutputHandler
,CVDisplayLink::CVDisplayLinkSetOutputHandler
,CVPixelBuffer::CVPixelBufferLockBaseAddress
,CVPixelBuffer::CVPixelBufferUnlockBaseAddress
… - CVBuffer default
-
Enables CFBase and CFDictionary of objc2-core-foundation
Affects
CVImageBuffer::CVImageBuffer
,CVImageBuffer::CVImageBufferGetEncodedSize
,CVImageBuffer::CVImageBufferGetDisplaySize
,CVImageBuffer::CVImageBufferGetCleanRect
,CVImageBuffer::CVImageBufferIsFlipped
,CVMetalBuffer::CVMetalBuffer
,CVImageBuffer::CVImageBufferGetColorSpace
,CVMetalTexture::CVMetalTexture
,CVMetalTexture::CVMetalTextureIsFlipped
,CVOpenGLBuffer::CVOpenGLBuffer
,CVOpenGLBuffer::CVOpenGLBufferGetAttributes
,CVOpenGLTexture::CVOpenGLTexture
,CVOpenGLTexture::CVOpenGLTextureIsFlipped
,CVPixelBuffer::CVPixelBuffer
,CVPixelBuffer::CVPixelBufferGetWidth
,CVPixelBuffer::CVPixelBufferGetHeight
,CVPixelBuffer::CVPixelBufferGetPixelFormatType
,CVPixelBuffer::CVPixelBufferGetBaseAddress
,CVPixelBuffer::CVPixelBufferGetBytesPerRow
,CVPixelBuffer::CVPixelBufferGetDataSize
… - CVDisplayLink default
-
Enables CFBase of objc2-core-foundation
- CVHostTime default
- CVImageBuffer default
-
Enables CFBase, CFCGTypes and CFDictionary of objc2-core-foundation
Affects
CVMetalTexture::CVMetalTexture
,CVMetalTexture::CVMetalTextureIsFlipped
,CVOpenGLBuffer::CVOpenGLBuffer
,CVOpenGLBuffer::CVOpenGLBufferGetAttributes
,CVOpenGLTexture::CVOpenGLTexture
,CVOpenGLTexture::CVOpenGLTextureIsFlipped
,CVPixelBuffer::CVPixelBuffer
,CVPixelBuffer::CVPixelBufferGetWidth
,CVPixelBuffer::CVPixelBufferGetHeight
,CVPixelBuffer::CVPixelBufferGetPixelFormatType
,CVPixelBuffer::CVPixelBufferGetBaseAddress
,CVPixelBuffer::CVPixelBufferGetBytesPerRow
,CVPixelBuffer::CVPixelBufferGetDataSize
,CVPixelBuffer::CVPixelBufferIsPlanar
,CVPixelBuffer::CVPixelBufferGetPlaneCount
,CVPixelBuffer::CVPixelBufferGetWidthOfPlane
,CVPixelBuffer::CVPixelBufferGetHeightOfPlane
,CVPixelBuffer::CVPixelBufferGetBaseAddressOfPlane
,CVPixelBuffer::CVPixelBufferGetBytesPerRowOfPlane
,CVPixelBuffer::CVPixelBufferGetExtendedPixels
… - CVMetalBuffer default
-
Enables CFBase of objc2-core-foundation
Affects
CVMetalBufferCache::CVMetalBufferCacheCreateBufferFromImage
… - CVMetalBufferCache default
-
Enables CFBase and CFDictionary of objc2-core-foundation
- CVMetalTexture default
-
Enables CFBase of objc2-core-foundation
Affects
CVMetalTextureCache::CVMetalTextureCacheCreateTextureFromImage
… - CVMetalTextureCache default
-
Enables CFBase and CFDictionary of objc2-core-foundation
- CVOpenGLBuffer default
-
Enables CFBase and CFDictionary of objc2-core-foundation
Affects
CVOpenGLBufferPool::CVOpenGLBufferPoolCreateOpenGLBuffer
… - CVOpenGLBufferPool default
-
Enables CFBase and CFDictionary of objc2-core-foundation
- CVOpenGLTexture default
-
Enables CFBase of objc2-core-foundation
Affects
CVOpenGLTextureCache::CVOpenGLTextureCacheCreateTextureFromImage
… - CVOpenGLTextureCache default
-
Enables CFBase and CFDictionary of objc2-core-foundation
- CVPixelBuffer default = bitflags
-
Enables CFArray, CFBase and CFDictionary of objc2-core-foundation
Affects
CVPixelFormatDescription::CVFillExtendedPixelsCallBack
,CVPixelFormatDescription::CVFillExtendedPixelsCallBackData
,CVPixelBufferIOSurface::CVPixelBufferGetIOSurface
,CVPixelBufferPool::CVPixelBufferPoolCreatePixelBuffer
,CVPixelBufferPool::CVPixelBufferPoolCreatePixelBufferWithAuxAttributes
,CVPixelBufferIOSurface::CVPixelBufferCreateWithIOSurface
… - CVPixelBufferIOSurface default
-
Enables CFBase and CFDictionary of objc2-core-foundation
- CVPixelBufferPool default = bitflags
-
Enables CFBase and CFDictionary of objc2-core-foundation
- CVPixelFormatDescription default
-
Enables CFArray, CFBase and CFDictionary of objc2-core-foundation
- CVReturn default
-
Affects
CVDisplayLink::CVDisplayLinkCreateWithActiveCGDisplays
,CVDisplayLink::CVDisplayLinkStart
,CVDisplayLink::CVDisplayLinkStop
,CVOpenGLBufferPool::CVOpenGLBufferPoolCreate
,CVPixelBuffer::CVPixelBufferCreateResolvedAttributesDictionary
,CVPixelBufferPool::CVPixelBufferPoolCreate
,CVDisplayLink::CVDisplayLinkOutputCallback
,CVDisplayLink::CVDisplayLinkCreateWithCGDisplays
,CVDisplayLink::CVDisplayLinkCreateWithOpenGLDisplayMask
,CVDisplayLink::CVDisplayLinkCreateWithCGDisplay
,CVDisplayLink::CVDisplayLinkSetCurrentCGDisplay
,CVDisplayLink::CVDisplayLinkSetOutputCallback
,CVDisplayLink::CVDisplayLinkGetCurrentTime
,CVDisplayLink::CVDisplayLinkTranslateTime
,CVDisplayLink::CVDisplayLinkOutputHandler
,CVDisplayLink::CVDisplayLinkSetOutputHandler
,CVMetalBufferCache::CVMetalBufferCacheCreate
,CVMetalTextureCache::CVMetalTextureCacheCreate
,CVOpenGLBuffer::CVOpenGLBufferCreate
,CVPixelBuffer::CVPixelBufferCreate
…