Skip to main content

profile_ladder

Function profile_ladder 

Source
fn profile_ladder(
    codec: Codec,
    fullcolor: bool,
    bit_depth: u32,
) -> Vec<VAProfile> ⓘ
Expand description

The VA profiles a session opens under, in order of preference: for 8-bit 4:2:0, the ones such a session comes up as; for 4:4:4 or 10 bits, the profile that carries the format, or nothing where the codec has none the session serves. AV1’s main profile carries both of its depths, told apart by the surface format.