fn from_pixel_format(
    fmt: &PixelFormat,
    mask: u64,
    width_range: FormatRange,
    height_range: FormatRange
) -> FormatDesc