AVCodec Struct Reference

AVCodec. More...

#include <avcodec.h>


Data Fields

const char * name
 Name of the codec implementation.
enum AVMediaType type
enum CodecID id
int priv_data_size
int(* init )(AVCodecContext *)
int(* encode )(AVCodecContext *, uint8_t *buf, int buf_size, void *data)
int(* close )(AVCodecContext *)
int(* decode )(AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt)
int capabilities
 Codec capabilities.
struct AVCodecnext
void(* flush )(AVCodecContext *)
 Flush buffers.
const AVRationalsupported_framerates
 array of supported framerates, or NULL if any, array is terminated by {0,0}
int(* init_thread_copy )(AVCodecContext *)
 If defined, called on thread contexts when they are created.
int(* update_thread_context )(AVCodecContext *dst, const AVCodecContext *src)
 Copy necessary context variables from a previous thread context to the current one.


Detailed Description

AVCodec.

Definition at line 2756 of file avcodec.h.


Field Documentation

const char* AVCodec::name

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.

Definition at line 2763 of file avcodec.h.

Referenced by asf_write_header1(), avcodec_find_decoder_by_name(), avcodec_find_encoder_by_name(), avcodec_string(), choose_sample_fmt(), compute_status(), context_to_name(), ffserver_opt_preset(), find_codec_or_die(), mov_write_video_tag(), show_codecs(), show_stream(), and write_frame().

Definition at line 2766 of file avcodec.h.

Referenced by avcodec_get_context_defaults3(), avcodec_open(), and frame_thread_init().

Referenced by avcodec_open(), and frame_thread_init().

int(* AVCodec::encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data)

Referenced by avcodec_close(), and frame_thread_free().

int(* AVCodec::decode)(AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt)

struct AVCodec* AVCodec::next [read]

Flush buffers.

Will be called when seeking

Referenced by avcodec_flush_buffers().

array of supported framerates, or NULL if any, array is terminated by {0,0}

Definition at line 2782 of file avcodec.h.

Referenced by new_video_stream().


The documentation for this struct was generated from the following file:

Generated on Mon May 2 19:50:32 2011 for FFmpeg by  doxygen 1.5.6