Function vizia::vg::yuva_info::plane_subsampling_factors
pub fn plane_subsampling_factors(
plane: SkYUVAInfo_PlaneConfig,
subsampling: Subsampling,
plane_index: usize,
) -> (i32, i32)
Expand description
SubsamplingFactors(Subsampling)
if plane_index
refers to a U/V plane and otherwise (1, 1)
if inputs are valid. Invalid inputs consist of incompatible PlaneConfig Subsampling
plane_index
combinations. (0, 0)
is returned for invalid inputs.