Struct ffmpeg_sys_next::AVHWFramesContext
source · [−]#[repr(C)]pub struct AVHWFramesContext {Show 13 fields
pub av_class: *const AVClass,
pub internal: *mut AVHWFramesInternal,
pub device_ref: *mut AVBufferRef,
pub device_ctx: *mut AVHWDeviceContext,
pub hwctx: *mut c_void,
pub free: Option<unsafe extern "C" fn(ctx: *mut AVHWFramesContext)>,
pub user_opaque: *mut c_void,
pub pool: *mut AVBufferPool,
pub initial_pool_size: c_int,
pub format: AVPixelFormat,
pub sw_format: AVPixelFormat,
pub width: c_int,
pub height: c_int,
}Fields
av_class: *const AVClassinternal: *mut AVHWFramesInternaldevice_ref: *mut AVBufferRefdevice_ctx: *mut AVHWDeviceContexthwctx: *mut c_voidfree: Option<unsafe extern "C" fn(ctx: *mut AVHWFramesContext)>user_opaque: *mut c_voidpool: *mut AVBufferPoolinitial_pool_size: c_intformat: AVPixelFormatsw_format: AVPixelFormatwidth: c_intheight: c_intTrait Implementations
sourceimpl Clone for AVHWFramesContext
impl Clone for AVHWFramesContext
sourcefn clone(&self) -> AVHWFramesContext
fn clone(&self) -> AVHWFramesContext
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AVHWFramesContext
impl Debug for AVHWFramesContext
sourceimpl PartialEq<AVHWFramesContext> for AVHWFramesContext
impl PartialEq<AVHWFramesContext> for AVHWFramesContext
sourcefn eq(&self, other: &AVHWFramesContext) -> bool
fn eq(&self, other: &AVHWFramesContext) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AVHWFramesContext) -> bool
fn ne(&self, other: &AVHWFramesContext) -> bool
This method tests for !=.
impl Copy for AVHWFramesContext
impl Eq for AVHWFramesContext
impl StructuralEq for AVHWFramesContext
impl StructuralPartialEq for AVHWFramesContext
Auto Trait Implementations
impl RefUnwindSafe for AVHWFramesContext
impl !Send for AVHWFramesContext
impl !Sync for AVHWFramesContext
impl Unpin for AVHWFramesContext
impl UnwindSafe for AVHWFramesContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more