pub fn image_format_plane_byte_offset_2(
image_format: &ImageFormat,
plane: u32,
) -> Result<u32, Error>
Expand description
Returns the byte offset for the given plane.
Returns an error if the plane
is unsupported or a valid offset can’t be generated from
image_format
.