Lines Matching full:cost
22 "void calcDisp(__local short * cost, __global short * disp, int uniquenessRatio,\n"
27 "short c = cost[0];\n"
39 "yp = cost[-2 * BLOCK_SIZE_Y];\n"
40 "yn = cost[2 * BLOCK_SIZE_Y];\n"
47 "short * costbuf, int *h, int cols, int d, short cost)\n"
73 "cost += costdiff - costbuf[head];\n"
76 "return cost;\n"
107 "__local short * cost;\n"
119 "cost = costFunc + costIdx;\n"
161 "cost[0] = tempcost;\n"
170 "calcDisp(cost, disp, uniquenessRatio, best_disp + 1, best_cost + 1, disp_idx, x, y, cols, rows);\n"
184 "cost = costFunc + costIdx;\n"
188 "calcCostBorder(leftptr, rightptr, x, y, nthread, costbuf, &head, cols, disp_idx, cost[2*nthread-1]) :\n"
189 "calcCostInside(leftptr, rightptr, x, y, cols, disp_idx, cost[0], cost[1], cost[-1]);\n"
191 "cost[0] = tempcost;\n"
199 "calcDisp(cost, disp, uniquenessRatio, best_disp + nthread, best_cost + nthread, disp_idx, x, y, cols, rows);\n"