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

Field Documentation

◆ id

enum AVCodecID AVCodecDescriptor::id

Definition at line 581 of file avcodec.h.

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

◆ type

enum AVMediaType AVCodecDescriptor::type

Definition at line 582 of file avcodec.h.

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

◆ name

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

Referenced by asf_write_header1(), av_bsf_init(), avcodec_descriptor_get_by_name(), avcodec_string(), find_codec_or_die(), get_sockaddr(), list_formats(), print_codecs(), show_codecs(), show_help_muxer(), show_stream(), transcode_init(), unsupported_codec(), vaapi_build_decoder_config(), and wav_write_header().

◆ long_name

const char* AVCodecDescriptor::long_name

A more descriptive name for this codec.

May be NULL.

Definition at line 592 of file avcodec.h.

Referenced by show_codecs(), and show_stream().

◆ props

int AVCodecDescriptor::props

Codec properties, a combination of AV_CODEC_PROP_* flags.

Definition at line 596 of file avcodec.h.

Referenced by init_muxer(), is_intra_only(), show_codecs(), and write_streamheader().

◆ profiles

const struct AVProfile* AVCodecDescriptor::profiles

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

Terminated with FF_PROFILE_UNKNOWN.

Definition at line 601 of file avcodec.h.

Referenced by avcodec_profile_name().


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