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

Side by Side Diff: cc/resources/platform_color_unittest.cc

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/resources/platform_color.h ('k') | cc/resources/resource_format.h » ('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 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 #include "cc/resources/platform_color.h" 5 #include "cc/resources/platform_color.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
(...skipping 13 matching lines...) Expand all
24 case BGRA_8888: 24 case BGRA_8888:
25 EXPECT_NE(rgba, PlatformColor::SameComponentOrder(format)); 25 EXPECT_NE(rgba, PlatformColor::SameComponentOrder(format));
26 break; 26 break;
27 // The following formats are not platform colors. 27 // The following formats are not platform colors.
28 case ALPHA_8: 28 case ALPHA_8:
29 case LUMINANCE_8: 29 case LUMINANCE_8:
30 case RGB_565: 30 case RGB_565:
31 case RGBA_4444: 31 case RGBA_4444:
32 case ETC1: 32 case ETC1:
33 case RED_8: 33 case RED_8:
34 case RG_88:
34 case LUMINANCE_F16: 35 case LUMINANCE_F16:
35 break; 36 break;
36 } 37 }
37 } 38 }
38 } 39 }
39 40
40 } // namespace 41 } // namespace
41 } // namespace cc 42 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/platform_color.h ('k') | cc/resources/resource_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698