Lines Matching refs:src1
59 void bitMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& mask, double, Stream& stream, int op);
140 void bitMatOp(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& mask, Stream& stream)
142 GlobPtrSz<T> vsrc1 = globPtr((T*) src1.data, src1.step, src1.rows, src1.cols * src1.channels());
143 GlobPtrSz<T> vsrc2 = globPtr((T*) src2.data, src2.step, src1.rows, src1.cols * src1.channels());
144 GlobPtrSz<T> vdst = globPtr((T*) dst.data, dst.step, src1.rows, src1.cols * src1.channels());
147 gridTransformBinary(vsrc1, vsrc2, vdst, Op<T>(), singleMaskChannels(globPtr<uchar>(mask), src1.channels()), stream);
153 void bitMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& mask, double, Stream& stream, int op)
155 typedef void (*func_t)(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& mask, Stream& stream);
175 const int depth = src1.depth();
182 const int bcols = (int) (src1.cols * src1.elemSize());
188 GpuMat vsrc1(src1.rows, vcols, CV_32SC1, src1.data, src1.step);
189 GpuMat vsrc2(src1.rows, vcols, CV_32SC1, src2.data, src2.step);
190 GpuMat vdst(src1.rows, vcols, CV_32SC1, dst.data, dst.step);
198 GpuMat vsrc1(src1.rows, vcols, CV_16UC1, src1.data, src1.step);
199 GpuMat vsrc2(src1.rows, vcols, CV_16UC1, src2.data, src2.step);
200 GpuMat vdst(src1.rows, vcols, CV_16UC1, dst.data, dst.step);
206 GpuMat vsrc1(src1.rows, bcols, CV_8UC1, src1.data, src1.step);
207 GpuMat vsrc2(src1.rows, bcols, CV_8UC1, src2.data, src2.step);
208 GpuMat vdst(src1.rows, bcols, CV_8UC1, dst.data, dst.step);
217 funcs32[op](src1, src2, dst, mask, stream);
221 funcs16[op](src1, src2, dst, mask, stream);
225 funcs8[op](src1, src2, dst, mask, stream);