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