Home | History | Annotate | Download | only in imgproc

Lines Matching full:srcptr

24 "__kernel void accumulate(__global const uchar * srcptr, int src_step, int src_offset,\n"
54 "__global const srcT1 * src = (__global const srcT1 *)(srcptr + src_index);\n"
300 "inline WT readSrcPixel(int2 pos, __global const uchar * srcptr, int src_step, const struct RectCoords srcCoords)\n"
309 "WT value = convertToWT(loadpix(srcptr + src_index));\n"
326 "WT value = convertToWT(loadpix(srcptr + src_index));\n"
331 "__kernel void boxFilter(__global const uchar * srcptr, int src_step, int srcOffsetX, int srcOffsetY, int srcEndX, int srcEndY,\n"
347 "data[sy] = readSrcPixel(srcPos, srcptr, src_step, srcCoords);\n"
376 "data[sy_index] = readSrcPixel(srcPos, srcptr, src_step, srcCoords);\n"
875 "__global const uchar* srcPtr = src + mad24(ty * tileSize.y + i, srcStep, tx * tileSize.x + src_offset);\n"
878 "const int data = srcPtr[j];\n"
1439 "__kernel void RGB2Gray(__global const uchar * srcptr, int src_step, int src_offset,\n"
1454 "__global const DATA_TYPE* src = (__global const DATA_TYPE*)(srcptr + src_index);\n"
1469 "__kernel void Gray2RGB(__global const uchar * srcptr, int src_step, int src_offset,\n"
1484 "__global const DATA_TYPE* src = (__global const DATA_TYPE*)(srcptr + src_index);\n"
1504 "__kernel void RGB2YUV(__global const uchar* srcptr, int src_step, int src_offset,\n"
1519 "__global const DATA_TYPE* src = (__global const DATA_TYPE*)(srcptr + src_index);\n"
1547 "__kernel void YUV2RGB(__global const uchar* srcptr, int src_step, int src_offset,\n"
1562 "__global const DATA_TYPE* src = (__global const DATA_TYPE*)(srcptr + src_index);\n"
1592 "__kernel void YUV2RGB_NVx(__global const uchar* srcptr, int src_step, int src_offset,\n"
1605 "__global const uchar* ysrc = srcptr + mad24(y << 1, src_step, (x << 1) + src_offset);\n"
1606 "__global const uchar* usrc = srcptr + mad24(rows + y, src_step, (x << 1) + src_offset);\n"
1652 "__kernel void YUV2RGB_YV12_IYUV(__global const uchar* srcptr, int src_step, int src_offset,\n"
1665 "__global const uchar* ysrc = srcptr + mad24(y << 1, src_step, (x << 1) + src_offset);\n"
1673 "__global const uchar* uvsrc = srcptr + mad24(rows, src_step, src_offset);\n"
1678 "__global const uchar* usrc = srcptr + mad24(rows + (y>>1), src_step, src_offset + (y%2)*(cols >> 1) + x);\n"
1723 "__kernel void RGB2YUV_YV12_IYUV(__global const uchar* srcptr, int src_step, int src_offset,\n"
1741 "__global const uchar* src1 = srcptr + src_index;\n"
1813 "__kernel void YUV2RGB_422(__global const uchar* srcptr, int src_step, int src_offset,\n"
1821 "__global const uchar* src = srcptr + mad24(y, src_step, (x << 2) + src_offset);\n"
1866 "__kernel void RGB2YCrCb(__global const uchar* srcptr, int src_step, int src_offset,\n"
1881 "__global const DATA_TYPE* src = (__global const DATA_TYPE*)(srcptr + src_index);\n"
1924 "__global const DATA_TYPE * srcptr = (__global const DATA_TYPE*)(src + src_index);\n"
1926 "DATA_TYPE_4 src_pix = vload4(0, srcptr);\n"
1952 "__kernel void RGB2XYZ(__global const uchar * srcptr, int src_step, int src_offset,\n"
1967 "__global const DATA_TYPE * src = (__global const DATA_TYPE *)(srcptr + src_index);\n"
1990 "__kernel void XYZ2RGB(__global const uchar * srcptr, int src_step, int src_offset,\n"
2005 "__global const DATA_TYPE * src = (__global const DATA_TYPE *)(srcptr + src_index);\n"
2038 "__kernel void RGB(__global const uchar* srcptr, int src_step, int src_offset,\n"
2053 "__global const DATA_TYPE * src = (__global const DATA_TYPE *)(srcptr + src_index);\n"
2314 "__kernel void RGB2HSV(__global const uchar* srcptr, int src_step, int src_offset,\n"
2329 "__global const float * src = (__global const float *)(srcptr + src_index);\n"
2361 "__kernel void HSV2RGB(__global const uchar* srcptr, int src_step, int src_offset,\n"
2376 "__global const float * src = (__global const float *)(srcptr + src_index);\n"
2525 "__kernel void RGB2HLS(__global const uchar* srcptr, int src_step, int src_offset,\n"
2540 "__global const float * src = (__global const float *)(srcptr + src_index);\n"
2575 "__kernel void HLS2RGB(__global const uchar* srcptr, int src_step, int src_offset,\n"
2590 "__global const float * src = (__global const float *)(srcptr + src_index);\n"
2745 "__kernel void BGR2Lab(__global const uchar * srcptr, int src_step, int src_offset,\n"
2763 "__global const float * src = (__global const float *)(srcptr + src_index);\n"
2883 "__kernel void Lab2BGR(__global const uchar * srcptr, int src_step, int src_offset,\n"
2901 "__global const float * src = (__global const float *)(srcptr + src_index);\n"
2927 "__kernel void BGR2Luv(__global const uchar * srcptr, int src_step, int src_offset,\n"
2944 "__global const float * src = (__global const float *)(srcptr + src_index);\n"
3013 "__kernel void Luv2BGR(__global const uchar * srcptr, int src_step, int src_offset,\n"
3030 "__global const float * src = (__global const float *)(srcptr + src_index);\n"
3235 "__kernel void filter2D(__global const uchar * srcptr, int src_step, int srcOffsetX, int srcOffsetY, int srcEndX, int srcEndY,\n"
3259 "data[sy + sy_index] = convertToWT(loadpix(srcptr + mad24(srcY, src_step, srcX * SRCSIZE)));\n"
3277 "data[sy + sy_index] = convertToWT(loadpix(srcptr + mad24(tempY, src_step, srcX * SRCSIZE)));\n"
3432 "__global const uchar* srcptr, int srcstep)\n"
3444 "__global const uchar* ptr = srcptr + mul24(coord.y, srcstep) +\n"
3449 "inline WT readSrcPixelSingle(int2 pos, __global const uchar* srcptr,\n"
3454 "__global const uchar* ptr = srcptr + mul24(pos.y, srcstep) +\n"
3460 "return getBorderPixel(srcCoords, pos, srcptr, srcstep);\n"
3479 "inline PX_LOAD_FLOAT_VEC_TYPE readSrcPixelGroup(int2 pos, __global const uchar* srcptr,\n"
3483 "(srcptr + mul24(pos.y, srcstep) +\n"
3503 "__kernel void filter2DSmall(__global const uchar * srcptr, int src_step, int srcOffsetX, int srcOffsetY, int srcEndX, int srcEndY,\n"
3525 "PX_LOAD_FLOAT_VEC_TYPE p = readSrcPixelGroup(srcPos, srcptr, src_step, srcCoords);\n"
3533 "WT p = readSrcPixelSingle(srcPos, srcptr, src_step, srcCoords);\n"
4211 "inline PX_LOAD_FLOAT_VEC_TYPE readSrcPixelGroup(int2 pos, __global const uchar * srcptr,\n"
4215 "(srcptr + mad24(pos.y, srcstep, pos.x * SRCSIZE));\n"
4319 "__global const uchar * srcptr, int srcstep)\n"
4335 "__global const uchar* ptr = srcptr + mad24(selected_row, srcstep, selected_col * SRCSIZE);\n"
4339 "inline WT readSrcPixelSingle(int2 pos, __global const uchar * srcptr,\n"
4344 "__global const uchar * ptr = srcptr + mad24(pos.y, srcstep, pos.x * SRCSIZE);\n"
4348 "return getBorderPixel(srcCoords, pos, srcptr, srcstep);\n"
4350 "__kernel void filterSmall(__global const uchar * srcptr, int src_step, int srcOffsetX, int srcOffsetY, int srcEndX, int srcEndY,\n"
4374 "PX_LOAD_FLOAT_VEC_TYPE p = readSrcPixelGroup(srcPos, srcptr, src_step, srcCoords);\n"
4386 "WT p = readSrcPixelSingle(srcPos, srcptr, src_step, srcCoords);\n"
4431 "__kernel void maxEigenVal(__global const uchar * srcptr, int src_step, int src_offset, int cols,\n"
4450 "maxval = max(maxval, *(__global const float *)(srcptr + src_index));\n"
5321 "__kernel void calcSum(__global const uchar * srcptr, int src_step, int src_offset,\n"
5330 "T src = loadpix(srcptr + src_index);\n"
5371 "__kernel void matchTemplate_Naive_CCORR(__global const uchar * srcptr, int src_step, int src_offset,\n"
5389 "T src = vload4(0, (__global const T1*)(srcptr + ind + j*(int)sizeof(T1)));\n"
5404 "__global const T1 * src = (__global const T1 *)(srcptr + mad24(y, src_step, mad24(x0, (int)sizeof(T1), src_offset)));\n"
5429 "__kernel void matchTemplate_Naive_CCORR(__global const uchar * srcptr, int src_step, int src_offset,\n"
5442 "T src = loadpix(srcptr + mad24(y+i, src_step, mad24(x+j, TSIZE, src_offset)));\n"
5472 "__kernel void matchTemplate_Naive_SQDIFF(__global const uchar * srcptr, int src_step, int src_offset,\n"
5485 "T src = loadpix(srcptr + mad24(y+i, src_step, mad24(x+j, TSIZE, src_offset)));\n"
5711 "#define LOAD4(val, offs) (val) = vload4(0, (__global T1 *)(srcptr + src_index + (offs)))\n"
5722 "#define LOAD4(val, offs) (val) = vload8(0, (__global T1 *)(srcptr + src_index + (offs)))\n"
5733 "#define LOAD4(val, offs) (val) = vload16(0, (__global T1 *)(srcptr + src_index + (offs)))\n"
5744 "__kernel void medianFilter3_u(__global const uchar* srcptr, int srcStep, int srcOffset,\n"
5760 "c0 = *(__global T *)(srcptr + src_index + x_left);\n"
5762 "c2 = *(__global T *)(srcptr + src_index + x_right);\n"
5764 "c3 = *(__global T *)(srcptr + src_index + x_left);\n"
5766 "c5 = *(__global T *)(srcptr + src_index + x_right);\n"
5769 "c6 = *(__global T *)(srcptr + src_index + x_left); \\\n"
5771 "c8 = *(__global T *)(srcptr + src_index + x_right); \\\n"
5792 "__kernel void medianFilter5_u(__global const uchar* srcptr, int srcStep, int srcOffset,\n"
5812 "c0 = *(__global T *)(srcptr + src_index + x_leftmost);\n"
5813 "c1 = *(__global T *)(srcptr + src_index + x_left);\n"
5815 "c3 = *(__global T *)(srcptr + src_index + x_right);\n"
5816 "c4 = *(__global T *)(srcptr + src_index + x_rightmost);\n"
5818 "c5 = *(__global T *)(srcptr + src_index + x_leftmost);\n"
5819 "c6 = *(__global T *)(srcptr + src_index + x_left);\n"
5821 "c8 = *(__global T *)(srcptr + src_index + x_right);\n"
5822 "c9 = *(__global T *)(srcptr + src_index + x_rightmost);\n"
5824 "c10 = *(__global T *)(srcptr + src_index + x_leftmost);\n"
5825 "c11 = *(__global T *)(srcptr + src_index + x_left);\n"
5827 "c13 = *(__global T *)(srcptr + src_index + x_right);\n"
5828 "c14 = *(__global T *)(srcptr + src_index + x_rightmost);\n"
5830 "c15 = *(__global T *)(srcptr + src_index + x_leftmost);\n"
5831 "c16 = *(__global T *)(srcptr + src_index + x_left);\n"
5833 "c18 = *(__global T *)(srcptr + src_index + x_right);\n"
5834 "c19 = *(__global T *)(srcptr + src_index + x_rightmost);\n"
5838 "c20 = *(__global T *)(srcptr + src_index + x_leftmost);\n"
5839 "c21 = *(__global T *)(srcptr + src_index + x_left);\n"
5841 "c23 = *(__global T *)(srcptr + src_index + x_right);\n"
5842 "c24 = *(__global T *)(srcptr + src_index + x_rightmost);\n"
5886 "__kernel void medianFilter3(__global const uchar * srcptr, int src_step, int src_offset,\n"
5904 "data[dr][dc] = loadpix(srcptr + index1);\n"
5905 "data[dr+9][dc] = loadpix(srcptr + index9);\n"
5920 "__kernel void medianFilter5(__global const uchar * srcptr, int src_step, int src_offset,\n"
5938 "data[dr][dc] = loadpix(srcptr + index1);\n"
5939 "data[dr+10][dc] = loadpix(srcptr + index10);\n"
6205 "__kernel void morph(__global const uchar * srcptr, int src_step, int src_offset,\n"
6228 "T temp0 = loadpix(srcptr + start_addr);\n"
6229 "T temp1 = loadpix(srcptr + start_addr2);\n"
6676 "v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \\\n"
6690 "v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \\\n"
6724 "v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \\\n"
6731 "__kernel void remap_2_32FC1(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
6767 "storepix(loadpix((__global const T*)(srcptr + src_index)), dst);\n"
6772 "__kernel void remap_32FC2(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
6802 "storepix(loadpix((__global const T *)(srcptr + src_index)), dst);\n"
6807 "__kernel void remap_16SC2(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
6837 "storepix(loadpix((__global const T *)(srcptr + src_index)), dst);\n"
6842 "__kernel void remap_16SC2_16UC1(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
6878 "storepix(loadpix((__global const T *)(srcptr + src_index)), dst);\n"
6891 "__kernel void remap_16SC2_16UC1(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
6921 "a = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataA.y, src_step, map_dataA.x * TSIZE + src_offset))));\n"
6925 "b = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataB.y, src_step, map_dataB.x * TSIZE + src_offset))));\n"
6929 "c = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataC.y, src_step, map_dataC.x * TSIZE + src_offset))));\n"
6933 "d = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataD.y, src_step, map_dataD.x * TSIZE + src_offset))));\n"
6944 "__kernel void remap_2_32FC1(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
6983 "uchar2 value = vload2(0, srcptr + src_index);\n"
6988 "xsum = fma(convertToWT(loadpix(srcptr + mad24(xp, TSIZE, src_index))), coeffs_x[xp], xsum);\n"
6996 "convertToWT(loadpix(srcptr + mad24(xp, TSIZE, src_index))) : scalar, coeffs_x[xp], xsum);\n"
7015 "a = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataA.y, src_step, map_dataA.x * TSIZE + src_offset))));\n"
7019 "b = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataB.y, src_step, map_dataB.x * TSIZE + src_offset))));\n"
7023 "c = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataC.y, src_step, map_dataC.x * TSIZE + src_offset))));\n"
7027 "d = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataD.y, src_step, map_dataD.x * TSIZE + src_offset))));\n"
7039 "__kernel void remap_32FC2(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
7067 "a = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataA.y, src_step, map_dataA.x * TSIZE + src_offset))));\n"
7071 "b = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataB.y, src_step, map_dataB.x * TSIZE + src_offset))));\n"
7075 "c = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataC.y, src_step, map_dataC.x * TSIZE + src_offset))));\n"
7079 "d = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataD.y, src_step, map_dataD.x * TSIZE + src_offset))));\n"
7165 "__kernel void resizeLN(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
7183 "WT data0 = convertToWT(loadpix(srcptr + src_index0));\n"
7184 "WT data1 = convertToWT(loadpix(srcptr + src_index0 + TSIZE));\n"
7185 "WT data2 = convertToWT(loadpix(srcptr + src_index1));\n"
7186 "WT data3 = convertToWT(loadpix(srcptr + src_index1 + TSIZE));\n"
7194 "__kernel void resizeLN(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
7218 "WT data0 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x, TSIZE, src_offset))));\n"
7219 "WT data1 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x_, TSIZE, src_offset))));\n"
7220 "WT data2 = convertToWT(loadpix(srcptr + mad24(y_, src_step, mad24(x, TSIZE, src_offset))));\n"
7221 "WT data3 = convertToWT(loadpix(srcptr + mad24(y_, src_step, mad24(x_, TSIZE, src_offset))));\n"
7228 "WT data0 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x, TSIZE, src_offset))));\n"
7229 "WT data1 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x_, TSIZE, src_offset))));\n"
7230 "WT data2 = convertToWT(loadpix(srcptr + mad24(y_, src_step, mad24(x, TSIZE, src_offset))));\n"
7231 "WT data3 = convertToWT(loadpix(srcptr + mad24(y_, src_step, mad24(x_, TSIZE, src_offset))));\n"
7238 "__kernel void resizeNN(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
7250 "storepix(loadpix(srcptr + mad24(sy, src_step, mad24(sx, TSIZE, src_offset))),\n"
7331 "__kernel void threshold(__global const uchar * srcptr, int src_step, int src_offset,\n"
7346 "T sdata = *(__global const T *)(srcptr + src_index);\n"
7407 "__kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
7428 "storepix(loadpix(srcptr + src_index), dstptr + dst_index);\n"
7443 "__kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
7467 "v0 = convertToWT(loadpix(srcptr + mad24(sy, src_step, mad24(sx, pixsize, src_offset))));\n"
7469 "v2 = convertToWT(loadpix(srcptr + mad24(sy+1, src_step, mad24(sx, pixsize, src_offset))));\n"
7474 "v1 = convertToWT(loadpix(srcptr + mad24(sy, src_step, mad24(sx+1, pixsize, src_offset))));\n"
7476 "v3 = convertToWT(loadpix(srcptr + mad24(sy+1, src_step, mad24(sx+1, pixsize, src_offset))));\n"
7508 "uchar2 value = vload2(0, srcptr + src_index);\n"
7513 "xsum = fma(convertToWT(loadpix(srcptr + mad24(x, pixsize, src_index))), coeffs_x[x], xsum);\n"
7521 "convertToWT(loadpix(srcptr + mad24(x, pixsize, src_index))) : scalar, coeffs_x[x], xsum);\n"
7557 "__kernel void warpAffine(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
7582 "convertToWT(loadpix(srcptr + mad24(sy+y, src_step, mad24(sx+x, pixsize, src_offset)))) : scalar;\n"
7628 "uchar4 value = vload4(0, srcptr + src_index);\n"
7633 "xsum = fma(convertToWT(loadpix(srcptr + mad24(x, pixsize, src_index))), coeffs_x[x], xsum);\n"
7641 "convertToWT(loadpix(srcptr + mad24(x, pixsize, src_index))) : scalar, coeffs_x[x], xsum);\n"
7693 "__kernel void warpPerspective(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
7711 "storepix(loadpix(srcptr + src_index), dstptr + dst_index);\n"
7718 "__kernel void warpPerspective(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
7736 "convertToWT(loadpix(srcptr + mad24(sy, src_step, src_offset + sx * pixsize))) : scalar;\n"
7738 "convertToWT(loadpix(srcptr + mad24(sy, src_step, src_offset + (sx+1) * pixsize))) : scalar;\n"
7740 "convertToWT(loadpix(srcptr + mad24(sy+1, src_step, src_offset + sx * pixsize))) : scalar;\n"
7742 "convertToWT(loadpix(srcptr + mad24(sy+1, src_step, src_offset + (sx+1) * pixsize))) : scalar;\n"
7769 "__kernel void warpPerspective(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,\n"
7792 "convertToWT(loadpix(srcptr + mad24(sy+y, src_step, src_offset + (sx+x) * pixsize))) : scalar;\n"