m 93 3rdparty/include/ffmpeg_/libavutil/dict.h av_dict_get(AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags); m 101 3rdparty/include/ffmpeg_/libavutil/dict.h int av_dict_count(const AVDictionary *m); m 146 3rdparty/include/ffmpeg_/libavutil/dict.h void av_dict_free(AVDictionary **m); m 482 3rdparty/libjasper/jas_cm.c int m; m 526 3rdparty/libjasper/jas_cm.c m = JAS_MIN(total - n, bufmax); m 534 3rdparty/libjasper/jas_cm.c for (j = 0; j < m; ++j) { m 551 3rdparty/libjasper/jas_cm.c if ((*pxform->ops->apply)(pxform, inbuf, outbuf, m)) m 562 3rdparty/libjasper/jas_cm.c for (j = 0; j < m; ++j) { m 570 3rdparty/libjasper/jas_cm.c n += m; m 1228 3rdparty/libjasper/jas_cm.c int m; m 1231 3rdparty/libjasper/jas_cm.c m = (1 << (prec - 1)); m 1232 3rdparty/libjasper/jas_cm.c if (v < -m || v >= m) m 1245 3rdparty/libjasper/jas_cm.c int m; m 1247 3rdparty/libjasper/jas_cm.c m = (1 << (prec - 1)); m 1248 3rdparty/libjasper/jas_cm.c if (val < -m || val >= m) m 605 3rdparty/libjasper/jas_stream.c int m; m 606 3rdparty/libjasper/jas_stream.c m = n; m 607 3rdparty/libjasper/jas_stream.c for (m = n; m > 0; --m) { m 609 3rdparty/libjasper/jas_stream.c return n - m; m 617 3rdparty/libjasper/jas_stream.c int m; m 618 3rdparty/libjasper/jas_stream.c m = n; m 619 3rdparty/libjasper/jas_stream.c for (m = n; m > 0; --m) { m 621 3rdparty/libjasper/jas_stream.c return n - m; m 884 3rdparty/libjasper/jas_stream.c int m; m 888 3rdparty/libjasper/jas_stream.c m = n; m 889 3rdparty/libjasper/jas_stream.c while (all || m > 0) { m 900 3rdparty/libjasper/jas_stream.c --m; m 919 3rdparty/libjasper/jas_stream.c int m; m 934 3rdparty/libjasper/jas_stream.c m = JAS_MIN(n - i, 16); m 935 3rdparty/libjasper/jas_stream.c for (j = 0; j < m; ++j) { m 943 3rdparty/libjasper/jas_stream.c for (j = 0; j < m; ++j) { m 950 3rdparty/libjasper/jas_stream.c for (j = 0; j < m; ++j) { m 991 3rdparty/libjasper/jas_stream.c jas_stream_memobj_t *m = (jas_stream_memobj_t *)obj; m 992 3rdparty/libjasper/jas_stream.c n = m->len_ - m->pos_; m 994 3rdparty/libjasper/jas_stream.c memcpy(buf, &m->buf_[m->pos_], cnt); m 995 3rdparty/libjasper/jas_stream.c m->pos_ += cnt; m 999 3rdparty/libjasper/jas_stream.c static int mem_resize(jas_stream_memobj_t *m, int bufsize) m 1003 3rdparty/libjasper/jas_stream.c assert(m->buf_); m 1004 3rdparty/libjasper/jas_stream.c if (!(buf = jas_realloc(m->buf_, bufsize))) { m 1007 3rdparty/libjasper/jas_stream.c m->buf_ = buf; m 1008 3rdparty/libjasper/jas_stream.c m->bufsize_ = bufsize; m 1016 3rdparty/libjasper/jas_stream.c jas_stream_memobj_t *m = (jas_stream_memobj_t *)obj; m 1020 3rdparty/libjasper/jas_stream.c newpos = m->pos_ + cnt; m 1021 3rdparty/libjasper/jas_stream.c if (newpos > m->bufsize_ && m->growable_) { m 1022 3rdparty/libjasper/jas_stream.c newbufsize = m->bufsize_; m 1027 3rdparty/libjasper/jas_stream.c if (mem_resize(m, newbufsize)) { m 1031 3rdparty/libjasper/jas_stream.c if (m->pos_ > m->len_) { m 1034 3rdparty/libjasper/jas_stream.c n = JAS_MIN(m->pos_, m->bufsize_) - m->len_; m 1036 3rdparty/libjasper/jas_stream.c memset(&m->buf_[m->len_], 0, n); m 1037 3rdparty/libjasper/jas_stream.c m->len_ += n; m 1039 3rdparty/libjasper/jas_stream.c if (m->pos_ != m->len_) { m 1044 3rdparty/libjasper/jas_stream.c n = m->bufsize_ - m->pos_; m 1047 3rdparty/libjasper/jas_stream.c memcpy(&m->buf_[m->pos_], buf, ret); m 1048 3rdparty/libjasper/jas_stream.c m->pos_ += ret; m 1050 3rdparty/libjasper/jas_stream.c if (m->pos_ > m->len_) { m 1051 3rdparty/libjasper/jas_stream.c m->len_ = m->pos_; m 1059 3rdparty/libjasper/jas_stream.c jas_stream_memobj_t *m = (jas_stream_memobj_t *)obj; m 1067 3rdparty/libjasper/jas_stream.c newpos = m->len_ - offset; m 1070 3rdparty/libjasper/jas_stream.c newpos = m->pos_ + offset; m 1079 3rdparty/libjasper/jas_stream.c m->pos_ = newpos; m 1081 3rdparty/libjasper/jas_stream.c return m->pos_; m 1086 3rdparty/libjasper/jas_stream.c jas_stream_memobj_t *m = (jas_stream_memobj_t *)obj; m 1087 3rdparty/libjasper/jas_stream.c if (m->myalloc_ && m->buf_) { m 1088 3rdparty/libjasper/jas_stream.c jas_free(m->buf_); m 1089 3rdparty/libjasper/jas_stream.c m->buf_ = 0; m 942 3rdparty/libjasper/jp2_cod.c int m; m 944 3rdparty/libjasper/jp2_cod.c m = (n + 7) / 8; m 947 3rdparty/libjasper/jp2_cod.c for (i = 0; i < m; ++i) { m 956 3rdparty/libjasper/jp2_cod.c sb = v & (1 << (8 * m - 1)); m 957 3rdparty/libjasper/jp2_cod.c *val = ((~v) + 1) & ONES(8 * m); m 214 3rdparty/libjasper/jpc_bs.c int m; m 223 3rdparty/libjasper/jpc_bs.c m = n - 1; m 225 3rdparty/libjasper/jpc_bs.c if (jpc_bitstream_putbit(bitstream, (v >> m) & 1) == EOF) { m 349 3rdparty/libjasper/jpc_bs.c int m; m 352 3rdparty/libjasper/jpc_bs.c m = 0; m 365 3rdparty/libjasper/jpc_bs.c m += n; m 373 3rdparty/libjasper/jpc_bs.c m += 7; m 375 3rdparty/libjasper/jpc_bs.c if (m > numfill) { m 376 3rdparty/libjasper/jpc_bs.c v >>= m - numfill; m 378 3rdparty/libjasper/jpc_bs.c filldata >>= numfill - m; m 379 3rdparty/libjasper/jpc_bs.c fillmask >>= numfill - m; m 871 3rdparty/libjasper/jpc_enc.c int m; m 876 3rdparty/libjasper/jpc_enc.c m = (stepsize >> (n - 11)) & 0x7ff; m 878 3rdparty/libjasper/jpc_enc.c m = (stepsize & ((1 << n) - 1)) << (11 - n); m 880 3rdparty/libjasper/jpc_enc.c return m; m 318 3rdparty/libjasper/jpc_qmfb.c register int m; m 333 3rdparty/libjasper/jpc_qmfb.c m = (parity) ? hstartcol : (numcols - hstartcol); m 335 3rdparty/libjasper/jpc_qmfb.c n = m; m 346 3rdparty/libjasper/jpc_qmfb.c n = numcols - m - (!parity); m 355 3rdparty/libjasper/jpc_qmfb.c n = m; m 386 3rdparty/libjasper/jpc_qmfb.c register int m; m 401 3rdparty/libjasper/jpc_qmfb.c m = (parity) ? hstartcol : (numrows - hstartcol); m 403 3rdparty/libjasper/jpc_qmfb.c n = m; m 414 3rdparty/libjasper/jpc_qmfb.c n = numrows - m - (!parity); m 423 3rdparty/libjasper/jpc_qmfb.c n = m; m 457 3rdparty/libjasper/jpc_qmfb.c int m; m 472 3rdparty/libjasper/jpc_qmfb.c m = (parity) ? hstartcol : (numrows - hstartcol); m 474 3rdparty/libjasper/jpc_qmfb.c n = m; m 491 3rdparty/libjasper/jpc_qmfb.c n = numrows - m - (!parity); m 506 3rdparty/libjasper/jpc_qmfb.c n = m; m 546 3rdparty/libjasper/jpc_qmfb.c int m; m 561 3rdparty/libjasper/jpc_qmfb.c m = (parity) ? hstartcol : (numrows - hstartcol); m 563 3rdparty/libjasper/jpc_qmfb.c n = m; m 580 3rdparty/libjasper/jpc_qmfb.c n = numrows - m - (!parity); m 595 3rdparty/libjasper/jpc_qmfb.c n = m; m 165 3rdparty/libjasper/jpc_t2dec.c int m; m 290 3rdparty/libjasper/jpc_t2dec.c if ((m = jpc_getcommacode(inb)) < 0) { m 293 3rdparty/libjasper/jpc_t2dec.c cblk->numlenbits += m; m 294 3rdparty/libjasper/jpc_t2dec.c JAS_DBGLOG(10, ("increment=%d ", m)); m 139 3rdparty/libjasper/jpc_util.c jas_seq_t *jpc_seq_upsample(jas_seq_t *x, int m) m 144 3rdparty/libjasper/jpc_util.c if (!(z = jas_seq_create(jas_seq_start(x) * m, (jas_seq_end(x) - 1) * m + 1))) m 147 3rdparty/libjasper/jpc_util.c *jas_seq_getref(z, i) = (!JAS_MOD(i, m)) ? jas_seq_get(x, i / m) : m 368 3rdparty/libjpeg/jcarith.c int v, v2, m; m 391 3rdparty/libjpeg/jcarith.c m = IRIGHT_SHIFT((int) ((*block)[0]), cinfo->Al); m 399 3rdparty/libjpeg/jcarith.c if ((v = m - entropy->last_dc_val[ci]) == 0) { m 403 3rdparty/libjpeg/jcarith.c entropy->last_dc_val[ci] = m; m 418 3rdparty/libjpeg/jcarith.c m = 0; m 421 3rdparty/libjpeg/jcarith.c m = 1; m 426 3rdparty/libjpeg/jcarith.c m <<= 1; m 432 3rdparty/libjpeg/jcarith.c if (m < (int) ((1L << cinfo->arith_dc_L[tbl]) >> 1)) m 434 3rdparty/libjpeg/jcarith.c else if (m > (int) ((1L << cinfo->arith_dc_U[tbl]) >> 1)) m 438 3rdparty/libjpeg/jcarith.c while (m >>= 1) m 439 3rdparty/libjpeg/jcarith.c arith_encode(cinfo, st, (m & v) ? 1 : 0); m 459 3rdparty/libjpeg/jcarith.c int v, v2, m; m 520 3rdparty/libjpeg/jcarith.c m = 0; m 523 3rdparty/libjpeg/jcarith.c m = 1; m 527 3rdparty/libjpeg/jcarith.c m <<= 1; m 532 3rdparty/libjpeg/jcarith.c m <<= 1; m 540 3rdparty/libjpeg/jcarith.c while (m >>= 1) m 541 3rdparty/libjpeg/jcarith.c arith_encode(cinfo, st, (m & v) ? 1 : 0); m 699 3rdparty/libjpeg/jcarith.c int v, v2, m; m 748 3rdparty/libjpeg/jcarith.c m = 0; m 751 3rdparty/libjpeg/jcarith.c m = 1; m 756 3rdparty/libjpeg/jcarith.c m <<= 1; m 762 3rdparty/libjpeg/jcarith.c if (m < (int) ((1L << cinfo->arith_dc_L[tbl]) >> 1)) m 764 3rdparty/libjpeg/jcarith.c else if (m > (int) ((1L << cinfo->arith_dc_U[tbl]) >> 1)) m 768 3rdparty/libjpeg/jcarith.c while (m >>= 1) m 769 3rdparty/libjpeg/jcarith.c arith_encode(cinfo, st, (m & v) ? 1 : 0); m 801 3rdparty/libjpeg/jcarith.c m = 0; m 804 3rdparty/libjpeg/jcarith.c m = 1; m 808 3rdparty/libjpeg/jcarith.c m <<= 1; m 813 3rdparty/libjpeg/jcarith.c m <<= 1; m 821 3rdparty/libjpeg/jcarith.c while (m >>= 1) m 822 3rdparty/libjpeg/jcarith.c arith_encode(cinfo, st, (m & v) ? 1 : 0); m 248 3rdparty/libjpeg/jdarith.c int v, m; m 280 3rdparty/libjpeg/jdarith.c if ((m = arith_decode(cinfo, st)) != 0) { m 283 3rdparty/libjpeg/jdarith.c if ((m <<= 1) == 0x8000) { m 292 3rdparty/libjpeg/jdarith.c if (m < (int) ((1L << cinfo->arith_dc_L[tbl]) >> 1)) m 294 3rdparty/libjpeg/jdarith.c else if (m > (int) ((1L << cinfo->arith_dc_U[tbl]) >> 1)) m 298 3rdparty/libjpeg/jdarith.c v = m; m 301 3rdparty/libjpeg/jdarith.c while (m >>= 1) m 302 3rdparty/libjpeg/jdarith.c if (arith_decode(cinfo, st)) v |= m; m 327 3rdparty/libjpeg/jdarith.c int v, m; m 367 3rdparty/libjpeg/jdarith.c if ((m = arith_decode(cinfo, st)) != 0) { m 369 3rdparty/libjpeg/jdarith.c m <<= 1; m 373 3rdparty/libjpeg/jdarith.c if ((m <<= 1) == 0x8000) { m 382 3rdparty/libjpeg/jdarith.c v = m; m 385 3rdparty/libjpeg/jdarith.c while (m >>= 1) m 386 3rdparty/libjpeg/jdarith.c if (arith_decode(cinfo, st)) v |= m; m 516 3rdparty/libjpeg/jdarith.c int v, m; m 553 3rdparty/libjpeg/jdarith.c if ((m = arith_decode(cinfo, st)) != 0) { m 556 3rdparty/libjpeg/jdarith.c if ((m <<= 1) == 0x8000) { m 565 3rdparty/libjpeg/jdarith.c if (m < (int) ((1L << cinfo->arith_dc_L[tbl]) >> 1)) m 567 3rdparty/libjpeg/jdarith.c else if (m > (int) ((1L << cinfo->arith_dc_U[tbl]) >> 1)) m 571 3rdparty/libjpeg/jdarith.c v = m; m 574 3rdparty/libjpeg/jdarith.c while (m >>= 1) m 575 3rdparty/libjpeg/jdarith.c if (arith_decode(cinfo, st)) v |= m; m 607 3rdparty/libjpeg/jdarith.c if ((m = arith_decode(cinfo, st)) != 0) { m 609 3rdparty/libjpeg/jdarith.c m <<= 1; m 613 3rdparty/libjpeg/jdarith.c if ((m <<= 1) == 0x8000) { m 622 3rdparty/libjpeg/jdarith.c v = m; m 625 3rdparty/libjpeg/jdarith.c while (m >>= 1) m 626 3rdparty/libjpeg/jdarith.c if (arith_decode(cinfo, st)) v |= m; m 201 3rdparty/libpng/png.c char m[128]; m 203 3rdparty/libpng/png.c pos = png_safecat(m, sizeof m, pos, "Application built with libpng-"); m 204 3rdparty/libpng/png.c pos = png_safecat(m, sizeof m, pos, user_png_ver); m 205 3rdparty/libpng/png.c pos = png_safecat(m, sizeof m, pos, " but running with "); m 206 3rdparty/libpng/png.c pos = png_safecat(m, sizeof m, pos, png_libpng_ver); m 208 3rdparty/libpng/png.c png_warning(png_ptr, m); m 61 3rdparty/libpng/pngdebug.h # define png_debug(l,m) _RPT0(_CRT_WARN,m PNG_STRING_NEWLINE) m 64 3rdparty/libpng/pngdebug.h # define png_debug1(l,m,p1) _RPT1(_CRT_WARN,m PNG_STRING_NEWLINE,p1) m 67 3rdparty/libpng/pngdebug.h # define png_debug2(l,m,p1,p2) \ m 68 3rdparty/libpng/pngdebug.h _RPT2(_CRT_WARN,m PNG_STRING_NEWLINE,p1,p2) m 85 3rdparty/libpng/pngdebug.h # define png_debug(l,m) \ m 88 3rdparty/libpng/pngdebug.h fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ m 93 3rdparty/libpng/pngdebug.h # define png_debug1(l,m,p1) \ m 96 3rdparty/libpng/pngdebug.h fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ m 101 3rdparty/libpng/pngdebug.h # define png_debug2(l,m,p1,p2) \ m 104 3rdparty/libpng/pngdebug.h fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ m 110 3rdparty/libpng/pngdebug.h # define png_debug(l,m) \ m 116 3rdparty/libpng/pngdebug.h m,PNG_STRING_NEWLINE); \ m 121 3rdparty/libpng/pngdebug.h # define png_debug1(l,m,p1) \ m 127 3rdparty/libpng/pngdebug.h m,PNG_STRING_NEWLINE); \ m 132 3rdparty/libpng/pngdebug.h # define png_debug2(l,m,p1,p2) \ m 138 3rdparty/libpng/pngdebug.h m,PNG_STRING_NEWLINE); \ m 149 3rdparty/libpng/pngdebug.h # define png_debug(l, m) ((void)0) m 152 3rdparty/libpng/pngdebug.h # define png_debug1(l, m, p1) ((void)0) m 155 3rdparty/libpng/pngdebug.h # define png_debug2(l, m, p1, p2) ((void)0) m 2922 3rdparty/libpng/pngrutil.c # define MASK_EXPAND(m,d) ((m)*((d)==1?0x01010101:((d)==2?0x00010001:1))) m 2997 3rdparty/libpng/pngrutil.c png_uint_32 m; m 3003 3rdparty/libpng/pngrutil.c m = mask; m 3004 3rdparty/libpng/pngrutil.c mask = (m >> 8) | (m << 24); /* rotate right to good compilers */ m 3005 3rdparty/libpng/pngrutil.c m &= 0xff; m 3007 3rdparty/libpng/pngrutil.c if (m != 0) /* something to copy */ m 3009 3rdparty/libpng/pngrutil.c if (m != 0xff) m 3010 3rdparty/libpng/pngrutil.c *dp = (png_byte)((*dp & ~m) | (*sp & m)); m 209 3rdparty/libtiff/tif_dirread.c int8 m; m 210 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSbyte(tif,direntry,&m); m 211 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeByteSbyte(m); m 214 3rdparty/libtiff/tif_dirread.c *value=(uint8)m; m 219 3rdparty/libtiff/tif_dirread.c uint16 m; m 220 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedShort(tif,direntry,&m); m 221 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeByteShort(m); m 224 3rdparty/libtiff/tif_dirread.c *value=(uint8)m; m 229 3rdparty/libtiff/tif_dirread.c int16 m; m 230 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSshort(tif,direntry,&m); m 231 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeByteSshort(m); m 234 3rdparty/libtiff/tif_dirread.c *value=(uint8)m; m 239 3rdparty/libtiff/tif_dirread.c uint32 m; m 240 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedLong(tif,direntry,&m); m 241 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeByteLong(m); m 244 3rdparty/libtiff/tif_dirread.c *value=(uint8)m; m 249 3rdparty/libtiff/tif_dirread.c int32 m; m 250 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSlong(tif,direntry,&m); m 251 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeByteSlong(m); m 254 3rdparty/libtiff/tif_dirread.c *value=(uint8)m; m 259 3rdparty/libtiff/tif_dirread.c uint64 m; m 260 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedLong8(tif,direntry,&m); m 263 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeByteLong8(m); m 266 3rdparty/libtiff/tif_dirread.c *value=(uint8)m; m 271 3rdparty/libtiff/tif_dirread.c int64 m; m 272 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedSlong8(tif,direntry,&m); m 275 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeByteSlong8(m); m 278 3rdparty/libtiff/tif_dirread.c *value=(uint8)m; m 295 3rdparty/libtiff/tif_dirread.c uint8 m; m 296 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedByte(tif,direntry,&m); m 297 3rdparty/libtiff/tif_dirread.c *value=(uint16)m; m 302 3rdparty/libtiff/tif_dirread.c int8 m; m 303 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSbyte(tif,direntry,&m); m 304 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeShortSbyte(m); m 307 3rdparty/libtiff/tif_dirread.c *value=(uint16)m; m 315 3rdparty/libtiff/tif_dirread.c int16 m; m 316 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSshort(tif,direntry,&m); m 317 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeShortSshort(m); m 320 3rdparty/libtiff/tif_dirread.c *value=(uint16)m; m 325 3rdparty/libtiff/tif_dirread.c uint32 m; m 326 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedLong(tif,direntry,&m); m 327 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeShortLong(m); m 330 3rdparty/libtiff/tif_dirread.c *value=(uint16)m; m 335 3rdparty/libtiff/tif_dirread.c int32 m; m 336 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSlong(tif,direntry,&m); m 337 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeShortSlong(m); m 340 3rdparty/libtiff/tif_dirread.c *value=(uint16)m; m 345 3rdparty/libtiff/tif_dirread.c uint64 m; m 346 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedLong8(tif,direntry,&m); m 349 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeShortLong8(m); m 352 3rdparty/libtiff/tif_dirread.c *value=(uint16)m; m 357 3rdparty/libtiff/tif_dirread.c int64 m; m 358 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedSlong8(tif,direntry,&m); m 361 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeShortSlong8(m); m 364 3rdparty/libtiff/tif_dirread.c *value=(uint16)m; m 381 3rdparty/libtiff/tif_dirread.c uint8 m; m 382 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedByte(tif,direntry,&m); m 383 3rdparty/libtiff/tif_dirread.c *value=(uint32)m; m 388 3rdparty/libtiff/tif_dirread.c int8 m; m 389 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSbyte(tif,direntry,&m); m 390 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLongSbyte(m); m 393 3rdparty/libtiff/tif_dirread.c *value=(uint32)m; m 398 3rdparty/libtiff/tif_dirread.c uint16 m; m 399 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedShort(tif,direntry,&m); m 400 3rdparty/libtiff/tif_dirread.c *value=(uint32)m; m 405 3rdparty/libtiff/tif_dirread.c int16 m; m 406 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSshort(tif,direntry,&m); m 407 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLongSshort(m); m 410 3rdparty/libtiff/tif_dirread.c *value=(uint32)m; m 418 3rdparty/libtiff/tif_dirread.c int32 m; m 419 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSlong(tif,direntry,&m); m 420 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLongSlong(m); m 423 3rdparty/libtiff/tif_dirread.c *value=(uint32)m; m 428 3rdparty/libtiff/tif_dirread.c uint64 m; m 429 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedLong8(tif,direntry,&m); m 432 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLongLong8(m); m 435 3rdparty/libtiff/tif_dirread.c *value=(uint32)m; m 440 3rdparty/libtiff/tif_dirread.c int64 m; m 441 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedSlong8(tif,direntry,&m); m 444 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLongSlong8(m); m 447 3rdparty/libtiff/tif_dirread.c *value=(uint32)m; m 464 3rdparty/libtiff/tif_dirread.c uint8 m; m 465 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedByte(tif,direntry,&m); m 466 3rdparty/libtiff/tif_dirread.c *value=(uint64)m; m 471 3rdparty/libtiff/tif_dirread.c int8 m; m 472 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSbyte(tif,direntry,&m); m 473 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLong8Sbyte(m); m 476 3rdparty/libtiff/tif_dirread.c *value=(uint64)m; m 481 3rdparty/libtiff/tif_dirread.c uint16 m; m 482 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedShort(tif,direntry,&m); m 483 3rdparty/libtiff/tif_dirread.c *value=(uint64)m; m 488 3rdparty/libtiff/tif_dirread.c int16 m; m 489 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSshort(tif,direntry,&m); m 490 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLong8Sshort(m); m 493 3rdparty/libtiff/tif_dirread.c *value=(uint64)m; m 498 3rdparty/libtiff/tif_dirread.c uint32 m; m 499 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedLong(tif,direntry,&m); m 500 3rdparty/libtiff/tif_dirread.c *value=(uint64)m; m 505 3rdparty/libtiff/tif_dirread.c int32 m; m 506 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSlong(tif,direntry,&m); m 507 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLong8Slong(m); m 510 3rdparty/libtiff/tif_dirread.c *value=(uint64)m; m 518 3rdparty/libtiff/tif_dirread.c int64 m; m 519 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedSlong8(tif,direntry,&m); m 522 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLong8Slong8(m); m 525 3rdparty/libtiff/tif_dirread.c *value=(uint64)m; m 542 3rdparty/libtiff/tif_dirread.c uint8 m; m 543 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedByte(tif,direntry,&m); m 544 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 549 3rdparty/libtiff/tif_dirread.c int8 m; m 550 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSbyte(tif,direntry,&m); m 551 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 556 3rdparty/libtiff/tif_dirread.c uint16 m; m 557 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedShort(tif,direntry,&m); m 558 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 563 3rdparty/libtiff/tif_dirread.c int16 m; m 564 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSshort(tif,direntry,&m); m 565 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 570 3rdparty/libtiff/tif_dirread.c uint32 m; m 571 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedLong(tif,direntry,&m); m 572 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 577 3rdparty/libtiff/tif_dirread.c int32 m; m 578 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSlong(tif,direntry,&m); m 579 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 584 3rdparty/libtiff/tif_dirread.c uint64 m; m 585 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedLong8(tif,direntry,&m); m 594 3rdparty/libtiff/tif_dirread.c *value = _TIFFUInt64ToFloat(m); m 596 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 602 3rdparty/libtiff/tif_dirread.c int64 m; m 603 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedSlong8(tif,direntry,&m); m 606 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 611 3rdparty/libtiff/tif_dirread.c double m; m 612 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedRational(tif,direntry,&m); m 615 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 620 3rdparty/libtiff/tif_dirread.c double m; m 621 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedSrational(tif,direntry,&m); m 624 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 632 3rdparty/libtiff/tif_dirread.c double m; m 633 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedDouble(tif,direntry,&m); m 636 3rdparty/libtiff/tif_dirread.c *value=(float)m; m 653 3rdparty/libtiff/tif_dirread.c uint8 m; m 654 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedByte(tif,direntry,&m); m 655 3rdparty/libtiff/tif_dirread.c *value=(double)m; m 660 3rdparty/libtiff/tif_dirread.c int8 m; m 661 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSbyte(tif,direntry,&m); m 662 3rdparty/libtiff/tif_dirread.c *value=(double)m; m 667 3rdparty/libtiff/tif_dirread.c uint16 m; m 668 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedShort(tif,direntry,&m); m 669 3rdparty/libtiff/tif_dirread.c *value=(double)m; m 674 3rdparty/libtiff/tif_dirread.c int16 m; m 675 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSshort(tif,direntry,&m); m 676 3rdparty/libtiff/tif_dirread.c *value=(double)m; m 681 3rdparty/libtiff/tif_dirread.c uint32 m; m 682 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedLong(tif,direntry,&m); m 683 3rdparty/libtiff/tif_dirread.c *value=(double)m; m 688 3rdparty/libtiff/tif_dirread.c int32 m; m 689 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedSlong(tif,direntry,&m); m 690 3rdparty/libtiff/tif_dirread.c *value=(double)m; m 695 3rdparty/libtiff/tif_dirread.c uint64 m; m 696 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedLong8(tif,direntry,&m); m 705 3rdparty/libtiff/tif_dirread.c *value = _TIFFUInt64ToDouble(m); m 707 3rdparty/libtiff/tif_dirread.c *value = (double)m; m 713 3rdparty/libtiff/tif_dirread.c int64 m; m 714 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckedSlong8(tif,direntry,&m); m 717 3rdparty/libtiff/tif_dirread.c *value=(double)m; m 728 3rdparty/libtiff/tif_dirread.c float m; m 729 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedFloat(tif,direntry,&m); m 730 3rdparty/libtiff/tif_dirread.c *value=(double)m; m 751 3rdparty/libtiff/tif_dirread.c uint32 m; m 752 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryCheckedLong(tif,direntry,&m); m 753 3rdparty/libtiff/tif_dirread.c *value=(uint64)m; m 871 3rdparty/libtiff/tif_dirread.c int8* m; m 873 3rdparty/libtiff/tif_dirread.c m=(int8*)origdata; m 876 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeByteSbyte(*m); m 882 3rdparty/libtiff/tif_dirread.c m++; m 1047 3rdparty/libtiff/tif_dirread.c uint8* m; m 1049 3rdparty/libtiff/tif_dirread.c m=(uint8*)origdata; m 1052 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeSbyteByte(*m); m 1058 3rdparty/libtiff/tif_dirread.c m++; m 1229 3rdparty/libtiff/tif_dirread.c int16* m; m 1231 3rdparty/libtiff/tif_dirread.c m=(int16*)origdata; m 1235 3rdparty/libtiff/tif_dirread.c TIFFSwabShort((uint16*)m); m 1236 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeShortSshort(*m); m 1242 3rdparty/libtiff/tif_dirread.c m++; m 1396 3rdparty/libtiff/tif_dirread.c uint16* m; m 1398 3rdparty/libtiff/tif_dirread.c m=(uint16*)origdata; m 1402 3rdparty/libtiff/tif_dirread.c TIFFSwabShort(m); m 1403 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeSshortShort(*m); m 1409 3rdparty/libtiff/tif_dirread.c m++; m 1568 3rdparty/libtiff/tif_dirread.c int32* m; m 1570 3rdparty/libtiff/tif_dirread.c m=(int32*)origdata; m 1574 3rdparty/libtiff/tif_dirread.c TIFFSwabLong((uint32*)m); m 1575 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLongSlong(*m); m 1581 3rdparty/libtiff/tif_dirread.c m++; m 1732 3rdparty/libtiff/tif_dirread.c uint32* m; m 1734 3rdparty/libtiff/tif_dirread.c m=(uint32*)origdata; m 1738 3rdparty/libtiff/tif_dirread.c TIFFSwabLong((uint32*)m); m 1739 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeSlongLong(*m); m 1745 3rdparty/libtiff/tif_dirread.c m++; m 1898 3rdparty/libtiff/tif_dirread.c int64* m; m 1900 3rdparty/libtiff/tif_dirread.c m=(int64*)origdata; m 1904 3rdparty/libtiff/tif_dirread.c TIFFSwabLong8((uint64*)m); m 1905 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeLong8Slong8(*m); m 1911 3rdparty/libtiff/tif_dirread.c m++; m 2059 3rdparty/libtiff/tif_dirread.c uint64* m; m 2061 3rdparty/libtiff/tif_dirread.c m=(uint64*)origdata; m 2065 3rdparty/libtiff/tif_dirread.c TIFFSwabLong8(m); m 2066 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryCheckRangeSlong8Long8(*m); m 2072 3rdparty/libtiff/tif_dirread.c m++; m 2738 3rdparty/libtiff/tif_dirread.c uint16* m; m 2743 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryShortArray(tif,direntry,&m); m 2746 3rdparty/libtiff/tif_dirread.c na=m; m 2759 3rdparty/libtiff/tif_dirread.c _TIFFfree(m); m 2767 3rdparty/libtiff/tif_dirread.c double* m; m 2772 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryDoubleArray(tif,direntry,&m); m 2775 3rdparty/libtiff/tif_dirread.c na=m; m 2788 3rdparty/libtiff/tif_dirread.c _TIFFfree(m); m 2874 3rdparty/libtiff/tif_dirread.c UInt64Aligned_t m; m 2885 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryData(tif,offset,8,m.i); m 2890 3rdparty/libtiff/tif_dirread.c m.l = direntry->tdir_offset.toff_long8; m 2892 3rdparty/libtiff/tif_dirread.c TIFFSwabArrayOfLong(m.i,2); m 2893 3rdparty/libtiff/tif_dirread.c if (m.i[0]==0) m 2896 3rdparty/libtiff/tif_dirread.c *value=(double)m.i[0]/(double)m.i[1]; m 2902 3rdparty/libtiff/tif_dirread.c UInt64Aligned_t m; m 2913 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryData(tif,offset,8,m.i); m 2918 3rdparty/libtiff/tif_dirread.c m.l=direntry->tdir_offset.toff_long8; m 2920 3rdparty/libtiff/tif_dirread.c TIFFSwabArrayOfLong(m.i,2); m 2921 3rdparty/libtiff/tif_dirread.c if ((int32)m.i[0]==0) m 2924 3rdparty/libtiff/tif_dirread.c *value=(double)((int32)m.i[0])/(double)m.i[1]; m 3713 3rdparty/libtiff/tif_dirread.c int m; m 3726 3rdparty/libtiff/tif_dirread.c m = TIFFSetField(tif,dp->tdir_tag,data); m 3729 3rdparty/libtiff/tif_dirread.c if (!m) m 4086 3rdparty/libtiff/tif_dirread.c uint16 m; m 4089 3rdparty/libtiff/tif_dirread.c m=0; m 4092 3rdparty/libtiff/tif_dirread.c if (o->tdir_tag<m) m 4098 3rdparty/libtiff/tif_dirread.c m=o->tdir_tag+1; m 4105 3rdparty/libtiff/tif_dirread.c TIFFDirEntry* m; m 4108 3rdparty/libtiff/tif_dirread.c for (m=dir, n=0; n<dircount; m++, n++) m 4110 3rdparty/libtiff/tif_dirread.c if (m->tdir_tag==tagid) m 4111 3rdparty/libtiff/tif_dirread.c return(m); m 4529 3rdparty/libtiff/tif_dirread.c tmsize_t m; m 4548 3rdparty/libtiff/tif_dirread.c m=off+sizeof(uint16); m 4549 3rdparty/libtiff/tif_dirread.c if ((m<off)||(m<(tmsize_t)sizeof(uint16))||(m>tif->tif_size)) { m 4570 3rdparty/libtiff/tif_dirread.c tmsize_t m; m 4572 3rdparty/libtiff/tif_dirread.c m=off+sizeof(uint64); m 4573 3rdparty/libtiff/tif_dirread.c if ((m<off)||(m<(tmsize_t)sizeof(uint64))||(m>tif->tif_size)) { m 4604 3rdparty/libtiff/tif_dirread.c m=off+dircount16*dirsize; m 4605 3rdparty/libtiff/tif_dirread.c if ((m<off)||(m<(tmsize_t)(dircount16*dirsize))||(m>tif->tif_size)) { m 4619 3rdparty/libtiff/tif_dirread.c m=off+sizeof(uint32); m 4620 3rdparty/libtiff/tif_dirread.c if ((m<off)||(m<(tmsize_t)sizeof(uint32))||(m>tif->tif_size)) m 4631 3rdparty/libtiff/tif_dirread.c m=off+sizeof(uint64); m 4632 3rdparty/libtiff/tif_dirread.c if ((m<off)||(m<(tmsize_t)sizeof(uint64))||(m>tif->tif_size)) m 4863 3rdparty/libtiff/tif_dirread.c int m; m 4864 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,data[0],data[1]); m 4866 3rdparty/libtiff/tif_dirread.c if (!m) m 4883 3rdparty/libtiff/tif_dirread.c int m; m 4884 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,data); m 4887 3rdparty/libtiff/tif_dirread.c if (!m) m 4905 3rdparty/libtiff/tif_dirread.c int m; m 4906 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,data); m 4909 3rdparty/libtiff/tif_dirread.c if (!m) m 4927 3rdparty/libtiff/tif_dirread.c int m; m 4928 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,data); m 4931 3rdparty/libtiff/tif_dirread.c if (!m) m 4949 3rdparty/libtiff/tif_dirread.c int m; m 4950 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,data); m 4953 3rdparty/libtiff/tif_dirread.c if (!m) m 4971 3rdparty/libtiff/tif_dirread.c int m; m 4972 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); m 4975 3rdparty/libtiff/tif_dirread.c if (!m) m 4993 3rdparty/libtiff/tif_dirread.c int m; m 4994 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); m 4997 3rdparty/libtiff/tif_dirread.c if (!m) m 5015 3rdparty/libtiff/tif_dirread.c int m; m 5016 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); m 5019 3rdparty/libtiff/tif_dirread.c if (!m) m 5037 3rdparty/libtiff/tif_dirread.c int m; m 5038 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); m 5041 3rdparty/libtiff/tif_dirread.c if (!m) m 5059 3rdparty/libtiff/tif_dirread.c int m; m 5060 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); m 5063 3rdparty/libtiff/tif_dirread.c if (!m) m 5081 3rdparty/libtiff/tif_dirread.c int m; m 5082 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); m 5085 3rdparty/libtiff/tif_dirread.c if (!m) m 5103 3rdparty/libtiff/tif_dirread.c int m; m 5104 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); m 5107 3rdparty/libtiff/tif_dirread.c if (!m) m 5125 3rdparty/libtiff/tif_dirread.c int m; m 5126 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); m 5129 3rdparty/libtiff/tif_dirread.c if (!m) m 5143 3rdparty/libtiff/tif_dirread.c int m; m 5144 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5147 3rdparty/libtiff/tif_dirread.c if (!m) m 5160 3rdparty/libtiff/tif_dirread.c int m; m 5161 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5164 3rdparty/libtiff/tif_dirread.c if (!m) m 5177 3rdparty/libtiff/tif_dirread.c int m; m 5178 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5181 3rdparty/libtiff/tif_dirread.c if (!m) m 5194 3rdparty/libtiff/tif_dirread.c int m; m 5195 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5198 3rdparty/libtiff/tif_dirread.c if (!m) m 5211 3rdparty/libtiff/tif_dirread.c int m; m 5212 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5215 3rdparty/libtiff/tif_dirread.c if (!m) m 5228 3rdparty/libtiff/tif_dirread.c int m; m 5229 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5232 3rdparty/libtiff/tif_dirread.c if (!m) m 5245 3rdparty/libtiff/tif_dirread.c int m; m 5246 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5249 3rdparty/libtiff/tif_dirread.c if (!m) m 5262 3rdparty/libtiff/tif_dirread.c int m; m 5263 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5266 3rdparty/libtiff/tif_dirread.c if (!m) m 5279 3rdparty/libtiff/tif_dirread.c int m; m 5280 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5283 3rdparty/libtiff/tif_dirread.c if (!m) m 5296 3rdparty/libtiff/tif_dirread.c int m; m 5297 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5300 3rdparty/libtiff/tif_dirread.c if (!m) m 5313 3rdparty/libtiff/tif_dirread.c int m; m 5314 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5317 3rdparty/libtiff/tif_dirread.c if (!m) m 5330 3rdparty/libtiff/tif_dirread.c int m; m 5331 3rdparty/libtiff/tif_dirread.c m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); m 5334 3rdparty/libtiff/tif_dirread.c if (!m) m 5398 3rdparty/libtiff/tif_dirread.c UInt64Aligned_t m; m 5399 3rdparty/libtiff/tif_dirread.c m.l=0; m 5415 3rdparty/libtiff/tif_dirread.c err=TIFFReadDirEntryData(tif,offset,8,m.i); m 5419 3rdparty/libtiff/tif_dirread.c m.l=dir->tdir_offset.toff_long8; m 5427 3rdparty/libtiff/tif_dirread.c TIFFSwabArrayOfLong(m.i,2); m 5428 3rdparty/libtiff/tif_dirread.c if (m.i[0]==0) m 5430 3rdparty/libtiff/tif_dirread.c else if (m.i[0]==0xFFFFFFFF) m 5438 3rdparty/libtiff/tif_dirread.c n=(double)m.i[0]/(double)m.i[1]; m 272 3rdparty/libtiff/tif_dirwrite.c uint32 m; m 273 3rdparty/libtiff/tif_dirwrite.c m=0; m 276 3rdparty/libtiff/tif_dirwrite.c if (!WriteOK(tif, &m, 4)) { m 338 3rdparty/libtiff/tif_dirwrite.c uint64 m; m 339 3rdparty/libtiff/tif_dirwrite.c m=0; m 342 3rdparty/libtiff/tif_dirwrite.c if (!WriteOK(tif, &m, 8)) { m 370 3rdparty/libtiff/tif_dirwrite.c uint32 m; m 694 3rdparty/libtiff/tif_dirwrite.c for (m=0; m<(uint32)(tif->tif_dir.td_customValueCount); m++) m 696 3rdparty/libtiff/tif_dirwrite.c switch (tif->tif_dir.td_customValues[m].info->field_type) m 699 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 703 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagUndefinedArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 707 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagByteArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 711 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagSbyteArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 715 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 719 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagSshortArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 723 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagLongArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 727 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagSlongArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 731 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagLong8Array(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 735 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagSlong8Array(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 739 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagRationalArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 743 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagSrationalArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 747 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagFloatArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 751 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagDoubleArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 755 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagIfdArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 759 3rdparty/libtiff/tif_dirwrite.c if (!TIFFWriteDirectoryTagIfdIfd8Array(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif->tif_dir.td_customValues[m].count,tif->tif_dir.td_customValues[m].value)) m 836 3rdparty/libtiff/tif_dirwrite.c for (m=0; m<ndir; m++) m 872 3rdparty/libtiff/tif_dirwrite.c for (m=0; m<ndir; m++) m 1086 3rdparty/libtiff/tif_dirwrite.c uint8* m; m 1095 3rdparty/libtiff/tif_dirwrite.c m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(uint8)); m 1096 3rdparty/libtiff/tif_dirwrite.c if (m==NULL) m 1101 3rdparty/libtiff/tif_dirwrite.c for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) m 1103 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagCheckedByteArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); m 1104 3rdparty/libtiff/tif_dirwrite.c _TIFFfree(m); m 1138 3rdparty/libtiff/tif_dirwrite.c int8* m; m 1147 3rdparty/libtiff/tif_dirwrite.c m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(int8)); m 1148 3rdparty/libtiff/tif_dirwrite.c if (m==NULL) m 1153 3rdparty/libtiff/tif_dirwrite.c for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) m 1155 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagCheckedSbyteArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); m 1156 3rdparty/libtiff/tif_dirwrite.c _TIFFfree(m); m 1187 3rdparty/libtiff/tif_dirwrite.c uint16* m; m 1196 3rdparty/libtiff/tif_dirwrite.c m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(uint16)); m 1197 3rdparty/libtiff/tif_dirwrite.c if (m==NULL) m 1202 3rdparty/libtiff/tif_dirwrite.c for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) m 1204 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); m 1205 3rdparty/libtiff/tif_dirwrite.c _TIFFfree(m); m 1238 3rdparty/libtiff/tif_dirwrite.c int16* m; m 1247 3rdparty/libtiff/tif_dirwrite.c m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(int16)); m 1248 3rdparty/libtiff/tif_dirwrite.c if (m==NULL) m 1253 3rdparty/libtiff/tif_dirwrite.c for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) m 1255 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagCheckedSshortArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); m 1256 3rdparty/libtiff/tif_dirwrite.c _TIFFfree(m); m 1288 3rdparty/libtiff/tif_dirwrite.c uint32* m; m 1297 3rdparty/libtiff/tif_dirwrite.c m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(uint32)); m 1298 3rdparty/libtiff/tif_dirwrite.c if (m==NULL) m 1303 3rdparty/libtiff/tif_dirwrite.c for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) m 1305 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); m 1306 3rdparty/libtiff/tif_dirwrite.c _TIFFfree(m); m 1340 3rdparty/libtiff/tif_dirwrite.c int32* m; m 1349 3rdparty/libtiff/tif_dirwrite.c m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(int32)); m 1350 3rdparty/libtiff/tif_dirwrite.c if (m==NULL) m 1355 3rdparty/libtiff/tif_dirwrite.c for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) m 1357 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagCheckedSlongArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); m 1358 3rdparty/libtiff/tif_dirwrite.c _TIFFfree(m); m 1470 3rdparty/libtiff/tif_dirwrite.c float* m; m 1479 3rdparty/libtiff/tif_dirwrite.c m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(float)); m 1480 3rdparty/libtiff/tif_dirwrite.c if (m==NULL) m 1485 3rdparty/libtiff/tif_dirwrite.c for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) m 1487 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagCheckedFloatArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); m 1488 3rdparty/libtiff/tif_dirwrite.c _TIFFfree(m); m 1519 3rdparty/libtiff/tif_dirwrite.c double* m; m 1528 3rdparty/libtiff/tif_dirwrite.c m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(double)); m 1529 3rdparty/libtiff/tif_dirwrite.c if (m==NULL) m 1534 3rdparty/libtiff/tif_dirwrite.c for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) m 1536 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagCheckedDoubleArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); m 1537 3rdparty/libtiff/tif_dirwrite.c _TIFFfree(m); m 1764 3rdparty/libtiff/tif_dirwrite.c uint32 m; m 1772 3rdparty/libtiff/tif_dirwrite.c m=(1<<tif->tif_dir.td_bitspersample); m 1773 3rdparty/libtiff/tif_dirwrite.c n=_TIFFmalloc(3*m*sizeof(uint16)); m 1779 3rdparty/libtiff/tif_dirwrite.c _TIFFmemcpy(&n[0],tif->tif_dir.td_colormap[0],m*sizeof(uint16)); m 1780 3rdparty/libtiff/tif_dirwrite.c _TIFFmemcpy(&n[m],tif->tif_dir.td_colormap[1],m*sizeof(uint16)); m 1781 3rdparty/libtiff/tif_dirwrite.c _TIFFmemcpy(&n[2*m],tif->tif_dir.td_colormap[2],m*sizeof(uint16)); m 1782 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,TIFFTAG_COLORMAP,3*m,n); m 1791 3rdparty/libtiff/tif_dirwrite.c uint32 m; m 1800 3rdparty/libtiff/tif_dirwrite.c m=(1<<tif->tif_dir.td_bitspersample); m 1812 3rdparty/libtiff/tif_dirwrite.c if (!_TIFFmemcmp(tif->tif_dir.td_transferfunction[0],tif->tif_dir.td_transferfunction[2],m*sizeof(uint16))) m 1817 3rdparty/libtiff/tif_dirwrite.c if (!_TIFFmemcmp(tif->tif_dir.td_transferfunction[0],tif->tif_dir.td_transferfunction[1],m*sizeof(uint16))) m 1822 3rdparty/libtiff/tif_dirwrite.c o=_TIFFmalloc(n*m*sizeof(uint16)); m 1828 3rdparty/libtiff/tif_dirwrite.c _TIFFmemcpy(&o[0],tif->tif_dir.td_transferfunction[0],m*sizeof(uint16)); m 1830 3rdparty/libtiff/tif_dirwrite.c _TIFFmemcpy(&o[m],tif->tif_dir.td_transferfunction[1],m*sizeof(uint16)); m 1832 3rdparty/libtiff/tif_dirwrite.c _TIFFmemcpy(&o[2*m],tif->tif_dir.td_transferfunction[2],m*sizeof(uint16)); m 1833 3rdparty/libtiff/tif_dirwrite.c p=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,TIFFTAG_TRANSFERFUNCTION,n*m,o); m 1842 3rdparty/libtiff/tif_dirwrite.c uint64 m; m 1851 3rdparty/libtiff/tif_dirwrite.c m=tif->tif_dataoff; m 1892 3rdparty/libtiff/tif_dirwrite.c tif->tif_subifdoff=m; m 1945 3rdparty/libtiff/tif_dirwrite.c uint16 m; m 1947 3rdparty/libtiff/tif_dirwrite.c m=value; m 1949 3rdparty/libtiff/tif_dirwrite.c TIFFSwabShort(&m); m 1950 3rdparty/libtiff/tif_dirwrite.c return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SHORT,1,2,&m)); m 1967 3rdparty/libtiff/tif_dirwrite.c int16 m; m 1969 3rdparty/libtiff/tif_dirwrite.c m=value; m 1971 3rdparty/libtiff/tif_dirwrite.c TIFFSwabShort((uint16*)(&m)); m 1972 3rdparty/libtiff/tif_dirwrite.c return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SSHORT,1,2,&m)); m 1989 3rdparty/libtiff/tif_dirwrite.c uint32 m; m 1991 3rdparty/libtiff/tif_dirwrite.c m=value; m 1993 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong(&m); m 1994 3rdparty/libtiff/tif_dirwrite.c return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG,1,4,&m)); m 2011 3rdparty/libtiff/tif_dirwrite.c int32 m; m 2013 3rdparty/libtiff/tif_dirwrite.c m=value; m 2015 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong((uint32*)(&m)); m 2016 3rdparty/libtiff/tif_dirwrite.c return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG,1,4,&m)); m 2034 3rdparty/libtiff/tif_dirwrite.c uint64 m; m 2037 3rdparty/libtiff/tif_dirwrite.c m=value; m 2039 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong8(&m); m 2040 3rdparty/libtiff/tif_dirwrite.c return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG8,1,8,&m)); m 2059 3rdparty/libtiff/tif_dirwrite.c int64 m; m 2062 3rdparty/libtiff/tif_dirwrite.c m=value; m 2064 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong8((uint64*)(&m)); m 2065 3rdparty/libtiff/tif_dirwrite.c return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG8,1,8,&m)); m 2083 3rdparty/libtiff/tif_dirwrite.c uint32 m[2]; m 2088 3rdparty/libtiff/tif_dirwrite.c m[0]=0; m 2089 3rdparty/libtiff/tif_dirwrite.c m[1]=1; m 2093 3rdparty/libtiff/tif_dirwrite.c m[0]=(uint32)value; m 2094 3rdparty/libtiff/tif_dirwrite.c m[1]=1; m 2098 3rdparty/libtiff/tif_dirwrite.c m[0]=(uint32)(value*0xFFFFFFFF); m 2099 3rdparty/libtiff/tif_dirwrite.c m[1]=0xFFFFFFFF; m 2103 3rdparty/libtiff/tif_dirwrite.c m[0]=0xFFFFFFFF; m 2104 3rdparty/libtiff/tif_dirwrite.c m[1]=(uint32)(0xFFFFFFFF/value); m 2108 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong(&m[0]); m 2109 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong(&m[1]); m 2111 3rdparty/libtiff/tif_dirwrite.c return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_RATIONAL,1,8,&m[0])); m 2118 3rdparty/libtiff/tif_dirwrite.c uint32* m; m 2124 3rdparty/libtiff/tif_dirwrite.c m=_TIFFmalloc(count*2*sizeof(uint32)); m 2125 3rdparty/libtiff/tif_dirwrite.c if (m==NULL) m 2130 3rdparty/libtiff/tif_dirwrite.c for (na=value, nb=m, nc=0; nc<count; na++, nb+=2, nc++) m 2154 3rdparty/libtiff/tif_dirwrite.c TIFFSwabArrayOfLong(m,count*2); m 2155 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_RATIONAL,count,count*8,&m[0]); m 2156 3rdparty/libtiff/tif_dirwrite.c _TIFFfree(m); m 2164 3rdparty/libtiff/tif_dirwrite.c int32* m; m 2170 3rdparty/libtiff/tif_dirwrite.c m=_TIFFmalloc(count*2*sizeof(int32)); m 2171 3rdparty/libtiff/tif_dirwrite.c if (m==NULL) m 2176 3rdparty/libtiff/tif_dirwrite.c for (na=value, nb=m, nc=0; nc<count; na++, nb+=2, nc++) m 2216 3rdparty/libtiff/tif_dirwrite.c TIFFSwabArrayOfLong((uint32*)m,count*2); m 2217 3rdparty/libtiff/tif_dirwrite.c o=TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SRATIONAL,count,count*8,&m[0]); m 2218 3rdparty/libtiff/tif_dirwrite.c _TIFFfree(m); m 2226 3rdparty/libtiff/tif_dirwrite.c float m; m 2228 3rdparty/libtiff/tif_dirwrite.c m=value; m 2229 3rdparty/libtiff/tif_dirwrite.c TIFFCvtNativeToIEEEFloat(tif,1,&m); m 2231 3rdparty/libtiff/tif_dirwrite.c TIFFSwabFloat(&m); m 2232 3rdparty/libtiff/tif_dirwrite.c return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_FLOAT,1,4,&m)); m 2251 3rdparty/libtiff/tif_dirwrite.c double m; m 2253 3rdparty/libtiff/tif_dirwrite.c m=value; m 2254 3rdparty/libtiff/tif_dirwrite.c TIFFCvtNativeToIEEEDouble(tif,1,&m); m 2256 3rdparty/libtiff/tif_dirwrite.c TIFFSwabDouble(&m); m 2257 3rdparty/libtiff/tif_dirwrite.c return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_DOUBLE,1,8,&m)); m 2297 3rdparty/libtiff/tif_dirwrite.c uint32 m; m 2298 3rdparty/libtiff/tif_dirwrite.c m=0; m 2299 3rdparty/libtiff/tif_dirwrite.c while (m<(*ndir)) m 2301 3rdparty/libtiff/tif_dirwrite.c assert(dir[m].tdir_tag!=tag); m 2302 3rdparty/libtiff/tif_dirwrite.c if (dir[m].tdir_tag>tag) m 2304 3rdparty/libtiff/tif_dirwrite.c m++; m 2306 3rdparty/libtiff/tif_dirwrite.c if (m<(*ndir)) m 2309 3rdparty/libtiff/tif_dirwrite.c for (n=*ndir; n>m; n--) m 2312 3rdparty/libtiff/tif_dirwrite.c dir[m].tdir_tag=tag; m 2313 3rdparty/libtiff/tif_dirwrite.c dir[m].tdir_type=datatype; m 2314 3rdparty/libtiff/tif_dirwrite.c dir[m].tdir_count=count; m 2315 3rdparty/libtiff/tif_dirwrite.c dir[m].tdir_offset.toff_long8 = 0; m 2317 3rdparty/libtiff/tif_dirwrite.c _TIFFmemcpy(&dir[m].tdir_offset,data,datalength); m 2350 3rdparty/libtiff/tif_dirwrite.c _TIFFmemcpy(&dir[m].tdir_offset,&o,4); m 2354 3rdparty/libtiff/tif_dirwrite.c dir[m].tdir_offset.toff_long8 = na; m 2356 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong8(&dir[m].tdir_offset.toff_long8); m 2380 3rdparty/libtiff/tif_dirwrite.c uint32 m; m 2381 3rdparty/libtiff/tif_dirwrite.c m = (uint32)tif->tif_diroff; m 2383 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong(&m); m 2385 3rdparty/libtiff/tif_dirwrite.c if (!WriteOK(tif, &m, 4)) { m 2403 3rdparty/libtiff/tif_dirwrite.c uint64 m; m 2404 3rdparty/libtiff/tif_dirwrite.c m = tif->tif_diroff; m 2406 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong8(&m); m 2408 3rdparty/libtiff/tif_dirwrite.c if (!WriteOK(tif, &m, 8)) { m 2428 3rdparty/libtiff/tif_dirwrite.c uint32 m; m 2430 3rdparty/libtiff/tif_dirwrite.c m = (uint32)(tif->tif_diroff); m 2432 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong(&m); m 2439 3rdparty/libtiff/tif_dirwrite.c if (!WriteOK(tif, &m, 4)) { m 2475 3rdparty/libtiff/tif_dirwrite.c if (!WriteOK(tif, &m, 4)) { m 2487 3rdparty/libtiff/tif_dirwrite.c uint64 m; m 2489 3rdparty/libtiff/tif_dirwrite.c m = tif->tif_diroff; m 2491 3rdparty/libtiff/tif_dirwrite.c TIFFSwabLong8(&m); m 2498 3rdparty/libtiff/tif_dirwrite.c if (!WriteOK(tif, &m, 8)) { m 2542 3rdparty/libtiff/tif_dirwrite.c if (!WriteOK(tif, &m, 8)) { m 1355 3rdparty/libtiff/tif_getimage.c uint8* m; m 1358 3rdparty/libtiff/tif_getimage.c m = img->UaToAa+(a<<8); m 1359 3rdparty/libtiff/tif_getimage.c r = m[pp[0]]; m 1360 3rdparty/libtiff/tif_getimage.c g = m[pp[1]]; m 1361 3rdparty/libtiff/tif_getimage.c b = m[pp[2]]; m 1426 3rdparty/libtiff/tif_getimage.c uint8* m; m 1429 3rdparty/libtiff/tif_getimage.c m = img->UaToAa+(a<<8); m 1430 3rdparty/libtiff/tif_getimage.c r = m[img->Bitdepth16To8[wp[0]]]; m 1431 3rdparty/libtiff/tif_getimage.c g = m[img->Bitdepth16To8[wp[1]]]; m 1432 3rdparty/libtiff/tif_getimage.c b = m[img->Bitdepth16To8[wp[2]]]; m 1557 3rdparty/libtiff/tif_getimage.c uint8* m; m 1560 3rdparty/libtiff/tif_getimage.c m = img->UaToAa+(av<<8); m 1561 3rdparty/libtiff/tif_getimage.c rv = m[*r++]; m 1562 3rdparty/libtiff/tif_getimage.c gv = m[*g++]; m 1563 3rdparty/libtiff/tif_getimage.c bv = m[*b++]; m 1623 3rdparty/libtiff/tif_getimage.c uint8* m; m 1626 3rdparty/libtiff/tif_getimage.c m = img->UaToAa+(a<<8); m 1627 3rdparty/libtiff/tif_getimage.c r = m[img->Bitdepth16To8[*wr++]]; m 1628 3rdparty/libtiff/tif_getimage.c g = m[img->Bitdepth16To8[*wg++]]; m 1629 3rdparty/libtiff/tif_getimage.c b = m[img->Bitdepth16To8[*wb++]]; m 2665 3rdparty/libtiff/tif_getimage.c uint8* m; m 2674 3rdparty/libtiff/tif_getimage.c m=img->UaToAa; m 2678 3rdparty/libtiff/tif_getimage.c *m++=(nv*na+127)/255; m 2687 3rdparty/libtiff/tif_getimage.c uint8* m; m 2696 3rdparty/libtiff/tif_getimage.c m=img->Bitdepth16To8; m 2698 3rdparty/libtiff/tif_getimage.c *m++=(n+128)/257; m 727 3rdparty/libtiff/tif_jpeg.c struct JPEGFixupTagsSubsamplingData m; m 740 3rdparty/libtiff/tif_jpeg.c m.tif=tif; m 741 3rdparty/libtiff/tif_jpeg.c m.buffersize=2048; m 742 3rdparty/libtiff/tif_jpeg.c m.buffer=_TIFFmalloc(m.buffersize); m 743 3rdparty/libtiff/tif_jpeg.c if (m.buffer==NULL) m 749 3rdparty/libtiff/tif_jpeg.c m.buffercurrentbyte=NULL; m 750 3rdparty/libtiff/tif_jpeg.c m.bufferbytesleft=0; m 751 3rdparty/libtiff/tif_jpeg.c m.fileoffset=tif->tif_dir.td_stripoffset[0]; m 752 3rdparty/libtiff/tif_jpeg.c m.filepositioned=0; m 753 3rdparty/libtiff/tif_jpeg.c m.filebytesleft=tif->tif_dir.td_stripbytecount[0]; m 754 3rdparty/libtiff/tif_jpeg.c if (!JPEGFixupTagsSubsamplingSec(&m)) m 757 3rdparty/libtiff/tif_jpeg.c _TIFFfree(m.buffer); m 764 3rdparty/libtiff/tif_jpeg.c uint8 m; m 769 3rdparty/libtiff/tif_jpeg.c if (!JPEGFixupTagsSubsamplingReadByte(data,&m)) m 771 3rdparty/libtiff/tif_jpeg.c if (m==255) m 776 3rdparty/libtiff/tif_jpeg.c if (!JPEGFixupTagsSubsamplingReadByte(data,&m)) m 778 3rdparty/libtiff/tif_jpeg.c if (m!=255) m 781 3rdparty/libtiff/tif_jpeg.c switch (m) m 879 3rdparty/libtiff/tif_jpeg.c uint32 m; m 887 3rdparty/libtiff/tif_jpeg.c m=data->buffersize; m 888 3rdparty/libtiff/tif_jpeg.c if ((uint64)m>data->filebytesleft) m 889 3rdparty/libtiff/tif_jpeg.c m=(uint32)data->filebytesleft; m 890 3rdparty/libtiff/tif_jpeg.c assert(m<0x80000000UL); m 891 3rdparty/libtiff/tif_jpeg.c if (TIFFReadFile(data->tif,data->buffer,(tmsize_t)m)!=(tmsize_t)m) m 894 3rdparty/libtiff/tif_jpeg.c data->bufferbytesleft=m; m 895 3rdparty/libtiff/tif_jpeg.c data->fileoffset+=m; m 896 3rdparty/libtiff/tif_jpeg.c data->filebytesleft-=m; m 927 3rdparty/libtiff/tif_jpeg.c uint16 m; m 928 3rdparty/libtiff/tif_jpeg.c m=skiplength-data->bufferbytesleft; m 929 3rdparty/libtiff/tif_jpeg.c if (m<=data->filebytesleft) m 932 3rdparty/libtiff/tif_jpeg.c data->fileoffset+=m; m 933 3rdparty/libtiff/tif_jpeg.c data->filebytesleft-=m; m 689 3rdparty/libtiff/tif_luv.c #define itrunc(x,m) ((m)==SGILOGENCODE_NODITHER ? \ m 609 3rdparty/libtiff/tif_ojpeg.c uint8 m; m 619 3rdparty/libtiff/tif_ojpeg.c for (m=0; m<sp->qtable_offset_count; m++) m 620 3rdparty/libtiff/tif_ojpeg.c fprintf(fd," " TIFF_UINT64_FORMAT,(TIFF_UINT64_T)sp->qtable_offset[m]); m 626 3rdparty/libtiff/tif_ojpeg.c for (m=0; m<sp->dctable_offset_count; m++) m 627 3rdparty/libtiff/tif_ojpeg.c fprintf(fd," " TIFF_UINT64_FORMAT,(TIFF_UINT64_T)sp->dctable_offset[m]); m 633 3rdparty/libtiff/tif_ojpeg.c for (m=0; m<sp->actable_offset_count; m++) m 634 3rdparty/libtiff/tif_ojpeg.c fprintf(fd," " TIFF_UINT64_FORMAT,(TIFF_UINT64_T)sp->actable_offset[m]); m 664 3rdparty/libtiff/tif_ojpeg.c uint32 m; m 678 3rdparty/libtiff/tif_ojpeg.c m=tif->tif_curtile; m 680 3rdparty/libtiff/tif_ojpeg.c m=tif->tif_curstrip; m 681 3rdparty/libtiff/tif_ojpeg.c if ((sp->writeheader_done!=0) && ((sp->write_cursample!=s) || (sp->write_curstrile>m))) m 706 3rdparty/libtiff/tif_ojpeg.c while (sp->write_curstrile<m) m 727 3rdparty/libtiff/tif_ojpeg.c uint32 m; m 728 3rdparty/libtiff/tif_ojpeg.c m=sp->lines_per_strile; m 731 3rdparty/libtiff/tif_ojpeg.c if (sp->subsampling_convert_clines-sp->subsampling_convert_state>=m) m 733 3rdparty/libtiff/tif_ojpeg.c sp->subsampling_convert_state+=m; m 738 3rdparty/libtiff/tif_ojpeg.c m-=sp->subsampling_convert_clines-sp->subsampling_convert_state; m 741 3rdparty/libtiff/tif_ojpeg.c while (m>=sp->subsampling_convert_clines) m 745 3rdparty/libtiff/tif_ojpeg.c m-=sp->subsampling_convert_clines; m 747 3rdparty/libtiff/tif_ojpeg.c if (m>0) m 751 3rdparty/libtiff/tif_ojpeg.c sp->subsampling_convert_state=m; m 761 3rdparty/libtiff/tif_ojpeg.c uint32 m; m 771 3rdparty/libtiff/tif_ojpeg.c for (m=0; m<sp->lines_per_strile; m++) m 802 3rdparty/libtiff/tif_ojpeg.c uint8* m; m 817 3rdparty/libtiff/tif_ojpeg.c m=buf; m 829 3rdparty/libtiff/tif_ojpeg.c p=m; m 846 3rdparty/libtiff/tif_ojpeg.c m+=sp->bytes_per_line; m 857 3rdparty/libtiff/tif_ojpeg.c uint8* m; m 865 3rdparty/libtiff/tif_ojpeg.c m=buf; m 869 3rdparty/libtiff/tif_ojpeg.c if (jpeg_read_scanlines_encap(sp,&(sp->libjpeg_jpeg_decompress_struct),&m,1)==0) m 871 3rdparty/libtiff/tif_ojpeg.c m+=sp->bytes_per_line; m 1096 3rdparty/libtiff/tif_ojpeg.c uint8 m; m 1115 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadByte(sp,&m)==0) m 1117 3rdparty/libtiff/tif_ojpeg.c if (m==255) m 1121 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadByte(sp,&m)==0) m 1123 3rdparty/libtiff/tif_ojpeg.c if (m!=255) m 1126 3rdparty/libtiff/tif_ojpeg.c if (m==JPEG_MARKER_SOS) m 1147 3rdparty/libtiff/tif_ojpeg.c uint8** m; m 1205 3rdparty/libtiff/tif_ojpeg.c m=sp->subsampling_convert_ycbcrimage; m 1206 3rdparty/libtiff/tif_ojpeg.c *m++=(uint8*)(sp->subsampling_convert_ycbcrimage+3); m 1207 3rdparty/libtiff/tif_ojpeg.c *m++=(uint8*)(sp->subsampling_convert_ycbcrimage+3+sp->subsampling_convert_ylines); m 1208 3rdparty/libtiff/tif_ojpeg.c *m++=(uint8*)(sp->subsampling_convert_ycbcrimage+3+sp->subsampling_convert_ylines+sp->subsampling_convert_clines); m 1210 3rdparty/libtiff/tif_ojpeg.c *m++=sp->subsampling_convert_ybuf+n*sp->subsampling_convert_ylinelen; m 1212 3rdparty/libtiff/tif_ojpeg.c *m++=sp->subsampling_convert_cbbuf+n*sp->subsampling_convert_clinelen; m 1214 3rdparty/libtiff/tif_ojpeg.c *m++=sp->subsampling_convert_crbuf+n*sp->subsampling_convert_clinelen; m 1250 3rdparty/libtiff/tif_ojpeg.c uint8 m; m 1275 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadBytePeek(sp,&m)==0) m 1277 3rdparty/libtiff/tif_ojpeg.c if (m!=255) m 1282 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadByte(sp,&m)==0) m 1284 3rdparty/libtiff/tif_ojpeg.c } while(m==255); m 1285 3rdparty/libtiff/tif_ojpeg.c switch(m) m 1334 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadHeaderInfoSecStreamSof(tif,m)==0) m 1347 3rdparty/libtiff/tif_ojpeg.c TIFFErrorExt(tif->tif_clientdata,module,"Unknown marker type %d in JPEG data",m); m 1350 3rdparty/libtiff/tif_ojpeg.c } while(m!=JPEG_MARKER_SOS); m 1382 3rdparty/libtiff/tif_ojpeg.c uint16 m; m 1383 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadWord(sp,&m)==0) m 1385 3rdparty/libtiff/tif_ojpeg.c if (m!=4) m 1390 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadWord(sp,&m)==0) m 1392 3rdparty/libtiff/tif_ojpeg.c sp->restart_interval=m; m 1402 3rdparty/libtiff/tif_ojpeg.c uint16 m; m 1406 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadWord(sp,&m)==0) m 1408 3rdparty/libtiff/tif_ojpeg.c if (m<=2) m 1415 3rdparty/libtiff/tif_ojpeg.c OJPEGReadSkip(sp,m-2); m 1418 3rdparty/libtiff/tif_ojpeg.c m-=2; m 1421 3rdparty/libtiff/tif_ojpeg.c if (m<65) m 1452 3rdparty/libtiff/tif_ojpeg.c m-=65; m 1453 3rdparty/libtiff/tif_ojpeg.c } while(m>0); m 1465 3rdparty/libtiff/tif_ojpeg.c uint16 m; m 1469 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadWord(sp,&m)==0) m 1471 3rdparty/libtiff/tif_ojpeg.c if (m<=2) m 1479 3rdparty/libtiff/tif_ojpeg.c OJPEGReadSkip(sp,m-2); m 1483 3rdparty/libtiff/tif_ojpeg.c na=sizeof(uint32)+2+m; m 1493 3rdparty/libtiff/tif_ojpeg.c nb[sizeof(uint32)+2]=(m>>8); m 1494 3rdparty/libtiff/tif_ojpeg.c nb[sizeof(uint32)+3]=(m&255); m 1495 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadBlock(sp,m-2,&nb[sizeof(uint32)+4])==0) m 1536 3rdparty/libtiff/tif_ojpeg.c uint16 m; m 1549 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadWord(sp,&m)==0) m 1551 3rdparty/libtiff/tif_ojpeg.c if (m<11) m 1557 3rdparty/libtiff/tif_ojpeg.c m-=8; m 1558 3rdparty/libtiff/tif_ojpeg.c if (m%3!=0) m 1564 3rdparty/libtiff/tif_ojpeg.c n=m/3; m 1688 3rdparty/libtiff/tif_ojpeg.c uint16 m; m 1698 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadWord(sp,&m)==0) m 1700 3rdparty/libtiff/tif_ojpeg.c if (m!=6+sp->samples_per_pixel_per_plane*2) m 1735 3rdparty/libtiff/tif_ojpeg.c uint8 m; m 1746 3rdparty/libtiff/tif_ojpeg.c for (m=0; m<sp->samples_per_pixel; m++) m 1748 3rdparty/libtiff/tif_ojpeg.c if ((sp->qtable_offset[m]!=0) && ((m==0) || (sp->qtable_offset[m]!=sp->qtable_offset[m-1]))) m 1750 3rdparty/libtiff/tif_ojpeg.c for (n=0; n<m-1; n++) m 1752 3rdparty/libtiff/tif_ojpeg.c if (sp->qtable_offset[m]==sp->qtable_offset[n]) m 1770 3rdparty/libtiff/tif_ojpeg.c ob[sizeof(uint32)+4]=m; m 1771 3rdparty/libtiff/tif_ojpeg.c TIFFSeekFile(tif,sp->qtable_offset[m],SEEK_SET); m 1775 3rdparty/libtiff/tif_ojpeg.c sp->qtable[m]=ob; m 1776 3rdparty/libtiff/tif_ojpeg.c sp->sof_tq[m]=m; m 1779 3rdparty/libtiff/tif_ojpeg.c sp->sof_tq[m]=sp->sof_tq[m-1]; m 1789 3rdparty/libtiff/tif_ojpeg.c uint8 m; m 1802 3rdparty/libtiff/tif_ojpeg.c for (m=0; m<sp->samples_per_pixel; m++) m 1804 3rdparty/libtiff/tif_ojpeg.c if ((sp->dctable_offset[m]!=0) && ((m==0) || (sp->dctable_offset[m]!=sp->dctable_offset[m-1]))) m 1806 3rdparty/libtiff/tif_ojpeg.c for (n=0; n<m-1; n++) m 1808 3rdparty/libtiff/tif_ojpeg.c if (sp->dctable_offset[m]==sp->dctable_offset[n]) m 1814 3rdparty/libtiff/tif_ojpeg.c TIFFSeekFile(tif,sp->dctable_offset[m],SEEK_SET); m 1833 3rdparty/libtiff/tif_ojpeg.c rb[sizeof(uint32)+4]=m; m 1839 3rdparty/libtiff/tif_ojpeg.c sp->dctable[m]=rb; m 1840 3rdparty/libtiff/tif_ojpeg.c sp->sos_tda[m]=(m<<4); m 1843 3rdparty/libtiff/tif_ojpeg.c sp->sos_tda[m]=sp->sos_tda[m-1]; m 1853 3rdparty/libtiff/tif_ojpeg.c uint8 m; m 1866 3rdparty/libtiff/tif_ojpeg.c for (m=0; m<sp->samples_per_pixel; m++) m 1868 3rdparty/libtiff/tif_ojpeg.c if ((sp->actable_offset[m]!=0) && ((m==0) || (sp->actable_offset[m]!=sp->actable_offset[m-1]))) m 1870 3rdparty/libtiff/tif_ojpeg.c for (n=0; n<m-1; n++) m 1872 3rdparty/libtiff/tif_ojpeg.c if (sp->actable_offset[m]==sp->actable_offset[n]) m 1878 3rdparty/libtiff/tif_ojpeg.c TIFFSeekFile(tif,sp->actable_offset[m],SEEK_SET); m 1897 3rdparty/libtiff/tif_ojpeg.c rb[sizeof(uint32)+4]=(16|m); m 1903 3rdparty/libtiff/tif_ojpeg.c sp->actable[m]=rb; m 1904 3rdparty/libtiff/tif_ojpeg.c sp->sos_tda[m]=(sp->sos_tda[m]|m); m 1907 3rdparty/libtiff/tif_ojpeg.c sp->sos_tda[m]=(sp->sos_tda[m]|(sp->sos_tda[m-1]&15)); m 1915 3rdparty/libtiff/tif_ojpeg.c uint16 m; m 1928 3rdparty/libtiff/tif_ojpeg.c m=OJPEG_BUFFER; m 1929 3rdparty/libtiff/tif_ojpeg.c if ((uint64)m>sp->in_buffer_file_togo) m 1930 3rdparty/libtiff/tif_ojpeg.c m=(uint16)sp->in_buffer_file_togo; m 1931 3rdparty/libtiff/tif_ojpeg.c n=TIFFReadFile(sp->tif,sp->in_buffer,(tmsize_t)m); m 1938 3rdparty/libtiff/tif_ojpeg.c m=(uint16)n; m 1939 3rdparty/libtiff/tif_ojpeg.c sp->in_buffer_togo=m; m 1941 3rdparty/libtiff/tif_ojpeg.c sp->in_buffer_file_togo-=m; m 1942 3rdparty/libtiff/tif_ojpeg.c sp->in_buffer_file_pos+=m; m 2037 3rdparty/libtiff/tif_ojpeg.c uint8 m; m 2038 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadByte(sp,&m)==0) m 2040 3rdparty/libtiff/tif_ojpeg.c *word=(m<<8); m 2041 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadByte(sp,&m)==0) m 2043 3rdparty/libtiff/tif_ojpeg.c *word|=m; m 2079 3rdparty/libtiff/tif_ojpeg.c uint16 m; m 2081 3rdparty/libtiff/tif_ojpeg.c m=len; m 2082 3rdparty/libtiff/tif_ojpeg.c n=m; m 2087 3rdparty/libtiff/tif_ojpeg.c m-=n; m 2088 3rdparty/libtiff/tif_ojpeg.c if (m>0) m 2091 3rdparty/libtiff/tif_ojpeg.c n=m; m 2250 3rdparty/libtiff/tif_ojpeg.c uint8 m; m 2268 3rdparty/libtiff/tif_ojpeg.c for (m=0; m<sp->samples_per_pixel_per_plane; m++) m 2271 3rdparty/libtiff/tif_ojpeg.c sp->out_buffer[10+m*3]=sp->sof_c[sp->plane_sample_offset+m]; m 2273 3rdparty/libtiff/tif_ojpeg.c sp->out_buffer[10+m*3+1]=sp->sof_hv[sp->plane_sample_offset+m]; m 2275 3rdparty/libtiff/tif_ojpeg.c sp->out_buffer[10+m*3+2]=sp->sof_tq[sp->plane_sample_offset+m]; m 2286 3rdparty/libtiff/tif_ojpeg.c uint8 m; m 2296 3rdparty/libtiff/tif_ojpeg.c for (m=0; m<sp->samples_per_pixel_per_plane; m++) m 2299 3rdparty/libtiff/tif_ojpeg.c sp->out_buffer[5+m*2]=sp->sos_cs[sp->plane_sample_offset+m]; m 2301 3rdparty/libtiff/tif_ojpeg.c sp->out_buffer[5+m*2+1]=sp->sos_tda[sp->plane_sample_offset+m]; m 51 3rdparty/libtiff/tif_open.c int m = -1; m 55 3rdparty/libtiff/tif_open.c m = O_RDONLY; m 57 3rdparty/libtiff/tif_open.c m = O_RDWR; m 61 3rdparty/libtiff/tif_open.c m = O_RDWR|O_CREAT; m 63 3rdparty/libtiff/tif_open.c m |= O_TRUNC; m 69 3rdparty/libtiff/tif_open.c return (m); m 87 3rdparty/libtiff/tif_open.c int m; m 116 3rdparty/libtiff/tif_open.c m = _TIFFgetMode(mode, module); m 117 3rdparty/libtiff/tif_open.c if (m == -1) m 127 3rdparty/libtiff/tif_open.c tif->tif_mode = m &~ (O_CREAT|O_TRUNC); m 158 3rdparty/libtiff/tif_open.c if (m == O_RDONLY ) m 162 3rdparty/libtiff/tif_open.c if (m == O_RDONLY || m == O_RDWR) m 222 3rdparty/libtiff/tif_open.c if (m&O_CREAT) m 228 3rdparty/libtiff/tif_open.c if ((m&O_CREAT)) m 245 3rdparty/libtiff/tif_open.c if (m == O_RDONLY) m 249 3rdparty/libtiff/tif_open.c if (m == O_RDONLY) m 253 3rdparty/libtiff/tif_open.c if (m == O_RDONLY) m 257 3rdparty/libtiff/tif_open.c if (m == O_RDONLY) m 264 3rdparty/libtiff/tif_open.c if (m&O_CREAT) m 271 3rdparty/libtiff/tif_open.c if ((m & O_TRUNC) || m 548 3rdparty/libtiff/tif_open.c thandle_t m = tif->tif_clientdata; m 550 3rdparty/libtiff/tif_open.c return m; m 133 3rdparty/libtiff/tif_strip.c uint64 m; m 135 3rdparty/libtiff/tif_strip.c m=TIFFVStripSize64(tif,nrows); m 136 3rdparty/libtiff/tif_strip.c n=(tmsize_t)m; m 137 3rdparty/libtiff/tif_strip.c if ((uint64)n!=m) m 177 3rdparty/libtiff/tif_strip.c uint64 m; m 179 3rdparty/libtiff/tif_strip.c m=TIFFRawStripSize64(tif,strip); m 180 3rdparty/libtiff/tif_strip.c if (m==(uint64)(-1)) m 184 3rdparty/libtiff/tif_strip.c n=(tmsize_t)m; m 185 3rdparty/libtiff/tif_strip.c if ((uint64)n!=m) m 215 3rdparty/libtiff/tif_strip.c uint64 m; m 217 3rdparty/libtiff/tif_strip.c m=TIFFStripSize64(tif); m 218 3rdparty/libtiff/tif_strip.c n=(tmsize_t)m; m 219 3rdparty/libtiff/tif_strip.c if ((uint64)n!=m) m 327 3rdparty/libtiff/tif_strip.c uint64 m; m 329 3rdparty/libtiff/tif_strip.c m=TIFFScanlineSize64(tif); m 330 3rdparty/libtiff/tif_strip.c n=(tmsize_t)m; m 331 3rdparty/libtiff/tif_strip.c if ((uint64)n!=m) m 364 3rdparty/libtiff/tif_strip.c uint64 m; m 366 3rdparty/libtiff/tif_strip.c m=TIFFRasterScanlineSize64(tif); m 367 3rdparty/libtiff/tif_strip.c n=(tmsize_t)m; m 368 3rdparty/libtiff/tif_strip.c if ((uint64)n!=m) m 162 3rdparty/libtiff/tif_tile.c uint64 m; m 164 3rdparty/libtiff/tif_tile.c m=TIFFTileRowSize64(tif); m 165 3rdparty/libtiff/tif_tile.c n=(tmsize_t)m; m 166 3rdparty/libtiff/tif_tile.c if ((uint64)n!=m) m 229 3rdparty/libtiff/tif_tile.c uint64 m; m 231 3rdparty/libtiff/tif_tile.c m=TIFFVTileSize64(tif,nrows); m 232 3rdparty/libtiff/tif_tile.c n=(tmsize_t)m; m 233 3rdparty/libtiff/tif_tile.c if ((uint64)n!=m) m 253 3rdparty/libtiff/tif_tile.c uint64 m; m 255 3rdparty/libtiff/tif_tile.c m=TIFFTileSize64(tif); m 256 3rdparty/libtiff/tif_tile.c n=(tmsize_t)m; m 257 3rdparty/libtiff/tif_tile.c if ((uint64)n!=m) m 175 3rdparty/libtiff/tif_unix.c int m, fd; m 178 3rdparty/libtiff/tif_unix.c m = _TIFFgetMode(mode, module); m 179 3rdparty/libtiff/tif_unix.c if (m == -1) m 184 3rdparty/libtiff/tif_unix.c m |= O_BINARY; m 187 3rdparty/libtiff/tif_unix.c fd = open(name, m, 0666); m 212 3rdparty/libtiff/tif_unix.c int m, fd; m 217 3rdparty/libtiff/tif_unix.c m = _TIFFgetMode(mode, module); m 218 3rdparty/libtiff/tif_unix.c if (m == -1) m 223 3rdparty/libtiff/tif_unix.c m |= O_BINARY; m 226 3rdparty/libtiff/tif_unix.c fd = _wopen(name, m, 0666); m 131 3rdparty/libtiff/tif_win32.c ULARGE_INTEGER m; m 132 3rdparty/libtiff/tif_win32.c m.LowPart=GetFileSize(fd,&m.HighPart); m 133 3rdparty/libtiff/tif_win32.c return(m.QuadPart); m 207 3rdparty/libtiff/tif_win32.c int m; m 209 3rdparty/libtiff/tif_win32.c for (m=0; mode[m]!=0; m++) m 211 3rdparty/libtiff/tif_win32.c if (mode[m]=='u') m 237 3rdparty/libtiff/tif_win32.c int m; m 241 3rdparty/libtiff/tif_win32.c m = _TIFFgetMode(mode, module); m 243 3rdparty/libtiff/tif_win32.c switch(m) { m 253 3rdparty/libtiff/tif_win32.c (m == O_RDONLY)?GENERIC_READ:(GENERIC_READ | GENERIC_WRITE), m 255 3rdparty/libtiff/tif_win32.c (m == O_RDONLY)?FILE_ATTRIBUTE_READONLY:FILE_ATTRIBUTE_NORMAL, m 276 3rdparty/libtiff/tif_win32.c int m; m 282 3rdparty/libtiff/tif_win32.c m = _TIFFgetMode(mode, module); m 284 3rdparty/libtiff/tif_win32.c switch(m) { m 294 3rdparty/libtiff/tif_win32.c (m == O_RDONLY)?GENERIC_READ:(GENERIC_READ|GENERIC_WRITE), m 296 3rdparty/libtiff/tif_win32.c (m == O_RDONLY)?FILE_ATTRIBUTE_READONLY:FILE_ATTRIBUTE_NORMAL, m 642 3rdparty/libtiff/tif_write.c uint64 m; m 685 3rdparty/libtiff/tif_write.c m = tif->tif_curoff+cc; m 687 3rdparty/libtiff/tif_write.c m = (uint32)m; m 688 3rdparty/libtiff/tif_write.c if ((m<tif->tif_curoff)||(m<(uint64)cc)) m 698 3rdparty/libtiff/tif_write.c tif->tif_curoff = m; m 254 3rdparty/libtiff/tiffiop.h #define TIFFSafeMultiply(t,v,m) ((((t)(m) != (t)0) && (((t)(((v)*(m))/(m))) == (t)(v))) ? (t)((v)*(m)) : (t)0) m 94 3rdparty/libwebp/dec/quant.c VP8QuantMatrix* const m = &dec->dqm_[i]; m 95 3rdparty/libwebp/dec/quant.c m->y1_mat_[0] = kDcTable[clip(q + dqy1_dc, 127)]; m 96 3rdparty/libwebp/dec/quant.c m->y1_mat_[1] = kAcTable[clip(q + 0, 127)]; m 98 3rdparty/libwebp/dec/quant.c m->y2_mat_[0] = kDcTable[clip(q + dqy2_dc, 127)] * 2; m 102 3rdparty/libwebp/dec/quant.c m->y2_mat_[1] = (kAcTable[clip(q + dqy2_ac, 127)] * 101581) >> 16; m 103 3rdparty/libwebp/dec/quant.c if (m->y2_mat_[1] < 8) m->y2_mat_[1] = 8; m 105 3rdparty/libwebp/dec/quant.c m->uv_mat_[0] = kDcTable[clip(q + dquv_dc, 117)]; m 106 3rdparty/libwebp/dec/quant.c m->uv_mat_[1] = kAcTable[clip(q + dquv_ac, 127)]; m 432 3rdparty/libwebp/dsp/dec_sse2.c const __m128i m = _mm_andnot_si128(not_hev, *mask); m 433 3rdparty/libwebp/dsp/dec_sse2.c const __m128i f = _mm_and_si128(a, m); m 441 3rdparty/libwebp/dsp/dec_sse2.c const __m128i m = _mm_and_si128(not_hev, *mask); m 442 3rdparty/libwebp/dsp/dec_sse2.c const __m128i f = _mm_and_si128(a, m); m 642 3rdparty/libwebp/dsp/dec_sse2.c #define MAX_DIFF1(p3, p2, p1, p0, m) { \ m 643 3rdparty/libwebp/dsp/dec_sse2.c m = MM_ABS(p3, p2); \ m 644 3rdparty/libwebp/dsp/dec_sse2.c m = _mm_max_epu8(m, MM_ABS(p2, p1)); \ m 645 3rdparty/libwebp/dsp/dec_sse2.c m = _mm_max_epu8(m, MM_ABS(p1, p0)); \ m 648 3rdparty/libwebp/dsp/dec_sse2.c #define MAX_DIFF2(p3, p2, p1, p0, m) { \ m 649 3rdparty/libwebp/dsp/dec_sse2.c m = _mm_max_epu8(m, MM_ABS(p3, p2)); \ m 650 3rdparty/libwebp/dsp/dec_sse2.c m = _mm_max_epu8(m, MM_ABS(p2, p1)); \ m 651 3rdparty/libwebp/dsp/dec_sse2.c m = _mm_max_epu8(m, MM_ABS(p1, p0)); \ m 780 3rdparty/libwebp/dsp/lossless.c static WEBP_INLINE void MultipliersClear(Multipliers* m) { m 781 3rdparty/libwebp/dsp/lossless.c m->green_to_red_ = 0; m 782 3rdparty/libwebp/dsp/lossless.c m->green_to_blue_ = 0; m 783 3rdparty/libwebp/dsp/lossless.c m->red_to_blue_ = 0; m 792 3rdparty/libwebp/dsp/lossless.c Multipliers* const m) { m 793 3rdparty/libwebp/dsp/lossless.c m->green_to_red_ = (color_code >> 0) & 0xff; m 794 3rdparty/libwebp/dsp/lossless.c m->green_to_blue_ = (color_code >> 8) & 0xff; m 795 3rdparty/libwebp/dsp/lossless.c m->red_to_blue_ = (color_code >> 16) & 0xff; m 798 3rdparty/libwebp/dsp/lossless.c static WEBP_INLINE uint32_t MultipliersToColorCode(Multipliers* const m) { m 800 3rdparty/libwebp/dsp/lossless.c ((uint32_t)(m->red_to_blue_) << 16) | m 801 3rdparty/libwebp/dsp/lossless.c ((uint32_t)(m->green_to_blue_) << 8) | m 802 3rdparty/libwebp/dsp/lossless.c m->green_to_red_; m 805 3rdparty/libwebp/dsp/lossless.c static WEBP_INLINE uint32_t TransformColor(const Multipliers* const m, m 813 3rdparty/libwebp/dsp/lossless.c new_red += ColorTransformDelta(m->green_to_red_, green); m 815 3rdparty/libwebp/dsp/lossless.c new_blue += ColorTransformDelta(m->green_to_blue_, green); m 816 3rdparty/libwebp/dsp/lossless.c new_blue += ColorTransformDelta(m->red_to_blue_, new_red); m 819 3rdparty/libwebp/dsp/lossless.c new_red -= ColorTransformDelta(m->green_to_red_, green); m 821 3rdparty/libwebp/dsp/lossless.c new_blue -= ColorTransformDelta(m->green_to_blue_, green); m 822 3rdparty/libwebp/dsp/lossless.c new_blue -= ColorTransformDelta(m->red_to_blue_, red); m 1084 3rdparty/libwebp/dsp/lossless.c Multipliers m = { 0, 0, 0 }; m 1088 3rdparty/libwebp/dsp/lossless.c if ((x & mask) == 0) ColorCodeToMultipliers(*pred++, &m); m 1089 3rdparty/libwebp/dsp/lossless.c data[x] = TransformColor(&m, data[x], 1); m 247 3rdparty/libwebp/dsp/upsampling.c #define PREMULTIPLY(x, m) (((x) * (m)) >> 23) m 250 3rdparty/libwebp/dsp/upsampling.c #define PREMULTIPLY(x, m) (((x) * (m) + (1UL << 23)) >> 24) m 286 3rdparty/libwebp/dsp/upsampling.c static WEBP_INLINE uint8_t multiply(uint8_t x, uint32_t m) { m 287 3rdparty/libwebp/dsp/upsampling.c return (x * m) >> 16; m 75 3rdparty/libwebp/enc/analysis.c static WEBP_INLINE int clip(int v, int m, int M) { m 76 3rdparty/libwebp/enc/analysis.c return (v < m) ? m : (v > M) ? M : v; m 410 3rdparty/libwebp/enc/backward_references.c static int CostModelBuild(CostModel* const m, int xsize, int ysize, m 432 3rdparty/libwebp/enc/backward_references.c VP8LHistogramNumCodes(&histo), histo.literal_, m->literal_); m 434 3rdparty/libwebp/enc/backward_references.c VALUES_IN_BYTE, histo.red_, m->red_); m 436 3rdparty/libwebp/enc/backward_references.c VALUES_IN_BYTE, histo.blue_, m->blue_); m 438 3rdparty/libwebp/enc/backward_references.c VALUES_IN_BYTE, histo.alpha_, m->alpha_); m 440 3rdparty/libwebp/enc/backward_references.c NUM_DISTANCE_CODES, histo.distance_, m->distance_); m 448 3rdparty/libwebp/enc/backward_references.c static WEBP_INLINE double GetLiteralCost(const CostModel* const m, uint32_t v) { m 449 3rdparty/libwebp/enc/backward_references.c return m->alpha_[v >> 24] + m 450 3rdparty/libwebp/enc/backward_references.c m->red_[(v >> 16) & 0xff] + m 451 3rdparty/libwebp/enc/backward_references.c m->literal_[(v >> 8) & 0xff] + m 452 3rdparty/libwebp/enc/backward_references.c m->blue_[v & 0xff]; m 455 3rdparty/libwebp/enc/backward_references.c static WEBP_INLINE double GetCacheCost(const CostModel* const m, uint32_t idx) { m 457 3rdparty/libwebp/enc/backward_references.c return m->literal_[literal_idx]; m 460 3rdparty/libwebp/enc/backward_references.c static WEBP_INLINE double GetLengthCost(const CostModel* const m, m 464 3rdparty/libwebp/enc/backward_references.c return m->literal_[VALUES_IN_BYTE + code] + extra_bits_count; m 467 3rdparty/libwebp/enc/backward_references.c static WEBP_INLINE double GetDistanceCost(const CostModel* const m, m 471 3rdparty/libwebp/enc/backward_references.c return m->distance_[code] + extra_bits_count; m 42 3rdparty/libwebp/enc/quant.c static WEBP_INLINE int clip(int v, int m, int M) { m 43 3rdparty/libwebp/enc/quant.c return v < m ? m : v > M ? M : v; m 143 3rdparty/libwebp/enc/quant.c static int ExpandMatrix(VP8Matrix* const m, int type) { m 147 3rdparty/libwebp/enc/quant.c m->q_[i] = m->q_[1]; m 152 3rdparty/libwebp/enc/quant.c m->iq_[j] = (1 << QFIX) / m->q_[j]; m 153 3rdparty/libwebp/enc/quant.c m->bias_[j] = BIAS(bias); m 155 3rdparty/libwebp/enc/quant.c m->zthresh_[j] = ((256 /*+ kCoeffThresh[j]*/ - bias) * m->q_[j] + 127) >> 8; m 156 3rdparty/libwebp/enc/quant.c m->sharpen_[j] = (kFreqSharpening[j] * m->q_[j]) >> 11; m 157 3rdparty/libwebp/enc/quant.c sum += m->q_[j]; m 169 3rdparty/libwebp/enc/quant.c VP8SegmentInfo* const m = &enc->dqm_[i]; m 170 3rdparty/libwebp/enc/quant.c const int q = m->quant_; m 172 3rdparty/libwebp/enc/quant.c m->y1_.q_[0] = kDcTable[clip(q + enc->dq_y1_dc_, 0, 127)]; m 173 3rdparty/libwebp/enc/quant.c m->y1_.q_[1] = kAcTable[clip(q, 0, 127)]; m 175 3rdparty/libwebp/enc/quant.c m->y2_.q_[0] = kDcTable[ clip(q + enc->dq_y2_dc_, 0, 127)] * 2; m 176 3rdparty/libwebp/enc/quant.c m->y2_.q_[1] = kAcTable2[clip(q + enc->dq_y2_ac_, 0, 127)]; m 178 3rdparty/libwebp/enc/quant.c m->uv_.q_[0] = kDcTable[clip(q + enc->dq_uv_dc_, 0, 117)]; m 179 3rdparty/libwebp/enc/quant.c m->uv_.q_[1] = kAcTable[clip(q + enc->dq_uv_ac_, 0, 127)]; m 181 3rdparty/libwebp/enc/quant.c q4 = ExpandMatrix(&m->y1_, 0); m 182 3rdparty/libwebp/enc/quant.c q16 = ExpandMatrix(&m->y2_, 1); m 183 3rdparty/libwebp/enc/quant.c quv = ExpandMatrix(&m->uv_, 2); m 187 3rdparty/libwebp/enc/quant.c m->lambda_i4_ = (3 * q4 * q4) >> 7; m 188 3rdparty/libwebp/enc/quant.c m->lambda_i16_ = (3 * q16 * q16); m 189 3rdparty/libwebp/enc/quant.c m->lambda_uv_ = (3 * quv * quv) >> 6; m 190 3rdparty/libwebp/enc/quant.c m->lambda_mode_ = (1 * q4 * q4) >> 7; m 191 3rdparty/libwebp/enc/quant.c m->lambda_trellis_i4_ = (7 * q4 * q4) >> 3; m 192 3rdparty/libwebp/enc/quant.c m->lambda_trellis_i16_ = (q16 * q16) >> 2; m 193 3rdparty/libwebp/enc/quant.c m->lambda_trellis_uv_ = (quv *quv) << 1; m 194 3rdparty/libwebp/enc/quant.c m->tlambda_ = (tlambda_scale * q4) >> 5; m 500 3rdparty/libwebp/enc/quant.c int n, m, p, nz; m 526 3rdparty/libwebp/enc/quant.c for (m = -MIN_DELTA; m <= MAX_DELTA; ++m) { m 527 3rdparty/libwebp/enc/quant.c NODE(n, m).cost = 0; m 528 3rdparty/libwebp/enc/quant.c NODE(n, m).error = max_error; m 529 3rdparty/libwebp/enc/quant.c NODE(n, m).ctx = ctx0; m 548 3rdparty/libwebp/enc/quant.c for (m = -MIN_DELTA; m <= MAX_DELTA; ++m) { m 549 3rdparty/libwebp/enc/quant.c Node* const cur = &NODE(n, m); m 552 3rdparty/libwebp/enc/quant.c int level = level0 + m; m 606 3rdparty/libwebp/enc/quant.c best_path[1] = m; // best level m 100 3rdparty/openexr/Half/half.cpp register int m = i & 0x007fffff; m 132 3rdparty/openexr/Half/half.cpp m = m | 0x00800000; m 146 3rdparty/openexr/Half/half.cpp int b = (m >> t) & 1; m 148 3rdparty/openexr/Half/half.cpp m = (m + a + b) >> t; m 154 3rdparty/openexr/Half/half.cpp return s | m; m 158 3rdparty/openexr/Half/half.cpp if (m == 0) m 178 3rdparty/openexr/Half/half.cpp m >>= 13; m 179 3rdparty/openexr/Half/half.cpp return s | 0x7c00 | m | (m == 0); m 194 3rdparty/openexr/Half/half.cpp m = m + 0x00000fff + ((m >> 13) & 1); m 196 3rdparty/openexr/Half/half.cpp if (m & 0x00800000) m 198 3rdparty/openexr/Half/half.cpp m = 0; // overflow in significand, m 216 3rdparty/openexr/Half/half.cpp return s | (e << 10) | (m >> 13); m 482 3rdparty/openexr/Half/half.h register int m = x.i & 0x007fffff; m 483 3rdparty/openexr/Half/half.h _h = e + ((m + 0x00000fff + ((m >> 13) & 1)) >> 13); m 680 3rdparty/openexr/Half/half.h unsigned short m = _h & 0x3ff; m 681 3rdparty/openexr/Half/half.h return e == 0 && m != 0; m 696 3rdparty/openexr/Half/half.h unsigned short m = _h & 0x3ff; m 697 3rdparty/openexr/Half/half.h return e == 31 && m != 0; m 705 3rdparty/openexr/Half/half.h unsigned short m = _h & 0x3ff; m 706 3rdparty/openexr/Half/half.h return e == 31 && m == 0; m 67 3rdparty/openexr/Half/toFloat.cpp int m = y & 0x000003ff; m 71 3rdparty/openexr/Half/toFloat.cpp if (m == 0) m 85 3rdparty/openexr/Half/toFloat.cpp while (!(m & 0x00000400)) m 87 3rdparty/openexr/Half/toFloat.cpp m <<= 1; m 92 3rdparty/openexr/Half/toFloat.cpp m &= ~0x00000400; m 97 3rdparty/openexr/Half/toFloat.cpp if (m == 0) m 111 3rdparty/openexr/Half/toFloat.cpp return (s << 31) | 0x7f800000 | (m << 13); m 120 3rdparty/openexr/Half/toFloat.cpp m = m << 13; m 126 3rdparty/openexr/Half/toFloat.cpp return (s << 31) | (e << 23) | m; m 818 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp const float m[3][3]) m 822 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp M33f m3 (m); m 842 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp float m[3][3]) m 849 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[0][0] = m3[0][0]; m 850 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[0][1] = m3[0][1]; m 851 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[0][2] = m3[0][2]; m 853 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[1][0] = m3[1][0]; m 854 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[1][1] = m3[1][1]; m 855 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[1][2] = m3[1][2]; m 857 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[2][0] = m3[2][0]; m 858 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[2][1] = m3[2][1]; m 859 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[2][2] = m3[2][2]; m 874 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp const float m[4][4]) m 878 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp M44f m4 (m); m 898 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp float m[4][4]) m 905 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[0][0] = m4[0][0]; m 906 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[0][1] = m4[0][1]; m 907 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[0][2] = m4[0][2]; m 908 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[0][3] = m4[0][3]; m 910 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[1][0] = m4[1][0]; m 911 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[1][1] = m4[1][1]; m 912 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[1][2] = m4[1][2]; m 913 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[1][3] = m4[1][3]; m 915 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[2][0] = m4[2][0]; m 916 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[2][1] = m4[2][1]; m 917 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[2][2] = m4[2][2]; m 918 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[2][3] = m4[2][3]; m 920 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[3][0] = m4[3][0]; m 921 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[3][1] = m4[3][1]; m 922 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[3][2] = m4[3][2]; m 923 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp m[3][3] = m4[3][3]; m 288 3rdparty/openexr/IlmImf/ImfCRgbaFile.h const float m[3][3]); m 292 3rdparty/openexr/IlmImf/ImfCRgbaFile.h float m[3][3]); m 296 3rdparty/openexr/IlmImf/ImfCRgbaFile.h const float m[4][4]); m 300 3rdparty/openexr/IlmImf/ImfCRgbaFile.h float m[4][4]); m 376 3rdparty/openexr/IlmImf/ImfHuf.cpp int m = fHeap[0] - frq; m 379 3rdparty/openexr/IlmImf/ImfHuf.cpp frq[m ] += frq[mm]; m 401 3rdparty/openexr/IlmImf/ImfHuf.cpp for (int j = m; true; j = hlink[j]) m 108 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp unsigned int m = u.i & 0x007fffff; m 113 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp if (m) m 124 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp m >>= 8; m 125 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp i = (e >> 8) | m | (m == 0); m 142 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp i = ((e | m) + (m & 0x00000080)) >> 8; m 153 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp i = (e | m) >> 8; m 59 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp M44f m = RGBtoXYZ (cr, 1); m 60 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp return V3f (m[0][1], m[1][1], m[2][1]) / (m[0][1] + m[1][1] + m[2][1]); m 78 3rdparty/openexr/IlmImf/ImfTileDescription.h LevelMode m = ONE_LEVEL, m 83 3rdparty/openexr/IlmImf/ImfTileDescription.h mode (m), m 111 3rdparty/openexr/IlmImf/ImfWav.cpp int m = ((ao + b) >> 1); m 115 3rdparty/openexr/IlmImf/ImfWav.cpp m = (m + M_OFFSET) & MOD_MASK; m 119 3rdparty/openexr/IlmImf/ImfWav.cpp l = m; m 128 3rdparty/openexr/IlmImf/ImfWav.cpp int m = l; m 130 3rdparty/openexr/IlmImf/ImfWav.cpp int bb = (m - (d >> 1)) & MOD_MASK; m 115 3rdparty/openexr/IlmThread/IlmThreadMutex.h Lock (const Mutex& m, bool autoLock = true): m 116 3rdparty/openexr/IlmThread/IlmThreadMutex.h _mutex (m), m 164 3rdparty/openexr/Imath/ImathBoxAlgo.h transform (const Box< Vec3<S> > &box, const Matrix44<T> &m) m 188 3rdparty/openexr/Imath/ImathBoxAlgo.h if (m[0][3] == 0 && m[1][3] == 0 && m[2][3] == 0 && m[3][3] == 1) m 194 3rdparty/openexr/Imath/ImathBoxAlgo.h newBox.min[i] = newBox.max[i] = (S) m[3][i]; m 200 3rdparty/openexr/Imath/ImathBoxAlgo.h a = (S) m[j][i] * box.min[j]; m 201 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; m 239 3rdparty/openexr/Imath/ImathBoxAlgo.h newBox.extendBy (points[i] * m); m 247 3rdparty/openexr/Imath/ImathBoxAlgo.h const Matrix44<T> &m, m 274 3rdparty/openexr/Imath/ImathBoxAlgo.h if (m[0][3] == 0 && m[1][3] == 0 && m[2][3] == 0 && m[3][3] == 1) m 278 3rdparty/openexr/Imath/ImathBoxAlgo.h result.min[i] = result.max[i] = (S) m[3][i]; m 284 3rdparty/openexr/Imath/ImathBoxAlgo.h a = (S) m[j][i] * box.min[j]; m 285 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; m 321 3rdparty/openexr/Imath/ImathBoxAlgo.h result.extendBy (points[i] * m); m 327 3rdparty/openexr/Imath/ImathBoxAlgo.h affineTransform (const Box< Vec3<S> > &box, const Matrix44<T> &m) m 351 3rdparty/openexr/Imath/ImathBoxAlgo.h newBox.min[i] = newBox.max[i] = (S) m[3][i]; m 357 3rdparty/openexr/Imath/ImathBoxAlgo.h a = (S) m[j][i] * box.min[j]; m 358 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; m 379 3rdparty/openexr/Imath/ImathBoxAlgo.h const Matrix44<T> &m, m 411 3rdparty/openexr/Imath/ImathBoxAlgo.h result.min[i] = result.max[i] = (S) m[3][i]; m 417 3rdparty/openexr/Imath/ImathBoxAlgo.h a = (S) m[j][i] * box.min[j]; m 418 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; m 364 3rdparty/openexr/Imath/ImathEuler.h int m[3]; m 366 3rdparty/openexr/Imath/ImathEuler.h m[_initialAxis] = 0; m 367 3rdparty/openexr/Imath/ImathEuler.h m[(_initialAxis+1) % 3] = _parityEven ? 1 : 2; m 368 3rdparty/openexr/Imath/ImathEuler.h m[(_initialAxis+2) % 3] = _parityEven ? 2 : 1; m 369 3rdparty/openexr/Imath/ImathEuler.h i = m[0]; m 370 3rdparty/openexr/Imath/ImathEuler.h j = m[1]; m 371 3rdparty/openexr/Imath/ImathEuler.h k = m[2]; m 85 3rdparty/openexr/Imath/ImathFun.h lerpfactor(T m, T a, T b) m 98 3rdparty/openexr/Imath/ImathFun.h T n = m - a; m 79 3rdparty/openexr/Imath/ImathGL.h throwBadMatrix (const Imath::M44f& m) m 81 3rdparty/openexr/Imath/ImathGL.h if (badFloat (m[0][0]) || m 82 3rdparty/openexr/Imath/ImathGL.h badFloat (m[0][1]) || m 83 3rdparty/openexr/Imath/ImathGL.h badFloat (m[0][2]) || m 84 3rdparty/openexr/Imath/ImathGL.h badFloat (m[0][3]) || m 85 3rdparty/openexr/Imath/ImathGL.h badFloat (m[1][0]) || m 86 3rdparty/openexr/Imath/ImathGL.h badFloat (m[1][1]) || m 87 3rdparty/openexr/Imath/ImathGL.h badFloat (m[1][2]) || m 88 3rdparty/openexr/Imath/ImathGL.h badFloat (m[1][3]) || m 89 3rdparty/openexr/Imath/ImathGL.h badFloat (m[2][0]) || m 90 3rdparty/openexr/Imath/ImathGL.h badFloat (m[2][1]) || m 91 3rdparty/openexr/Imath/ImathGL.h badFloat (m[2][2]) || m 92 3rdparty/openexr/Imath/ImathGL.h badFloat (m[2][3]) || m 93 3rdparty/openexr/Imath/ImathGL.h badFloat (m[3][0]) || m 94 3rdparty/openexr/Imath/ImathGL.h badFloat (m[3][1]) || m 95 3rdparty/openexr/Imath/ImathGL.h badFloat (m[3][2]) || m 96 3rdparty/openexr/Imath/ImathGL.h badFloat (m[3][3])) m 101 3rdparty/openexr/Imath/ImathGL.h glMultMatrix( const Imath::M44f& m ) m 103 3rdparty/openexr/Imath/ImathGL.h throwBadMatrix (m); m 104 3rdparty/openexr/Imath/ImathGL.h glMultMatrixf( (GLfloat*)m[0] ); m 108 3rdparty/openexr/Imath/ImathGL.h glMultMatrix( const Imath::M44f* m ) m 110 3rdparty/openexr/Imath/ImathGL.h throwBadMatrix (*m); m 111 3rdparty/openexr/Imath/ImathGL.h glMultMatrixf( (GLfloat*)(*m)[0] ); m 115 3rdparty/openexr/Imath/ImathGL.h glLoadMatrix( const Imath::M44f& m ) m 117 3rdparty/openexr/Imath/ImathGL.h throwBadMatrix (m); m 118 3rdparty/openexr/Imath/ImathGL.h glLoadMatrixf( (GLfloat*)m[0] ); m 122 3rdparty/openexr/Imath/ImathGL.h glLoadMatrix( const Imath::M44f* m ) m 124 3rdparty/openexr/Imath/ImathGL.h throwBadMatrix (*m); m 125 3rdparty/openexr/Imath/ImathGL.h glLoadMatrixf( (GLfloat*)(*m)[0] ); m 467 3rdparty/openexr/Imath/ImathMatrix.h T i, T j, T k, T l, T m, T n, T o, T p); m 832 3rdparty/openexr/Imath/ImathMatrix.h std::ostream & operator << (std::ostream & s, const Matrix33<T> &m); m 835 3rdparty/openexr/Imath/ImathMatrix.h std::ostream & operator << (std::ostream & s, const Matrix44<T> &m); m 843 3rdparty/openexr/Imath/ImathMatrix.h const Vec2<S> & operator *= (Vec2<S> &v, const Matrix33<T> &m); m 846 3rdparty/openexr/Imath/ImathMatrix.h Vec2<S> operator * (const Vec2<S> &v, const Matrix33<T> &m); m 849 3rdparty/openexr/Imath/ImathMatrix.h const Vec3<S> & operator *= (Vec3<S> &v, const Matrix33<T> &m); m 852 3rdparty/openexr/Imath/ImathMatrix.h Vec3<S> operator * (const Vec3<S> &v, const Matrix33<T> &m); m 855 3rdparty/openexr/Imath/ImathMatrix.h const Vec3<S> & operator *= (Vec3<S> &v, const Matrix44<T> &m); m 858 3rdparty/openexr/Imath/ImathMatrix.h Vec3<S> operator * (const Vec3<S> &v, const Matrix44<T> &m); m 861 3rdparty/openexr/Imath/ImathMatrix.h const Vec4<S> & operator *= (Vec4<S> &v, const Matrix44<T> &m); m 864 3rdparty/openexr/Imath/ImathMatrix.h Vec4<S> operator * (const Vec4<S> &v, const Matrix44<T> &m); m 1117 3rdparty/openexr/Imath/ImathMatrix.h Matrix33<T>::equalWithAbsError (const Matrix33<T> &m, T e) const m 1121 3rdparty/openexr/Imath/ImathMatrix.h if (!Imath::equalWithAbsError ((*this)[i][j], m[i][j], e)) m 1129 3rdparty/openexr/Imath/ImathMatrix.h Matrix33<T>::equalWithRelError (const Matrix33<T> &m, T e) const m 1133 3rdparty/openexr/Imath/ImathMatrix.h if (!Imath::equalWithRelError ((*this)[i][j], m[i][j], e)) m 1942 3rdparty/openexr/Imath/ImathMatrix.h T i, T j, T k, T l, T m, T n, T o, T p) m 1956 3rdparty/openexr/Imath/ImathMatrix.h x[3][0] = m; m 2241 3rdparty/openexr/Imath/ImathMatrix.h Matrix44<T>::equalWithAbsError (const Matrix44<T> &m, T e) const m 2245 3rdparty/openexr/Imath/ImathMatrix.h if (!Imath::equalWithAbsError ((*this)[i][j], m[i][j], e)) m 2253 3rdparty/openexr/Imath/ImathMatrix.h Matrix44<T>::equalWithRelError (const Matrix44<T> &m, T e) const m 2257 3rdparty/openexr/Imath/ImathMatrix.h if (!Imath::equalWithRelError ((*this)[i][j], m[i][j], e)) m 3246 3rdparty/openexr/Imath/ImathMatrix.h operator << (std::ostream &s, const Matrix33<T> &m) m 3263 3rdparty/openexr/Imath/ImathMatrix.h s << "(" << std::setw (width) << m[0][0] << m 3264 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][1] << m 3265 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][2] << "\n" << m 3267 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][0] << m 3268 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][1] << m 3269 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][2] << "\n" << m 3271 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][0] << m 3272 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][1] << m 3273 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][2] << ")\n"; m 3281 3rdparty/openexr/Imath/ImathMatrix.h operator << (std::ostream &s, const Matrix44<T> &m) m 3298 3rdparty/openexr/Imath/ImathMatrix.h s << "(" << std::setw (width) << m[0][0] << m 3299 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][1] << m 3300 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][2] << m 3301 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][3] << "\n" << m 3303 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][0] << m 3304 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][1] << m 3305 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][2] << m 3306 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][3] << "\n" << m 3308 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][0] << m 3309 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][1] << m 3310 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][2] << m 3311 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][3] << "\n" << m 3313 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][0] << m 3314 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][1] << m 3315 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][2] << m 3316 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][3] << ")\n"; m 3329 3rdparty/openexr/Imath/ImathMatrix.h operator *= (Vec2<S> &v, const Matrix33<T> &m) m 3331 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + m[2][0]); m 3332 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + m[2][1]); m 3333 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][2] + v.y * m[1][2] + m[2][2]); m 3343 3rdparty/openexr/Imath/ImathMatrix.h operator * (const Vec2<S> &v, const Matrix33<T> &m) m 3345 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + m[2][0]); m 3346 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + m[2][1]); m 3347 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][2] + v.y * m[1][2] + m[2][2]); m 3355 3rdparty/openexr/Imath/ImathMatrix.h operator *= (Vec3<S> &v, const Matrix33<T> &m) m 3357 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0]); m 3358 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1]); m 3359 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2]); m 3370 3rdparty/openexr/Imath/ImathMatrix.h operator * (const Vec3<S> &v, const Matrix33<T> &m) m 3372 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0]); m 3373 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1]); m 3374 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2]); m 3382 3rdparty/openexr/Imath/ImathMatrix.h operator *= (Vec3<S> &v, const Matrix44<T> &m) m 3384 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0] + m[3][0]); m 3385 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1] + m[3][1]); m 3386 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2] + m[3][2]); m 3387 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][3] + v.y * m[1][3] + v.z * m[2][3] + m[3][3]); m 3398 3rdparty/openexr/Imath/ImathMatrix.h operator * (const Vec3<S> &v, const Matrix44<T> &m) m 3400 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0] + m[3][0]); m 3401 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1] + m[3][1]); m 3402 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2] + m[3][2]); m 3403 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][3] + v.y * m[1][3] + v.z * m[2][3] + m[3][3]); m 3411 3rdparty/openexr/Imath/ImathMatrix.h operator *= (Vec4<S> &v, const Matrix44<T> &m) m 3413 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0] + v.w * m[3][0]); m 3414 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1] + v.w * m[3][1]); m 3415 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2] + v.w * m[3][2]); m 3416 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][3] + v.y * m[1][3] + v.z * m[2][3] + v.w * m[3][3]); m 3428 3rdparty/openexr/Imath/ImathMatrix.h operator * (const Vec4<S> &v, const Matrix44<T> &m) m 3430 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0] + v.w * m[3][0]); m 3431 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1] + v.w * m[3][1]); m 3432 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2] + v.w * m[3][2]); m 3433 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][3] + v.y * m[1][3] + v.z * m[2][3] + v.w * m[3][3]); m 1361 3rdparty/openexr/Imath/ImathVec.h T m = baseTypeMax() * absW; m 1363 3rdparty/openexr/Imath/ImathVec.h if (vx <= -m || vx >= m || vy <= -m || vy >= m || vz <= -m || vz >= m) m 1393 3rdparty/zlib/deflate.c register unsigned n, m; m 1435 3rdparty/zlib/deflate.c m = *--p; m 1436 3rdparty/zlib/deflate.c *p = (Pos)(m >= wsize ? m-wsize : NIL); m 1443 3rdparty/zlib/deflate.c m = *--p; m 1444 3rdparty/zlib/deflate.c *p = (Pos)(m >= wsize ? m-wsize : NIL); m 443 3rdparty/zlib/trees.c #define smaller(tree, n, m, depth) \ m 444 3rdparty/zlib/trees.c (tree[n].Freq < tree[m].Freq || \ m 445 3rdparty/zlib/trees.c (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m])) m 499 3rdparty/zlib/trees.c int n, m; /* iterate over the tree elements */ m 554 3rdparty/zlib/trees.c m = s->heap[--h]; m 555 3rdparty/zlib/trees.c if (m > max_code) continue; m 556 3rdparty/zlib/trees.c if ((unsigned) tree[m].Len != (unsigned) bits) { m 557 3rdparty/zlib/trees.c Trace((stderr,"code %d bits %d->%d\n", m, tree[m].Len, bits)); m 558 3rdparty/zlib/trees.c s->opt_len += ((long)bits - (long)tree[m].Len) m 559 3rdparty/zlib/trees.c *(long)tree[m].Freq; m 560 3rdparty/zlib/trees.c tree[m].Len = (ush)bits; m 624 3rdparty/zlib/trees.c int n, m; /* iterate over heap elements */ m 668 3rdparty/zlib/trees.c m = s->heap[SMALLEST]; /* m = node of next least frequency */ m 671 3rdparty/zlib/trees.c s->heap[--(s->heap_max)] = m; m 674 3rdparty/zlib/trees.c tree[node].Freq = tree[n].Freq + tree[m].Freq; m 675 3rdparty/zlib/trees.c s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? m 676 3rdparty/zlib/trees.c s->depth[n] : s->depth[m]) + 1); m 677 3rdparty/zlib/trees.c tree[n].Dad = tree[m].Dad = (ush)node; m 681 3rdparty/zlib/trees.c node, tree[node].Freq, n, tree[n].Freq, m, tree[m].Freq); m 125 3rdparty/zlib/zutil.c void ZLIB_INTERNAL z_error (m) m 126 3rdparty/zlib/zutil.c char *m; m 128 3rdparty/zlib/zutil.c fprintf(stderr, "%s\n", m); m 222 3rdparty/zlib/zutil.h extern void ZLIB_INTERNAL z_error OF((char *m)); m 810 apps/traincascade/old_ml_boost.cpp int m = data->get_num_classes(); m 812 apps/traincascade/old_ml_boost.cpp for( int k = 0; k < m; k++ ) m 1695 apps/traincascade/old_ml_boost.cpp uchar m = src_mask ? src_mask[idx_abs*mstep] : (uchar)0; m 1702 apps/traincascade/old_ml_boost.cpp if ( (ival != val) && (!m) ) m 1719 apps/traincascade/old_ml_boost.cpp m = 1; m 1729 apps/traincascade/old_ml_boost.cpp dst_mask[i] = m; m 1771 apps/traincascade/old_ml_boost.cpp const uchar* m = !missing.empty() ? missing.ptr<uchar>() : 0; m 1790 apps/traincascade/old_ml_boost.cpp if( m && m[vi] ) m 87 apps/traincascade/old_ml_precomp.hpp #define ICV_RAWDATA( mat, flags, rdata, sstep, cstep, m, n ) \ m 93 apps/traincascade/old_ml_precomp.hpp (m) = (mat).rows; \ m 101 apps/traincascade/old_ml_precomp.hpp (m) = (mat).cols; \ m 136 apps/traincascade/old_ml_precomp.hpp int m, n; \ m 140 apps/traincascade/old_ml_precomp.hpp sistep = cistep = k = l = m = n = 0; m 149 apps/traincascade/old_ml_precomp.hpp ICV_RAWDATA( *(param), (flags), data, sstep, cstep, m, n ); \ m 151 apps/traincascade/old_ml_precomp.hpp l = m; \ m 162 apps/traincascade/old_ml_precomp.hpp if( m != ncl ) \ m 184 apps/traincascade/old_ml_precomp.hpp if( mm != m || mn != n ) \ m 216 apps/traincascade/old_ml_precomp.hpp if( l > m ) \ m 648 apps/traincascade/old_ml_tree.cpp int m = get_num_classes(); m 650 apps/traincascade/old_ml_tree.cpp CV_CALL( priors = cvCreateMat( 1, m, CV_64F )); m 651 apps/traincascade/old_ml_tree.cpp for( i = 0; i < m; i++ ) m 665 apps/traincascade/old_ml_tree.cpp CV_CALL( counts = cvCreateMat( 1, m, CV_32SC1 )); m 945 apps/traincascade/old_ml_tree.cpp uchar* m = missing ? missing + vi : 0; m 953 apps/traincascade/old_ml_tree.cpp if( m ) m 955 apps/traincascade/old_ml_tree.cpp *m = (!is_buf_16u && val < 0) || (is_buf_16u && (val == 65535)); m 956 apps/traincascade/old_ml_tree.cpp m += var_count; m 963 apps/traincascade/old_ml_tree.cpp uchar* m = missing ? missing + vi : 0; m 989 apps/traincascade/old_ml_tree.cpp if( m ) m 990 apps/traincascade/old_ml_tree.cpp m[cur_ofs] = 0; m 1699 apps/traincascade/old_ml_tree.cpp int nz = 0, m = data->get_num_classes(); m 1700 apps/traincascade/old_ml_tree.cpp for( i = 0; i < m; i++ ) m 1979 apps/traincascade/old_ml_tree.cpp int m = data->get_num_classes(); m 1981 apps/traincascade/old_ml_tree.cpp int base_size = 2*m*sizeof(int); m 1999 apps/traincascade/old_ml_tree.cpp int* rc = lc + m; m 2005 apps/traincascade/old_ml_tree.cpp for( i = 0; i < m; i++ ) m 2021 apps/traincascade/old_ml_tree.cpp for( i = 0; i < m; i++ ) m 2048 apps/traincascade/old_ml_tree.cpp for( i = 0; i < m; i++ ) m 2092 apps/traincascade/old_ml_tree.cpp void CvDTree::cluster_categories( const int* vectors, int n, int m, m 2107 apps/traincascade/old_ml_tree.cpp const int* v = vectors + i*m; m 2111 apps/traincascade/old_ml_tree.cpp for( j = 0; j < m; j++ ) m 2128 apps/traincascade/old_ml_tree.cpp for( j = 0; j < m; j++ ) m 2129 apps/traincascade/old_ml_tree.cpp csums[i*m + j] = 0; m 2134 apps/traincascade/old_ml_tree.cpp const int* v = vectors + i*m; m 2135 apps/traincascade/old_ml_tree.cpp int* s = csums + labels[i]*m; m 2136 apps/traincascade/old_ml_tree.cpp for( j = 0; j < m; j++ ) m 2149 apps/traincascade/old_ml_tree.cpp const int* s = csums + i*m; m 2151 apps/traincascade/old_ml_tree.cpp for( j = 0; j < m; j++ ) m 2159 apps/traincascade/old_ml_tree.cpp const int* v = vectors + i*m; m 2166 apps/traincascade/old_ml_tree.cpp const int* s = csums + idx*m; m 2168 apps/traincascade/old_ml_tree.cpp for( j = 0; j < m; j++ ) m 2193 apps/traincascade/old_ml_tree.cpp int m = data->get_num_classes(); m 2196 apps/traincascade/old_ml_tree.cpp int base_size = m*(3 + mi)*sizeof(int) + (mi+1)*sizeof(double); m 2197 apps/traincascade/old_ml_tree.cpp if( m > 2 && mi > data->params.max_categories ) m 2198 apps/traincascade/old_ml_tree.cpp base_size += (m*std::min(data->params.max_categories, n) + mi)*sizeof(int); m 2208 apps/traincascade/old_ml_tree.cpp int* rc = lc + m; m 2209 apps/traincascade/old_ml_tree.cpp int* _cjk = rc + m*2, *cjk = _cjk; m 2210 apps/traincascade/old_ml_tree.cpp double* c_weights = (double*)alignPtr(cjk + m*mi, sizeof(double)); m 2228 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2229 apps/traincascade/old_ml_tree.cpp cjk[j*m + k] = 0; m 2235 apps/traincascade/old_ml_tree.cpp cjk[j*m + k]++; m 2238 apps/traincascade/old_ml_tree.cpp if( m > 2 ) m 2244 apps/traincascade/old_ml_tree.cpp cluster_labels = cjk + m*mi; m 2245 apps/traincascade/old_ml_tree.cpp cluster_categories( _cjk, _mi, m, cjk, mi, cluster_labels ); m 2252 apps/traincascade/old_ml_tree.cpp assert( m == 2 ); m 2261 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2265 apps/traincascade/old_ml_tree.cpp sum += cjk[j*m + k]; m 2273 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2274 apps/traincascade/old_ml_tree.cpp sum += cjk[j*m + k]*priors[k]; m 2285 apps/traincascade/old_ml_tree.cpp if( m == 2 ) m 2301 apps/traincascade/old_ml_tree.cpp crow = cjk + idx*m; m 2308 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2323 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2355 apps/traincascade/old_ml_tree.cpp if( m == 2 ) m 2756 apps/traincascade/old_ml_tree.cpp int m = data->get_num_classes(); m 2758 apps/traincascade/old_ml_tree.cpp int base_size = data->is_classifier ? m*cv_n*sizeof(int) : 2*cv_n*sizeof(double)+cv_n*sizeof(int); m 2786 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2797 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2798 apps/traincascade/old_ml_tree.cpp cv_cls_count[j*m + k] = 0; m 2803 apps/traincascade/old_ml_tree.cpp cv_cls_count[j*m + k]++; m 2807 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2808 apps/traincascade/old_ml_tree.cpp cls_count[k] += cv_cls_count[j*m + k]; m 2815 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2822 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2826 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2847 apps/traincascade/old_ml_tree.cpp for( k = 0; k < m; k++ ) m 2850 apps/traincascade/old_ml_tree.cpp double val_k = cv_cls_count[j*m + k]*w; m 3624 apps/traincascade/old_ml_tree.cpp const uchar* m = 0; m 3655 apps/traincascade/old_ml_tree.cpp m = _missing->data.ptr; m 3656 apps/traincascade/old_ml_tree.cpp mstep = CV_IS_MAT_CONT(_missing->type) ? 1 : _missing->step/sizeof(m[0]); m 3674 apps/traincascade/old_ml_tree.cpp if( m && m[(size_t)i*mstep] ) m 544 modules/calib3d/src/calibration.cpp CvPoint2D64f* m; m 597 modules/calib3d/src/calibration.cpp m = (CvPoint2D64f*)_m->data.db; m 772 modules/calib3d/src/calibration.cpp m[i].x = xd*fx + cx; m 773 modules/calib3d/src/calibration.cpp m[i].y = yd*fy + cy; m 629 modules/calib3d/src/dls.cpp cv::Mat m = cv::Mat::zeros(3, 1, CV_64F); m 630 modules/calib3d/src/dls.cpp for (int i = 0; i < M.cols; ++i) m += M.col(i); m 631 modules/calib3d/src/dls.cpp return m.mul(1./(double)M.cols); m 103 modules/calib3d/src/dls.h _Tp *alloc_1d(int m) { m 104 modules/calib3d/src/dls.h return new _Tp[m]; m 109 modules/calib3d/src/dls.h _Tp *alloc_1d(int m, _Tp val) { m 110 modules/calib3d/src/dls.h _Tp *arr = alloc_1d<_Tp> (m); m 111 modules/calib3d/src/dls.h for (int i = 0; i < m; i++) m 118 modules/calib3d/src/dls.h _Tp **alloc_2d(int m, int _n) { m 119 modules/calib3d/src/dls.h _Tp **arr = new _Tp*[m]; m 120 modules/calib3d/src/dls.h for (int i = 0; i < m; i++) m 127 modules/calib3d/src/dls.h _Tp **alloc_2d(int m, int _n, _Tp val) { m 128 modules/calib3d/src/dls.h _Tp **arr = alloc_2d<_Tp> (m, _n); m 129 modules/calib3d/src/dls.h for (int i = 0; i < m; i++) { m 327 modules/calib3d/src/dls.h int m = n1 - 2; m 328 modules/calib3d/src/dls.h while (m >= l) { m 329 modules/calib3d/src/dls.h z = H[m][m]; m 332 modules/calib3d/src/dls.h p = (r * s - w) / H[m + 1][m] + H[m][m + 1]; m 333 modules/calib3d/src/dls.h q = H[m + 1][m + 1] - z - r - s; m 334 modules/calib3d/src/dls.h r = H[m + 2][m + 1]; m 339 modules/calib3d/src/dls.h if (m == l) { m 342 modules/calib3d/src/dls.h if (std::abs(H[m][m - 1]) * (std::abs(q) + std::abs(r)) < eps * (std::abs(p) m 343 modules/calib3d/src/dls.h * (std::abs(H[m - 1][m - 1]) + std::abs(z) + std::abs( m 344 modules/calib3d/src/dls.h H[m + 1][m + 1])))) { m 347 modules/calib3d/src/dls.h m--; m 350 modules/calib3d/src/dls.h for (int i = m + 2; i <= n1; i++) { m 352 modules/calib3d/src/dls.h if (i > m + 2) { m 359 modules/calib3d/src/dls.h for (int k = m; k <= n1 - 1; k++) { m 361 modules/calib3d/src/dls.h if (k != m) { m 380 modules/calib3d/src/dls.h if (k != m) { m 382 modules/calib3d/src/dls.h } else if (l != m) { m 601 modules/calib3d/src/dls.h for (int m = low + 1; m <= high - 1; m++) { m 606 modules/calib3d/src/dls.h for (int i = m; i <= high; i++) { m 607 modules/calib3d/src/dls.h scale = scale + std::abs(H[i][m - 1]); m 614 modules/calib3d/src/dls.h for (int i = high; i >= m; i--) { m 615 modules/calib3d/src/dls.h ort[i] = H[i][m - 1] / scale; m 619 modules/calib3d/src/dls.h if (ort[m] > 0) { m 622 modules/calib3d/src/dls.h h = h - ort[m] * g; m 623 modules/calib3d/src/dls.h ort[m] = ort[m] - g; m 628 modules/calib3d/src/dls.h for (int j = m; j < n; j++) { m 630 modules/calib3d/src/dls.h for (int i = high; i >= m; i--) { m 634 modules/calib3d/src/dls.h for (int i = m; i <= high; i++) { m 641 modules/calib3d/src/dls.h for (int j = high; j >= m; j--) { m 645 modules/calib3d/src/dls.h for (int j = m; j <= high; j++) { m 649 modules/calib3d/src/dls.h ort[m] = scale * ort[m]; m 650 modules/calib3d/src/dls.h H[m][m - 1] = scale * g; m 662 modules/calib3d/src/dls.h for (int m = high - 1; m >= low + 1; m--) { m 663 modules/calib3d/src/dls.h if (H[m][m - 1] != 0.0) { m 664 modules/calib3d/src/dls.h for (int i = m + 1; i <= high; i++) { m 665 modules/calib3d/src/dls.h ort[i] = H[i][m - 1]; m 667 modules/calib3d/src/dls.h for (int j = m; j <= high; j++) { m 669 modules/calib3d/src/dls.h for (int i = m; i <= high; i++) { m 673 modules/calib3d/src/dls.h g = (g / ort[m]) / H[m][m - 1]; m 674 modules/calib3d/src/dls.h for (int i = m; i <= high; i++) { m 1198 modules/calib3d/src/fisheye.cpp cv::Mat cv::internal::ComputeHomography(Mat m, Mat M) m 1200 modules/calib3d/src/fisheye.cpp int Np = m.cols; m 1202 modules/calib3d/src/fisheye.cpp if (m.rows < 3) m 1204 modules/calib3d/src/fisheye.cpp vconcat(m, Mat::ones(1, Np, CV_64FC1), m); m 1211 modules/calib3d/src/fisheye.cpp divide(m, Mat::ones(3, 1, CV_64FC1) * m.row(2), m); m 1214 modules/calib3d/src/fisheye.cpp Mat ax = m.row(0).clone(); m 1215 modules/calib3d/src/fisheye.cpp Mat ay = m.row(1).clone(); m 1233 modules/calib3d/src/fisheye.cpp Mat mn = Hnorm * m; m 1264 modules/calib3d/src/fisheye.cpp Mat m_err = m(Rect(0,0, m.cols, 2)) - mrep(Rect(0,0, mrep.cols, 2)); m 1619 modules/calib3d/src/fisheye.cpp cv::Vec3d cv::internal::median3d(InputArray m) m 1621 modules/calib3d/src/fisheye.cpp CV_Assert(m.depth() == CV_64F && m.getMat().rows == 1); m 1622 modules/calib3d/src/fisheye.cpp Mat M = Mat(m.getMat().t()).reshape(1).t(); m 29 modules/calib3d/src/fisheye.hpp CV_EXPORTS Mat ComputeHomography(Mat m, Mat M); m 57 modules/calib3d/src/fisheye.hpp Vec3d median3d(InputArray m); m 50 modules/calib3d/src/fundam.cpp static bool haveCollinearPoints( const Mat& m, int count ) m 53 modules/calib3d/src/fundam.cpp const Point2f* ptr = m.ptr<Point2f>(); m 118 modules/calib3d/src/fundam.cpp const Point2f* m = m2.ptr<Point2f>(); m 130 modules/calib3d/src/fundam.cpp cm.x += m[i].x; cm.y += m[i].y; m 141 modules/calib3d/src/fundam.cpp sm.x += fabs(m[i].x - cm.x); m 142 modules/calib3d/src/fundam.cpp sm.y += fabs(m[i].y - cm.y); m 161 modules/calib3d/src/fundam.cpp double x = (m[i].x - cm.x)*sm.x, y = (m[i].y - cm.y)*sm.y; m 185 modules/calib3d/src/fundam.cpp const Point2f* m = m2.ptr<Point2f>(); m 195 modules/calib3d/src/fundam.cpp float dx = (Hf[0]*M[i].x + Hf[1]*M[i].y + Hf[2])*ww - m[i].x; m 196 modules/calib3d/src/fundam.cpp float dy = (Hf[3]*M[i].x + Hf[4]*M[i].y + Hf[5])*ww - m[i].y; m 226 modules/calib3d/src/fundam.cpp const Point2f* m = dst.ptr<Point2f>(); m 238 modules/calib3d/src/fundam.cpp errptr[i*2] = xi - m[i].x; m 239 modules/calib3d/src/fundam.cpp errptr[i*2+1] = yi - m[i].y; m 356 modules/calib3d/src/fundam.cpp Mat& m = i == 1 ? src : dst; m 367 modules/calib3d/src/fundam.cpp p.reshape(2, npoints).convertTo(m, CV_32F); m 737 modules/calib3d/src/fundam.cpp Mat& m = i == 1 ? m1 : m2; m 748 modules/calib3d/src/fundam.cpp p.reshape(2, npoints).convertTo(m, CV_32F); m 406 modules/calib3d/src/upnp.cpp double m[13]; m 407 modules/calib3d/src/upnp.cpp for (int i = 1; i < 13; ++i) m[i] = *M1.ptr<double>(i-1); m 409 modules/calib3d/src/upnp.cpp double t1 = pow( m[4], 2 ); m 410 modules/calib3d/src/upnp.cpp double t4 = pow( m[1], 2 ); m 411 modules/calib3d/src/upnp.cpp double t5 = pow( m[5], 2 ); m 412 modules/calib3d/src/upnp.cpp double t8 = pow( m[2], 2 ); m 413 modules/calib3d/src/upnp.cpp double t10 = pow( m[6], 2 ); m 414 modules/calib3d/src/upnp.cpp double t13 = pow( m[3], 2 ); m 415 modules/calib3d/src/upnp.cpp double t15 = pow( m[7], 2 ); m 416 modules/calib3d/src/upnp.cpp double t18 = pow( m[8], 2 ); m 417 modules/calib3d/src/upnp.cpp double t22 = pow( m[9], 2 ); m 418 modules/calib3d/src/upnp.cpp double t26 = pow( m[10], 2 ); m 419 modules/calib3d/src/upnp.cpp double t29 = pow( m[11], 2 ); m 420 modules/calib3d/src/upnp.cpp double t33 = pow( m[12], 2 ); m 422 modules/calib3d/src/upnp.cpp *P.ptr<double>(0,0) = t1 - 2 * m[4] * m[1] + t4 + t5 - 2 * m[5] * m[2] + t8; m 423 modules/calib3d/src/upnp.cpp *P.ptr<double>(0,1) = t10 - 2 * m[6] * m[3] + t13; m 424 modules/calib3d/src/upnp.cpp *P.ptr<double>(1,0) = t15 - 2 * m[7] * m[1] + t4 + t18 - 2 * m[8] * m[2] + t8; m 425 modules/calib3d/src/upnp.cpp *P.ptr<double>(1,1) = t22 - 2 * m[9] * m[3] + t13; m 426 modules/calib3d/src/upnp.cpp *P.ptr<double>(2,0) = t26 - 2 * m[10] * m[1] + t4 + t29 - 2 * m[11] * m[2] + t8; m 427 modules/calib3d/src/upnp.cpp *P.ptr<double>(2,1) = t33 - 2 * m[12] * m[3] + t13; m 428 modules/calib3d/src/upnp.cpp *P.ptr<double>(3,0) = t15 - 2 * m[7] * m[4] + t1 + t18 - 2 * m[8] * m[5] + t5; m 429 modules/calib3d/src/upnp.cpp *P.ptr<double>(3,1) = t22 - 2 * m[9] * m[6] + t10; m 430 modules/calib3d/src/upnp.cpp *P.ptr<double>(4,0) = t26 - 2 * m[10] * m[4] + t1 + t29 - 2 * m[11] * m[5] + t5; m 431 modules/calib3d/src/upnp.cpp *P.ptr<double>(4,1) = t33 - 2 * m[12] * m[6] + t10; m 432 modules/calib3d/src/upnp.cpp *P.ptr<double>(5,0) = t26 - 2 * m[10] * m[7] + t15 + t29 - 2 * m[11] * m[8] + t18; m 433 modules/calib3d/src/upnp.cpp *P.ptr<double>(5,1) = t33 - 2 * m[12] * m[9] + t22; m 442 modules/calib3d/src/upnp.cpp double m[3][13]; m 445 modules/calib3d/src/upnp.cpp m[1][i] = *M1.ptr<double>(i-1); m 446 modules/calib3d/src/upnp.cpp m[2][i] = *M2.ptr<double>(i-1); m 449 modules/calib3d/src/upnp.cpp double t1 = pow( m[1][4], 2 ); m 450 modules/calib3d/src/upnp.cpp double t2 = pow( m[1][1], 2 ); m 451 modules/calib3d/src/upnp.cpp double t7 = pow( m[1][5], 2 ); m 452 modules/calib3d/src/upnp.cpp double t8 = pow( m[1][2], 2 ); m 453 modules/calib3d/src/upnp.cpp double t11 = m[1][1] * m[2][1]; m 454 modules/calib3d/src/upnp.cpp double t12 = m[1][5] * m[2][5]; m 455 modules/calib3d/src/upnp.cpp double t15 = m[1][2] * m[2][2]; m 456 modules/calib3d/src/upnp.cpp double t16 = m[1][4] * m[2][4]; m 457 modules/calib3d/src/upnp.cpp double t19 = pow( m[2][4], 2 ); m 458 modules/calib3d/src/upnp.cpp double t22 = pow( m[2][2], 2 ); m 459 modules/calib3d/src/upnp.cpp double t23 = pow( m[2][1], 2 ); m 460 modules/calib3d/src/upnp.cpp double t24 = pow( m[2][5], 2 ); m 461 modules/calib3d/src/upnp.cpp double t28 = pow( m[1][6], 2 ); m 462 modules/calib3d/src/upnp.cpp double t29 = pow( m[1][3], 2 ); m 463 modules/calib3d/src/upnp.cpp double t34 = pow( m[1][3], 2 ); m 464 modules/calib3d/src/upnp.cpp double t36 = m[1][6] * m[2][6]; m 465 modules/calib3d/src/upnp.cpp double t40 = pow( m[2][6], 2 ); m 466 modules/calib3d/src/upnp.cpp double t41 = pow( m[2][3], 2 ); m 467 modules/calib3d/src/upnp.cpp double t47 = pow( m[1][7], 2 ); m 468 modules/calib3d/src/upnp.cpp double t48 = pow( m[1][8], 2 ); m 469 modules/calib3d/src/upnp.cpp double t52 = m[1][7] * m[2][7]; m 470 modules/calib3d/src/upnp.cpp double t55 = m[1][8] * m[2][8]; m 471 modules/calib3d/src/upnp.cpp double t59 = pow( m[2][8], 2 ); m 472 modules/calib3d/src/upnp.cpp double t62 = pow( m[2][7], 2 ); m 473 modules/calib3d/src/upnp.cpp double t64 = pow( m[1][9], 2 ); m 474 modules/calib3d/src/upnp.cpp double t68 = m[1][9] * m[2][9]; m 475 modules/calib3d/src/upnp.cpp double t74 = pow( m[2][9], 2 ); m 476 modules/calib3d/src/upnp.cpp double t78 = pow( m[1][10], 2 ); m 477 modules/calib3d/src/upnp.cpp double t79 = pow( m[1][11], 2 ); m 478 modules/calib3d/src/upnp.cpp double t84 = m[1][10] * m[2][10]; m 479 modules/calib3d/src/upnp.cpp double t87 = m[1][11] * m[2][11]; m 480 modules/calib3d/src/upnp.cpp double t90 = pow( m[2][10], 2 ); m 481 modules/calib3d/src/upnp.cpp double t95 = pow( m[2][11], 2 ); m 482 modules/calib3d/src/upnp.cpp double t99 = pow( m[1][12], 2 ); m 483 modules/calib3d/src/upnp.cpp double t101 = m[1][12] * m[2][12]; m 484 modules/calib3d/src/upnp.cpp double t105 = pow( m[2][12], 2 ); m 486 modules/calib3d/src/upnp.cpp *P.ptr<double>(0,0) = t1 + t2 - 2 * m[1][4] * m[1][1] - 2 * m[1][5] * m[1][2] + t7 + t8; m 487 modules/calib3d/src/upnp.cpp *P.ptr<double>(0,1) = -2 * m[2][4] * m[1][1] + 2 * t11 + 2 * t12 - 2 * m[1][4] * m[2][1] - 2 * m[2][5] * m[1][2] + 2 * t15 + 2 * t16 - 2 * m[1][5] * m[2][2]; m 488 modules/calib3d/src/upnp.cpp *P.ptr<double>(0,2) = t19 - 2 * m[2][4] * m[2][1] + t22 + t23 + t24 - 2 * m[2][5] * m[2][2]; m 489 modules/calib3d/src/upnp.cpp *P.ptr<double>(0,3) = t28 + t29 - 2 * m[1][6] * m[1][3]; m 490 modules/calib3d/src/upnp.cpp *P.ptr<double>(0,4) = -2 * m[2][6] * m[1][3] + 2 * t34 - 2 * m[1][6] * m[2][3] + 2 * t36; m 491 modules/calib3d/src/upnp.cpp *P.ptr<double>(0,5) = -2 * m[2][6] * m[2][3] + t40 + t41; m 493 modules/calib3d/src/upnp.cpp *P.ptr<double>(1,0) = t8 - 2 * m[1][8] * m[1][2] - 2 * m[1][7] * m[1][1] + t47 + t48 + t2; m 494 modules/calib3d/src/upnp.cpp *P.ptr<double>(1,1) = 2 * t15 - 2 * m[1][8] * m[2][2] - 2 * m[2][8] * m[1][2] + 2 * t52 - 2 * m[1][7] * m[2][1] - 2 * m[2][7] * m[1][1] + 2 * t55 + 2 * t11; m 495 modules/calib3d/src/upnp.cpp *P.ptr<double>(1,2) = -2 * m[2][8] * m[2][2] + t22 + t23 + t59 - 2 * m[2][7] * m[2][1] + t62; m 496 modules/calib3d/src/upnp.cpp *P.ptr<double>(1,3) = t29 + t64 - 2 * m[1][9] * m[1][3]; m 497 modules/calib3d/src/upnp.cpp *P.ptr<double>(1,4) = 2 * t34 + 2 * t68 - 2 * m[2][9] * m[1][3] - 2 * m[1][9] * m[2][3]; m 498 modules/calib3d/src/upnp.cpp *P.ptr<double>(1,5) = -2 * m[2][9] * m[2][3] + t74 + t41; m 500 modules/calib3d/src/upnp.cpp *P.ptr<double>(2,0) = -2 * m[1][11] * m[1][2] + t2 + t8 + t78 + t79 - 2 * m[1][10] * m[1][1]; m 501 modules/calib3d/src/upnp.cpp *P.ptr<double>(2,1) = 2 * t15 - 2 * m[1][11] * m[2][2] + 2 * t84 - 2 * m[1][10] * m[2][1] - 2 * m[2][10] * m[1][1] + 2 * t87 - 2 * m[2][11] * m[1][2]+ 2 * t11; m 502 modules/calib3d/src/upnp.cpp *P.ptr<double>(2,2) = t90 + t22 - 2 * m[2][10] * m[2][1] + t23 - 2 * m[2][11] * m[2][2] + t95; m 503 modules/calib3d/src/upnp.cpp *P.ptr<double>(2,3) = -2 * m[1][12] * m[1][3] + t99 + t29; m 504 modules/calib3d/src/upnp.cpp *P.ptr<double>(2,4) = 2 * t34 + 2 * t101 - 2 * m[2][12] * m[1][3] - 2 * m[1][12] * m[2][3]; m 505 modules/calib3d/src/upnp.cpp *P.ptr<double>(2,5) = t41 + t105 - 2 * m[2][12] * m[2][3]; m 507 modules/calib3d/src/upnp.cpp *P.ptr<double>(3,0) = t48 + t1 - 2 * m[1][8] * m[1][5] + t7 - 2 * m[1][7] * m[1][4] + t47; m 508 modules/calib3d/src/upnp.cpp *P.ptr<double>(3,1) = 2 * t16 - 2 * m[1][7] * m[2][4] + 2 * t55 + 2 * t52 - 2 * m[1][8] * m[2][5] - 2 * m[2][8] * m[1][5] - 2 * m[2][7] * m[1][4] + 2 * t12; m 509 modules/calib3d/src/upnp.cpp *P.ptr<double>(3,2) = t24 - 2 * m[2][8] * m[2][5] + t19 - 2 * m[2][7] * m[2][4] + t62 + t59; m 510 modules/calib3d/src/upnp.cpp *P.ptr<double>(3,3) = -2 * m[1][9] * m[1][6] + t64 + t28; m 511 modules/calib3d/src/upnp.cpp *P.ptr<double>(3,4) = 2 * t68 + 2 * t36 - 2 * m[2][9] * m[1][6] - 2 * m[1][9] * m[2][6]; m 512 modules/calib3d/src/upnp.cpp *P.ptr<double>(3,5) = t40 + t74 - 2 * m[2][9] * m[2][6]; m 514 modules/calib3d/src/upnp.cpp *P.ptr<double>(4,0) = t1 - 2 * m[1][10] * m[1][4] + t7 + t78 + t79 - 2 * m[1][11] * m[1][5]; m 515 modules/calib3d/src/upnp.cpp *P.ptr<double>(4,1) = 2 * t84 - 2 * m[1][11] * m[2][5] - 2 * m[1][10] * m[2][4] + 2 * t16 - 2 * m[2][11] * m[1][5] + 2 * t87 - 2 * m[2][10] * m[1][4] + 2 * t12; m 516 modules/calib3d/src/upnp.cpp *P.ptr<double>(4,2) = t19 + t24 - 2 * m[2][10] * m[2][4] - 2 * m[2][11] * m[2][5] + t95 + t90; m 517 modules/calib3d/src/upnp.cpp *P.ptr<double>(4,3) = t28 - 2 * m[1][12] * m[1][6] + t99; m 518 modules/calib3d/src/upnp.cpp *P.ptr<double>(4,4) = 2 * t101 + 2 * t36 - 2 * m[2][12] * m[1][6] - 2 * m[1][12] * m[2][6]; m 519 modules/calib3d/src/upnp.cpp *P.ptr<double>(4,5) = t105 - 2 * m[2][12] * m[2][6] + t40; m 521 modules/calib3d/src/upnp.cpp *P.ptr<double>(5,0) = -2 * m[1][10] * m[1][7] + t47 + t48 + t78 + t79 - 2 * m[1][11] * m[1][8]; m 522 modules/calib3d/src/upnp.cpp *P.ptr<double>(5,1) = 2 * t84 + 2 * t87 - 2 * m[2][11] * m[1][8] - 2 * m[1][10] * m[2][7] - 2 * m[2][10] * m[1][7] + 2 * t55 + 2 * t52 - 2 * m[1][11] * m[2][8]; m 523 modules/calib3d/src/upnp.cpp *P.ptr<double>(5,2) = -2 * m[2][10] * m[2][7] - 2 * m[2][11] * m[2][8] + t62 + t59 + t90 + t95; m 524 modules/calib3d/src/upnp.cpp *P.ptr<double>(5,3) = t64 - 2 * m[1][12] * m[1][9] + t99; m 525 modules/calib3d/src/upnp.cpp *P.ptr<double>(5,4) = 2 * t68 - 2 * m[2][12] * m[1][9] - 2 * m[1][12] * m[2][9] + 2 * t101; m 526 modules/calib3d/src/upnp.cpp *P.ptr<double>(5,5) = t105 - 2 * m[2][12] * m[2][9] + t74; m 139 modules/calib3d/test/test_affine3d_estimator.cpp const int m = 3*n/5; m 150 modules/calib3d/test/test_affine3d_estimator.cpp transform(tpts.ptr<Point3f>() + m, tpts.ptr<Point3f>() + n, tpts.ptr<Point3f>() + m, bind2nd(plus<Point3f>(), shift_outl)); m 151 modules/calib3d/test/test_affine3d_estimator.cpp transform(tpts.ptr<Point3f>() + m, tpts.ptr<Point3f>() + n, tpts.ptr<Point3f>() + m, Noise(noise_level)); m 172 modules/calib3d/test/test_affine3d_estimator.cpp bool outl_good = count(outl.begin(), outl.end(), 1) == m && m 173 modules/calib3d/test/test_affine3d_estimator.cpp m == accumulate(outl.begin(), outl.begin() + m, 0); m 202 modules/calib3d/test/test_cameracalibration.cpp CvMat* m = &test_mat[REF_OUTPUT][0]; m 214 modules/calib3d/test/test_cameracalibration.cpp cvTsProjectPoints( vec, m, v2m_jac ); m 215 modules/calib3d/test/test_cameracalibration.cpp cvTsProjectPoints( m, vec2, m2v_jac ); m 74 modules/calib3d/test/test_chessboardgenerator.cpp float m; m 75 modules/calib3d/test/test_chessboardgenerator.cpp Mult(int mult) : m((float)mult) {} m 76 modules/calib3d/test/test_chessboardgenerator.cpp Point2f operator()(const Point2f& p)const { return p * m; } m 495 modules/calib3d/test/test_fundam.cpp double* m = temp.ptr<double>() + i*3; m 507 modules/calib3d/test/test_fundam.cpp m[0] = u; m 508 modules/calib3d/test/test_fundam.cpp m[1] = v; m 509 modules/calib3d/test/test_fundam.cpp m[2] = s; m 715 modules/calib3d/test/test_fundam.cpp Mat& m = test_mat[REF_OUTPUT][0]; m 727 modules/calib3d/test/test_fundam.cpp cvtest::Rodrigues( vec, m, v2m_jac ); m 728 modules/calib3d/test/test_fundam.cpp cvtest::Rodrigues( m, vec2, m2v_jac ); m 843 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void split(InputArray m, OutputArrayOfArrays mv); m 1599 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void transform(InputArray src, OutputArray dst, InputArray m ); m 1626 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void perspectiveTransform(InputArray src, OutputArray dst, InputArray m ); m 2575 modules/core/include/opencv2/core.hpp template<typename _Tp, int m, int n, int nm> static m 2576 modules/core/include/opencv2/core.hpp void compute( const Matx<_Tp, m, n>& a, Matx<_Tp, nm, 1>& w, Matx<_Tp, m, nm>& u, Matx<_Tp, n, nm>& vt ); m 2579 modules/core/include/opencv2/core.hpp template<typename _Tp, int m, int n, int nm> static m 2580 modules/core/include/opencv2/core.hpp void compute( const Matx<_Tp, m, n>& a, Matx<_Tp, nm, 1>& w ); m 2583 modules/core/include/opencv2/core.hpp template<typename _Tp, int m, int n, int nm, int nb> static m 2584 modules/core/include/opencv2/core.hpp void backSubst( const Matx<_Tp, nm, 1>& w, const Matx<_Tp, m, nm>& u, const Matx<_Tp, n, nm>& vt, const Matx<_Tp, m, nb>& rhs, Matx<_Tp, n, nb>& dst ); m 419 modules/core/include/opencv2/core/affine.hpp Mat4 m = matrix; m 420 modules/core/include/opencv2/core/affine.hpp m.val[ 3] += t[0]; m 421 modules/core/include/opencv2/core/affine.hpp m.val[ 7] += t[1]; m 422 modules/core/include/opencv2/core/affine.hpp m.val[11] += t[2]; m 423 modules/core/include/opencv2/core/affine.hpp return m; m 453 modules/core/include/opencv2/core/affine.hpp const typename Affine3<T>::Mat4& m = affine.matrix; m 456 modules/core/include/opencv2/core/affine.hpp r.x = m.val[0] * v.x + m.val[1] * v.y + m.val[ 2] * v.z + m.val[ 3]; m 457 modules/core/include/opencv2/core/affine.hpp r.y = m.val[4] * v.x + m.val[5] * v.y + m.val[ 6] * v.z + m.val[ 7]; m 458 modules/core/include/opencv2/core/affine.hpp r.z = m.val[8] * v.x + m.val[9] * v.y + m.val[10] * v.z + m.val[11]; m 465 modules/core/include/opencv2/core/affine.hpp const cv::Matx44f& m = affine.matrix; m 467 modules/core/include/opencv2/core/affine.hpp r.val[0] = m.val[0] * v[0] + m.val[1] * v[1] + m.val[ 2] * v[2] + m.val[ 3]; m 468 modules/core/include/opencv2/core/affine.hpp r.val[1] = m.val[4] * v[0] + m.val[5] * v[1] + m.val[ 6] * v[2] + m.val[ 7]; m 469 modules/core/include/opencv2/core/affine.hpp r.val[2] = m.val[8] * v[0] + m.val[9] * v[1] + m.val[10] * v[2] + m.val[11]; m 476 modules/core/include/opencv2/core/affine.hpp const cv::Matx44d& m = affine.matrix; m 478 modules/core/include/opencv2/core/affine.hpp r.val[0] = m.val[0] * v[0] + m.val[1] * v[1] + m.val[ 2] * v[2] + m.val[ 3]; m 479 modules/core/include/opencv2/core/affine.hpp r.val[1] = m.val[4] * v[0] + m.val[5] * v[1] + m.val[ 6] * v[2] + m.val[ 7]; m 480 modules/core/include/opencv2/core/affine.hpp r.val[2] = m.val[8] * v[0] + m.val[9] * v[1] + m.val[10] * v[2] + m.val[11]; m 577 modules/core/include/opencv2/core/base.hpp CV_EXPORTS int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n); m 579 modules/core/include/opencv2/core/base.hpp CV_EXPORTS int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n); m 581 modules/core/include/opencv2/core/base.hpp CV_EXPORTS bool Cholesky(float* A, size_t astep, int m, float* b, size_t bstep, int n); m 583 modules/core/include/opencv2/core/base.hpp CV_EXPORTS bool Cholesky(double* A, size_t astep, int m, double* b, size_t bstep, int n); m 590 modules/core/include/opencv2/core/base.hpp template<typename _Tp, int m, int n> class Matx; m 3029 modules/core/include/opencv2/core/core_c.h CvMat m = cvMat(1, count, DataType<_Tp>::type, elems); m 3030 modules/core/include/opencv2/core/core_c.h seqInsertSlice(seq, idx, &m); m 125 modules/core/include/opencv2/core/cuda.hpp GpuMat(const GpuMat& m); m 132 modules/core/include/opencv2/core/cuda.hpp GpuMat(const GpuMat& m, Range rowRange, Range colRange); m 133 modules/core/include/opencv2/core/cuda.hpp GpuMat(const GpuMat& m, Rect roi); m 142 modules/core/include/opencv2/core/cuda.hpp GpuMat& operator =(const GpuMat& m); m 208 modules/core/include/opencv2/core/cuda.hpp void assignTo(GpuMat& m, int type=-1) const; m 362 modules/core/include/opencv2/core/cuda.hpp HostMem(const HostMem& m); m 372 modules/core/include/opencv2/core/cuda.hpp HostMem& operator =(const HostMem& m); m 432 modules/core/include/opencv2/core/cuda.hpp CV_EXPORTS void registerPageLocked(Mat& m); m 438 modules/core/include/opencv2/core/cuda.hpp CV_EXPORTS void unregisterPageLocked(Mat& m); m 101 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat::GpuMat(const GpuMat& m) m 102 modules/core/include/opencv2/core/cuda.inl.hpp : flags(m.flags), rows(m.rows), cols(m.cols), step(m.step), data(m.data), refcount(m.refcount), datastart(m.datastart), dataend(m.dataend), allocator(m.allocator) m 122 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat& GpuMat::operator =(const GpuMat& m) m 124 modules/core/include/opencv2/core/cuda.inl.hpp if (this != &m) m 126 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat temp(m); m 156 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat m; m 157 modules/core/include/opencv2/core/cuda.inl.hpp copyTo(m); m 158 modules/core/include/opencv2/core/cuda.inl.hpp return m; m 198 modules/core/include/opencv2/core/cuda.inl.hpp void GpuMat::assignTo(GpuMat& m, int _type) const m 201 modules/core/include/opencv2/core/cuda.inl.hpp m = *this; m 203 modules/core/include/opencv2/core/cuda.inl.hpp convertTo(m, _type); m 349 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat m; m 350 modules/core/include/opencv2/core/cuda.inl.hpp createContinuous(rows, cols, type, m); m 351 modules/core/include/opencv2/core/cuda.inl.hpp return m; m 363 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat m; m 364 modules/core/include/opencv2/core/cuda.inl.hpp createContinuous(size, type, m); m 365 modules/core/include/opencv2/core/cuda.inl.hpp return m; m 391 modules/core/include/opencv2/core/cuda.inl.hpp HostMem::HostMem(const HostMem& m) m 392 modules/core/include/opencv2/core/cuda.inl.hpp : flags(m.flags), rows(m.rows), cols(m.cols), step(m.step), data(m.data), refcount(m.refcount), datastart(m.datastart), dataend(m.dataend), alloc_type(m.alloc_type) m 428 modules/core/include/opencv2/core/cuda.inl.hpp HostMem& HostMem::operator =(const HostMem& m) m 430 modules/core/include/opencv2/core/cuda.inl.hpp if (this != &m) m 432 modules/core/include/opencv2/core/cuda.inl.hpp HostMem temp(m); m 456 modules/core/include/opencv2/core/cuda.inl.hpp HostMem m(size(), type(), alloc_type); m 457 modules/core/include/opencv2/core/cuda.inl.hpp createMatHeader().copyTo(m); m 458 modules/core/include/opencv2/core/cuda.inl.hpp return m; m 611 modules/core/include/opencv2/core/cuda.inl.hpp Mat::Mat(const cuda::GpuMat& m) m 614 modules/core/include/opencv2/core/cuda.inl.hpp m.download(*this); m 200 modules/core/include/opencv2/core/cvstd.inl.hpp template<typename _Tp, int m, int n> static inline m 201 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const Matx<_Tp, m, n>& matx) m 172 modules/core/include/opencv2/core/mat.hpp _InputArray(const Mat& m); m 175 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputArray(const Mat_<_Tp>& m); m 181 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int m, int n> _InputArray(const Matx<_Tp, m, n>& matx); m 186 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputArray(const cudev::GpuMat_<_Tp>& m); m 282 modules/core/include/opencv2/core/mat.hpp _OutputArray(Mat& m); m 287 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _OutputArray(cudev::GpuMat_<_Tp>& m); m 292 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _OutputArray(Mat_<_Tp>& m); m 294 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int m, int n> _OutputArray(Matx<_Tp, m, n>& matx); m 295 modules/core/include/opencv2/core/mat.hpp _OutputArray(UMat& m); m 298 modules/core/include/opencv2/core/mat.hpp _OutputArray(const Mat& m); m 303 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _OutputArray(const cudev::GpuMat_<_Tp>& m); m 307 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _OutputArray(const Mat_<_Tp>& m); m 309 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int m, int n> _OutputArray(const Matx<_Tp, m, n>& matx); m 310 modules/core/include/opencv2/core/mat.hpp _OutputArray(const UMat& m); m 330 modules/core/include/opencv2/core/mat.hpp void assign(const Mat& m) const; m 339 modules/core/include/opencv2/core/mat.hpp _InputOutputArray(Mat& m); m 344 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputOutputArray(cudev::GpuMat_<_Tp>& m); m 349 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputOutputArray(Mat_<_Tp>& m); m 351 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int m, int n> _InputOutputArray(Matx<_Tp, m, n>& matx); m 352 modules/core/include/opencv2/core/mat.hpp _InputOutputArray(UMat& m); m 355 modules/core/include/opencv2/core/mat.hpp _InputOutputArray(const Mat& m); m 360 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputOutputArray(const cudev::GpuMat_<_Tp>& m); m 364 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputOutputArray(const Mat_<_Tp>& m); m 366 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int m, int n> _InputOutputArray(const Matx<_Tp, m, n>& matx); m 367 modules/core/include/opencv2/core/mat.hpp _InputOutputArray(const UMat& m); m 805 modules/core/include/opencv2/core/mat.hpp Mat(const Mat& m); m 864 modules/core/include/opencv2/core/mat.hpp Mat(const Mat& m, const Range& rowRange, const Range& colRange=Range::all()); m 874 modules/core/include/opencv2/core/mat.hpp Mat(const Mat& m, const Rect& roi); m 884 modules/core/include/opencv2/core/mat.hpp Mat(const Mat& m, const Range* ranges); m 910 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int m, int n> explicit Mat(const Matx<_Tp, m, n>& mtx, bool copyData=true); m 925 modules/core/include/opencv2/core/mat.hpp explicit Mat(const cuda::GpuMat& m); m 938 modules/core/include/opencv2/core/mat.hpp Mat& operator = (const Mat& m); m 1067 modules/core/include/opencv2/core/mat.hpp void copyTo( OutputArray m ) const; m 1074 modules/core/include/opencv2/core/mat.hpp void copyTo( OutputArray m, InputArray mask ) const; m 1089 modules/core/include/opencv2/core/mat.hpp void convertTo( OutputArray m, int rtype, double alpha=1, double beta=0 ) const; m 1097 modules/core/include/opencv2/core/mat.hpp void assignTo( Mat& m, int type=-1 ) const; m 1174 modules/core/include/opencv2/core/mat.hpp MatExpr mul(InputArray m, double scale=1) const; m 1183 modules/core/include/opencv2/core/mat.hpp Mat cross(InputArray m) const; m 1193 modules/core/include/opencv2/core/mat.hpp double dot(InputArray m) const; m 1350 modules/core/include/opencv2/core/mat.hpp void copySize(const Mat& m); m 1396 modules/core/include/opencv2/core/mat.hpp void push_back(const Mat& m); m 1480 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int m, int n> operator Matx<_Tp, m, n>() const; m 1967 modules/core/include/opencv2/core/mat.hpp Mat_(const Mat& m); m 1969 modules/core/include/opencv2/core/mat.hpp Mat_(const Mat_& m); m 1975 modules/core/include/opencv2/core/mat.hpp Mat_(const Mat_& m, const Range& rowRange, const Range& colRange=Range::all()); m 1977 modules/core/include/opencv2/core/mat.hpp Mat_(const Mat_& m, const Rect& roi); m 1979 modules/core/include/opencv2/core/mat.hpp Mat_(const Mat_& m, const Range* ranges); m 1985 modules/core/include/opencv2/core/mat.hpp template<int m, int n> explicit Mat_(const Matx<typename DataType<_Tp>::channel_type, m, n>& mtx, bool copyData=true); m 1990 modules/core/include/opencv2/core/mat.hpp Mat_& operator = (const Mat& m); m 1991 modules/core/include/opencv2/core/mat.hpp Mat_& operator = (const Mat_& m); m 2015 modules/core/include/opencv2/core/mat.hpp Mat_ cross(const Mat_& m) const; m 2085 modules/core/include/opencv2/core/mat.hpp template<int m, int n> operator Matx<typename DataType<_Tp>::channel_type, m, n>() const; m 2137 modules/core/include/opencv2/core/mat.hpp UMat(const UMat& m); m 2140 modules/core/include/opencv2/core/mat.hpp UMat(const UMat& m, const Range& rowRange, const Range& colRange=Range::all()); m 2141 modules/core/include/opencv2/core/mat.hpp UMat(const UMat& m, const Rect& roi); m 2142 modules/core/include/opencv2/core/mat.hpp UMat(const UMat& m, const Range* ranges); m 2148 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int m, int n> explicit UMat(const Matx<_Tp, m, n>& mtx, bool copyData=true); m 2159 modules/core/include/opencv2/core/mat.hpp UMat& operator = (const UMat& m); m 2185 modules/core/include/opencv2/core/mat.hpp void copyTo( OutputArray m ) const; m 2187 modules/core/include/opencv2/core/mat.hpp void copyTo( OutputArray m, InputArray mask ) const; m 2189 modules/core/include/opencv2/core/mat.hpp void convertTo( OutputArray m, int rtype, double alpha=1, double beta=0 ) const; m 2191 modules/core/include/opencv2/core/mat.hpp void assignTo( UMat& m, int type=-1 ) const; m 2207 modules/core/include/opencv2/core/mat.hpp UMat mul(InputArray m, double scale=1) const; m 2210 modules/core/include/opencv2/core/mat.hpp double dot(InputArray m) const; m 2237 modules/core/include/opencv2/core/mat.hpp void copySize(const UMat& m); m 2445 modules/core/include/opencv2/core/mat.hpp SparseMat(const SparseMat& m); m 2451 modules/core/include/opencv2/core/mat.hpp explicit SparseMat(const Mat& m); m 2457 modules/core/include/opencv2/core/mat.hpp SparseMat& operator = (const SparseMat& m); m 2459 modules/core/include/opencv2/core/mat.hpp SparseMat& operator = (const Mat& m); m 2465 modules/core/include/opencv2/core/mat.hpp void copyTo( SparseMat& m ) const; m 2467 modules/core/include/opencv2/core/mat.hpp void copyTo( Mat& m ) const; m 2469 modules/core/include/opencv2/core/mat.hpp void convertTo( SparseMat& m, int rtype, double alpha=1 ) const; m 2480 modules/core/include/opencv2/core/mat.hpp void convertTo( Mat& m, int rtype, double alpha=1, double beta=0 ) const; m 2483 modules/core/include/opencv2/core/mat.hpp void assignTo( SparseMat& m, int type=-1 ) const; m 2684 modules/core/include/opencv2/core/mat.hpp SparseMat_(const SparseMat& m); m 2686 modules/core/include/opencv2/core/mat.hpp SparseMat_(const SparseMat_& m); m 2688 modules/core/include/opencv2/core/mat.hpp SparseMat_(const Mat& m); m 2692 modules/core/include/opencv2/core/mat.hpp SparseMat_& operator = (const SparseMat& m); m 2694 modules/core/include/opencv2/core/mat.hpp SparseMat_& operator = (const SparseMat_& m); m 2696 modules/core/include/opencv2/core/mat.hpp SparseMat_& operator = (const Mat& m); m 2797 modules/core/include/opencv2/core/mat.hpp const Mat* m; m 2956 modules/core/include/opencv2/core/mat.hpp const SparseMat* m; m 3168 modules/core/include/opencv2/core/mat.hpp virtual void assign(const MatExpr& expr, Mat& m, int type=-1) const = 0; m 3172 modules/core/include/opencv2/core/mat.hpp virtual void augAssignAdd(const MatExpr& expr, Mat& m) const; m 3173 modules/core/include/opencv2/core/mat.hpp virtual void augAssignSubtract(const MatExpr& expr, Mat& m) const; m 3174 modules/core/include/opencv2/core/mat.hpp virtual void augAssignMultiply(const MatExpr& expr, Mat& m) const; m 3175 modules/core/include/opencv2/core/mat.hpp virtual void augAssignDivide(const MatExpr& expr, Mat& m) const; m 3176 modules/core/include/opencv2/core/mat.hpp virtual void augAssignAnd(const MatExpr& expr, Mat& m) const; m 3177 modules/core/include/opencv2/core/mat.hpp virtual void augAssignOr(const MatExpr& expr, Mat& m) const; m 3178 modules/core/include/opencv2/core/mat.hpp virtual void augAssignXor(const MatExpr& expr, Mat& m) const; m 3252 modules/core/include/opencv2/core/mat.hpp explicit MatExpr(const Mat& m); m 3272 modules/core/include/opencv2/core/mat.hpp MatExpr mul(const Mat& m, double scale=1) const; m 3274 modules/core/include/opencv2/core/mat.hpp Mat cross(const Mat& m) const; m 3275 modules/core/include/opencv2/core/mat.hpp double dot(const Mat& m) const; m 3292 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator + (const MatExpr& e, const Mat& m); m 3293 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator + (const Mat& m, const MatExpr& e); m 3301 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const MatExpr& e, const Mat& m); m 3302 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const Mat& m, const MatExpr& e); m 3307 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const Mat& m); m 3313 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator * (const MatExpr& e, const Mat& m); m 3314 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator * (const Mat& m, const MatExpr& e); m 3322 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator / (const MatExpr& e, const Mat& m); m 3323 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator / (const Mat& m, const MatExpr& e); m 3364 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator ~(const Mat& m); m 3387 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr abs(const Mat& m); m 71 modules/core/include/opencv2/core/mat.inl.hpp inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); } m 73 modules/core/include/opencv2/core/mat.inl.hpp inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); } m 92 modules/core/include/opencv2/core/mat.inl.hpp template<typename _Tp, int m, int n> inline m 93 modules/core/include/opencv2/core/mat.inl.hpp _InputArray::_InputArray(const Matx<_Tp, m, n>& mtx) m 94 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + MATX + DataType<_Tp>::type + ACCESS_READ, &mtx, Size(n, m)); } m 101 modules/core/include/opencv2/core/mat.inl.hpp _InputArray::_InputArray(const Mat_<_Tp>& m) m 102 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + MAT + DataType<_Tp>::type + ACCESS_READ, &m); } m 138 modules/core/include/opencv2/core/mat.inl.hpp inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); } m 140 modules/core/include/opencv2/core/mat.inl.hpp inline _OutputArray::_OutputArray(UMat& m) { init(UMAT+ACCESS_WRITE, &m); } m 160 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(Mat_<_Tp>& m) m 161 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + MAT + DataType<_Tp>::type + ACCESS_WRITE, &m); } m 163 modules/core/include/opencv2/core/mat.inl.hpp template<typename _Tp, int m, int n> inline m 164 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(Matx<_Tp, m, n>& mtx) m 165 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + MATX + DataType<_Tp>::type + ACCESS_WRITE, &mtx, Size(n, m)); } m 184 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(const Mat_<_Tp>& m) m 185 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + MAT + DataType<_Tp>::type + ACCESS_WRITE, &m); } m 187 modules/core/include/opencv2/core/mat.inl.hpp template<typename _Tp, int m, int n> inline m 188 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(const Matx<_Tp, m, n>& mtx) m 189 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + MATX + DataType<_Tp>::type + ACCESS_WRITE, &mtx, Size(n, m)); } m 204 modules/core/include/opencv2/core/mat.inl.hpp inline _OutputArray::_OutputArray(const Mat& m) m 205 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + MAT + ACCESS_WRITE, &m); } m 210 modules/core/include/opencv2/core/mat.inl.hpp inline _OutputArray::_OutputArray(const UMat& m) m 211 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + UMAT + ACCESS_WRITE, &m); } m 229 modules/core/include/opencv2/core/mat.inl.hpp inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); } m 231 modules/core/include/opencv2/core/mat.inl.hpp inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); } m 250 modules/core/include/opencv2/core/mat.inl.hpp _InputOutputArray::_InputOutputArray(Mat_<_Tp>& m) m 251 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + MAT + DataType<_Tp>::type + ACCESS_RW, &m); } m 253 modules/core/include/opencv2/core/mat.inl.hpp template<typename _Tp, int m, int n> inline m 254 modules/core/include/opencv2/core/mat.inl.hpp _InputOutputArray::_InputOutputArray(Matx<_Tp, m, n>& mtx) m 255 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + MATX + DataType<_Tp>::type + ACCESS_RW, &mtx, Size(n, m)); } m 274 modules/core/include/opencv2/core/mat.inl.hpp _InputOutputArray::_InputOutputArray(const Mat_<_Tp>& m) m 275 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + MAT + DataType<_Tp>::type + ACCESS_RW, &m); } m 277 modules/core/include/opencv2/core/mat.inl.hpp template<typename _Tp, int m, int n> inline m 278 modules/core/include/opencv2/core/mat.inl.hpp _InputOutputArray::_InputOutputArray(const Matx<_Tp, m, n>& mtx) m 279 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + MATX + DataType<_Tp>::type + ACCESS_RW, &mtx, Size(n, m)); } m 294 modules/core/include/opencv2/core/mat.inl.hpp inline _InputOutputArray::_InputOutputArray(const Mat& m) m 295 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + MAT + ACCESS_RW, &m); } m 300 modules/core/include/opencv2/core/mat.inl.hpp inline _InputOutputArray::_InputOutputArray(const UMat& m) m 301 modules/core/include/opencv2/core/mat.inl.hpp { init(FIXED_TYPE + FIXED_SIZE + UMAT + ACCESS_RW, &m); } m 375 modules/core/include/opencv2/core/mat.inl.hpp Mat::Mat(const Mat& m) m 376 modules/core/include/opencv2/core/mat.inl.hpp : flags(m.flags), dims(m.dims), rows(m.rows), cols(m.cols), data(m.data), m 377 modules/core/include/opencv2/core/mat.inl.hpp datastart(m.datastart), dataend(m.dataend), datalimit(m.datalimit), allocator(m.allocator), m 378 modules/core/include/opencv2/core/mat.inl.hpp u(m.u), size(&rows) m 382 modules/core/include/opencv2/core/mat.inl.hpp if( m.dims <= 2 ) m 384 modules/core/include/opencv2/core/mat.inl.hpp step[0] = m.step[0]; step[1] = m.step[1]; m 389 modules/core/include/opencv2/core/mat.inl.hpp copySize(m); m 488 modules/core/include/opencv2/core/mat.inl.hpp template<typename _Tp, int m, int n> inline m 489 modules/core/include/opencv2/core/mat.inl.hpp Mat::Mat(const Matx<_Tp,m,n>& M, bool copyData) m 490 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL | DataType<_Tp>::type | CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0), m 501 modules/core/include/opencv2/core/mat.inl.hpp Mat(m, n, DataType<_Tp>::type, (uchar*)M.val).copyTo(*this); m 560 modules/core/include/opencv2/core/mat.inl.hpp Mat& Mat::operator = (const Mat& m) m 562 modules/core/include/opencv2/core/mat.inl.hpp if( this != &m ) m 564 modules/core/include/opencv2/core/mat.inl.hpp if( m.u ) m 565 modules/core/include/opencv2/core/mat.inl.hpp CV_XADD(&m.u->refcount, 1); m 567 modules/core/include/opencv2/core/mat.inl.hpp flags = m.flags; m 568 modules/core/include/opencv2/core/mat.inl.hpp if( dims <= 2 && m.dims <= 2 ) m 570 modules/core/include/opencv2/core/mat.inl.hpp dims = m.dims; m 571 modules/core/include/opencv2/core/mat.inl.hpp rows = m.rows; m 572 modules/core/include/opencv2/core/mat.inl.hpp cols = m.cols; m 573 modules/core/include/opencv2/core/mat.inl.hpp step[0] = m.step[0]; m 574 modules/core/include/opencv2/core/mat.inl.hpp step[1] = m.step[1]; m 577 modules/core/include/opencv2/core/mat.inl.hpp copySize(m); m 578 modules/core/include/opencv2/core/mat.inl.hpp data = m.data; m 579 modules/core/include/opencv2/core/mat.inl.hpp datastart = m.datastart; m 580 modules/core/include/opencv2/core/mat.inl.hpp dataend = m.dataend; m 581 modules/core/include/opencv2/core/mat.inl.hpp datalimit = m.datalimit; m 582 modules/core/include/opencv2/core/mat.inl.hpp allocator = m.allocator; m 583 modules/core/include/opencv2/core/mat.inl.hpp u = m.u; m 627 modules/core/include/opencv2/core/mat.inl.hpp Mat m; m 628 modules/core/include/opencv2/core/mat.inl.hpp copyTo(m); m 629 modules/core/include/opencv2/core/mat.inl.hpp return m; m 633 modules/core/include/opencv2/core/mat.inl.hpp void Mat::assignTo( Mat& m, int _type ) const m 636 modules/core/include/opencv2/core/mat.inl.hpp m = *this; m 638 modules/core/include/opencv2/core/mat.inl.hpp convertTo(m, _type); m 1060 modules/core/include/opencv2/core/mat.inl.hpp template<typename _Tp, int m, int n> inline m 1061 modules/core/include/opencv2/core/mat.inl.hpp Mat::operator Matx<_Tp, m, n>() const m 1063 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert( data && dims <= 2 && rows == m && cols == n && channels() == 1 ); m 1066 modules/core/include/opencv2/core/mat.inl.hpp return Matx<_Tp, m, n>((_Tp*)data); m 1067 modules/core/include/opencv2/core/mat.inl.hpp Matx<_Tp, m, n> mtx; m 1094 modules/core/include/opencv2/core/mat.inl.hpp void Mat::push_back(const Mat_<_Tp>& m) m 1096 modules/core/include/opencv2/core/mat.inl.hpp push_back((const Mat&)m); m 1240 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>::Mat_(const Mat_<_Tp>& m, const Range* ranges) m 1241 modules/core/include/opencv2/core/mat.inl.hpp : Mat(m, ranges) m 1245 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>::Mat_(const Mat& m) m 1249 modules/core/include/opencv2/core/mat.inl.hpp *this = m; m 1253 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>::Mat_(const Mat_& m) m 1254 modules/core/include/opencv2/core/mat.inl.hpp : Mat(m) m 1263 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>::Mat_(const Mat_& m, const Range& _rowRange, const Range& _colRange) m 1264 modules/core/include/opencv2/core/mat.inl.hpp : Mat(m, _rowRange, _colRange) m 1268 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>::Mat_(const Mat_& m, const Rect& roi) m 1269 modules/core/include/opencv2/core/mat.inl.hpp : Mat(m, roi) m 1281 modules/core/include/opencv2/core/mat.inl.hpp template<typename _Tp> template<int m, int n> inline m 1282 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>::Mat_(const Matx<typename DataType<_Tp>::channel_type, m, n>& M, bool copyData) m 1283 modules/core/include/opencv2/core/mat.inl.hpp : Mat(m, n / DataType<_Tp>::channels, DataType<_Tp>::type, (void*)&M) m 1319 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>& Mat_<_Tp>::operator = (const Mat& m) m 1321 modules/core/include/opencv2/core/mat.inl.hpp if( DataType<_Tp>::type == m.type() ) m 1323 modules/core/include/opencv2/core/mat.inl.hpp Mat::operator = (m); m 1326 modules/core/include/opencv2/core/mat.inl.hpp if( DataType<_Tp>::depth == m.depth() ) m 1328 modules/core/include/opencv2/core/mat.inl.hpp return (*this = m.reshape(DataType<_Tp>::channels, m.dims, 0)); m 1330 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert(DataType<_Tp>::channels == m.channels()); m 1331 modules/core/include/opencv2/core/mat.inl.hpp m.convertTo(*this, type()); m 1336 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>& Mat_<_Tp>::operator = (const Mat_& m) m 1338 modules/core/include/opencv2/core/mat.inl.hpp Mat::operator=(m); m 1369 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp> Mat_<_Tp>::cross(const Mat_& m) const m 1371 modules/core/include/opencv2/core/mat.inl.hpp return Mat_<_Tp>(Mat::cross(m)); m 1592 modules/core/include/opencv2/core/mat.inl.hpp template<typename _Tp> template<int m, int n> inline m 1593 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>::operator Matx<typename DataType<_Tp>::channel_type, m, n>() const m 1597 modules/core/include/opencv2/core/mat.inl.hpp Matx<typename DataType<_Tp>::channel_type, m, n> res = this->Mat::operator Matx<typename DataType<_Tp>::channel_type, m, n>(); m 1650 modules/core/include/opencv2/core/mat.inl.hpp SparseMat::SparseMat(const SparseMat& m) m 1651 modules/core/include/opencv2/core/mat.inl.hpp : flags(m.flags), hdr(m.hdr) m 1663 modules/core/include/opencv2/core/mat.inl.hpp SparseMat& SparseMat::operator = (const SparseMat& m) m 1665 modules/core/include/opencv2/core/mat.inl.hpp if( this != &m ) m 1667 modules/core/include/opencv2/core/mat.inl.hpp if( m.hdr ) m 1668 modules/core/include/opencv2/core/mat.inl.hpp CV_XADD(&m.hdr->refcount, 1); m 1670 modules/core/include/opencv2/core/mat.inl.hpp flags = m.flags; m 1671 modules/core/include/opencv2/core/mat.inl.hpp hdr = m.hdr; m 1677 modules/core/include/opencv2/core/mat.inl.hpp SparseMat& SparseMat::operator = (const Mat& m) m 1679 modules/core/include/opencv2/core/mat.inl.hpp return (*this = SparseMat(m)); m 1691 modules/core/include/opencv2/core/mat.inl.hpp void SparseMat::assignTo( SparseMat& m, int _type ) const m 1694 modules/core/include/opencv2/core/mat.inl.hpp m = *this; m 1696 modules/core/include/opencv2/core/mat.inl.hpp convertTo(m, _type); m 1975 modules/core/include/opencv2/core/mat.inl.hpp SparseMat_<_Tp>::SparseMat_(const SparseMat& m) m 1977 modules/core/include/opencv2/core/mat.inl.hpp if( m.type() == DataType<_Tp>::type ) m 1978 modules/core/include/opencv2/core/mat.inl.hpp *this = (const SparseMat_<_Tp>&)m; m 1980 modules/core/include/opencv2/core/mat.inl.hpp m.convertTo(*this, DataType<_Tp>::type); m 1984 modules/core/include/opencv2/core/mat.inl.hpp SparseMat_<_Tp>::SparseMat_(const SparseMat_<_Tp>& m) m 1986 modules/core/include/opencv2/core/mat.inl.hpp this->flags = m.flags; m 1987 modules/core/include/opencv2/core/mat.inl.hpp this->hdr = m.hdr; m 1993 modules/core/include/opencv2/core/mat.inl.hpp SparseMat_<_Tp>::SparseMat_(const Mat& m) m 1995 modules/core/include/opencv2/core/mat.inl.hpp SparseMat sm(m); m 2000 modules/core/include/opencv2/core/mat.inl.hpp SparseMat_<_Tp>& SparseMat_<_Tp>::operator = (const SparseMat_<_Tp>& m) m 2002 modules/core/include/opencv2/core/mat.inl.hpp if( this != &m ) m 2004 modules/core/include/opencv2/core/mat.inl.hpp if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); m 2006 modules/core/include/opencv2/core/mat.inl.hpp flags = m.flags; m 2007 modules/core/include/opencv2/core/mat.inl.hpp hdr = m.hdr; m 2013 modules/core/include/opencv2/core/mat.inl.hpp SparseMat_<_Tp>& SparseMat_<_Tp>::operator = (const SparseMat& m) m 2015 modules/core/include/opencv2/core/mat.inl.hpp if( m.type() == DataType<_Tp>::type ) m 2016 modules/core/include/opencv2/core/mat.inl.hpp return (*this = (const SparseMat_<_Tp>&)m); m 2017 modules/core/include/opencv2/core/mat.inl.hpp m.convertTo(*this, DataType<_Tp>::type); m 2022 modules/core/include/opencv2/core/mat.inl.hpp SparseMat_<_Tp>& SparseMat_<_Tp>::operator = (const Mat& m) m 2024 modules/core/include/opencv2/core/mat.inl.hpp return (*this = SparseMat(m)); m 2030 modules/core/include/opencv2/core/mat.inl.hpp SparseMat_<_Tp> m; m 2031 modules/core/include/opencv2/core/mat.inl.hpp this->copyTo(m); m 2032 modules/core/include/opencv2/core/mat.inl.hpp return m; m 2141 modules/core/include/opencv2/core/mat.inl.hpp : m(0), elemSize(0), ptr(0), sliceStart(0), sliceEnd(0) m 2146 modules/core/include/opencv2/core/mat.inl.hpp : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) m 2148 modules/core/include/opencv2/core/mat.inl.hpp if( m && m->isContinuous() ) m 2150 modules/core/include/opencv2/core/mat.inl.hpp sliceStart = m->ptr(); m 2151 modules/core/include/opencv2/core/mat.inl.hpp sliceEnd = sliceStart + m->total()*elemSize; m 2158 modules/core/include/opencv2/core/mat.inl.hpp : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) m 2160 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(m && m->dims <= 2); m 2161 modules/core/include/opencv2/core/mat.inl.hpp if( m->isContinuous() ) m 2163 modules/core/include/opencv2/core/mat.inl.hpp sliceStart = m->ptr(); m 2164 modules/core/include/opencv2/core/mat.inl.hpp sliceEnd = sliceStart + m->total()*elemSize; m 2172 modules/core/include/opencv2/core/mat.inl.hpp : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) m 2174 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(m && m->dims <= 2); m 2175 modules/core/include/opencv2/core/mat.inl.hpp if( m->isContinuous() ) m 2177 modules/core/include/opencv2/core/mat.inl.hpp sliceStart = m->ptr(); m 2178 modules/core/include/opencv2/core/mat.inl.hpp sliceEnd = sliceStart + m->total()*elemSize; m 2186 modules/core/include/opencv2/core/mat.inl.hpp : m(it.m), elemSize(it.elemSize), ptr(it.ptr), sliceStart(it.sliceStart), sliceEnd(it.sliceEnd) m 2192 modules/core/include/opencv2/core/mat.inl.hpp m = it.m; elemSize = it.elemSize; ptr = it.ptr; m 2205 modules/core/include/opencv2/core/mat.inl.hpp if( !m || ofs == 0 ) m 2226 modules/core/include/opencv2/core/mat.inl.hpp if( m && (ptr -= elemSize) < sliceStart ) m 2245 modules/core/include/opencv2/core/mat.inl.hpp if( m && (ptr += elemSize) >= sliceEnd ) m 2264 modules/core/include/opencv2/core/mat.inl.hpp return a.m == b.m && a.ptr == b.ptr; m 2300 modules/core/include/opencv2/core/mat.inl.hpp if( a.m != b.m ) m 2424 modules/core/include/opencv2/core/mat.inl.hpp if( !m ) m 2426 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( m->dims <= 2 ); m 2427 modules/core/include/opencv2/core/mat.inl.hpp if( m->isContinuous() ) m 2429 modules/core/include/opencv2/core/mat.inl.hpp ptrdiff_t ofs = (const _Tp*)ptr - (const _Tp*)m->data; m 2430 modules/core/include/opencv2/core/mat.inl.hpp int y = (int)(ofs / m->cols); m 2431 modules/core/include/opencv2/core/mat.inl.hpp int x = (int)(ofs - (ptrdiff_t)y * m->cols); m 2436 modules/core/include/opencv2/core/mat.inl.hpp ptrdiff_t ofs = (uchar*)ptr - m->data; m 2437 modules/core/include/opencv2/core/mat.inl.hpp int y = (int)(ofs / m->step); m 2438 modules/core/include/opencv2/core/mat.inl.hpp int x = (int)((ofs - y * m->step)/sizeof(_Tp)); m 2447 modules/core/include/opencv2/core/mat.inl.hpp return a.m == b.m && a.ptr == b.ptr; m 2453 modules/core/include/opencv2/core/mat.inl.hpp return a.m != b.m || a.ptr != b.ptr; m 2584 modules/core/include/opencv2/core/mat.inl.hpp return a.m == b.m && a.ptr == b.ptr; m 2590 modules/core/include/opencv2/core/mat.inl.hpp return a.m != b.m || a.ptr != b.ptr; m 2620 modules/core/include/opencv2/core/mat.inl.hpp : m(0), hashidx(0), ptr(0) m 2625 modules/core/include/opencv2/core/mat.inl.hpp : m(it.m), hashidx(it.hashidx), ptr(it.ptr) m 2632 modules/core/include/opencv2/core/mat.inl.hpp m = it.m; m 2648 modules/core/include/opencv2/core/mat.inl.hpp return (ptr && m && m->hdr) ? (const SparseMat::Node*)(const void*)(ptr - m->hdr->valueOffset) : 0; m 2662 modules/core/include/opencv2/core/mat.inl.hpp if( m && m->hdr ) m 2664 modules/core/include/opencv2/core/mat.inl.hpp hashidx = m->hdr->hashtab.size(); m 2673 modules/core/include/opencv2/core/mat.inl.hpp return it1.m == it2.m && it1.ptr == it2.ptr; m 2852 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( this->it < ((const Mat_<_Tp>*)this->it.m)->end() ); m 2861 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( this->it == ((const Mat_<_Tp>*)this->it.m)->end() ); m 2862 modules/core/include/opencv2/core/mat.inl.hpp return Mat_<_Tp>(*this->it.m); m 2867 modules/core/include/opencv2/core/mat.inl.hpp MatCommaInitializer_<_Tp> operator << (const Mat_<_Tp>& m, T2 val) m 2869 modules/core/include/opencv2/core/mat.inl.hpp MatCommaInitializer_<_Tp> commaInitializer((Mat_<_Tp>*)&m); m 2947 modules/core/include/opencv2/core/mat.inl.hpp Mat m; m 2948 modules/core/include/opencv2/core/mat.inl.hpp op->assign(*this, m); m 2949 modules/core/include/opencv2/core/mat.inl.hpp return m; m 2955 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp> m; m 2956 modules/core/include/opencv2/core/mat.inl.hpp op->assign(*this, m, DataType<_Tp>::type); m 2957 modules/core/include/opencv2/core/mat.inl.hpp return m; m 2998 modules/core/include/opencv2/core/mat.inl.hpp MatExpr abs(const Mat_<_Tp>& m) m 3000 modules/core/include/opencv2/core/mat.inl.hpp return cv::abs((const Mat&)m); m 3170 modules/core/include/opencv2/core/mat.inl.hpp UMat::UMat(const UMat& m) m 3171 modules/core/include/opencv2/core/mat.inl.hpp : flags(m.flags), dims(m.dims), rows(m.rows), cols(m.cols), allocator(m.allocator), m 3172 modules/core/include/opencv2/core/mat.inl.hpp usageFlags(m.usageFlags), u(m.u), offset(m.offset), size(&rows) m 3175 modules/core/include/opencv2/core/mat.inl.hpp if( m.dims <= 2 ) m 3177 modules/core/include/opencv2/core/mat.inl.hpp step[0] = m.step[0]; step[1] = m.step[1]; m 3182 modules/core/include/opencv2/core/mat.inl.hpp copySize(m); m 3205 modules/core/include/opencv2/core/mat.inl.hpp UMat& UMat::operator = (const UMat& m) m 3207 modules/core/include/opencv2/core/mat.inl.hpp if( this != &m ) m 3209 modules/core/include/opencv2/core/mat.inl.hpp const_cast<UMat&>(m).addref(); m 3211 modules/core/include/opencv2/core/mat.inl.hpp flags = m.flags; m 3212 modules/core/include/opencv2/core/mat.inl.hpp if( dims <= 2 && m.dims <= 2 ) m 3214 modules/core/include/opencv2/core/mat.inl.hpp dims = m.dims; m 3215 modules/core/include/opencv2/core/mat.inl.hpp rows = m.rows; m 3216 modules/core/include/opencv2/core/mat.inl.hpp cols = m.cols; m 3217 modules/core/include/opencv2/core/mat.inl.hpp step[0] = m.step[0]; m 3218 modules/core/include/opencv2/core/mat.inl.hpp step[1] = m.step[1]; m 3221 modules/core/include/opencv2/core/mat.inl.hpp copySize(m); m 3222 modules/core/include/opencv2/core/mat.inl.hpp allocator = m.allocator; m 3224 modules/core/include/opencv2/core/mat.inl.hpp usageFlags = m.usageFlags; m 3225 modules/core/include/opencv2/core/mat.inl.hpp u = m.u; m 3226 modules/core/include/opencv2/core/mat.inl.hpp offset = m.offset; m 3270 modules/core/include/opencv2/core/mat.inl.hpp UMat m; m 3271 modules/core/include/opencv2/core/mat.inl.hpp copyTo(m); m 3272 modules/core/include/opencv2/core/mat.inl.hpp return m; m 3276 modules/core/include/opencv2/core/mat.inl.hpp void UMat::assignTo( UMat& m, int _type ) const m 3279 modules/core/include/opencv2/core/mat.inl.hpp m = *this; m 3281 modules/core/include/opencv2/core/mat.inl.hpp convertTo(m, _type); m 86 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> class Matx m 90 modules/core/include/opencv2/core/matx.hpp rows = m, m 94 modules/core/include/opencv2/core/matx.hpp shortdim = (m < n ? m : n) m 132 modules/core/include/opencv2/core/matx.hpp _Tp dot(const Matx<_Tp, m, n>& v) const; m 135 modules/core/include/opencv2/core/matx.hpp double ddot(const Matx<_Tp, m, n>& v) const; m 138 modules/core/include/opencv2/core/matx.hpp template<typename T2> operator Matx<T2, m, n>() const; m 150 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, 1> col(int i) const; m 156 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, n, m> t() const; m 159 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, n, m> inv(int method=DECOMP_LU, bool *p_is_ok = NULL) const; m 162 modules/core/include/opencv2/core/matx.hpp template<int l> Matx<_Tp, n, l> solve(const Matx<_Tp, m, l>& rhs, int flags=DECOMP_LU) const; m 163 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, n> solve(const Vec<_Tp, m>& rhs, int method) const; m 166 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> mul(const Matx<_Tp, m, n>& a) const; m 169 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> div(const Matx<_Tp, m, n>& a) const; m 179 modules/core/include/opencv2/core/matx.hpp Matx(const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b, Matx_AddOp); m 180 modules/core/include/opencv2/core/matx.hpp Matx(const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b, Matx_SubOp); m 181 modules/core/include/opencv2/core/matx.hpp template<typename _T2> Matx(const Matx<_Tp, m, n>& a, _T2 alpha, Matx_ScaleOp); m 182 modules/core/include/opencv2/core/matx.hpp Matx(const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b, Matx_MulOp); m 183 modules/core/include/opencv2/core/matx.hpp Matx(const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b, Matx_DivOp); m 184 modules/core/include/opencv2/core/matx.hpp template<int l> Matx(const Matx<_Tp, m, l>& a, const Matx<_Tp, l, n>& b, Matx_MatMulOp); m 185 modules/core/include/opencv2/core/matx.hpp Matx(const Matx<_Tp, n, m>& a, Matx_TOp); m 187 modules/core/include/opencv2/core/matx.hpp _Tp val[m*n]; //< matrix elements m 231 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> class DataType< Matx<_Tp, m, n> > m 241 modules/core/include/opencv2/core/matx.hpp channels = m * n, m 249 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> class MatxCommaInitializer m 252 modules/core/include/opencv2/core/matx.hpp MatxCommaInitializer(Matx<_Tp, m, n>* _mtx); m 253 modules/core/include/opencv2/core/matx.hpp template<typename T2> MatxCommaInitializer<_Tp, m, n>& operator , (T2 val); m 254 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator *() const; m 256 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>* dst; m 263 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m> static double determinant(const Matx<_Tp, m, m>& a); m 264 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static double trace(const Matx<_Tp, m, n>& a); m 265 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static double norm(const Matx<_Tp, m, n>& M); m 266 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static double norm(const Matx<_Tp, m, n>& M, int normType); m 407 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m> class VecCommaInitializer : public MatxCommaInitializer<_Tp, m, 1> m 410 modules/core/include/opencv2/core/matx.hpp VecCommaInitializer(Vec<_Tp, m>* _vec); m 411 modules/core/include/opencv2/core/matx.hpp template<typename T2> VecCommaInitializer<_Tp, m>& operator , (T2 val); m 412 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, m> operator *() const; m 425 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m> struct Matx_DetOp m 427 modules/core/include/opencv2/core/matx.hpp double operator ()(const Matx<_Tp, m, m>& a) const m 429 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, m> temp = a; m 430 modules/core/include/opencv2/core/matx.hpp double p = LU(temp.val, m*sizeof(_Tp), m, 0, 0, 0); m 433 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m; i++ ) m 481 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 482 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx() m 487 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 488 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(_Tp v0) m 494 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 495 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(_Tp v0, _Tp v1) m 502 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 503 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(_Tp v0, _Tp v1, _Tp v2) m 510 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 511 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3) m 518 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 519 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4) m 526 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 527 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5) m 535 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 536 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6) m 544 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 545 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7) m 553 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 554 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8) m 563 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 564 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8, _Tp v9) m 574 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 575 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n>::Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8, _Tp v9, _Tp v10, _Tp v11) m 583 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 584 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n>::Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8, _Tp v9, _Tp v10, _Tp v11, _Tp v12, _Tp v13, _Tp v14, _Tp v15) m 593 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 594 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>::Matx(const _Tp* values) m 599 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 600 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> Matx<_Tp, m, n>::all(_Tp alpha) m 602 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> M; m 603 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m*n; i++ ) M.val[i] = alpha; m 607 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 608 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n> Matx<_Tp,m,n>::zeros() m 613 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 614 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n> Matx<_Tp,m,n>::ones() m 619 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 620 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n> Matx<_Tp,m,n>::eye() m 622 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n> M; m 628 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 629 modules/core/include/opencv2/core/matx.hpp _Tp Matx<_Tp, m, n>::dot(const Matx<_Tp, m, n>& M) const m 636 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 637 modules/core/include/opencv2/core/matx.hpp double Matx<_Tp, m, n>::ddot(const Matx<_Tp, m, n>& M) const m 644 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 645 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n> Matx<_Tp,m,n>::diag(const typename Matx<_Tp,m,n>::diag_type& d) m 647 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n> M; m 653 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> template<typename T2> m 654 modules/core/include/opencv2/core/matx.hpp inline Matx<_Tp, m, n>::operator Matx<T2, m, n>() const m 656 modules/core/include/opencv2/core/matx.hpp Matx<T2, m, n> M; m 657 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m*n; i++ ) M.val[i] = saturate_cast<T2>(val[i]); m 661 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> template<int m1, int n1> inline m 662 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m1, n1> Matx<_Tp, m, n>::reshape() const m 664 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(m1*n1 == m*n, "Input and destnarion matrices must have the same number of elements"); m 668 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> m 670 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m1, n1> Matx<_Tp, m, n>::get_minor(int i, int j) const m 672 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert(0 <= i && i+m1 <= m && 0 <= j && j+n1 <= n); m 680 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 681 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, 1, n> Matx<_Tp, m, n>::row(int i) const m 683 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert((unsigned)i < (unsigned)m); m 687 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 688 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, 1> Matx<_Tp, m, n>::col(int j) const m 691 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, 1> v; m 692 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m; i++ ) m 697 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 698 modules/core/include/opencv2/core/matx.hpp typename Matx<_Tp, m, n>::diag_type Matx<_Tp, m, n>::diag() const m 706 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 707 modules/core/include/opencv2/core/matx.hpp const _Tp& Matx<_Tp, m, n>::operator()(int i, int j) const m 709 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert( (unsigned)i < (unsigned)m && (unsigned)j < (unsigned)n ); m 713 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 714 modules/core/include/opencv2/core/matx.hpp _Tp& Matx<_Tp, m, n>::operator ()(int i, int j) m 716 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert( (unsigned)i < (unsigned)m && (unsigned)j < (unsigned)n ); m 720 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 721 modules/core/include/opencv2/core/matx.hpp const _Tp& Matx<_Tp, m, n>::operator ()(int i) const m 723 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(m == 1 || n == 1, "Single index indexation requires matrix to be a column or a row"); m 724 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert( (unsigned)i < (unsigned)(m+n-1) ); m 728 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 729 modules/core/include/opencv2/core/matx.hpp _Tp& Matx<_Tp, m, n>::operator ()(int i) m 731 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(m == 1 || n == 1, "Single index indexation requires matrix to be a column or a row"); m 732 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert( (unsigned)i < (unsigned)(m+n-1) ); m 736 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 737 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n>::Matx(const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b, Matx_AddOp) m 743 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 744 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n>::Matx(const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b, Matx_SubOp) m 750 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> template<typename _T2> inline m 751 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n>::Matx(const Matx<_Tp, m, n>& a, _T2 alpha, Matx_ScaleOp) m 757 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 758 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n>::Matx(const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b, Matx_MulOp) m 764 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 765 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n>::Matx(const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b, Matx_DivOp) m 771 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> template<int l> inline m 772 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n>::Matx(const Matx<_Tp, m, l>& a, const Matx<_Tp, l, n>& b, Matx_MatMulOp) m 774 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m; i++ ) m 784 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 785 modules/core/include/opencv2/core/matx.hpp Matx<_Tp,m,n>::Matx(const Matx<_Tp, n, m>& a, Matx_TOp) m 787 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m; i++ ) m 792 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 793 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> Matx<_Tp, m, n>::mul(const Matx<_Tp, m, n>& a) const m 795 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(*this, a, Matx_MulOp()); m 798 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 799 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> Matx<_Tp, m, n>::div(const Matx<_Tp, m, n>& a) const m 801 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(*this, a, Matx_DivOp()); m 804 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 805 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, n, m> Matx<_Tp, m, n>::t() const m 807 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, n, m>(*this, Matx_TOp()); m 810 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 811 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, n> Matx<_Tp, m, n>::solve(const Vec<_Tp, m>& rhs, int method) const m 813 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, n, 1> x = solve((const Matx<_Tp, m, 1>&)(rhs), method); m 817 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m> static inline m 818 modules/core/include/opencv2/core/matx.hpp double determinant(const Matx<_Tp, m, m>& a) m 820 modules/core/include/opencv2/core/matx.hpp return cv::internal::Matx_DetOp<_Tp, m>()(a); m 823 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 824 modules/core/include/opencv2/core/matx.hpp double trace(const Matx<_Tp, m, n>& a) m 827 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < std::min(m, n); i++ ) m 832 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 833 modules/core/include/opencv2/core/matx.hpp double norm(const Matx<_Tp, m, n>& M) m 835 modules/core/include/opencv2/core/matx.hpp return std::sqrt(normL2Sqr<_Tp, double>(M.val, m*n)); m 838 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 839 modules/core/include/opencv2/core/matx.hpp double norm(const Matx<_Tp, m, n>& M, int normType) m 841 modules/core/include/opencv2/core/matx.hpp return normType == NORM_INF ? (double)normInf<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n) : m 842 modules/core/include/opencv2/core/matx.hpp normType == NORM_L1 ? (double)normL1<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n) : m 843 modules/core/include/opencv2/core/matx.hpp std::sqrt((double)normL2Sqr<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n)); m 850 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, typename _T2, int m, int n> static inline m 851 modules/core/include/opencv2/core/matx.hpp MatxCommaInitializer<_Tp, m, n> operator << (const Matx<_Tp, m, n>& mtx, _T2 val) m 853 modules/core/include/opencv2/core/matx.hpp MatxCommaInitializer<_Tp, m, n> commaInitializer((Matx<_Tp, m, n>*)&mtx); m 857 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 858 modules/core/include/opencv2/core/matx.hpp MatxCommaInitializer<_Tp, m, n>::MatxCommaInitializer(Matx<_Tp, m, n>* _mtx) m 862 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> template<typename _T2> inline m 863 modules/core/include/opencv2/core/matx.hpp MatxCommaInitializer<_Tp, m, n>& MatxCommaInitializer<_Tp, m, n>::operator , (_T2 value) m 865 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert( idx < m*n ); m 870 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> inline m 871 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> MatxCommaInitializer<_Tp, m, n>::operator *() const m 873 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert( idx == n*m ); m 929 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(const Vec<_Tp, cn>& m) m 930 modules/core/include/opencv2/core/matx.hpp : Matx<_Tp, cn, 1>(m.val) {} m 1089 modules/core/include/opencv2/core/matx.hpp template<typename _Tp1, typename _Tp2, int m, int n> static inline m 1090 modules/core/include/opencv2/core/matx.hpp Matx<_Tp1, m, n>& operator += (Matx<_Tp1, m, n>& a, const Matx<_Tp2, m, n>& b) m 1092 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m*n; i++ ) m 1097 modules/core/include/opencv2/core/matx.hpp template<typename _Tp1, typename _Tp2, int m, int n> static inline m 1098 modules/core/include/opencv2/core/matx.hpp Matx<_Tp1, m, n>& operator -= (Matx<_Tp1, m, n>& a, const Matx<_Tp2, m, n>& b) m 1100 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m*n; i++ ) m 1105 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1106 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator + (const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b) m 1108 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(a, b, Matx_AddOp()); m 1111 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1112 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator - (const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b) m 1114 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(a, b, Matx_SubOp()); m 1117 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1118 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>& operator *= (Matx<_Tp, m, n>& a, int alpha) m 1120 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m*n; i++ ) m 1125 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1126 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>& operator *= (Matx<_Tp, m, n>& a, float alpha) m 1128 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m*n; i++ ) m 1133 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1134 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n>& operator *= (Matx<_Tp, m, n>& a, double alpha) m 1136 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m*n; i++ ) m 1141 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1142 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator * (const Matx<_Tp, m, n>& a, int alpha) m 1144 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(a, alpha, Matx_ScaleOp()); m 1147 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1148 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator * (const Matx<_Tp, m, n>& a, float alpha) m 1150 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(a, alpha, Matx_ScaleOp()); m 1153 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1154 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator * (const Matx<_Tp, m, n>& a, double alpha) m 1156 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(a, alpha, Matx_ScaleOp()); m 1159 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1160 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator * (int alpha, const Matx<_Tp, m, n>& a) m 1162 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(a, alpha, Matx_ScaleOp()); m 1165 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1166 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator * (float alpha, const Matx<_Tp, m, n>& a) m 1168 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(a, alpha, Matx_ScaleOp()); m 1171 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1172 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator * (double alpha, const Matx<_Tp, m, n>& a) m 1174 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(a, alpha, Matx_ScaleOp()); m 1177 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1178 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator - (const Matx<_Tp, m, n>& a) m 1180 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(a, -1, Matx_ScaleOp()); m 1183 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n, int l> static inline m 1184 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, n> operator * (const Matx<_Tp, m, l>& a, const Matx<_Tp, l, n>& b) m 1186 modules/core/include/opencv2/core/matx.hpp return Matx<_Tp, m, n>(a, b, Matx_MatMulOp()); m 1189 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1190 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, m> operator * (const Matx<_Tp, m, n>& a, const Vec<_Tp, n>& b) m 1192 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m, 1> c(a, b, Matx_MatMulOp()); m 1193 modules/core/include/opencv2/core/matx.hpp return (const Vec<_Tp, m>&)(c); m 1196 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1197 modules/core/include/opencv2/core/matx.hpp bool operator == (const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b) m 1199 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < m*n; i++ ) m 1204 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static inline m 1205 modules/core/include/opencv2/core/matx.hpp bool operator != (const Matx<_Tp, m, n>& a, const Matx<_Tp, m, n>& b) m 310 modules/core/include/opencv2/core/ocl.hpp static KernelArg PtrWriteOnly(const UMat& m) m 311 modules/core/include/opencv2/core/ocl.hpp { return KernelArg(PTR_ONLY+WRITE_ONLY, (UMat*)&m); } m 312 modules/core/include/opencv2/core/ocl.hpp static KernelArg PtrReadOnly(const UMat& m) m 313 modules/core/include/opencv2/core/ocl.hpp { return KernelArg(PTR_ONLY+READ_ONLY, (UMat*)&m); } m 314 modules/core/include/opencv2/core/ocl.hpp static KernelArg PtrReadWrite(const UMat& m) m 315 modules/core/include/opencv2/core/ocl.hpp { return KernelArg(PTR_ONLY+READ_WRITE, (UMat*)&m); } m 316 modules/core/include/opencv2/core/ocl.hpp static KernelArg ReadWrite(const UMat& m, int wscale=1, int iwscale=1) m 317 modules/core/include/opencv2/core/ocl.hpp { return KernelArg(READ_WRITE, (UMat*)&m, wscale, iwscale); } m 318 modules/core/include/opencv2/core/ocl.hpp static KernelArg ReadWriteNoSize(const UMat& m, int wscale=1, int iwscale=1) m 319 modules/core/include/opencv2/core/ocl.hpp { return KernelArg(READ_WRITE+NO_SIZE, (UMat*)&m, wscale, iwscale); } m 320 modules/core/include/opencv2/core/ocl.hpp static KernelArg ReadOnly(const UMat& m, int wscale=1, int iwscale=1) m 321 modules/core/include/opencv2/core/ocl.hpp { return KernelArg(READ_ONLY, (UMat*)&m, wscale, iwscale); } m 322 modules/core/include/opencv2/core/ocl.hpp static KernelArg WriteOnly(const UMat& m, int wscale=1, int iwscale=1) m 323 modules/core/include/opencv2/core/ocl.hpp { return KernelArg(WRITE_ONLY, (UMat*)&m, wscale, iwscale); } m 324 modules/core/include/opencv2/core/ocl.hpp static KernelArg ReadOnlyNoSize(const UMat& m, int wscale=1, int iwscale=1) m 325 modules/core/include/opencv2/core/ocl.hpp { return KernelArg(READ_ONLY+NO_SIZE, (UMat*)&m, wscale, iwscale); } m 326 modules/core/include/opencv2/core/ocl.hpp static KernelArg WriteOnlyNoSize(const UMat& m, int wscale=1, int iwscale=1) m 327 modules/core/include/opencv2/core/ocl.hpp { return KernelArg(WRITE_ONLY+NO_SIZE, (UMat*)&m, wscale, iwscale); } m 328 modules/core/include/opencv2/core/ocl.hpp static KernelArg Constant(const Mat& m); m 333 modules/core/include/opencv2/core/ocl.hpp UMat* m; m 358 modules/core/include/opencv2/core/ocl.hpp int set(int i, const UMat& m); m 64 modules/core/include/opencv2/core/operations.hpp template<typename _Tp, int m> struct Matx_FastInvOp m 66 modules/core/include/opencv2/core/operations.hpp bool operator()(const Matx<_Tp, m, m>& a, Matx<_Tp, m, m>& b, int method) const m 68 modules/core/include/opencv2/core/operations.hpp Matx<_Tp, m, m> temp = a; m 71 modules/core/include/opencv2/core/operations.hpp for( int i = 0; i < m; i++ ) m 75 modules/core/include/opencv2/core/operations.hpp return Cholesky(temp.val, m*sizeof(_Tp), m, b.val, m*sizeof(_Tp), m); m 77 modules/core/include/opencv2/core/operations.hpp return LU(temp.val, m*sizeof(_Tp), m, b.val, m*sizeof(_Tp), m) != 0; m 121 modules/core/include/opencv2/core/operations.hpp template<typename _Tp, int m, int n> struct Matx_FastSolveOp m 123 modules/core/include/opencv2/core/operations.hpp bool operator()(const Matx<_Tp, m, m>& a, const Matx<_Tp, m, n>& b, m 124 modules/core/include/opencv2/core/operations.hpp Matx<_Tp, m, n>& x, int method) const m 126 modules/core/include/opencv2/core/operations.hpp Matx<_Tp, m, m> temp = a; m 129 modules/core/include/opencv2/core/operations.hpp return Cholesky(temp.val, m*sizeof(_Tp), m, x.val, n*sizeof(_Tp), n); m 131 modules/core/include/opencv2/core/operations.hpp return LU(temp.val, m*sizeof(_Tp), m, x.val, n*sizeof(_Tp), n) != 0; m 176 modules/core/include/opencv2/core/operations.hpp template<typename _Tp, int m, int n> inline m 177 modules/core/include/opencv2/core/operations.hpp Matx<_Tp,m,n> Matx<_Tp,m,n>::randu(_Tp a, _Tp b) m 179 modules/core/include/opencv2/core/operations.hpp Matx<_Tp,m,n> M; m 184 modules/core/include/opencv2/core/operations.hpp template<typename _Tp, int m, int n> inline m 185 modules/core/include/opencv2/core/operations.hpp Matx<_Tp,m,n> Matx<_Tp,m,n>::randn(_Tp a, _Tp b) m 187 modules/core/include/opencv2/core/operations.hpp Matx<_Tp,m,n> M; m 192 modules/core/include/opencv2/core/operations.hpp template<typename _Tp, int m, int n> inline m 193 modules/core/include/opencv2/core/operations.hpp Matx<_Tp, n, m> Matx<_Tp, m, n>::inv(int method, bool *p_is_ok /*= NULL*/) const m 195 modules/core/include/opencv2/core/operations.hpp Matx<_Tp, n, m> b; m 198 modules/core/include/opencv2/core/operations.hpp ok = cv::internal::Matx_FastInvOp<_Tp, m>()(*this, b, method); m 205 modules/core/include/opencv2/core/operations.hpp return ok ? b : Matx<_Tp, n, m>::zeros(); m 208 modules/core/include/opencv2/core/operations.hpp template<typename _Tp, int m, int n> template<int l> inline m 209 modules/core/include/opencv2/core/operations.hpp Matx<_Tp, n, l> Matx<_Tp, m, n>::solve(const Matx<_Tp, m, l>& rhs, int method) const m 214 modules/core/include/opencv2/core/operations.hpp ok = cv::internal::Matx_FastSolveOp<_Tp, m, l>()(*this, rhs, x, method); m 290 modules/core/include/opencv2/core/operations.hpp inline SVD::SVD( InputArray m, int flags ) { operator ()(m, flags); } m 291 modules/core/include/opencv2/core/operations.hpp inline void SVD::solveZ( InputArray m, OutputArray _dst ) m 293 modules/core/include/opencv2/core/operations.hpp Mat mtx = m.getMat(); m 300 modules/core/include/opencv2/core/operations.hpp template<typename _Tp, int m, int n, int nm> inline void m 301 modules/core/include/opencv2/core/operations.hpp SVD::compute( const Matx<_Tp, m, n>& a, Matx<_Tp, nm, 1>& w, Matx<_Tp, m, nm>& u, Matx<_Tp, n, nm>& vt ) m 303 modules/core/include/opencv2/core/operations.hpp CV_StaticAssert( nm == MIN(m, n), "Invalid size of output vector."); m 309 modules/core/include/opencv2/core/operations.hpp template<typename _Tp, int m, int n, int nm> inline void m 310 modules/core/include/opencv2/core/operations.hpp SVD::compute( const Matx<_Tp, m, n>& a, Matx<_Tp, nm, 1>& w ) m 312 modules/core/include/opencv2/core/operations.hpp CV_StaticAssert( nm == MIN(m, n), "Invalid size of output vector."); m 318 modules/core/include/opencv2/core/operations.hpp template<typename _Tp, int m, int n, int nm, int nb> inline void m 319 modules/core/include/opencv2/core/operations.hpp SVD::backSubst( const Matx<_Tp, nm, 1>& w, const Matx<_Tp, m, nm>& u, m 320 modules/core/include/opencv2/core/operations.hpp const Matx<_Tp, n, nm>& vt, const Matx<_Tp, m, nb>& rhs, m 323 modules/core/include/opencv2/core/operations.hpp CV_StaticAssert( nm == MIN(m, n), "Invalid size of output vector."); m 411 modules/core/include/opencv2/core/operations.hpp template<typename _Tp, int m, int n> static inline m 412 modules/core/include/opencv2/core/operations.hpp int print(const Matx<_Tp, m, n>& matx, FILE* stream = stdout) m 742 modules/core/include/opencv2/core/types.hpp bool operator<(const DMatch &m) const; m 2207 modules/core/include/opencv2/core/types.hpp bool DMatch::operator < (const DMatch &m) const m 2209 modules/core/include/opencv2/core/types.hpp return distance < m.distance; m 335 modules/core/include/opencv2/core/types_c.h _IplImage(const cv::Mat& m); m 461 modules/core/include/opencv2/core/types_c.h CvMat(const CvMat& m) { memcpy(this, &m, sizeof(CvMat));} m 462 modules/core/include/opencv2/core/types_c.h CvMat(const cv::Mat& m); m 511 modules/core/include/opencv2/core/types_c.h CvMat m; m 515 modules/core/include/opencv2/core/types_c.h m.type = CV_MAT_MAGIC_VAL | CV_MAT_CONT_FLAG | type; m 516 modules/core/include/opencv2/core/types_c.h m.cols = cols; m 517 modules/core/include/opencv2/core/types_c.h m.rows = rows; m 518 modules/core/include/opencv2/core/types_c.h m.step = m.cols*CV_ELEM_SIZE(type); m 519 modules/core/include/opencv2/core/types_c.h m.data.ptr = (uchar*)data; m 520 modules/core/include/opencv2/core/types_c.h m.refcount = NULL; m 521 modules/core/include/opencv2/core/types_c.h m.hdr_refcount = 0; m 523 modules/core/include/opencv2/core/types_c.h return m; m 527 modules/core/include/opencv2/core/types_c.h inline CvMat::CvMat(const cv::Mat& m) m 529 modules/core/include/opencv2/core/types_c.h CV_DbgAssert(m.dims <= 2); m 530 modules/core/include/opencv2/core/types_c.h *this = cvMat(m.rows, m.dims == 1 ? 1 : m.cols, m.type(), m.data); m 531 modules/core/include/opencv2/core/types_c.h step = (int)m.step[0]; m 532 modules/core/include/opencv2/core/types_c.h type = (type & ~cv::Mat::CONTINUOUS_FLAG) | (m.flags & cv::Mat::CONTINUOUS_FLAG); m 652 modules/core/include/opencv2/core/types_c.h CvMatND(const cv::Mat& m); m 692 modules/core/include/opencv2/core/types_c.h void copyToSparseMat(cv::SparseMat& m) const; m 698 modules/core/include/opencv2/core/types_c.h CV_EXPORTS CvSparseMat* cvCreateSparseMat(const cv::SparseMat& m); m 492 modules/core/include/opencv2/core/utility.hpp Mutex(const Mutex& m); m 493 modules/core/include/opencv2/core/utility.hpp Mutex& operator = (const Mutex& m); m 507 modules/core/include/opencv2/core/utility.hpp AutoLock(Mutex& m) : mutex(&m) { mutex->lock(); } m 86 modules/core/misc/java/src/java/core+Mat.java public Mat(Mat m, Range rowRange, Range colRange) m 89 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(m.nativeObj, rowRange.start, rowRange.end, colRange.start, colRange.end); m 95 modules/core/misc/java/src/java/core+Mat.java public Mat(Mat m, Range rowRange) m 98 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(m.nativeObj, rowRange.start, rowRange.end); m 108 modules/core/misc/java/src/java/core+Mat.java public Mat(Mat m, Rect roi) m 111 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(m.nativeObj, roi.y, roi.y + roi.height, roi.x, roi.x + roi.width); m 134 modules/core/misc/java/src/java/core+Mat.java public void assignTo(Mat m, int type) m 137 modules/core/misc/java/src/java/core+Mat.java n_assignTo(nativeObj, m.nativeObj, type); m 143 modules/core/misc/java/src/java/core+Mat.java public void assignTo(Mat m) m 146 modules/core/misc/java/src/java/core+Mat.java n_assignTo(nativeObj, m.nativeObj); m 280 modules/core/misc/java/src/java/core+Mat.java public void convertTo(Mat m, int rtype, double alpha, double beta) m 283 modules/core/misc/java/src/java/core+Mat.java n_convertTo(nativeObj, m.nativeObj, rtype, alpha, beta); m 289 modules/core/misc/java/src/java/core+Mat.java public void convertTo(Mat m, int rtype, double alpha) m 292 modules/core/misc/java/src/java/core+Mat.java n_convertTo(nativeObj, m.nativeObj, rtype, alpha); m 298 modules/core/misc/java/src/java/core+Mat.java public void convertTo(Mat m, int rtype) m 301 modules/core/misc/java/src/java/core+Mat.java n_convertTo(nativeObj, m.nativeObj, rtype); m 311 modules/core/misc/java/src/java/core+Mat.java public void copyTo(Mat m) m 314 modules/core/misc/java/src/java/core+Mat.java n_copyTo(nativeObj, m.nativeObj); m 324 modules/core/misc/java/src/java/core+Mat.java public void copyTo(Mat m, Mat mask) m 327 modules/core/misc/java/src/java/core+Mat.java n_copyTo(nativeObj, m.nativeObj, mask.nativeObj); m 363 modules/core/misc/java/src/java/core+Mat.java public Mat cross(Mat m) m 366 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_cross(nativeObj, m.nativeObj)); m 437 modules/core/misc/java/src/java/core+Mat.java public double dot(Mat m) m 440 modules/core/misc/java/src/java/core+Mat.java double retVal = n_dot(nativeObj, m.nativeObj); m 578 modules/core/misc/java/src/java/core+Mat.java public Mat mul(Mat m, double scale) m 581 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_mul(nativeObj, m.nativeObj, scale)); m 587 modules/core/misc/java/src/java/core+Mat.java public Mat mul(Mat m) m 590 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_mul(nativeObj, m.nativeObj)); m 626 modules/core/misc/java/src/java/core+Mat.java public void push_back(Mat m) m 629 modules/core/misc/java/src/java/core+Mat.java n_push_back(nativeObj, m.nativeObj); m 26 modules/core/misc/java/src/java/core+MatOfByte.java public MatOfByte(Mat m) { m 27 modules/core/misc/java/src/java/core+MatOfByte.java super(m, Range.all()); m 28 modules/core/misc/java/src/java/core+MatOfDMatch.java public MatOfDMatch(Mat m) { m 29 modules/core/misc/java/src/java/core+MatOfDMatch.java super(m, Range.all()); m 53 modules/core/misc/java/src/java/core+MatOfDMatch.java DMatch m = a[i]; m 54 modules/core/misc/java/src/java/core+MatOfDMatch.java buff[_channels*i+0] = m.queryIdx; m 55 modules/core/misc/java/src/java/core+MatOfDMatch.java buff[_channels*i+1] = m.trainIdx; m 56 modules/core/misc/java/src/java/core+MatOfDMatch.java buff[_channels*i+2] = m.imgIdx; m 57 modules/core/misc/java/src/java/core+MatOfDMatch.java buff[_channels*i+3] = m.distance; m 26 modules/core/misc/java/src/java/core+MatOfDouble.java public MatOfDouble(Mat m) { m 27 modules/core/misc/java/src/java/core+MatOfDouble.java super(m, Range.all()); m 26 modules/core/misc/java/src/java/core+MatOfFloat.java public MatOfFloat(Mat m) { m 27 modules/core/misc/java/src/java/core+MatOfFloat.java super(m, Range.all()); m 26 modules/core/misc/java/src/java/core+MatOfFloat4.java public MatOfFloat4(Mat m) { m 27 modules/core/misc/java/src/java/core+MatOfFloat4.java super(m, Range.all()); m 26 modules/core/misc/java/src/java/core+MatOfFloat6.java public MatOfFloat6(Mat m) { m 27 modules/core/misc/java/src/java/core+MatOfFloat6.java super(m, Range.all()); m 27 modules/core/misc/java/src/java/core+MatOfInt.java public MatOfInt(Mat m) { m 28 modules/core/misc/java/src/java/core+MatOfInt.java super(m, Range.all()); m 27 modules/core/misc/java/src/java/core+MatOfInt4.java public MatOfInt4(Mat m) { m 28 modules/core/misc/java/src/java/core+MatOfInt4.java super(m, Range.all()); m 28 modules/core/misc/java/src/java/core+MatOfKeyPoint.java public MatOfKeyPoint(Mat m) { m 29 modules/core/misc/java/src/java/core+MatOfKeyPoint.java super(m, Range.all()); m 26 modules/core/misc/java/src/java/core+MatOfPoint.java public MatOfPoint(Mat m) { m 27 modules/core/misc/java/src/java/core+MatOfPoint.java super(m, Range.all()); m 26 modules/core/misc/java/src/java/core+MatOfPoint2f.java public MatOfPoint2f(Mat m) { m 27 modules/core/misc/java/src/java/core+MatOfPoint2f.java super(m, Range.all()); m 26 modules/core/misc/java/src/java/core+MatOfPoint3.java public MatOfPoint3(Mat m) { m 27 modules/core/misc/java/src/java/core+MatOfPoint3.java super(m, Range.all()); m 26 modules/core/misc/java/src/java/core+MatOfPoint3f.java public MatOfPoint3f(Mat m) { m 27 modules/core/misc/java/src/java/core+MatOfPoint3f.java super(m, Range.all()); m 27 modules/core/misc/java/src/java/core+MatOfRect.java public MatOfRect(Mat m) { m 28 modules/core/misc/java/src/java/core+MatOfRect.java super(m, Range.all()); m 1186 modules/core/misc/java/test/CoreTest.java Mat m = gray0.clone(); m 1187 modules/core/misc/java/test/CoreTest.java m.diag().setTo(new Scalar(2)); m 1189 modules/core/misc/java/test/CoreTest.java Core.normalize(m, dst); m 1698 modules/core/misc/java/test/CoreTest.java Mat m = gray0_32f; m 1700 modules/core/misc/java/test/CoreTest.java Core.setIdentity(m, new Scalar(5)); m 1702 modules/core/misc/java/test/CoreTest.java truth = new Mat(m.size(), m.type(), new Scalar(0)); m 1704 modules/core/misc/java/test/CoreTest.java assertMatEqual(truth, m, EPS); m 1841 modules/core/misc/java/test/CoreTest.java Mat m = getMat(CvType.CV_8UC3, 1, 2, 3); m 1844 modules/core/misc/java/test/CoreTest.java Core.split(m, cois); m 1955 modules/core/misc/java/test/CoreTest.java Mat m = Mat.eye(2, 2, CvType.CV_32FC1); m 1957 modules/core/misc/java/test/CoreTest.java Core.transform(src, dst, m); m 277 modules/core/misc/java/test/MatTest.java Mat m = new Mat(size, size, type); m 285 modules/core/misc/java/test/MatTest.java m.put(0, 0, buff); m 286 modules/core/misc/java/test/MatTest.java return m; m 290 modules/core/misc/java/test/MatTest.java Mat m = getTestMat(5, CvType.CV_8UC2); m 293 modules/core/misc/java/test/MatTest.java assertTrue(Arrays.equals(new double[] {0, 1}, m.get(0, 0))); m 294 modules/core/misc/java/test/MatTest.java assertTrue(Arrays.equals(new double[] {240, 241}, m.get(2, 4))); m 295 modules/core/misc/java/test/MatTest.java assertTrue(Arrays.equals(new double[] {255, 255}, m.get(4, 4))); m 298 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); m 304 modules/core/misc/java/test/MatTest.java Mat m = getTestMat(5, CvType.CV_32SC3); m 307 modules/core/misc/java/test/MatTest.java assertTrue(Arrays.equals(new double[] {0, 1, 2}, m.get(0, 0))); m 308 modules/core/misc/java/test/MatTest.java assertTrue(Arrays.equals(new double[] {240, 241, 242}, m.get(2, 4))); m 309 modules/core/misc/java/test/MatTest.java assertTrue(Arrays.equals(new double[] {440, 441, 442}, m.get(4, 4))); m 312 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); m 318 modules/core/misc/java/test/MatTest.java Mat m = getTestMat(5, CvType.CV_64FC1); m 321 modules/core/misc/java/test/MatTest.java assertTrue(Arrays.equals(new double[] {0}, m.get(0, 0))); m 322 modules/core/misc/java/test/MatTest.java assertTrue(Arrays.equals(new double[] {240}, m.get(2, 4))); m 323 modules/core/misc/java/test/MatTest.java assertTrue(Arrays.equals(new double[] {440}, m.get(4, 4))); m 326 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); m 332 modules/core/misc/java/test/MatTest.java Mat m = getTestMat(5, CvType.CV_8UC3); m 337 modules/core/misc/java/test/MatTest.java int bytesNum = m.get(1, 1, goodData); m 343 modules/core/misc/java/test/MatTest.java m.get(2, 2, badData); m 350 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); m 362 modules/core/misc/java/test/MatTest.java Mat m = getTestMat(5, CvType.CV_64F); m 366 modules/core/misc/java/test/MatTest.java int bytesNum = m.get(1, 1, buff); m 372 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); m 384 modules/core/misc/java/test/MatTest.java Mat m = getTestMat(5, CvType.CV_32F); m 388 modules/core/misc/java/test/MatTest.java int bytesNum = m.get(1, 1, buff); m 394 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); m 406 modules/core/misc/java/test/MatTest.java Mat m = getTestMat(5, CvType.CV_32SC2); m 410 modules/core/misc/java/test/MatTest.java int bytesNum = m.get(1, 1, buff); m 416 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); m 428 modules/core/misc/java/test/MatTest.java Mat m = getTestMat(5, CvType.CV_16SC2); m 432 modules/core/misc/java/test/MatTest.java int bytesNum = m.get(1, 1, buff); m 438 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); m 513 modules/core/misc/java/test/MatTest.java Mat m = new Mat(); m 514 modules/core/misc/java/test/MatTest.java assertNotNull(m); m 515 modules/core/misc/java/test/MatTest.java assertTrue(m.empty()); m 572 modules/core/misc/java/test/MatTest.java Mat m = new Mat(7, 6, CvType.CV_32SC1); m 573 modules/core/misc/java/test/MatTest.java m.put(0, 0, m 582 modules/core/misc/java/test/MatTest.java dst = new Mat(m, new Rect(1, 2, 3, 4)); m 664 modules/core/misc/java/test/MatTest.java Mat m = new Mat(5, 5, CvType.CV_8UC3, new Scalar(1, 2, 3)); m 665 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); m 670 modules/core/misc/java/test/MatTest.java int bytesNum = m.put(1, 2, buff0); m 673 modules/core/misc/java/test/MatTest.java bytesNum = m.get(1, 2, buff); m 683 modules/core/misc/java/test/MatTest.java bytesNum = m.get(2, 3, buff); m 687 modules/core/misc/java/test/MatTest.java Mat m1 = m.row(1); m 694 modules/core/misc/java/test/MatTest.java m.put(2, 2, bytes2); m 702 modules/core/misc/java/test/MatTest.java Mat m = new Mat(5, 5, CvType.CV_8UC3, new Scalar(1, 2, 3)); m 703 modules/core/misc/java/test/MatTest.java Mat sm = m.submat(2, 4, 3, 5); m 706 modules/core/misc/java/test/MatTest.java int bytesNum = m.put(1, 2, 10, 20, 30, 40, 50, 60); m 709 modules/core/misc/java/test/MatTest.java bytesNum = m.get(1, 2, buff); m 719 modules/core/misc/java/test/MatTest.java bytesNum = m.get(2, 3, buff); m 725 modules/core/misc/java/test/MatTest.java Mat m = new Mat(5, 5, CvType.CV_32FC3, new Scalar(1, 2, 3)); m 728 modules/core/misc/java/test/MatTest.java int bytesNum = m.put(4, 3, elements); m 731 modules/core/misc/java/test/MatTest.java Mat m1 = m.row(4); m 736 modules/core/misc/java/test/MatTest.java assertArrayEquals(new double[]{10, 20, 30}, m.get(4, 3), EPS); m 740 modules/core/misc/java/test/MatTest.java m.put(2, 2, elements2); m 748 modules/core/misc/java/test/MatTest.java Mat m = new Mat(5, 5, CvType.CV_32SC3, new Scalar(-1, -2, -3)); m 751 modules/core/misc/java/test/MatTest.java int bytesNum = m.put(0, 4, elements); m 754 modules/core/misc/java/test/MatTest.java Mat m1 = m.col(4); m 759 modules/core/misc/java/test/MatTest.java assertArrayEquals(new double[]{40, 50, 60}, m.get(1, 0), EPS); m 763 modules/core/misc/java/test/MatTest.java m.put(2, 2, elements2); m 771 modules/core/misc/java/test/MatTest.java Mat m = new Mat(5, 5, CvType.CV_16SC3, new Scalar(-1, -2, -3)); m 774 modules/core/misc/java/test/MatTest.java int bytesNum = m.put(2, 3, elements); m 777 modules/core/misc/java/test/MatTest.java Mat m1 = m.col(3); m 781 modules/core/misc/java/test/MatTest.java assertArrayEquals(new double[]{40, 50, 60}, m.get(2, 4), EPS); m 785 modules/core/misc/java/test/MatTest.java m.put(2, 2, elements2); m 912 modules/core/misc/java/test/MatTest.java Mat m = roi.clone(); m 916 modules/core/misc/java/test/MatTest.java assertTrue(m.channels() * (10 - 7) <= m.step1(0)); m 917 modules/core/misc/java/test/MatTest.java assertEquals(m.channels(), m.step1(1)); m 25 modules/core/perf/perf_split.cpp Mat m(sz, CV_MAKETYPE(depth, channels)); m 26 modules/core/perf/perf_split.cpp randu(m, 0, 255); m 30 modules/core/perf/perf_split.cpp TEST_CYCLE_MULTIRUN(runs) split(m, (vector<Mat>&)mv); m 409 modules/core/src/arithm.cpp __m256i m = _mm256_cmpgt_epi8(b, a); m 410 modules/core/src/arithm.cpp return _mm256_subs_epi8(_mm256_xor_si256(d, m), m); m 417 modules/core/src/arithm.cpp __m256i m = _mm256_min_epi16(a, b); m 418 modules/core/src/arithm.cpp return _mm256_subs_epi16(M, m); m 422 modules/core/src/arithm.cpp __m256i m = _mm256_cmpgt_epi32(b, a); m 423 modules/core/src/arithm.cpp return _mm256_sub_epi32(_mm256_xor_si256(d, m), m); m 521 modules/core/src/arithm.cpp __m128i m = _mm_cmpgt_epi8(a, b); m 522 modules/core/src/arithm.cpp return _mm_xor_si128(a, _mm_and_si128(_mm_xor_si128(a, b), m)); m 527 modules/core/src/arithm.cpp __m128i m = _mm_cmpgt_epi32(a, b); m 528 modules/core/src/arithm.cpp return _mm_xor_si128(a, _mm_and_si128(_mm_xor_si128(a, b), m)); m 536 modules/core/src/arithm.cpp __m128i m = _mm_cmpgt_epi8(b, a); m 537 modules/core/src/arithm.cpp return _mm_xor_si128(a, _mm_and_si128(_mm_xor_si128(a, b), m)); m 542 modules/core/src/arithm.cpp __m128i m = _mm_cmpgt_epi32(b, a); m 543 modules/core/src/arithm.cpp return _mm_xor_si128(a, _mm_and_si128(_mm_xor_si128(a, b), m)); m 558 modules/core/src/arithm.cpp __m128i m = _mm_cmpgt_epi8(b, a); m 559 modules/core/src/arithm.cpp return _mm_subs_epi8(_mm_xor_si128(d, m), m); m 566 modules/core/src/arithm.cpp __m128i m = _mm_min_epi16(a, b); m 567 modules/core/src/arithm.cpp return _mm_subs_epi16(M, m); m 571 modules/core/src/arithm.cpp __m128i m = _mm_cmpgt_epi32(b, a); m 572 modules/core/src/arithm.cpp return _mm_sub_epi32(_mm_xor_si128(d, m), m); m 4503 modules/core/src/arithm.cpp int m = code == CMP_GT ? 0 : 255; m 4511 modules/core/src/arithm.cpp t0 = -(src1[x] > src2[x]) ^ m; m 4512 modules/core/src/arithm.cpp t1 = -(src1[x+1] > src2[x+1]) ^ m; m 4514 modules/core/src/arithm.cpp t0 = -(src1[x+2] > src2[x+2]) ^ m; m 4515 modules/core/src/arithm.cpp t1 = -(src1[x+3] > src2[x+3]) ^ m; m 4520 modules/core/src/arithm.cpp dst[x] = (uchar)(-(src1[x] > src2[x]) ^ m); m 4525 modules/core/src/arithm.cpp int m = code == CMP_EQ ? 0 : 255; m 4533 modules/core/src/arithm.cpp t0 = -(src1[x] == src2[x]) ^ m; m 4534 modules/core/src/arithm.cpp t1 = -(src1[x+1] == src2[x+1]) ^ m; m 4536 modules/core/src/arithm.cpp t0 = -(src1[x+2] == src2[x+2]) ^ m; m 4537 modules/core/src/arithm.cpp t1 = -(src1[x+3] == src2[x+3]) ^ m; m 4542 modules/core/src/arithm.cpp dst[x] = (uchar)(-(src1[x] == src2[x]) ^ m); m 4591 modules/core/src/arithm.cpp int m = code == CMP_GT ? 0 : 255; m 4624 modules/core/src/arithm.cpp dst[x] = (uchar)(-(src1[x] > src2[x]) ^ m); m 4630 modules/core/src/arithm.cpp int m = code == CMP_EQ ? 0 : 255; m 4655 modules/core/src/arithm.cpp dst[x] = (uchar)(-(src1[x] == src2[x]) ^ m); m 4721 modules/core/src/arithm.cpp int m = code == CMP_GT ? 0 : 255; m 4769 modules/core/src/arithm.cpp dst[x] = (uchar)(-(src1[x] > src2[x]) ^ m); m 4775 modules/core/src/arithm.cpp int m = code == CMP_EQ ? 0 : 255; m 4822 modules/core/src/arithm.cpp dst[x] = (uchar)(-(src1[x] == src2[x]) ^ m); m 1725 modules/core/src/array.cpp CvSparseMat* m = (CvSparseMat*)arr; m 1726 modules/core/src/array.cpp if( m->dims == 1 ) m 1730 modules/core/src/array.cpp int i, n = m->dims; m 1736 modules/core/src/array.cpp int t = idx / m->size[i]; m 1737 modules/core/src/array.cpp _idx[i] = idx - t*m->size[i]; m 918 modules/core/src/convert.cpp Mat m = _m.getMat(); m 919 modules/core/src/convert.cpp if( m.empty() ) m 925 modules/core/src/convert.cpp CV_Assert( !_mv.fixedType() || _mv.empty() || _mv.type() == m.depth() ); m 927 modules/core/src/convert.cpp Size size = m.size(); m 928 modules/core/src/convert.cpp int depth = m.depth(), cn = m.channels(); m 936 modules/core/src/convert.cpp split(m, &dst[0]); m 1390 modules/core/src/copy.cpp cv::Mat m = cv::cvarrToMat(arr); m 1392 modules/core/src/copy.cpp m = value; m 1394 modules/core/src/copy.cpp m.setTo(cv::Scalar(value), cv::cvarrToMat(maskarr)); m 1408 modules/core/src/copy.cpp cv::Mat m = cv::cvarrToMat(arr); m 1409 modules/core/src/copy.cpp m = cv::Scalar(0); m 101 modules/core/src/cuda_gpu_mat.cpp cv::cuda::GpuMat::GpuMat(const GpuMat& m, Range rowRange_, Range colRange_) m 103 modules/core/src/cuda_gpu_mat.cpp flags = m.flags; m 104 modules/core/src/cuda_gpu_mat.cpp step = m.step; refcount = m.refcount; m 105 modules/core/src/cuda_gpu_mat.cpp data = m.data; datastart = m.datastart; dataend = m.dataend; m 106 modules/core/src/cuda_gpu_mat.cpp allocator = m.allocator; m 110 modules/core/src/cuda_gpu_mat.cpp rows = m.rows; m 114 modules/core/src/cuda_gpu_mat.cpp CV_Assert( 0 <= rowRange_.start && rowRange_.start <= rowRange_.end && rowRange_.end <= m.rows ); m 122 modules/core/src/cuda_gpu_mat.cpp cols = m.cols; m 126 modules/core/src/cuda_gpu_mat.cpp CV_Assert( 0 <= colRange_.start && colRange_.start <= colRange_.end && colRange_.end <= m.cols ); m 130 modules/core/src/cuda_gpu_mat.cpp flags &= cols < m.cols ? ~Mat::CONTINUOUS_FLAG : -1; m 143 modules/core/src/cuda_gpu_mat.cpp cv::cuda::GpuMat::GpuMat(const GpuMat& m, Rect roi) : m 144 modules/core/src/cuda_gpu_mat.cpp flags(m.flags), rows(roi.height), cols(roi.width), m 145 modules/core/src/cuda_gpu_mat.cpp step(m.step), data(m.data + roi.y*step), refcount(m.refcount), m 146 modules/core/src/cuda_gpu_mat.cpp datastart(m.datastart), dataend(m.dataend), m 147 modules/core/src/cuda_gpu_mat.cpp allocator(m.allocator) m 149 modules/core/src/cuda_gpu_mat.cpp flags &= roi.width < m.cols ? ~Mat::CONTINUOUS_FLAG : -1; m 152 modules/core/src/cuda_gpu_mat.cpp CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows ); m 316 modules/core/src/cuda_host_mem.cpp void cv::cuda::registerPageLocked(Mat& m) m 319 modules/core/src/cuda_host_mem.cpp (void) m; m 322 modules/core/src/cuda_host_mem.cpp CV_Assert( m.isContinuous() ); m 323 modules/core/src/cuda_host_mem.cpp cudaSafeCall( cudaHostRegister(m.data, m.step * m.rows, cudaHostRegisterPortable) ); m 327 modules/core/src/cuda_host_mem.cpp void cv::cuda::unregisterPageLocked(Mat& m) m 330 modules/core/src/cuda_host_mem.cpp (void) m; m 332 modules/core/src/cuda_host_mem.cpp cudaSafeCall( cudaHostUnregister(m.data) ); m 1942 modules/core/src/datastructs.cpp int i, n, m; m 2123 modules/core/src/datastructs.cpp m = MIN( r0 - r1, r1 - r ); m 2124 modules/core/src/datastructs.cpp if( m > 0 ) m 2128 modules/core/src/datastructs.cpp cvSetSeqReaderPos( &tmp1, 1-m, 1 ); m 2129 modules/core/src/datastructs.cpp for( i = 0; i < m; i++ ) m 2138 modules/core/src/datastructs.cpp m = r1 - r; m 2141 modules/core/src/datastructs.cpp if( m > 1 ) m 2143 modules/core/src/datastructs.cpp if( n > m ) m 2150 modules/core/src/datastructs.cpp cvSetSeqReaderPos( &left, 1 - m, 1 ); m 2156 modules/core/src/datastructs.cpp cvSetSeqReaderPos( &right0, 1 - m, 1 ); m 2168 modules/core/src/datastructs.cpp else if( m > 1 ) m 2171 modules/core/src/datastructs.cpp cvSetSeqReaderPos( &left, 1 - m, 1 ); m 156 modules/core/src/downhill_simplex.cpp Mat m = step.getMat(); m 157 modules/core/src/downhill_simplex.cpp dprintf(("m.cols=%d\nm.rows=%d\n", m.cols, m.rows)); m 158 modules/core/src/downhill_simplex.cpp if( m.rows == 1 ) m 159 modules/core/src/downhill_simplex.cpp m.copyTo(_step); m 161 modules/core/src/downhill_simplex.cpp transpose(m, _step); m 216 modules/core/src/downhill_simplex.cpp int i, j, m = p.rows, n = p.cols; m 223 modules/core/src/downhill_simplex.cpp for( i = 0; i < m; i++ ) m 179 modules/core/src/dxt.cpp int n = factors[0], m = 0; m 209 modules/core/src/dxt.cpp m = 2; m 229 modules/core/src/dxt.cpp for( m = 0; (unsigned)(1 << m) < (unsigned)n; m++ ) m 238 modules/core/src/dxt.cpp int shift = 10 - m; m 250 modules/core/src/dxt.cpp int shift = 34 - m; m 312 modules/core/src/dxt.cpp w.re = w1.re = DFTTab[m][0]; m 313 modules/core/src/dxt.cpp w.im = w1.im = -DFTTab[m][1]; m 3233 modules/core/src/dxt.cpp int m; m 3234 modules/core/src/dxt.cpp for( m = 0; (unsigned)(1 << m) < (unsigned)n; m++ ) m 3236 modules/core/src/dxt.cpp scale = (!inv ? 2 : 1)*DctScale[m]; m 3237 modules/core/src/dxt.cpp w1.re = DFTTab[m+2][0]; m 3238 modules/core/src/dxt.cpp w1.im = -DFTTab[m+2][1]; m 53 modules/core/src/lapack.cpp int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n) m 55 modules/core/src/lapack.cpp return hal::LU(A, astep, m, b, bstep, n); m 58 modules/core/src/lapack.cpp int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n) m 60 modules/core/src/lapack.cpp return hal::LU(A, astep, m, b, bstep, n); m 63 modules/core/src/lapack.cpp bool Cholesky(float* A, size_t astep, int m, float* b, size_t bstep, int n) m 65 modules/core/src/lapack.cpp return hal::Cholesky(A, astep, m, b, bstep, n); m 68 modules/core/src/lapack.cpp bool Cholesky(double* A, size_t astep, int m, double* b, size_t bstep, int n) m 70 modules/core/src/lapack.cpp return hal::Cholesky(A, astep, m, b, bstep, n); m 95 modules/core/src/lapack.cpp int i, j, k, m; m 120 modules/core/src/lapack.cpp for( m = k+1, mv = std::abs(A[astep*k + m]), i = k+2; i < n; i++ ) m 124 modules/core/src/lapack.cpp mv = val, m = i; m 126 modules/core/src/lapack.cpp indR[k] = m; m 130 modules/core/src/lapack.cpp for( m = 0, mv = std::abs(A[k]), i = 1; i < k; i++ ) m 134 modules/core/src/lapack.cpp mv = val, m = i; m 136 modules/core/src/lapack.cpp indC[k] = m; m 197 modules/core/src/lapack.cpp for( m = idx+1, mv = std::abs(A[astep*idx + m]), i = idx+2; i < n; i++ ) m 201 modules/core/src/lapack.cpp mv = val, m = i; m 203 modules/core/src/lapack.cpp indR[idx] = m; m 207 modules/core/src/lapack.cpp for( m = 0, mv = std::abs(A[idx]), i = 1; i < idx; i++ ) m 211 modules/core/src/lapack.cpp mv = val, m = i; m 213 modules/core/src/lapack.cpp indC[idx] = m; m 221 modules/core/src/lapack.cpp m = k; m 224 modules/core/src/lapack.cpp if( W[m] < W[i] ) m 225 modules/core/src/lapack.cpp m = i; m 227 modules/core/src/lapack.cpp if( k != m ) m 229 modules/core/src/lapack.cpp std::swap(W[m], W[k]); m 232 modules/core/src/lapack.cpp std::swap(V[vstep*m + i], V[vstep*k + i]); m 394 modules/core/src/lapack.cpp int m, int n, int n1, double minval, _Tp eps) m 399 modules/core/src/lapack.cpp int i, j, k, iter, max_iter = std::max(m, 30); m 407 modules/core/src/lapack.cpp for( k = 0, sd = 0; k < m; k++ ) m 432 modules/core/src/lapack.cpp for( k = 0; k < m; k++ ) m 453 modules/core/src/lapack.cpp for( k = 0; k < m; k++ ) m 484 modules/core/src/lapack.cpp for( k = 0, sd = 0; k < m; k++ ) m 505 modules/core/src/lapack.cpp for( k = 0; k < m; k++ ) m 530 modules/core/src/lapack.cpp const _Tp val0 = (_Tp)(1./m); m 531 modules/core/src/lapack.cpp for( k = 0; k < m; k++ ) m 541 modules/core/src/lapack.cpp for( k = 0; k < m; k++ ) m 544 modules/core/src/lapack.cpp for( k = 0; k < m; k++ ) m 551 modules/core/src/lapack.cpp for( k = 0; k < m; k++ ) m 556 modules/core/src/lapack.cpp for( k = 0; k < m; k++ ) m 565 modules/core/src/lapack.cpp for( k = 0; k < m; k++ ) m 571 modules/core/src/lapack.cpp static void JacobiSVD(float* At, size_t astep, float* W, float* Vt, size_t vstep, int m, int n, int n1=-1) m 573 modules/core/src/lapack.cpp JacobiSVDImpl_(At, astep, W, Vt, vstep, m, n, !Vt ? 0 : n1 < 0 ? n : n1, FLT_MIN, FLT_EPSILON*2); m 576 modules/core/src/lapack.cpp static void JacobiSVD(double* At, size_t astep, double* W, double* Vt, size_t vstep, int m, int n, int n1=-1) m 578 modules/core/src/lapack.cpp JacobiSVDImpl_(At, astep, W, Vt, vstep, m, n, !Vt ? 0 : n1 < 0 ? n : n1, DBL_MIN, DBL_EPSILON*10); m 583 modules/core/src/lapack.cpp MatrAXPY( int m, int n, const T1* x, int dx, m 587 modules/core/src/lapack.cpp for( i = 0; i < m; i++, x += dx, y += dy ) m 610 modules/core/src/lapack.cpp SVBkSbImpl_( int m, int n, const T* w, int incw, m 619 modules/core/src/lapack.cpp int i, j, nm = std::min(m, n); m 622 modules/core/src/lapack.cpp nb = m; m 644 modules/core/src/lapack.cpp for( j = 0; j < m; j++ ) m 659 modules/core/src/lapack.cpp MatrAXPY( m, nb, b, ldb, u, udelta1, buffer, 0 ); m 674 modules/core/src/lapack.cpp SVBkSb( int m, int n, const float* w, size_t wstep, m 680 modules/core/src/lapack.cpp SVBkSbImpl_(m, n, w, wstep ? (int)(wstep/sizeof(w[0])) : 1, m 689 modules/core/src/lapack.cpp SVBkSb( int m, int n, const double* w, size_t wstep, m 695 modules/core/src/lapack.cpp SVBkSbImpl_(m, n, w, wstep ? (int)(wstep/sizeof(w[0])) : 1, m 709 modules/core/src/lapack.cpp #define det2(m) ((double)m(0,0)*m(1,1) - (double)m(0,1)*m(1,0)) m 710 modules/core/src/lapack.cpp #define det3(m) (m(0,0)*((double)m(1,1)*m(2,2) - (double)m(1,2)*m(2,1)) - \ m 711 modules/core/src/lapack.cpp m(0,1)*((double)m(1,0)*m(2,2) - (double)m(1,2)*m(2,0)) + \ m 712 modules/core/src/lapack.cpp m(0,2)*((double)m(1,0)*m(2,1) - (double)m(1,1)*m(2,0))) m 720 modules/core/src/lapack.cpp const uchar* m = mat.ptr(); m 725 modules/core/src/lapack.cpp #define Mf(y, x) ((float*)(m + y*step))[x] m 726 modules/core/src/lapack.cpp #define Md(y, x) ((double*)(m + y*step))[x] m 801 modules/core/src/lapack.cpp int m = src.rows, n = src.cols; m 805 modules/core/src/lapack.cpp int nm = std::min(m, n); m 807 modules/core/src/lapack.cpp AutoBuffer<uchar> _buf((m*nm + nm + nm*n)*esz + sizeof(double)); m 809 modules/core/src/lapack.cpp Mat u(m, nm, type, buf); m 810 modules/core/src/lapack.cpp Mat w(nm, 1, type, u.ptr() + m*nm*esz); m 822 modules/core/src/lapack.cpp CV_Assert( m == n ); m 1199 modules/core/src/lapack.cpp int m = src.rows, m_ = m, n = src.cols, nb = _src2.cols; m 1202 modules/core/src/lapack.cpp size_t astep = method == DECOMP_SVD && !is_normal ? alignSize(m*esz, 16) : vstep; m 1209 modules/core/src/lapack.cpp if( m < n ) m 1212 modules/core/src/lapack.cpp if( m == n ) m 1221 modules/core/src/lapack.cpp size_t asize = astep*(method == DECOMP_SVD || is_normal ? n : m); m 1363 modules/core/src/lapack.cpp int m = src.rows, n = src.cols; m 1378 modules/core/src/lapack.cpp if( m < n ) m 1380 modules/core/src/lapack.cpp std::swap(m, n); m 1384 modules/core/src/lapack.cpp int urows = full_uv ? m : n; m 1385 modules/core/src/lapack.cpp size_t esz = src.elemSize(), astep = alignSize(m*esz, 16), vstep = alignSize(n*esz, 16); m 1388 modules/core/src/lapack.cpp Mat temp_a(n, m, type, buf, astep); m 1390 modules/core/src/lapack.cpp Mat temp_u(urows, m, type, buf, astep), temp_v; m 1406 modules/core/src/lapack.cpp temp_v.ptr<float>(), temp_v.step, m, n, compute_uv ? urows : 0); m 1411 modules/core/src/lapack.cpp temp_v.ptr<double>(), temp_v.step, m, n, compute_uv ? urows : 0); m 1449 modules/core/src/lapack.cpp int m = u.rows, n = vt.cols, nb = rhs.data ? rhs.cols : m, nm = std::min(m, n); m 1455 modules/core/src/lapack.cpp CV_Assert( rhs.data == 0 || (rhs.type() == type && rhs.rows == m) ); m 1460 modules/core/src/lapack.cpp SVBkSb(m, n, w.ptr<float>(), wstep, u.ptr<float>(), u.step, false, m 1464 modules/core/src/lapack.cpp SVBkSb(m, n, w.ptr<double>(), wstep, u.ptr<double>(), u.step, false, m 1506 modules/core/src/lapack.cpp uchar* m = mat->data.ptr; m 1510 modules/core/src/lapack.cpp #define Mf(y, x) ((float*)(m + y*step))[x] m 1511 modules/core/src/lapack.cpp #define Md(y, x) ((double*)(m + y*step))[x] m 1595 modules/core/src/lapack.cpp int m = a.rows, n = a.cols, type = a.type(), mn = std::max(m, n), nm = std::min(m, n); m 1599 modules/core/src/lapack.cpp w.size() == cv::Size(nm, nm) || w.size() == cv::Size(n, m)) ); m 1624 modules/core/src/lapack.cpp ((m != n && (svd.u.size() == cv::Size(mn, mn) || m 146 modules/core/src/lda.cpp Mat m = src.getMat(); m 147 modules/core/src/lda.cpp switch (m.type()) { m 148 modules/core/src/lda.cpp case CV_8SC1: return isSymmetric_<char>(m); break; m 150 modules/core/src/lda.cpp return isSymmetric_<unsigned char>(m); break; m 152 modules/core/src/lda.cpp return isSymmetric_<short>(m); break; m 154 modules/core/src/lda.cpp return isSymmetric_<unsigned short>(m); break; m 156 modules/core/src/lda.cpp return isSymmetric_<int>(m); break; m 158 modules/core/src/lda.cpp return isSymmetric_<float>(m, eps); break; m 160 modules/core/src/lda.cpp return isSymmetric_<double>(m, eps); break; m 265 modules/core/src/lda.cpp _Tp *alloc_1d(int m) { m 266 modules/core/src/lda.cpp return new _Tp[m]; m 271 modules/core/src/lda.cpp _Tp *alloc_1d(int m, _Tp val) { m 272 modules/core/src/lda.cpp _Tp *arr = alloc_1d<_Tp> (m); m 273 modules/core/src/lda.cpp for (int i = 0; i < m; i++) m 280 modules/core/src/lda.cpp _Tp **alloc_2d(int m, int _n) { m 281 modules/core/src/lda.cpp _Tp **arr = new _Tp*[m]; m 282 modules/core/src/lda.cpp for (int i = 0; i < m; i++) m 289 modules/core/src/lda.cpp _Tp **alloc_2d(int m, int _n, _Tp val) { m 290 modules/core/src/lda.cpp _Tp **arr = alloc_2d<_Tp> (m, _n); m 291 modules/core/src/lda.cpp for (int i = 0; i < m; i++) { m 489 modules/core/src/lda.cpp int m = n1 - 2; m 490 modules/core/src/lda.cpp while (m >= l) { m 491 modules/core/src/lda.cpp z = H[m][m]; m 494 modules/core/src/lda.cpp p = (r * s - w) / H[m + 1][m] + H[m][m + 1]; m 495 modules/core/src/lda.cpp q = H[m + 1][m + 1] - z - r - s; m 496 modules/core/src/lda.cpp r = H[m + 2][m + 1]; m 501 modules/core/src/lda.cpp if (m == l) { m 504 modules/core/src/lda.cpp if (std::abs(H[m][m - 1]) * (std::abs(q) + std::abs(r)) < eps * (std::abs(p) m 505 modules/core/src/lda.cpp * (std::abs(H[m - 1][m - 1]) + std::abs(z) + std::abs( m 506 modules/core/src/lda.cpp H[m + 1][m + 1])))) { m 509 modules/core/src/lda.cpp m--; m 512 modules/core/src/lda.cpp for (int i = m + 2; i <= n1; i++) { m 514 modules/core/src/lda.cpp if (i > m + 2) { m 521 modules/core/src/lda.cpp for (int k = m; k <= n1 - 1; k++) { m 523 modules/core/src/lda.cpp if (k != m) { m 542 modules/core/src/lda.cpp if (k != m) { m 544 modules/core/src/lda.cpp } else if (l != m) { m 763 modules/core/src/lda.cpp for (int m = low + 1; m <= high - 1; m++) { m 768 modules/core/src/lda.cpp for (int i = m; i <= high; i++) { m 769 modules/core/src/lda.cpp scale = scale + std::abs(H[i][m - 1]); m 776 modules/core/src/lda.cpp for (int i = high; i >= m; i--) { m 777 modules/core/src/lda.cpp ort[i] = H[i][m - 1] / scale; m 781 modules/core/src/lda.cpp if (ort[m] > 0) { m 784 modules/core/src/lda.cpp h = h - ort[m] * g; m 785 modules/core/src/lda.cpp ort[m] = ort[m] - g; m 790 modules/core/src/lda.cpp for (int j = m; j < n; j++) { m 792 modules/core/src/lda.cpp for (int i = high; i >= m; i--) { m 796 modules/core/src/lda.cpp for (int i = m; i <= high; i++) { m 803 modules/core/src/lda.cpp for (int j = high; j >= m; j--) { m 807 modules/core/src/lda.cpp for (int j = m; j <= high; j++) { m 811 modules/core/src/lda.cpp ort[m] = scale * ort[m]; m 812 modules/core/src/lda.cpp H[m][m - 1] = scale * g; m 824 modules/core/src/lda.cpp for (int m = high - 1; m >= low + 1; m--) { m 825 modules/core/src/lda.cpp if (H[m][m - 1] != 0.0) { m 826 modules/core/src/lda.cpp for (int i = m + 1; i <= high; i++) { m 827 modules/core/src/lda.cpp ort[i] = H[i][m - 1]; m 829 modules/core/src/lda.cpp for (int j = m; j <= high; j++) { m 831 modules/core/src/lda.cpp for (int i = m; i <= high; i++) { m 835 modules/core/src/lda.cpp g = (g / ort[m]) / H[m][m - 1]; m 836 modules/core/src/lda.cpp for (int i = m; i <= high; i++) { m 132 modules/core/src/mathfuncs.cpp Cv32suf v, m; m 160 modules/core/src/mathfuncs.cpp m.f = value; m 162 modules/core/src/mathfuncs.cpp v.i = (v.i + (ex << 23) + s) & (m.i*2 != 0 ? -1 : 0); m 710 modules/core/src/mathfuncs.cpp float m = mag[k]; m 711 modules/core/src/mathfuncs.cpp x[k] *= m; y[k] *= m; m 727 modules/core/src/mathfuncs.cpp double m = mag[k]; m 728 modules/core/src/mathfuncs.cpp x[k] = buf[0][k]*m; y[k] = buf[1][k]*m; m 138 modules/core/src/matmul.cpp int i, j, k, n = a_size.width, m = d_size.width, drows = d_size.height; m 277 modules/core/src/matmul.cpp for( j = 0; j <= m - 4; j += 4, c_data += 4*c_step1 ) m 307 modules/core/src/matmul.cpp for( ; j < m; j++, c_data += c_step1 ) m 325 modules/core/src/matmul.cpp cv::AutoBuffer<WT> _d_buf(m); m 341 modules/core/src/matmul.cpp for( j = 0; j < m; j++ ) m 349 modules/core/src/matmul.cpp for(; j <= m - 4; j += 4 ) m 361 modules/core/src/matmul.cpp for( ; j < m; j++ ) m 366 modules/core/src/matmul.cpp for( j = 0; j < m; j++ ) m 369 modules/core/src/matmul.cpp for( j = 0; j < m; j++, c_data += c_step1 ) m 385 modules/core/src/matmul.cpp int i, j, k, n = a_size.width, m = d_size.width; m 450 modules/core/src/matmul.cpp for( j = 0; j <= m - 4; j += 4 ) m 474 modules/core/src/matmul.cpp for( ; j < m; j++ ) m 1472 modules/core/src/matmul.cpp transform_( const T* src, T* dst, const WT* m, int len, int scn, int dcn ) m 1481 modules/core/src/matmul.cpp T t0 = saturate_cast<T>(m[0]*v0 + m[1]*v1 + m[2]); m 1482 modules/core/src/matmul.cpp T t1 = saturate_cast<T>(m[3]*v0 + m[4]*v1 + m[5]); m 1491 modules/core/src/matmul.cpp T t0 = saturate_cast<T>(m[0]*v0 + m[1]*v1 + m[2]*v2 + m[3]); m 1492 modules/core/src/matmul.cpp T t1 = saturate_cast<T>(m[4]*v0 + m[5]*v1 + m[6]*v2 + m[7]); m 1493 modules/core/src/matmul.cpp T t2 = saturate_cast<T>(m[8]*v0 + m[9]*v1 + m[10]*v2 + m[11]); m 1500 modules/core/src/matmul.cpp dst[x] = saturate_cast<T>(m[0]*src[0] + m[1]*src[1] + m[2]*src[2] + m[3]); m 1507 modules/core/src/matmul.cpp T t0 = saturate_cast<T>(m[0]*v0 + m[1]*v1 + m[2]*v2 + m[3]*v3 + m[4]); m 1508 modules/core/src/matmul.cpp T t1 = saturate_cast<T>(m[5]*v0 + m[6]*v1 + m[7]*v2 + m[8]*v3 + m[9]); m 1510 modules/core/src/matmul.cpp t0 = saturate_cast<T>(m[10]*v0 + m[11]*v1 + m[12]*v2 + m[13]*v3 + m[14]); m 1511 modules/core/src/matmul.cpp t1 = saturate_cast<T>(m[15]*v0 + m[16]*v1 + m[17]*v2 + m[18]*v3 + m[19]); m 1519 modules/core/src/matmul.cpp const WT* _m = m; m 1535 modules/core/src/matmul.cpp load3x3Matrix( const float* m, __m128& m0, __m128& m1, __m128& m2, __m128& m3 ) m 1537 modules/core/src/matmul.cpp m0 = _mm_setr_ps(m[0], m[4], m[8], 0); m 1538 modules/core/src/matmul.cpp m1 = _mm_setr_ps(m[1], m[5], m[9], 0); m 1539 modules/core/src/matmul.cpp m2 = _mm_setr_ps(m[2], m[6], m[10], 0); m 1540 modules/core/src/matmul.cpp m3 = _mm_setr_ps(m[3], m[7], m[11], 0); m 1544 modules/core/src/matmul.cpp load4x4Matrix( const float* m, __m128& m0, __m128& m1, __m128& m2, __m128& m3, __m128& m4 ) m 1546 modules/core/src/matmul.cpp m0 = _mm_setr_ps(m[0], m[5], m[10], m[15]); m 1547 modules/core/src/matmul.cpp m1 = _mm_setr_ps(m[1], m[6], m[11], m[16]); m 1548 modules/core/src/matmul.cpp m2 = _mm_setr_ps(m[2], m[7], m[12], m[17]); m 1549 modules/core/src/matmul.cpp m3 = _mm_setr_ps(m[3], m[8], m[13], m[18]); m 1550 modules/core/src/matmul.cpp m4 = _mm_setr_ps(m[4], m[9], m[14], m[19]); m 1556 modules/core/src/matmul.cpp transform_8u( const uchar* src, uchar* dst, const float* m, int len, int scn, int dcn ) m 1563 modules/core/src/matmul.cpp std::abs(m[0]) < MAX_M && std::abs(m[1]) < MAX_M && std::abs(m[2]) < MAX_M && std::abs(m[3]) < MAX_M*256 && m 1564 modules/core/src/matmul.cpp std::abs(m[4]) < MAX_M && std::abs(m[5]) < MAX_M && std::abs(m[6]) < MAX_M && std::abs(m[7]) < MAX_M*256 && m 1565 modules/core/src/matmul.cpp std::abs(m[8]) < MAX_M && std::abs(m[9]) < MAX_M && std::abs(m[10]) < MAX_M && std::abs(m[11]) < MAX_M*256 ) m 1568 modules/core/src/matmul.cpp short m00 = saturate_cast<short>(m[0]*SCALE), m01 = saturate_cast<short>(m[1]*SCALE), m 1569 modules/core/src/matmul.cpp m02 = saturate_cast<short>(m[2]*SCALE), m10 = saturate_cast<short>(m[4]*SCALE), m 1570 modules/core/src/matmul.cpp m11 = saturate_cast<short>(m[5]*SCALE), m12 = saturate_cast<short>(m[6]*SCALE), m 1571 modules/core/src/matmul.cpp m20 = saturate_cast<short>(m[8]*SCALE), m21 = saturate_cast<short>(m[9]*SCALE), m 1572 modules/core/src/matmul.cpp m22 = saturate_cast<short>(m[10]*SCALE); m 1573 modules/core/src/matmul.cpp int m03 = saturate_cast<int>((m[3]+0.5f)*SCALE), m13 = saturate_cast<int>((m[7]+0.5f)*SCALE ), m 1574 modules/core/src/matmul.cpp m23 = saturate_cast<int>((m[11]+0.5f)*SCALE); m 1673 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); m 1677 modules/core/src/matmul.cpp transform_16u( const ushort* src, ushort* dst, const float* m, int len, int scn, int dcn ) m 1684 modules/core/src/matmul.cpp load3x3Matrix(m, m0, m1, m2, m3); m 1730 modules/core/src/matmul.cpp ushort t0 = saturate_cast<ushort>(m[0]*v0 + m[1]*v1 + m[2]*v2 + m[3]); m 1731 modules/core/src/matmul.cpp ushort t1 = saturate_cast<ushort>(m[4]*v0 + m[5]*v1 + m[6]*v2 + m[7]); m 1732 modules/core/src/matmul.cpp ushort t2 = saturate_cast<ushort>(m[8]*v0 + m[9]*v1 + m[10]*v2 + m[11]); m 1739 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); m 1744 modules/core/src/matmul.cpp transform_32f( const float* src, float* dst, const float* m, int len, int scn, int dcn ) m 1753 modules/core/src/matmul.cpp load3x3Matrix(m, m0, m1, m2, m3); m 1769 modules/core/src/matmul.cpp float t0 = saturate_cast<float>(m[0]*v0 + m[1]*v1 + m[2]*v2 + m[3]); m 1770 modules/core/src/matmul.cpp float t1 = saturate_cast<float>(m[4]*v0 + m[5]*v1 + m[6]*v2 + m[7]); m 1771 modules/core/src/matmul.cpp float t2 = saturate_cast<float>(m[8]*v0 + m[9]*v1 + m[10]*v2 + m[11]); m 1780 modules/core/src/matmul.cpp load4x4Matrix(m, m0, m1, m2, m3, m4); m 1797 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); m 1802 modules/core/src/matmul.cpp transform_8s(const schar* src, schar* dst, const float* m, int len, int scn, int dcn) m 1804 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); m 1808 modules/core/src/matmul.cpp transform_16s(const short* src, short* dst, const float* m, int len, int scn, int dcn) m 1810 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); m 1814 modules/core/src/matmul.cpp transform_32s(const int* src, int* dst, const double* m, int len, int scn, int dcn) m 1816 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); m 1820 modules/core/src/matmul.cpp transform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) m 1822 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); m 1826 modules/core/src/matmul.cpp diagtransform_( const T* src, T* dst, const WT* m, int len, int cn, int ) m 1834 modules/core/src/matmul.cpp T t0 = saturate_cast<T>(m[0]*src[x] + m[2]); m 1835 modules/core/src/matmul.cpp T t1 = saturate_cast<T>(m[4]*src[x+1] + m[5]); m 1843 modules/core/src/matmul.cpp T t0 = saturate_cast<T>(m[0]*src[x] + m[3]); m 1844 modules/core/src/matmul.cpp T t1 = saturate_cast<T>(m[5]*src[x+1] + m[7]); m 1845 modules/core/src/matmul.cpp T t2 = saturate_cast<T>(m[10]*src[x+2] + m[11]); m 1853 modules/core/src/matmul.cpp T t0 = saturate_cast<T>(m[0]*src[x] + m[4]); m 1854 modules/core/src/matmul.cpp T t1 = saturate_cast<T>(m[6]*src[x+1] + m[9]); m 1856 modules/core/src/matmul.cpp t0 = saturate_cast<T>(m[12]*src[x+2] + m[14]); m 1857 modules/core/src/matmul.cpp t1 = saturate_cast<T>(m[18]*src[x+3] + m[19]); m 1865 modules/core/src/matmul.cpp const WT* _m = m; m 1873 modules/core/src/matmul.cpp diagtransform_8u(const uchar* src, uchar* dst, const float* m, int len, int scn, int dcn) m 1875 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); m 1879 modules/core/src/matmul.cpp diagtransform_8s(const schar* src, schar* dst, const float* m, int len, int scn, int dcn) m 1881 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); m 1885 modules/core/src/matmul.cpp diagtransform_16u(const ushort* src, ushort* dst, const float* m, int len, int scn, int dcn) m 1887 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); m 1891 modules/core/src/matmul.cpp diagtransform_16s(const short* src, short* dst, const float* m, int len, int scn, int dcn) m 1893 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); m 1897 modules/core/src/matmul.cpp diagtransform_32s(const int* src, int* dst, const double* m, int len, int scn, int dcn) m 1899 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); m 1903 modules/core/src/matmul.cpp diagtransform_32f(const float* src, float* dst, const float* m, int len, int scn, int dcn) m 1905 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); m 1909 modules/core/src/matmul.cpp diagtransform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) m 1911 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); m 1915 modules/core/src/matmul.cpp typedef void (*TransformFunc)( const uchar* src, uchar* dst, const uchar* m, int, int, int ); m 1945 modules/core/src/matmul.cpp Mat src = _src.getMat(), m = _mtx.getMat(); m 1946 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows; m 1947 modules/core/src/matmul.cpp CV_Assert( scn == m.cols || scn + 1 == m.cols ); m 1957 modules/core/src/matmul.cpp if( !m.isContinuous() || m.type() != mtype || m.cols != scn + 1 ) m 1963 modules/core/src/matmul.cpp if( m.cols == scn+1 ) m 1964 modules/core/src/matmul.cpp m.convertTo(tmp, mtype); m 1967 modules/core/src/matmul.cpp Mat tmppart = tmp.colRange(0, m.cols); m 1968 modules/core/src/matmul.cpp m.convertTo(tmppart, mtype); m 1970 modules/core/src/matmul.cpp m = tmp; m 1973 modules/core/src/matmul.cpp mbuf = m.ptr<double>(); m 1984 modules/core/src/matmul.cpp alpha = m.at<float>(0), beta = m.at<float>(1); m 1986 modules/core/src/matmul.cpp alpha = m.at<double>(0), beta = m.at<double>(1); m 1995 modules/core/src/matmul.cpp double v = mtype == CV_32F ? m.at<float>(i, j) : m.at<double>(i, j); m 2022 modules/core/src/matmul.cpp perspectiveTransform_( const T* src, T* dst, const double* m, int len, int scn, int dcn ) m 2032 modules/core/src/matmul.cpp double w = x*m[6] + y*m[7] + m[8]; m 2037 modules/core/src/matmul.cpp dst[i] = (T)((x*m[0] + y*m[1] + m[2])*w); m 2038 modules/core/src/matmul.cpp dst[i+1] = (T)((x*m[3] + y*m[4] + m[5])*w); m 2049 modules/core/src/matmul.cpp double w = x*m[12] + y*m[13] + z*m[14] + m[15]; m 2054 modules/core/src/matmul.cpp dst[i] = (T)((x*m[0] + y*m[1] + z*m[2] + m[3]) * w); m 2055 modules/core/src/matmul.cpp dst[i+1] = (T)((x*m[4] + y*m[5] + z*m[6] + m[7]) * w); m 2056 modules/core/src/matmul.cpp dst[i+2] = (T)((x*m[8] + y*m[9] + z*m[10] + m[11]) * w); m 2067 modules/core/src/matmul.cpp double w = x*m[8] + y*m[9] + z*m[10] + m[11]; m 2072 modules/core/src/matmul.cpp dst[0] = (T)((x*m[0] + y*m[1] + z*m[2] + m[3])*w); m 2073 modules/core/src/matmul.cpp dst[1] = (T)((x*m[4] + y*m[5] + z*m[6] + m[7])*w); m 2083 modules/core/src/matmul.cpp const double* _m = m + dcn*(scn + 1); m 2090 modules/core/src/matmul.cpp _m = m; m 2108 modules/core/src/matmul.cpp perspectiveTransform_32f(const float* src, float* dst, const double* m, int len, int scn, int dcn) m 2110 modules/core/src/matmul.cpp perspectiveTransform_(src, dst, m, len, scn, dcn); m 2114 modules/core/src/matmul.cpp perspectiveTransform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) m 2116 modules/core/src/matmul.cpp perspectiveTransform_(src, dst, m, len, scn, dcn); m 2123 modules/core/src/matmul.cpp Mat src = _src.getMat(), m = _mtx.getMat(); m 2124 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows-1; m 2125 modules/core/src/matmul.cpp CV_Assert( scn + 1 == m.cols ); m 2135 modules/core/src/matmul.cpp if( !m.isContinuous() || m.type() != mtype ) m 2139 modules/core/src/matmul.cpp m.convertTo(tmp, mtype); m 2140 modules/core/src/matmul.cpp m = tmp; m 2143 modules/core/src/matmul.cpp mbuf = m.ptr<double>(); m 3292 modules/core/src/matmul.cpp cv::Mat m = cv::cvarrToMat(transmat), src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); m 3296 modules/core/src/matmul.cpp cv::Mat v = cv::cvarrToMat(shiftvec).reshape(1,m.rows), m 3297 modules/core/src/matmul.cpp _m(m.rows, m.cols + 1, m.type()), m1 = _m.colRange(0,m.cols), v1 = _m.col(m.cols); m 3298 modules/core/src/matmul.cpp m.convertTo(m1, m1.type()); m 3300 modules/core/src/matmul.cpp m = _m; m 3303 modules/core/src/matmul.cpp CV_Assert( dst.depth() == src.depth() && dst.channels() == m.rows ); m 3304 modules/core/src/matmul.cpp cv::transform( src, dst, m ); m 3311 modules/core/src/matmul.cpp cv::Mat m = cv::cvarrToMat(mat), src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); m 3313 modules/core/src/matmul.cpp CV_Assert( dst.type() == src.type() && dst.channels() == m.rows-1 ); m 3314 modules/core/src/matmul.cpp cv::perspectiveTransform( src, dst, m ); m 61 modules/core/src/matop.cpp void assign(const MatExpr& expr, Mat& m, int type=-1) const; m 63 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, const Mat& m); m 75 modules/core/src/matop.cpp void assign(const MatExpr& expr, Mat& m, int type=-1) const; m 97 modules/core/src/matop.cpp void assign(const MatExpr& expr, Mat& m, int type=-1) const; m 115 modules/core/src/matop.cpp void assign(const MatExpr& expr, Mat& m, int type=-1) const; m 130 modules/core/src/matop.cpp void assign(const MatExpr& expr, Mat& m, int type=-1) const; m 151 modules/core/src/matop.cpp void assign(const MatExpr& expr, Mat& m, int type=-1) const; m 155 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, int method, const Mat& m); m 167 modules/core/src/matop.cpp void assign(const MatExpr& expr, Mat& m, int type=-1) const; m 184 modules/core/src/matop.cpp void assign(const MatExpr& expr, Mat& m, int type=-1) const; m 198 modules/core/src/matop.cpp void assign(const MatExpr& expr, Mat& m, int type=-1) const; m 251 modules/core/src/matop.cpp Mat m; m 252 modules/core/src/matop.cpp expr.op->assign(expr, m); m 253 modules/core/src/matop.cpp e = MatExpr(&g_MatOp_Identity, 0, m(rowRange, colRange), Mat(), Mat()); m 272 modules/core/src/matop.cpp Mat m; m 273 modules/core/src/matop.cpp expr.op->assign(expr, m); m 274 modules/core/src/matop.cpp e = MatExpr(&g_MatOp_Identity, 0, m.diag(d), Mat(), Mat()); m 279 modules/core/src/matop.cpp void MatOp::augAssignAdd(const MatExpr& expr, Mat& m) const m 283 modules/core/src/matop.cpp m += temp; m 287 modules/core/src/matop.cpp void MatOp::augAssignSubtract(const MatExpr& expr, Mat& m) const m 291 modules/core/src/matop.cpp m -= temp; m 295 modules/core/src/matop.cpp void MatOp::augAssignMultiply(const MatExpr& expr, Mat& m) const m 299 modules/core/src/matop.cpp m *= temp; m 303 modules/core/src/matop.cpp void MatOp::augAssignDivide(const MatExpr& expr, Mat& m) const m 307 modules/core/src/matop.cpp m /= temp; m 311 modules/core/src/matop.cpp void MatOp::augAssignAnd(const MatExpr& expr, Mat& m) const m 315 modules/core/src/matop.cpp m &= temp; m 319 modules/core/src/matop.cpp void MatOp::augAssignOr(const MatExpr& expr, Mat& m) const m 323 modules/core/src/matop.cpp m |= temp; m 327 modules/core/src/matop.cpp void MatOp::augAssignXor(const MatExpr& expr, Mat& m) const m 331 modules/core/src/matop.cpp m ^= temp; m 407 modules/core/src/matop.cpp Mat m; m 408 modules/core/src/matop.cpp expr.op->assign(expr, m); m 409 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m, Mat(), -1, 0, s); m 466 modules/core/src/matop.cpp Mat m; m 467 modules/core/src/matop.cpp expr.op->assign(expr, m); m 468 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m, Mat(), s, 0); m 514 modules/core/src/matop.cpp Mat m; m 515 modules/core/src/matop.cpp expr.op->assign(expr, m); m 516 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, '/', m, Mat(), s); m 522 modules/core/src/matop.cpp Mat m; m 523 modules/core/src/matop.cpp expr.op->assign(expr, m); m 524 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, 'a', m, Mat()); m 530 modules/core/src/matop.cpp Mat m; m 531 modules/core/src/matop.cpp expr.op->assign(expr, m); m 532 modules/core/src/matop.cpp MatOp_T::makeExpr(res, m, 1); m 581 modules/core/src/matop.cpp Mat m; m 582 modules/core/src/matop.cpp expr.op->assign(expr, m); m 583 modules/core/src/matop.cpp MatOp_Invert::makeExpr(res, method, m); m 599 modules/core/src/matop.cpp MatExpr::MatExpr(const Mat& m) : op(&g_MatOp_Identity), flags(0), a(m), b(Mat()), c(Mat()), alpha(1), beta(0), s(Scalar()) m 638 modules/core/src/matop.cpp Mat MatExpr::cross(const Mat& m) const m 640 modules/core/src/matop.cpp return ((Mat)*this).cross(m); m 643 modules/core/src/matop.cpp double MatExpr::dot(const Mat& m) const m 645 modules/core/src/matop.cpp return ((Mat)*this).dot(m); m 669 modules/core/src/matop.cpp MatExpr MatExpr::mul(const Mat& m, double scale) const m 672 modules/core/src/matop.cpp op->multiply(*this, MatExpr(m), e, scale); m 697 modules/core/src/matop.cpp MatExpr operator + (const MatExpr& e, const Mat& m) m 700 modules/core/src/matop.cpp e.op->add(e, MatExpr(m), en); m 704 modules/core/src/matop.cpp MatExpr operator + (const Mat& m, const MatExpr& e) m 707 modules/core/src/matop.cpp e.op->add(e, MatExpr(m), en); m 753 modules/core/src/matop.cpp MatExpr operator - (const MatExpr& e, const Mat& m) m 756 modules/core/src/matop.cpp e.op->subtract(e, MatExpr(m), en); m 760 modules/core/src/matop.cpp MatExpr operator - (const Mat& m, const MatExpr& e) m 763 modules/core/src/matop.cpp e.op->subtract(MatExpr(m), e, en); m 788 modules/core/src/matop.cpp MatExpr operator - (const Mat& m) m 791 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(e, m, Mat(), -1, 0); m 823 modules/core/src/matop.cpp MatExpr operator * (const MatExpr& e, const Mat& m) m 826 modules/core/src/matop.cpp e.op->matmul(e, MatExpr(m), en); m 830 modules/core/src/matop.cpp MatExpr operator * (const Mat& m, const MatExpr& e) m 833 modules/core/src/matop.cpp e.op->matmul(MatExpr(m), e, en); m 879 modules/core/src/matop.cpp MatExpr operator / (const MatExpr& e, const Mat& m) m 882 modules/core/src/matop.cpp e.op->divide(e, MatExpr(m), en); m 886 modules/core/src/matop.cpp MatExpr operator / (const Mat& m, const MatExpr& e) m 889 modules/core/src/matop.cpp e.op->divide(MatExpr(m), e, en); m 1193 modules/core/src/matop.cpp void MatOp_Identity::assign(const MatExpr& e, Mat& m, int _type) const m 1196 modules/core/src/matop.cpp m = e.a; m 1200 modules/core/src/matop.cpp e.a.convertTo(m, _type); m 1204 modules/core/src/matop.cpp inline void MatOp_Identity::makeExpr(MatExpr& res, const Mat& m) m 1206 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_Identity, 0, m, Mat(), Mat(), 1, 0); m 1211 modules/core/src/matop.cpp void MatOp_AddEx::assign(const MatExpr& e, Mat& m, int _type) const m 1213 modules/core/src/matop.cpp Mat temp, &dst = _type == -1 || e.a.type() == _type ? m : temp; m 1243 modules/core/src/matop.cpp else if( e.s.isReal() && (dst.data != m.data || fabs(e.alpha) != 1)) m 1245 modules/core/src/matop.cpp e.a.convertTo(m, _type, e.alpha, e.s[0]); m 1258 modules/core/src/matop.cpp if( dst.data != m.data ) m 1259 modules/core/src/matop.cpp dst.convertTo(m, m.type()); m 1320 modules/core/src/matop.cpp void MatOp_Bin::assign(const MatExpr& e, Mat& m, int _type) const m 1322 modules/core/src/matop.cpp Mat temp, &dst = _type == -1 || e.a.type() == _type ? m : temp; m 1359 modules/core/src/matop.cpp if( dst.data != m.data ) m 1360 modules/core/src/matop.cpp dst.convertTo(m, _type); m 1394 modules/core/src/matop.cpp void MatOp_Cmp::assign(const MatExpr& e, Mat& m, int _type) const m 1396 modules/core/src/matop.cpp Mat temp, &dst = _type == -1 || _type == CV_8U ? m : temp; m 1403 modules/core/src/matop.cpp if( dst.data != m.data ) m 1404 modules/core/src/matop.cpp dst.convertTo(m, _type); m 1419 modules/core/src/matop.cpp void MatOp_T::assign(const MatExpr& e, Mat& m, int _type) const m 1421 modules/core/src/matop.cpp Mat temp, &dst = _type == -1 || _type == e.a.type() ? m : temp; m 1425 modules/core/src/matop.cpp if( dst.data != m.data || e.alpha != 1 ) m 1426 modules/core/src/matop.cpp dst.convertTo(m, _type, e.alpha); m 1450 modules/core/src/matop.cpp void MatOp_GEMM::assign(const MatExpr& e, Mat& m, int _type) const m 1452 modules/core/src/matop.cpp Mat temp, &dst = _type == -1 || _type == e.a.type() ? m : temp; m 1455 modules/core/src/matop.cpp if( dst.data != m.data ) m 1456 modules/core/src/matop.cpp dst.convertTo(m, _type); m 1517 modules/core/src/matop.cpp void MatOp_Invert::assign(const MatExpr& e, Mat& m, int _type) const m 1519 modules/core/src/matop.cpp Mat temp, &dst = _type == -1 || _type == e.a.type() ? m : temp; m 1522 modules/core/src/matop.cpp if( dst.data != m.data ) m 1523 modules/core/src/matop.cpp dst.convertTo(m, _type); m 1536 modules/core/src/matop.cpp inline void MatOp_Invert::makeExpr(MatExpr& res, int method, const Mat& m) m 1538 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_Invert, method, m, Mat(), Mat(), 1, 0); m 1543 modules/core/src/matop.cpp void MatOp_Solve::assign(const MatExpr& e, Mat& m, int _type) const m 1545 modules/core/src/matop.cpp Mat temp, &dst = _type == -1 || _type == e.a.type() ? m : temp; m 1548 modules/core/src/matop.cpp if( dst.data != m.data ) m 1549 modules/core/src/matop.cpp dst.convertTo(m, _type); m 1559 modules/core/src/matop.cpp void MatOp_Initializer::assign(const MatExpr& e, Mat& m, int _type) const m 1565 modules/core/src/matop.cpp m.create(e.a.size(), _type); m 1567 modules/core/src/matop.cpp m.create(e.a.dims, e.a.size, _type); m 1570 modules/core/src/matop.cpp setIdentity(m, Scalar(e.alpha)); m 1572 modules/core/src/matop.cpp m = Scalar(); m 1574 modules/core/src/matop.cpp m = Scalar(e.alpha); m 1612 modules/core/src/matop.cpp MatExpr Mat::mul(InputArray m, double scale) const m 1615 modules/core/src/matop.cpp if(m.kind() == _InputArray::EXPR) m 1617 modules/core/src/matop.cpp const MatExpr& me = *(const MatExpr*)m.getObj(); m 1621 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, '*', *this, m.getMat(), scale); m 263 modules/core/src/matrix.cpp static inline void setSize( Mat& m, int _dims, const int* _sz, m 267 modules/core/src/matrix.cpp if( m.dims != _dims ) m 269 modules/core/src/matrix.cpp if( m.step.p != m.step.buf ) m 271 modules/core/src/matrix.cpp fastFree(m.step.p); m 272 modules/core/src/matrix.cpp m.step.p = m.step.buf; m 273 modules/core/src/matrix.cpp m.size.p = &m.rows; m 277 modules/core/src/matrix.cpp m.step.p = (size_t*)fastMalloc(_dims*sizeof(m.step.p[0]) + (_dims+1)*sizeof(m.size.p[0])); m 278 modules/core/src/matrix.cpp m.size.p = (int*)(m.step.p + _dims) + 1; m 279 modules/core/src/matrix.cpp m.size.p[-1] = _dims; m 280 modules/core/src/matrix.cpp m.rows = m.cols = -1; m 284 modules/core/src/matrix.cpp m.dims = _dims; m 288 modules/core/src/matrix.cpp size_t esz = CV_ELEM_SIZE(m.flags), esz1 = CV_ELEM_SIZE1(m.flags), total = esz; m 294 modules/core/src/matrix.cpp m.size.p[i] = s; m 303 modules/core/src/matrix.cpp m.step.p[i] = i < _dims-1 ? _steps[i] : esz; m 307 modules/core/src/matrix.cpp m.step.p[i] = total; m 317 modules/core/src/matrix.cpp m.dims = 2; m 318 modules/core/src/matrix.cpp m.cols = 1; m 319 modules/core/src/matrix.cpp m.step[1] = esz; m 323 modules/core/src/matrix.cpp static void updateContinuityFlag(Mat& m) m 326 modules/core/src/matrix.cpp for( i = 0; i < m.dims; i++ ) m 328 modules/core/src/matrix.cpp if( m.size[i] > 1 ) m 332 modules/core/src/matrix.cpp for( j = m.dims-1; j > i; j-- ) m 334 modules/core/src/matrix.cpp if( m.step[j]*m.size[j] < m.step[j-1] ) m 338 modules/core/src/matrix.cpp uint64 t = (uint64)m.step[0]*m.size[0]; m 340 modules/core/src/matrix.cpp m.flags |= Mat::CONTINUOUS_FLAG; m 342 modules/core/src/matrix.cpp m.flags &= ~Mat::CONTINUOUS_FLAG; m 345 modules/core/src/matrix.cpp static void finalizeHdr(Mat& m) m 347 modules/core/src/matrix.cpp updateContinuityFlag(m); m 348 modules/core/src/matrix.cpp int d = m.dims; m 350 modules/core/src/matrix.cpp m.rows = m.cols = -1; m 351 modules/core/src/matrix.cpp if(m.u) m 352 modules/core/src/matrix.cpp m.datastart = m.data = m.u->data; m 353 modules/core/src/matrix.cpp if( m.data ) m 355 modules/core/src/matrix.cpp m.datalimit = m.datastart + m.size[0]*m.step[0]; m 356 modules/core/src/matrix.cpp if( m.size[0] > 0 ) m 358 modules/core/src/matrix.cpp m.dataend = m.ptr() + m.size[d-1]*m.step[d-1]; m 360 modules/core/src/matrix.cpp m.dataend += (m.size[i] - 1)*m.step[i]; m 363 modules/core/src/matrix.cpp m.dataend = m.datalimit; m 366 modules/core/src/matrix.cpp m.dataend = m.datalimit = 0; m 420 modules/core/src/matrix.cpp void Mat::copySize(const Mat& m) m 422 modules/core/src/matrix.cpp setSize(*this, m.dims, 0, 0); m 425 modules/core/src/matrix.cpp size[i] = m.size[i]; m 426 modules/core/src/matrix.cpp step[i] = m.step[i]; m 437 modules/core/src/matrix.cpp Mat::Mat(const Mat& m, const Range& _rowRange, const Range& _colRange) m 441 modules/core/src/matrix.cpp CV_Assert( m.dims >= 2 ); m 442 modules/core/src/matrix.cpp if( m.dims > 2 ) m 444 modules/core/src/matrix.cpp AutoBuffer<Range> rs(m.dims); m 447 modules/core/src/matrix.cpp for( int i = 2; i < m.dims; i++ ) m 449 modules/core/src/matrix.cpp *this = m(rs); m 453 modules/core/src/matrix.cpp *this = m; m 456 modules/core/src/matrix.cpp CV_Assert( 0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows ); m 464 modules/core/src/matrix.cpp CV_Assert( 0 <= _colRange.start && _colRange.start <= _colRange.end && _colRange.end <= m.cols ); m 467 modules/core/src/matrix.cpp flags &= cols < m.cols ? ~CONTINUOUS_FLAG : -1; m 482 modules/core/src/matrix.cpp Mat::Mat(const Mat& m, const Rect& roi) m 483 modules/core/src/matrix.cpp : flags(m.flags), dims(2), rows(roi.height), cols(roi.width), m 484 modules/core/src/matrix.cpp data(m.data + roi.y*m.step[0]), m 485 modules/core/src/matrix.cpp datastart(m.datastart), dataend(m.dataend), datalimit(m.datalimit), m 486 modules/core/src/matrix.cpp allocator(m.allocator), u(m.u), size(&rows) m 488 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 ); m 489 modules/core/src/matrix.cpp flags &= roi.width < m.cols ? ~CONTINUOUS_FLAG : -1; m 494 modules/core/src/matrix.cpp CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && m 495 modules/core/src/matrix.cpp 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows ); m 498 modules/core/src/matrix.cpp if( roi.width < m.cols || roi.height < m.rows ) m 501 modules/core/src/matrix.cpp step[0] = m.step[0]; step[1] = esz; m 522 modules/core/src/matrix.cpp Mat::Mat(const Mat& m, const Range* ranges) m 526 modules/core/src/matrix.cpp int i, d = m.dims; m 532 modules/core/src/matrix.cpp CV_Assert( r == Range::all() || (0 <= r.start && r.start < r.end && r.end <= m.size[i]) ); m 534 modules/core/src/matrix.cpp *this = m; m 549 modules/core/src/matrix.cpp static Mat cvMatNDToMat(const CvMatND* m, bool copyData) m 553 modules/core/src/matrix.cpp if( !m ) m 555 modules/core/src/matrix.cpp thiz.datastart = thiz.data = m->data.ptr; m 556 modules/core/src/matrix.cpp thiz.flags |= CV_MAT_TYPE(m->type); m 560 modules/core/src/matrix.cpp int i, d = m->dims; m 563 modules/core/src/matrix.cpp _sizes[i] = m->dim[i].size; m 564 modules/core/src/matrix.cpp _steps[i] = m->dim[i].step; m 580 modules/core/src/matrix.cpp static Mat cvMatToMat(const CvMat* m, bool copyData) m 584 modules/core/src/matrix.cpp if( !m ) m 589 modules/core/src/matrix.cpp thiz.flags = Mat::MAGIC_VAL + (m->type & (CV_MAT_TYPE_MASK|CV_MAT_CONT_FLAG)); m 591 modules/core/src/matrix.cpp thiz.rows = m->rows; m 592 modules/core/src/matrix.cpp thiz.cols = m->cols; m 593 modules/core/src/matrix.cpp thiz.datastart = thiz.data = m->data.ptr; m 594 modules/core/src/matrix.cpp size_t esz = CV_ELEM_SIZE(m->type), minstep = thiz.cols*esz, _step = m->step; m 604 modules/core/src/matrix.cpp Mat(m->rows, m->cols, m->type, m->data.ptr, m->step).copyTo(thiz); m 613 modules/core/src/matrix.cpp Mat m; m 616 modules/core/src/matrix.cpp return m; m 618 modules/core/src/matrix.cpp m.dims = 2; m 623 modules/core/src/matrix.cpp m.step[0] = img->widthStep; m 628 modules/core/src/matrix.cpp m.flags = Mat::MAGIC_VAL + CV_MAKETYPE(imgdepth, img->nChannels); m 629 modules/core/src/matrix.cpp m.rows = img->height; m 630 modules/core/src/matrix.cpp m.cols = img->width; m 631 modules/core/src/matrix.cpp m.datastart = m.data = (uchar*)img->imageData; m 632 modules/core/src/matrix.cpp esz = CV_ELEM_SIZE(m.flags); m 638 modules/core/src/matrix.cpp m.flags = Mat::MAGIC_VAL + CV_MAKETYPE(imgdepth, selectedPlane ? 1 : img->nChannels); m 639 modules/core/src/matrix.cpp m.rows = img->roi->height; m 640 modules/core/src/matrix.cpp m.cols = img->roi->width; m 641 modules/core/src/matrix.cpp esz = CV_ELEM_SIZE(m.flags); m 642 modules/core/src/matrix.cpp m.datastart = m.data = (uchar*)img->imageData + m 643 modules/core/src/matrix.cpp (selectedPlane ? (img->roi->coi - 1)*m.step*img->height : 0) + m 644 modules/core/src/matrix.cpp img->roi->yOffset*m.step[0] + img->roi->xOffset*esz; m 646 modules/core/src/matrix.cpp m.datalimit = m.datastart + m.step.p[0]*m.rows; m 647 modules/core/src/matrix.cpp m.dataend = m.datastart + m.step.p[0]*(m.rows-1) + esz*m.cols; m 648 modules/core/src/matrix.cpp m.flags |= (m.cols*esz == m.step.p[0] || m.rows == 1 ? Mat::CONTINUOUS_FLAG : 0); m 649 modules/core/src/matrix.cpp m.step[1] = esz; m 653 modules/core/src/matrix.cpp Mat m2 = m; m 654 modules/core/src/matrix.cpp m.release(); m 657 modules/core/src/matrix.cpp m2.copyTo(m); m 661 modules/core/src/matrix.cpp m.create(m2.rows, m2.cols, m2.type()); m 662 modules/core/src/matrix.cpp mixChannels(&m2, 1, &m, 1, ch, 1); m 666 modules/core/src/matrix.cpp return m; m 672 modules/core/src/matrix.cpp Mat m = *this; m 679 modules/core/src/matrix.cpp m.data += esz*d; m 684 modules/core/src/matrix.cpp m.data -= step[0]*d; m 688 modules/core/src/matrix.cpp m.size[0] = m.rows = len; m 689 modules/core/src/matrix.cpp m.size[1] = m.cols = 1; m 690 modules/core/src/matrix.cpp m.step[0] += (len > 1 ? esz : 0); m 692 modules/core/src/matrix.cpp if( m.rows > 1 ) m 693 modules/core/src/matrix.cpp m.flags &= ~CONTINUOUS_FLAG; m 695 modules/core/src/matrix.cpp m.flags |= CONTINUOUS_FLAG; m 698 modules/core/src/matrix.cpp m.flags |= SUBMATRIX_FLAG; m 700 modules/core/src/matrix.cpp return m; m 757 modules/core/src/matrix.cpp Mat m(dims, size.p, type()); m 761 modules/core/src/matrix.cpp Mat mpart = m.rowRange(0, r); m 765 modules/core/src/matrix.cpp *this = m; m 1015 modules/core/src/matrix.cpp Mat m(len, len, d.type(), Scalar(0)); m 1016 modules/core/src/matrix.cpp Mat md = m.diag(); m 1021 modules/core/src/matrix.cpp return m; m 1122 modules/core/src/matrix.cpp const Mat* m = (const Mat*)obj; m 1124 modules/core/src/matrix.cpp return *m; m 1125 modules/core/src/matrix.cpp return m->row(i); m 1130 modules/core/src/matrix.cpp const UMat* m = (const UMat*)obj; m 1132 modules/core/src/matrix.cpp return m->getMat(accessFlags); m 1133 modules/core/src/matrix.cpp return m->getMat(accessFlags).row(i); m 1165 modules/core/src/matrix.cpp Mat m(1, n, t); m 1166 modules/core/src/matrix.cpp uchar* dst = m.data; m 1169 modules/core/src/matrix.cpp return m; m 1235 modules/core/src/matrix.cpp const UMat* m = (const UMat*)obj; m 1237 modules/core/src/matrix.cpp return *m; m 1238 modules/core/src/matrix.cpp return m->row(i); m 1251 modules/core/src/matrix.cpp const Mat* m = (const Mat*)obj; m 1253 modules/core/src/matrix.cpp return m->getUMat(accessFlags); m 1254 modules/core/src/matrix.cpp return m->row(i).getUMat(accessFlags); m 1267 modules/core/src/matrix.cpp const Mat& m = *(const Mat*)obj; m 1268 modules/core/src/matrix.cpp int i, n = (int)m.size[0]; m 1272 modules/core/src/matrix.cpp mv[i] = m.dims == 2 ? Mat(1, m.cols, m.type(), (void*)m.ptr(i)) : m 1273 modules/core/src/matrix.cpp Mat(m.dims-1, &m.size[1], m.type(), (void*)m.ptr(i), &m.step[1]); m 1279 modules/core/src/matrix.cpp Mat m = *(const MatExpr*)obj; m 1280 modules/core/src/matrix.cpp int i, n = m.size[0]; m 1284 modules/core/src/matrix.cpp mv[i] = m.row(i); m 1575 modules/core/src/matrix.cpp const Mat& m = *(const Mat*)obj; m 1576 modules/core/src/matrix.cpp d = m.dims; m 1579 modules/core/src/matrix.cpp arrsz[j] = m.size.p[j]; m 1584 modules/core/src/matrix.cpp const UMat& m = *(const UMat*)obj; m 1585 modules/core/src/matrix.cpp d = m.dims; m 1588 modules/core/src/matrix.cpp arrsz[j] = m.size.p[j]; m 1594 modules/core/src/matrix.cpp const Mat& m = vv[i]; m 1595 modules/core/src/matrix.cpp d = m.dims; m 1598 modules/core/src/matrix.cpp arrsz[j] = m.size.p[j]; m 1604 modules/core/src/matrix.cpp const UMat& m = vv[i]; m 1605 modules/core/src/matrix.cpp d = m.dims; m 1608 modules/core/src/matrix.cpp arrsz[j] = m.size.p[j]; m 1631 modules/core/src/matrix.cpp const Mat* m = ((const Mat*)obj); m 1633 modules/core/src/matrix.cpp return m->size == ((const Mat*)arr.obj)->size; m 1635 modules/core/src/matrix.cpp return m->size == ((const UMat*)arr.obj)->size; m 1636 modules/core/src/matrix.cpp if( m->dims > 2 ) m 1638 modules/core/src/matrix.cpp sz1 = m->size(); m 1642 modules/core/src/matrix.cpp const UMat* m = ((const UMat*)obj); m 1644 modules/core/src/matrix.cpp return m->size == ((const Mat*)arr.obj)->size; m 1646 modules/core/src/matrix.cpp return m->size == ((const UMat*)arr.obj)->size; m 1647 modules/core/src/matrix.cpp if( m->dims > 2 ) m 1649 modules/core/src/matrix.cpp sz1 = m->size(); m 1984 modules/core/src/matrix.cpp const Mat * const m = ((const Mat*)obj); m 1985 modules/core/src/matrix.cpp return (size_t)(m->ptr() - m->datastart); m 2018 modules/core/src/matrix.cpp const cuda::GpuMat * const m = ((const cuda::GpuMat*)obj); m 2019 modules/core/src/matrix.cpp return (size_t)(m->data - m->datastart); m 2080 modules/core/src/matrix.cpp Mat m = getMat(); m 2081 modules/core/src/matrix.cpp m.copyTo(arr); m 2105 modules/core/src/matrix.cpp Mat m = getMat(); m 2106 modules/core/src/matrix.cpp m.copyTo(arr, mask); m 2217 modules/core/src/matrix.cpp Mat& m = *(Mat*)obj; m 2220 modules/core/src/matrix.cpp if( !m.isContinuous() ) m 2223 modules/core/src/matrix.cpp m.release(); m 2226 modules/core/src/matrix.cpp if( d == 2 && m.dims == 2 && m.data && m 2227 modules/core/src/matrix.cpp m.type() == mtype && m.rows == sizes[1] && m.cols == sizes[0] ) m 2233 modules/core/src/matrix.cpp if(CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0 ) m 2234 modules/core/src/matrix.cpp mtype = m.type(); m 2236 modules/core/src/matrix.cpp CV_Assert(CV_MAT_TYPE(mtype) == m.type()); m 2240 modules/core/src/matrix.cpp CV_Assert(m.dims == d); m 2242 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); m 2244 modules/core/src/matrix.cpp m.create(d, sizes, mtype); m 2251 modules/core/src/matrix.cpp UMat& m = *(UMat*)obj; m 2254 modules/core/src/matrix.cpp if( !m.isContinuous() ) m 2257 modules/core/src/matrix.cpp m.release(); m 2260 modules/core/src/matrix.cpp if( d == 2 && m.dims == 2 && !m.empty() && m 2261 modules/core/src/matrix.cpp m.type() == mtype && m.rows == sizes[1] && m.cols == sizes[0] ) m 2267 modules/core/src/matrix.cpp if(CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0 ) m 2268 modules/core/src/matrix.cpp mtype = m.type(); m 2270 modules/core/src/matrix.cpp CV_Assert(CV_MAT_TYPE(mtype) == m.type()); m 2274 modules/core/src/matrix.cpp CV_Assert(m.dims == d); m 2276 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); m 2278 modules/core/src/matrix.cpp m.create(d, sizes, mtype); m 2406 modules/core/src/matrix.cpp Mat& m = v[i]; m 2410 modules/core/src/matrix.cpp if( !m.isContinuous() ) m 2413 modules/core/src/matrix.cpp m.release(); m 2416 modules/core/src/matrix.cpp if( d == 2 && m.dims == 2 && m.data && m 2417 modules/core/src/matrix.cpp m.type() == mtype && m.rows == sizes[1] && m.cols == sizes[0] ) m 2423 modules/core/src/matrix.cpp if(CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0 ) m 2424 modules/core/src/matrix.cpp mtype = m.type(); m 2426 modules/core/src/matrix.cpp CV_Assert(CV_MAT_TYPE(mtype) == m.type()); m 2430 modules/core/src/matrix.cpp CV_Assert(m.dims == d); m 2432 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); m 2435 modules/core/src/matrix.cpp m.create(d, sizes, mtype); m 2465 modules/core/src/matrix.cpp UMat& m = v[i]; m 2469 modules/core/src/matrix.cpp if( !m.isContinuous() ) m 2472 modules/core/src/matrix.cpp m.release(); m 2475 modules/core/src/matrix.cpp if( d == 2 && m.dims == 2 && m.u && m 2476 modules/core/src/matrix.cpp m.type() == mtype && m.rows == sizes[1] && m.cols == sizes[0] ) m 2482 modules/core/src/matrix.cpp if(CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0 ) m 2483 modules/core/src/matrix.cpp mtype = m.type(); m 2485 modules/core/src/matrix.cpp CV_Assert(CV_MAT_TYPE(mtype) == m.type()); m 2489 modules/core/src/matrix.cpp CV_Assert(m.dims == d); m 2491 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); m 2494 modules/core/src/matrix.cpp m.create(d, sizes, mtype); m 2655 modules/core/src/matrix.cpp Mat m = getMat(); m 2656 modules/core/src/matrix.cpp m.setTo(arr, mask); m 2693 modules/core/src/matrix.cpp void _OutputArray::assign(const Mat& m) const m 2698 modules/core/src/matrix.cpp m.copyTo(*(UMat*)obj); // TODO check m.getUMat() m 2702 modules/core/src/matrix.cpp *(Mat*)obj = m; m 2706 modules/core/src/matrix.cpp m.copyTo(getMat()); m 2834 modules/core/src/matrix.cpp UMat m = _m.getUMat(); m 2835 modules/core/src/matrix.cpp k.args(ocl::KernelArg::WriteOnly(m, cn, kercn), m 2838 modules/core/src/matrix.cpp size_t globalsize[2] = { m.cols * cn / kercn, (m.rows + rowsPerWI - 1) / rowsPerWI }; m 2853 modules/core/src/matrix.cpp Mat m = _m.getMat(); m 2854 modules/core/src/matrix.cpp int i, j, rows = m.rows, cols = m.cols, type = m.type(); m 2858 modules/core/src/matrix.cpp float* data = m.ptr<float>(); m 2860 modules/core/src/matrix.cpp size_t step = m.step/sizeof(data[0]); m 2872 modules/core/src/matrix.cpp double* data = m.ptr<double>(); m 2874 modules/core/src/matrix.cpp size_t step = m.step/sizeof(data[0]); m 2884 modules/core/src/matrix.cpp m = Scalar(0); m 2885 modules/core/src/matrix.cpp m.diag() = s; m 2893 modules/core/src/matrix.cpp Mat m = _m.getMat(); m 2894 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 ); m 2895 modules/core/src/matrix.cpp int i, type = m.type(); m 2896 modules/core/src/matrix.cpp int nm = std::min(m.rows, m.cols); m 2900 modules/core/src/matrix.cpp const float* ptr = m.ptr<float>(); m 2901 modules/core/src/matrix.cpp size_t step = m.step/sizeof(ptr[0]) + 1; m 2910 modules/core/src/matrix.cpp const double* ptr = m.ptr<double>(); m 2911 modules/core/src/matrix.cpp size_t step = m.step/sizeof(ptr[0]) + 1; m 2918 modules/core/src/matrix.cpp return cv::sum(m.diag()); m 2929 modules/core/src/matrix.cpp int i=0, j, m = sz.width, n = sz.height; m 2932 modules/core/src/matrix.cpp for(; i <= m - 4; i += 4 ) m 2959 modules/core/src/matrix.cpp for( ; i < m; i++ ) m 3210 modules/core/src/matrix.cpp Mat m = _m.getMat(); m 3211 modules/core/src/matrix.cpp size_t step = m.step, esz = m.elemSize(); m 3212 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 && m.rows == m.cols ); m 3214 modules/core/src/matrix.cpp int rows = m.rows; m 3217 modules/core/src/matrix.cpp uchar* data = m.ptr(); m 3229 modules/core/src/matrix.cpp Mat m = _m.getMat(); m 3231 modules/core/src/matrix.cpp CV_Assert( dims <= 2 && m.dims <= 2 && size() == m.size() && tp == m.type() && m 3237 modules/core/src/matrix.cpp const float *a = (const float*)data, *b = (const float*)m.data; m 3240 modules/core/src/matrix.cpp size_t ldb = rows > 1 ? m.step/sizeof(b[0]) : 1; m 3248 modules/core/src/matrix.cpp const double *a = (const double*)data, *b = (const double*)m.data; m 3251 modules/core/src/matrix.cpp size_t ldb = rows > 1 ? m.step/sizeof(b[0]) : 1; m 4076 modules/core/src/matrix.cpp cv::Mat m = cv::cvarrToMat(arr); m 4077 modules/core/src/matrix.cpp cv::setIdentity(m, value); m 4098 modules/core/src/matrix.cpp cv::Mat m = cv::cvarrToMat(matrix); m 4099 modules/core/src/matrix.cpp cv::completeSymm( m, LtoR != 0 ); m 4450 modules/core/src/matrix.cpp if( !m ) m 4452 modules/core/src/matrix.cpp CV_DbgAssert(m->dims <= 2); m 4454 modules/core/src/matrix.cpp ptrdiff_t ofs = ptr - m->ptr(); m 4455 modules/core/src/matrix.cpp int y = (int)(ofs/m->step[0]); m 4456 modules/core/src/matrix.cpp return Point((int)((ofs - y*m->step[0])/elemSize), y); m 4461 modules/core/src/matrix.cpp CV_Assert(m != 0 && _idx); m 4462 modules/core/src/matrix.cpp ptrdiff_t ofs = ptr - m->ptr(); m 4463 modules/core/src/matrix.cpp for( int i = 0; i < m->dims; i++ ) m 4465 modules/core/src/matrix.cpp size_t s = m->step[i], v = ofs/s; m 4473 modules/core/src/matrix.cpp if(!m) m 4475 modules/core/src/matrix.cpp if( m->isContinuous() ) m 4477 modules/core/src/matrix.cpp ptrdiff_t ofs = ptr - m->ptr(); m 4478 modules/core/src/matrix.cpp int i, d = m->dims; m 4481 modules/core/src/matrix.cpp ptrdiff_t y = ofs/m->step[0]; m 4482 modules/core/src/matrix.cpp return y*m->cols + (ofs - y*m->step[0])/elemSize; m 4487 modules/core/src/matrix.cpp size_t s = m->step[i], v = ofs/s; m 4489 modules/core/src/matrix.cpp result = result*m->size[i] + v; m 4496 modules/core/src/matrix.cpp if( m->isContinuous() ) m 4506 modules/core/src/matrix.cpp int d = m->dims; m 4512 modules/core/src/matrix.cpp ofs0 = ptr - m->ptr(); m 4513 modules/core/src/matrix.cpp y = ofs0/m->step[0]; m 4514 modules/core/src/matrix.cpp ofs += y*m->cols + (ofs0 - y*m->step[0])/elemSize; m 4516 modules/core/src/matrix.cpp y = ofs/m->cols; m 4517 modules/core/src/matrix.cpp int y1 = std::min(std::max((int)y, 0), m->rows-1); m 4518 modules/core/src/matrix.cpp sliceStart = m->ptr(y1); m 4519 modules/core/src/matrix.cpp sliceEnd = sliceStart + m->cols*elemSize; m 4520 modules/core/src/matrix.cpp ptr = y < 0 ? sliceStart : y >= m->rows ? sliceEnd : m 4521 modules/core/src/matrix.cpp sliceStart + (ofs - y*m->cols)*elemSize; m 4531 modules/core/src/matrix.cpp int szi = m->size[d-1]; m 4535 modules/core/src/matrix.cpp ptr = m->ptr() + v*elemSize; m 4536 modules/core/src/matrix.cpp sliceStart = m->ptr(); m 4540 modules/core/src/matrix.cpp szi = m->size[i]; m 4544 modules/core/src/matrix.cpp sliceStart += v*m->step[i]; m 4547 modules/core/src/matrix.cpp sliceEnd = sliceStart + m->size[d-1]*elemSize; m 4551 modules/core/src/matrix.cpp ptr = sliceStart + (ptr - m->ptr()); m 4556 modules/core/src/matrix.cpp int i, d = m->dims; m 4561 modules/core/src/matrix.cpp ofs = _idx[0]*m->size[1] + _idx[1]; m 4565 modules/core/src/matrix.cpp ofs = ofs*m->size[i] + _idx[i]; m 4740 modules/core/src/matrix.cpp SparseMat::SparseMat(const Mat& m) m 4743 modules/core/src/matrix.cpp create( m.dims, m.size, m.type() ); m 4745 modules/core/src/matrix.cpp int i, idx[CV_MAX_DIM] = {0}, d = m.dims, lastSize = m.size[d - 1]; m 4746 modules/core/src/matrix.cpp size_t esz = m.elemSize(); m 4747 modules/core/src/matrix.cpp const uchar* dptr = m.ptr(); m 4762 modules/core/src/matrix.cpp dptr += m.step[i] - m.size[i+1]*m.step[i+1]; m 4763 modules/core/src/matrix.cpp if( ++idx[i] < m.size[i] ) m 4795 modules/core/src/matrix.cpp void SparseMat::copyTo( SparseMat& m ) const m 4797 modules/core/src/matrix.cpp if( hdr == m.hdr ) m 4801 modules/core/src/matrix.cpp m.release(); m 4804 modules/core/src/matrix.cpp m.create( hdr->dims, hdr->size, type() ); m 4811 modules/core/src/matrix.cpp uchar* to = m.newNode(n->idx, n->hashval); m 4816 modules/core/src/matrix.cpp void SparseMat::copyTo( Mat& m ) const m 4820 modules/core/src/matrix.cpp m.create( ndims, hdr->size, type() ); m 4821 modules/core/src/matrix.cpp m = Scalar(0); m 4829 modules/core/src/matrix.cpp copyElem( from.ptr, (ndims > 1 ? m.ptr(n->idx) : m.ptr(n->idx[0])), esz); m 4834 modules/core/src/matrix.cpp void SparseMat::convertTo( SparseMat& m, int rtype, double alpha ) const m 4840 modules/core/src/matrix.cpp if( hdr == m.hdr && rtype != type() ) m 4844 modules/core/src/matrix.cpp m = temp; m 4849 modules/core/src/matrix.cpp if( hdr != m.hdr ) m 4850 modules/core/src/matrix.cpp m.create( hdr->dims, hdr->size, rtype ); m 4861 modules/core/src/matrix.cpp uchar* to = hdr == m.hdr ? from.ptr : m.newNode(n->idx, n->hashval); m 4871 modules/core/src/matrix.cpp uchar* to = hdr == m.hdr ? from.ptr : m.newNode(n->idx, n->hashval); m 4878 modules/core/src/matrix.cpp void SparseMat::convertTo( Mat& m, int rtype, double alpha, double beta ) const m 4886 modules/core/src/matrix.cpp m.create( dims(), hdr->size, rtype ); m 4887 modules/core/src/matrix.cpp m = Scalar(beta); m 4898 modules/core/src/matrix.cpp uchar* to = m.ptr(n->idx); m 4908 modules/core/src/matrix.cpp uchar* to = m.ptr(n->idx); m 5168 modules/core/src/matrix.cpp : m((SparseMat*)_m), hashidx(0), ptr(0) m 5172 modules/core/src/matrix.cpp SparseMat::Hdr& hdr = *m->hdr; m 5189 modules/core/src/matrix.cpp if( !ptr || !m || !m->hdr ) m 5191 modules/core/src/matrix.cpp SparseMat::Hdr& hdr = *m->hdr; m 5400 modules/core/src/matrix.cpp CvMatND::CvMatND(const cv::Mat& m) m 5402 modules/core/src/matrix.cpp cvInitMatNDHeader(this, m.dims, m.size, m.type(), m.data ); m 5403 modules/core/src/matrix.cpp int i, d = m.dims; m 5405 modules/core/src/matrix.cpp dim[i].step = (int)m.step[i]; m 5406 modules/core/src/matrix.cpp type |= m.flags & cv::Mat::CONTINUOUS_FLAG; m 5409 modules/core/src/matrix.cpp _IplImage::_IplImage(const cv::Mat& m) m 5411 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 ); m 5412 modules/core/src/matrix.cpp cvInitImageHeader(this, m.size(), cvIplDepth(m.flags), m.channels()); m 5413 modules/core/src/matrix.cpp cvSetData(this, m.data, (int)m.step[0]); m 5421 modules/core/src/matrix.cpp CvSparseMat* m = cvCreateSparseMat(sm.hdr->dims, sm.hdr->size, sm.type()); m 5429 modules/core/src/matrix.cpp uchar* to = cvPtrND(m, n->idx, 0, -2, 0); m 5432 modules/core/src/matrix.cpp return m; m 5435 modules/core/src/matrix.cpp void CvSparseMat::copyToSparseMat(cv::SparseMat& m) const m 5437 modules/core/src/matrix.cpp m.create( dims, &size[0], type ); m 5441 modules/core/src/matrix.cpp size_t esz = m.elemSize(); m 5446 modules/core/src/matrix.cpp uchar* to = m.newNode(idx, m.hash(idx)); m 1380 modules/core/src/ocl.cpp UMat2D(const UMat& m) m 1382 modules/core/src/ocl.cpp offset = (int)m.offset; m 1383 modules/core/src/ocl.cpp step = (int)m.step; m 1384 modules/core/src/ocl.cpp rows = m.rows; m 1385 modules/core/src/ocl.cpp cols = m.cols; m 1395 modules/core/src/ocl.cpp UMat3D(const UMat& m) m 1397 modules/core/src/ocl.cpp offset = (int)m.offset; m 1398 modules/core/src/ocl.cpp step = (int)m.step.p[1]; m 1399 modules/core/src/ocl.cpp slicestep = (int)m.step.p[0]; m 1400 modules/core/src/ocl.cpp slices = (int)m.size.p[0]; m 1401 modules/core/src/ocl.cpp rows = m.size.p[1]; m 1402 modules/core/src/ocl.cpp cols = m.size.p[2]; m 1536 modules/core/src/ocl.cpp AutoLock lock(m); m 1557 modules/core/src/ocl.cpp static Mutex m; m 1564 modules/core/src/ocl.cpp Mutex AmdBlasHelper::m; m 1610 modules/core/src/ocl.cpp AutoLock lock(m); m 1637 modules/core/src/ocl.cpp static Mutex m; m 1645 modules/core/src/ocl.cpp Mutex AmdFftHelper::m; m 3068 modules/core/src/ocl.cpp : flags(0), m(0), obj(0), sz(0), wscale(1), iwscale(1) m 3073 modules/core/src/ocl.cpp : flags(_flags), m(_m), obj(_obj), sz(_sz), wscale(_wscale), iwscale(_iwscale) m 3077 modules/core/src/ocl.cpp KernelArg KernelArg::Constant(const Mat& m) m 3079 modules/core/src/ocl.cpp CV_Assert(m.isContinuous()); m 3080 modules/core/src/ocl.cpp return KernelArg(CONSTANT, 0, 0, 0, m.ptr(), m.total()*m.elemSize()); m 3113 modules/core/src/ocl.cpp void addUMat(const UMat& m, bool dst) m 3115 modules/core/src/ocl.cpp CV_Assert(nu < MAX_ARRS && m.u && m.u->urefcount > 0); m 3116 modules/core/src/ocl.cpp u[nu] = m.u; m 3117 modules/core/src/ocl.cpp CV_XADD(&m.u->urefcount, 1); m 3119 modules/core/src/ocl.cpp if(dst && m.u->tempUMat()) m 3271 modules/core/src/ocl.cpp int Kernel::set(int i, const UMat& m) m 3273 modules/core/src/ocl.cpp return set(i, KernelArg(KernelArg::READ_WRITE, (UMat*)&m, 0, 0)); m 3284 modules/core/src/ocl.cpp if( arg.m ) m 3289 modules/core/src/ocl.cpp cl_mem h = (cl_mem)arg.m->handle(accessFlags); m 3299 modules/core/src/ocl.cpp if ((arg.m->u->allocatorFlags_ & svm::OPENCL_SVM_BUFFER_MASK) != 0) m 3303 modules/core/src/ocl.cpp uchar*& svmDataPtr = (uchar*&)arg.m->u->handle; m 3322 modules/core/src/ocl.cpp else if( arg.m->dims <= 2 ) m 3324 modules/core/src/ocl.cpp UMat2D u2d(*arg.m); m 3339 modules/core/src/ocl.cpp UMat3D u3d(*arg.m); m 3353 modules/core/src/ocl.cpp p->addUMat(*arg.m, (accessFlags & ACCESS_WRITE) != 0); m 5683 modules/core/src/ocl.cpp bool Image2D::canCreateAlias(const UMat &m) m 5687 modules/core/src/ocl.cpp if (d.imageFromBufferSupport() && !m.empty()) m 5691 modules/core/src/ocl.cpp if (pitchAlign && !(m.step % (pitchAlign * m.elemSize()))) m 5695 modules/core/src/ocl.cpp if (!m.u->tempUMat()) m 84 modules/core/src/out.cpp FormattedImpl(String pl, String el, Mat m, char br[5], bool sLine, bool aOrder, int precision) m 86 modules/core/src/out.cpp CV_Assert(m.dims <= 2); m 90 modules/core/src/out.cpp mtx = m; m 91 modules/core/src/out.cpp mcn = m.channels(); m 5561 modules/core/src/persistence.cpp Ptr<CvSparseMat> m((CvSparseMat*)cvRead((CvFileStorage*)node.fs, (CvFileNode*)*node)); m 5562 modules/core/src/persistence.cpp CV_Assert(CV_IS_SPARSE_MAT(m)); m 5563 modules/core/src/persistence.cpp m->copyToSparseMat(mat); m 5605 modules/core/src/persistence.cpp const DMatch& m = matches[i]; m 5606 modules/core/src/persistence.cpp cv::write(fs, m.queryIdx); m 5607 modules/core/src/persistence.cpp cv::write(fs, m.trainIdx); m 5608 modules/core/src/persistence.cpp cv::write(fs, m.imgIdx); m 5609 modules/core/src/persistence.cpp cv::write(fs, m.distance); m 5619 modules/core/src/persistence.cpp DMatch m; m 5620 modules/core/src/persistence.cpp it >> m.queryIdx >> m.trainIdx >> m.imgIdx >> m.distance; m 5621 modules/core/src/persistence.cpp matches.push_back(m); m 1031 modules/core/src/stat.cpp template <typename T> Scalar ocl_part_sum(Mat m) m 1033 modules/core/src/stat.cpp CV_Assert(m.rows == 1); m 1036 modules/core/src/stat.cpp int cn = m.channels(); m 1037 modules/core/src/stat.cpp const T * const ptr = m.ptr<T>(0); m 1039 modules/core/src/stat.cpp for (int x = 0, w = m.cols * cn; x < w; ) m 1125 modules/core/src/stat.cpp typedef Scalar (*part_sum)(Mat m); m 1573 modules/core/src/stat.cpp typedef Scalar (* part_sum)(Mat m); m 903 modules/core/src/system.cpp Mutex::Mutex(const Mutex& m) m 905 modules/core/src/system.cpp impl = m.impl; m 909 modules/core/src/system.cpp Mutex& Mutex::operator = (const Mutex& m) m 911 modules/core/src/system.cpp CV_XADD(&m.impl->refcount, 1); m 914 modules/core/src/system.cpp impl = m.impl; m 126 modules/core/src/umatrix.cpp static inline void setSize( UMat& m, int _dims, const int* _sz, m 130 modules/core/src/umatrix.cpp if( m.dims != _dims ) m 132 modules/core/src/umatrix.cpp if( m.step.p != m.step.buf ) m 134 modules/core/src/umatrix.cpp fastFree(m.step.p); m 135 modules/core/src/umatrix.cpp m.step.p = m.step.buf; m 136 modules/core/src/umatrix.cpp m.size.p = &m.rows; m 140 modules/core/src/umatrix.cpp m.step.p = (size_t*)fastMalloc(_dims*sizeof(m.step.p[0]) + (_dims+1)*sizeof(m.size.p[0])); m 141 modules/core/src/umatrix.cpp m.size.p = (int*)(m.step.p + _dims) + 1; m 142 modules/core/src/umatrix.cpp m.size.p[-1] = _dims; m 143 modules/core/src/umatrix.cpp m.rows = m.cols = -1; m 147 modules/core/src/umatrix.cpp m.dims = _dims; m 151 modules/core/src/umatrix.cpp size_t esz = CV_ELEM_SIZE(m.flags), total = esz; m 157 modules/core/src/umatrix.cpp m.size.p[i] = s; m 160 modules/core/src/umatrix.cpp m.step.p[i] = i < _dims-1 ? _steps[i] : esz; m 163 modules/core/src/umatrix.cpp m.step.p[i] = total; m 173 modules/core/src/umatrix.cpp m.dims = 2; m 174 modules/core/src/umatrix.cpp m.cols = 1; m 175 modules/core/src/umatrix.cpp m.step[1] = esz; m 179 modules/core/src/umatrix.cpp static void updateContinuityFlag(UMat& m) m 182 modules/core/src/umatrix.cpp for( i = 0; i < m.dims; i++ ) m 184 modules/core/src/umatrix.cpp if( m.size[i] > 1 ) m 188 modules/core/src/umatrix.cpp for( j = m.dims-1; j > i; j-- ) m 190 modules/core/src/umatrix.cpp if( m.step[j]*m.size[j] < m.step[j-1] ) m 194 modules/core/src/umatrix.cpp uint64 total = (uint64)m.step[0]*m.size[0]; m 196 modules/core/src/umatrix.cpp m.flags |= UMat::CONTINUOUS_FLAG; m 198 modules/core/src/umatrix.cpp m.flags &= ~UMat::CONTINUOUS_FLAG; m 202 modules/core/src/umatrix.cpp static void finalizeHdr(UMat& m) m 204 modules/core/src/umatrix.cpp updateContinuityFlag(m); m 205 modules/core/src/umatrix.cpp int d = m.dims; m 207 modules/core/src/umatrix.cpp m.rows = m.cols = -1; m 283 modules/core/src/umatrix.cpp void UMat::copySize(const UMat& m) m 285 modules/core/src/umatrix.cpp setSize(*this, m.dims, 0, 0); m 288 modules/core/src/umatrix.cpp size[i] = m.size[i]; m 289 modules/core/src/umatrix.cpp step[i] = m.step[i]; m 308 modules/core/src/umatrix.cpp UMat::UMat(const UMat& m, const Range& _rowRange, const Range& _colRange) m 311 modules/core/src/umatrix.cpp CV_Assert( m.dims >= 2 ); m 312 modules/core/src/umatrix.cpp if( m.dims > 2 ) m 314 modules/core/src/umatrix.cpp AutoBuffer<Range> rs(m.dims); m 317 modules/core/src/umatrix.cpp for( int i = 2; i < m.dims; i++ ) m 319 modules/core/src/umatrix.cpp *this = m(rs); m 323 modules/core/src/umatrix.cpp *this = m; m 326 modules/core/src/umatrix.cpp CV_Assert( 0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows ); m 334 modules/core/src/umatrix.cpp CV_Assert( 0 <= _colRange.start && _colRange.start <= _colRange.end && _colRange.end <= m.cols ); m 337 modules/core/src/umatrix.cpp flags &= cols < m.cols ? ~CONTINUOUS_FLAG : -1; m 352 modules/core/src/umatrix.cpp UMat::UMat(const UMat& m, const Rect& roi) m 353 modules/core/src/umatrix.cpp : flags(m.flags), dims(2), rows(roi.height), cols(roi.width), m 354 modules/core/src/umatrix.cpp allocator(m.allocator), usageFlags(m.usageFlags), u(m.u), offset(m.offset + roi.y*m.step[0]), size(&rows) m 356 modules/core/src/umatrix.cpp CV_Assert( m.dims <= 2 ); m 357 modules/core/src/umatrix.cpp flags &= roi.width < m.cols ? ~CONTINUOUS_FLAG : -1; m 362 modules/core/src/umatrix.cpp CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && m 363 modules/core/src/umatrix.cpp 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows ); m 366 modules/core/src/umatrix.cpp if( roi.width < m.cols || roi.height < m.rows ) m 369 modules/core/src/umatrix.cpp step[0] = m.step[0]; step[1] = esz; m 379 modules/core/src/umatrix.cpp UMat::UMat(const UMat& m, const Range* ranges) m 382 modules/core/src/umatrix.cpp int i, d = m.dims; m 388 modules/core/src/umatrix.cpp CV_Assert( r == Range::all() || (0 <= r.start && r.start < r.end && r.end <= m.size[i]) ); m 390 modules/core/src/umatrix.cpp *this = m; m 407 modules/core/src/umatrix.cpp UMat m = *this; m 414 modules/core/src/umatrix.cpp m.offset += esz*d; m 419 modules/core/src/umatrix.cpp m.offset -= step[0]*d; m 423 modules/core/src/umatrix.cpp m.size[0] = m.rows = len; m 424 modules/core/src/umatrix.cpp m.size[1] = m.cols = 1; m 425 modules/core/src/umatrix.cpp m.step[0] += (len > 1 ? esz : 0); m 427 modules/core/src/umatrix.cpp if( m.rows > 1 ) m 428 modules/core/src/umatrix.cpp m.flags &= ~CONTINUOUS_FLAG; m 430 modules/core/src/umatrix.cpp m.flags |= CONTINUOUS_FLAG; m 433 modules/core/src/umatrix.cpp m.flags |= SUBMATRIX_FLAG; m 435 modules/core/src/umatrix.cpp return m; m 538 modules/core/src/umatrix.cpp UMat m(len, len, d.type(), Scalar(0)); m 539 modules/core/src/umatrix.cpp UMat md = m.diag(); m 544 modules/core/src/umatrix.cpp return m; m 765 modules/core/src/umatrix.cpp Mat m = getMat(ACCESS_READ); m 766 modules/core/src/umatrix.cpp m.convertTo(_dst, _type, alpha, beta); m 821 modules/core/src/umatrix.cpp Mat m = getMat(haveMask ? ACCESS_RW : ACCESS_WRITE); m 822 modules/core/src/umatrix.cpp m.setTo(_value, _mask); m 834 modules/core/src/umatrix.cpp UMat m; m 835 modules/core/src/umatrix.cpp transpose(*this, m); m 836 modules/core/src/umatrix.cpp return m; m 841 modules/core/src/umatrix.cpp UMat m; m 842 modules/core/src/umatrix.cpp invert(*this, m, method); m 843 modules/core/src/umatrix.cpp return m; m 846 modules/core/src/umatrix.cpp UMat UMat::mul(InputArray m, double scale) const m 849 modules/core/src/umatrix.cpp multiply(*this, m, dst, scale); m 907 modules/core/src/umatrix.cpp double UMat::dot(InputArray m) const m 909 modules/core/src/umatrix.cpp CV_Assert(m.sameSize(*this) && m.type() == type()); m 913 modules/core/src/umatrix.cpp CV_OCL_RUN_(dims <= 2, ocl_dot(*this, m, r), r) m 916 modules/core/src/umatrix.cpp return getMat(ACCESS_READ).dot(m); m 956 modules/core/src/umatrix.cpp UMat m(size, type); m 957 modules/core/src/umatrix.cpp setIdentity(m); m 958 modules/core/src/umatrix.cpp return m; m 1020 modules/core/test/ocl/test_arithm.cpp Mat m(size, CV_32SC1), mask(size, CV_8UC1, Scalar::all(0)); m 1025 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::meanStdDev(m, cpu_mean, cpu_stddev, mask)); m 42 modules/core/test/ocl/test_matrix_expr.cpp Mat m = Mat::eye(size, type); m 45 modules/core/test/ocl/test_matrix_expr.cpp EXPECT_MAT_NEAR(m, um, 0); m 57 modules/core/test/ocl/test_matrix_expr.cpp Mat m = Mat::zeros(size, type); m 60 modules/core/test/ocl/test_matrix_expr.cpp EXPECT_MAT_NEAR(m, um, 0); m 72 modules/core/test/ocl/test_matrix_expr.cpp Mat m = Mat::ones(size, type); m 75 modules/core/test/ocl/test_matrix_expr.cpp EXPECT_MAT_NEAR(m, um, 0); m 45 modules/core/test/test_arithm.cpp const double m = 3.; m 49 modules/core/test/test_arithm.cpp alpha = exp(rng.uniform(-0.5, 0.1)*m*2*CV_LOG2); m 54 modules/core/test/test_arithm.cpp beta = exp(rng.uniform(-0.5, 0.1)*m*2*CV_LOG2); m 62 modules/core/test/test_arithm.cpp gamma[i] = exp(rng.uniform(-1, 6)*m*CV_LOG2); m 543 modules/core/test/test_ds.cpp Mat m( 1, MAX(sseq->count,1)*elem_size, CV_8UC1, sseq->array ); m 544 modules/core/test/test_ds.cpp cvtest::randUni( rng, m, Scalar::all(0), Scalar::all(256) ); m 846 modules/core/test/test_dxt.cpp int m = rng.uniform(2, 11); m 849 modules/core/test/test_dxt.cpp Mat src8u(m, n, depth), src(m, n, depth), dst(m, n, CV_MAKETYPE(depth, 2)); m 850 modules/core/test/test_dxt.cpp Mat z = Mat::zeros(m, n, depth), dstz; m 875 modules/core/test/test_dxt.cpp int m = theRNG().uniform(1, 10); m 877 modules/core/test/test_dxt.cpp Mat x(m, n, type), out; m 881 modules/core/test/test_dxt.cpp double thresh = n*m*2; m 9 modules/core/test/test_io.cpp SparseMat m(dims, sz, type); m 18 modules/core/test/test_io.cpp uchar* ptr = m.ptr(idx, true, 0); m 35 modules/core/test/test_io.cpp return m; m 213 modules/core/test/test_io.cpp CvMat* m = (CvMat*)fs["test_mat"].readObj(); m 217 modules/core/test/test_io.cpp cvReshape(m, &stub1, 1, 0); m 221 modules/core/test/test_io.cpp if( !m || !CV_IS_MAT(m) || m->rows != test_mat.rows || m->cols != test_mat.cols || m 230 modules/core/test/test_io.cpp if( m && CV_IS_MAT(m)) m 231 modules/core/test/test_io.cpp cvReleaseMat(&m); m 439 modules/core/test/test_io.cpp Mat m(10, 9, CV_32F); m 442 modules/core/test/test_io.cpp randu(m, 0, 1); m 444 modules/core/test/test_io.cpp mv3.push_back(m); m 940 modules/core/test/test_mat.cpp int calcDiffElemCountImpl(const vector<Mat>& mv, const Mat& m) m 943 modules/core/test/test_mat.cpp const int mChannels = m.channels(); m 944 modules/core/test/test_mat.cpp for(int y = 0; y < m.rows; y++) m 946 modules/core/test/test_mat.cpp for(int x = 0; x < m.cols; x++) m 948 modules/core/test/test_mat.cpp const ElemType* mElem = &m.at<ElemType>(y,x*mChannels); m 966 modules/core/test/test_mat.cpp int calcDiffElemCount(const vector<Mat>& mv, const Mat& m) m 968 modules/core/test/test_mat.cpp int depth = m.depth(); m 972 modules/core/test/test_mat.cpp return calcDiffElemCountImpl<uchar>(mv, m); m 974 modules/core/test/test_mat.cpp return calcDiffElemCountImpl<char>(mv, m); m 976 modules/core/test/test_mat.cpp return calcDiffElemCountImpl<unsigned short>(mv, m); m 978 modules/core/test/test_mat.cpp return calcDiffElemCountImpl<short int>(mv, m); m 980 modules/core/test/test_mat.cpp return calcDiffElemCountImpl<int>(mv, m); m 982 modules/core/test/test_mat.cpp return calcDiffElemCountImpl<float>(mv, m); m 984 modules/core/test/test_mat.cpp return calcDiffElemCountImpl<double>(mv, m); m 1048 modules/core/test/test_mat.cpp Mat m(size, CV_MAKETYPE(depth, rng.uniform(1,maxMatChannels))); m 1049 modules/core/test/test_mat.cpp rng.fill(m, RNG::UNIFORM, 0, 100, true); m 1050 modules/core/test/test_mat.cpp channels += m.channels(); m 1051 modules/core/test/test_mat.cpp src[i] = m; m 1170 modules/core/test/test_mat.cpp void OutputArray_create1(OutputArray m) { m.create(1, 2, CV_32S); } m 1171 modules/core/test/test_mat.cpp void OutputArray_create2(OutputArray m) { m.create(1, 3, CV_32F); } m 1257 modules/core/test/test_mat.cpp SparseMat m(2, sz, CV_64F); m 1259 modules/core/test/test_mat.cpp int nodeSize0 = (int)m.hdr->nodeSize; m 1260 modules/core/test/test_mat.cpp double dataSize0 = ((double)m.hdr->pool.size() + (double)m.hdr->hashtab.size()*sizeof(size_t))*1e-6; m 1265 modules/core/test/test_mat.cpp m.ref<double>(i, i) = 1; m 1268 modules/core/test/test_mat.cpp double dataSize1 = ((double)m.hdr->pool.size() + (double)m.hdr->hashtab.size()*sizeof(size_t))*1e-6; m 1272 modules/core/test/test_mat.cpp ASSERT_LE((int)m.hdr->nodeSize, 32); m 872 modules/core/test/test_math.cpp Mat& m = test_mat[INPUT][1]; m 873 modules/core/test/test_math.cpp cvtest::add(m, scale, m, 0, Scalar::all(0), m, m.type() ); m 876 modules/core/test/test_math.cpp Mat mask = Mat::eye(m.rows, m.cols, CV_8U)*255; m 878 modules/core/test/test_math.cpp m.setTo(Scalar::all(0), mask); m 1819 modules/core/test/test_math.cpp int min_size, i, m, n; m 1833 modules/core/test/test_math.cpp m = sizes[INPUT][0].height; m 1853 modules/core/test/test_math.cpp sizes[TEMP][1] = compact ? Size(min_size, m) : Size(m, m); m 1875 modules/core/test/test_math.cpp sizes[OUTPUT][1] = !have_u ? Size(0,0) : compact ? Size(min_size,min_size) : Size(m,m); m 1937 modules/core/test/test_math.cpp int i, m = input.rows, n = input.cols, min_size = MIN(m, n); m 1991 modules/core/test/test_math.cpp if( m >= n ) m 2047 modules/core/test/test_math.cpp int min_size, i, m, n; m 2061 modules/core/test/test_math.cpp m = sizes[INPUT][0].height; m 2065 modules/core/test/test_math.cpp b_size = Size(m,m); m 2086 modules/core/test/test_math.cpp sizes[TEMP][1] = compact ? Size(min_size, m) : Size(m, m); m 2148 modules/core/test/test_math.cpp int i, m = input.rows, n = input.cols, min_size = MIN(m, n); m 2150 modules/core/test/test_math.cpp Size w_size = compact ? Size(min_size,min_size) : Size(m,n); m 2456 modules/core/test/test_math.cpp cv::Mat m; m 2457 modules/core/test/test_math.cpp ASSERT_TRUE( cv::checkRange(m) ); m 2473 modules/core/test/test_math.cpp cv::Mat m(3, 3, CV_32SC1, cv::Scalar(INT_MAX)); m 2474 modules/core/test/test_math.cpp ASSERT_FALSE( cv::checkRange(m, true, 0, 0, INT_MAX) ); m 2475 modules/core/test/test_math.cpp ASSERT_TRUE( cv::checkRange(m) ); m 114 modules/core/test/test_operations.cpp cv::Mat_<_Tp> m(sz); m 115 modules/core/test/test_operations.cpp CV_Assert(m.cols == sz.width && m.rows == sz.height && m.depth() == DataType<_Tp>::depth && m 116 modules/core/test/test_operations.cpp m.channels() == DataType<_Tp>::channels && m 117 modules/core/test/test_operations.cpp m.elemSize() == sizeof(_Tp) && m.step == m.elemSize()*m.cols); m 121 modules/core/test/test_operations.cpp m(y,x) = value; m 124 modules/core/test/test_operations.cpp double s = sum(Mat(m).reshape(1))[0]; m 192 modules/core/test/test_operations.cpp Mat m; m 193 modules/core/test/test_operations.cpp m = maskMat4.clone(); m &= maskMat1; CHECK_DIFF(maskMat0, m); m 194 modules/core/test/test_operations.cpp m = maskMat4.clone(); m &= maskMat1 | maskMat1; CHECK_DIFF(maskMat0, m); m 195 modules/core/test/test_operations.cpp m = maskMat4.clone(); m &= (2* maskMat1 - maskMat1); CHECK_DIFF(maskMat0, m); m 197 modules/core/test/test_operations.cpp m = maskMat4.clone(); m &= Scalar(1); CHECK_DIFF(maskMat0, m); m 198 modules/core/test/test_operations.cpp m = maskMat4.clone(); m |= maskMat1; CHECK_DIFF(maskMat5, m); m 199 modules/core/test/test_operations.cpp m = maskMat5.clone(); m ^= maskMat1; CHECK_DIFF(maskMat4, m); m 200 modules/core/test/test_operations.cpp m = maskMat4.clone(); m |= (2* maskMat1 - maskMat1); CHECK_DIFF(maskMat5, m); m 201 modules/core/test/test_operations.cpp m = maskMat5.clone(); m ^= (2* maskMat1 - maskMat1); CHECK_DIFF(maskMat4, m); m 203 modules/core/test/test_operations.cpp m = maskMat4.clone(); m |= Scalar(1); CHECK_DIFF(maskMat5, m); m 204 modules/core/test/test_operations.cpp m = maskMat5.clone(); m ^= Scalar(1); CHECK_DIFF(maskMat4, m); m 341 modules/core/test/test_operations.cpp m = maskMat4.clone(); m/=4.0; CHECK_DIFF(m, maskMat1); m 342 modules/core/test/test_operations.cpp m = maskMat4.clone(); m/=maskMat4; CHECK_DIFF(m, maskMat1); m 343 modules/core/test/test_operations.cpp m = maskMat4.clone(); m/=(maskMat1 * 4.0); CHECK_DIFF(m, maskMat1); m 344 modules/core/test/test_operations.cpp m = maskMat4.clone(); m/=(maskMat4 / maskMat1); CHECK_DIFF(m, maskMat1); m 361 modules/core/test/test_operations.cpp m = mi.clone(); m*=mt; CHECK_DIFF_FLT(m, d1); m 362 modules/core/test/test_operations.cpp m = mi.clone(); m*= (2 * mt - mt) ; CHECK_DIFF_FLT(m, d1); m 364 modules/core/test/test_operations.cpp m = maskMat4.clone(); m+=(maskMat1 * 1.0); CHECK_DIFF(m, maskMat5); m 365 modules/core/test/test_operations.cpp m = maskMat5.clone(); m-=(maskMat1 * 4.0); CHECK_DIFF(m, maskMat1); m 367 modules/core/test/test_operations.cpp m = maskMat1.clone(); m+=(maskMat1 * 3.0 + 1.0); CHECK_DIFF(m, maskMat5); m 368 modules/core/test/test_operations.cpp m = maskMat5.clone(); m-=(maskMat1 * 3.0 + 1.0); CHECK_DIFF(m, maskMat1); m 370 modules/core/test/test_operations.cpp m = mi.clone(); m+=(3.0 * mi * mt + d1); CHECK_DIFF_FLT(m, mi + d1 * 4); m 371 modules/core/test/test_operations.cpp m = mi.clone(); m-=(3.0 * mi * mt + d1); CHECK_DIFF_FLT(m, mi - d1 * 4); m 372 modules/core/test/test_operations.cpp m = mi.clone(); m*=(mt * 1.0); CHECK_DIFF_FLT(m, d1); m 373 modules/core/test/test_operations.cpp m = mi.clone(); m*=(mt * 1.0 + Mat::eye(m.size(), m.type())); CHECK_DIFF_FLT(m, d1 + mi); m 374 modules/core/test/test_operations.cpp m = mi.clone(); m*=mt_tr.t(); CHECK_DIFF_FLT(m, d1); m 563 modules/core/test/test_operations.cpp Mat_<uchar> m; m 564 modules/core/test/test_operations.cpp m = maskMat4.clone(); m&=maskMat1; CHECK_DIFF(maskMat0, m); m 565 modules/core/test/test_operations.cpp m = maskMat4.clone(); m&=Scalar(1); CHECK_DIFF(maskMat0, m); m 567 modules/core/test/test_operations.cpp m = maskMat4.clone(); m|=maskMat1; CHECK_DIFF(maskMat5, m); m 568 modules/core/test/test_operations.cpp m = maskMat4.clone(); m^=maskMat1; CHECK_DIFF(maskMat5, m); m 592 modules/core/test/test_operations.cpp m = maskMat4.clone(); m+=Scalar(1); CHECK_DIFF(m, maskMat5); m 593 modules/core/test/test_operations.cpp m = maskMat4.clone(); m+=maskMat1; CHECK_DIFF(m, maskMat5); m 594 modules/core/test/test_operations.cpp m = maskMat4.clone(); m+=(maskMat1 | maskMat1); CHECK_DIFF(m, maskMat5); m 606 modules/core/test/test_operations.cpp m = maskMat5.clone(); m-=Scalar(1); CHECK_DIFF(m, maskMat4); m 607 modules/core/test/test_operations.cpp m = maskMat5.clone(); m-=maskMat1; CHECK_DIFF(m, maskMat4); m 608 modules/core/test/test_operations.cpp m = maskMat5.clone(); m-=(maskMat1 | maskMat1); CHECK_DIFF(m, maskMat4); m 610 modules/core/test/test_operations.cpp m = maskMat4.clone(); m |= Scalar(1); CHECK_DIFF(maskMat5, m); m 611 modules/core/test/test_operations.cpp m = maskMat5.clone(); m ^= Scalar(1); CHECK_DIFF(maskMat4, m); m 636 modules/core/test/test_operations.cpp m = maskMat4.clone(); m/=4.0; CHECK_DIFF(m, maskMat1); m 707 modules/core/test/test_umat.cpp Mat m = Mat(1, 1, CV_32SC3, a); m 708 modules/core/test/test_umat.cpp UMat u = m.getUMat(ACCESS_READ); m 713 modules/core/test/test_umat.cpp Mat m(10, 10, CV_8UC1), ref; m 714 modules/core/test/test_umat.cpp for (int y = 0; y < m.rows; ++y) m 716 modules/core/test/test_umat.cpp uchar * const ptr = m.ptr<uchar>(y); m 717 modules/core/test/test_umat.cpp for (int x = 0; x < m.cols; ++x) m 721 modules/core/test/test_umat.cpp ref = m.clone(); m 726 modules/core/test/test_umat.cpp UMat um = m(r).getUMat(ACCESS_WRITE); m 730 modules/core/test/test_umat.cpp double err = cvtest::norm(m, ref, NORM_INF); m 733 modules/core/test/test_umat.cpp std::cout << "m: " << std::endl << m << std::endl; m 745 modules/core/test/test_umat.cpp Mat m = um.getMat(ACCESS_WRITE); m 746 modules/core/test/test_umat.cpp m.setTo(cv::Scalar::all(17)); m 757 modules/core/test/test_umat.cpp Mat m(um.size(), um.type()); m 758 modules/core/test/test_umat.cpp m.setTo(Scalar::all(0)); m 766 modules/core/test/test_umat.cpp m.copyTo(um); m 777 modules/core/test/test_umat.cpp Mat m = (Mat_<uchar>(3,3)<<0,1,2,3,4,5,6,7,8); m 781 modules/core/test/test_umat.cpp m.copyTo(um1); m 785 modules/core/test/test_umat.cpp m.copyTo(um2); m 793 modules/core/test/test_umat.cpp EXPECT_MAT_NEAR(um1, m, 0); m 795 modules/core/test/test_umat.cpp EXPECT_MAT_NEAR(um1, m, 0); m 804 modules/core/test/test_umat.cpp EXPECT_MAT_NEAR(um1, m, 0); m 807 modules/core/test/test_umat.cpp EXPECT_MAT_NEAR(um1, m, 0); m 815 modules/core/test/test_umat.cpp UMat m(1, 10000, CV_32FC2, Scalar::all(-1)); m 817 modules/core/test/test_umat.cpp m.colRange(0, 9000).copyTo(t); m 836 modules/core/test/test_umat.cpp Mat m = u_.getMat(cv::ACCESS_READ); m 839 modules/core/test/test_umat.cpp m.release(); m 868 modules/core/test/test_umat.cpp Mat m = Mat(1000, 1000, CV_8UC1); m 869 modules/core/test/test_umat.cpp UMat u = m.getUMat(ACCESS_READ); m 873 modules/core/test/test_umat.cpp m.release(); m 896 modules/core/test/test_umat.cpp Mat m = input.getMat(); m 899 modules/core/test/test_umat.cpp m.convertTo(dst, CV_32FC1); m 912 modules/core/test/test_umat.cpp Mat m = Mat(1000, 1000, CV_8UC1); m 914 modules/core/test/test_umat.cpp l.processData(m); m 935 modules/core/test/test_umat.cpp Mat m = u.getMat(ACCESS_READ); m 953 modules/core/test/test_umat.cpp Mat m = u.getMat(ACCESS_READ); m 969 modules/core/test/test_umat.cpp Mat m = u.getMat(ACCESS_WRITE); m 986 modules/core/test/test_umat.cpp Mat m = u.getMat(ACCESS_WRITE); m 69 modules/cudaarithm/test/test_stream.cpp cv::Mat m = randomMat(cv::Size(128, 128), CV_8UC1); m 70 modules/cudaarithm/test/test_stream.cpp m.copyTo(src); m 491 modules/cudafeatures2d/src/brute_force_matcher.cpp DMatch m(queryIdx, trainIdx, imgIdx, distance); m 493 modules/cudafeatures2d/src/brute_force_matcher.cpp matches.push_back(m); m 799 modules/cudafeatures2d/src/brute_force_matcher.cpp DMatch m(queryIdx, trainIdx, imgIdx, distance); m 801 modules/cudafeatures2d/src/brute_force_matcher.cpp curMatches.push_back(m); m 1056 modules/cudafeatures2d/src/brute_force_matcher.cpp DMatch m(queryIdx, trainIdx, imgIdx, distance); m 1058 modules/cudafeatures2d/src/brute_force_matcher.cpp curMatches[i] = m; m 59 modules/cudafilters/test/test_filters.cpp cv::Mat m = getMat(m_); m 60 modules/cudafilters/test/test_filters.cpp cv::Rect roi(ksize.width, ksize.height, m.cols - 2 * ksize.width, m.rows - 2 * ksize.height); m 61 modules/cudafilters/test/test_filters.cpp return m(roi); m 64 modules/cudafilters/test/test_filters.cpp cv::Mat getInnerROI(cv::InputArray m, int ksize) m 66 modules/cudafilters/test/test_filters.cpp return getInnerROI(m, cv::Size(ksize, ksize)); m 393 modules/cudaimgproc/src/generalized_hough.cpp const std::vector<Point2f>& m = grid[yy * gridWidth + xx]; m 395 modules/cudaimgproc/src/generalized_hough.cpp for(size_t j = 0; j < m.size(); ++j) m 397 modules/cudaimgproc/src/generalized_hough.cpp const Point2f d = p - m[j]; m 171 modules/cudaimgproc/src/gftt.cpp std::vector<Point2f>& m = grid[yy * grid_width + xx]; m 173 modules/cudaimgproc/src/gftt.cpp if (!m.empty()) m 175 modules/cudaimgproc/src/gftt.cpp for(size_t j = 0; j < m.size(); j++) m 177 modules/cudaimgproc/src/gftt.cpp float dx = p.x - m[j].x; m 178 modules/cudaimgproc/src/gftt.cpp float dy = p.y - m[j].y; m 266 modules/cudaimgproc/src/hough_circles.cpp std::vector<ushort2>& m = grid[yy * gridWidth + xx]; m 268 modules/cudaimgproc/src/hough_circles.cpp for(size_t j = 0; j < m.size(); ++j) m 270 modules/cudaimgproc/src/hough_circles.cpp float dx = (float)(p.x - m[j].x); m 271 modules/cudaimgproc/src/hough_circles.cpp float dy = (float)(p.y - m[j].y); m 125 modules/cudaimgproc/test/test_match_template.cpp int n, m, h, w; m 85 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ GpuMat_<T>::GpuMat_(const GpuMat_& m) m 86 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp : GpuMat(m) m 91 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ GpuMat_<T>::GpuMat_(const GpuMat& m, Allocator* allocator) m 96 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp if (DataType<T>::type == m.type()) m 98 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp GpuMat::operator =(m); m 102 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp if (DataType<T>::depth == m.depth()) m 104 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp GpuMat::operator =(m.reshape(DataType<T>::channels, m.rows)); m 108 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp CV_Assert( DataType<T>::channels == m.channels() ); m 109 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp m.convertTo(*this, type()); m 125 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ GpuMat_<T>::GpuMat_(const GpuMat_& m, Range arowRange, Range acolRange) m 126 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp : GpuMat(m, arowRange, acolRange) m 131 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ GpuMat_<T>::GpuMat_(const GpuMat_& m, Rect roi) m 132 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp : GpuMat(m, roi) m 145 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ GpuMat_<T>& GpuMat_<T>::operator =(const GpuMat_& m) m 147 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp GpuMat::operator =(m); m 343 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ _InputArray::_InputArray(const cudev::GpuMat_<_Tp>& m) m 344 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp : flags(FIXED_TYPE + CUDA_GPU_MAT + DataType<_Tp>::type), obj((void*)&m) m 348 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ _OutputArray::_OutputArray(cudev::GpuMat_<_Tp>& m) m 349 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp : _InputArray(m) m 353 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ _OutputArray::_OutputArray(const cudev::GpuMat_<_Tp>& m) m 354 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp : _InputArray(m) m 77 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ GpuMat_(const GpuMat_& m); m 80 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ explicit GpuMat_(const GpuMat& m, Allocator* allocator = defaultAllocator()); m 87 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ GpuMat_(const GpuMat_& m, Range arowRange, Range acolRange); m 88 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ GpuMat_(const GpuMat_& m, Rect roi); m 94 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ GpuMat_& operator =(const GpuMat_& m); m 950 modules/features2d/include/opencv2/features2d.hpp static Mat clone_op( Mat m ) { return m.clone(); } m 81 modules/features2d/misc/java/src/cpp/features2d_converters.cpp Mat m; m 82 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vector_KeyPoint_to_Mat(vv_kp[i], m); m 83 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vm.push_back(m); m 107 modules/features2d/misc/java/src/cpp/features2d_converters.cpp Mat m; m 108 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vector_DMatch_to_Mat(vv_dm[i], m); m 109 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vm.push_back(m); m 203 modules/features2d/src/draw.cpp for( size_t m = 0; m < matches1to2.size(); m++ ) m 205 modules/features2d/src/draw.cpp if( matchesMask.empty() || matchesMask[m] ) m 207 modules/features2d/src/draw.cpp int i1 = matches1to2[m].queryIdx; m 208 modules/features2d/src/draw.cpp int i2 = matches1to2[m].trainIdx; m 149 modules/features2d/src/fast.cpp int m = _mm_movemask_epi8(_mm_cmpgt_epi8(max0, K16)); m 151 modules/features2d/src/fast.cpp for( k = 0; m > 0 && k < 16; k++, m >>= 1 ) m 152 modules/features2d/src/fast.cpp if(m & 1) m 293 modules/features2d/src/fast.cpp Mat m; m 294 modules/features2d/src/fast.cpp kp1(Rect(0, 0, counter*2+1, 1)).copyTo(m); m 295 modules/features2d/src/fast.cpp const Point* pt = (const Point*)(m.ptr<int>() + 1); m 55 modules/features2d/src/matchers.cpp static void ensureSizeIsEnough(int rows, int cols, int type, UMat &m) m 57 modules/features2d/src/matchers.cpp if (m.type() == type && m.rows >= rows && m.cols >= cols) m 58 modules/features2d/src/matchers.cpp m = m(Rect(0, 0, cols, rows)); m 60 modules/features2d/src/matchers.cpp m.create(rows, cols, type); m 141 modules/features2d/src/matchers.cpp DMatch m(queryIdx, trainIndex, 0, dst); m 144 modules/features2d/src/matchers.cpp temp.push_back(m); m 250 modules/features2d/src/matchers.cpp DMatch m(queryIdx, trainIndex, 0, dst); m 252 modules/features2d/src/matchers.cpp curMatches.push_back(m); m 371 modules/features2d/src/matchers.cpp DMatch m(queryIdx, trainIndex, 0, dst); m 373 modules/features2d/src/matchers.cpp curMatches[i] = m; m 451 modules/features2d/src/matchers.cpp Mat m = mergedDescriptors.rowRange( startIdxs[i], startIdxs[i] + descriptors[i].rows ); m 452 modules/features2d/src/matchers.cpp descriptors[i].copyTo(m); m 652 modules/features2d/src/mser.cpp double m; // the margin used to prune area later m 957 modules/features2d/src/mser.cpp lr->tmsr->m = lr->dt-lr->di; m 980 modules/features2d/src/mser.cpp lr->tmsr->m = 0; m 993 modules/features2d/src/mser.cpp if ( ptr->m > params.minMargin ) m 85 modules/features2d/test/test_descriptors_regression.cpp Mat m = Mat(rows, step, type).colRange(0, cols); m 87 modules/features2d/test/test_descriptors_regression.cpp size_t elements_read = fread( m.ptr(), 1, dataSize, f ); m 91 modules/features2d/test/test_descriptors_regression.cpp return m; m 237 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t m = 0; m < matches.size(); m++) m 239 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(matches[m].distance < minIntersectRatio) m 246 modules/features2d/test/test_rotation_and_scale_invariance.cpp float angle0 = keypoints0[matches[m].queryIdx].angle; m 247 modules/features2d/test/test_rotation_and_scale_invariance.cpp float angle1 = keypoints1[matches[m].trainIdx].angle; m 353 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t m = 0; m < descMatches.size(); m++) m 355 modules/features2d/test/test_rotation_and_scale_invariance.cpp const KeyPoint& transformed_p0 = keypoints1[descMatches[m].queryIdx]; m 356 modules/features2d/test/test_rotation_and_scale_invariance.cpp const KeyPoint& p1 = keypoints1[descMatches[m].trainIdx]; m 452 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t m = 0; m < matches.size(); m++) m 454 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(matches[m].distance < minIntersectRatio) m 461 modules/features2d/test/test_rotation_and_scale_invariance.cpp float size0 = keypoints0[matches[m].trainIdx].size; m 462 modules/features2d/test/test_rotation_and_scale_invariance.cpp float size1 = osiKeypoints1[matches[m].queryIdx].size; m 557 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t m = 0; m < descMatches.size(); m++) m 559 modules/features2d/test/test_rotation_and_scale_invariance.cpp const KeyPoint& transformed_p0 = keypoints0[descMatches[m].queryIdx]; m 560 modules/features2d/test/test_rotation_and_scale_invariance.cpp const KeyPoint& p1 = keypoints0[descMatches[m].trainIdx]; m 145 modules/flann/include/opencv2/flann/allocator.h void* m = ::malloc(blockSize); m 146 modules/flann/include/opencv2/flann/allocator.h if (!m) { m 152 modules/flann/include/opencv2/flann/allocator.h ((void**) m)[0] = base; m 153 modules/flann/include/opencv2/flann/allocator.h base = m; m 159 modules/flann/include/opencv2/flann/allocator.h loc = ((char*)m + sizeof(void*) + shift); m 74 modules/hal/include/opencv2/hal.hpp int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n); m 75 modules/hal/include/opencv2/hal.hpp int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n); m 76 modules/hal/include/opencv2/hal.hpp bool Cholesky(float* A, size_t astep, int m, float* b, size_t bstep, int n); m 77 modules/hal/include/opencv2/hal.hpp bool Cholesky(double* A, size_t astep, int m, double* b, size_t bstep, int n); m 52 modules/hal/src/matrix.cpp LUImpl(_Tp* A, size_t astep, int m, _Tp* b, size_t bstep, int n, _Tp eps) m 58 modules/hal/src/matrix.cpp for( i = 0; i < m; i++ ) m 62 modules/hal/src/matrix.cpp for( j = i+1; j < m; j++ ) m 71 modules/hal/src/matrix.cpp for( j = i; j < m; j++ ) m 81 modules/hal/src/matrix.cpp for( j = i+1; j < m; j++ ) m 85 modules/hal/src/matrix.cpp for( k = i+1; k < m; k++ ) m 98 modules/hal/src/matrix.cpp for( i = m-1; i >= 0; i-- ) m 102 modules/hal/src/matrix.cpp for( k = i+1; k < m; k++ ) m 112 modules/hal/src/matrix.cpp int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n) m 114 modules/hal/src/matrix.cpp return LUImpl(A, astep, m, b, bstep, n, FLT_EPSILON*10); m 118 modules/hal/src/matrix.cpp int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n) m 120 modules/hal/src/matrix.cpp return LUImpl(A, astep, m, b, bstep, n, DBL_EPSILON*100); m 125 modules/hal/src/matrix.cpp CholImpl(_Tp* A, size_t astep, int m, _Tp* b, size_t bstep, int n) m 133 modules/hal/src/matrix.cpp for( i = 0; i < m; i++ ) m 172 modules/hal/src/matrix.cpp for( i = 0; i < m; i++ ) m 183 modules/hal/src/matrix.cpp for( i = m-1; i >= 0; i-- ) m 188 modules/hal/src/matrix.cpp for( k = m-1; k > i; k-- ) m 198 modules/hal/src/matrix.cpp bool Cholesky(float* A, size_t astep, int m, float* b, size_t bstep, int n) m 200 modules/hal/src/matrix.cpp return CholImpl(A, astep, m, b, bstep, n); m 203 modules/hal/src/matrix.cpp bool Cholesky(double* A, size_t astep, int m, double* b, size_t bstep, int n) m 205 modules/hal/src/matrix.cpp return CholImpl(A, astep, m, b, bstep, n); m 2334 modules/highgui/src/window_QT.cpp void DefaultViewPort::setMouseCallBack(CvMouseCallback m, void* param) m 2336 modules/highgui/src/window_QT.cpp on_mouse = m; m 289 modules/highgui/src/window_QT.h void setMouseCallBack(CvMouseCallback m, void* param); m 68 modules/highgui/test/test_gui.cpp Mat m(256, 256, CV_8U); m 69 modules/highgui/test/test_gui.cpp m = Scalar(128); m 72 modules/highgui/test/test_gui.cpp imshow("Win", m); m 55 modules/imgcodecs/include/opencv2/imgcodecs/ios.h cv::Mat& m, bool alphaExist = false); m 329 modules/imgcodecs/src/utils.cpp int c = cmyk[0], m = cmyk[1], y = cmyk[2], k = cmyk[3]; m 331 modules/imgcodecs/src/utils.cpp m = k - ((255 - m)*k>>8); m 333 modules/imgcodecs/src/utils.cpp bgr[2] = (uchar)c; bgr[1] = (uchar)m; bgr[0] = (uchar)y; m 349 modules/imgcodecs/src/utils.cpp int c = cmyk[0], m = cmyk[1], y = cmyk[2], k = cmyk[3]; m 351 modules/imgcodecs/src/utils.cpp m = k - ((255 - m)*k>>8); m 353 modules/imgcodecs/src/utils.cpp int t = descale( y*cB + m*cG + c*cR, SCALE ); m 3311 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void HuMoments( const Moments& m, OutputArray hu ); m 405 modules/imgproc/include/opencv2/imgproc/types_c.h CvMoments(const cv::Moments& m) m 407 modules/imgproc/include/opencv2/imgproc/types_c.h m00 = m.m00; m10 = m.m10; m01 = m.m01; m 408 modules/imgproc/include/opencv2/imgproc/types_c.h m20 = m.m20; m11 = m.m11; m02 = m.m02; m 409 modules/imgproc/include/opencv2/imgproc/types_c.h m30 = m.m30; m21 = m.m21; m12 = m.m12; m03 = m.m03; m 410 modules/imgproc/include/opencv2/imgproc/types_c.h mu20 = m.mu20; mu11 = m.mu11; mu02 = m.mu02; m 411 modules/imgproc/include/opencv2/imgproc/types_c.h mu30 = m.mu30; mu21 = m.mu21; mu12 = m.mu12; mu03 = m.mu03; m 412 modules/imgproc/include/opencv2/imgproc/types_c.h double am00 = std::abs(m.m00); m 67 modules/imgproc/perf/opencl/perf_moments.cpp cv::Moments m; m 71 modules/imgproc/perf/opencl/perf_moments.cpp OCL_TEST_CYCLE() m = cv::moments(src, binaryImage); m 73 modules/imgproc/perf/opencl/perf_moments.cpp SANITY_CHECK_MOMENTS(m, 1e-6, ERROR_RELATIVE); m 31 modules/imgproc/perf/perf_moments.cpp cv::Moments m; m 35 modules/imgproc/perf/perf_moments.cpp TEST_CYCLE() m = cv::moments(src, binaryImage); m 38 modules/imgproc/perf/perf_moments.cpp cv::Mat mat(1, len, CV_64F, (void*)&m); m 43 modules/imgproc/perf/perf_moments.cpp SANITY_CHECK_MOMENTS(m, 2e-4, ERROR_RELATIVE); m 474 modules/imgproc/src/canny.cpp int m = _mag[j]; m 476 modules/imgproc/src/canny.cpp if (m > low) m 487 modules/imgproc/src/canny.cpp if (m > _mag[j-1] && m >= _mag[j+1]) canny_push = true; m 494 modules/imgproc/src/canny.cpp if (m > _mag[j+magstep2] && m >= _mag[j+magstep1]) canny_push = true; m 499 modules/imgproc/src/canny.cpp if (m > _mag[j+magstep2-s] && m > _mag[j+magstep1+s]) canny_push = true; m 513 modules/imgproc/src/canny.cpp if (!prev_flag && m > high && (i <= boundaries.start+1 || _map[j-mapstep] != 2) ) m 544 modules/imgproc/src/canny.cpp uchar* m; m 545 modules/imgproc/src/canny.cpp CANNY_POP(m); m 549 modules/imgproc/src/canny.cpp if ( (m < map + (boundaries.start + 2) * mapstep) || (m >= map + boundaries.end * mapstep) ) m 551 modules/imgproc/src/canny.cpp borderPeaks.push(m); m 555 modules/imgproc/src/canny.cpp if (!m[-1]) CANNY_PUSH(m - 1); m 556 modules/imgproc/src/canny.cpp if (!m[1]) CANNY_PUSH(m + 1); m 557 modules/imgproc/src/canny.cpp if (!m[-mapstep-1]) CANNY_PUSH(m - mapstep - 1); m 558 modules/imgproc/src/canny.cpp if (!m[-mapstep]) CANNY_PUSH(m - mapstep); m 559 modules/imgproc/src/canny.cpp if (!m[-mapstep+1]) CANNY_PUSH(m - mapstep + 1); m 560 modules/imgproc/src/canny.cpp if (!m[mapstep-1]) CANNY_PUSH(m + mapstep - 1); m 561 modules/imgproc/src/canny.cpp if (!m[mapstep]) CANNY_PUSH(m + mapstep); m 562 modules/imgproc/src/canny.cpp if (!m[mapstep+1]) CANNY_PUSH(m + mapstep + 1); m 676 modules/imgproc/src/canny.cpp uchar* m; m 677 modules/imgproc/src/canny.cpp while (borderPeaks.try_pop(m)) m 679 modules/imgproc/src/canny.cpp if (!m[-1]) CANNY_PUSH_SERIAL(m - 1); m 680 modules/imgproc/src/canny.cpp if (!m[1]) CANNY_PUSH_SERIAL(m + 1); m 681 modules/imgproc/src/canny.cpp if (!m[-mapstep-1]) CANNY_PUSH_SERIAL(m - mapstep - 1); m 682 modules/imgproc/src/canny.cpp if (!m[-mapstep]) CANNY_PUSH_SERIAL(m - mapstep); m 683 modules/imgproc/src/canny.cpp if (!m[-mapstep+1]) CANNY_PUSH_SERIAL(m - mapstep + 1); m 684 modules/imgproc/src/canny.cpp if (!m[mapstep-1]) CANNY_PUSH_SERIAL(m + mapstep - 1); m 685 modules/imgproc/src/canny.cpp if (!m[mapstep]) CANNY_PUSH_SERIAL(m + mapstep); m 686 modules/imgproc/src/canny.cpp if (!m[mapstep+1]) CANNY_PUSH_SERIAL(m + mapstep + 1); m 877 modules/imgproc/src/canny.cpp int m = _mag[j]; m 879 modules/imgproc/src/canny.cpp if (m > low) m 890 modules/imgproc/src/canny.cpp if (m > _mag[j-1] && m >= _mag[j+1]) goto __ocv_canny_push; m 897 modules/imgproc/src/canny.cpp if (m > _mag[j+magstep2] && m >= _mag[j+magstep1]) goto __ocv_canny_push; m 902 modules/imgproc/src/canny.cpp if (m > _mag[j+magstep2-s] && m > _mag[j+magstep1+s]) goto __ocv_canny_push; m 910 modules/imgproc/src/canny.cpp if (!prev_flag && m > high && _map[j-mapstep] != 2) m 929 modules/imgproc/src/canny.cpp uchar* m; m 939 modules/imgproc/src/canny.cpp CANNY_POP(m); m 941 modules/imgproc/src/canny.cpp if (!m[-1]) CANNY_PUSH(m - 1); m 942 modules/imgproc/src/canny.cpp if (!m[1]) CANNY_PUSH(m + 1); m 943 modules/imgproc/src/canny.cpp if (!m[-mapstep-1]) CANNY_PUSH(m - mapstep - 1); m 944 modules/imgproc/src/canny.cpp if (!m[-mapstep]) CANNY_PUSH(m - mapstep); m 945 modules/imgproc/src/canny.cpp if (!m[-mapstep+1]) CANNY_PUSH(m - mapstep + 1); m 946 modules/imgproc/src/canny.cpp if (!m[mapstep-1]) CANNY_PUSH(m + mapstep - 1); m 947 modules/imgproc/src/canny.cpp if (!m[mapstep]) CANNY_PUSH(m + mapstep); m 948 modules/imgproc/src/canny.cpp if (!m[mapstep+1]) CANNY_PUSH(m + mapstep + 1); m 115 modules/imgproc/src/cornersubpix.cpp double m = mask[k]; m 118 modules/imgproc/src/cornersubpix.cpp double gxx = tgx * tgx * m; m 119 modules/imgproc/src/cornersubpix.cpp double gxy = tgx * tgy * m; m 120 modules/imgproc/src/cornersubpix.cpp double gyy = tgy * tgy * m; m 458 modules/imgproc/src/distransform.cpp int m = src->rows; m 460 modules/imgproc/src/distransform.cpp AutoBuffer<int> _d(m); m 465 modules/imgproc/src/distransform.cpp const uchar* sptr = src->ptr(m-1) + i; m 467 modules/imgproc/src/distransform.cpp int j, dist = m-1; m 469 modules/imgproc/src/distransform.cpp for( j = m-1; j >= 0; j--, sptr -= sstep ) m 475 modules/imgproc/src/distransform.cpp dist = m-1; m 476 modules/imgproc/src/distransform.cpp for( j = 0; j < m; j++, dptr += dstep ) m 563 modules/imgproc/src/distransform.cpp int i, m = src.rows, n = src.cols; m 565 modules/imgproc/src/distransform.cpp cv::AutoBuffer<uchar> _buf(std::max(m*2*sizeof(float) + (m*3+1)*sizeof(int), n*2*sizeof(float))); m 568 modules/imgproc/src/distransform.cpp int* sat_tab = cv::alignPtr((int*)(sqr_tab + m*2), sizeof(int)); m 569 modules/imgproc/src/distransform.cpp int shift = m*2; m 571 modules/imgproc/src/distransform.cpp for( i = 0; i < m; i++ ) m 573 modules/imgproc/src/distransform.cpp for( i = m; i < m*2; i++ ) m 577 modules/imgproc/src/distransform.cpp for( ; i <= m*3; i++ ) m 592 modules/imgproc/src/distransform.cpp cv::parallel_for_(cv::Range(0, m), cv::DTRowInvoker(&dst, sqr_tab, inv_tab)); m 212 modules/imgproc/src/featureselect.cpp std::vector<Point2f> &m = grid[yy * grid_width + xx]; m 214 modules/imgproc/src/featureselect.cpp if( m.size() ) m 216 modules/imgproc/src/featureselect.cpp for(j = 0; j < m.size(); j++) m 218 modules/imgproc/src/featureselect.cpp float dx = c.x - m[j].x; m 219 modules/imgproc/src/featureselect.cpp float dy = c.y - m[j].y; m 356 modules/imgproc/src/featureselect.cpp std::vector <Point2f> &m = grid[yy*grid_width + xx]; m 358 modules/imgproc/src/featureselect.cpp if( m.size() ) m 360 modules/imgproc/src/featureselect.cpp for(j = 0; j < m.size(); j++) m 362 modules/imgproc/src/featureselect.cpp float dx = x - m[j].x; m 363 modules/imgproc/src/featureselect.cpp float dy = y - m[j].y; m 270 modules/imgproc/src/generalized_hough.cpp const std::vector<Point2f>& m = grid[yy * gridWidth + xx]; m 272 modules/imgproc/src/generalized_hough.cpp for(size_t j = 0; j < m.size(); ++j) m 274 modules/imgproc/src/generalized_hough.cpp const Point2f d = p - m[j]; m 398 modules/imgproc/src/geometry.cpp static int intersectConvexConvex_( const Point2f* P, int n, const Point2f* Q, int m, m 415 modules/imgproc/src/geometry.cpp int b1 = (b + m - 1) % m; m 455 modules/imgproc/src/geometry.cpp b = advance( b, &ba, m, inflag == Qin, Q[b], result ); m 466 modules/imgproc/src/geometry.cpp b = advance( b, &ba, m, inflag == Qin, Q[b], result ); m 471 modules/imgproc/src/geometry.cpp b = advance( b, &ba, m, inflag == Qin, Q[b], result ); m 477 modules/imgproc/src/geometry.cpp while ( ((aa < n) || (ba < m)) && (aa < 2*n) && (ba < 2*m) ); m 512 modules/imgproc/src/geometry.cpp int m = p2.checkVector(2, p2.depth(), true); m 514 modules/imgproc/src/geometry.cpp CV_Assert( n >= 0 && m >= 0 ); m 516 modules/imgproc/src/geometry.cpp if( n < 2 || m < 2 ) m 522 modules/imgproc/src/geometry.cpp AutoBuffer<Point2f> _result(n*2 + m*2 + 1); m 524 modules/imgproc/src/geometry.cpp Point2f* result = fp2 + m; m 530 modules/imgproc/src/geometry.cpp int len = k == 1 ? n : m; m 553 modules/imgproc/src/geometry.cpp int nr = intersectConvexConvex_(fp1, n, fp2, m, result, &area); m 565 modules/imgproc/src/geometry.cpp nr = m; m 124 modules/imgproc/src/grabcut.cpp double* m = mean + 3*ci; m 125 modules/imgproc/src/grabcut.cpp diff[0] -= m[0]; diff[1] -= m[1]; diff[2] -= m[2]; m 186 modules/imgproc/src/grabcut.cpp double* m = mean + 3*ci; m 187 modules/imgproc/src/grabcut.cpp m[0] = sums[ci][0]/n; m[1] = sums[ci][1]/n; m[2] = sums[ci][2]/n; m 190 modules/imgproc/src/grabcut.cpp c[0] = prods[ci][0][0]/n - m[0]*m[0]; c[1] = prods[ci][0][1]/n - m[0]*m[1]; c[2] = prods[ci][0][2]/n - m[0]*m[2]; m 191 modules/imgproc/src/grabcut.cpp c[3] = prods[ci][1][0]/n - m[1]*m[0]; c[4] = prods[ci][1][1]/n - m[1]*m[1]; c[5] = prods[ci][1][2]/n - m[1]*m[2]; m 192 modules/imgproc/src/grabcut.cpp c[6] = prods[ci][2][0]/n - m[2]*m[0]; c[7] = prods[ci][2][1]/n - m[2]*m[1]; c[8] = prods[ci][2][2]/n - m[2]*m[2]; m 2120 modules/imgproc/src/histogram.cpp const UMat & m = images[i]; m 2121 modules/imgproc/src/histogram.cpp totalcn += m.channels(); m 2122 modules/imgproc/src/histogram.cpp CV_Assert(size == m.size() && depth == m.depth()); m 2834 modules/imgproc/src/histogram.cpp Cv32suf m; m 2858 modules/imgproc/src/histogram.cpp m.i = CV_TOGGLE_FLT(minv); minVal = m.f; m 2859 modules/imgproc/src/histogram.cpp m.i = CV_TOGGLE_FLT(maxv); maxVal = m.f; m 3429 modules/imgproc/src/histogram.cpp float m = maskdata[i]; m 3431 modules/imgproc/src/histogram.cpp if( m <= s ) m 3432 modules/imgproc/src/histogram.cpp dstdata[i] = (float)(m*scale/s); m 6193 modules/imgproc/src/imgwarp.cpp double* m = M.ptr<double>(); m 6195 modules/imgproc/src/imgwarp.cpp m[0] = alpha; m 6196 modules/imgproc/src/imgwarp.cpp m[1] = beta; m 6197 modules/imgproc/src/imgwarp.cpp m[2] = (1-alpha)*center.x - beta*center.y; m 6198 modules/imgproc/src/imgwarp.cpp m[3] = -beta; m 6199 modules/imgproc/src/imgwarp.cpp m[4] = alpha; m 6200 modules/imgproc/src/imgwarp.cpp m[5] = beta*center.x + (1-alpha)*center.y; m 95 modules/imgproc/src/moments.cpp Moments m; m 104 modules/imgproc/src/moments.cpp return m; m 184 modules/imgproc/src/moments.cpp m.m00 = a00 * db1_2; m 185 modules/imgproc/src/moments.cpp m.m10 = a10 * db1_6; m 186 modules/imgproc/src/moments.cpp m.m01 = a01 * db1_6; m 187 modules/imgproc/src/moments.cpp m.m20 = a20 * db1_12; m 188 modules/imgproc/src/moments.cpp m.m11 = a11 * db1_24; m 189 modules/imgproc/src/moments.cpp m.m02 = a02 * db1_12; m 190 modules/imgproc/src/moments.cpp m.m30 = a30 * db1_20; m 191 modules/imgproc/src/moments.cpp m.m21 = a21 * db1_60; m 192 modules/imgproc/src/moments.cpp m.m12 = a12 * db1_60; m 193 modules/imgproc/src/moments.cpp m.m03 = a03 * db1_20; m 195 modules/imgproc/src/moments.cpp completeMomentState( &m ); m 197 modules/imgproc/src/moments.cpp return m; m 482 modules/imgproc/src/moments.cpp static bool ocl_moments( InputArray _src, Moments& m, bool binary) m 518 modules/imgproc/src/moments.cpp m.m00 += mom[0]; m 521 modules/imgproc/src/moments.cpp m.m10 += mom[1] + xm; m 524 modules/imgproc/src/moments.cpp m.m01 += mom[2] + ym; m 527 modules/imgproc/src/moments.cpp m.m20 += mom[3] + x * (mom[1] * 2 + xm); m 530 modules/imgproc/src/moments.cpp m.m11 += mom[4] + x * (mom[2] + ym) + y * mom[1]; m 533 modules/imgproc/src/moments.cpp m.m02 += mom[5] + y * (mom[2] * 2 + ym); m 536 modules/imgproc/src/moments.cpp m.m30 += mom[6] + x * (3. * mom[3] + x * (3. * mom[1] + xm)); m 539 modules/imgproc/src/moments.cpp m.m21 += mom[7] + x * (2 * (mom[4] + y * mom[1]) + x * (mom[2] + ym)) + y * mom[3]; m 542 modules/imgproc/src/moments.cpp m.m12 += mom[8] + y * (2 * (mom[4] + x * mom[2]) + y * (mom[1] + xm)) + x * mom[5]; m 545 modules/imgproc/src/moments.cpp m.m03 += mom[9] + y * (3. * mom[5] + y * (3. * mom[2] + ym)); m 561 modules/imgproc/src/moments.cpp Moments m; m 566 modules/imgproc/src/moments.cpp return m; m 570 modules/imgproc/src/moments.cpp _src.isUMat() && ocl_moments(_src, m, binary)) ) m 604 modules/imgproc/src/moments.cpp ippiGetSpatialMoment_64f(moment, 0, 0, 0, point, &m.m00); m 605 modules/imgproc/src/moments.cpp ippiGetSpatialMoment_64f(moment, 1, 0, 0, point, &m.m10); m 606 modules/imgproc/src/moments.cpp ippiGetSpatialMoment_64f(moment, 0, 1, 0, point, &m.m01); m 608 modules/imgproc/src/moments.cpp ippiGetSpatialMoment_64f(moment, 2, 0, 0, point, &m.m20); m 609 modules/imgproc/src/moments.cpp ippiGetSpatialMoment_64f(moment, 1, 1, 0, point, &m.m11); m 610 modules/imgproc/src/moments.cpp ippiGetSpatialMoment_64f(moment, 0, 2, 0, point, &m.m02); m 612 modules/imgproc/src/moments.cpp ippiGetSpatialMoment_64f(moment, 3, 0, 0, point, &m.m30); m 613 modules/imgproc/src/moments.cpp ippiGetSpatialMoment_64f(moment, 2, 1, 0, point, &m.m21); m 614 modules/imgproc/src/moments.cpp ippiGetSpatialMoment_64f(moment, 1, 2, 0, point, &m.m12); m 615 modules/imgproc/src/moments.cpp ippiGetSpatialMoment_64f(moment, 0, 3, 0, point, &m.m03); m 616 modules/imgproc/src/moments.cpp ippiGetCentralMoment_64f(moment, 2, 0, 0, &m.mu20); m 617 modules/imgproc/src/moments.cpp ippiGetCentralMoment_64f(moment, 1, 1, 0, &m.mu11); m 618 modules/imgproc/src/moments.cpp ippiGetCentralMoment_64f(moment, 0, 2, 0, &m.mu02); m 619 modules/imgproc/src/moments.cpp ippiGetCentralMoment_64f(moment, 3, 0, 0, &m.mu30); m 620 modules/imgproc/src/moments.cpp ippiGetCentralMoment_64f(moment, 2, 1, 0, &m.mu21); m 621 modules/imgproc/src/moments.cpp ippiGetCentralMoment_64f(moment, 1, 2, 0, &m.mu12); m 622 modules/imgproc/src/moments.cpp ippiGetCentralMoment_64f(moment, 0, 3, 0, &m.mu03); m 623 modules/imgproc/src/moments.cpp ippiGetNormalizedCentralMoment_64f(moment, 2, 0, 0, &m.nu20); m 624 modules/imgproc/src/moments.cpp ippiGetNormalizedCentralMoment_64f(moment, 1, 1, 0, &m.nu11); m 625 modules/imgproc/src/moments.cpp ippiGetNormalizedCentralMoment_64f(moment, 0, 2, 0, &m.nu02); m 626 modules/imgproc/src/moments.cpp ippiGetNormalizedCentralMoment_64f(moment, 3, 0, 0, &m.nu30); m 627 modules/imgproc/src/moments.cpp ippiGetNormalizedCentralMoment_64f(moment, 2, 1, 0, &m.nu21); m 628 modules/imgproc/src/moments.cpp ippiGetNormalizedCentralMoment_64f(moment, 1, 2, 0, &m.nu12); m 629 modules/imgproc/src/moments.cpp ippiGetNormalizedCentralMoment_64f(moment, 0, 3, 0, &m.nu03); m 633 modules/imgproc/src/moments.cpp return m; m 693 modules/imgproc/src/moments.cpp m.m00 += mom[0]; m 696 modules/imgproc/src/moments.cpp m.m10 += mom[1] + xm; m 699 modules/imgproc/src/moments.cpp m.m01 += mom[2] + ym; m 702 modules/imgproc/src/moments.cpp m.m20 += mom[3] + x * (mom[1] * 2 + xm); m 705 modules/imgproc/src/moments.cpp m.m11 += mom[4] + x * (mom[2] + ym) + y * mom[1]; m 708 modules/imgproc/src/moments.cpp m.m02 += mom[5] + y * (mom[2] * 2 + ym); m 711 modules/imgproc/src/moments.cpp m.m30 += mom[6] + x * (3. * mom[3] + x * (3. * mom[1] + xm)); m 714 modules/imgproc/src/moments.cpp m.m21 += mom[7] + x * (2 * (mom[4] + y * mom[1]) + x * (mom[2] + ym)) + y * mom[3]; m 717 modules/imgproc/src/moments.cpp m.m12 += mom[8] + y * (2 * (mom[4] + x * mom[2]) + y * (mom[1] + xm)) + x * mom[5]; m 720 modules/imgproc/src/moments.cpp m.m03 += mom[9] + y * (3. * mom[5] + y * (3. * mom[2] + ym)); m 725 modules/imgproc/src/moments.cpp completeMomentState( &m ); m 726 modules/imgproc/src/moments.cpp return m; m 730 modules/imgproc/src/moments.cpp void cv::HuMoments( const Moments& m, double hu[7] ) m 732 modules/imgproc/src/moments.cpp double t0 = m.nu30 + m.nu12; m 733 modules/imgproc/src/moments.cpp double t1 = m.nu21 + m.nu03; m 737 modules/imgproc/src/moments.cpp double n4 = 4 * m.nu11; m 738 modules/imgproc/src/moments.cpp double s = m.nu20 + m.nu02; m 739 modules/imgproc/src/moments.cpp double d = m.nu20 - m.nu02; m 742 modules/imgproc/src/moments.cpp hu[1] = d * d + n4 * m.nu11; m 749 modules/imgproc/src/moments.cpp q0 = m.nu30 - 3 * m.nu12; m 750 modules/imgproc/src/moments.cpp q1 = 3 * m.nu21 - m.nu03; m 757 modules/imgproc/src/moments.cpp void cv::HuMoments( const Moments& m, OutputArray _hu ) m 762 modules/imgproc/src/moments.cpp HuMoments(m, hu.ptr<double>()); m 774 modules/imgproc/src/moments.cpp cv::Moments m = cv::moments(src, binary != 0); m 776 modules/imgproc/src/moments.cpp *moments = m; m 666 modules/imgproc/src/morph.cpp T m = s[cn]; m 668 modules/imgproc/src/morph.cpp m = op(m, s[j]); m 669 modules/imgproc/src/morph.cpp D[i] = op(m, s[0]); m 670 modules/imgproc/src/morph.cpp D[i+cn] = op(m, s[j]); m 676 modules/imgproc/src/morph.cpp T m = s[0]; m 678 modules/imgproc/src/morph.cpp m = op(m, s[j]); m 679 modules/imgproc/src/morph.cpp D[i] = m; m 436 modules/imgproc/src/samplers.cpp const cv::Mat src = cv::cvarrToMat(srcarr), m = cv::cvarrToMat(mat); m 444 modules/imgproc/src/samplers.cpp m.convertTo(M, CV_64F); m 190 modules/imgproc/src/segmentation.cpp int* m = mask + j; m 191 modules/imgproc/src/segmentation.cpp if( m[0] < 0 ) m[0] = 0; m 192 modules/imgproc/src/segmentation.cpp if( m[0] == 0 && (m[-1] > 0 || m[1] > 0 || m[-mstep] > 0 || m[mstep] > 0) ) m 197 modules/imgproc/src/segmentation.cpp if( m[-1] > 0 ) m 199 modules/imgproc/src/segmentation.cpp if( m[1] > 0 ) m 204 modules/imgproc/src/segmentation.cpp if( m[-mstep] > 0 ) m 209 modules/imgproc/src/segmentation.cpp if( m[mstep] > 0 ) m 218 modules/imgproc/src/segmentation.cpp m[0] = IN_QUEUE; m 241 modules/imgproc/src/segmentation.cpp int* m; m 260 modules/imgproc/src/segmentation.cpp m = mask + mofs; m 265 modules/imgproc/src/segmentation.cpp t = m[-1]; // Left m 267 modules/imgproc/src/segmentation.cpp t = m[1]; // Right m 273 modules/imgproc/src/segmentation.cpp t = m[-mstep]; // Top m 279 modules/imgproc/src/segmentation.cpp t = m[mstep]; // Bottom m 288 modules/imgproc/src/segmentation.cpp m[0] = lab; m 294 modules/imgproc/src/segmentation.cpp if( m[-1] == 0 ) m 299 modules/imgproc/src/segmentation.cpp m[-1] = IN_QUEUE; m 301 modules/imgproc/src/segmentation.cpp if( m[1] == 0 ) m 306 modules/imgproc/src/segmentation.cpp m[1] = IN_QUEUE; m 308 modules/imgproc/src/segmentation.cpp if( m[-mstep] == 0 ) m 313 modules/imgproc/src/segmentation.cpp m[-mstep] = IN_QUEUE; m 315 modules/imgproc/src/segmentation.cpp if( m[mstep] == 0 ) m 320 modules/imgproc/src/segmentation.cpp m[mstep] = IN_QUEUE; m 416 modules/imgproc/src/segmentation.cpp cv::Mat m( size.height, size.width, CV_8UC1, mask0.ptr() ); m 419 modules/imgproc/src/segmentation.cpp mstep = (int)m.step; m 420 modules/imgproc/src/segmentation.cpp mask = m.ptr() + mstep; m 423 modules/imgproc/src/segmentation.cpp m.setTo(cv::Scalar::all(0)); m 435 modules/imgproc/src/segmentation.cpp cv::dilate( m, m, cv::Mat() ); m 436 modules/imgproc/src/segmentation.cpp mask = m.ptr(); m 700 modules/imgproc/src/shapedescr.cpp Mat m = array.getMat(); m 701 modules/imgproc/src/shapedescr.cpp return m.depth() <= CV_8U ? maskBoundingRect(m) : pointSetBoundingRect(m); m 1833 modules/imgproc/src/smooth.cpp int cn = _dst.channels(), m = _dst.rows, r = (ksize-1)/2; m 1865 modules/imgproc/src/smooth.cpp const uchar* p = src + sstep*std::min(i, m-1); m 1871 modules/imgproc/src/smooth.cpp for( i = 0; i < m; i++ ) m 1874 modules/imgproc/src/smooth.cpp const uchar* p1 = src + sstep * std::min( m-1, i+r ); m 2026 modules/imgproc/src/smooth.cpp medianBlur_8u_Om( const Mat& _src, Mat& _dst, int m ) m 2032 modules/imgproc/src/smooth.cpp int n2 = m*m/2; m 2068 modules/imgproc/src/smooth.cpp for( y = 0; y <= m/2; y++ ) m 2074 modules/imgproc/src/smooth.cpp for( k = 0; k < m*cn; k += cn ) m 2079 modules/imgproc/src/smooth.cpp for( k = 0; k < m*cn; k += cn ) m 2080 modules/imgproc/src/smooth.cpp UPDATE_ACC01( src_bottom[k+c], c, += m/2+1 ); m 2116 modules/imgproc/src/smooth.cpp for( k = 0; k < m; k++ ) m 2128 modules/imgproc/src/smooth.cpp for( k = 0; k < m*3; k += 3 ) m 2142 modules/imgproc/src/smooth.cpp for( k = 0; k < m*4; k += 4 ) m 2160 modules/imgproc/src/smooth.cpp if( y >= m/2 ) m 2370 modules/imgproc/src/smooth.cpp medianBlur_SortNet( const Mat& _src, Mat& _dst, int m ) m 2386 modules/imgproc/src/smooth.cpp if( m == 3 ) m 2455 modules/imgproc/src/smooth.cpp else if( m == 5 ) m 2582 modules/imgproc/src/smooth.cpp static bool ocl_medianFilter(InputArray _src, OutputArray _dst, int m) m 2588 modules/imgproc/src/smooth.cpp if ( !((depth == CV_8U || depth == CV_16U || depth == CV_16S || depth == CV_32F) && cn <= 4 && (m == 3 || m == 5)) ) m 2599 modules/imgproc/src/smooth.cpp cv::String kname = format( useOptimized ? "medianFilter%d_u" : "medianFilter%d", m) ; m 164 modules/imgproc/test/test_canny.cpp int m = aperture_size; m 165 modules/imgproc/test/test_canny.cpp Point anchor(m/2, m/2); m 173 modules/imgproc/test/test_canny.cpp Mat dxkernel = cvtest::calcSobelKernel2D( 1, 0, m, 0 ); m 174 modules/imgproc/test/test_canny.cpp Mat dykernel = cvtest::calcSobelKernel2D( 0, 1, m, 0 ); m 906 modules/imgproc/test/test_filter.cpp static void test_medianFilter( const Mat& src, Mat& dst, int m ) m 908 modules/imgproc/test/test_filter.cpp int i, j, k, l, m2 = m*m, n; m 909 modules/imgproc/test/test_filter.cpp vector<int> col_buf(m+1); m 910 modules/imgproc/test/test_filter.cpp vector<median_pair> _buf0(m*m+1), _buf1(m*m+1); m 914 modules/imgproc/test/test_filter.cpp assert( src.rows == dst.rows + m - 1 && src.cols == dst.cols + m - 1 && m 920 modules/imgproc/test/test_filter.cpp for( k = 0; k < m; k++ ) m 923 modules/imgproc/test/test_filter.cpp for( j = 0; j < m-1; j++ ) m 927 modules/imgproc/test/test_filter.cpp n = m2 - m; m 947 modules/imgproc/test/test_filter.cpp int ins_col = j + m - 1; m 950 modules/imgproc/test/test_filter.cpp for( k = 0; k < m; k++, src1 += step ) m 962 modules/imgproc/test/test_filter.cpp col_buf[m] = INT_MAX; m 977 modules/imgproc/test/test_filter.cpp for( ; l < m; l++ ) m 981 modules/imgproc/test/test_filter.cpp n += m; m 998 modules/imgproc/test/test_filter.cpp int m = aperture_size.width; m 999 modules/imgproc/test/test_filter.cpp Mat src(src0.rows + m - 1, src0.cols + m - 1, src0.depth()); m 1014 modules/imgproc/test/test_filter.cpp cvtest::copyMakeBorder( ptr, src, m/2, m/2, m/2, m/2, border & ~BORDER_ISOLATED ); m 1015 modules/imgproc/test/test_filter.cpp test_medianFilter( src, dst, m ); m 130 modules/imgproc/test/test_floodfill.cpp Mat m( 1, 8, CV_16S, buff ); m 131 modules/imgproc/test/test_floodfill.cpp rng.fill( m, RNG::NORMAL, Scalar::all(0), Scalar::all(32) ); m 134 modules/imgproc/test/test_floodfill.cpp l_diff.val[i] = fabs(m.at<short>(i)/16.); m 135 modules/imgproc/test/test_floodfill.cpp u_diff.val[i] = fabs(m.at<short>(i+4)/16.); m 166 modules/imgproc/test/test_floodfill.cpp Scalar m = Scalar::all(128); m 175 modules/imgproc/test/test_floodfill.cpp rng.fill(tmp, RNG::NORMAL, m, s ); m 250 modules/imgproc/test/test_floodfill.cpp ushort* m; m 278 modules/imgproc/test/test_floodfill.cpp m = (ushort*)(mask->data.ptr + mask->step) + 1; m 279 modules/imgproc/test/test_floodfill.cpp mstep = mask->step / sizeof(m[0]); m 286 modules/imgproc/test/test_floodfill.cpp if( m[p0.mofs] ) m 290 modules/imgproc/test/test_floodfill.cpp m[p0.mofs] = (ushort)new_mask_val; m 330 modules/imgproc/test/test_floodfill.cpp ushort* mptr = m + p0.mofs; m 375 modules/imgproc/test/test_floodfill.cpp ushort* mptr = m + p0.mofs; m 430 modules/imgproc/test/test_floodfill.cpp ushort* mptr = m + i*mstep; m 376 modules/imgproc/test/test_imgwarp.cpp uchar* m = mask ? mask->ptr(y) : 0; m 388 modules/imgproc/test/test_imgwarp.cpp if( m ) m 389 modules/imgproc/test/test_imgwarp.cpp m[x] = 1; m 542 modules/imgproc/test/test_imgwarp.cpp double m[6]; m 543 modules/imgproc/test/test_imgwarp.cpp Mat srcAb, dstAb( 2, 3, CV_64FC1, m ); m 558 modules/imgproc/test/test_imgwarp.cpp mapx.at<float>(y, x) = (float)(x*m[0] + y*m[1] + m[2]); m 559 modules/imgproc/test/test_imgwarp.cpp mapy.at<float>(y, x) = (float)(x*m[3] + y*m[4] + m[5]); m 663 modules/imgproc/test/test_imgwarp.cpp double m[9]; m 664 modules/imgproc/test/test_imgwarp.cpp Mat srcM, dstM(3, 3, CV_64F, m); m 675 modules/imgproc/test/test_imgwarp.cpp double xs = x*m[0] + y*m[1] + m[2]; m 676 modules/imgproc/test/test_imgwarp.cpp double ys = x*m[3] + y*m[4] + m[5]; m 677 modules/imgproc/test/test_imgwarp.cpp double ds = x*m[6] + y*m[7] + m[8]; m 1380 modules/imgproc/test/test_imgwarp.cpp float m[6]; m 1381 modules/imgproc/test/test_imgwarp.cpp CvMat M = cvMat( 2, 3, CV_32F, m ); m 172 modules/imgproc/test/test_moments.cpp CvMoments* m = (CvMoments*)test_mat[OUTPUT][0].ptr<double>(); m 173 modules/imgproc/test/test_moments.cpp double* others = (double*)(m + 1); m 188 modules/imgproc/test/test_moments.cpp *m = new_m; m 191 modules/imgproc/test/test_moments.cpp cvMoments( test_array[INPUT][0], m, is_binary ); m 193 modules/imgproc/test/test_moments.cpp others[0] = cvGetNormalizedCentralMoment( m, 2, 0 ); m 194 modules/imgproc/test/test_moments.cpp others[1] = cvGetNormalizedCentralMoment( m, 1, 1 ); m 195 modules/imgproc/test/test_moments.cpp others[2] = cvGetNormalizedCentralMoment( m, 0, 2 ); m 196 modules/imgproc/test/test_moments.cpp others[3] = cvGetNormalizedCentralMoment( m, 3, 0 ); m 197 modules/imgproc/test/test_moments.cpp others[4] = cvGetNormalizedCentralMoment( m, 2, 1 ); m 198 modules/imgproc/test/test_moments.cpp others[5] = cvGetNormalizedCentralMoment( m, 1, 2 ); m 199 modules/imgproc/test/test_moments.cpp others[6] = cvGetNormalizedCentralMoment( m, 0, 3 ); m 206 modules/imgproc/test/test_moments.cpp CvMoments m; m 213 modules/imgproc/test/test_moments.cpp memset( &m, 0, sizeof(m)); m 240 modules/imgproc/test/test_moments.cpp m.m00 += s0; m 241 modules/imgproc/test/test_moments.cpp m.m01 += s0*y; m 242 modules/imgproc/test/test_moments.cpp m.m02 += (s0*y)*y; m 243 modules/imgproc/test/test_moments.cpp m.m03 += ((s0*y)*y)*y; m 245 modules/imgproc/test/test_moments.cpp m.m10 += s1; m 246 modules/imgproc/test/test_moments.cpp m.m11 += s1*y; m 247 modules/imgproc/test/test_moments.cpp m.m12 += (s1*y)*y; m 249 modules/imgproc/test/test_moments.cpp m.m20 += s2; m 250 modules/imgproc/test/test_moments.cpp m.m21 += s2*y; m 252 modules/imgproc/test/test_moments.cpp m.m30 += s3; m 255 modules/imgproc/test/test_moments.cpp if( m.m00 != 0 ) m 257 modules/imgproc/test/test_moments.cpp xc = m.m10/m.m00, yc = m.m01/m.m00; m 258 modules/imgproc/test/test_moments.cpp m.inv_sqrt_m00 = 1./sqrt(fabs(m.m00)); m 286 modules/imgproc/test/test_moments.cpp m.mu02 += s0*y1*y1; m 287 modules/imgproc/test/test_moments.cpp m.mu03 += ((s0*y1)*y1)*y1; m 289 modules/imgproc/test/test_moments.cpp m.mu11 += s1*y1; m 290 modules/imgproc/test/test_moments.cpp m.mu12 += (s1*y1)*y1; m 292 modules/imgproc/test/test_moments.cpp m.mu20 += s2; m 293 modules/imgproc/test/test_moments.cpp m.mu21 += s2*y1; m 295 modules/imgproc/test/test_moments.cpp m.mu30 += s3; m 298 modules/imgproc/test/test_moments.cpp memcpy( mdata, &m, sizeof(m)); m 299 modules/imgproc/test/test_moments.cpp mdata += sizeof(m)/sizeof(m.m00); m 303 modules/imgproc/test/test_moments.cpp double inv_m00 = m.inv_sqrt_m00*m.inv_sqrt_m00; m 305 modules/imgproc/test/test_moments.cpp double s3 = s2*m.inv_sqrt_m00; /* 1./(m00 ^ (3/2 + 1)) */ m 307 modules/imgproc/test/test_moments.cpp mdata[0] = m.mu20 * s2; m 308 modules/imgproc/test/test_moments.cpp mdata[1] = m.mu11 * s2; m 309 modules/imgproc/test/test_moments.cpp mdata[2] = m.mu02 * s2; m 311 modules/imgproc/test/test_moments.cpp mdata[3] = m.mu30 * s3; m 312 modules/imgproc/test/test_moments.cpp mdata[4] = m.mu21 * s3; m 313 modules/imgproc/test/test_moments.cpp mdata[5] = m.mu12 * s3; m 314 modules/imgproc/test/test_moments.cpp mdata[6] = m.mu03 * s3; m 402 modules/imgproc/test/test_moments.cpp CvMoments* m = test_mat[INPUT][0].ptr<CvMoments>(); m 405 modules/imgproc/test/test_moments.cpp double inv_m00 = m->inv_sqrt_m00*m->inv_sqrt_m00; m 407 modules/imgproc/test/test_moments.cpp double s3 = s2*m->inv_sqrt_m00; /* 1./(m00 ^ (3/2 + 1)) */ m 409 modules/imgproc/test/test_moments.cpp double nu20 = m->mu20 * s2; m 410 modules/imgproc/test/test_moments.cpp double nu11 = m->mu11 * s2; m 411 modules/imgproc/test/test_moments.cpp double nu02 = m->mu02 * s2; m 413 modules/imgproc/test/test_moments.cpp double nu30 = m->mu30 * s3; m 414 modules/imgproc/test/test_moments.cpp double nu21 = m->mu21 * s3; m 415 modules/imgproc/test/test_moments.cpp double nu12 = m->mu12 * s3; m 416 modules/imgproc/test/test_moments.cpp double nu03 = m->mu03 * s3; m 453 modules/imgproc/test/test_moments.cpp Moments m = moments(points, false); m 456 modules/imgproc/test/test_moments.cpp CV_Assert( m.m00 == 0 && m.m01 == 0 && m.m10 == 0 && area == 0 ); m 196 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java protected Mat makeMask(Mat m, double... vals) m 198 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java m.submat(0, m.rows(), 0, m.cols() / 2).setTo(new Scalar(vals)); m 199 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java return m; m 73 modules/java/android_test/src/org/opencv/test/OpenCVTestRunner.java static public void Log(Mat m) { m 74 modules/java/android_test/src/org/opencv/test/OpenCVTestRunner.java Log.e(TAG, m + "\n " + m.dump()); m 521 modules/java/generator/src/cpp/Mat.cpp Mat& m = *((Mat*)m_nativeObj); m 522 modules/java/generator/src/cpp/Mat.cpp me->convertTo( m, rtype, alpha, beta ); m 541 modules/java/generator/src/cpp/Mat.cpp Mat& m = *((Mat*)m_nativeObj); m 542 modules/java/generator/src/cpp/Mat.cpp me->convertTo( m, rtype, alpha ); m 561 modules/java/generator/src/cpp/Mat.cpp Mat& m = *((Mat*)m_nativeObj); m 562 modules/java/generator/src/cpp/Mat.cpp me->convertTo( m, rtype ); m 586 modules/java/generator/src/cpp/Mat.cpp Mat& m = *((Mat*)m_nativeObj); m 587 modules/java/generator/src/cpp/Mat.cpp me->copyTo( m ); m 611 modules/java/generator/src/cpp/Mat.cpp Mat& m = *((Mat*)m_nativeObj); m 613 modules/java/generator/src/cpp/Mat.cpp me->copyTo( m, mask ); m 686 modules/java/generator/src/cpp/Mat.cpp Mat& m = *((Mat*)m_nativeObj); m 687 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = me->cross( m ); m 811 modules/java/generator/src/cpp/Mat.cpp Mat& m = *((Mat*)m_nativeObj); m 812 modules/java/generator/src/cpp/Mat.cpp return me->dot( m ); m 1097 modules/java/generator/src/cpp/Mat.cpp Mat& m = *((Mat*)m_nativeObj); m 1098 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = me->mul( m, scale ); m 1121 modules/java/generator/src/cpp/Mat.cpp Mat& m = *((Mat*)m_nativeObj); m 1122 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = me->mul( m ); m 1818 modules/java/generator/src/cpp/Mat.cpp template<typename T> static int mat_put(cv::Mat* m, int row, int col, int count, char* buff) m 1820 modules/java/generator/src/cpp/Mat.cpp if(! m) return 0; m 1824 modules/java/generator/src/cpp/Mat.cpp int rest = ((m->rows - row) * m->cols - col) * (int)m->elemSize(); m 1828 modules/java/generator/src/cpp/Mat.cpp if( m->isContinuous() ) m 1830 modules/java/generator/src/cpp/Mat.cpp memcpy(m->ptr(row, col), buff, count); m 1833 modules/java/generator/src/cpp/Mat.cpp int num = (m->cols - col) * (int)m->elemSize(); // 1st partial row m 1835 modules/java/generator/src/cpp/Mat.cpp uchar* data = m->ptr(row++, col); m 1840 modules/java/generator/src/cpp/Mat.cpp num = m->cols * (int)m->elemSize(); m 1842 modules/java/generator/src/cpp/Mat.cpp data = m->ptr(row++, 0); m 1962 modules/java/generator/src/cpp/Mat.cpp template<typename T> int mat_get(cv::Mat* m, int row, int col, int count, char* buff) m 1964 modules/java/generator/src/cpp/Mat.cpp if(! m) return 0; m 1968 modules/java/generator/src/cpp/Mat.cpp int bytesRestInMat = ((m->rows - row) * m->cols - col) * (int)m->elemSize(); m 1972 modules/java/generator/src/cpp/Mat.cpp if( m->isContinuous() ) m 1974 modules/java/generator/src/cpp/Mat.cpp memcpy(buff, m->ptr(row, col), bytesToCopy); m 1977 modules/java/generator/src/cpp/Mat.cpp int bytesInRow = (m->cols - col) * (int)m->elemSize(); // 1st partial row m 1981 modules/java/generator/src/cpp/Mat.cpp memcpy(buff, m->ptr(row, col), len); m 1986 modules/java/generator/src/cpp/Mat.cpp bytesInRow = m->cols * (int)m->elemSize(); m 187 modules/java/generator/src/cpp/converters.cpp Mat& m = *( (Mat*) addr ); m 188 modules/java/generator/src/cpp/converters.cpp v_mat.push_back(m); m 265 modules/java/generator/src/cpp/converters.cpp Mat m; m 266 modules/java/generator/src/cpp/converters.cpp vector_char_to_Mat(vv_ch[i], m); m 267 modules/java/generator/src/cpp/converters.cpp vm.push_back(m); m 278 modules/java/generator/src/cpp/converters.cpp Mat m; m 279 modules/java/generator/src/cpp/converters.cpp vector_Point_to_Mat(vv_pt[i], m); m 280 modules/java/generator/src/cpp/converters.cpp vm.push_back(m); m 291 modules/java/generator/src/cpp/converters.cpp Mat m; m 292 modules/java/generator/src/cpp/converters.cpp vector_Point2f_to_Mat(vv_pt[i], m); m 293 modules/java/generator/src/cpp/converters.cpp vm.push_back(m); m 304 modules/java/generator/src/cpp/converters.cpp Mat m; m 305 modules/java/generator/src/cpp/converters.cpp vector_Point3f_to_Mat(vv_pt[i], m); m 306 modules/java/generator/src/cpp/converters.cpp vm.push_back(m); m 149 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_Point2f(Mat m, List<Point> pts) { m 150 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Point(m, pts); m 153 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_Point2d(Mat m, List<Point> pts) { m 154 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Point(m, pts); m 157 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_Point(Mat m, List<Point> pts) { m 160 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 161 modules/java/generator/src/java/utils+Converters.java int type = m.type(); m 162 modules/java/generator/src/java/utils+Converters.java if (m.cols() != 1) m 163 modules/java/generator/src/java/utils+Converters.java throw new java.lang.IllegalArgumentException("Input Mat should have one column\n" + m); m 168 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 174 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 180 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 186 modules/java/generator/src/java/utils+Converters.java "Input Mat should be of CV_32SC2, CV_32FC2 or CV_64FC2 type\n" + m); m 190 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_Point3i(Mat m, List<Point3> pts) { m 191 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Point3(m, pts); m 194 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_Point3f(Mat m, List<Point3> pts) { m 195 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Point3(m, pts); m 198 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_Point3d(Mat m, List<Point3> pts) { m 199 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Point3(m, pts); m 202 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_Point3(Mat m, List<Point3> pts) { m 205 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 206 modules/java/generator/src/java/utils+Converters.java int type = m.type(); m 207 modules/java/generator/src/java/utils+Converters.java if (m.cols() != 1) m 208 modules/java/generator/src/java/utils+Converters.java throw new java.lang.IllegalArgumentException("Input Mat should have one column\n" + m); m 213 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 219 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 225 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 231 modules/java/generator/src/java/utils+Converters.java "Input Mat should be of CV_32SC3, CV_32FC3 or CV_64FC3 type\n" + m); m 253 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_Mat(Mat m, List<Mat> mats) { m 256 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 257 modules/java/generator/src/java/utils+Converters.java if (CvType.CV_32SC2 != m.type() || m.cols() != 1) m 259 modules/java/generator/src/java/utils+Converters.java "CvType.CV_32SC2 != m.type() || m.cols()!=1\n" + m); m 263 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 287 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_float(Mat m, List<Float> fs) { m 290 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 291 modules/java/generator/src/java/utils+Converters.java if (CvType.CV_32FC1 != m.type() || m.cols() != 1) m 293 modules/java/generator/src/java/utils+Converters.java "CvType.CV_32FC1 != m.type() || m.cols()!=1\n" + m); m 297 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 320 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_uchar(Mat m, List<Byte> us) { m 323 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 324 modules/java/generator/src/java/utils+Converters.java if (CvType.CV_8UC1 != m.type() || m.cols() != 1) m 326 modules/java/generator/src/java/utils+Converters.java "CvType.CV_8UC1 != m.type() || m.cols()!=1\n" + m); m 330 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 370 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_int(Mat m, List<Integer> is) { m 373 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 374 modules/java/generator/src/java/utils+Converters.java if (CvType.CV_32SC1 != m.type() || m.cols() != 1) m 376 modules/java/generator/src/java/utils+Converters.java "CvType.CV_32SC1 != m.type() || m.cols()!=1\n" + m); m 380 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 386 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_char(Mat m, List<Byte> bs) { m 389 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 390 modules/java/generator/src/java/utils+Converters.java if (CvType.CV_8SC1 != m.type() || m.cols() != 1) m 392 modules/java/generator/src/java/utils+Converters.java "CvType.CV_8SC1 != m.type() || m.cols()!=1\n" + m); m 396 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 422 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_Rect(Mat m, List<Rect> rs) { m 425 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 426 modules/java/generator/src/java/utils+Converters.java if (CvType.CV_32SC4 != m.type() || m.cols() != 1) m 428 modules/java/generator/src/java/utils+Converters.java "CvType.CV_32SC4 != m.type() || m.rows()!=1\n" + m); m 432 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 461 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_KeyPoint(Mat m, List<KeyPoint> kps) { m 464 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 465 modules/java/generator/src/java/utils+Converters.java if (CvType.CV_64FC(7) != m.type() || m.cols() != 1) m 467 modules/java/generator/src/java/utils+Converters.java "CvType.CV_64FC(7) != m.type() || m.cols()!=1\n" + m); m 471 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 492 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_vector_Point(Mat m, List<MatOfPoint> pts) { m 496 modules/java/generator/src/java/utils+Converters.java if (m == null) m 499 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); m 500 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Mat(m, mats); m 510 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_vector_Point2f(Mat m, List<MatOfPoint2f> pts) { m 514 modules/java/generator/src/java/utils+Converters.java if (m == null) m 517 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); m 518 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Mat(m, mats); m 542 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_vector_Point3f(Mat m, List<MatOfPoint3f> pts) { m 546 modules/java/generator/src/java/utils+Converters.java if (m == null) m 549 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); m 550 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Mat(m, mats); m 587 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_vector_KeyPoint(Mat m, List<MatOfKeyPoint> kps) { m 591 modules/java/generator/src/java/utils+Converters.java if (m == null) m 594 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); m 595 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Mat(m, mats); m 621 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_double(Mat m, List<Double> ds) { m 624 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 625 modules/java/generator/src/java/utils+Converters.java if (CvType.CV_64FC1 != m.type() || m.cols() != 1) m 627 modules/java/generator/src/java/utils+Converters.java "CvType.CV_64FC1 != m.type() || m.cols()!=1\n" + m); m 631 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 644 modules/java/generator/src/java/utils+Converters.java DMatch m = matches.get(i); m 645 modules/java/generator/src/java/utils+Converters.java buff[4 * i] = m.queryIdx; m 646 modules/java/generator/src/java/utils+Converters.java buff[4 * i + 1] = m.trainIdx; m 647 modules/java/generator/src/java/utils+Converters.java buff[4 * i + 2] = m.imgIdx; m 648 modules/java/generator/src/java/utils+Converters.java buff[4 * i + 3] = m.distance; m 657 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_DMatch(Mat m, List<DMatch> matches) { m 660 modules/java/generator/src/java/utils+Converters.java int count = m.rows(); m 661 modules/java/generator/src/java/utils+Converters.java if (CvType.CV_64FC4 != m.type() || m.cols() != 1) m 663 modules/java/generator/src/java/utils+Converters.java "CvType.CV_64FC4 != m.type() || m.cols()!=1\n" + m); m 667 modules/java/generator/src/java/utils+Converters.java m.get(0, 0, buff); m 687 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_vector_DMatch(Mat m, List<MatOfDMatch> lvdm) { m 691 modules/java/generator/src/java/utils+Converters.java if (m == null) m 694 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); m 695 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Mat(m, mats); m 719 modules/java/generator/src/java/utils+Converters.java public static void Mat_to_vector_vector_char(Mat m, List<List<Byte>> llb) { m 723 modules/java/generator/src/java/utils+Converters.java if (m == null) m 726 modules/java/generator/src/java/utils+Converters.java List<Mat> mats = new ArrayList<Mat>(m.rows()); m 727 modules/java/generator/src/java/utils+Converters.java Mat_to_vector_Mat(m, mats); m 226 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java protected Mat makeMask(Mat m, double... vals) m 228 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java m.submat(0, m.rows(), 0, m.cols() / 2).setTo(new Scalar(vals)); m 229 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java return m; m 35 modules/java/pure_test/src/org/opencv/test/OpenCVTestRunner.java static public void Log(Mat m) { m 36 modules/java/pure_test/src/org/opencv/test/OpenCVTestRunner.java System.out.println(TAG + " :: " + m + "\n " + m.dump()); m 577 modules/ml/src/ann_mlp.cpp double m = s/count, sigma2 = s2/count - m*m; m 579 modules/ml/src/ann_mlp.cpp scale[j*2+1] = -m*scale[j*2]; m 588 modules/ml/src/ann_mlp.cpp double m = min_val, M = max_val, m1 = min_val1, M1 = max_val1; m 647 modules/ml/src/ann_mlp.cpp a = 1, b = (M + m - Mj - mj)*0.5; m 649 modules/ml/src/ann_mlp.cpp a = (M - m)/delta, b = m - mj*a; m 60 modules/ml/src/data.cpp int dims = 1, m; m 65 modules/ml/src/data.cpp m = vec.cols + vec.rows - 1; m 70 modules/ml/src/data.cpp m = vec.rows; m 75 modules/ml/src/data.cpp if( vec.cols == m ) m 83 modules/ml/src/data.cpp CV_Assert( 0 <= k && k < m ); m 94 modules/ml/src/data.cpp CV_Assert( 0 <= k && k < m ); m 105 modules/ml/src/data.cpp CV_Assert( 0 <= k && k < m ); m 349 modules/ml/src/data.cpp int j, m = (int)labels.size(); m 350 modules/ml/src/data.cpp CV_Assert( m > 0 ); m 353 modules/ml/src/data.cpp int hashval = ((unsigned)a*127 + (unsigned)b)*127 + m; m 361 modules/ml/src/data.cpp if( m0 == m && map0[0] == a && map0[m0-1] == b ) m 363 modules/ml/src/data.cpp for( j = 0; j < m; j++ ) m 366 modules/ml/src/data.cpp if( j == m ) m 378 modules/ml/src/data.cpp ofs[1] = ofs[0] + m; m 897 modules/ml/src/data.cpp int m = ofs[1] - ofs[0]; m 899 modules/ml/src/data.cpp CV_Assert( m > 0 ); // if m==0, vi is an ordered variable m 901 modules/ml/src/data.cpp bool fastMap = (m == cmap[m - 1] - cmap[0] + 1); m 918 modules/ml/src/data.cpp int a = 0, b = m, c = -1; m 279 modules/ml/src/em.cpp const Mat& m = (*covs)[i]; m 280 modules/ml/src/em.cpp CV_Assert(!m.empty() && m.size() == covSize && (m.channels() == 1)); m 187 modules/ml/src/gbt.cpp int m = _train_data->cols; m 191 modules/ml/src/gbt.cpp CV_SWAP(n,m,tmp); m 236 modules/ml/src/kdtree.cpp double m = sums[j*2]*invCount; m 237 modules/ml/src/kdtree.cpp double varj = sums[j*2+1]*invCount - m*m; m 310 modules/ml/src/lr.cpp int m; m 319 modules/ml/src/lr.cpp m = _data.rows; m 332 modules/ml/src/lr.cpp rparameter = (llambda/(2*m)) * sum(theta_b)[0]; m 337 modules/ml/src/lr.cpp rparameter = (llambda/(2*m)) * sum(theta_c)[0]; m 350 modules/ml/src/lr.cpp cost = (-1.0/m) * (sum(d_a)[0] + sum(d_b)[0]); m 371 modules/ml/src/lr.cpp int m, n; m 377 modules/ml/src/lr.cpp m = _data.rows; m 396 modules/ml/src/lr.cpp pcal_a = (static_cast<double>(1/m)) * _data.t(); m 406 modules/ml/src/lr.cpp gradient.row(0) = ((float)1/m) * sum(pcal_ab)[0]; m 417 modules/ml/src/lr.cpp gradient.row(ii) = (1.0/m)*sum(pcal_ab)[0] + (llambda/m) * theta_p.row(ii); m 420 modules/ml/src/lr.cpp theta_p = theta_p - ( static_cast<double>(this->params.alpha)/m)*gradient; m 430 modules/ml/src/lr.cpp int m, n; m 470 modules/ml/src/lr.cpp m = data_d.rows; m 482 modules/ml/src/lr.cpp pcal_a = (static_cast<double>(1/m)) * data_d.t(); m 492 modules/ml/src/lr.cpp gradient.row(0) = ((float)1/m) * sum(pcal_ab)[0]; m 500 modules/ml/src/lr.cpp gradient.row(k) = (1.0/m)*sum(pcal_ab)[0] + (lambda_l/m) * theta_p.row(k); m 503 modules/ml/src/lr.cpp theta_p = theta_p - ( static_cast<double>(this->params.alpha)/m)*gradient; m 315 modules/ml/src/precomp.hpp virtual void clusterCategories( const double* vectors, int n, int m, double* csums, int k, int* labels ); m 371 modules/ml/src/precomp.hpp Mat m; m 372 modules/ml/src/precomp.hpp node >> m; m 373 modules/ml/src/precomp.hpp m.copyTo(v); m 94 modules/ml/src/rtrees.cpp int i, nvars = (int)allVars.size(), m = (int)activeVars.size(); m 101 modules/ml/src/rtrees.cpp for( i = 0; i < m; i++ ) m 110 modules/ml/src/rtrees.cpp int i, m = rparams.nactiveVars > 0 ? rparams.nactiveVars : cvRound(std::sqrt((double)nvars)); m 111 modules/ml/src/rtrees.cpp m = std::min(std::max(m, 1), nvars); m 113 modules/ml/src/rtrees.cpp activeVars.resize(m); m 2154 modules/ml/src/svm.cpp FileNode m = fn["class_labels"]; m 2155 modules/ml/src/svm.cpp if( !m.empty() ) m 2156 modules/ml/src/svm.cpp m >> class_labels; m 2157 modules/ml/src/svm.cpp m = fn["class_weights"]; m 2158 modules/ml/src/svm.cpp if( !m.empty() ) m 2159 modules/ml/src/svm.cpp m >> params.classWeights; m 468 modules/ml/src/tree.cpp int m = (int)classLabels.size(); m 470 modules/ml/src/tree.cpp cv::AutoBuffer<double> buf(std::max(m, 3)*(cv_n+1)); m 492 modules/ml/src/tree.cpp double* cv_cls_count = cls_count + m; m 497 modules/ml/src/tree.cpp for( k = 0; k < m; k++ ) m 511 modules/ml/src/tree.cpp for( k = 0; k < m; k++ ) m 512 modules/ml/src/tree.cpp cv_cls_count[j*m + k] = 0; m 518 modules/ml/src/tree.cpp cv_cls_count[j*m + k] += w->sample_weights[si]; m 522 modules/ml/src/tree.cpp for( k = 0; k < m; k++ ) m 523 modules/ml/src/tree.cpp cls_count[k] += cv_cls_count[j*m + k]; m 526 modules/ml/src/tree.cpp for( k = 0; k < m; k++ ) m 546 modules/ml/src/tree.cpp for( k = 0; k < m; k++ ) m 548 modules/ml/src/tree.cpp double val_k = cv_cls_count[j*m + k]; m 643 modules/ml/src/tree.cpp int m = (int)classLabels.size(); m 645 modules/ml/src/tree.cpp cv::AutoBuffer<uchar> buf(n*(sizeof(float) + sizeof(int)) + m*2*sizeof(double)); m 650 modules/ml/src/tree.cpp double* rcw = lcw + m; m 651 modules/ml/src/tree.cpp float* values = (float*)(rcw + m); m 656 modules/ml/src/tree.cpp for( i = 0; i < m; i++ ) m 671 modules/ml/src/tree.cpp for( i = 0; i < m; i++ ) m 714 modules/ml/src/tree.cpp void DTreesImpl::clusterCategories( const double* vectors, int n, int m, double* csums, int k, int* labels ) m 727 modules/ml/src/tree.cpp const double* v = vectors + i*m; m 731 modules/ml/src/tree.cpp for( j = 0; j < m; j++ ) m 748 modules/ml/src/tree.cpp for( j = 0; j < m; j++ ) m 749 modules/ml/src/tree.cpp csums[i*m + j] = 0; m 754 modules/ml/src/tree.cpp const double* v = vectors + i*m; m 755 modules/ml/src/tree.cpp double* s = csums + labels[i]*m; m 756 modules/ml/src/tree.cpp for( j = 0; j < m; j++ ) m 769 modules/ml/src/tree.cpp const double* s = csums + i*m; m 771 modules/ml/src/tree.cpp for( j = 0; j < m; j++ ) m 779 modules/ml/src/tree.cpp const double* v = vectors + i*m; m 786 modules/ml/src/tree.cpp const double* s = csums + idx*m; m 788 modules/ml/src/tree.cpp for( j = 0; j < m; j++ ) m 812 modules/ml/src/tree.cpp int m = (int)classLabels.size(); m 814 modules/ml/src/tree.cpp int base_size = m*(3 + mi) + mi + 1; m 815 modules/ml/src/tree.cpp if( m > 2 && mi > params.getMaxCategories() ) m 816 modules/ml/src/tree.cpp base_size += m*std::min(params.getMaxCategories(), n) + mi; m 822 modules/ml/src/tree.cpp double* rc = lc + m; m 823 modules/ml/src/tree.cpp double* _cjk = rc + m*2, *cjk = _cjk; m 824 modules/ml/src/tree.cpp double* c_weights = cjk + m*mi; m 841 modules/ml/src/tree.cpp for( k = 0; k < m; k++ ) m 842 modules/ml/src/tree.cpp cjk[j*m + k] = 0; m 849 modules/ml/src/tree.cpp cjk[j*m + k] += weights[si]; m 852 modules/ml/src/tree.cpp if( m > 2 ) m 858 modules/ml/src/tree.cpp cluster_labels = (int*)(cjk + m*mi); m 859 modules/ml/src/tree.cpp clusterCategories( _cjk, _mi, m, cjk, mi, cluster_labels ); m 866 modules/ml/src/tree.cpp assert( m == 2 ); m 875 modules/ml/src/tree.cpp for( k = 0; k < m; k++ ) m 879 modules/ml/src/tree.cpp sum += cjk[j*m + k]; m 888 modules/ml/src/tree.cpp for( k = 0; k < m; k++ ) m 889 modules/ml/src/tree.cpp sum += cjk[j*m + k]; m 898 modules/ml/src/tree.cpp if( m == 2 ) m 914 modules/ml/src/tree.cpp double* crow = cjk + idx*m; m 921 modules/ml/src/tree.cpp for( k = 0; k < m; k++ ) m 935 modules/ml/src/tree.cpp for( k = 0; k < m; k++ ) m 965 modules/ml/src/tree.cpp if( m == 2 ) m 330 modules/ml/test/test_mltests2.cpp Ptr<SVM> m = SVM::create(); m 331 modules/ml/test/test_mltests2.cpp m->setType(str_to_svm_type( svm_type_str )); m 332 modules/ml/test/test_mltests2.cpp m->setKernel(str_to_svm_kernel_type( kernel_type_str )); m 333 modules/ml/test/test_mltests2.cpp m->setDegree(modelParamsNode["degree"]); m 334 modules/ml/test/test_mltests2.cpp m->setGamma(modelParamsNode["gamma"]); m 335 modules/ml/test/test_mltests2.cpp m->setCoef0(modelParamsNode["coef0"]); m 336 modules/ml/test/test_mltests2.cpp m->setC(modelParamsNode["C"]); m 337 modules/ml/test/test_mltests2.cpp m->setNu(modelParamsNode["nu"]); m 338 modules/ml/test/test_mltests2.cpp m->setP(modelParamsNode["p"]); m 339 modules/ml/test/test_mltests2.cpp model = m; m 358 modules/ml/test/test_mltests2.cpp Ptr<ANN_MLP> m = ANN_MLP::create(); m 359 modules/ml/test/test_mltests2.cpp m->setLayerSizes(layer_sizes); m 360 modules/ml/test/test_mltests2.cpp m->setActivationFunction(ANN_MLP::SIGMOID_SYM, 0, 0); m 361 modules/ml/test/test_mltests2.cpp m->setTermCriteria(TermCriteria(TermCriteria::COUNT,300,0.01)); m 362 modules/ml/test/test_mltests2.cpp m->setTrainMethod(str_to_ann_train_method(train_method_str), param1, param2); m 363 modules/ml/test/test_mltests2.cpp model = m; m 378 modules/ml/test/test_mltests2.cpp Ptr<DTrees> m = DTrees::create(); m 379 modules/ml/test/test_mltests2.cpp m->setMaxDepth(MAX_DEPTH); m 380 modules/ml/test/test_mltests2.cpp m->setMinSampleCount(MIN_SAMPLE_COUNT); m 381 modules/ml/test/test_mltests2.cpp m->setRegressionAccuracy(REG_ACCURACY); m 382 modules/ml/test/test_mltests2.cpp m->setUseSurrogates(USE_SURROGATE); m 383 modules/ml/test/test_mltests2.cpp m->setMaxCategories(MAX_CATEGORIES); m 384 modules/ml/test/test_mltests2.cpp m->setCVFolds(CV_FOLDS); m 385 modules/ml/test/test_mltests2.cpp m->setUse1SERule(false); m 386 modules/ml/test/test_mltests2.cpp m->setTruncatePrunedTree(IS_PRUNED); m 387 modules/ml/test/test_mltests2.cpp m->setPriors(Mat()); m 388 modules/ml/test/test_mltests2.cpp model = m; m 403 modules/ml/test/test_mltests2.cpp Ptr<Boost> m = Boost::create(); m 404 modules/ml/test/test_mltests2.cpp m->setBoostType(BOOST_TYPE); m 405 modules/ml/test/test_mltests2.cpp m->setWeakCount(WEAK_COUNT); m 406 modules/ml/test/test_mltests2.cpp m->setWeightTrimRate(WEIGHT_TRIM_RATE); m 407 modules/ml/test/test_mltests2.cpp m->setMaxDepth(MAX_DEPTH); m 408 modules/ml/test/test_mltests2.cpp m->setUseSurrogates(USE_SURROGATE); m 409 modules/ml/test/test_mltests2.cpp m->setPriors(Mat()); m 410 modules/ml/test/test_mltests2.cpp model = m; m 426 modules/ml/test/test_mltests2.cpp Ptr<RTrees> m = RTrees::create(); m 427 modules/ml/test/test_mltests2.cpp m->setMaxDepth(MAX_DEPTH); m 428 modules/ml/test/test_mltests2.cpp m->setMinSampleCount(MIN_SAMPLE_COUNT); m 429 modules/ml/test/test_mltests2.cpp m->setRegressionAccuracy(REG_ACCURACY); m 430 modules/ml/test/test_mltests2.cpp m->setUseSurrogates(USE_SURROGATE); m 431 modules/ml/test/test_mltests2.cpp m->setMaxCategories(MAX_CATEGORIES); m 432 modules/ml/test/test_mltests2.cpp m->setPriors(Mat()); m 433 modules/ml/test/test_mltests2.cpp m->setCalculateVarImportance(true); m 434 modules/ml/test/test_mltests2.cpp m->setActiveVarCount(NACTIVE_VARS); m 435 modules/ml/test/test_mltests2.cpp m->setTermCriteria(TermCriteria(TermCriteria::COUNT, MAX_TREES_NUM, OOB_EPS)); m 436 modules/ml/test/test_mltests2.cpp model = m; m 285 modules/ml/test/test_save_load.cpp int m = 10000, n = svm1->getVarCount(); m 286 modules/ml/test/test_save_load.cpp Mat samples(m, n, CV_32F), r1, r2, r3; m 110 modules/objdetect/src/detection_based_tracker.cpp cv::Point2f m=centerRect(r); m 113 modules/objdetect/src/detection_based_tracker.cpp int x=cvRound(m.x - width/2); m 114 modules/objdetect/src/detection_based_tracker.cpp int y=cvRound(m.y - height/2); m 51 modules/objdetect/src/haar.cpp # define _mm_blendv_pd(a, b, m) _mm_xor_pd(a, _mm_and_pd(_mm_xor_pd(b, a), m)) m 52 modules/objdetect/src/haar.cpp # define _mm_blendv_ps(a, b, m) _mm_xor_ps(a, _mm_and_ps(_mm_xor_ps(b, a), m)) m 106 modules/photo/src/denoise_tvl1.cpp double dx, dy, m; m 111 modules/photo/src/denoise_tvl1.cpp m = 1.0/std::max(std::sqrt(dx*dx + dy*dy), 1.0); m 112 modules/photo/src/denoise_tvl1.cpp p_curr[x].x = dx*m; m 113 modules/photo/src/denoise_tvl1.cpp p_curr[x].y = dy*m; m 116 modules/photo/src/denoise_tvl1.cpp m = 1.0/std::max(std::abs(dy), 1.0); m 118 modules/photo/src/denoise_tvl1.cpp p_curr[x].y = dy*m; m 166 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline int calcDist(const Mat& m, int i1, int j1, int i2, int j2) m 168 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp const T a = m.at<T>(i1, j1); m 169 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp const T b = m.at<T>(i2, j2); m 288 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline int calcDist(const Mat& m, int i1, int j1, int i2, int j2) m 290 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp const T a = m.at<T>(i1, j1); m 291 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp const T b = m.at<T>(i2, j2); m 217 modules/python/src2/cv2.cpp static bool pyopencv_to(PyObject* o, Mat& m, const ArgInfo info) m 222 modules/python/src2/cv2.cpp if( !m.data ) m 223 modules/python/src2/cv2.cpp m.allocator = &g_numpyAllocator; m 230 modules/python/src2/cv2.cpp m = Mat(4, 1, CV_64F, v).clone(); m 236 modules/python/src2/cv2.cpp m = Mat(4, 1, CV_64F, v).clone(); m 242 modules/python/src2/cv2.cpp m = Mat(sz, 1, CV_64F); m 247 modules/python/src2/cv2.cpp m.at<double>(i) = (double)PyInt_AsLong(oi); m 249 modules/python/src2/cv2.cpp m.at<double>(i) = (double)PyFloat_AsDouble(oi); m 253 modules/python/src2/cv2.cpp m.release(); m 371 modules/python/src2/cv2.cpp m = Mat(ndims, size, type, PyArray_DATA(oarr), step); m 372 modules/python/src2/cv2.cpp m.u = g_numpyAllocator.allocate(o, ndims, size, type, step); m 373 modules/python/src2/cv2.cpp m.addref(); m 379 modules/python/src2/cv2.cpp m.allocator = &g_numpyAllocator; m 385 modules/python/src2/cv2.cpp bool pyopencv_to(PyObject* o, Mat& m, const char* name) m 387 modules/python/src2/cv2.cpp return pyopencv_to(o, m, ArgInfo(name, 0)); m 391 modules/python/src2/cv2.cpp PyObject* pyopencv_from(const Mat& m) m 393 modules/python/src2/cv2.cpp if( !m.data ) m 395 modules/python/src2/cv2.cpp Mat temp, *p = (Mat*)&m; m 399 modules/python/src2/cv2.cpp ERRWRAP2(m.copyTo(temp)); m 753 modules/python/src2/cv2.cpp Mat m; m 754 modules/python/src2/cv2.cpp pyopencv_to(obj, m, info); m 755 modules/python/src2/cv2.cpp m.copyTo(value); m 1005 modules/python/src2/cv2.cpp PyObject* pyopencv_from(const Moments& m) m 1008 modules/python/src2/cv2.cpp "m00", m.m00, "m10", m.m10, "m01", m.m01, m 1009 modules/python/src2/cv2.cpp "m20", m.m20, "m11", m.m11, "m02", m.m02, m 1010 modules/python/src2/cv2.cpp "m30", m.m30, "m21", m.m21, "m12", m.m12, "m03", m.m03, m 1011 modules/python/src2/cv2.cpp "mu20", m.mu20, "mu11", m.mu11, "mu02", m.mu02, m 1012 modules/python/src2/cv2.cpp "mu30", m.mu30, "mu21", m.mu21, "mu12", m.mu12, "mu03", m.mu03, m 1013 modules/python/src2/cv2.cpp "nu20", m.nu20, "nu11", m.nu11, "nu02", m.nu02, m 1014 modules/python/src2/cv2.cpp "nu30", m.nu30, "nu21", m.nu21, "nu12", m.nu12, "nu03", m.nu03); m 1265 modules/python/src2/cv2.cpp for (PyMethodDef * m = methods; m->ml_name != NULL; ++m) m 1267 modules/python/src2/cv2.cpp PyObject * method_obj = PyCFunction_NewEx(m, NULL, NULL); m 1268 modules/python/src2/cv2.cpp PyDict_SetItemString(d, m->ml_name, method_obj); m 1313 modules/python/src2/cv2.cpp PyObject* m = PyModule_Create(&cv2_moduledef); m 1315 modules/python/src2/cv2.cpp PyObject* m = Py_InitModule(MODULESTR, special_methods); m 1317 modules/python/src2/cv2.cpp init_submodules(m); // from "pyopencv_generated_ns_reg.h" m 1319 modules/python/src2/cv2.cpp PyObject* d = PyModule_GetDict(m); m 1367 modules/python/src2/cv2.cpp return m; m 50 modules/stitching/src/autocalib.cpp decomposeCholesky(_Tp* A, size_t astep, int m) m 52 modules/stitching/src/autocalib.cpp if (!hal::Cholesky(A, astep, m, 0, 0, 0)) m 55 modules/stitching/src/autocalib.cpp for (int i = 0; i < m; ++i) m 109 modules/stitching/src/autocalib.cpp const MatchesInfo &m = pairwise_matches[i*num_images + j]; m 110 modules/stitching/src/autocalib.cpp if (m.H.empty()) m 114 modules/stitching/src/autocalib.cpp focalsFromHomography(m.H, f0, f1, f0ok, f1ok); m 147 modules/stitching/src/autocalib.cpp int m = static_cast<int>(Hs.size()); m 148 modules/stitching/src/autocalib.cpp CV_Assert(m >= 1); m 150 modules/stitching/src/autocalib.cpp std::vector<Mat> Hs_(m); m 151 modules/stitching/src/autocalib.cpp for (int i = 0; i < m; ++i) m 158 modules/stitching/src/autocalib.cpp Mat_<double> A(6*m, 6); m 162 modules/stitching/src/autocalib.cpp for (int k = 0; k < m; ++k) m 591 modules/stitching/src/matchers.cpp const DMatch& m = matches_info.matches[i]; m 593 modules/stitching/src/matchers.cpp Point2f p = features1.keypoints[m.queryIdx].pt; m 598 modules/stitching/src/matchers.cpp p = features2.keypoints[m.trainIdx].pt; m 636 modules/stitching/src/matchers.cpp const DMatch& m = matches_info.matches[i]; m 638 modules/stitching/src/matchers.cpp Point2f p = features1.keypoints[m.queryIdx].pt; m 643 modules/stitching/src/matchers.cpp p = features2.keypoints[m.trainIdx].pt; m 382 modules/stitching/src/motion_estimators.cpp const DMatch& m = matches_info.matches[k]; m 383 modules/stitching/src/motion_estimators.cpp Point2f p1 = features1.keypoints[m.queryIdx].pt; m 384 modules/stitching/src/motion_estimators.cpp Point2f p2 = features2.keypoints[m.trainIdx].pt; m 552 modules/stitching/src/motion_estimators.cpp const DMatch& m = matches_info.matches[k]; m 554 modules/stitching/src/motion_estimators.cpp Point2f p1 = features1.keypoints[m.queryIdx].pt; m 561 modules/stitching/src/motion_estimators.cpp Point2f p2 = features2.keypoints[m.trainIdx].pt; m 356 modules/superres/src/btv_l1.cpp for (int m = 0, ind = 0; m <= ksize; ++m) m 358 modules/superres/src/btv_l1.cpp for (int l = ksize; l + m >= 0; --l, ++ind) m 359 modules/superres/src/btv_l1.cpp btvWeights[ind] = pow(alpha_f, std::abs(m) + std::abs(l)); m 386 modules/superres/src/btv_l1.cpp for (int m = 0, ind = 0; m <= ksize; ++m) m 388 modules/superres/src/btv_l1.cpp const T* srcRow2 = src.ptr<T>(i - m); m 389 modules/superres/src/btv_l1.cpp const T* srcRow3 = src.ptr<T>(i + m); m 391 modules/superres/src/btv_l1.cpp for (int l = ksize; l + m >= 0; --l, ++ind) m 181 modules/superres/src/btv_l1_cuda.cpp for (int m = 0, ind = 0; m <= ksize; ++m) m 183 modules/superres/src/btv_l1_cuda.cpp for (int l = ksize; l + m >= 0; --l, ++ind) m 184 modules/superres/src/btv_l1_cuda.cpp btvWeights[ind] = pow(alpha_f, std::abs(m) + std::abs(l)); m 121 modules/superres/src/input_array_utility.cpp Mat m = dst.getMat(); m 122 modules/superres/src/input_array_utility.cpp d.download(m); m 145 modules/superres/src/opencl/superres_btvl1.cl for (int m = 0, count = 0; m <= ksize; ++m) m 146 modules/superres/src/opencl/superres_btvl1.cl for (int l = ksize; l + m >= 0; --l, ++count) m 148 modules/superres/src/opencl/superres_btvl1.cl dstVal += c_btvRegWeights[count] * (diffSign1(srcVal, src_elem_at(src, y + m, src_step, x + l)) m 149 modules/superres/src/opencl/superres_btvl1.cl - diffSign1(src_elem_at(src, y - m, src_step, x - l), srcVal)); m 157 modules/superres/src/opencl/superres_btvl1.cl for (int m = 0, count = 0; m <= ksize; ++m) m 159 modules/superres/src/opencl/superres_btvl1.cl for (int l = ksize; l + m >= 0; --l, ++count) m 161 modules/superres/src/opencl/superres_btvl1.cl __global const float * src1ptr = (__global const float *)(src + mad24(y + m, src_step, 3 * sz * (x + l) + src_offset)); m 162 modules/superres/src/opencl/superres_btvl1.cl __global const float * src2ptr = (__global const float *)(src + mad24(y - m, src_step, 3 * sz * (x - l) + src_offset)); m 169 modules/ts/include/opencv2/ts.hpp MatInfo(const Mat& _m) : m(&_m) {} m 170 modules/ts/include/opencv2/ts.hpp const Mat* m; m 173 modules/ts/include/opencv2/ts.hpp CV_EXPORTS std::ostream& operator << (std::ostream& out, const MatInfo& m); m 70 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::cuda::GpuMat loadMat(const cv::Mat& m, bool useRoi = false); m 285 modules/ts/include/opencv2/ts/ocl_test.hpp static double checkNorm1(InputArray m, InputArray mask = noArray()); m 198 modules/ts/include/opencv2/ts/ts_perf.hpp static double getElem(cv::Mat& m, int x, int y, int cn = 0); m 202 modules/ts/include/opencv2/ts/ts_perf.hpp void write(cv::Mat m); m 434 modules/ts/include/opencv2/ts/ts_perf.hpp static void warmup_impl(cv::Mat m, WarmUpType wtype); m 110 modules/ts/src/cuda_test.cpp GpuMat loadMat(const Mat& m, bool useRoi) m 112 modules/ts/src/cuda_test.cpp GpuMat d_m = createMat(m.size(), m.type(), useRoi); m 113 modules/ts/src/cuda_test.cpp d_m.upload(m); m 225 modules/ts/src/cuda_test.cpp template <typename T, typename OutT> std::string printMatValImpl(const Mat& m, Point p) m 227 modules/ts/src/cuda_test.cpp const int cn = m.channels(); m 234 modules/ts/src/cuda_test.cpp ostr << static_cast<OutT>(m.at<T>(p.y, p.x * cn)); m 235 modules/ts/src/cuda_test.cpp for (int c = 1; c < m.channels(); ++c) m 237 modules/ts/src/cuda_test.cpp ostr << ", " << static_cast<OutT>(m.at<T>(p.y, p.x * cn + c)); m 244 modules/ts/src/cuda_test.cpp std::string printMatVal(const Mat& m, Point p) m 246 modules/ts/src/cuda_test.cpp typedef std::string (*func_t)(const Mat& m, Point p); m 254 modules/ts/src/cuda_test.cpp return funcs[m.depth()](m, p); m 310 modules/ts/src/cuda_test.cpp Mat m; m 311 modules/ts/src/cuda_test.cpp arr.getGpuMat().download(m); m 312 modules/ts/src/cuda_test.cpp return m; m 526 modules/ts/src/cuda_test.cpp const cv::DMatch& m = matches[i]; m 528 modules/ts/src/cuda_test.cpp const cv::KeyPoint& p1 = keypoints1[m.queryIdx]; m 529 modules/ts/src/cuda_test.cpp const cv::KeyPoint& p2 = keypoints2[m.trainIdx]; m 238 modules/ts/src/ocl_test.cpp double TestUtils::checkNorm1(InputArray m, InputArray mask) m 240 modules/ts/src/ocl_test.cpp return cvtest::norm(m.getMat(), NORM_INF, mask.getMat()); m 117 modules/ts/src/ts_func.cpp Mat m(size0, type); m 119 modules/ts/src/ts_func.cpp rng.fill(m, RNG::UNIFORM, minVal, maxVal); m 121 modules/ts/src/ts_func.cpp return m; m 122 modules/ts/src/ts_func.cpp return m(Rect((size0.width-size.width)/2, (size0.height-size.height)/2, size.width, size.height)); m 143 modules/ts/src/ts_func.cpp Mat m(dims, &size0[0], type); m 145 modules/ts/src/ts_func.cpp rng.fill(m, RNG::UNIFORM, minVal, maxVal); m 147 modules/ts/src/ts_func.cpp return m; m 148 modules/ts/src/ts_func.cpp return m(&r[0]); m 2804 modules/ts/src/ts_func.cpp std::ostream& operator << (std::ostream& out, const MatInfo& m) m 2806 modules/ts/src/ts_func.cpp if( !m.m || m.m->empty() ) m 2811 modules/ts/src/ts_func.cpp out << depthstr[m.m->depth()] << "C" << m.m->channels() << " " << m.m->dims << "-dim ("; m 2812 modules/ts/src/ts_func.cpp for( int i = 0; i < m.m->dims; i++ ) m 2813 modules/ts/src/ts_func.cpp out << m.m->size[i] << (i < m.m->dims-1 ? " x " : ")"); m 2819 modules/ts/src/ts_func.cpp static Mat getSubArray(const Mat& m, int border, vector<int>& ofs0, vector<int>& ofs) m 2825 modules/ts/src/ts_func.cpp return m; m 2827 modules/ts/src/ts_func.cpp int i, d = m.dims; m 2833 modules/ts/src/ts_func.cpp r[i].end = std::min(ofs0[i] + 1 + border, m.size[i]); m 2836 modules/ts/src/ts_func.cpp return m(&r[0]); m 2888 modules/ts/src/ts_func.cpp : m(&_m), loc(_loc) {} m 2889 modules/ts/src/ts_func.cpp const Mat* m; m 2893 modules/ts/src/ts_func.cpp static std::ostream& operator << (std::ostream& out, const MatPart& m) m 2895 modules/ts/src/ts_func.cpp CV_Assert( !m.loc || ((int)m.loc->size() == m.m->dims && m.m->dims <= 2) ); m 2896 modules/ts/src/ts_func.cpp if( !m.loc ) m 2897 modules/ts/src/ts_func.cpp out << *m.m; m 2900 modules/ts/src/ts_func.cpp int i, depth = m.m->depth(), cn = m.m->channels(), width = m.m->cols*cn; m 2901 modules/ts/src/ts_func.cpp for( i = 0; i < m.m->rows; i++ ) m 2903 modules/ts/src/ts_func.cpp writeElems(out, m.m->ptr(i), width, depth, i == (*m.loc)[0] ? (*m.loc)[1] : -1); m 2904 modules/ts/src/ts_func.cpp out << (i < m.m->rows-1 ? ";\n" : ""); m 2929 modules/ts/src/ts_func.cpp Mat m[] = {m1.reshape(1,0), m2.reshape(1,0)}; m 2930 modules/ts/src/ts_func.cpp int dims = m[0].dims; m 2938 modules/ts/src/ts_func.cpp m1part = Mat(1, 1, m[0].depth(), m[0].ptr(&loc[0])); m 2939 modules/ts/src/ts_func.cpp m2part = Mat(1, 1, m[1].depth(), m[1].ptr(&loc[0])); m 2943 modules/ts/src/ts_func.cpp m1part = getSubArray(m[0], border, loc0, loc); m 2944 modules/ts/src/ts_func.cpp m2part = getSubArray(m[1], border, loc0, loc); m 4649 modules/ts/src/ts_gtest.cpp Message m; m 4655 modules/ts/src/ts_gtest.cpp m << "<"; m 4658 modules/ts/src/ts_gtest.cpp m << ">"; m 4661 modules/ts/src/ts_gtest.cpp m << "&"; m 4665 modules/ts/src/ts_gtest.cpp m << "'"; m 4667 modules/ts/src/ts_gtest.cpp m << '\''; m 4671 modules/ts/src/ts_gtest.cpp m << """; m 4673 modules/ts/src/ts_gtest.cpp m << '"'; m 4678 modules/ts/src/ts_gtest.cpp m << "&#x" << String::FormatByte(static_cast<unsigned char>(ch)) m 4681 modules/ts/src/ts_gtest.cpp m << ch; m 4687 modules/ts/src/ts_gtest.cpp return m.GetString(); m 6716 modules/ts/src/ts_gtest.cpp Message m; m 6720 modules/ts/src/ts_gtest.cpp m << "Exited with exit status " << exit_code; m 6725 modules/ts/src/ts_gtest.cpp m << "Exited with exit status " << WEXITSTATUS(exit_code); m 6727 modules/ts/src/ts_gtest.cpp m << "Terminated by signal " << WTERMSIG(exit_code); m 6731 modules/ts/src/ts_gtest.cpp m << " (core dumped)"; m 6736 modules/ts/src/ts_gtest.cpp return m.GetString(); m 88 modules/ts/src/ts_perf.cpp static void randu(cv::Mat& m) m 91 modules/ts/src/ts_perf.cpp if (m.depth() < CV_32F) m 94 modules/ts/src/ts_perf.cpp cv::Mat mr = cv::Mat(m.rows, (int)(m.cols * m.elemSize()), CV_8U, m.ptr(), m.step[0]); m 97 modules/ts/src/ts_perf.cpp else if (m.depth() == CV_32F) m 101 modules/ts/src/ts_perf.cpp cv::Mat mr = m.reshape(1); m 108 modules/ts/src/ts_perf.cpp cv::Mat mr = m.reshape(1); m 138 modules/ts/src/ts_perf.cpp cv::Mat m(1, len, CV_64F, (void*)&array); m 140 modules/ts/src/ts_perf.cpp return Regression::add(test, name, m, eps, err); m 300 modules/ts/src/ts_perf.cpp double Regression::getElem(cv::Mat& m, int y, int x, int cn) m 302 modules/ts/src/ts_perf.cpp switch (m.depth()) m 304 modules/ts/src/ts_perf.cpp case CV_8U: return *(m.ptr<unsigned char>(y, x) + cn); m 305 modules/ts/src/ts_perf.cpp case CV_8S: return *(m.ptr<signed char>(y, x) + cn); m 306 modules/ts/src/ts_perf.cpp case CV_16U: return *(m.ptr<unsigned short>(y, x) + cn); m 307 modules/ts/src/ts_perf.cpp case CV_16S: return *(m.ptr<signed short>(y, x) + cn); m 308 modules/ts/src/ts_perf.cpp case CV_32S: return *(m.ptr<signed int>(y, x) + cn); m 309 modules/ts/src/ts_perf.cpp case CV_32F: return *(m.ptr<float>(y, x) + cn); m 310 modules/ts/src/ts_perf.cpp case CV_64F: return *(m.ptr<double>(y, x) + cn); m 315 modules/ts/src/ts_perf.cpp void Regression::write(cv::Mat m) m 317 modules/ts/src/ts_perf.cpp if (!m.empty() && m.dims < 2) return; m 320 modules/ts/src/ts_perf.cpp cv::minMaxIdx(m, &min, &max); m 323 modules/ts/src/ts_perf.cpp write() << "last" << "{" << "x" << m.size.p[1] - 1 << "y" << m.size.p[0] - 1 m 324 modules/ts/src/ts_perf.cpp << "val" << getElem(m, m.size.p[0] - 1, m.size.p[1] - 1, m.channels() - 1) << "}"; m 327 modules/ts/src/ts_perf.cpp x = regRNG.uniform(0, m.size.p[1]); m 328 modules/ts/src/ts_perf.cpp y = regRNG.uniform(0, m.size.p[0]); m 329 modules/ts/src/ts_perf.cpp cn = regRNG.uniform(0, m.channels()); m 332 modules/ts/src/ts_perf.cpp write() << "val" << getElem(m, y, x, cn) << "}"; m 334 modules/ts/src/ts_perf.cpp x = regRNG.uniform(0, m.size.p[1]); m 335 modules/ts/src/ts_perf.cpp y = regRNG.uniform(0, m.size.p[0]); m 336 modules/ts/src/ts_perf.cpp cn = regRNG.uniform(0, m.channels()); m 339 modules/ts/src/ts_perf.cpp write() << "val" << getElem(m, y, x, cn) << "}"; m 409 modules/ts/src/ts_perf.cpp cv::Mat m = array.getMat(idx); m 411 modules/ts/src/ts_perf.cpp if (m.total() * m.channels() < 26) //5x5 or smaller m 412 modules/ts/src/ts_perf.cpp write() << "val" << m; m 414 modules/ts/src/ts_perf.cpp write(m); m 1235 modules/ts/src/ts_perf.cpp void TestBase::warmup_impl(cv::Mat m, WarmUpType wtype) m 1240 modules/ts/src/ts_perf.cpp cv::sum(m.reshape(1)); m 1243 modules/ts/src/ts_perf.cpp m.reshape(1).setTo(cv::Scalar::all(0)); m 1246 modules/ts/src/ts_perf.cpp randu(m); m 1365 modules/ts/src/ts_perf.cpp unsigned int m = 0; m 1372 modules/ts/src/ts_perf.cpp ++m; m 1374 modules/ts/src/ts_perf.cpp gmean += gdelta / m; m 1385 modules/ts/src/ts_perf.cpp metrics.gstddev = m > 1 ? sqrt(gstddev / (m - 1)) : 0; m 1397 modules/ts/src/ts_perf.cpp performance_metrics& m = calcMetrics(); m 1401 modules/ts/src/ts_perf.cpp ASSERT_GE(m.samples, 1u) m 1406 modules/ts/src/ts_perf.cpp EXPECT_GE(m.samples, param_min_samples) m 1409 modules/ts/src/ts_perf.cpp if (m.gstddev > DBL_EPSILON) m 1411 modules/ts/src/ts_perf.cpp EXPECT_GT(/*m.gmean * */1., /*m.gmean * */ 2 * sinh(m.gstddev * param_max_deviation)) m 1415 modules/ts/src/ts_perf.cpp EXPECT_LE(m.outliers, std::max((unsigned int)cvCeil(m.samples * param_max_outliers / 100.), 1u)) m 1434 modules/ts/src/ts_perf.cpp performance_metrics& m = calcMetrics(); m 1436 modules/ts/src/ts_perf.cpp if (m.terminationReason == performance_metrics::TERM_SKIP_TEST) m 1445 modules/ts/src/ts_perf.cpp RecordProperty("bytesIn", (int)m.bytesIn); m 1446 modules/ts/src/ts_perf.cpp RecordProperty("bytesOut", (int)m.bytesOut); m 1447 modules/ts/src/ts_perf.cpp RecordProperty("term", m.terminationReason); m 1448 modules/ts/src/ts_perf.cpp RecordProperty("samples", (int)m.samples); m 1449 modules/ts/src/ts_perf.cpp RecordProperty("outliers", (int)m.outliers); m 1450 modules/ts/src/ts_perf.cpp RecordProperty("frequency", cv::format("%.0f", m.frequency).c_str()); m 1451 modules/ts/src/ts_perf.cpp RecordProperty("min", cv::format("%.0f", m.min).c_str()); m 1452 modules/ts/src/ts_perf.cpp RecordProperty("median", cv::format("%.0f", m.median).c_str()); m 1453 modules/ts/src/ts_perf.cpp RecordProperty("gmean", cv::format("%.0f", m.gmean).c_str()); m 1454 modules/ts/src/ts_perf.cpp RecordProperty("gstddev", cv::format("%.6f", m.gstddev).c_str()); m 1455 modules/ts/src/ts_perf.cpp RecordProperty("mean", cv::format("%.0f", m.mean).c_str()); m 1456 modules/ts/src/ts_perf.cpp RecordProperty("stddev", cv::format("%.0f", m.stddev).c_str()); m 1493 modules/ts/src/ts_perf.cpp switch (m.terminationReason) m 1536 modules/ts/src/ts_perf.cpp LOGD("bytesIn =%11lu", (unsigned long)m.bytesIn); m 1537 modules/ts/src/ts_perf.cpp LOGD("bytesOut =%11lu", (unsigned long)m.bytesOut); m 1538 modules/ts/src/ts_perf.cpp if (nIters == (unsigned int)-1 || m.terminationReason == performance_metrics::TERM_ITERATIONS) m 1539 modules/ts/src/ts_perf.cpp LOGD("samples =%11u", m.samples); m 1541 modules/ts/src/ts_perf.cpp LOGD("samples =%11u of %u", m.samples, nIters); m 1542 modules/ts/src/ts_perf.cpp LOGD("outliers =%11u", m.outliers); m 1543 modules/ts/src/ts_perf.cpp LOGD("frequency =%11.0f", m.frequency); m 1544 modules/ts/src/ts_perf.cpp if (m.samples > 0) m 1546 modules/ts/src/ts_perf.cpp LOGD("min =%11.0f = %.2fms", m.min, m.min * 1e3 / m.frequency); m 1547 modules/ts/src/ts_perf.cpp LOGD("median =%11.0f = %.2fms", m.median, m.median * 1e3 / m.frequency); m 1548 modules/ts/src/ts_perf.cpp LOGD("gmean =%11.0f = %.2fms", m.gmean, m.gmean * 1e3 / m.frequency); m 1549 modules/ts/src/ts_perf.cpp LOGD("gstddev =%11.8f = %.2fms for 97%% dispersion interval", m.gstddev, m.gmean * 2 * sinh(m.gstddev * 3) * 1e3 / m.frequency); m 1550 modules/ts/src/ts_perf.cpp LOGD("mean =%11.0f = %.2fms", m.mean, m.mean * 1e3 / m.frequency); m 1551 modules/ts/src/ts_perf.cpp LOGD("stddev =%11.0f = %.2fms", m.stddev, m.stddev * 1e3 / m.frequency); m 81 modules/video/src/camshift.cpp Moments m = isUMat ? moments(umat(cur_rect)) : moments(mat(cur_rect)); m 84 modules/video/src/camshift.cpp if( fabs(m.m00) < DBL_EPSILON ) m 87 modules/video/src/camshift.cpp int dx = cvRound( m.m10/m.m00 - window.width*0.5 ); m 88 modules/video/src/camshift.cpp int dy = cvRound( m.m01/m.m00 - window.height*0.5 ); m 141 modules/video/src/camshift.cpp Moments m = isUMat ? moments(umat(window)) : moments(mat(window)); m 143 modules/video/src/camshift.cpp double m00 = m.m00, m10 = m.m10, m01 = m.m01; m 144 modules/video/src/camshift.cpp double mu11 = m.mu11, mu20 = m.mu20, mu02 = m.mu02; m 1307 modules/video/src/lkpyramid.cpp double sa[4][4]={{0.}}, sb[4]={0.}, m[4]; m 1309 modules/video/src/lkpyramid.cpp Mat MM( 4, 1, CV_64F, m ); m 1340 modules/video/src/lkpyramid.cpp om[0] = om[4] = m[0]; m 1341 modules/video/src/lkpyramid.cpp om[1] = -m[1]; m 1342 modules/video/src/lkpyramid.cpp om[3] = m[1]; m 1343 modules/video/src/lkpyramid.cpp om[2] = m[2]; m 1344 modules/video/src/lkpyramid.cpp om[5] = m[3]; m 1528 modules/video/src/lkpyramid.cpp const double* m = M.ptr<double>(); m 1531 modules/video/src/lkpyramid.cpp if( std::abs( m[0]*pA[i].x + m[1]*pA[i].y + m[2] - pB[i].x ) + m 1532 modules/video/src/lkpyramid.cpp std::abs( m[3]*pA[i].x + m[4]*pA[i].y + m[5] - pB[i].y ) < std::max(brect.width,brect.height)*0.05 ) m 319 modules/video/src/optflowgf.cpp int m = block_size/2; m 324 modules/video/src/optflowgf.cpp AutoBuffer<double> _vsum((width+m*2+2)*5); m 325 modules/video/src/optflowgf.cpp double* vsum = _vsum + (m+1)*5; m 330 modules/video/src/optflowgf.cpp vsum[x] = srow0[x]*(m+2); m 332 modules/video/src/optflowgf.cpp for( y = 1; y < m; y++ ) m 345 modules/video/src/optflowgf.cpp srow0 = matM.ptr<float>(std::max(y-m-1,0)); m 346 modules/video/src/optflowgf.cpp const float* srow1 = matM.ptr<float>(std::min(y+m,height-1)); m 353 modules/video/src/optflowgf.cpp for( x = 0; x < (m+1)*5; x++ ) m 360 modules/video/src/optflowgf.cpp g11 = vsum[0]*(m+2); m 361 modules/video/src/optflowgf.cpp g12 = vsum[1]*(m+2); m 362 modules/video/src/optflowgf.cpp g22 = vsum[2]*(m+2); m 363 modules/video/src/optflowgf.cpp h1 = vsum[3]*(m+2); m 364 modules/video/src/optflowgf.cpp h2 = vsum[4]*(m+2); m 366 modules/video/src/optflowgf.cpp for( x = 1; x < m; x++ ) m 378 modules/video/src/optflowgf.cpp g11 += vsum[(x+m)*5] - vsum[(x-m)*5 - 5]; m 379 modules/video/src/optflowgf.cpp g12 += vsum[(x+m)*5 + 1] - vsum[(x-m)*5 - 4]; m 380 modules/video/src/optflowgf.cpp g22 += vsum[(x+m)*5 + 2] - vsum[(x-m)*5 - 3]; m 381 modules/video/src/optflowgf.cpp h1 += vsum[(x+m)*5 + 3] - vsum[(x-m)*5 - 2]; m 382 modules/video/src/optflowgf.cpp h2 += vsum[(x+m)*5 + 4] - vsum[(x-m)*5 - 1]; m 412 modules/video/src/optflowgf.cpp int m = block_size/2; m 415 modules/video/src/optflowgf.cpp double sigma = m*0.3, s = 1; m 417 modules/video/src/optflowgf.cpp AutoBuffer<float> _vsum((width+m*2+2)*5 + 16), _hsum(width*5 + 16); m 418 modules/video/src/optflowgf.cpp AutoBuffer<float> _kernel((m+1)*5 + 16); m 419 modules/video/src/optflowgf.cpp AutoBuffer<float*> _srow(m*2+1); m 420 modules/video/src/optflowgf.cpp float *vsum = alignPtr((float*)_vsum + (m+1)*5, 16), *hsum = alignPtr((float*)_hsum, 16); m 425 modules/video/src/optflowgf.cpp for( i = 1; i <= m; i++ ) m 433 modules/video/src/optflowgf.cpp for( i = 0; i <= m; i++ ) m 437 modules/video/src/optflowgf.cpp float* simd_kernel = alignPtr(kernel + m+1, 16); m 441 modules/video/src/optflowgf.cpp for( i = 0; i <= m; i++ ) m 453 modules/video/src/optflowgf.cpp for( i = 0; i <= m; i++ ) m 455 modules/video/src/optflowgf.cpp srow[m-i] = matM.ptr<float>(std::max(y-i,0)); m 456 modules/video/src/optflowgf.cpp srow[m+i] = matM.ptr<float>(std::min(y+i,height-1)); m 465 modules/video/src/optflowgf.cpp const float *sptr0 = srow[m], *sptr1; m 473 modules/video/src/optflowgf.cpp for( i = 1; i <= m; i++ ) m 476 modules/video/src/optflowgf.cpp sptr0 = srow[m+i], sptr1 = srow[m-i]; m 496 modules/video/src/optflowgf.cpp const float *sptr0 = srow[m], *sptr1; m 500 modules/video/src/optflowgf.cpp for( i = 1; i <= m; i++ ) m 502 modules/video/src/optflowgf.cpp sptr0 = srow[m+i], sptr1 = srow[m-i]; m 513 modules/video/src/optflowgf.cpp float s0 = srow[m][x]*kernel[0]; m 514 modules/video/src/optflowgf.cpp for( i = 1; i <= m; i++ ) m 515 modules/video/src/optflowgf.cpp s0 += (srow[m+i][x] + srow[m-i][x])*kernel[i]; m 520 modules/video/src/optflowgf.cpp for( x = 0; x < m*5; x++ ) m 537 modules/video/src/optflowgf.cpp for( i = 1; i <= m; i++ ) m 556 modules/video/src/optflowgf.cpp for( i = 1; i <= m; i++ ) m 157 modules/video/test/test_camshift.cpp float m; m 171 modules/video/test/test_camshift.cpp m = MAX( box0.size.width, box0.size.height ); m 172 modules/video/test/test_camshift.cpp img_size.width = cvRound(cvtest::randReal(rng)*m*0.5 + m + 1); m 173 modules/video/test/test_camshift.cpp img_size.height = cvRound(cvtest::randReal(rng)*m*0.5 + m + 1); m 177 modules/video/test/test_camshift.cpp box0.center.x = (float)(img_size.width*0.5 + (cvtest::randReal(rng)-0.5)*(img_size.width - m)); m 178 modules/video/test/test_camshift.cpp box0.center.y = (float)(img_size.height*0.5 + (cvtest::randReal(rng)-0.5)*(img_size.height - m)); m 228 modules/video/test/test_camshift.cpp double m; m 241 modules/video/test/test_camshift.cpp m = MAX(box0.size.width,box0.size.height)*0.8; m 242 modules/video/test/test_camshift.cpp init_rect.x = cvFloor(box0.center.x - m*(0.45 + cvtest::randReal(rng)*0.2)); m 243 modules/video/test/test_camshift.cpp init_rect.y = cvFloor(box0.center.y - m*(0.45 + cvtest::randReal(rng)*0.2)); m 244 modules/video/test/test_camshift.cpp init_rect.width = cvCeil(box0.center.x + m*(0.45 + cvtest::randReal(rng)*0.2) - init_rect.x); m 245 modules/video/test/test_camshift.cpp init_rect.height = cvCeil(box0.center.y + m*(0.45 + cvtest::randReal(rng)*0.2) - init_rect.y); m 273 modules/video/test/test_camshift.cpp double m = MAX(box0.size.width, box0.size.height), delta; m 299 modules/video/test/test_camshift.cpp if( fabs(box.center.x - box0.center.x) > m*0.1 || m 300 modules/video/test/test_camshift.cpp fabs(box.center.y - box0.center.y) > m*0.1 ) m 322 modules/video/test/test_camshift.cpp delta = m*0.7; m 395 modules/video/test/test_camshift.cpp double m; m 408 modules/video/test/test_camshift.cpp m = (box0.size.width + box0.size.height)*0.5; m 409 modules/video/test/test_camshift.cpp init_rect.x = cvFloor(box0.center.x - m*(0.4 + cvtest::randReal(rng)*0.2)); m 410 modules/video/test/test_camshift.cpp init_rect.y = cvFloor(box0.center.y - m*(0.4 + cvtest::randReal(rng)*0.2)); m 411 modules/video/test/test_camshift.cpp init_rect.width = cvCeil(box0.center.x + m*(0.4 + cvtest::randReal(rng)*0.2) - init_rect.x); m 412 modules/video/test/test_camshift.cpp init_rect.height = cvCeil(box0.center.y + m*(0.4 + cvtest::randReal(rng)*0.2) - init_rect.y); m 440 modules/video/test/test_camshift.cpp double m = MAX(box0.size.width, box0.size.height), delta; m 452 modules/video/test/test_camshift.cpp if( fabs(c.x - box0.center.x) > m*0.1 || m 453 modules/video/test/test_camshift.cpp fabs(c.y - box0.center.y) > m*0.1 ) m 461 modules/video/test/test_camshift.cpp delta = m*0.7; m 720 modules/videoio/src/cap.cpp Mat m(bridge.getHeight(), bridge.getWidth(), CV_8UC3, p); m 721 modules/videoio/src/cap.cpp image = m; m 393 modules/videoio/src/cap_ffmpeg_impl.hpp ImplMutex& operator = (const ImplMutex& m); m 409 modules/videoio/src/cap_gphoto2.cpp int m, p; m 423 modules/videoio/src/cap_gphoto2.cpp CR(m = gp_abilities_list_lookup_model(abilitiesList, model)); m 424 modules/videoio/src/cap_gphoto2.cpp CR(gp_abilities_list_get_abilities(abilitiesList, m, &cameraAbilities)); m 837 modules/videoio/src/cap_libv4l.cpp capture->deviceHandle, buf.m.offset); m 958 modules/videoio/src/cap_v4l.cpp capture->deviceHandle, buf.m.offset); m 48 modules/videoio/src/cap_vfw.cpp #define capSendMessage(hwnd,m,w,l) (IsWindow(hwnd)?SendMessage(hwnd,m,w,l):0) m 167 modules/viz/src/precomp.hpp type m; m 99 modules/viz/src/vizcore.cpp void cv::viz::VizMap::replace_clear() { type().swap(m); } m 111 modules/viz/src/vizcore.cpp VizMap::iterator vm_itr = storage.m.find(name); m 112 modules/viz/src/vizcore.cpp CV_Assert(vm_itr != storage.m.end()); m 119 modules/viz/src/vizcore.cpp VizMap::iterator vm_itr = storage.m.find(window_name); m 120 modules/viz/src/vizcore.cpp CV_Assert(vm_itr == storage.m.end()); m 121 modules/viz/src/vizcore.cpp storage.m.insert(std::make_pair(window_name, window)); m 127 modules/viz/src/vizcore.cpp return storage.m.find(name) != storage.m.end(); m 132 modules/viz/src/vizcore.cpp for(VizMap::iterator pos = storage.m.begin(); pos != storage.m.end();) m 134 modules/viz/src/vizcore.cpp storage.m.erase(pos++); m 223 modules/viz/src/vtk/vtkVizInteractorStyle.cpp vtkMatrix4x4* m = vtkProp3D::SafeDownCast(it->second)->GetUserMatrix(); m 225 modules/viz/src/vtk/vtkVizInteractorStyle.cpp cam->SetFocalPoint(m->GetElement(0, 3) - m->GetElement(0, 2), m 226 modules/viz/src/vtk/vtkVizInteractorStyle.cpp m->GetElement(1, 3) - m->GetElement(1, 2), m 227 modules/viz/src/vtk/vtkVizInteractorStyle.cpp m->GetElement(2, 3) - m->GetElement(2, 2)); m 229 modules/viz/src/vtk/vtkVizInteractorStyle.cpp cam->SetViewUp (m->GetElement(0, 1), m->GetElement(1, 1), m->GetElement(2, 1)); m 230 modules/viz/src/vtk/vtkVizInteractorStyle.cpp cam->SetPosition(m->GetElement(0, 3), m->GetElement(1, 3), m->GetElement(2, 3)); m 78 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java Matcher m = pattern.matcher(line); m 79 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java while (m.find()) { m 80 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java int start = Integer.parseInt(m.group(1)); m 82 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java if (m.group(3) != null) { m 83 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java finish = Integer.parseInt(m.group(3)); m 194 samples/cpp/facial_features.cpp Rect m = mouth[j]; m 195 samples/cpp/facial_features.cpp mouth_center_height = (m.y + m.height/2); m 200 samples/cpp/facial_features.cpp rectangle(ROI, Point(m.x, m.y), Point(m.x+m.width, m.y+m.height), Scalar(0, 255, 0), 1, 4); m 205 samples/cpp/facial_features.cpp rectangle(ROI, Point(m.x, m.y), Point(m.x+m.width, m.y+m.height), Scalar(0, 255, 0), 1, 4); m 65 samples/cpp/filestorage.cpp static ostream& operator<<(ostream& out, const MyData& m){ m 66 samples/cpp/filestorage.cpp out << "{ id = " << m.id << ", "; m 67 samples/cpp/filestorage.cpp out << "X = " << m.X << ", "; m 68 samples/cpp/filestorage.cpp out << "A = " << m.A << "}"; m 101 samples/cpp/filestorage.cpp MyData m(1); m 102 samples/cpp/filestorage.cpp fs << "mdata" << m; m 103 samples/cpp/filestorage.cpp cout << m << endl; m 140 samples/cpp/filestorage.cpp MyData m; m 141 samples/cpp/filestorage.cpp fs["mdata"] >> m; m 144 samples/cpp/filestorage.cpp cout << m << endl; m 147 samples/cpp/filestorage.cpp fs["mdata_b"] >> m; m 149 samples/cpp/filestorage.cpp cout << m << endl; m 164 samples/cpp/filestorage.cpp MyData m; m 167 samples/cpp/filestorage.cpp fs["mdata"] >> m; m 169 samples/cpp/filestorage.cpp cout << m << endl; m 178 samples/cpp/filestorage.cpp MyData m(1); m 179 samples/cpp/filestorage.cpp fs << "mdata" << m; m 180 samples/cpp/filestorage.cpp cout << m << endl; m 34 samples/cpp/imagelist_creator.cpp Mat m = imread(outputname); //check if the output is an image - prevent overwrites! m 35 samples/cpp/imagelist_creator.cpp if(!m.empty()){ m 224 samples/cpp/select3dobj.cpp Point2f m = mouse.pt; m 227 samples/cpp/select3dobj.cpp imgpt[npt] = m; m 236 samples/cpp/select3dobj.cpp if( norm(m - imgpt[i]) < norm(m - imgpt[nearestIdx]) ) m 252 samples/cpp/select3dobj.cpp Point2f a = imgpt[nearestIdx], b = tempimg[0], d1 = b - a, d2 = m - a; m 31 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp int m = getOptimalDFTSize( I.rows ); m 33 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp copyMakeBorder(I, padded, 0, m - I.rows, 0, n - I.cols, BORDER_CONSTANT, Scalar::all(0)); m 57 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp static ostream& operator<<(ostream& out, const MyData& m) m 59 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp out << "{ id = " << m.id << ", "; m 60 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp out << "X = " << m.X << ", "; m 61 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp out << "A = " << m.A << "}"; m 77 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp MyData m(1); m 93 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp fs << "MyData" << m; // your own data structures m 132 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp MyData m; m 137 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp fs["MyData"] >> m; // Read your own structure_ m 142 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp cout << "MyData = " << endl << m << endl << endl; m 146 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp fs["NonExisting"] >> m; m 147 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp cout << endl << "NonExisting = " << endl << m << endl; m 149 samples/directx/d3d10_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); m 151 samples/directx/d3d10_interop.cpp m_frame_rgba.copyTo(m); m 196 samples/directx/d3d10_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); m 201 samples/directx/d3d10_interop.cpp cv::blur(m, m, cv::Size(15, 15), cv::Point(-7, -7)); m 267 samples/directx/d3d10_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); m 273 samples/directx/d3d10_interop.cpp cv::putText(m, strMode, cv::Point(0, 16), 1, 0.8, cv::Scalar(0, 0, 0)); m 274 samples/directx/d3d10_interop.cpp cv::putText(m, strFPS, cv::Point(0, 32), 1, 0.8, cv::Scalar(0, 0, 0)); m 275 samples/directx/d3d10_interop.cpp cv::putText(m, strDevName, cv::Point(0, 48), 1, 0.8, cv::Scalar(0, 0, 0)); m 153 samples/directx/d3d11_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); m 155 samples/directx/d3d11_interop.cpp m_frame_rgba.copyTo(m); m 200 samples/directx/d3d11_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); m 205 samples/directx/d3d11_interop.cpp cv::blur(m, m, cv::Size(15, 15), cv::Point(-7, -7)); m 271 samples/directx/d3d11_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); m 277 samples/directx/d3d11_interop.cpp cv::putText(m, strMode, cv::Point(0, 16), 1, 0.8, cv::Scalar(0, 0, 0)); m 278 samples/directx/d3d11_interop.cpp cv::putText(m, strFPS, cv::Point(0, 32), 1, 0.8, cv::Scalar(0, 0, 0)); m 279 samples/directx/d3d11_interop.cpp cv::putText(m, strDevName, cv::Point(0, 48), 1, 0.8, cv::Scalar(0, 0, 0)); m 122 samples/directx/d3d9_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); m 124 samples/directx/d3d9_interop.cpp m_frame_rgba.copyTo(m); m 173 samples/directx/d3d9_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); m 178 samples/directx/d3d9_interop.cpp cv::blur(m, m, cv::Size(15, 15), cv::Point(-7, -7)); m 122 samples/directx/d3d9ex_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); m 124 samples/directx/d3d9ex_interop.cpp m_frame_rgba.copyTo(m); m 173 samples/directx/d3d9ex_interop.cpp cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); m 178 samples/directx/d3d9ex_interop.cpp cv::blur(m, m, cv::Size(15, 15), cv::Point(-7, -7)); m 51 samples/gpu/bgfg_segm.cpp Method m = method == "mog" ? MOG : m 87 samples/gpu/bgfg_segm.cpp switch (m) m 109 samples/gpu/bgfg_segm.cpp if (m != GMG) m 124 samples/gpu/bgfg_segm.cpp switch (m) m 12 samples/java/ant/src/SimpleSample.java Mat m = new Mat(5, 10, CvType.CV_8UC1, new Scalar(0)); m 13 samples/java/ant/src/SimpleSample.java System.out.println("OpenCV Mat: " + m); m 14 samples/java/ant/src/SimpleSample.java Mat mr1 = m.row(1); m 16 samples/java/ant/src/SimpleSample.java Mat mc5 = m.col(5); m 18 samples/java/ant/src/SimpleSample.java System.out.println("OpenCV Mat data:\n" + m.dump()); m 10 samples/java/eclipse/HelloCV/src/Main.java Mat m = Mat.eye(3, 3, CvType.CV_8UC1); m 11 samples/java/eclipse/HelloCV/src/Main.java System.out.println("m = " + m.dump()); m 44 samples/tapi/bgfg_segm.cpp int m = method == "mog2" ? M_MOG2 : M_KNN; m 65 samples/tapi/bgfg_segm.cpp switch (m) m 87 samples/tapi/bgfg_segm.cpp switch (m)