FFmpeg
Macros | Functions | Variables
codec_desc.c File Reference
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "codec_id.h"
#include "codec_desc.h"
#include "profiles.h"

Go to the source code of this file.

Macros

#define MT(...)   (const char *const[]){ __VA_ARGS__, NULL }
 

Functions

static int descriptor_compare (const void *key, const void *member)
 
const AVCodecDescriptoravcodec_descriptor_get (enum AVCodecID id)
 
const AVCodecDescriptoravcodec_descriptor_next (const AVCodecDescriptor *prev)
 Iterate over all codec descriptors known to libavcodec. More...
 
const AVCodecDescriptoravcodec_descriptor_get_by_name (const char *name)
 
enum AVMediaType avcodec_get_type (enum AVCodecID codec_id)
 Get the type of the given codec. More...
 

Variables

static const AVCodecDescriptor codec_descriptors []
 

Macro Definition Documentation

◆ MT

#define MT (   ...)    (const char *const[]){ __VA_ARGS__, NULL }

Definition at line 31 of file codec_desc.c.

Function Documentation

◆ descriptor_compare()

static int descriptor_compare ( const void *  key,
const void *  member 
)
static

Definition at line 3513 of file codec_desc.c.

Referenced by avcodec_descriptor_get().

Variable Documentation

◆ codec_descriptors

const AVCodecDescriptor codec_descriptors[]
static

Definition at line 33 of file codec_desc.c.

Referenced by avcodec_descriptor_get(), and avcodec_descriptor_next().