Struct libdav1d_sys::Dav1dDataProps
source · #[repr(C)]pub struct Dav1dDataProps {
pub timestamp: i64,
pub duration: i64,
pub offset: i64,
pub size: usize,
pub user_data: Dav1dUserData,
}
Expand description
Input packet metadata which are copied from the input data used to decode each image into the matching structure of the output image returned back to the user. Since these are metadata fields, they can be used for other purposes than the documented ones, they will still be passed from input data to output picture without being used internally.
Fields§
§timestamp: i64
< container timestamp of input data, INT64_MIN if unknown (default)
duration: i64
< container duration of input data, 0 if unknown (default)
offset: i64
< stream offset of input data, -1 if unknown (default)
size: usize
< packet size, default Dav1dData.sz
user_data: Dav1dUserData
< user-configurable data, default NULL members
Trait Implementations§
source§impl Clone for Dav1dDataProps
impl Clone for Dav1dDataProps
source§fn clone(&self) -> Dav1dDataProps
fn clone(&self) -> Dav1dDataProps
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Dav1dDataProps
impl Debug for Dav1dDataProps
impl Copy for Dav1dDataProps
Auto Trait Implementations§
impl Freeze for Dav1dDataProps
impl RefUnwindSafe for Dav1dDataProps
impl !Send for Dav1dDataProps
impl !Sync for Dav1dDataProps
impl Unpin for Dav1dDataProps
impl UnwindSafe for Dav1dDataProps
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)