Cargo Features

[dependencies]
objc2-video-toolbox = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "block2", "objc2", "objc2-core-graphics", "objc2-core-media", "objc2-core-video", "VTBase", "VTCompressionProperties", "VTCompressionSession", "VTDecompressionProperties", "VTDecompressionSession", "VTErrors", "VTFrameSilo", "VTHDRPerFrameMetadataGenerationSession", "VTMultiPassStorage", "VTPixelRotationSession", "VTPixelTransferSession", "VTProfessionalVideoWorkflow", "VTRAWProcessingProperties", "VTRAWProcessingSession", "VTUtilities", "VTVideoEncoderList"] }
default = VTBase, VTCompressionProperties, VTCompressionSession, VTDecompressionProperties, VTDecompressionSession, VTErrors, VTFrameSilo, VTHDRPerFrameMetadataGenerationSession, VTMultiPassStorage, VTPixelRotationProperties, VTPixelRotationSession, VTPixelTransferProperties, VTPixelTransferSession, VTProfessionalVideoWorkflow, VTRAWProcessingProperties, VTRAWProcessingSession, VTSession, VTUtilities, VTVideoEncoderList, bitflags, block2, objc2, objc2-core-graphics, objc2-core-media, objc2-core-video, std

These default features are set whenever objc2-video-toolbox is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std
bitflags default VTCompressionSession VTErrors

Enables bitflags

block2 default

Enables block2

Affects VTRAWProcessingSession::VTRAWProcessingParameterChangeHandler, VTRAWProcessingSession::VTRAWProcessingSessionSetParameterChangedHander, VTFrameSilo::VTFrameSiloCallBlockForEachSampleBuffer, VTRAWProcessingSession::VTRAWProcessingOutputHandler, VTRAWProcessingSession::VTRAWProcessingSessionProcessFrame, VTCompressionSession::VTCompressionOutputHandler, VTCompressionSession::VTCompressionSessionEncodeMultiImageFrameWithOutputHandler, VTCompressionSession::VTCompressionSessionEncodeFrameWithOutputHandler, VTDecompressionSession::VTDecompressionOutputHandler, VTDecompressionSession::VTDecompressionSessionDecodeFrameWithOutputHandler, VTDecompressionSession::VTDecompressionMultiImageCapableOutputHandler, VTDecompressionSession::VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler

objc2 default

Enables objc2, objc2 of objc2-core-foundation, optional objc2-core-graphics, optional objc2-core-media, and optional objc2-core-video

objc2-core-graphics default

Enables objc2-core-graphics

Affects VTUtilities::VTCreateCGImageFromCVPixelBuffer

objc2-core-media default

Enables objc2-core-media

Affects VTCompressionSession::VTCompressionSessionCompleteFrames, VTCompressionSession::VTCompressionSessionGetTimeRangesForNextPass, VTDecompressionSession::VTDecompressionSessionCanAcceptFormatDescription, VTDecompressionSession::VTIsHardwareDecodeSupported, VTFrameSilo::VTFrameSiloCreate, VTFrameSilo::VTFrameSiloAddSampleBuffer, VTFrameSilo::VTFrameSiloSetTimeRangesForNextPass, VTFrameSilo::VTFrameSiloCallFunctionForEachSampleBuffer, VTMultiPassStorage::VTMultiPassStorageCreate, VTRAWProcessingSession::VTRAWProcessingSessionCreate, VTUtilities::VTRegisterSupplementalVideoDecoderIfAvailable, VTUtilities::VTCopyVideoDecoderExtensionProperties, VTUtilities::VTCopyRAWProcessorExtensionProperties, VTVideoEncoderList::VTCopySupportedPropertyDictionaryForEncoder, VTCompressionSession::VTCompressionOutputCallback, VTCompressionSession::VTCompressionSessionCreate, VTCompressionSession::VTCompressionSessionEncodeMultiImageFrame, VTDecompressionSession::VTDecompressionSessionDecodeFrame, VTDecompressionSession::VTDecompressionOutputMultiImageCallback, VTDecompressionSession::VTDecompressionSessionSetMultiImageCallback

objc2-core-video default

Enables objc2-core-video

Affects VTCompressionSession::VTCompressionSessionGetPixelBufferPool, VTDecompressionSession::VTDecompressionSessionCopyBlackPixelBuffer, VTHDRPerFrameMetadataGenerationSession::VTHDRPerFrameMetadataGenerationSessionAttachMetadata, VTPixelRotationSession::VTPixelRotationSessionRotateImage, VTPixelTransferSession::VTPixelTransferSessionTransferImage, VTRAWProcessingSession::VTRAWProcessingOutputHandler, VTRAWProcessingSession::VTRAWProcessingSessionProcessFrame, VTUtilities::VTCreateCGImageFromCVPixelBuffer, VTCompressionSession::VTCompressionSessionEncodeFrame, VTDecompressionSession::VTDecompressionOutputCallback, VTDecompressionSession::VTDecompressionOutputCallbackRecord, VTDecompressionSession::VTDecompressionSessionCreate, VTCompressionSession::VTCompressionSessionEncodeFrameWithOutputHandler, VTDecompressionSession::VTDecompressionOutputHandler, VTDecompressionSession::VTDecompressionSessionDecodeFrameWithOutputHandler, VTDecompressionSession::VTDecompressionMultiImageCapableOutputHandler, VTDecompressionSession::VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler

VTBase default
VTCompressionProperties default

Enables CFBase of objc2-core-foundation

VTCompressionSession default = bitflags

Enables CFBase and CFDictionary of objc2-core-foundation

VTDecompressionProperties default

Enables CFBase of objc2-core-foundation

VTDecompressionSession default

Enables CFBase and CFDictionary of objc2-core-foundation

VTErrors default = bitflags

Affects VTCompressionSession::VTCompressionOutputCallback, VTCompressionSession::VTCompressionSessionCreate, VTCompressionSession::VTCompressionSessionEncodeMultiImageFrame, VTDecompressionSession::VTDecompressionSessionDecodeFrame, VTDecompressionSession::VTDecompressionOutputMultiImageCallback, VTDecompressionSession::VTDecompressionSessionSetMultiImageCallback, VTCompressionSession::VTCompressionSessionEncodeFrame, VTCompressionSession::VTCompressionOutputHandler, VTCompressionSession::VTCompressionSessionEncodeMultiImageFrameWithOutputHandler, VTDecompressionSession::VTDecompressionOutputCallback, VTDecompressionSession::VTDecompressionOutputCallbackRecord, VTDecompressionSession::VTDecompressionSessionCreate, VTCompressionSession::VTCompressionSessionEncodeFrameWithOutputHandler, VTDecompressionSession::VTDecompressionOutputHandler, VTDecompressionSession::VTDecompressionSessionDecodeFrameWithOutputHandler, VTDecompressionSession::VTDecompressionMultiImageCapableOutputHandler, VTDecompressionSession::VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler

VTFrameSilo default

Enables CFBase, CFDictionary and CFURL of objc2-core-foundation

VTHDRPerFrameMetadataGenerationSession default

Enables CFBase and CFDictionary of objc2-core-foundation

VTMultiPassStorage default

Enables CFBase, CFDictionary and CFURL of objc2-core-foundation

VTPixelRotationProperties VTPixelRotationSession default

Enables CFBase of objc2-core-foundation

VTPixelTransferProperties VTPixelTransferSession default

Enables CFBase of objc2-core-foundation

VTProfessionalVideoWorkflow default
VTRAWProcessingProperties default

Enables CFBase of objc2-core-foundation

VTRAWProcessingSession default

Enables CFArray, CFBase and CFDictionary of objc2-core-foundation

VTSession VTUtilities default

Enables CFBase and CFDictionary of objc2-core-foundation

VTVideoEncoderList default

Enables CFArray, CFBase and CFDictionary of objc2-core-foundation