#[repr(C)]pub struct AVCodecParameters {Show 31 fields
pub codec_type: AVMediaType,
pub codec_id: AVCodecID,
pub codec_tag: u32,
pub extradata: *mut u8,
pub extradata_size: c_int,
pub coded_side_data: *mut AVPacketSideData,
pub nb_coded_side_data: 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 framerate: AVRational,
pub field_order: AVFieldOrder,
pub color_range: AVColorRange,
pub color_primaries: AVColorPrimaries,
pub color_trc: AVColorTransferCharacteristic,
pub color_space: AVColorSpace,
pub chroma_location: AVChromaLocation,
pub video_delay: c_int,
pub ch_layout: AVChannelLayout,
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,
}
Fields§
§codec_type: AVMediaType
§codec_id: AVCodecID
§codec_tag: u32
§extradata: *mut u8
§extradata_size: c_int
§coded_side_data: *mut AVPacketSideData
§nb_coded_side_data: 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
§framerate: AVRational
§field_order: AVFieldOrder
§color_range: AVColorRange
§color_primaries: AVColorPrimaries
§color_trc: AVColorTransferCharacteristic
§color_space: AVColorSpace
§chroma_location: AVChromaLocation
§video_delay: c_int
§ch_layout: AVChannelLayout
§sample_rate: c_int
§block_align: c_int
§frame_size: c_int
§initial_padding: c_int
§trailing_padding: c_int
§seek_preroll: 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 Freeze for AVCodecParameters
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