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.
 
const char * long_name
 A more descriptive name for this codec.
 
int props
 Codec properties, a combination of AV_CODEC_PROP_* flags.
 
const char *const * mime_types
 MIME type(s) associated with the codec.
 

Detailed Description

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

See Also
avcodec_descriptor_get()

Definition at line 558 of file avcodec.h.

Field Documentation

enum AVCodecID AVCodecDescriptor::id

Definition at line 559 of file avcodec.h.

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

enum AVMediaType AVCodecDescriptor::type

Definition at line 560 of file avcodec.h.

Referenced by 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 566 of file avcodec.h.

Referenced by asf_write_header1(), 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(), and unsupported_codec().

const char* AVCodecDescriptor::long_name

A more descriptive name for this codec.

May be NULL.

Definition at line 570 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 574 of file avcodec.h.

Referenced by avcodec_decode_subtitle2(), avcodec_open2(), 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 581 of file avcodec.h.


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