Struct libjxl_sys::JxlFrameHeader [−][src]
#[repr(C)]pub struct JxlFrameHeader { pub duration: u32, pub timecode: u32, pub name_length: u32, pub is_last: c_int, }
The header of one displayed frame.
Fields
duration: u32
How long to wait after rendering in ticks. The duration in seconds of a tick is given by tps_numerator and tps_denominator in JxlAnimationHeader.
timecode: u32
SMPTE timecode of the current frame in form 0xHHMMSSFF, or 0. The bits are interpreted from most-significant to least-significant as hour, minute, second, and frame. If timecode is nonzero, it is strictly larger than that of a previous frame with nonzero duration. These values are only available if have_timecodes in JxlAnimationHeader is JXL_TRUE. This value is only used if have_timecodes in JxlAnimationHeader is JXL_TRUE.
name_length: u32
Length of the frame name in bytes, or 0 if no name. Excludes null termination character.
is_last: c_int
Indicates this is the last animation frame.
Trait Implementations
impl Clone for JxlFrameHeader
[src]
impl Clone for JxlFrameHeader
[src]fn clone(&self) -> JxlFrameHeader
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for JxlFrameHeader
[src]
impl Copy for JxlFrameHeader
[src]impl Default for JxlFrameHeader
[src]
impl Default for JxlFrameHeader
[src]fn default() -> JxlFrameHeader
[src]
Auto Trait Implementations
impl RefUnwindSafe for JxlFrameHeader
impl RefUnwindSafe for JxlFrameHeader
impl Send for JxlFrameHeader
impl Send for JxlFrameHeader
impl Sync for JxlFrameHeader
impl Sync for JxlFrameHeader
impl Unpin for JxlFrameHeader
impl Unpin for JxlFrameHeader
impl UnwindSafe for JxlFrameHeader
impl UnwindSafe for JxlFrameHeader