Struct ffmpeg::ffi::AVCodecParameters
source · #[repr(C)]pub struct AVCodecParameters {Show 33 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,
pub framerate: AVRational,
pub coded_side_data: *mut AVPacketSideData,
pub nb_coded_side_data: c_int,
}
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
§framerate: AVRational
§coded_side_data: *mut AVPacketSideData
§nb_coded_side_data: c_int
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 moreimpl Copy for AVCodecParameters
Auto Trait Implementations§
impl RefUnwindSafe for AVCodecParameters
impl !Send for AVCodecParameters
impl !Sync for AVCodecParameters
impl Unpin for AVCodecParameters
impl UnwindSafe for AVCodecParameters
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