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

Side by Side Diff: client/deps/glbench/src/yuv2rgb.h

Issue 2757001: Refactored YUV test. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: Created 10 years, 6 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 | « client/deps/glbench/src/main.cc ('k') | client/deps/glbench/src/yuv2rgb_1.glslf » ('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 (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
OLDNEW
« no previous file with comments | « client/deps/glbench/src/main.cc ('k') | client/deps/glbench/src/yuv2rgb_1.glslf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698