Function rsmpeg::ffi::av_hwdevice_get_hwframe_constraints[][src]

pub unsafe extern "C" fn av_hwdevice_get_hwframe_constraints(
    ref_: *mut AVBufferRef,
    hwconfig: *const c_void
) -> *mut AVHWFramesConstraints
Expand description

Get the constraints on HW frames given a device and the HW-specific configuration to be used with that device. If no HW-specific configuration is provided, returns the maximum possible capabilities of the device.

@param ref a reference to the associated AVHWDeviceContext. @param hwconfig a filled HW-specific configuration structure, or NULL to return the maximum possible capabilities of the device. @return AVHWFramesConstraints structure describing the constraints on the device, or NULL if not available.