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 708 of file avcodec.h.

Field Documentation

enum AVCodecID AVCodecDescriptor::id
enum AVMediaType AVCodecDescriptor::type

Definition at line 710 of file avcodec.h.

Referenced by avcodec_get_type(), avcodec_open2(), is_intra_only(), print_codecs(), and show_codecs().

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 716 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(), main(), 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 720 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 724 of file avcodec.h.

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

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 730 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 735 of file avcodec.h.

Referenced by avcodec_profile_name().


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