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

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

Issue 276503002: Log codec IDs for MediaSource content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
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_BOX_DEFINITIONS_H_ 5 #ifndef MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_
6 #define MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_ 6 #define MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 uint8 avc_level; 163 uint8 avc_level;
164 uint8 length_size; 164 uint8 length_size;
165 165
166 typedef std::vector<uint8> SPS; 166 typedef std::vector<uint8> SPS;
167 typedef std::vector<uint8> PPS; 167 typedef std::vector<uint8> PPS;
168 168
169 std::vector<SPS> sps_list; 169 std::vector<SPS> sps_list;
170 std::vector<PPS> pps_list; 170 std::vector<PPS> pps_list;
171 171
172 private: 172 private:
173 bool ParseInternal(BufferReader* reader); 173 bool ParseInternal(BufferReader* reader, const LogCB& log_cb);
174 }; 174 };
175 175
176 struct MEDIA_EXPORT PixelAspectRatioBox : Box { 176 struct MEDIA_EXPORT PixelAspectRatioBox : Box {
177 DECLARE_BOX_METHODS(PixelAspectRatioBox); 177 DECLARE_BOX_METHODS(PixelAspectRatioBox);
178 178
179 uint32 h_spacing; 179 uint32 h_spacing;
180 uint32 v_spacing; 180 uint32 v_spacing;
181 }; 181 };
182 182
183 struct MEDIA_EXPORT VideoSampleEntry : Box { 183 struct MEDIA_EXPORT VideoSampleEntry : Box {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 std::vector<TrackFragment> tracks; 383 std::vector<TrackFragment> tracks;
384 std::vector<ProtectionSystemSpecificHeader> pssh; 384 std::vector<ProtectionSystemSpecificHeader> pssh;
385 }; 385 };
386 386
387 #undef DECLARE_BOX 387 #undef DECLARE_BOX
388 388
389 } // namespace mp4 389 } // namespace mp4
390 } // namespace media 390 } // namespace media
391 391
392 #endif // MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_ 392 #endif // MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698