Function av_get_known_color_name
pub unsafe extern "C" fn av_get_known_color_name(
color_idx: i32,
rgb: *mut *const u8,
) -> *const i8
Expand description
Get the name of a color from the internal table of hard-coded named colors.
This function is meant to enumerate the color names recognized by av_parse_color().
@param color_idx index of the requested color, starting from 0 @param rgb if not NULL, will point to a 3-elements array with the color value in RGB @return the color name string or NULL if color_idx is not in the array