vdef_encoding_from_str

Function vdef_encoding_from_str 

Source
pub unsafe extern "C" fn vdef_encoding_from_str(
    str_: *const c_char,
) -> vdef_encoding
Expand description

Get an enum vdef_encoding value from a string. Valid strings are only the suffix of the encoding name (eg. ‘H264’). The case is ignored. @param str: encoding name to convert @return the enum vdef_encoding value or VDEF_ENCODING_UNKNOWN if unknown