#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.