Cargo Features
[dependencies]
objc2-video-toolbox = { version = "0.3.1", default-features = false, features = ["std", "alloc", "bitflags", "block2", "objc2", "objc2-core-graphics", "objc2-core-media", "objc2-core-video", "objc2-foundation", "objc2-metal", "VTCompressionProperties", "VTCompressionSession", "VTDecompressionProperties", "VTDecompressionSession", "VTErrors", "VTFrameProcessorConfiguration", "VTFrameProcessorFrame", "VTFrameProcessor_FrameRateConversion", "VTFrameProcessor_OpticalFlow", "VTFrameSilo", "VTHDRPerFrameMetadataGenerationSession", "VTMultiPassStorage", "VTPixelRotationSession", "VTPixelTransferSession", "VTRAWProcessingProperties", "VTRAWProcessingSession", "VTUtilities", "VTVideoEncoderList"] }
- default = VTBase, VTCompressionProperties, VTCompressionSession, VTDecompressionProperties, VTDecompressionSession, VTErrors, VTFrameProcessor, VTFrameProcessorConfiguration, VTFrameProcessorErrors, VTFrameProcessorFrame, VTFrameProcessorParameters, VTFrameProcessor_FrameRateConversion, VTFrameProcessor_MotionBlur, VTFrameProcessor_OpticalFlow, 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, objc2-foundation, objc2-metal, std
-
These default features are set whenever
objc2-video-toolbox
is added without
somewhere in the dependency tree.default-features = false - 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::VTDecompressionMultiImageCapableOutputHandler
,VTDecompressionSession::VTDecompressionSessionDecodeFrameWithOutputHandler
,VTDecompressionSession::VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler
… - objc2 default
-
Enables objc2, objc2 of objc2-core-foundation, optional objc2-core-graphics, optional objc2-core-media, and optional objc2-core-video
Affects
VTFrameProcessorErrors::VTFrameProcessorError
,VTFrameProcessor_FrameRateConversion::VTFrameRateConversionConfigurationQualityPrioritization
,VTFrameProcessor_FrameRateConversion::VTFrameRateConversionConfigurationRevision
,VTFrameProcessor_FrameRateConversion::VTFrameRateConversionParametersSubmissionMode
,VTFrameProcessor_MotionBlur::VTMotionBlurConfigurationQualityPrioritization
,VTFrameProcessor_MotionBlur::VTMotionBlurConfigurationRevision
,VTFrameProcessor_MotionBlur::VTMotionBlurParametersSubmissionMode
,VTFrameProcessor_OpticalFlow::VTOpticalFlowConfigurationQualityPrioritization
,VTFrameProcessor_OpticalFlow::VTOpticalFlowConfigurationRevision
,VTFrameProcessor_OpticalFlow::VTOpticalFlowParametersSubmissionMode
… - 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::VTIsHardwareDecodeSupported
,VTDecompressionSession::VTDecompressionSessionCanAcceptFormatDescription
,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::VTDecompressionOutputMultiImageCallback
,VTDecompressionSession::VTDecompressionSessionDecodeFrame
,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::VTDecompressionMultiImageCapableOutputHandler
,VTDecompressionSession::VTDecompressionSessionDecodeFrameWithOutputHandler
,VTDecompressionSession::VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler
… - objc2-foundation default
-
Enables objc2-foundation
Affects
VTFrameProcessorErrors::VTFrameProcessorErrorDomain
… - objc2-metal default
-
Enables objc2-metal
- VTBase VTCompressionProperties default
- VTCompressionSession default = bitflags
-
Enables CFDictionary of objc2-core-foundation
- VTDecompressionProperties default
- VTDecompressionSession default
-
Enables CFDictionary of objc2-core-foundation
- VTErrors default = bitflags
-
Affects
VTCompressionSession::VTCompressionOutputCallback
,VTCompressionSession::VTCompressionSessionCreate
,VTCompressionSession::VTCompressionSessionEncodeMultiImageFrame
,VTDecompressionSession::VTDecompressionOutputMultiImageCallback
,VTDecompressionSession::VTDecompressionSessionDecodeFrame
,VTDecompressionSession::VTDecompressionSessionSetMultiImageCallback
,VTCompressionSession::VTCompressionOutputHandler
,VTCompressionSession::VTCompressionSessionEncodeFrame
,VTCompressionSession::VTCompressionSessionEncodeMultiImageFrameWithOutputHandler
,VTDecompressionSession::VTDecompressionOutputCallback
,VTDecompressionSession::VTDecompressionOutputCallbackRecord
,VTDecompressionSession::VTDecompressionSessionCreate
,VTCompressionSession::VTCompressionSessionEncodeFrameWithOutputHandler
,VTDecompressionSession::VTDecompressionOutputHandler
,VTDecompressionSession::VTDecompressionMultiImageCapableOutputHandler
,VTDecompressionSession::VTDecompressionSessionDecodeFrameWithOutputHandler
,VTDecompressionSession::VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler
… - VTFrameProcessor VTFrameProcessorConfiguration default
- VTFrameProcessorErrors VTFrameProcessorFrame default
- VTFrameProcessorParameters VTFrameProcessor_FrameRateConversion default
- VTFrameProcessor_MotionBlur VTFrameProcessor_OpticalFlow default
- VTFrameSilo default
-
Enables CFDictionary and CFURL of objc2-core-foundation
- VTHDRPerFrameMetadataGenerationSession default
-
Enables CFDictionary of objc2-core-foundation
- VTMultiPassStorage default
-
Enables CFDictionary and CFURL of objc2-core-foundation
- VTPixelRotationProperties VTPixelRotationSession default
- VTPixelTransferProperties VTPixelTransferSession default
- VTProfessionalVideoWorkflow VTRAWProcessingProperties default
- VTRAWProcessingSession default
-
Enables CFArray and CFDictionary of objc2-core-foundation
- VTSession VTUtilities default
-
Enables CFDictionary of objc2-core-foundation
- VTVideoEncoderList default
-
Enables CFArray and CFDictionary of objc2-core-foundation