Struct mp4parse::AvifContext
source · pub struct AvifContext {
pub premultiplied_alpha: bool,
/* private fields */
}
Fields§
§premultiplied_alpha: bool
If true, divide RGB values by the alpha value.
See prem
in MIAF (ISO 23000-22:2019) § 7.3.5.2
Implementations§
source§impl AvifContext
impl AvifContext
pub fn primary_item_coded_data(&self) -> &[u8] ⓘ
pub fn primary_item_bits_per_channel(&self) -> Result<&[u8]>
pub fn alpha_item_coded_data(&self) -> &[u8] ⓘ
pub fn alpha_item_bits_per_channel(&self) -> Result<&[u8]>
pub fn spatial_extents_ptr(&self) -> Result<*const ImageSpatialExtentsProperty>
pub fn nclx_colour_information_ptr( &self ) -> Result<*const NclxColourInformation>
pub fn icc_colour_information(&self) -> Result<&[u8]>
pub fn image_rotation(&self) -> Result<ImageRotation>
pub fn image_mirror_ptr(&self) -> Result<*const ImageMirror>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AvifContext
impl Send for AvifContext
impl Sync for AvifContext
impl Unpin for AvifContext
impl UnwindSafe for AvifContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more