Home
last modified time | relevance | path

Searched refs:x_ofs (Results 1 – 2 of 2) sorted by relevance

/external/opencv/cv/src/
Dcvimgwarp.cpp127 int* x_ofs = (int*)cvStackAlloc( dsize.width * sizeof(x_ofs[0]) ); in icvResize_NN_8u_C1R() local
135 x_ofs[x] = t*pix_size; in icvResize_NN_8u_C1R()
150 uchar t0 = tsrc[x_ofs[x]]; in icvResize_NN_8u_C1R()
151 uchar t1 = tsrc[x_ofs[x+1]]; in icvResize_NN_8u_C1R()
158 dst[x] = tsrc[x_ofs[x]]; in icvResize_NN_8u_C1R()
162 *(ushort*)(dst + x*2) = *(ushort*)(tsrc + x_ofs[x]); in icvResize_NN_8u_C1R()
167 const uchar* _tsrc = tsrc + x_ofs[x]; in icvResize_NN_8u_C1R()
173 *(int*)(dst + x*4) = *(int*)(tsrc + x_ofs[x]); in icvResize_NN_8u_C1R()
178 const ushort* _tsrc = (const ushort*)(tsrc + x_ofs[x]); in icvResize_NN_8u_C1R()
185 CV_MEMCPY_INT( dst + x*pix_size, tsrc + x_ofs[x], pix_size4 ); in icvResize_NN_8u_C1R()
/external/opencv3/modules/imgproc/src/
Dimgwarp.cpp331 ParallelLoopBody(), src(_src), dst(_dst), x_ofs(_x_ofs), pix_size4(_pix_size4), in resizeNNInvoker()
352 uchar t0 = S[x_ofs[x]]; in operator ()()
353 uchar t1 = S[x_ofs[x+1]]; in operator ()()
359 D[x] = S[x_ofs[x]]; in operator ()()
363 *(ushort*)(D + x*2) = *(ushort*)(S + x_ofs[x]); in operator ()()
368 const uchar* _tS = S + x_ofs[x]; in operator ()()
374 *(int*)(D + x*4) = *(int*)(S + x_ofs[x]); in operator ()()
379 const ushort* _tS = (const ushort*)(S + x_ofs[x]); in operator ()()
387 const int* _tS = (const int*)(S + x_ofs[x]); in operator ()()
395 const int* _tS = (const int*)(S + x_ofs[x]); in operator ()()
[all …]