diff options
Diffstat (limited to 'apps/plugins/test_fps.c')
-rw-r--r-- | apps/plugins/test_fps.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c index 2da1d92d99..cd091e8e04 100644 --- a/apps/plugins/test_fps.c +++ b/apps/plugins/test_fps.c | |||
@@ -143,7 +143,7 @@ static unsigned char * const yuvbuf[3] = { | |||
143 | (void*)vdata | 143 | (void*)vdata |
144 | }; | 144 | }; |
145 | 145 | ||
146 | static void make_gradient_rect(width, height) | 146 | static void make_gradient_rect(int width, int height) |
147 | { | 147 | { |
148 | unsigned char vline[YUV_WIDTH/2]; | 148 | unsigned char vline[YUV_WIDTH/2]; |
149 | int x, y; | 149 | int x, y; |
@@ -173,8 +173,6 @@ static void time_main_yuv(void) | |||
173 | const int part14_y = YUV_HEIGHT/4; /* y-offset for 1/4 update test */ | 173 | const int part14_y = YUV_HEIGHT/4; /* y-offset for 1/4 update test */ |
174 | const int part14_h = YUV_HEIGHT/2; /* y-size for 1/4 update test */ | 174 | const int part14_h = YUV_HEIGHT/2; /* y-size for 1/4 update test */ |
175 | 175 | ||
176 | int x, y; | ||
177 | |||
178 | rb->memset(ydata, 128, sizeof(ydata)); /* medium grey */ | 176 | rb->memset(ydata, 128, sizeof(ydata)); /* medium grey */ |
179 | 177 | ||
180 | /* Test 1: full LCD update */ | 178 | /* Test 1: full LCD update */ |