Struct avif_parse::AvifData
source · [−]pub struct AvifData {
pub primary_item: TryVec<u8>,
pub alpha_item: Option<TryVec<u8>>,
pub premultiplied_alpha: bool,
}Fields
primary_item: TryVec<u8>AV1 data for the color channels.
The collected data indicated by the pitm box, See ISO 14496-12:2015 § 8.11.4
alpha_item: Option<TryVec<u8>>AV1 data for alpha channel.
Associated alpha channel for the primary item, if any
premultiplied_alpha: boolIf true, divide RGB values by the alpha value.
See prem in MIAF § 7.3.5.2