root/branches/perian-1.0/CodecIDs.h

Revision 409, 3.1 kB (checked in by dconrad, 2 years ago)

Support for FLV's variant of ADPCM

Line 
1 /*
2  *  CodecIDs.h
3  *
4  *  Copyright (c) 2006  David Conrad
5  *
6  *  This program is free software; you can redistribute it and/or
7  *  modify it under the terms of the GNU Lesser General Public
8  *  License as published by the Free Software Foundation;
9  *  version 2.1 of the License.
10  *
11  *  This program is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  *  Lesser General Public License for more details.
15  *
16  *  You should have received a copy of the GNU Lesser General Public
17  *  License along with this program; if not, write to the Free Software
18  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19  *
20  */
21
22 #ifndef __CODECIDS_H__
23 #define __CODECIDS_H__
24
25 // Description Extensions
26 enum {
27     kCookieTypeOggSerialNo = 'oCtN'
28 };
29
30 // format specific cookie types
31 enum {
32     kCookieTypeVorbisHeader = 'vCtH',
33     kCookieTypeVorbisComments = 'vCt#',
34     kCookieTypeVorbisCodebooks = 'vCtC',
35         kCookieTypeVorbisFirstPageNo = 'vCtN'
36 };
37
38 enum {
39     kCookieTypeSpeexHeader = 'sCtH',
40     kCookieTypeSpeexComments = 'sCt#',
41     kCookieTypeSpeexExtraHeader = 'sCtX'
42 };
43
44 enum {
45     kCookieTypeTheoraHeader = 'tCtH',
46     kCookieTypeTheoraComments = 'tCt#',
47     kCookieTypeTheoraCodebooks = 'tCtC'
48 };
49
50 enum {
51     kCookieTypeFLACStreaminfo = 'fCtS',
52     kCookieTypeFLACMetadata = 'fCtM'
53 };
54
55 enum {
56         kSampleDescriptionExtensionTheora = 'XdxT',
57         kSampleDescriptionExtensionVobSubIdx = '.IDX',
58         kSampleDescriptionExtensionReal = 'RVex',
59 };
60
61
62 enum {
63         // unofficial QuickTime FourCCs
64     kAudioFormatXiphVorbis                  = 'XiVs',
65     kAudioFormatXiphSpeex                   = 'XiSp',
66     kAudioFormatXiphFLAC                    = 'XiFL',
67     kVideoFormatXiphTheora                  = 'XiTh',
68         kAudioFormatAC3MS                       = 0x6D732000,
69         kAudioFormatWMA1MS                      = 0x6D730160,
70         kAudioFormatWMA2MS                      = 0x6D730161,
71         kAudioFormatFlashADPCM                  = 'FlAd',
72         kVideoFormatMSMPEG4v3                   = 'MP43',
73         kMPEG1VisualCodecType                   = 'MPEG',
74         kMPEG2VisualCodecType                   = 'MPG2',
75        
76         kSubFormatUTF8                          = 'SRT ',
77         kSubFormatSSA                           = 'SSA ',
78         kSubFormatASS                           = 'ASS ',
79         kSubFormatUSF                           = 'USF ',
80         kSubFormatVobSub                        = 'SPU ',
81        
82         // the following 4CCs don't have decoder support yet
83         kAudioFormatDTS                         = 'DTS ',
84         kAudioFormatTTA                         = 'TTA1',
85         kAudioFormatWavepack                    = 'WVPK',
86         kVideoFormatReal5                       = 'RV10',
87         kVideoFormatRealG2                      = 'RV20',
88         kVideoFormatReal8                       = 'RV30',
89         kVideoFormatReal9                       = 'RV40',
90         kAudioFormatReal1                       = '14_4',
91         kAudioFormatReal2                       = '28_8',
92         kAudioFormatRealCook                    = 'COOK',
93         kAudioFormatRealSipro                   = 'SIPR',
94         kAudioFormatRealLossless                = 'RALF',
95         kAudioFormatRealAtrac3                  = 'ATRC'
96 };
97
98 #endif
Note: See TracBrowser for help on using the browser.