/external/opencv3/modules/cudastereo/src/ |
util.cpp | 64 void cv::cuda::reprojectImageTo3D(InputArray _disp, OutputArray _xyz, InputArray _Q, int dst_cn, Stream& stream) 80 CV_Assert( dst_cn == 3 || dst_cn == 4 ); 82 _xyz.create(disp.size(), CV_MAKE_TYPE(CV_32F, dst_cn)); 85 funcs[dst_cn == 4][disp.type()](disp, xyz, Q.ptr<float>(), StreamAccessor::getStream(stream));
|
/external/opencv/cv/src/ |
cvcolor.cpp | 213 CvSize size, int dst_cn, 218 dststep -= size.width*dst_cn; 223 for( i = 0; i < size.width; i++, dst += dst_cn ) 229 if( dst_cn == 4 ) 233 for( i = 0; i < size.width; i++, dst += dst_cn ) 239 if( dst_cn == 4 ) 412 arrtype* dst, int dststep, CvSize size, int dst_cn, \ 418 int do_copy = dst_cn > 3 || blue_idx != 2 || src == dst; \ 428 dststep -= size.width*dst_cn; \ 442 for( k = 0; k < di*3; k += 3, dst += dst_cn ) \ 2244 int src_cn, dst_cn, depth; local [all...] |
/external/opencv3/modules/cudev/test/ |
test_color_cvt.cu | 61 #define CVT_COLOR_TEST(src_space, dst_space, src_cn, dst_cn) \ 69 GpuMat_<SelectIf<dst_cn == 1, uchar, uchar ## dst_cn>::type> dstb = src_space ## _to_ ## dst_space ## _(d_srcb); \ 77 GpuMat_<SelectIf<dst_cn == 1, float, float ## dst_cn>::type> dstf = src_space ## _to_ ## dst_space ## _(d_srcf); \
|
/external/opencv3/modules/cudastereo/include/opencv2/ |
cudastereo.hpp | 303 @param dst_cn The number of channels for output image. Can be 3 or 4. 308 CV_EXPORTS void reprojectImageTo3D(InputArray disp, OutputArray xyzw, InputArray Q, int dst_cn = 4, Stream& stream = Stream::Null());
|
/external/opencv/cxcore/src/ |
cxmatmul.cpp | 1611 int i, j, type, cn, dst_cn; local [all...] |
cxconvert.cpp | 740 int* src_cn = 0, *dst_cn = 0; local [all...] |
/external/opencv3/modules/cudalegacy/src/ |
fgd.cpp | 118 void copyChannels(const GpuMat& src, GpuMat& dst, int dst_cn = -1) 122 if (dst_cn < 0) 123 dst_cn = src_cn; 125 cuda::ensureSizeIsEnough(src.size(), CV_MAKE_TYPE(src.depth(), dst_cn), dst); 127 if (src_cn == dst_cn) 141 const int cvt_code = cvt_codes[src_cn - 1][dst_cn - 1]; 144 cuda::cvtColor(src, dst, cvt_code, dst_cn);
|
/external/opencv/otherlibs/highgui/ |
utils.cpp | 581 int src_cn, dst_cn, swap_rb = flags & CV_CVTIMG_SWAP_RB; local 587 dst_cn = CV_MAT_CN( dst->type ); 618 if( src_cn != dst_cn || src_cn == 3 && swap_rb ) 622 int code = src_cn*10 + dst_cn;
|
/external/opencv3/modules/imgcodecs/src/ |
utils.cpp | 602 int src_cn, dst_cn, swap_rb = flags & CV_CVTIMG_SWAP_RB; local 608 dst_cn = CV_MAT_CN( dst->type ); 639 if( src_cn != dst_cn || (src_cn == 3 && swap_rb) ) 643 int code = src_cn*10 + dst_cn;
|
/external/opencv3/modules/core/test/ |
test_dxt.cpp | 703 int dst_cn = dst.channels(); local 705 if( src_cn != 2 || dst_cn != 2 )
|
test_math.cpp | 832 int depth, dst_cn, mat_cols, mattype; local 837 dst_cn = cvtest::randInt(rng) % 4 + 1; 838 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, dst_cn); 842 types[INPUT][2] = CV_MAKETYPE(mattype, dst_cn); 856 sizes[INPUT][2] = Size(dst_cn,1); 858 sizes[INPUT][2] = Size(1,dst_cn); 863 sizes[INPUT][1] = Size(mat_cols,dst_cn); [all...] |
/external/opencv3/modules/imgproc/test/ |
test_color.cpp | 210 int cn = src.channels(), dst_cn = dst.channels(); local 211 int cols = src.cols, dst_cols_n = dst.cols*dst_cn; 218 assert( (cn == 3 || cn == 4) && (dst_cn == 3 || dst_cn == 1) ); [all...] |