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

Side by Side Diff: components/viz/common/resources/platform_color_unittest.cc

Issue 2969223002: [media]: Replace LUMINANCE_F16 by R16 for 9/10-bit h264 videos.
Patch Set: Fix in resource_format_utils Created 3 years, 4 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 #include "components/viz/common/resources/platform_color.h" 5 #include "components/viz/common/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 15 matching lines...) Expand all
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 LUMINANCE_F16: 34 case LUMINANCE_F16:
35 case RGBA_F16: 35 case RGBA_F16:
36 case R16_EXT:
36 break; 37 break;
37 } 38 }
38 } 39 }
39 } 40 }
40 41
41 } // namespace 42 } // namespace
42 } // namespace viz 43 } // namespace viz
OLDNEW
« no previous file with comments | « components/viz/common/resources/platform_color.h ('k') | components/viz/common/resources/resource_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698