Lines Matching full:height

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