Struct libaom_sys::aom_codec_stream_info
source · [−]#[repr(C)]pub struct aom_codec_stream_info {
pub w: c_uint,
pub h: c_uint,
pub is_kf: c_uint,
pub number_spatial_layers: c_uint,
pub number_temporal_layers: c_uint,
pub is_annexb: c_uint,
}
Expand description
Stream properties
This structure is used to query or set properties of the decoded stream.
Fields
w: c_uint
Width (or 0 for unknown/default)
h: c_uint
Height (or 0 for unknown/default)
is_kf: c_uint
Current frame is a keyframe
number_spatial_layers: c_uint
Number of spatial layers
number_temporal_layers: c_uint
Number of temporal layers
is_annexb: c_uint
Is Bitstream in Annex-B format
Trait Implementations
sourceimpl Clone for aom_codec_stream_info
impl Clone for aom_codec_stream_info
sourcefn clone(&self) -> aom_codec_stream_info
fn clone(&self) -> aom_codec_stream_info
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for aom_codec_stream_info
impl Debug for aom_codec_stream_info
impl Copy for aom_codec_stream_info
Auto Trait Implementations
impl RefUnwindSafe for aom_codec_stream_info
impl Send for aom_codec_stream_info
impl Sync for aom_codec_stream_info
impl Unpin for aom_codec_stream_info
impl UnwindSafe for aom_codec_stream_info
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more