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

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

Issue 2088273003: Video Color Managament (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bugfix Created 4 years, 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_VIDEO_FRAME_METADATA_H_ 5 #ifndef MEDIA_BASE_VIDEO_FRAME_METADATA_H_
6 #define MEDIA_BASE_VIDEO_FRAME_METADATA_H_ 6 #define MEDIA_BASE_VIDEO_FRAME_METADATA_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 RESOURCE_UTILIZATION, 103 RESOURCE_UTILIZATION,
104 104
105 // Sources of VideoFrames use this marker to indicate that an instance of 105 // Sources of VideoFrames use this marker to indicate that an instance of
106 // VideoFrameExternalResources produced from the associated video frame 106 // VideoFrameExternalResources produced from the associated video frame
107 // should use read lock fences. 107 // should use read lock fences.
108 READ_LOCK_FENCES_ENABLED, 108 READ_LOCK_FENCES_ENABLED,
109 109
110 // Indicates that the frame is rotated. 110 // Indicates that the frame is rotated.
111 ROTATION, 111 ROTATION,
112 112
113 // See video_color_space.h for more information.
114 COLOR_SPACE_PRIMARIES,
115 COLOR_SPACE_TRANSFER,
116 COLOR_SPACE_MATRIX,
117 COLOR_SPACE_FULL_RANGE,
118
113 NUM_KEYS 119 NUM_KEYS
114 }; 120 };
115 121
116 VideoFrameMetadata(); 122 VideoFrameMetadata();
117 ~VideoFrameMetadata(); 123 ~VideoFrameMetadata();
118 124
119 bool HasKey(Key key) const; 125 bool HasKey(Key key) const;
120 126
121 void Clear() { dictionary_.Clear(); } 127 void Clear() { dictionary_.Clear(); }
122 128
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 const base::BinaryValue* GetBinaryValue(Key key) const; 162 const base::BinaryValue* GetBinaryValue(Key key) const;
157 163
158 base::DictionaryValue dictionary_; 164 base::DictionaryValue dictionary_;
159 165
160 DISALLOW_COPY_AND_ASSIGN(VideoFrameMetadata); 166 DISALLOW_COPY_AND_ASSIGN(VideoFrameMetadata);
161 }; 167 };
162 168
163 } // namespace media 169 } // namespace media
164 170
165 #endif // MEDIA_BASE_VIDEO_FRAME_METADATA_H_ 171 #endif // MEDIA_BASE_VIDEO_FRAME_METADATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698