#[repr(C)]
pub struct AVStream {
Show 61 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 info: *mut AVStream__bindgen_ty_1, 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 last_in_packet_buffer: *mut AVPacketList, pub probe_data: AVProbeData, pub pts_buffer: [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 program_num: c_int, pub pmt_version: c_int, pub pmt_stream_idx: c_int, pub interleaver_chunk_size: i64, pub interleaver_chunk_duration: i64, pub request_probe: c_int, pub skip_to_keyframe: c_int, pub skip_samples: c_int, pub start_skip_samples: i64, pub first_discard_sample: i64, pub last_discard_sample: i64, pub nb_decoded_frames: c_int, pub mux_ts_offset: i64, pub pts_wrap_reference: i64, pub pts_wrap_behavior: c_int, pub update_initial_durations_done: c_int, pub pts_reorder_error: [i64; 17], pub pts_reorder_error_count: [u8; 17], pub last_dts_for_order_check: i64, pub dts_ordered: u8, pub dts_misordered: u8, pub inject_global_side_data: c_int, pub display_aspect_ratio: AVRational, pub internal: *mut AVStreamInternal,
}

Fields

index: c_intid: c_intcodec: *mut AVCodecContextpriv_data: *mut c_voidtime_base: AVRationalstart_time: i64duration: i64nb_frames: i64disposition: c_intdiscard: AVDiscardsample_aspect_ratio: AVRationalmetadata: *mut AVDictionaryavg_frame_rate: AVRationalattached_pic: AVPacketside_data: *mut AVPacketSideDatanb_side_data: c_intevent_flags: c_intr_frame_rate: AVRationalrecommended_encoder_configuration: *mut c_charcodecpar: *mut AVCodecParametersinfo: *mut AVStream__bindgen_ty_1pts_wrap_bits: c_intfirst_dts: i64cur_dts: i64last_IP_pts: i64last_IP_duration: c_intprobe_packets: c_intcodec_info_nb_frames: c_intneed_parsing: AVStreamParseTypeparser: *mut AVCodecParserContextlast_in_packet_buffer: *mut AVPacketListprobe_data: AVProbeDatapts_buffer: [i64; 17]index_entries: *mut AVIndexEntrynb_index_entries: c_intindex_entries_allocated_size: c_uintstream_identifier: c_intprogram_num: c_intpmt_version: c_intpmt_stream_idx: c_intinterleaver_chunk_size: i64interleaver_chunk_duration: i64request_probe: c_intskip_to_keyframe: c_intskip_samples: c_intstart_skip_samples: i64first_discard_sample: i64last_discard_sample: i64nb_decoded_frames: c_intmux_ts_offset: i64pts_wrap_reference: i64pts_wrap_behavior: c_intupdate_initial_durations_done: c_intpts_reorder_error: [i64; 17]pts_reorder_error_count: [u8; 17]last_dts_for_order_check: i64dts_ordered: u8dts_misordered: u8inject_global_side_data: c_intdisplay_aspect_ratio: AVRationalinternal: *mut AVStreamInternal

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

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.