Home
last modified time | relevance | path

Searched refs:dst_cn (Results 1 – 12 of 12) sorted by relevance

/external/opencv/cv/src/
Dcvcolor.cpp213 CvSize size, int dst_cn, in icvBGR5x52BGRx_8u_C2CnR() argument
218 dststep -= size.width*dst_cn; in icvBGR5x52BGRx_8u_C2CnR()
223 for( i = 0; i < size.width; i++, dst += dst_cn ) in icvBGR5x52BGRx_8u_C2CnR()
229 if( dst_cn == 4 ) in icvBGR5x52BGRx_8u_C2CnR()
233 for( i = 0; i < size.width; i++, dst += dst_cn ) in icvBGR5x52BGRx_8u_C2CnR()
239 if( dst_cn == 4 ) in icvBGR5x52BGRx_8u_C2CnR()
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 ) \
[all …]
/external/opencv3/modules/cudastereo/src/
Dutil.cpp64 void cv::cuda::reprojectImageTo3D(InputArray _disp, OutputArray _xyz, InputArray _Q, int dst_cn, St… in reprojectImageTo3D() argument
80 CV_Assert( dst_cn == 3 || dst_cn == 4 ); in reprojectImageTo3D()
82 _xyz.create(disp.size(), CV_MAKE_TYPE(CV_32F, dst_cn)); in reprojectImageTo3D()
85 funcs[dst_cn == 4][disp.type()](disp, xyz, Q.ptr<float>(), StreamAccessor::getStream(stream)); in reprojectImageTo3D()
/external/opencv3/modules/cudev/test/
Dtest_color_cvt.cu61 #define CVT_COLOR_TEST(src_space, dst_space, src_cn, dst_cn) \ argument
69 …GpuMat_<SelectIf<dst_cn == 1, uchar, uchar ## dst_cn>::type> dstb = src_space ## _to_ ## dst_space…
77 …GpuMat_<SelectIf<dst_cn == 1, float, float ## dst_cn>::type> dstf = src_space ## _to_ ## dst_space…
/external/opencv3/modules/cudalegacy/src/
Dfgd.cpp118 void copyChannels(const GpuMat& src, GpuMat& dst, int dst_cn = -1) in copyChannels() argument
122 if (dst_cn < 0) in copyChannels()
123 dst_cn = src_cn; in copyChannels()
125 cuda::ensureSizeIsEnough(src.size(), CV_MAKE_TYPE(src.depth(), dst_cn), dst); in copyChannels()
127 if (src_cn == dst_cn) in copyChannels()
141 const int cvt_code = cvt_codes[src_cn - 1][dst_cn - 1]; in copyChannels()
144 cuda::cvtColor(src, dst, cvt_code, dst_cn); in copyChannels()
/external/opencv/cxcore/src/
Dcxmatmul.cpp1266 for( i = 0; i < size.width; i++, dst += dst_cn ) \
1270 for( k = 0; k < dst_cn; k++, _mat += 2 ) \
1294 if( dst_cn == 2 ) \
1310 for( i = 0; i < size.width; i++, src += 2, dst += dst_cn ) \
1314 for( k = 0; k < dst_cn; k++, _mat += 3 ) \
1340 if( dst_cn == 3 ) \
1361 else if( dst_cn == 1 ) \
1372 for( i = 0; i < size.width; i++, src += 3, dst += dst_cn ) \
1376 for( k = 0; k < dst_cn; k++, _mat += 4 ) \
1405 for( i = 0; i < size.width; i++, src += 4, dst += dst_cn ) \
[all …]
Dcxconvert.cpp740 int* src_cn = 0, *dst_cn = 0; in cvMixChannels() local
782 dst_cn = src_cn + src_count + 1; in cvMixChannels()
783 src_step = dst_cn + dst_count + 1; in cvMixChannels()
793 src_cn[0] = dst_cn[0] = 0; in cvMixChannels()
829 dst_cn[i+1] = dst_cn[i] + cn; in cvMixChannels()
848 const int* cn_arr = k == 0 ? src_cn : dst_cn; in cvMixChannels()
/external/opencv/otherlibs/highgui/
Dutils.cpp581 int src_cn, dst_cn, swap_rb = flags & CV_CVTIMG_SWAP_RB; in cvConvertImage() local
587 dst_cn = CV_MAT_CN( dst->type ); in cvConvertImage()
618 if( src_cn != dst_cn || src_cn == 3 && swap_rb ) in cvConvertImage()
622 int code = src_cn*10 + dst_cn; in cvConvertImage()
/external/opencv3/modules/imgcodecs/src/
Dutils.cpp602 int src_cn, dst_cn, swap_rb = flags & CV_CVTIMG_SWAP_RB; in cvConvertImage() local
608 dst_cn = CV_MAT_CN( dst->type ); in cvConvertImage()
639 if( src_cn != dst_cn || (src_cn == 3 && swap_rb) ) in cvConvertImage()
643 int code = src_cn*10 + dst_cn; in cvConvertImage()
/external/opencv3/modules/cudastereo/include/opencv2/
Dcudastereo.hpp308 CV_EXPORTS void reprojectImageTo3D(InputArray disp, OutputArray xyzw, InputArray Q, int dst_cn = 4,…
/external/opencv3/modules/core/test/
Dtest_math.cpp832 int depth, dst_cn, mat_cols, mattype; in get_test_array_types_and_sizes() local
837 dst_cn = cvtest::randInt(rng) % 4 + 1; in get_test_array_types_and_sizes()
838 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, dst_cn); in get_test_array_types_and_sizes()
842 types[INPUT][2] = CV_MAKETYPE(mattype, dst_cn); in get_test_array_types_and_sizes()
856 sizes[INPUT][2] = Size(dst_cn,1); in get_test_array_types_and_sizes()
858 sizes[INPUT][2] = Size(1,dst_cn); in get_test_array_types_and_sizes()
863 sizes[INPUT][1] = Size(mat_cols,dst_cn); in get_test_array_types_and_sizes()
Dtest_dxt.cpp703 int dst_cn = dst.channels(); in prepare_to_validation() local
705 if( src_cn != 2 || dst_cn != 2 ) in prepare_to_validation()
/external/opencv3/modules/imgproc/test/
Dtest_color.cpp210 int cn = src.channels(), dst_cn = dst.channels(); in convert_forward() local
211 int cols = src.cols, dst_cols_n = dst.cols*dst_cn; in convert_forward()
218 assert( (cn == 3 || cn == 4) && (dst_cn == 3 || dst_cn == 1) ); in convert_forward()