FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVCodecDescriptor Struct Reference

This struct describes the properties of a single codec described by an AVCodecID. More...

#include <avcodec.h>

Data Fields

enum AVCodecID id
 
enum AVMediaType type
 
const char * name
 Name of the codec described by this descriptor. More...
 
const char * long_name
 A more descriptive name for this codec. More...
 
int props
 Codec properties, a combination of AV_CODEC_PROP_* flags. More...
 
const char *const * mime_types
 MIME type(s) associated with the codec. More...
 
const struct AVProfileprofiles
 If non-NULL, an array of profiles recognized for this codec. More...
 

Detailed Description

This struct describes the properties of a single codec described by an AVCodecID.

See Also
avcodec_descriptor_get()

Definition at line 695 of file avcodec.h.

Field Documentation

enum AVCodecID AVCodecDescriptor::id

Definition at line 696 of file avcodec.h.

Referenced by find_codec_or_die(), print_codecs(), show_codecs(), and show_help_codec().

enum AVMediaType AVCodecDescriptor::type
const char* AVCodecDescriptor::name

Name of the codec described by this descriptor.

It is non-empty and unique for each codec descriptor. It should contain alphanumeric characters and '_' only.

Definition at line 703 of file avcodec.h.

Referenced by asf_write_header1(), av_bsf_init(), avcodec_descriptor_get_by_name(), avcodec_get_name(), avcodec_open2(), find_codec_or_die(), ico_check_attributes(), list_formats(), print_codecs(), show_codecs(), show_help_muxer(), show_stream(), transcode_init(), unsupported_codec(), and vaapi_decode_make_config().

const char* AVCodecDescriptor::long_name

A more descriptive name for this codec.

May be NULL.

Definition at line 707 of file avcodec.h.

Referenced by show_codecs(), and show_stream().

int AVCodecDescriptor::props

Codec properties, a combination of AV_CODEC_PROP_* flags.

Definition at line 711 of file avcodec.h.

Referenced by avcodec_decode_subtitle2(), avcodec_open2(), init_muxer(), is_intra_only(), open_output_file(), and show_codecs().

const char* const* AVCodecDescriptor::mime_types

MIME type(s) associated with the codec.

May be NULL; if not, a NULL-terminated array of MIME types. The first item is always non-NULL and is the preferred MIME type.

Definition at line 717 of file avcodec.h.

const struct AVProfile* AVCodecDescriptor::profiles

If non-NULL, an array of profiles recognized for this codec.

Terminated with FF_PROFILE_UNKNOWN.

Definition at line 722 of file avcodec.h.

Referenced by avcodec_profile_name().


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