HomeSort by relevance Sort by last modified time
    Searched defs:cn (Results 51 - 75 of 363) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/opencv3/modules/core/src/
umatrix.cpp 481 int cn = channels();
484 if( dims > 2 && new_rows == 0 && new_cn != 0 && size[dims-1]*cn % new_cn == 0 )
488 hdr.size[dims-1] = hdr.size[dims-1]*cn / new_cn;
495 new_cn = cn;
497 int total_width = cols * cn;
671 int cn = channels(), mtype = _mask.type(), mdepth = CV_MAT_DEPTH(mtype), mcn = CV_MAT_CN(mtype); local
672 CV_Assert( mdepth == CV_8U && (mcn == 1 || mcn == cn) );
686 ocl::memopTypeToStr(depth()), cn, mcn,
713 int stype = type(), cn = CV_MAT_CN(stype);
718 _type = CV_MAKETYPE(CV_MAT_DEPTH(_type), cn);
    [all...]
  /external/opencv3/modules/core/test/ocl/
test_channels.cpp 150 int depth, cn; local
165 cn = GET_PARAM(1);
168 CV_Assert(cn >= 1 && cn <= 4);
175 randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 5, 16);
199 if (cn >= 2)
202 if (cn >= 3)
205 if (cn >= 4)
220 for (int i = 0; i < cn; ++i)
257 int cn = randomInt(1, 5) local
371 int depth, cn, coi; local
417 int depth, cn, coi; local
    [all...]
  /external/opencv3/modules/cudafilters/test/
test_filters.cpp 226 int cn; local
239 cn = GET_PARAM(3);
247 type = CV_MAKE_TYPE(depth, cn);
295 int cn; local
309 cn = GET_PARAM(3);
318 type = CV_MAKE_TYPE(depth, cn);
362 int cn; local
375 cn = GET_PARAM(3);
383 type = CV_MAKE_TYPE(depth, cn);
426 int cn; local
    [all...]
  /external/opencv3/modules/cudaimgproc/test/
test_match_template.cpp 65 int cn; local
73 cn = GET_PARAM(3);
82 cv::Mat image = randomMat(size, CV_MAKETYPE(CV_8U, cn));
83 cv::Mat templ = randomMat(templ_size, CV_MAKETYPE(CV_8U, cn));
122 int cn; local
132 cn = GET_PARAM(3);
141 cv::Mat image = randomMat(size, CV_MAKETYPE(CV_32F, cn));
142 cv::Mat templ = randomMat(templ_size, CV_MAKETYPE(CV_32F, cn));
  /external/opencv3/modules/cudawarping/test/
test_warp_affine.cpp 116 const int cn = src.channels(); local
127 for (int c = 0; c < cn; ++c)
128 dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ycoo, xcoo, c, borderType, borderVal);
test_warp_perspective.cpp 117 const int cn = src.channels(); local
130 for (int c = 0; c < cn; ++c)
131 dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ycoo, xcoo, c, borderType, borderVal);
  /external/opencv3/modules/imgproc/test/
test_imgwarp_strict.cpp 157 int cn = rng.uniform(1, 4); local
158 while (cn == 2)
159 cn = rng.uniform(1, 4);
161 src.create(ssize, CV_MAKE_TYPE(depth, cn));
243 int cn = _dst.channels(); local
244 dsize.width *= cn;
266 PRINT_TO_LOG("Error in (dx, dy): (%d, %d)\n", dx / cn + 1, dy + 1);
268 PRINT_TO_LOG("Dsize: (%d, %d)\n", dsize.width / cn, dsize.height);
285 PRINT_TO_LOG("Channels: %d\n", cn);
307 int cmin = MAX(dx / cn - radius, 0), cmax = MIN(dx / cn + radius, dsize.width)
    [all...]
test_templmatch.cpp 108 int depth = cvtest::randInt(rng) % 2, cn = cvtest::randInt(rng) & 1 ? 3 : 1; local
112 types[INPUT][0] = types[INPUT][1] = CV_MAKETYPE(depth,cn);
151 int depth = CV_MAT_DEPTH(img->type), cn = CV_MAT_CN(img->type); local
152 int width_n = templ->cols*cn, height = templ->rows;
161 for( i = 0; i < cn; i++ )
181 for( i = 0; i < cn; i++ )
201 const uchar* a = img->data.ptr + i*img->step + j*cn;
204 if( cn == 1 || method < CV_TM_CCOEFF )
233 const float* a = (const float*)(img->data.ptr + i*img->step) + j*cn;
236 if( cn == 1 || method < CV_TM_CCOEFF
    [all...]
  /external/opencv3/modules/photo/src/
fast_nlmeans_denoising_opencl.hpp 34 const FT *h, int hn, int cn, int normType,
55 int maxDist = normType == NORM_L1 ? std::numeric_limits<ST>::max() * cn :
56 std::numeric_limits<ST>::max() * std::numeric_limits<ST>::max() * cn;
61 den[i] = 1.0f / (h[i] * h[i] * cn);
87 int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); local
91 if (cn < 1 || cn > 4 || ((normType != NORM_L2 || depth != CV_8U) &&
108 " -D convert_int_t=%s -D cn=%d -D psz=%d -D convert_pixel_t=%s%s",
110 ocl::typeToStr(type), ocl::typeToStr(CV_32SC(cn)),
116 depth == CV_8U ? ocl::typeToStr(CV_32SC(cn))
    [all...]
  /external/opencv3/modules/video/perf/
perf_optflowpyrlk.cpp 47 int cn = get<2>(GetParam()); local
58 switch(cn)
61 cvtColor(img1, frame1, COLOR_BGR2GRAY, cn);
62 cvtColor(img2, frame2, COLOR_BGR2GRAY, cn);
69 cvtColor(img1, frame1, COLOR_BGR2BGRA, cn);
70 cvtColor(img2, frame2, COLOR_BGR2BGRA, cn);
73 FAIL() << "Unexpected number of channels: " << cn;
120 int cn = get<2>(GetParam()); local
132 switch(cn)
135 cvtColor(img1, frame1, COLOR_BGR2GRAY, cn);
    [all...]
  /external/opencv3/modules/video/test/
test_accum.cpp 75 int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) & 1 ? 3 : 1; local
84 types[INPUT][i] = CV_MAKETYPE(depth,cn);
86 types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(accdepth,cn);
  /frameworks/base/cmds/dpm/src/com/android/commands/dpm/
Dpm.java 194 ComponentName cn = ComponentName.unflattenFromString(component); local
195 if (cn == null) {
198 return cn;
  /frameworks/base/core/java/org/apache/http/conn/ssl/
AbstractVerifier.java 130 // first CN provided. All other CNs are ignored.
145 String msg = "Certificate for <" + host + "> doesn't contain CN or DNS subjectAlt";
157 // Don't trim the CN, though!
158 String cn = it.next(); local
159 cn = cn.toLowerCase(Locale.ENGLISH);
160 // Store CN in StringBuffer in case we need to report an error.
162 buf.append(cn);
168 // The CN better have at least two dots if it wants wildcard
171 boolean doWildcard = cn.startsWith("*.") &
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/activity/
MetaDataTest.java 42 private void checkMetaData(ComponentName cn, PackageItemInfo ci)
44 assertNotNull("Unable to find component " + cn, ci);
99 ComponentName cn = new ComponentName(mContext, LocalActivity.class); local
101 cn, PackageManager.GET_META_DATA);
103 checkMetaData(cn, ai);
105 ai = mContext.getPackageManager().getActivityInfo(cn, 0);
112 ComponentName cn = new ComponentName(mContext, LocalReceiver.class); local
114 cn, PackageManager.GET_META_DATA);
116 checkMetaData(cn, ai);
118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0)
125 ComponentName cn = new ComponentName(mContext, LocalService.class); local
138 ComponentName cn = new ComponentName(mContext, LocalProvider.class); local
152 ComponentName cn = new ComponentName("foo", local
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
ShortcutManagerTest5.java 141 ComponentName cn = mShortcutService.injectGetDefaultMainActivity( local
146 cn);
  /frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
SetAlarm.java 111 ComponentName cn = getContext().startService(mServceIntent); local
112 if (cn == null) {
  /libcore/ojluni/src/main/java/sun/misc/
Service.java 285 String cn = nextName; local
289 c = Class.forName(cn, false, loader);
292 "Provider " + cn + " not found");
296 "Provider " + cn + " not a subtype");
302 "Provider " + cn + " could not be instantiated: " + x,
  /packages/apps/Launcher3/src/com/android/launcher3/
UninstallDropTarget.java 97 ComponentName cn = componentInfo.first; local
107 Uri.fromParts("package", cn.getPackageName(), cn.getClassName()))
130 final ComponentName cn, final UserHandleCompat user,
136 String packageName = cn.getPackageName();
  /packages/apps/Settings/src/com/android/settings/notification/
NotificationAccessSettings.java 109 public FriendlyWarningDialogFragment setServiceInfo(ComponentName cn, String label) {
111 args.putString(KEY_COMPONENT, cn.flattenToString());
122 final ComponentName cn = ComponentName.unflattenFromString(args local
133 mServiceListing.setEnabled(cn, false);
135 cn.getPackageName())) {
136 deleteRules(mContext, cn.getPackageName());
  /platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/
DispatchActivity.java 65 ComponentName cn = new ComponentName(mPackageName, mActivityName); local
69 mIntent.setComponent(cn);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsPhoneCall.java 231 ImsPhoneConnection cn = (ImsPhoneConnection)mConnections.get(i); local
232 cn.onHangupLocal();
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
CollatorTest.java 31 Collator cn = Collator.getInstance(); local
32 cn.setStrength(Collator.TERTIARY);
33 testEHCS(c, c2, cn);
  /external/opencv/cv/src/
cvsamplers.cpp 548 int cn, src_step, dst_step; local
563 cn = CV_MAT_CN( src->type );
565 if( (cn != 1 && cn != 3) || !CV_ARE_CNS_EQ( src, dst ))
578 func = (CvGetRectSubPixFunc)(gr_tab[cn != 1].fn_2d[CV_MAT_DEPTH(src->type)]);
585 func = (CvGetRectSubPixFunc)(gr_tab[cn != 1].fn_2d[1]);
819 int k, cn; local
    [all...]
cvthresh.cpp 311 int ithresh, imaxval, cn; local
323 cn = CV_MAT_CN(src->type);
324 if( cn > 1 )
  /external/opencv/cxcore/src/
cxminmaxloc.cpp 48 #define CV_MINMAXLOC_ENTRY( _toggle_, srctype, temptype, cn ) \
51 int x, loc = 0, width = size.width*(cn); \
67 #define ICV_DEF_MINMAXLOC_1D_CASE_COI( _toggle_, temptype, cn ) \
68 for( x = 0; x < width; x += (cn), loc++ ) \
108 CvSize size, int cn, int coi, \
113 CV_MINMAXLOC_ENTRY( _toggle_, srctype, temptype, cn ); \
117 ICV_DEF_MINMAXLOC_1D_CASE_COI( _toggle_, temptype, cn ); \
165 #define CV_MINMAXLOC_MASK_ENTRY( _toggle_, srctype, temptype, cn ) \
171 if( width*(cn) == step && width == maskStep ) \
184 min_val = (src)[x*(cn)]; \
298 int type, depth, cn, coi = 0; local
    [all...]

Completed in 2245 milliseconds

1 23 4 5 6 7 8 91011>>