vlc_codecs.h File Reference

This file defines codec related structures needed by the demuxers and decoders. More...

Include dependency graph for vlc_codecs.h:

Go to the source code of this file.

Data Structures

struct  _GUID
struct  _WAVEFORMATEX
struct  _WAVEFORMATEXTENSIBLE
struct  _WAVEHEADER
struct  ATTR_PACKED
struct  ATTR_PACKED
struct  ATTR_PACKED
struct  ATTR_PACKED
struct  ATTR_PACKED
struct  ATTR_PACKED
struct  ATTR_PACKED

Defines

#define VLC_CODECS_H   1
#define _BITMAPINFOHEADER_
#define WAVE_FORMAT_UNKNOWN   0x0000
#define WAVE_FORMAT_PCM   0x0001
#define WAVE_FORMAT_ADPCM   0x0002
#define WAVE_FORMAT_IEEE_FLOAT   0x0003
#define WAVE_FORMAT_ALAW   0x0006
#define WAVE_FORMAT_MULAW   0x0007
#define WAVE_FORMAT_DTS_MS   0x0008
#define WAVE_FORMAT_WMAS   0x000a
#define WAVE_FORMAT_IMA_ADPCM   0x0011
#define WAVE_FORMAT_TRUESPEECH   0x0022
#define WAVE_FORMAT_GSM610   0x0031
#define WAVE_FORMAT_MSNAUDIO   0x0032
#define WAVE_FORMAT_G726   0x0045
#define WAVE_FORMAT_MPEG   0x0050
#define WAVE_FORMAT_MPEGLAYER3   0x0055
#define WAVE_FORMAT_DOLBY_AC3_SPDIF   0x0092
#define WAVE_FORMAT_A52   0x2000
#define WAVE_FORMAT_DTS   0x2001
#define WAVE_FORMAT_WMA1   0x0160
#define WAVE_FORMAT_WMA2   0x0161
#define WAVE_FORMAT_WMAP   0x0162
#define WAVE_FORMAT_WMAL   0x0163
#define WAVE_FORMAT_DIVIO_AAC   0x4143
#define WAVE_FORMAT_AAC   0x00FF
#define WAVE_FORMAT_FFMPEG_AAC   0x706D
#define WAVE_FORMAT_DK3   0x0061
#define WAVE_FORMAT_DK4   0x0062
#define WAVE_FORMAT_VORBIS   0x566f
#define WAVE_FORMAT_VORB_1   0x674f
#define WAVE_FORMAT_VORB_2   0x6750
#define WAVE_FORMAT_VORB_3   0x6751
#define WAVE_FORMAT_VORB_1PLUS   0x676f
#define WAVE_FORMAT_VORB_2PLUS   0x6770
#define WAVE_FORMAT_VORB_3PLUS   0x6771
#define WAVE_FORMAT_SPEEX   0xa109
#define WAVE_FORMAT_EXTENSIBLE   0xFFFE
#define _KSDATAFORMAT_SUBTYPE_PCM_   {0x00000001, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}}
#define KSDATAFORMAT_SUBTYPE_PCM   VLC_KSDATAFORMAT_SUBTYPE_PCM
#define _KSDATAFORMAT_SUBTYPE_UNKNOWN_   {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}
#define KSDATAFORMAT_SUBTYPE_UNKNOWN   VLC_KSDATAFORMAT_SUBTYPE_UNKNOWN
#define WAVE_SPEAKER_FRONT_LEFT   0x1
#define WAVE_SPEAKER_FRONT_RIGHT   0x2
#define WAVE_SPEAKER_FRONT_CENTER   0x4
#define WAVE_SPEAKER_LOW_FREQUENCY   0x8
#define WAVE_SPEAKER_BACK_LEFT   0x10
#define WAVE_SPEAKER_BACK_RIGHT   0x20
#define WAVE_SPEAKER_FRONT_LEFT_OF_CENTER   0x40
#define WAVE_SPEAKER_FRONT_RIGHT_OF_CENTER   0x80
#define WAVE_SPEAKER_BACK_CENTER   0x100
#define WAVE_SPEAKER_SIDE_LEFT   0x200
#define WAVE_SPEAKER_SIDE_RIGHT   0x400
#define WAVE_SPEAKER_TOP_CENTER   0x800
#define WAVE_SPEAKER_TOP_FRONT_LEFT   0x1000
#define WAVE_SPEAKER_TOP_FRONT_CENTER   0x2000
#define WAVE_SPEAKER_TOP_FRONT_RIGHT   0x4000
#define WAVE_SPEAKER_TOP_BACK_LEFT   0x8000
#define WAVE_SPEAKER_TOP_BACK_CENTER   0x10000
#define WAVE_SPEAKER_TOP_BACK_RIGHT   0x20000
#define WAVE_SPEAKER_RESERVED   0x80000000

Typedefs

typedef struct _GUID GUID
typedef struct _GUIDREFGUID
typedef struct _GUIDLPGUID
typedef struct ATTR_PACKED
_WAVEFORMATEX 
WAVEFORMATEX
typedef struct ATTR_PACKED
_WAVEFORMATEX
PWAVEFORMATEX
typedef struct ATTR_PACKED
_WAVEFORMATEX
NPWAVEFORMATEX
typedef struct ATTR_PACKED
_WAVEFORMATEX
LPWAVEFORMATEX
typedef struct ATTR_PACKED
_WAVEFORMATEXTENSIBLE 
WAVEFORMATEXTENSIBLE
typedef struct ATTR_PACKED
_WAVEFORMATEXTENSIBLE
PWAVEFORMATEXTENSIBLE
typedef struct ATTR_PACKED
_WAVEHEADER 
WAVEHEADER
typedef struct ATTR_PACKED BITMAPINFOHEADER
typedef struct ATTR_PACKEDPBITMAPINFOHEADER
typedef struct ATTR_PACKEDLPBITMAPINFOHEADER
typedef struct ATTR_PACKED BITMAPINFO
typedef struct ATTR_PACKEDLPBITMAPINFO
typedef struct ATTR_PACKED RECT32
typedef int64_t REFERENCE_TIME
typedef struct ATTR_PACKED VIDEOINFOHEADER
typedef struct ATTR_PACKED RGBQUAD1
typedef struct ATTR_PACKED TRUECOLORINFO
typedef struct ATTR_PACKED VIDEOINFO

Functions

static void wf_tag_to_fourcc (uint16_t i_tag, vlc_fourcc_t *fcc, const char **ppsz_name)
static void fourcc_to_wf_tag (vlc_fourcc_t fcc, uint16_t *pi_tag)
static int guidcmp (const GUID *s1, const GUID *s2)
static void sf_tag_to_fourcc (GUID *guid_tag, vlc_fourcc_t *fcc, const char **ppsz_name)

Variables

static const GUID VLC_KSDATAFORMAT_SUBTYPE_PCM = {0xE923AABF, 0xCB58, 0x4471, {0xA1, 0x19, 0xFF, 0xFA, 0x01, 0xE4, 0xCE, 0x62}}
static const GUID VLC_KSDATAFORMAT_SUBTYPE_UNKNOWN = {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}
struct {
   uint16_t   i_tag
   vlc_fourcc_t   i_fourcc
   const char *   psz_name
wave_format_tag_to_fourcc []
struct {
   GUID   guid_tag
   vlc_fourcc_t   i_fourcc
   const char *   psz_name
sub_format_tag_to_fourcc []


Detailed Description

This file defines codec related structures needed by the demuxers and decoders.


Define Documentation

#define _BITMAPINFOHEADER_

#define _KSDATAFORMAT_SUBTYPE_PCM_   {0x00000001, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}}

#define _KSDATAFORMAT_SUBTYPE_UNKNOWN_   {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}

#define KSDATAFORMAT_SUBTYPE_PCM   VLC_KSDATAFORMAT_SUBTYPE_PCM

#define KSDATAFORMAT_SUBTYPE_UNKNOWN   VLC_KSDATAFORMAT_SUBTYPE_UNKNOWN

Referenced by sf_tag_to_fourcc().

#define VLC_CODECS_H   1

#define WAVE_FORMAT_A52   0x2000

Referenced by A52Probe(), AddStream(), and EA52Probe().

#define WAVE_FORMAT_AAC   0x00FF

Referenced by AddStream().

#define WAVE_FORMAT_ADPCM   0x0002

#define WAVE_FORMAT_ALAW   0x0006

#define WAVE_FORMAT_DIVIO_AAC   0x4143

#define WAVE_FORMAT_DK3   0x0061

#define WAVE_FORMAT_DK4   0x0062

#define WAVE_FORMAT_DOLBY_AC3_SPDIF   0x0092

Referenced by CreateDSBuffer(), and OpenWaveOut().

#define WAVE_FORMAT_DTS   0x2001

Referenced by DtsProbe().

#define WAVE_FORMAT_DTS_MS   0x0008

#define WAVE_FORMAT_EXTENSIBLE   0xFFFE

#define WAVE_FORMAT_FFMPEG_AAC   0x706D

#define WAVE_FORMAT_G726   0x0045

#define WAVE_FORMAT_GSM610   0x0031

#define WAVE_FORMAT_IEEE_FLOAT   0x0003

#define WAVE_FORMAT_IMA_ADPCM   0x0011

#define WAVE_FORMAT_MPEG   0x0050

Referenced by AddStream(), DemuxInit(), and MpgaProbe().

#define WAVE_FORMAT_MPEGLAYER3   0x0055

Referenced by AddStream(), DemuxInit(), and MpgaProbe().

#define WAVE_FORMAT_MSNAUDIO   0x0032

#define WAVE_FORMAT_MULAW   0x0007

#define WAVE_FORMAT_PCM   0x0001

#define WAVE_FORMAT_SPEEX   0xa109

#define WAVE_FORMAT_TRUESPEECH   0x0022

#define WAVE_FORMAT_UNKNOWN   0x0000

#define WAVE_FORMAT_VORB_1   0x674f

#define WAVE_FORMAT_VORB_1PLUS   0x676f

#define WAVE_FORMAT_VORB_2   0x6750

#define WAVE_FORMAT_VORB_2PLUS   0x6770

#define WAVE_FORMAT_VORB_3   0x6751

#define WAVE_FORMAT_VORB_3PLUS   0x6771

#define WAVE_FORMAT_VORBIS   0x566f

#define WAVE_FORMAT_WMA1   0x0160

Referenced by AddStream().

#define WAVE_FORMAT_WMA2   0x0161

Referenced by AddStream().

#define WAVE_FORMAT_WMAL   0x0163

Referenced by AddStream().

#define WAVE_FORMAT_WMAP   0x0162

Referenced by AddStream().

#define WAVE_FORMAT_WMAS   0x000a

#define WAVE_SPEAKER_BACK_CENTER   0x100

#define WAVE_SPEAKER_BACK_LEFT   0x10

#define WAVE_SPEAKER_BACK_RIGHT   0x20

#define WAVE_SPEAKER_FRONT_CENTER   0x4

#define WAVE_SPEAKER_FRONT_LEFT   0x1

#define WAVE_SPEAKER_FRONT_LEFT_OF_CENTER   0x40

#define WAVE_SPEAKER_FRONT_RIGHT   0x2

#define WAVE_SPEAKER_FRONT_RIGHT_OF_CENTER   0x80

#define WAVE_SPEAKER_LOW_FREQUENCY   0x8

#define WAVE_SPEAKER_RESERVED   0x80000000

#define WAVE_SPEAKER_SIDE_LEFT   0x200

#define WAVE_SPEAKER_SIDE_RIGHT   0x400

#define WAVE_SPEAKER_TOP_BACK_CENTER   0x10000

#define WAVE_SPEAKER_TOP_BACK_LEFT   0x8000

#define WAVE_SPEAKER_TOP_BACK_RIGHT   0x20000

#define WAVE_SPEAKER_TOP_CENTER   0x800

#define WAVE_SPEAKER_TOP_FRONT_CENTER   0x2000

#define WAVE_SPEAKER_TOP_FRONT_LEFT   0x1000

#define WAVE_SPEAKER_TOP_FRONT_RIGHT   0x4000


Typedef Documentation

typedef struct ATTR_PACKED BITMAPINFO

typedef struct ATTR_PACKED BITMAPINFOHEADER

typedef struct _GUID GUID

typedef struct ATTR_PACKED * LPBITMAPINFO

typedef struct ATTR_PACKED * LPBITMAPINFOHEADER

typedef struct _GUID * LPGUID

typedef struct ATTR_PACKED * PBITMAPINFOHEADER

typedef struct ATTR_PACKED RECT32

typedef int64_t REFERENCE_TIME

typedef struct _GUID * REFGUID

typedef struct ATTR_PACKED RGBQUAD1

typedef struct ATTR_PACKED TRUECOLORINFO

typedef struct ATTR_PACKED VIDEOINFO

typedef struct ATTR_PACKED VIDEOINFOHEADER


Function Documentation

static void fourcc_to_wf_tag ( vlc_fourcc_t  fcc,
uint16_t *  pi_tag 
) [inline, static]

static int guidcmp ( const GUID s1,
const GUID s2 
) [inline, static]

static void sf_tag_to_fourcc ( GUID guid_tag,
vlc_fourcc_t fcc,
const char **  ppsz_name 
) [inline, static]

static void wf_tag_to_fourcc ( uint16_t  i_tag,
vlc_fourcc_t fcc,
const char **  ppsz_name 
) [inline, static]


Variable Documentation

uint16_t i_tag

const char* psz_name

Referenced by __config_ChainParse(), __config_LoadCmdLine(), __vlclua_playlist_add_internal(), __vout_Create(), AddDevice(), AReadBlock(), AReadStream(), Art(), ASeek(), ASF_ObjectDumpDebug(), bd_mpls_play_item_Parse(), CDDAFormatTitle(), CDDAMetaInfo(), VLCExtended::changeAFiltersString:onOrOff:, VLCExtended::changeVideoFiltersString:onOrOff:, VLCExtended::changeVoutFiltersString:onOrOff:, Close(), config_CategoryNameGet(), Control(), ControlListPrint(), ControlReset(), Create(), Demux(), DemuxGenre(), DemuxStation(), Destructor(), DisplayVoutTitle(), DoChildren(), DumpObject(), VLCBookmarks::edit_ok:, Eject(), EsOutUpdateInfo(), EvaluateRPN(), filter_chain_AppendFromStringInternal(), find_media_in_dir(), GetModuleName(), GetTracks(), HandleFontAttributes(), HeaderMDPR(), input_item_GetName(), input_vaControl(), InputAddCallbacks(), InputDelCallbacks(), InputMetaUser(), InputSourceInit(), ItemChange(), libvlc_media_player_get_chapter_count_for_title(), MacroDo(), mediacontrol_start(), mrl_Parse(), mvar_FileSetNew(), ItemInfoDialog::OnOk(), Open(), Open_LuaIntf(), OpenDemux(), parse_dict(), parse_extension_node(), parse_extitem_node(), parse_playlist_node(), parse_plist_node(), parse_track_node(), parse_tracklist_node(), ParseAPEvXTag(), ParseDirectory(), ParseFeed(), ParseID3Tag(), ParseLine(), ParsePicture(), ParseTheoraComments(), ParseUSFHeaderTags(), ParseVorbisComments(), PlayItem(), PlaylistAddNode(), PPQCallback(), PresetCallback(), PrintObject(), Probe(), ReaderName(), ReaderValue(), ReadHeader(), ReadMetaFromId3v2(), ReadMetaFromXiph(), Run(), ScanDvbTNextFast(), PLModel::search(), SendSetup(), set_item_info(), set_option(), SetAvailControlsByString(), SetupKaraoke(), SkipFile(), stream_AccessNew(), StrToMacroType(), subtitles_Detect(), Thread(), var_OptionParse(), VCDMetaInfo(), VCDUpdateTitle(), vlclua_command(), vlclua_config_get(), vlclua_config_set(), vlclua_get_title(), vlclua_object_find_name(), WriteXSPF(), and xspf_export_item().

struct { ... } sub_format_tag_to_fourcc[] [static]

Referenced by sf_tag_to_fourcc().

const GUID VLC_KSDATAFORMAT_SUBTYPE_PCM = {0xE923AABF, 0xCB58, 0x4471, {0xA1, 0x19, 0xFF, 0xFA, 0x01, 0xE4, 0xCE, 0x62}} [static]

const GUID VLC_KSDATAFORMAT_SUBTYPE_UNKNOWN = {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}} [static]

struct { ... } wave_format_tag_to_fourcc[] [static]


Generated on Sat Nov 21 08:05:26 2009 for VLC by  doxygen 1.5.6