#[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_char

Printable interface name

iface: *mut aom_codec_iface_t

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.