Struct libaom_sys::aom_codec_ctx
source · [−]#[repr(C)]pub struct aom_codec_ctx {
pub name: *const c_char,
pub iface: *mut aom_codec_iface_t,
pub err: aom_codec_err_t,
pub err_detail: *const c_char,
pub init_flags: aom_codec_flags_t,
pub config: aom_codec_ctx__bindgen_ty_1,
pub priv_: *mut aom_codec_priv_t,
}Expand description
Codec context structure
All codecs \ref MUST support this context structure fully. In general, this data should be considered private to the codec algorithm, and not be manipulated or examined by the calling application. Applications may reference the ‘name’ member to get a printable description of the algorithm.
Fields
name: *const c_charPrintable interface name
iface: *mut aom_codec_iface_tInterface pointers
err: aom_codec_err_tLast returned error
err_detail: *const c_charDetailed info, if available
init_flags: aom_codec_flags_tFlags passed at init time
config: aom_codec_ctx__bindgen_ty_1Configuration pointer aliasing union
priv_: *mut aom_codec_priv_tAlgorithm private storage
Trait Implementations
sourceimpl Clone for aom_codec_ctx
impl Clone for aom_codec_ctx
sourcefn clone(&self) -> aom_codec_ctx
fn clone(&self) -> aom_codec_ctx
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
impl Copy for aom_codec_ctx
Auto Trait Implementations
impl RefUnwindSafe for aom_codec_ctx
impl !Send for aom_codec_ctx
impl !Sync for aom_codec_ctx
impl Unpin for aom_codec_ctx
impl UnwindSafe for aom_codec_ctx
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more