pub type aom_codec_iface_t = aom_codec_iface;
Expand description

Codec interface structure.

Contains function pointers and other data private to the codec implementation. This structure is opaque to the application. Common functions used with this structure:

  • aom_codec_iface_name(aom_codec_iface_t *iface): get the name of the codec
  • aom_codec_get_caps(aom_codec_iface_t *iface): returns the capabilities of the codec
  • aom_codec_enc_config_default: generate the default config for initializing the encoder (see documention in aom_encoder.h)
  • aom_codec_dec_init, aom_codec_enc_init: initialize the codec context structure (see documentation on aom_codec_ctx).

To get access to the AV1 encoder and decoder, use aom_codec_av1_cx() and aom_codec_av1_dx().