pub unsafe extern "C" fn av_hwdevice_ctx_alloc(
type_: u32,
) -> *mut AVBufferRef
Expand description
Allocate an AVHWDeviceContext for a given hardware type.
@param type the type of the hardware device to allocate. @return a reference to the newly created AVHWDeviceContext on success or NULL on failure.