25#ifndef MP4V2_IMPL_ITMF_TYPE_H
26#define MP4V2_IMPL_ITMF_TYPE_H
28namespace mp4v2 {
namespace impl {
namespace itmf {
58typedef Enum<BasicType,BT_UNDEFINED> EnumBasicType;
59MP4V2_EXPORT
extern const EnumBasicType enumBasicType;
70 GENRE_CLASSIC_ROCK = 2,
88 GENRE_INDUSTRIAL = 20,
89 GENRE_ALTERNATIVE = 21,
91 GENRE_DEATH_METAL = 23,
93 GENRE_SOUNDTRACK = 25,
94 GENRE_EURO_TECHNO = 26,
101 GENRE_CLASSICAL = 33,
102 GENRE_INSTRUMENTAL = 34,
106 GENRE_SOUND_CLIP = 38,
109 GENRE_ALTERNROCK = 41,
114 GENRE_MEDITATIVE = 46,
115 GENRE_INSTRUMENTAL_POP = 47,
116 GENRE_INSTRUMENTAL_ROCK = 48,
120 GENRE_TECHNO_INDUSTRIAL = 52,
121 GENRE_ELECTRONIC = 53,
123 GENRE_EURODANCE = 55,
125 GENRE_SOUTHERN_ROCK = 57,
130 GENRE_CHRISTIAN_RAP = 62,
133 GENRE_NATIVE_AMERICAN = 65,
136 GENRE_PSYCHEDELIC = 68,
138 GENRE_SHOWTUNES = 70,
142 GENRE_ACID_PUNK = 74,
143 GENRE_ACID_JAZZ = 75,
147 GENRE_ROCK_AND_ROLL = 79,
150 GENRE_HARD_ROCK = 80,
152 GENRE_FOLK_ROCK = 82,
153 GENRE_NATIONAL_FOLK = 83,
155 GENRE_FAST_FUSION = 85,
160 GENRE_BLUEGRASS = 90,
161 GENRE_AVANTGARDE = 91,
162 GENRE_GOTHIC_ROCK = 92,
163 GENRE_PROGRESSIVE_ROCK = 93,
164 GENRE_PSYCHEDELIC_ROCK = 94,
165 GENRE_SYMPHONIC_ROCK = 95,
166 GENRE_SLOW_ROCK = 96,
169 GENRE_EASY_LISTENING = 99,
170 GENRE_ACOUSTIC = 100,
175 GENRE_CHAMBER_MUSIC = 105,
177 GENRE_SYMPHONY = 107,
178 GENRE_BOOTY_BASS = 108,
180 GENRE_PORN_GROOVE = 110,
182 GENRE_SLOW_JAM = 112,
186 GENRE_FOLKLORE = 116,
188 GENRE_POWER_BALLAD = 118,
189 GENRE_RHYTHMIC_SOUL = 119,
190 GENRE_FREESTYLE = 120,
192 GENRE_PUNK_ROCK = 122,
193 GENRE_DRUM_SOLO = 123,
194 GENRE_A_CAPELLA = 124,
195 GENRE_EURO_HOUSE = 125,
196 GENRE_DANCE_HALL = 126,
201typedef Enum<GenreType,GENRE_UNDEFINED> EnumGenreType;
202MP4V2_EXPORT
extern const EnumGenreType enumGenreType;
212 STIK_MUSIC_VIDEO = 6,
221typedef Enum<StikType,STIK_UNDEFINED> EnumStikType;
222MP4V2_EXPORT
extern const EnumStikType enumStikType;
235typedef Enum<AccountType,AT_UNDEFINED> EnumAccountType;
236MP4V2_EXPORT
extern const EnumAccountType enumAccountType;
269typedef Enum<CountryCode,CC_UNDEFINED> EnumCountryCode;
270MP4V2_EXPORT
extern const EnumCountryCode enumCountryCode;
285typedef Enum<ContentRating,CR_UNDEFINED> EnumContentRating;
286MP4V2_EXPORT
extern const EnumContentRating enumContentRating;
GenreType
enumerated genre as defined in ID3v1 specification but +1 as per iTMF spec.
Definition: type.h:65
BasicType computeBasicType(const void *buffer, uint32_t size)
compute BasicType by examining raw bytes header.
AccountType
enumerated 8-bit Account Type used by the iTunes Store.
Definition: type.h:228
StikType
enumerated 8-bit Video Type used by iTunes.
Definition: type.h:208
CountryCode
enumerated 32-bit Country Code used by the iTunes Store.
Definition: type.h:242
ContentRating
enumerated 8-bit Content Rating used by iTunes.
Definition: type.h:276
BasicType
Basic set of types as detailed in spec.
Definition: type.h:33
@ BT_URL
absolute, in UTF-8 characters
Definition: type.h:46
@ BT_GENRES
a list of enumerated values, see GenreType
Definition: type.h:49
@ BT_UPC
Universal Product Code, in text UTF-8 format (valid as an ID)
Definition: type.h:52
@ BT_UTF16
also known as UTF-16BE
Definition: type.h:36
@ BT_SJIS
deprecated unless it is needed for special Japanese characters
Definition: type.h:37
@ BT_HTML
the HTML file header specifies which HTML version
Definition: type.h:38
@ BT_UUID
also known as GUID; stored as 16 bytes in binary (valid as an ID)
Definition: type.h:40
@ BT_DURATION
in milliseconds, 32-bit integer
Definition: type.h:47
@ BT_ISRC
stored as UTF-8 text (valid as an ID)
Definition: type.h:41
@ BT_BMP
Windows bitmap image.
Definition: type.h:53
@ BT_INTEGER
a signed big-endian integer with length one of { 1,2,3,4,8 } bytes
Definition: type.h:50
@ BT_RIAA_PA
RIAA parental advisory; { -1=no, 1=yes, 0=unspecified }, 8-bit ingteger.
Definition: type.h:51
@ BT_XML
the XML header must identify the DTD or schemas
Definition: type.h:39
@ BT_MI3P
stored as UTF-8 text (valid as an ID)
Definition: type.h:42
@ BT_JPEG
a JPEG image
Definition: type.h:44
@ BT_GIF
(deprecated) a GIF image
Definition: type.h:43
@ BT_UTF8
without any count or null terminator
Definition: type.h:35
@ BT_IMPLICIT
for use with tags for which no type needs to be indicated
Definition: type.h:34
@ BT_PNG
a PNG image
Definition: type.h:45
@ BT_DATETIME
in UTC, counting seconds since midnight, January 1, 1904; 32 or 64-bits
Definition: type.h:48