FFmpeg
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions

Get the tables mapping RIFF FourCCs to libavcodec AVCodecIDs. The tables are meant to be passed to av_codec_get_id()/av_codec_get_tag() as in the following code: More...

Functions

const struct AVCodecTagavformat_get_riff_video_tags (void)
 
const struct AVCodecTagavformat_get_riff_audio_tags (void)
 
const struct AVCodecTagavformat_get_mov_video_tags (void)
 
const struct AVCodecTagavformat_get_mov_audio_tags (void)
 

Detailed Description

Get the tables mapping RIFF FourCCs to libavcodec AVCodecIDs. The tables are meant to be passed to av_codec_get_id()/av_codec_get_tag() as in the following code:

uint32_t tag = MKTAG('H', '2', '6', '4');
const struct AVCodecTag *table[] = { avformat_get_riff_video_tags(), 0 };

Function Documentation

◆ avformat_get_riff_video_tags()

const struct AVCodecTag* avformat_get_riff_video_tags ( void  )
Returns
the table mapping RIFF FourCCs for video to libavcodec AVCodecID.

Definition at line 600 of file riff.c.

Referenced by dshow_add_device(), and dshow_cycle_formats().

◆ avformat_get_riff_audio_tags()

const struct AVCodecTag* avformat_get_riff_audio_tags ( void  )
Returns
the table mapping RIFF FourCCs for audio to AVCodecID.

Definition at line 605 of file riff.c.

◆ avformat_get_mov_video_tags()

const struct AVCodecTag* avformat_get_mov_video_tags ( void  )
Returns
the table mapping MOV FourCCs for video to libavcodec AVCodecID.

Definition at line 663 of file isom.c.

◆ avformat_get_mov_audio_tags()

const struct AVCodecTag* avformat_get_mov_audio_tags ( void  )
Returns
the table mapping MOV FourCCs for audio to AVCodecID.

Definition at line 668 of file isom.c.

avformat_get_riff_video_tags
const struct AVCodecTag * avformat_get_riff_video_tags(void)
Definition: riff.c:600
av_codec_get_id
enum AVCodecID av_codec_get_id(const struct AVCodecTag *const *tags, unsigned int tag)
Get the AVCodecID for the given codec tag tag.
MKTAG
#define MKTAG(a, b, c, d)
Definition: common.h:366
table
static const uint16_t table[]
Definition: prosumer.c:206
AVCodecTag
Definition: internal.h:44
AVCodecID
AVCodecID
Identify the syntax and semantics of the bitstream.
Definition: avcodec.h:215
tag
uint32_t tag
Definition: movenc.c:1496