#[repr(C)]pub struct AVHWFramesContext {
pub av_class: *const AVClass,
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
§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
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