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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/yuv2rgb.h
diff --git a/client/deps/glbench/src/yuv2rgb.h b/client/deps/glbench/src/yuv2rgb.h
index 676866f233b833de50b6786a4ef67345e698113e..aee74f199c16b4e045dbcb5be7c25f90e063db37 100644
--- a/client/deps/glbench/src/yuv2rgb.h
+++ b/client/deps/glbench/src/yuv2rgb.h
@@ -5,16 +5,21 @@
#ifndef BENCH_GL_YUV2RGB_H_
#define BENCH_GL_YUV2RGB_H_
-#define YUV2RGB_FRAGMENT_1 "yuv2rgb_1.glslf"
#define YUV2RGB_VERTEX_1 "yuv2rgb_1.glslv"
+#define YUV2RGB_FRAGMENT_1 "yuv2rgb_1.glslf"
-#define YUV2RGB_FRAGMENT_2 "yuv2rgb_2.glslf"
#define YUV2RGB_VERTEX_2 "yuv2rgb_2.glslv"
+#define YUV2RGB_FRAGMENT_2 "yuv2rgb_2.glslf"
+
+#define YUV2RGB_VERTEX_34 "yuv2rgb_34.glslv"
+#define YUV2RGB_FRAGMENT_3 "yuv2rgb_3.glslf"
+#define YUV2RGB_FRAGMENT_4 "yuv2rgb_4.glslf"
#define YUV2RGB_NAME "image.yuv"
#define YUV2RGB_WIDTH 720
// YUV2RGB_HEIGHT is total height, which is 3/2 of height of Y plane.
#define YUV2RGB_HEIGHT 729
+#define YUV2RGB_PIXEL_HEIGHT (YUV2RGB_HEIGHT * 2 / 3)
#define YUV2RGB_SIZE (YUV2RGB_WIDTH * YUV2RGB_HEIGHT)
#endif
« 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