Struct ffmpeg_sys::AVFrame[][src]

#[repr(C)]
pub struct AVFrame {
Show 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,
}

Fields

data: [*mut u8; 8]linesize: [c_int; 8]extended_data: *mut *mut u8width: c_intheight: c_intnb_samples: c_intformat: c_intkey_frame: c_intpict_type: AVPictureTypesample_aspect_ratio: AVRationalpts: i64pkt_pts: i64pkt_dts: i64coded_picture_number: c_intdisplay_picture_number: c_intquality: c_intopaque: *mut c_voiderror: [u64; 8]repeat_pict: c_intinterlaced_frame: c_inttop_field_first: c_intpalette_has_changed: c_intreordered_opaque: i64sample_rate: c_intchannel_layout: u64buf: [*mut AVBufferRef; 8]extended_buf: *mut *mut AVBufferRefnb_extended_buf: c_intside_data: *mut *mut AVFrameSideDatanb_side_data: c_intflags: c_intcolor_range: AVColorRangecolor_primaries: AVColorPrimariescolor_trc: AVColorTransferCharacteristiccolorspace: AVColorSpacechroma_location: AVChromaLocationbest_effort_timestamp: i64pkt_pos: i64pkt_duration: i64metadata: *mut AVDictionarydecode_error_flags: c_intchannels: c_intpkt_size: c_intqscale_table: *mut i8qstride: c_intqscale_type: c_intqp_table_buf: *mut AVBufferRefhw_frames_ctx: *mut AVBufferRefopaque_ref: *mut AVBufferRefcrop_top: usizecrop_bottom: usizecrop_left: usizecrop_right: usizeprivate_ref: *mut AVBufferRef

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)

recently added

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.