Home
last modified time | relevance | path

Searched refs:srow0 (Results 1 – 16 of 16) sorted by relevance

/dports/graphics/opencv/opencv-4.5.3/3rdparty/carotene/src/
H A Dsobel.cpp111 const f32* srow0; in Sobel3x3() local
135 internal::prefetch(srow0 + x); in Sobel3x3()
139 float32x4_t x0 = vld1q_f32(srow0 + x); in Sobel3x3()
215 rowx = srow2[x] + 2*srow1[x] + srow0[x]; in Sobel3x3()
223 rowx = srow2[x] - 2*srow1[x] + srow0[x]; in Sobel3x3()
227 prevx = x > 0 ? srow2[x-1] - srow0[x-1] : in Sobel3x3()
231 rowx = srow2[x] - srow0[x]; in Sobel3x3()
252 nextx = srow2[x-1] - srow0[x-1]; in Sobel3x3()
256 nextx = srow2[x] + 2*srow1[x] + srow0[x]; in Sobel3x3()
260 nextx = srow2[x] - srow0[x]; in Sobel3x3()
[all …]
H A Dconvolution.cpp134 …const u8 * srow0 = y == 0 && border == BORDER_MODE_CONSTANT ? NULL : internal::getRowPtr(srcBase, … in convolution() local
148 internal::prefetch(srow0 + x); in convolution()
152 uint8x8_t x0 = !srow0 ? v_border : vld1_u8(srow0 + x); in convolution()
166 prevx[0] = srow0 ? srow0[x4] : borderValue; in convolution()
171 currx[0] = srow0 ? srow0[x3] : borderValue; in convolution()
295 nextx[0] = srow0[x]; in convolution()
302 nextx[0] = srow0 ? srow0[x + 1] : borderValue; in convolution()
H A Dblur.cpp85 internal::prefetch(srow0 + x); in blur3x3()
89 uint8x8_t x0 = !srow0 ? v_border : vld1_u8(srow0 + x); in blur3x3()
102 … prevx = (srow2 ? srow2[x4] : borderValue) + srow1[x4] + (srow0 ? srow0[x4] : borderValue); in blur3x3()
104 … currx = (srow2 ? srow2[x3] : borderValue) + srow1[x3] + (srow0 ? srow0[x3] : borderValue); in blur3x3()
159 (srow0 ? srow0[x + 1] : borderValue); in blur3x3()
224 const u8* srow0; in blur3x3() local
244 internal::prefetch(srow0 + x); in blur3x3()
330 const u8* srow0; in blur3x3() local
350 internal::prefetch(srow0 + x); in blur3x3()
531 const u8 *srow0, *srow1; in blur5x5() local
[all …]
H A Dscharr.cpp100 … const u8* srow0 = internal::getRowPtr(srcBase, srcStride, y > 0 ? y-1 : size.height > 1 ? 1 : 0); in ScharrDeriv() local
109 internal::prefetch(srow0 + x); in ScharrDeriv()
126 [src0] "r" (srow0 + x), in ScharrDeriv()
133 uint8x8_t s0 = vld1_u8(srow0 + x); in ScharrDeriv()
148 trow0[x] = (s16)((srow0[x] + srow2[x])*3 + srow1[x]*10); in ScharrDeriv()
149 trow1[x] = (s16)(srow2[x] - srow0[x]); in ScharrDeriv()
H A Dmorph.cpp135 …const u8 * srow0 = y == 0 && border == BORDER_MODE_CONSTANT ? NULL : internal::getRowPtr(srcBase, … in morph3x3() local
147 internal::prefetch(srow0 + x); in morph3x3()
151 uint8x16_t x0 = !srow0 ? v_border : vld1q_u8(srow0 + x); in morph3x3()
166 srow0 ? srow0[x4] : borderValue)); in morph3x3()
168 … currx = vop(srow2 ? srow2[x3] : borderValue, vop(srow1[x3], srow0 ? srow0[x3] : borderValue)); in morph3x3()
216 nextx = vop(srow2[x], vop(srow1[x], srow0[x])); in morph3x3()
220 srow0 ? srow0[x + 1] : borderValue), in morph3x3()
H A Dlaplacian.cpp73 …const u8 * srow0 = y == 0 && border == BORDER_MODE_CONSTANT ? NULL : internal::getRowPtr(srcBase, … in Laplacian3x3() local
85 internal::prefetch(srow0 + x); in Laplacian3x3()
89 uint8x8_t x0 = !srow0 ? v_border : vld1_u8(srow0 + x); in Laplacian3x3()
102 … prevx = (srow2 ? srow2[x4] : borderValue) + srow1[x4] + (srow0 ? srow0[x4] : borderValue); in Laplacian3x3()
104 … currx = (srow2 ? srow2[x3] : borderValue) + srow1[x3] + (srow0 ? srow0[x3] : borderValue); in Laplacian3x3()
159 nextx = srow2[x] + srow1[x] + srow0[x]; in Laplacian3x3()
165 (srow0 ? srow0[x + 1] : borderValue); in Laplacian3x3()
H A Dgaussian_blur.cpp71 …const u8 * srow0 = y == 0 && border == BORDER_MODE_CONSTANT ? NULL : internal::getRowPtr(srcBase, … in gaussianBlur3x3() local
83 internal::prefetch(srow0 + x); in gaussianBlur3x3()
87 uint8x8_t x0 = !srow0 ? v_border : vld1_u8(srow0 + x); in gaussianBlur3x3()
100 … prevx = (srow2 ? srow2[x4] : borderValue) + (srow1[x4] << 1) + (srow0 ? srow0[x4] : borderValue); in gaussianBlur3x3()
102 … currx = (srow2 ? srow2[x3] : borderValue) + (srow1[x3] << 1) + (srow0 ? srow0[x3] : borderValue); in gaussianBlur3x3()
149 nextx = srow2[x] + (srow1[x] << 1) + srow0[x]; in gaussianBlur3x3()
154 (srow0 ? srow0[x + 1] : borderValue); in gaussianBlur3x3()
H A Dresize.cpp1989 internal::prefetch(srow0 + x + 2 * srcStride); in resizeLinear()
2013 internal::prefetch(srow0 + x + 2 * srcStride); in resizeLinear()
2016 uint8x16x3_t v_src10 = vld3q_u8(srow0 + (x * 3)); in resizeLinear()
2019 uint8x16x3_t v_src11 = vld3q_u8(srow0 + (y * 3)); in resizeLinear()
2044 internal::prefetch(srow0 + x + 2 * srcStride); in resizeLinear()
2047 uint8x16x4_t v_src10 = vld4q_u8(srow0 + (x << 2)); in resizeLinear()
2112 internal::prefetch(srow0 + x + 2 * srcStride); in resizeLinear()
2131 internal::prefetch(srow0 + x + 2 * srcStride); in resizeLinear()
2134 uint8x16x3_t v_src1 = vld3q_u8(srow0 + (x * 3)); in resizeLinear()
2156 internal::prefetch(srow0 + x + 2 * srcStride); in resizeLinear()
[all …]
/dports/games/uqm/uqm-0.8.0/src/libs/graphics/sdl/
H A Dbilinear2x.c49 Uint32 *srow0 = (Uint32 *) src->pixels; in SCALE_() local
69 srow0 += len * region->y + region->x; in SCALE_()
72 for (y = region->y; y < yend; ++y, dst_p += ddst, srow0 += dsrc) in SCALE_()
76 SCALE_(Prefetch) (srow0 + 16); in SCALE_()
77 SCALE_(Prefetch) (srow0 + 32); in SCALE_()
80 srow1 = srow0 + len; in SCALE_()
82 srow1 = srow0; in SCALE_()
91 SCALE_BILINEAR_BLEND4 (srow0, srow1, dst_p, dlen); in SCALE_()
95 p[0] = srow0[0]; in SCALE_()
104 SCALE_(Prefetch) (srow0 + dsrc); in SCALE_()
[all …]
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cudafeatures2d/src/cuda/
H A Dorb.cu130 int* srow0 = smem0 + threadIdx.y * blockDim.x; in HarrisResponses() local
135 …reduce<32>(smem_tuple(srow0, srow1, srow2), thrust::tie(a, b, c), threadIdx.x, thrust::make_tuple(… in HarrisResponses()
178 int* srow0 = smem0 + threadIdx.y * blockDim.x; in IC_Angle() local
195 reduce<32>(srow0, m_10, threadIdx.x, op); in IC_Angle()
213 …reduce<32>(smem_tuple(srow0, srow1), thrust::tie(v_sum, m_sum), threadIdx.x, thrust::make_tuple(op… in IC_Angle()
/dports/graphics/opencv/opencv-4.5.3/modules/video/src/
H A Doptflowgf.cpp138 const float *srow0 = src.ptr<float>(y), *srow1 = 0; in FarnebackPolyExp() local
144 row[x*3] = srow0[x]*g0; in FarnebackPolyExp()
151 srow0 = src.ptr<float>(std::max(y-k,0)); in FarnebackPolyExp()
156 float p = srow0[x] + srow1[x]; in FarnebackPolyExp()
158 float t1 = row[x*3+1] + g1*(srow1[x] - srow0[x]); in FarnebackPolyExp()
329 const float* srow0 = matM.ptr<float>(); in FarnebackUpdateFlow_Blur() local
331 vsum[x] = srow0[x]*(m+2); in FarnebackUpdateFlow_Blur()
335 srow0 = matM.ptr<float>(std::min(y,height-1)); in FarnebackUpdateFlow_Blur()
337 vsum[x] += srow0[x]; in FarnebackUpdateFlow_Blur()
346 srow0 = matM.ptr<float>(std::max(y-m-1,0)); in FarnebackUpdateFlow_Blur()
[all …]
H A Dlkpyramid.cpp85 const uchar* srow0 = src.ptr<uchar>(y > 0 ? y-1 : rows > 1 ? 1 : 0); in operator ()() local
96 v_int16x8 s0 = v_reinterpret_as_s16(v_load_expand(srow0 + x)); in operator ()()
111 int t0 = (srow0[x] + srow2[x])*3 + srow1[x]*10; in operator ()()
112 int t1 = srow2[x] - srow0[x]; in operator ()()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/stereo/src/
H A Dstereo_binary_bm.cpp175 … const uchar* srow0 = y > 0 ? srow1 - src.step : size.height > 1 ? srow1 + src.step : srow1; in prefilterXSobel() local
191 … __m128i c0 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow0 + x - 1)), z); in prefilterXSobel()
193 … __m128i d0 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow0 + x + 1)), z); in prefilterXSobel()
220 int d0 = srow0[x + 1] - srow0[x - 1], d1 = srow1[x + 1] - srow1[x - 1], in prefilterXSobel()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/optflow/src/rlof/
H A Drlof_localflow.cpp39 const uchar* srow0 = src.ptr<uchar>(y > 0 ? y - 1 : rows > 1 ? 1 : 0); in calcSharrDeriv() local
51 v_int16x8 s0 = v_reinterpret_as_s16(v_load_expand(srow0 + x)); in calcSharrDeriv()
66 int t0 = (srow0[x] + srow2[x]) * 3 + srow1[x] * 10; in calcSharrDeriv()
67 int t1 = srow2[x] - srow0[x]; in calcSharrDeriv()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/tracking/include/pcl/tracking/impl/
H A Dpyramidal_klt.hpp202 const float* srow0 = src_ptr + (y > 0 ? y - 1 : height > 1 ? 1 : 0) * width; in derivatives() local
211 trow0[x] = (srow0[x] + srow2[x]) * 3 + srow1[x] * 10; in derivatives()
212 trow1[x] = srow2[x] - srow0[x]; in derivatives()
/dports/graphics/opencv/opencv-4.5.3/modules/calib3d/src/
H A Dstereobm.cpp225 const uchar* srow0 = y > 0 ? srow1 - src.step : size.height > 1 ? srow1 + src.step : srow1; in prefilterXSobel() local
242 v_int16 s00 = v_reinterpret_as_s16(vx_load_expand(srow0 + x + 1)); in prefilterXSobel()
243 v_int16 s01 = v_reinterpret_as_s16(vx_load_expand(srow0 + x - 1)); in prefilterXSobel()
267 int d0 = srow0[x+1] - srow0[x-1], d1 = srow1[x+1] - srow1[x-1], in prefilterXSobel()