hwcontext: Make it easier to work with device types
Adds functions to convert to/from strings and a function to iterate over all supported device types. Also adds a new invalid type AV_HWDEVICE_TYPE_NONE, which acts as a sentinel value.
Showing
Please
register
or
sign in
to comment