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

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

Issue 2815303006: Convert MediaLog from being ref counted to owned by WebMediaPlayer. (Closed)
Patch Set: Actually fix fuzzers. Created 3 years, 8 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_DOLBY_VISION_H_ 5 #ifndef MEDIA_FORMATS_MP4_DOLBY_VISION_H_
6 #define MEDIA_FORMATS_MP4_DOLBY_VISION_H_ 6 #define MEDIA_FORMATS_MP4_DOLBY_VISION_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 20 matching lines...) Expand all
31 uint8_t dv_version_minor; 31 uint8_t dv_version_minor;
32 uint8_t dv_profile; 32 uint8_t dv_profile;
33 uint8_t dv_level; 33 uint8_t dv_level;
34 uint8_t rpu_present_flag; 34 uint8_t rpu_present_flag;
35 uint8_t el_present_flag; 35 uint8_t el_present_flag;
36 uint8_t bl_present_flag; 36 uint8_t bl_present_flag;
37 37
38 VideoCodecProfile codec_profile; 38 VideoCodecProfile codec_profile;
39 39
40 private: 40 private:
41 bool ParseInternal(BufferReader* reader, 41 bool ParseInternal(BufferReader* reader, MediaLog* media_log);
42 const scoped_refptr<MediaLog>& media_log);
43 }; 42 };
44 43
45 } // namespace mp4 44 } // namespace mp4
46 } // namespace media 45 } // namespace media
47 46
48 #endif // MEDIA_FORMATS_MP4_DOLBY_VISION_H_ 47 #endif // MEDIA_FORMATS_MP4_DOLBY_VISION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698