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. (cherry picked from commit b7487f4f)
Showing
想要评论请 注册 或 登录