pub fn h264_reference_level(level: u32, width: u32, height: u32) -> u32Expand description
The level an x264 session declares so its decoded picture buffer holds REFERENCE_FRAMES:
the lowest from level up to 5.2 whose buffer admits them at width x height, else 5.2,
or level itself above 5.2.