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

Side by Side Diff: cc/resources/platform_color.h

Issue 2122573003: media: replace LUMINANCE_F16 by RG_88 for 9/10-bit h264 videos Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to ToT Created 4 years, 2 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 | « cc/raster/raster_buffer_provider.cc ('k') | cc/resources/platform_color_unittest.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_RESOURCES_PLATFORM_COLOR_H_ 5 #ifndef CC_RESOURCES_PLATFORM_COLOR_H_
6 #define CC_RESOURCES_PLATFORM_COLOR_H_ 6 #define CC_RESOURCES_PLATFORM_COLOR_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "cc/resources/resource_format.h" 10 #include "cc/resources/resource_format.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 case RGBA_8888: 54 case RGBA_8888:
55 return Format() == SOURCE_FORMAT_RGBA8; 55 return Format() == SOURCE_FORMAT_RGBA8;
56 case BGRA_8888: 56 case BGRA_8888:
57 return Format() == SOURCE_FORMAT_BGRA8; 57 return Format() == SOURCE_FORMAT_BGRA8;
58 case ALPHA_8: 58 case ALPHA_8:
59 case LUMINANCE_8: 59 case LUMINANCE_8:
60 case RGB_565: 60 case RGB_565:
61 case RGBA_4444: 61 case RGBA_4444:
62 case ETC1: 62 case ETC1:
63 case RED_8: 63 case RED_8:
64 case RG_88:
64 case LUMINANCE_F16: 65 case LUMINANCE_F16:
65 NOTREACHED(); 66 NOTREACHED();
66 return false; 67 return false;
67 } 68 }
68 69
69 NOTREACHED(); 70 NOTREACHED();
70 return false; 71 return false;
71 } 72 }
72 73
73 private: 74 private:
74 DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformColor); 75 DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformColor);
75 }; 76 };
76 77
77 } // namespace cc 78 } // namespace cc
78 79
79 #endif // CC_RESOURCES_PLATFORM_COLOR_H_ 80 #endif // CC_RESOURCES_PLATFORM_COLOR_H_
OLDNEW
« no previous file with comments | « cc/raster/raster_buffer_provider.cc ('k') | cc/resources/platform_color_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698