Lines Matching refs:buf_width
39 unsigned buf_width, unsigned buf_height, unsigned iterations) in fimg2d_perf_simple() argument
48 img.width = buf_width; in fimg2d_perf_simple()
50 img.stride = buf_width * 4; in fimg2d_perf_simple()
59 buf_width, buf_height, iterations); in fimg2d_perf_simple()
67 x = rand() % buf_width; in fimg2d_perf_simple()
70 if (x == (buf_width - 1)) in fimg2d_perf_simple()
75 w = rand() % (buf_width - x); in fimg2d_perf_simple()
117 unsigned buf_width, unsigned buf_height, unsigned iterations, unsigned batch) in fimg2d_perf_multi() argument
133 images[i].width = buf_width; in fimg2d_perf_multi()
135 images[i].stride = buf_width * 4; in fimg2d_perf_multi()
145 buf_width, buf_height, iterations); in fimg2d_perf_multi()
156 x = rand() % buf_width; in fimg2d_perf_multi()
159 if (x == (buf_width - 1)) in fimg2d_perf_multi()
164 w = rand() % (buf_width - x); in fimg2d_perf_multi()