|
const char * | name |
| Name of the codec implementation. More...
|
|
const char * | long_name |
| Descriptive name for the codec, meant to be more human readable than name. More...
|
|
enum AVMediaType | type |
|
enum AVCodecID | id |
|
int | capabilities |
| Codec capabilities. More...
|
|
const AVRational * | supported_framerates |
| array of supported framerates, or NULL if any, array is terminated by {0,0} More...
|
|
enum AVPixelFormat * | pix_fmts |
| array of supported pixel formats, or NULL if unknown, array is terminated by -1 More...
|
|
const int * | supported_samplerates |
| array of supported audio samplerates, or NULL if unknown, array is terminated by 0 More...
|
|
enum AVSampleFormat * | sample_fmts |
| array of supported sample formats, or NULL if unknown, array is terminated by -1 More...
|
|
const uint64_t * | channel_layouts |
| array of support channel layouts, or NULL if unknown. array is terminated by 0 More...
|
|
uint8_t | max_lowres |
| maximum value for lowres supported by the decoder, no direct access, use av_codec_get_max_lowres() More...
|
|
const AVClass * | priv_class |
| AVClass for the private context. More...
|
|
const AVProfile * | profiles |
| array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN} More...
|
|
int | priv_data_size |
|
struct AVCodec * | next |
|
const AVCodecDefault * | defaults |
| Private codec-specific defaults. More...
|
|
void(* | init_static_data )(struct AVCodec *codec) |
| Initialize codec static data, called from avcodec_register(). More...
|
|
int(* | init )(AVCodecContext *) |
|
int(* | encode_sub )(AVCodecContext *, uint8_t *buf, int buf_size, const struct AVSubtitle *sub) |
|
int(* | encode2 )(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
| Encode data to an AVPacket. More...
|
|
int(* | decode )(AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt) |
|
int(* | close )(AVCodecContext *) |
|
void(* | flush )(AVCodecContext *) |
| Flush buffers. More...
|
|
int | caps_internal |
| Internal codec capabilities. More...
|
|
|
int(* | init_thread_copy )(AVCodecContext *) |
| If defined, called on thread contexts when they are created. More...
|
|
int(* | update_thread_context )(AVCodecContext *dst, const AVCodecContext *src) |
| Copy necessary context variables from a previous thread context to the current one. More...
|
|
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().
dst and src will (rarely) point to the same context, in which case memcpy should be skipped.
Definition at line 3527 of file avcodec.h.