Array of pointers to hardware configurations supported by the codec, or NULL if no hardware supported. The array is terminated by a NULL pointer.
Decoding only, a comma-separated list of bitstream filters to apply to packets before decoding.
Codec capabilities. see AV_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
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}
Decode API with decoupled packet/frame dataflow. This function is called to get one output frame. It should call ff_decode_get_packet() to obtain input data.
< array of supported sample formats, or NULL if unknown, array is terminated by -1
Encode API with decoupled packet/frame dataflow. The API is the same as the avcodec_ prefixed APIs (avcodec_send_frame() etc.), except that: - never called if the codec is closed or the wrong type, - if AV_CODEC_CAP_DELAY is not set, drain frames are never sent, - only one drain frame is ever passed down,
< 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().
Group name of the codec implementation. This is a short symbolic name of the wrapper backing this codec. A wrapper uses some kind of external implementation for the codec, such as an external library, or a codec implementation provided by the OS or the hardware. If this field is NULL, this is a builtin, libavcodec native codec. If non-NULL, this will be the suffix in AVCodec.name in most cases (usually AVCodec.name will be of the form "<codec_name>_<wrapper_name>").
AVCodec.