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.
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.