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 AVClass
§internal: *mut AVHWFramesInternal
§device_ref: *mut AVBufferRef
§device_ctx: *mut AVHWDeviceContext
§hwctx: *mut c_void
§free: Option<unsafe extern "C" fn(ctx: *mut AVHWFramesContext)>
§user_opaque: *mut c_void
§pool: *mut AVBufferPool
§initial_pool_size: c_int
§format: AVPixelFormat
§sw_format: AVPixelFormat
§width: c_int
§height: c_int
Trait Implementations§
source§impl Clone for AVHWFramesContext
impl Clone for AVHWFramesContext
source§fn clone(&self) -> AVHWFramesContext
fn clone(&self) -> AVHWFramesContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AVHWFramesContext
impl Debug for AVHWFramesContext
source§impl PartialEq for AVHWFramesContext
impl PartialEq for AVHWFramesContext
source§fn 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 ==
.impl Copy for AVHWFramesContext
impl Eq for AVHWFramesContext
impl StructuralPartialEq for AVHWFramesContext
Auto Trait Implementations§
impl Freeze for AVHWFramesContext
impl RefUnwindSafe for AVHWFramesContext
impl !Send for AVHWFramesContext
impl !Sync for AVHWFramesContext
impl Unpin for AVHWFramesContext
impl UnwindSafe for AVHWFramesContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more