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

Side by Side Diff: ui/gfx/color_space.h

Issue 2503063002: media: Inform VideoBlit/MFTransform of video color information (Closed)
Patch Set: comments addressed Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_GFX_COLOR_SPACE_H_ 5 #ifndef UI_GFX_COLOR_SPACE_H_
6 #define UI_GFX_COLOR_SPACE_H_ 6 #define UI_GFX_COLOR_SPACE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 // Only used if primaries_ == PrimaryID::CUSTOM 175 // Only used if primaries_ == PrimaryID::CUSTOM
176 float custom_primary_matrix_[12]; 176 float custom_primary_matrix_[12];
177 177
178 // This is used to look up the ICCProfile from which this ColorSpace was 178 // This is used to look up the ICCProfile from which this ColorSpace was
179 // created, if possible. 179 // created, if possible.
180 uint64_t icc_profile_id_ = 0; 180 uint64_t icc_profile_id_ = 0;
181 181
182 friend class ICCProfile; 182 friend class ICCProfile;
183 friend class ColorSpaceToColorSpaceTransform; 183 friend class ColorSpaceToColorSpaceTransform;
184 friend class ColorSpaceWin;
184 friend struct IPC::ParamTraits<gfx::ColorSpace>; 185 friend struct IPC::ParamTraits<gfx::ColorSpace>;
185 FRIEND_TEST_ALL_PREFIXES(SimpleColorSpace, GetColorSpace); 186 FRIEND_TEST_ALL_PREFIXES(SimpleColorSpace, GetColorSpace);
186 }; 187 };
187 188
188 } // namespace gfx 189 } // namespace gfx
189 190
190 #endif // UI_GFX_COLOR_SPACE_H_ 191 #endif // UI_GFX_COLOR_SPACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698