Struct ffmpeg::ffmpeg::AVCodecParameters
source · #[repr(C)]pub struct AVCodecParameters {Show 30 fields
pub codec_type: c_int,
pub codec_id: c_uint,
pub codec_tag: u32,
pub extradata: *mut u8,
pub extradata_size: c_int,
pub format: c_int,
pub bit_rate: i64,
pub bits_per_coded_sample: c_int,
pub bits_per_raw_sample: c_int,
pub profile: c_int,
pub level: c_int,
pub width: c_int,
pub height: c_int,
pub sample_aspect_ratio: AVRational,
pub field_order: c_uint,
pub color_range: c_uint,
pub color_primaries: c_uint,
pub color_trc: c_uint,
pub color_space: c_uint,
pub chroma_location: c_uint,
pub video_delay: c_int,
pub channel_layout: u64,
pub channels: c_int,
pub sample_rate: c_int,
pub block_align: c_int,
pub frame_size: c_int,
pub initial_padding: c_int,
pub trailing_padding: c_int,
pub seek_preroll: c_int,
pub ch_layout: AVChannelLayout,
}
Fields§
§codec_type: c_int
§codec_id: c_uint
§codec_tag: u32
§extradata: *mut u8
§extradata_size: c_int
§format: c_int
§bit_rate: i64
§bits_per_coded_sample: c_int
§bits_per_raw_sample: c_int
§profile: c_int
§level: c_int
§width: c_int
§height: c_int
§sample_aspect_ratio: AVRational
§field_order: c_uint
§color_range: c_uint
§color_primaries: c_uint
§color_trc: c_uint
§color_space: c_uint
§chroma_location: c_uint
§video_delay: c_int
§channel_layout: u64
§channels: c_int
§sample_rate: c_int
§block_align: c_int
§frame_size: c_int
§initial_padding: c_int
§trailing_padding: c_int
§seek_preroll: c_int
§ch_layout: AVChannelLayout
Trait Implementations§
source§impl Clone for AVCodecParameters
impl Clone for AVCodecParameters
source§fn clone(&self) -> AVCodecParameters
fn clone(&self) -> AVCodecParameters
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 more