kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder

Static kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder 

Source
pub unsafe static kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder: &'static CFString
Available on crate feature VTDecompressionProperties only.
Expand description

If set to kCFBooleanTrue, the VideoToolbox will use a hardware accelerated video decoder if available. If set to kCFBooleanFalse, hardware decode will never be used.

This key is set in the decoderSpecification passed in to VTDecompressionSessionCreate. Set it to kCFBooleanTrue to allow hardware accelerated decode. To prevent hardware decode, this property can be set to kCFBooleanFalse. In MacOS 10.15 and later, hardware decode is enabled in VTDecompressionSessions by default.

See also Apple’s documentation