Function rsmpeg::ffi::av_hwdevice_hwconfig_alloc[][src]

pub unsafe extern "C" fn av_hwdevice_hwconfig_alloc(
    device_ctx: *mut AVBufferRef
) -> *mut c_void
Expand description

Allocate a HW-specific configuration structure for a given HW device. After use, the user must free all members as required by the specific hardware structure being used, then free the structure itself with av_free().

@param device_ctx a reference to the associated AVHWDeviceContext. @return The newly created HW-specific configuration structure on success or NULL on failure.