Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: media/formats/mp4/fourccs.h

Issue 260963002: Support parsing of sgpd and sbgp boxes (Closed) Base URL: http://git.chromium.org/chromium/src.git@temp
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/formats/mp4/box_reader.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_FORMATS_MP4_FOURCCS_H_ 5 #ifndef MEDIA_FORMATS_MP4_FOURCCS_H_
6 #define MEDIA_FORMATS_MP4_FOURCCS_H_ 6 #define MEDIA_FORMATS_MP4_FOURCCS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace media { 10 namespace media {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 FOURCC_MP4A = 0x6d703461, 46 FOURCC_MP4A = 0x6d703461,
47 FOURCC_MP4V = 0x6d703476, 47 FOURCC_MP4V = 0x6d703476,
48 FOURCC_MVEX = 0x6d766578, 48 FOURCC_MVEX = 0x6d766578,
49 FOURCC_MVHD = 0x6d766864, 49 FOURCC_MVHD = 0x6d766864,
50 FOURCC_PASP = 0x70617370, 50 FOURCC_PASP = 0x70617370,
51 FOURCC_PDIN = 0x7064696e, 51 FOURCC_PDIN = 0x7064696e,
52 FOURCC_PRFT = 0x70726674, 52 FOURCC_PRFT = 0x70726674,
53 FOURCC_PSSH = 0x70737368, 53 FOURCC_PSSH = 0x70737368,
54 FOURCC_SAIO = 0x7361696f, 54 FOURCC_SAIO = 0x7361696f,
55 FOURCC_SAIZ = 0x7361697a, 55 FOURCC_SAIZ = 0x7361697a,
56 FOURCC_SBGP = 0x73626770,
56 FOURCC_SCHI = 0x73636869, 57 FOURCC_SCHI = 0x73636869,
57 FOURCC_SCHM = 0x7363686d, 58 FOURCC_SCHM = 0x7363686d,
58 FOURCC_SDTP = 0x73647470, 59 FOURCC_SDTP = 0x73647470,
60 FOURCC_SEIG = 0x73656967,
61 FOURCC_SGPD = 0x73677064,
59 FOURCC_SIDX = 0x73696478, 62 FOURCC_SIDX = 0x73696478,
60 FOURCC_SINF = 0x73696e66, 63 FOURCC_SINF = 0x73696e66,
61 FOURCC_SKIP = 0x736b6970, 64 FOURCC_SKIP = 0x736b6970,
62 FOURCC_SMHD = 0x736d6864, 65 FOURCC_SMHD = 0x736d6864,
63 FOURCC_SOUN = 0x736f756e, 66 FOURCC_SOUN = 0x736f756e,
64 FOURCC_SSIX = 0x73736978, 67 FOURCC_SSIX = 0x73736978,
65 FOURCC_STBL = 0x7374626c, 68 FOURCC_STBL = 0x7374626c,
66 FOURCC_STCO = 0x7374636f, 69 FOURCC_STCO = 0x7374636f,
67 FOURCC_STSC = 0x73747363, 70 FOURCC_STSC = 0x73747363,
68 FOURCC_STSD = 0x73747364, 71 FOURCC_STSD = 0x73747364,
(...skipping 23 matching lines...) Expand all
92 buf[2] = (fourcc >> 8) & 0xff; 95 buf[2] = (fourcc >> 8) & 0xff;
93 buf[3] = (fourcc) & 0xff; 96 buf[3] = (fourcc) & 0xff;
94 buf[4] = 0; 97 buf[4] = 0;
95 return std::string(buf); 98 return std::string(buf);
96 } 99 }
97 100
98 } // namespace mp4 101 } // namespace mp4
99 } // namespace media 102 } // namespace media
100 103
101 #endif // MEDIA_FORMATS_MP4_FOURCCS_H_ 104 #endif // MEDIA_FORMATS_MP4_FOURCCS_H_
OLDNEW
« no previous file with comments | « media/formats/mp4/box_reader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698