#[repr(C)]
pub struct AVStream {Show 41 fields
pub index: c_int,
pub id: c_int,
pub codec: *mut AVCodecContext,
pub priv_data: *mut c_void,
pub time_base: AVRational,
pub start_time: i64,
pub duration: i64,
pub nb_frames: i64,
pub disposition: c_int,
pub discard: AVDiscard,
pub sample_aspect_ratio: AVRational,
pub metadata: *mut AVDictionary,
pub avg_frame_rate: AVRational,
pub attached_pic: AVPacket,
pub side_data: *mut AVPacketSideData,
pub nb_side_data: c_int,
pub event_flags: c_int,
pub r_frame_rate: AVRational,
pub recommended_encoder_configuration: *mut c_char,
pub codecpar: *mut AVCodecParameters,
pub unused: *mut c_void,
pub pts_wrap_bits: c_int,
pub first_dts: i64,
pub cur_dts: i64,
pub last_IP_pts: i64,
pub last_IP_duration: c_int,
pub probe_packets: c_int,
pub codec_info_nb_frames: c_int,
pub need_parsing: AVStreamParseType,
pub parser: *mut AVCodecParserContext,
pub unused7: *mut c_void,
pub unused6: AVProbeData,
pub unused5: [i64; 17],
pub index_entries: *mut AVIndexEntry,
pub nb_index_entries: c_int,
pub index_entries_allocated_size: c_uint,
pub stream_identifier: c_int,
pub unused8: c_int,
pub unused9: c_int,
pub unused10: c_int,
pub internal: *mut AVStreamInternal,
}
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
Read more
This method tests for self and other values to be equal, and is used
by ==.
This method tests for !=. The default implementation is almost always
sufficient, and should not be overridden without very good reason.
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
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.