#[repr(C)]
pub struct AVFrame {Show 54 fields
pub data: [*mut u8; 8],
pub linesize: [c_int; 8],
pub extended_data: *mut *mut u8,
pub width: c_int,
pub height: c_int,
pub nb_samples: c_int,
pub format: c_int,
pub key_frame: c_int,
pub pict_type: AVPictureType,
pub sample_aspect_ratio: AVRational,
pub pts: i64,
pub pkt_pts: i64,
pub pkt_dts: i64,
pub coded_picture_number: c_int,
pub display_picture_number: c_int,
pub quality: c_int,
pub opaque: *mut c_void,
pub error: [u64; 8],
pub repeat_pict: c_int,
pub interlaced_frame: c_int,
pub top_field_first: c_int,
pub palette_has_changed: c_int,
pub reordered_opaque: i64,
pub sample_rate: c_int,
pub channel_layout: u64,
pub buf: [*mut AVBufferRef; 8],
pub extended_buf: *mut *mut AVBufferRef,
pub nb_extended_buf: c_int,
pub side_data: *mut *mut AVFrameSideData,
pub nb_side_data: c_int,
pub flags: c_int,
pub color_range: AVColorRange,
pub color_primaries: AVColorPrimaries,
pub color_trc: AVColorTransferCharacteristic,
pub colorspace: AVColorSpace,
pub chroma_location: AVChromaLocation,
pub best_effort_timestamp: i64,
pub pkt_pos: i64,
pub pkt_duration: i64,
pub metadata: *mut AVDictionary,
pub decode_error_flags: c_int,
pub channels: c_int,
pub pkt_size: c_int,
pub qscale_table: *mut i8,
pub qstride: c_int,
pub qscale_type: c_int,
pub qp_table_buf: *mut AVBufferRef,
pub hw_frames_ctx: *mut AVBufferRef,
pub opaque_ref: *mut AVBufferRef,
pub crop_top: usize,
pub crop_bottom: usize,
pub crop_left: usize,
pub crop_right: usize,
pub private_ref: *mut AVBufferRef,
}
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.