[][src]Struct ffmpeg_dev::sys::Picture

#[repr(C)]
pub struct Picture {
    pub f: *mut AVFrame,
    pub tf: ThreadFrame,
    pub qscale_table_buf: *mut AVBufferRef,
    pub qscale_table: *mut i8,
    pub motion_val_buf: [*mut AVBufferRef; 2],
    pub motion_val: [*mut [c_short; 2]; 2],
    pub mb_type_buf: *mut AVBufferRef,
    pub mb_type: *mut u32,
    pub mbskip_table_buf: *mut AVBufferRef,
    pub mbskip_table: *mut u8,
    pub ref_index_buf: [*mut AVBufferRef; 2],
    pub ref_index: [*mut i8; 2],
    pub mb_var_buf: *mut AVBufferRef,
    pub mb_var: *mut u16,
    pub mc_mb_var_buf: *mut AVBufferRef,
    pub mc_mb_var: *mut u16,
    pub alloc_mb_width: c_int,
    pub alloc_mb_height: c_int,
    pub mb_mean_buf: *mut AVBufferRef,
    pub mb_mean: *mut u8,
    pub hwaccel_priv_buf: *mut AVBufferRef,
    pub hwaccel_picture_private: *mut c_void,
    pub field_picture: c_int,
    pub mb_var_sum: i64,
    pub mc_mb_var_sum: i64,
    pub b_frame_score: c_int,
    pub needs_realloc: c_int,
    pub reference: c_int,
    pub shared: c_int,
    pub encoding_error: [u64; 8],
}

Picture.

Fields

f: *mut AVFrametf: ThreadFrameqscale_table_buf: *mut AVBufferRefqscale_table: *mut i8motion_val_buf: [*mut AVBufferRef; 2]motion_val: [*mut [c_short; 2]; 2]mb_type_buf: *mut AVBufferRefmb_type: *mut u32

< types and macros are defined in mpegutils.h

mbskip_table_buf: *mut AVBufferRefmbskip_table: *mut u8ref_index_buf: [*mut AVBufferRef; 2]ref_index: [*mut i8; 2]mb_var_buf: *mut AVBufferRefmb_var: *mut u16

< Table for MB variances

mc_mb_var_buf: *mut AVBufferRefmc_mb_var: *mut u16

< Table for motion compensated MB variances

alloc_mb_width: c_int

< mb_width used to allocate tables

alloc_mb_height: c_int

< mb_height used to allocate tables

mb_mean_buf: *mut AVBufferRefmb_mean: *mut u8

< Table for MB luminance

hwaccel_priv_buf: *mut AVBufferRefhwaccel_picture_private: *mut c_void

< Hardware accelerator private data

field_picture: c_int

< whether or not the picture was encoded in separate fields

mb_var_sum: i64

< sum of MB variance for current frame

mc_mb_var_sum: i64

< motion compensated MB variance for current frame

b_frame_score: c_intneeds_realloc: c_int

< Picture needs to be reallocated (eg due to a frame size change)

reference: c_intshared: c_intencoding_error: [u64; 8]

Trait Implementations

impl Clone for Picture[src]

impl Copy for Picture[src]

impl Debug for Picture[src]

Auto Trait Implementations

impl !Send for Picture

impl !Sync for Picture

impl Unpin for Picture

impl UnwindSafe for Picture

impl RefUnwindSafe for Picture

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

The type returned in the event of a conversion error.

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.

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

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

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