| /external/opencv/cv/src/ |
| cvundistort.cpp | 48 const float* dist_coeffs, int cn ) 76 const uchar* ptr = src + iy*srcstep + ix*cn; 78 for( i = 0; i < cn; i++ ) 81 t0 += _x*(CV_8TO32F(ptr[i+cn]) - t0); 82 t1 += _x*(CV_8TO32F(ptr[i + srcstep + cn]) - t1); 83 dst[u*cn + i] = (uchar)cvRound(t0 + _y*(t1 - t0)); 88 for( i = 0; i < cn; i++ ) 89 dst[u*cn + i] = 0; 122 int cn, src_step, dst_step; local 167 cn = CV_MAT_CN(src->type) [all...] |
| /external/opencv/cxcore/src/ |
| cxarithm.cpp | 284 int y, dy, type, depth, cn, cont_flag = 0; local 376 cn = CV_MAT_CN(type); 382 int len = size.width*size.height*cn; 503 cvSize( tsize.width*cn, tsize.height ), 0 ) : 507 cvSize( tsize.width*cn, tsize.height ))); 535 int sctype, y, dy, type, depth, cn, coi = 0, cont_flag = 0; local 618 cn = CV_MAT_CN(type); 729 cvSize( tsize.width*cn, tsize.height ), buf )); 759 int y, dy, type, depth, cn, cont_flag = 0; local 1007 int sctype, y, dy, type, depth, cn, coi = 0, cont_flag = 0; local [all...] |
| cxconvert.cpp | 126 #define ICV_DEF_PX2PL_COI( arrtype, len, cn ) \ 130 for( j = 0; j <= (len) - 4; j += 4, (src) += 4*(cn))\ 133 arrtype t1 = (src)[(cn)]; \ 138 t0 = (src)[(cn)*2]; \ 139 t1 = (src)[(cn)*3]; \ 145 for( ; j < (len); j++, (src) += (cn)) \ 153 cn, entry_macro ) \ 154 IPCVAPI_IMPL( CvStatus, icvCopy_##flavor##_C##cn##P##cn##R,\ 165 ICV_DEF_PX2PL_C##cn( arrtype, size.width ); 447 int type, cn, coi = 0; local 557 int type, cn, coi = 0; local 800 int cn; local 847 int cn = from_to[i*2 + k]; local [all...] |
| cxsumpixels.cpp | 48 #define ICV_SUM_COI_CASE( __op__, len, cn ) \ 49 for( ; x <= (len) - 4*(cn); x += 4*(cn) ) \ 50 s0 += __op__(src[x]) + __op__(src[x+(cn)]) + \ 51 __op__(src[x+(cn)*2]) + __op__(src[x+(cn)*3]);\ 53 for( ; x < (len); x += (cn) ) \ 231 #define ICV_DEF_SUM_NOHINT_BLOCK_FUNC_2D( name, flavor, cn, \ 233 IPCVAPI_IMPL(CvStatus, icv##name##_##flavor##_C##cn##R,( \ 237 ICV_SUM_ENTRY_BLOCK_C##cn(sumtype,worktype,(block_size)*(cn)); 888 int sdepth, ddepth, cn, op0 = op; local [all...] |
| /external/opencv3/modules/core/include/opencv2/core/ |
| persistence.hpp | 716 template<typename _Tp, int cn> static inline void read(const FileNode& node, Vec<_Tp, cn>& value, const Vec<_Tp, cn>& default_value) 719 value = temp.size() != cn ? default_value : Vec<_Tp, cn>(&temp[0]); 806 size_t cn = DataType<_Tp>::channels; local [all...] |
| /external/opencv3/modules/core/perf/opencl/ |
| perf_arithm.cpp | 60 const int type = get<1>(params), cn = CV_MAT_CN(type); local 64 UMat src(srcSize, CV_8UC(cn)), lut(1, 256, type); 977 const int type = get<1>(params), cn = CV_MAT_CN(type); local 981 UMat src(srcSize, type), dst(srcSize, CV_8UC(cn)); 998 const int type = get<1>(params), cn = CV_MAT_CN(type); local 1008 srcSize.width *= cn; [all...] |
| /external/opencv3/modules/core/src/ |
| convert.cpp | 278 split_( const T* src, T** dst, int len, int cn ) 280 int k = cn % 4 ? cn % 4 : 4; 286 if(cn == 1) 292 for( i = 0, j = 0 ; i < len; i++, j += cn ) 302 if(cn == 2) 312 if (cn == 2) 325 for( ; i < len; i++, j += cn ) 337 if(cn == 3) 347 if (cn == 3 824 int k, depth = src.depth(), cn = src.channels(); local 873 int type = _m.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), local 928 int depth = m.depth(), cn = m.channels(); local 945 int k, cn = 0; local [all...] |
| copy.cpp | 366 int cn = channels(), mcn = mask.channels(); local 367 CV_Assert( mask.depth() == CV_8U && (mcn == 1 || mcn == cn) ); 478 int cn = channels(), depth0 = depth(); local 482 (cn == 1 || cn == 3 || cn == 4)) 498 if (cn == 1) 511 else if (cn == 3 || cn == 4) 524 if (cn == ippcn) 679 int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), local 848 int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), local [all...] |
| /external/opencv3/modules/core/test/ |
| test_dxt.cpp | 107 const int cn = 2; local 116 Mat srci = src.row(i).reshape(cn, src.cols), dsti = tmp.col(i); 128 Mat srci = tmp.row(i).reshape(cn, tmp.cols), dsti = dst.col(i); 214 const int cn = 1; local 223 Mat srci = src.row(i).reshape(cn, src.cols); 236 Mat srci = tmp.row(i).reshape(cn, tmp.cols); 278 int cn = _src0.channels(); local 279 int srcstep = cn, dststep = 1; 299 dst[n2*dststep].re = src0[(cn == 1 ? n-1 : n2)*srcstep]; 304 delta1 = delta0 + (cn == 1 ? srcstep : 1) 540 int cn = !allow_complex || !(bits & 256) ? 1 : 2; local 813 int cn = src1->channels(); local [all...] |
| test_umat.cpp | 63 int cn; local 72 cn = GET_PARAM(1); 75 type = CV_MAKE_TYPE(depth, cn); 146 ASSERT_EQ(ua.channels(), cn); 273 int cn; local 280 cn = GET_PARAM(1); 283 type = CV_MAKE_TYPE(depth, cn); 361 int cn; local 367 cn = GET_PARAM(1); 369 type = CV_MAKE_TYPE(depth, cn); 436 int cn; local 485 int cn; local [all...] |
| /external/opencv3/modules/imgproc/src/ |
| accum.cpp | 91 int operator() (const uchar * src, float * dst, const uchar * mask, int len, int cn) const 97 len *= cn; 109 else if (cn == 1) 132 int operator() (const ushort * src, float * dst, const uchar * mask, int len, int cn) const 138 len *= cn; 156 int operator() (const float * src, float * dst, const uchar * mask, int len, int cn) const 162 len *= cn; 177 int operator() (const uchar * src, float * dst, const uchar * mask, int len, int cn) const 183 len *= cn; 196 else if (cn == 1 798 int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), ddepth = _dst.depth(); local [all...] |
| canny.cpp | 99 int aperture_size, bool L2gradient, int cn, const Size & size) 142 format("-D WITH_SOBEL -D cn=%d -D TYPE=%s -D convert_floatN=%s -D floatN=%s -D GRP_SIZEX=%d -D GRP_SIZEY=%d%s", 143 cn, ocl::memopTypeToStr(_src.depth()), 144 ocl::convertTypeStr(_src.depth(), CV_32F, cn, cvt), 145 ocl::typeToStr(CV_MAKE_TYPE(CV_32F, cn)), 176 format("-D WITHOUT_SOBEL -D cn=%d -D GRP_SIZEX=%d -D GRP_SIZEY=%d%s", 177 cn, lSizeX, lSizeY, L2gradient ? " -D L2GRAD" : "")); 257 const int type = src.type(), cn = CV_MAT_CN(type); local 270 Mat tempdx(boundaries.end - boundaries.start + 2, src.cols, CV_16SC(cn)); 271 Mat tempdy(boundaries.end - boundaries.start + 2, src.cols, CV_16SC(cn)); 584 const int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); local [all...] |
| deriv.cpp | 204 int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype); local 207 int dtype = CV_MAKETYPE(ddepth, cn); 558 int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype); local 561 int dtype = CV_MAKE_TYPE(ddepth, cn); 616 int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype); local 619 int dtype = CV_MAKETYPE(ddepth, cn); 673 int sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), esz = CV_ELEM_SIZE(stype); local 693 int loc_mem_cn = dev.vendorID() == ocl::Device::VENDOR_NVIDIA && cn == 3 ? 4 : cn; 707 int dtype = CV_MAKE_TYPE(ddepth, cn); 805 int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype); local [all...] |
| floodfill.cpp | 485 int cn = img.channels(); local 487 if ( (cn != 1) && (cn != 3) ) 499 for( i = 0; i < cn; i++ ) 567 for( i = 0; i < cn; i++ ) 573 for( i = 0; i < cn; i++ ) 579 for( i = 0; i < cn; i++ )
|
| segmentation.cpp | 343 const int cn = 3; local 418 dptr = dst_pyramid[level+1].ptr() + dstep + cn; 427 for( j = 1; j < size1.width-1; j++, dptr += cn )
|
| smooth.cpp | 82 virtual void operator()(const uchar* src, uchar* dst, int width, int cn) 86 int i = 0, k, ksz_cn = ksize*cn; 88 width = (width - 1)*cn; 89 for( k = 0; k < cn; k++, S++, D++ ) 92 for( i = 0; i < ksz_cn; i += cn ) 95 for( i = 0; i < width; i += cn ) 98 D[i+cn] = s; 1036 int type = _src.type(), sdepth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), esz = CV_ELEM_SIZE(type); local 1291 int cn = CV_MAT_CN(srcType), sumType = CV_64F; local 1314 int stype = src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype); local [all...] |
| thresh.cpp | 1141 int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), local [all...] |
| /external/pdfium/third_party/libopenjpeg20/ |
| jp2.h | 97 OPJ_UINT16 cn, typ, asoc; member in struct:opj_jp2_cdef_info
|
| /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
| IntentTest.java | 293 ComponentName cn = new ComponentName("com.foobar.app", "activity"); local 294 intentB.setComponent(cn); 309 assertSame(cn, intentA.getComponent());
|
| /external/v8/src/compiler/ |
| code-generator.cc | 407 int cn = Script::GetColumnNumber(info->script(), code_pos); local 411 file->ToCString().get(), ln, cn); 414 "-- <unknown>:%d:%d --", ln, cn);
|
| /frameworks/base/core/java/com/android/server/ |
| SystemConfig.java | 479 ComponentName cn = ComponentName.unflattenFromString(serviceName); local 480 if (cn == null) { 486 mBackupTransportWhitelist.add(cn);
|
| /frameworks/base/services/backup/java/com/android/server/backup/ |
| PackageManagerBackupAgent.java | 397 String cn = inputBufferStream.readUTF(); local 398 mRestoredHome = ComponentName.unflattenFromString(cn);
|
| /frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
| GsmCdmaCallTracker.java | 877 GsmCdmaConnection cn = (GsmCdmaConnection)mForegroundCall.mConnections.get(n); local 885 GsmCdmaConnection cn = (GsmCdmaConnection)mRingingCall.mConnections.get(n); local 1251 GsmCdmaConnection cn = (GsmCdmaConnection)call.mConnections.get(i); local 1265 GsmCdmaConnection cn = (GsmCdmaConnection)call.mConnections.get(i); local 1277 GsmCdmaConnection cn = (GsmCdmaConnection)call.mConnections.get(i); local [all...] |
| /bootable/recovery/updater/ |
| blockimg.cpp | 648 std::string cn = GetStashFileName(base, id, ""); local 652 int res = stat(cn.c_str(), &sb); 658 fprintf(stderr, " skipping %d existing blocks in %s\n", blocks, cn.c_str()); 666 fprintf(stderr, " writing %d blocks to %s\n", blocks, cn.c_str()); 686 if (rename(fn.c_str(), cn.c_str()) == -1) { 687 fprintf(stderr, "rename(\"%s\", \"%s\") failed: %s\n", fn.c_str(), cn.c_str(), [all...] |
| /development/samples/Home/src/com/example/android/home/ |
| Home.java | 303 final ComponentName cn = new ComponentName(favoritePackage, favoriteClass); local 304 intent.setComponent(cn);
|