Struct mp4parse_capi::Mp4parseAvifInfo
source · #[repr(C)]pub struct Mp4parseAvifInfo {Show 20 fields
pub premultiplied_alpha: bool,
pub major_brand: [u8; 4],
pub unsupported_features_bitfield: u32,
pub spatial_extents: *const ImageSpatialExtentsProperty,
pub nclx_colour_information: *const NclxColourInformation,
pub icc_colour_information: Mp4parseByteData,
pub image_rotation: ImageRotation,
pub image_mirror: *const ImageMirror,
pub pixel_aspect_ratio: *const PixelAspectRatio,
pub has_primary_item: bool,
pub primary_item_bit_depth: u8,
pub has_alpha_item: bool,
pub alpha_item_bit_depth: u8,
pub has_sequence: bool,
pub loop_mode: Mp4parseAvifLoopMode,
pub loop_count: u64,
pub color_track_id: u32,
pub color_track_bit_depth: u8,
pub alpha_track_id: u32,
pub alpha_track_bit_depth: u8,
}
Fields§
§premultiplied_alpha: bool
§major_brand: [u8; 4]
§unsupported_features_bitfield: u32
§spatial_extents: *const ImageSpatialExtentsProperty
The size of the image; should never be null unless using permissive parsing
nclx_colour_information: *const NclxColourInformation
§icc_colour_information: Mp4parseByteData
§image_rotation: ImageRotation
§image_mirror: *const ImageMirror
§pixel_aspect_ratio: *const PixelAspectRatio
§has_primary_item: bool
Whether there is a pitm
reference to the color image present.
primary_item_bit_depth: u8
Bit depth for the item referenced by pitm
, or 0 if values are inconsistent.
has_alpha_item: bool
Whether there is an auxl
reference to the pitm
-accompanying
alpha image present.
alpha_item_bit_depth: u8
Bit depth for the alpha item used by the pitm
, or 0 if values are inconsistent.
has_sequence: bool
Whether there is a sequence. Can be true with no primary image.
loop_mode: Mp4parseAvifLoopMode
Indicates whether the EditListBox requests that the image be looped.
loop_count: u64
Number of times to loop the animation during playback.
The duration of the animation specified in elst
must be looped to fill the
duration of the color track. If the resulting loop count is not an integer,
then it will be ceiled to play past and fill the entire track’s duration.
color_track_id: u32
The color track’s ID, which must be valid if has_sequence is true.
color_track_bit_depth: u8
§alpha_track_id: u32
The track ID of the alpha track, will be 0 if no alpha track is present.
alpha_track_bit_depth: u8