Struct libaom_sys::aom_codec_ctx
source · #[repr(C)]pub struct aom_codec_ctx {
pub name: *const c_char,
pub iface: *const aom_codec_iface,
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_char
Printable interface name
iface: *const aom_codec_iface
Interface pointers
err: aom_codec_err_t
Last returned error
err_detail: *const c_char
Detailed info, if available
init_flags: aom_codec_flags_t
Flags passed at init time
config: aom_codec_ctx__bindgen_ty_1
Configuration pointer aliasing union
priv_: *mut aom_codec_priv_t
Algorithm private storage
Trait Implementations§
source§impl Clone for aom_codec_ctx
impl Clone for aom_codec_ctx
source§fn clone(&self) -> aom_codec_ctx
fn clone(&self) -> aom_codec_ctx
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 moreimpl 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§
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