Function vizia_core::vg::yuva_info::plane_dimensions
pub fn plane_dimensions(
image_dimensions: impl Into<ISize>,
config: SkYUVAInfo_PlaneConfig,
subsampling: Subsampling,
origin: EncodedOrigin,
) -> Vec<ISize>
Expand description
Given image dimensions, a planer configuration, subsampling, and origin, determine the expected size of each plane. Returns the expected planes. The input image dimensions are as displayed (after the planes have been transformed to the intended display orientation). The plane dimensions are output as the planes are stored in memory (may be rotated from image dimensions).