Showing the changes to test/processing/ProcessUT_DownSample.cpp (1 of 1 file). Show all
Unified · Split
| @@ -302,7 +302,7 @@ TEST (DownSampleTest, func) { \ · 301 unmodified lines | |||
| 302 | src_width_c = src_width_a = 320; \ | 302 | src_width_c = src_width_a = 320; \ |
| 303 | src_height_c = src_height_a = 180; \ | 303 | src_height_c = src_height_a = 180; \ |
| 304 | dst_width_c = dst_width_a = (src_width_c >> (i + 1)) + rand() % (src_width_c >> (i + 1)); \ | 304 | dst_width_c = dst_width_a = (src_width_c >> (i + 1)) + rand() % (src_width_c >> (i + 1)); \ |
| 305 | dst_height_c = dst_height_a = 160; \ | 305 | dst_height_c = dst_height_a = (src_height_c >> (i + 1)) + rand() % (src_height_c >> (i + 1)); \ |
| 306 | for (int j = 0; j < 70000; j++) { \ | 306 | for (int j = 0; j < 70000; j++) { \ |
| 307 | dst_c[j] = dst_a[j] = rand() % 256; \ | 307 | dst_c[j] = dst_a[j] = rand() % 256; \ |
| 308 | src_c[j] = src_a[j] = rand() % 256; \ | 308 | src_c[j] = src_a[j] = rand() % 256; \ |