OLD | NEW |
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS 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 BENCH_GL_YUV2RGB_H_ | 5 #ifndef BENCH_GL_YUV2RGB_H_ |
6 #define BENCH_GL_YUV2RGB_H_ | 6 #define BENCH_GL_YUV2RGB_H_ |
7 | 7 |
8 #define YUV2RGB_FRAGMENT_1 "yuv2rgb_1.glslf" | 8 #define YUV2RGB_FRAGMENT_1 "yuv2rgb_1.glslf" |
9 #define YUV2RGB_VERTEX_1 "yuv2rgb_1.glslv" | 9 #define YUV2RGB_VERTEX_1 "yuv2rgb_1.glslv" |
10 | 10 |
11 #define YUV2RGB_FRAGMENT_2 "yuv2rgb_2.glslf" | 11 #define YUV2RGB_FRAGMENT_2 "yuv2rgb_2.glslf" |
12 #define YUV2RGB_VERTEX_2 "yuv2rgb_2.glslv" | 12 #define YUV2RGB_VERTEX_2 "yuv2rgb_2.glslv" |
13 | 13 |
14 #define YUV2RGB_NAME "image.yuv" | 14 #define YUV2RGB_NAME "image.yuv" |
15 #define YUV2RGB_WIDTH 720 | 15 #define YUV2RGB_WIDTH 720 |
16 // YUV2RGB_HEIGHT is total height, which is 3/2 of height of Y plane. | 16 // YUV2RGB_HEIGHT is total height, which is 3/2 of height of Y plane. |
17 #define YUV2RGB_HEIGHT 729 | 17 #define YUV2RGB_HEIGHT 729 |
18 #define YUV2RGB_SIZE (YUV2RGB_WIDTH * YUV2RGB_HEIGHT) | 18 #define YUV2RGB_SIZE (YUV2RGB_WIDTH * YUV2RGB_HEIGHT) |
19 | 19 |
20 #endif | 20 #endif |
OLD | NEW |