| 30 | inline __device__ int idx_x(const int i) { return idx_y((i + 4) & 15); } |
| 31 | |
| 32 | inline __device__ int idx(const int x, const int y) { |
| 33 | return ((threadIdx.x + 3 + x) + (blockDim.x + 6) * (threadIdx.y + 3 + y)); |
| 34 | } |
| 35 | |
| 36 | // test_greater() |
| 37 | // Tests if a pixel x > p + thr |
no outgoing calls