Home | History | Annotate | Download | only in cuda

Lines Matching refs:height

68             const int height, const int width, const PtrStepf src, PtrStepf dst)
73 if (y < height)
86 float t1 = src(::min(y + k, height - 1), xWarped);
113 dst(height + y, xWarped) = b2*c_ig11;
114 dst(2*height + y, xWarped) = b1*c_ig03 + b5*c_ig33;
115 dst(3*height + y, xWarped) = b1*c_ig03 + b4*c_ig33;
116 dst(4*height + y, xWarped) = b6*c_ig55;
157 const int height, const int width, const PtrStepf flowx, const PtrStepf flowy,
163 if (y < height && x < width)
176 if (x1 >= 0 && y1 >= 0 && x1 < width - 1 && y1 < height - 1)
188 r3 = a00 * R1(height + y1, x1) +
189 a01 * R1(height + y1, x1 + 1) +
190 a10 * R1(height + y1 + 1, x1) +
191 a11 * R1(height + y1 + 1, x1 + 1);
193 r4 = a00 * R1(2*height + y1, x1) +
194 a01 * R1(2*height + y1, x1 + 1) +
195 a10 * R1(2*height + y1 + 1, x1) +
196 a11 * R1(2*height + y1 + 1, x1 + 1);
198 r5 = a00 * R1(3*height + y1, x1) +
199 a01 * R1(3*height + y1, x1 + 1) +
200 a10 * R1(3*height + y1 + 1, x1) +
201 a11 * R1(3*height + y1 + 1, x1 + 1);
203 r6 = a00 * R1(4*height + y1, x1) +
204 a01 * R1(4*height + y1, x1 + 1) +
205 a10 * R1(4*height + y1 + 1, x1) +
206 a11 * R1(4*height + y1 + 1, x1 + 1);
208 r4 = (R0(2*height + y, x) + r4) * 0.5f;
209 r5 = (R0(3*height + y, x) + r5) * 0.5f;
210 r6 = (R0(4*height + y, x) + r6) * 0.25f;
215 r4 = R0(2*height + y, x);
216 r5 = R0(3*height + y, x);
217 r6 = R0(4*height + y, x) * 0.5f;
221 r3 = (R0(height + y, x) - r3) * 0.5f;
230 c_border[::min(height - y - 1, BORDER_SIZE)];
236 M(height + y, x) = (r4 + r5)*r6;
237 M(2*height + y, x) = r5*r5 + r6*r6;
238 M(3*height + y, x) = r4*r2 + r6*r3;
239 M(4*height + y, x) = r6*r2 + r5*r3;
268 const int height, const int width, const PtrStepf M, PtrStepf flowx, PtrStepf flowy)
273 if (y < height && x < width)
276 float g12 = M(height + y, x);
277 float g22 = M(2*height + y, x);
278 float h1 = M(3*height + y, x);
279 float h2 = M(4*height + y, x);
304 const int height, const int width, const PtrStepf src,
313 if (y < height)
323 row[i] += src(::max(y - j, 0), xExt) + src(::min(y + j, height - 1), xExt);
358 const int height, const int width, const PtrStepf src,
369 if (y < height)
379 row[k*smw + i] = src(k*height + y, xExt);
385 src(k*height + ::max(y - j, 0), xExt) +
386 src(k*height + ::min(y + j, height - 1), xExt);
409 dst(k*height + y, x) = res[k] * boxAreaInv;
417 int height = src.rows / 5;
421 dim3 grid(divUp(width, block.x), divUp(height, block.y));
425 boxFilter5<<<grid, block, smem, stream>>>(height, width, src, ksizeHalf, boxAreaInv, dst);
436 int height = src.rows / 5;
440 dim3 grid(divUp(width, block.x), divUp(height, block.y));
444 boxFilter5<<<grid, block, smem, stream>>>(height, width, src, ksizeHalf, boxAreaInv, dst);
457 const int height, const int width, const PtrStepf src, const int ksizeHalf,
466 if (y < height)
504 int height = src.rows;
508 dim3 grid(divUp(width, block.x), divUp(height, block.y));
510 Border b(height, width);
512 gaussianBlur<<<grid, block, smem, stream>>>(height, width, src, ksizeHalf, b, dst);
541 const int height, const int width, const PtrStepf src, const int ksizeHalf,
552 if (y < height)
562 row[k*smw + i] = src(k*height + y, xExt) * c_gKer[0];
568 (src(k*height + b.idx_row_low(y - j), xExt) +
569 src(k*height + b.idx_row_high(y + j), xExt)) * c_gKer[j];
592 dst(k*height + y, x) = res[k];
602 int height = src.rows / 5;
606 dim3 grid(divUp(width, block.x), divUp(height, block.y));
608 Border b(height, width);
610 gaussianBlur5<<<grid, block, smem, stream>>>(height, width, src, ksizeHalf, b, dst);