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_VERTEX_1 "yuv2rgb_1.glslv" |
8 #define YUV2RGB_FRAGMENT_1 "yuv2rgb_1.glslf" | 9 #define YUV2RGB_FRAGMENT_1 "yuv2rgb_1.glslf" |
9 #define YUV2RGB_VERTEX_1 "yuv2rgb_1.glslv" | |
10 | 10 |
| 11 #define YUV2RGB_VERTEX_2 "yuv2rgb_2.glslv" |
11 #define YUV2RGB_FRAGMENT_2 "yuv2rgb_2.glslf" | 12 #define YUV2RGB_FRAGMENT_2 "yuv2rgb_2.glslf" |
12 #define YUV2RGB_VERTEX_2 "yuv2rgb_2.glslv" | 13 |
| 14 #define YUV2RGB_VERTEX_34 "yuv2rgb_34.glslv" |
| 15 #define YUV2RGB_FRAGMENT_3 "yuv2rgb_3.glslf" |
| 16 #define YUV2RGB_FRAGMENT_4 "yuv2rgb_4.glslf" |
13 | 17 |
14 #define YUV2RGB_NAME "image.yuv" | 18 #define YUV2RGB_NAME "image.yuv" |
15 #define YUV2RGB_WIDTH 720 | 19 #define YUV2RGB_WIDTH 720 |
16 // YUV2RGB_HEIGHT is total height, which is 3/2 of height of Y plane. | 20 // YUV2RGB_HEIGHT is total height, which is 3/2 of height of Y plane. |
17 #define YUV2RGB_HEIGHT 729 | 21 #define YUV2RGB_HEIGHT 729 |
| 22 #define YUV2RGB_PIXEL_HEIGHT (YUV2RGB_HEIGHT * 2 / 3) |
18 #define YUV2RGB_SIZE (YUV2RGB_WIDTH * YUV2RGB_HEIGHT) | 23 #define YUV2RGB_SIZE (YUV2RGB_WIDTH * YUV2RGB_HEIGHT) |
19 | 24 |
20 #endif | 25 #endif |
OLD | NEW |