Struct ffav_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

impl Clone for AVFrame[src]

fn clone(&self) -> AVFrame[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AVFrame[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl PartialEq<AVFrame> for AVFrame[src]

fn eq(&self, other: &AVFrame) -> bool[src]

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

fn ne(&self, other: &AVFrame) -> bool[src]

This method tests for !=.

impl Copy for AVFrame[src]

impl Eq for AVFrame[src]

impl StructuralEq for AVFrame[src]

impl StructuralPartialEq for AVFrame[src]

Auto Trait Implementations

impl RefUnwindSafe for AVFrame

impl !Send for AVFrame

impl !Sync for AVFrame

impl Unpin for AVFrame

impl UnwindSafe for AVFrame

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.