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

Side by Side Diff: media/base/hdr_metadata.h

Issue 2746013006: use VideoColorSpace in decoder configuration (Closed)
Patch Set: oops, win compile fix reapplied Created 3 years, 9 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 | « content/renderer/media/render_media_client_unittest.cc ('k') | media/base/ipc/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_BASE_HDR_METADATA_H_ 5 #ifndef MEDIA_BASE_HDR_METADATA_H_
6 #define MEDIA_BASE_HDR_METADATA_H_ 6 #define MEDIA_BASE_HDR_METADATA_H_
7 7
8 #include "media/base/media_export.h" 8 #include "media/base/media_export.h"
9 #include "ui/gfx/color_space.h"
10 9
11 namespace media { 10 namespace media {
12 11
13 // SMPTE ST 2086 mastering metadata. 12 // SMPTE ST 2086 mastering metadata.
14 struct MEDIA_EXPORT MasteringMetadata { 13 struct MEDIA_EXPORT MasteringMetadata {
15 float primary_r_chromaticity_x = 0; 14 float primary_r_chromaticity_x = 0;
16 float primary_r_chromaticity_y = 0; 15 float primary_r_chromaticity_y = 0;
17 float primary_g_chromaticity_x = 0; 16 float primary_g_chromaticity_x = 0;
18 float primary_g_chromaticity_y = 0; 17 float primary_g_chromaticity_y = 0;
19 float primary_b_chromaticity_x = 0; 18 float primary_b_chromaticity_x = 0;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 50
52 bool operator==(const HDRMetadata& rhs) const { 51 bool operator==(const HDRMetadata& rhs) const {
53 return ((max_cll == rhs.max_cll) && (max_fall == rhs.max_fall) && 52 return ((max_cll == rhs.max_cll) && (max_fall == rhs.max_fall) &&
54 (mastering_metadata == rhs.mastering_metadata)); 53 (mastering_metadata == rhs.mastering_metadata));
55 } 54 }
56 }; 55 };
57 56
58 } // namespace media 57 } // namespace media
59 58
60 #endif // MEDIA_BASE_HDR_METADATA_H_ 59 #endif // MEDIA_BASE_HDR_METADATA_H_
OLDNEW
« no previous file with comments | « content/renderer/media/render_media_client_unittest.cc ('k') | media/base/ipc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698