• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef BENCH_GL_YUV2RGB_H_
6 #define BENCH_GL_YUV2RGB_H_
7 
8 #define YUV2RGB_VERTEX_1 "yuv2rgb_1.glslv"
9 #define YUV2RGB_FRAGMENT_1 "yuv2rgb_1.glslf"
10 
11 #define YUV2RGB_VERTEX_2 "yuv2rgb_2.glslv"
12 #define YUV2RGB_FRAGMENT_2 "yuv2rgb_2.glslf"
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"
17 
18 #define YUV2RGB_NAME "image.yuv"
19 #define YUV2RGB_WIDTH 720
20 // YUV2RGB_HEIGHT is total height, which is 3/2 of height of Y plane.
21 #define YUV2RGB_HEIGHT 729
22 #define YUV2RGB_PIXEL_HEIGHT (YUV2RGB_HEIGHT * 2 / 3)
23 #define YUV2RGB_SIZE (YUV2RGB_WIDTH * YUV2RGB_HEIGHT)
24 
25 #endif
26