Skip to main content

orient_i420

Function orient_i420 

Source
pub fn orient_i420(src: &I420View<'_>, o: Orientation, out: &mut I420Buffer)
Expand description

Apply o to src, producing a tightly packed upright copy in out. The chroma planes of the rotated picture are exactly the rotated chroma planes (odd-turn chroma dimensions transpose with them), so each plane is oriented independently.