Codec capabilities. see CODEC_CAP_*
Internal codec capabilities. See FF_CODEC_CAP_* in internal.h
< array of support channel layouts, or NULL if unknown. array is terminated by 0
Private codec-specific defaults.
Encode data to an AVPacket.
Flush buffers. Will be called when seeking
Initialize codec static data, called from avcodec_register().
If defined, called on thread contexts when they are created. If the codec allocates writable tables in init(), re-allocate them here. priv_data will be set to a copy of the original.
Descriptive name for the codec, meant to be more human readable than name. You should use the NULL_IF_CONFIG_SMALL() macro to define it.
< maximum value for lowres supported by the decoder, no direct access, use av_codec_get_max_lowres()
Name of the codec implementation. The name is globally unique among encoders and among decoders (but an encoder and a decoder can share the same name). This is the primary way to find a codec from the user perspective.
< array of supported pixel formats, or NULL if unknown, array is terminated by -1
< AVClass for the private context
No fields below this line are part of the public API. They may not be used outside of libavcodec and can be changed and removed at will. New public fields should be added right above. ****************************************************************
< array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN}
< array of supported sample formats, or NULL if unknown, array is terminated by -1
< array of supported framerates, or NULL if any, array is terminated by {0,0}
< array of supported audio samplerates, or NULL if unknown, array is terminated by 0
Copy necessary context variables from a previous thread context to the current one. If not defined, the next thread will start automatically; otherwise, the codec must call ff_thread_finish_setup().
AVCodec.