VTIsHardwareDecodeSupported

Function VTIsHardwareDecodeSupported 

Source
pub unsafe extern "C-unwind" fn VTIsHardwareDecodeSupported(
    codec_type: CMVideoCodecType,
) -> bool
Available on crate features VTDecompressionSession and objc2-core-media only.
Expand description

Indicates whether the current system supports hardware decode for a given codec

This routine reports whether the current system supports hardware decode. Using this information, clients can make informed decisions regarding remote assets to load, favoring alternate encodings when hardware decode is not supported. This call returning true does not guarantee that hardware decode resources will be available at all times.