width 886 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int width; width 1321 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int width, height; width 3613 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height); width 3624 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, width 4299 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int avpicture_alloc(AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height); width 4317 3rdparty/include/ffmpeg_/libavcodec/avcodec.h enum AVPixelFormat pix_fmt, int width, int height); width 4326 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int width, int height, width 4336 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); width 4346 3rdparty/include/ffmpeg_/libavcodec/avcodec.h enum AVPixelFormat pix_fmt, int width, int height); width 4352 3rdparty/include/ffmpeg_/libavcodec/avcodec.h enum AVPixelFormat pix_fmt, int width, int height); width 4363 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, width 4509 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void avcodec_set_dimensions(AVCodecContext *s, int width, int height); width 88 3rdparty/include/ffmpeg_/libavcodec/vda.h int width; width 122 3rdparty/include/ffmpeg_/libavutil/frame.h int width, height; width 58 3rdparty/include/ffmpeg_/libavutil/imgutils.h int av_image_get_linesize(enum AVPixelFormat pix_fmt, int width, int plane); width 67 3rdparty/include/ffmpeg_/libavutil/imgutils.h int av_image_fill_linesizes(int linesizes[4], enum AVPixelFormat pix_fmt, int width); width 120 3rdparty/include/ffmpeg_/libavutil/imgutils.h enum AVPixelFormat pix_fmt, int width, int height); width 150 3rdparty/include/ffmpeg_/libavutil/imgutils.h enum AVPixelFormat pix_fmt, int width, int height, int align); width 158 3rdparty/include/ffmpeg_/libavutil/imgutils.h int av_image_get_buffer_size(enum AVPixelFormat pix_fmt, int width, int height, int align); width 179 3rdparty/include/ffmpeg_/libavutil/imgutils.h enum AVPixelFormat pix_fmt, int width, int height, int align); width 3508 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t width, width 3515 3rdparty/include/opencl/1.2/CL/cl.hpp desc.image_width = width; width 3582 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t width, width 3589 3rdparty/include/opencl/1.2/CL/cl.hpp desc.image_width = width; width 3640 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t width, width 3649 3rdparty/include/opencl/1.2/CL/cl.hpp desc.image_width = width; width 3708 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t width, width 3734 3rdparty/include/opencl/1.2/CL/cl.hpp desc.image_width = width; width 3758 3rdparty/include/opencl/1.2/CL/cl.hpp context(), flags,&format, width, height, row_pitch, host_ptr, &error); width 3900 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t width, width 3911 3rdparty/include/opencl/1.2/CL/cl.hpp desc.image_width = width; width 3971 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t width, width 3999 3rdparty/include/opencl/1.2/CL/cl.hpp desc.image_width = width; width 4025 3rdparty/include/opencl/1.2/CL/cl.hpp context(), flags, &format, width, height, depth, row_pitch, width 472 3rdparty/libjasper/jas_cm.c int width; width 492 3rdparty/libjasper/jas_cm.c width = fmt->width; width 496 3rdparty/libjasper/jas_cm.c if (fmt->width != width || fmt->height != height) { width 502 3rdparty/libjasper/jas_cm.c if (fmt->width != width || fmt->height != height) { width 521 3rdparty/libjasper/jas_cm.c total = width * height; width 98 3rdparty/libjasper/jas_image.c uint_fast32_t hstep, uint_fast32_t vstep, uint_fast32_t width, uint_fast32_t width 159 3rdparty/libjasper/jas_image.c rawsize += cmptparm->width * cmptparm->height * width 171 3rdparty/libjasper/jas_image.c cmptparm->width, cmptparm->height, cmptparm->prec, width 299 3rdparty/libjasper/jas_image.c uint_fast32_t hstep, uint_fast32_t vstep, uint_fast32_t width, uint_fast32_t width 314 3rdparty/libjasper/jas_image.c cmpt->width_ = width; width 405 3rdparty/libjasper/jas_image.c jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, width 424 3rdparty/libjasper/jas_image.c x + width > cmpt->width_ || width 429 3rdparty/libjasper/jas_image.c if (jas_matrix_numrows(data) != height || jas_matrix_numcols(data) != width) { width 430 3rdparty/libjasper/jas_image.c if (jas_matrix_resize(data, height, width)) { width 443 3rdparty/libjasper/jas_image.c for (j = width; j > 0; --j, ++d) { width 458 3rdparty/libjasper/jas_image.c int jas_image_writecmpt(jas_image_t *image, int cmptno, jas_image_coord_t x, jas_image_coord_t y, jas_image_coord_t width, width 477 3rdparty/libjasper/jas_image.c x + width > cmpt->width_ || width 482 3rdparty/libjasper/jas_image.c if (jas_matrix_numrows(data) != height || jas_matrix_numcols(data) != width) { width 494 3rdparty/libjasper/jas_image.c for (j = width; j > 0; --j, ++d) { width 671 3rdparty/libjasper/jas_image.c cmptparm->width, cmptparm->height, cmptparm->prec, width 818 3rdparty/libjasper/jas_image.c int width; width 825 3rdparty/libjasper/jas_image.c width = jas_image_cmptwidth(image, cmptno); width 827 3rdparty/libjasper/jas_image.c n = JAS_MIN(16, width); width 835 3rdparty/libjasper/jas_image.c if (jas_image_readcmpt2(image, cmptno, width - n, height - 1, n, 1, buf)) { width 839 3rdparty/libjasper/jas_image.c fprintf(out, " f(%d,%d)=%ld", width - n + i, height - 1, buf[i]); width 859 3rdparty/libjasper/jas_image.c cmptparms.width = cmpt->width_; width 967 3rdparty/libjasper/jas_image.c jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, width 980 3rdparty/libjasper/jas_image.c width < 0 || height < 0 || x + width > cmpt->width_ || width 989 3rdparty/libjasper/jas_image.c for (j = 0; j < width; ++j) { width 1002 3rdparty/libjasper/jas_image.c jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, width 1015 3rdparty/libjasper/jas_image.c width < 0 || height < 0 || x + width > cmpt->width_ || width 1024 3rdparty/libjasper/jas_image.c for (j = 0; j < width; ++j) { width 1042 3rdparty/libjasper/jas_image.c int width; width 1071 3rdparty/libjasper/jas_image.c width = FLOORDIV(brx - ho + hs, hs); width 1077 3rdparty/libjasper/jas_image.c cmptparm.width = width; width 1089 3rdparty/libjasper/jas_image.c for (j = 0; j < width; ++j) { width 1292 3rdparty/libjasper/jas_image.c int width; width 1330 3rdparty/libjasper/jas_image.c width = jas_image_cmptwidth(inimage, 0); width 1353 3rdparty/libjasper/jas_image.c cmptparm.width = width; width 1388 3rdparty/libjasper/jas_image.c if (!(incmptfmts[i].buf = malloc(width * sizeof(long)))) width 1392 3rdparty/libjasper/jas_image.c incmptfmts[i].width = width; width 1404 3rdparty/libjasper/jas_image.c if (!(outcmptfmts[i].buf = malloc(width * sizeof(long)))) width 1408 3rdparty/libjasper/jas_image.c outcmptfmts[i].width = width; width 1415 3rdparty/libjasper/jas_image.c if (jas_image_readcmpt2(inimage, k, 0, i, width, 1, incmptfmts[j].buf)) width 1421 3rdparty/libjasper/jas_image.c if (jas_image_writecmpt2(outimage, k, 0, i, width, 1, outcmptfmts[j].buf)) width 145 3rdparty/libjasper/jasper/jas_cm.h int width; width 235 3rdparty/libjasper/jasper/jas_image.h jas_image_coord_t width; width 417 3rdparty/libjasper/jasper/jas_image.h jas_image_coord_t x, jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, width 422 3rdparty/libjasper/jasper/jas_image.h jas_image_coord_t x, jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, width 489 3rdparty/libjasper/jasper/jas_image.h jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, width 492 3rdparty/libjasper/jasper/jas_image.h jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, width 369 3rdparty/libjasper/jp2_cod.c if (jp2_getuint32(in, &ihdr->height) || jp2_getuint32(in, &ihdr->width) || width 559 3rdparty/libjasper/jp2_cod.c if (jp2_putuint32(out, ihdr->height) || jp2_putuint32(out, ihdr->width) || width 150 3rdparty/libjasper/jp2_cod.h uint_fast32_t width; width 175 3rdparty/libjasper/jp2_enc.c ihdr->width = jas_image_width(image); width 489 3rdparty/libjasper/jpc_cs.c jpc_getuint32(in, &siz->width) || width 500 3rdparty/libjasper/jpc_cs.c if (!siz->width || !siz->height || !siz->tilewidth || width 532 3rdparty/libjasper/jpc_cs.c assert(siz->width && siz->height && siz->tilewidth && width 535 3rdparty/libjasper/jpc_cs.c jpc_putuint32(out, siz->width) || width 563 3rdparty/libjasper/jpc_cs.c (int)siz->width, (int)siz->height, (int)siz->xoff, (int)siz->yoff); width 186 3rdparty/libjasper/jpc_cs.h uint_fast32_t width; width 460 3rdparty/libjasper/jpc_dec.c compinfo->width = cmpt->width; width 1173 3rdparty/libjasper/jpc_dec.c dec->xend = siz->width; width 1194 3rdparty/libjasper/jpc_dec.c cmpt->width = JPC_CEILDIV(dec->xend, cmpt->hstep) - width 548 3rdparty/libjasper/jpc_dec.h uint_fast32_t width; width 936 3rdparty/libjasper/jpc_enc.c siz->width = cp->refgrdwidth; width 97 3rdparty/libjasper/jpc_qmfb.c int jpc_ft_analyze(int *a, int xstart, int ystart, int width, int height, width 99 3rdparty/libjasper/jpc_qmfb.c int jpc_ft_synthesize(int *a, int xstart, int ystart, int width, int height, width 102 3rdparty/libjasper/jpc_qmfb.c int jpc_ns_analyze(int *a, int xstart, int ystart, int width, int height, width 104 3rdparty/libjasper/jpc_qmfb.c int jpc_ns_synthesize(int *a, int xstart, int ystart, int width, width 1559 3rdparty/libjasper/jpc_qmfb.c int jpc_ft_analyze(int *a, int xstart, int ystart, int width, int height, width 1563 3rdparty/libjasper/jpc_qmfb.c int numcols = width; width 1595 3rdparty/libjasper/jpc_qmfb.c int jpc_ft_synthesize(int *a, int xstart, int ystart, int width, int height, width 1599 3rdparty/libjasper/jpc_qmfb.c int numcols = width; width 3071 3rdparty/libjasper/jpc_qmfb.c int jpc_ns_analyze(int *a, int xstart, int ystart, int width, int height, width 3076 3rdparty/libjasper/jpc_qmfb.c int numcols = width; width 3108 3rdparty/libjasper/jpc_qmfb.c int jpc_ns_synthesize(int *a, int xstart, int ystart, int width, width 3113 3rdparty/libjasper/jpc_qmfb.c int numcols = width; width 370 3rdparty/libjasper/jpc_t1dec.c int width; width 387 3rdparty/libjasper/jpc_t1dec.c width = jas_matrix_numcols(data); width 405 3rdparty/libjasper/jpc_t1dec.c for (j = width; j > 0; --j, ++fvscanstart, ++dvscanstart) { width 477 3rdparty/libjasper/jpc_t1dec.c int width; width 493 3rdparty/libjasper/jpc_t1dec.c width = jas_matrix_numcols(data); width 511 3rdparty/libjasper/jpc_t1dec.c for (j = width; j > 0; --j, ++fvscanstart, ++dvscanstart) { width 575 3rdparty/libjasper/jpc_t1dec.c int width; width 596 3rdparty/libjasper/jpc_t1dec.c width = jas_matrix_numcols(data); width 614 3rdparty/libjasper/jpc_t1dec.c for (j = width; j > 0; --j, ++fvscanstart, ++dvscanstart) { width 674 3rdparty/libjasper/jpc_t1dec.c int width; width 694 3rdparty/libjasper/jpc_t1dec.c width = jas_matrix_numcols(data); width 712 3rdparty/libjasper/jpc_t1dec.c for (j = width; j > 0; --j, ++fvscanstart, ++dvscanstart) { width 786 3rdparty/libjasper/jpc_t1dec.c int width; width 810 3rdparty/libjasper/jpc_t1dec.c width = jas_matrix_numcols(data); width 825 3rdparty/libjasper/jpc_t1dec.c for (j = width; j > 0; --j, ++fvscanstart, ++dvscanstart) { width 436 3rdparty/libjasper/jpc_t1enc.c int width; width 451 3rdparty/libjasper/jpc_t1enc.c width = jas_matrix_numcols(data); width 467 3rdparty/libjasper/jpc_t1enc.c for (j = width; j > 0; --j, ++fvscanstart, ++dvscanstart) { width 536 3rdparty/libjasper/jpc_t1enc.c int width; width 550 3rdparty/libjasper/jpc_t1enc.c width = jas_matrix_numcols(data); width 566 3rdparty/libjasper/jpc_t1enc.c for (j = width; j > 0; --j, ++fvscanstart, ++dvscanstart) { width 638 3rdparty/libjasper/jpc_t1enc.c int width; width 653 3rdparty/libjasper/jpc_t1enc.c width = jas_matrix_numcols(data); width 669 3rdparty/libjasper/jpc_t1enc.c for (j = width; j > 0; --j, ++fvscanstart, ++dvscanstart) { width 731 3rdparty/libjasper/jpc_t1enc.c int width; width 745 3rdparty/libjasper/jpc_t1enc.c width = jas_matrix_numcols(data); width 761 3rdparty/libjasper/jpc_t1enc.c for (j = width; j > 0; --j, ++fvscanstart, ++dvscanstart) { width 839 3rdparty/libjasper/jpc_t1enc.c int width; width 853 3rdparty/libjasper/jpc_t1enc.c width = jas_matrix_numcols(data); width 869 3rdparty/libjasper/jpc_t1enc.c for (j = width; j > 0; --j, ++fvscanstart, ++dvscanstart) { width 131 3rdparty/libjasper/jpc_tsfb.c int width, int height, int stride, int numlvls) width 133 3rdparty/libjasper/jpc_tsfb.c if (width > 0 && height > 0) { width 134 3rdparty/libjasper/jpc_tsfb.c if ((*tsfb->qmfb->analyze)(a, xstart, ystart, width, height, stride)) width 139 3rdparty/libjasper/jpc_tsfb.c xstart + width, 1) - JPC_CEILDIVPOW2(xstart, 1), width 158 3rdparty/libjasper/jpc_tsfb.c int width, int height, int stride, int numlvls) width 162 3rdparty/libjasper/jpc_tsfb.c JPC_CEILDIVPOW2(ystart, 1), JPC_CEILDIVPOW2(xstart + width, width 169 3rdparty/libjasper/jpc_tsfb.c if (width > 0 && height > 0) { width 170 3rdparty/libjasper/jpc_tsfb.c if ((*tsfb->qmfb->synthesize)(a, xstart, ystart, width, height, stride)) { width 470 3rdparty/libjpeg/jquant1.c JDIMENSION width = cinfo->output_width; width 476 3rdparty/libjpeg/jquant1.c for (col = width; col > 0; col--) { width 500 3rdparty/libjpeg/jquant1.c JDIMENSION width = cinfo->output_width; width 505 3rdparty/libjpeg/jquant1.c for (col = width; col > 0; col--) { width 530 3rdparty/libjpeg/jquant1.c JDIMENSION width = cinfo->output_width; width 535 3rdparty/libjpeg/jquant1.c (size_t) (width * SIZEOF(JSAMPLE))); width 544 3rdparty/libjpeg/jquant1.c for (col = width; col > 0; col--) { width 583 3rdparty/libjpeg/jquant1.c JDIMENSION width = cinfo->output_width; width 594 3rdparty/libjpeg/jquant1.c for (col = width; col > 0; col--) { width 633 3rdparty/libjpeg/jquant1.c JDIMENSION width = cinfo->output_width; width 640 3rdparty/libjpeg/jquant1.c (size_t) (width * SIZEOF(JSAMPLE))); width 646 3rdparty/libjpeg/jquant1.c input_ptr += (width-1) * nc; /* so point to rightmost pixel */ width 647 3rdparty/libjpeg/jquant1.c output_ptr += width-1; width 650 3rdparty/libjpeg/jquant1.c errorptr = cquantize->fserrors[ci] + (width+1); /* => entry after last column */ width 664 3rdparty/libjpeg/jquant1.c for (col = width; col > 0; col--) { width 234 3rdparty/libjpeg/jquant2.c JDIMENSION width = cinfo->output_width; width 238 3rdparty/libjpeg/jquant2.c for (col = width; col > 0; col--) { width 927 3rdparty/libjpeg/jquant2.c JDIMENSION width = cinfo->output_width; width 932 3rdparty/libjpeg/jquant2.c for (col = width; col > 0; col--) { width 967 3rdparty/libjpeg/jquant2.c JDIMENSION width = cinfo->output_width; width 980 3rdparty/libjpeg/jquant2.c inptr += (width-1) * 3; /* so point to rightmost pixel */ width 981 3rdparty/libjpeg/jquant2.c outptr += width-1; width 984 3rdparty/libjpeg/jquant2.c errorptr = cquantize->fserrors + (width+1)*3; /* => entry after last column */ width 999 3rdparty/libjpeg/jquant2.c for (col = width; col > 0; col--) { width 1170 3rdparty/libpng/png.c png_uint_32 width, png_uint_32 height, int bit_depth, width 1177 3rdparty/libpng/png.c if (width == 0) width 1190 3rdparty/libpng/png.c if (width > png_ptr->user_width_max) width 1193 3rdparty/libpng/png.c if (width > PNG_USER_WIDTH_MAX) width 1210 3rdparty/libpng/png.c if (width > PNG_UINT_31_MAX) width 1222 3rdparty/libpng/png.c if (width > (PNG_UINT_32_MAX width 839 3rdparty/libpng/png.h png_uint_32 width; /* width of row */ width 2166 3rdparty/libpng/png.h png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, width 2171 3rdparty/libpng/png.h png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, width 2316 3rdparty/libpng/png.h int *unit, double *width, double *height)); width 2325 3rdparty/libpng/png.h png_fixed_point *width, width 2334 3rdparty/libpng/png.h int unit, double width, double height)); width 2336 3rdparty/libpng/png.h png_infop info_ptr, int unit, png_fixed_point width, width 2526 3rdparty/libpng/png.h #define PNG_PASS_COLS(width, pass) (((width)+(((1<<PNG_PASS_COL_SHIFT(pass))\ width 55 3rdparty/libpng/pngget.c return info_ptr->width; width 737 3rdparty/libpng/pngget.c png_uint_32 *width, png_uint_32 *height, int *bit_depth, width 744 3rdparty/libpng/pngget.c if (png_ptr == NULL || info_ptr == NULL || width == NULL || width 748 3rdparty/libpng/pngget.c *width = info_ptr->width; width 767 3rdparty/libpng/pngget.c png_check_IHDR (png_ptr, info_ptr->width, info_ptr->height, width 825 3rdparty/libpng/pngget.c int *unit, png_fixed_point *width, png_fixed_point *height) width 832 3rdparty/libpng/pngget.c *width = png_fixed(png_ptr, atof(info_ptr->scal_s_width), "sCAL width"); width 845 3rdparty/libpng/pngget.c int *unit, double *width, double *height) width 851 3rdparty/libpng/pngget.c *width = atof(info_ptr->scal_s_width); width 861 3rdparty/libpng/pngget.c int *unit, png_charpp width, png_charpp height) width 867 3rdparty/libpng/pngget.c *width = info_ptr->scal_s_width; width 59 3rdparty/libpng/pnginfo.h png_uint_32 width; /* width of image in pixels (from IHDR) */ width 964 3rdparty/libpng/pngpread.c row_info.width = png_ptr->iwidth; /* NOTE: width of current interlaced row */ width 969 3rdparty/libpng/pngpread.c row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); width 1224 3rdparty/libpng/pngpread.c if ((png_ptr->pass == 1 && png_ptr->width < 5) || width 1225 3rdparty/libpng/pngpread.c (png_ptr->pass == 3 && png_ptr->width < 3) || width 1226 3rdparty/libpng/pngpread.c (png_ptr->pass == 5 && png_ptr->width < 2)) width 1235 3rdparty/libpng/pngpread.c png_ptr->iwidth = (png_ptr->width + width 573 3rdparty/libpng/pngpriv.h #define PNG_ROWBYTES(pixel_bits, width) \ width 575 3rdparty/libpng/pngpriv.h ((png_size_t)(width) * (((png_size_t)(pixel_bits)) >> 3)) : \ width 576 3rdparty/libpng/pngpriv.h (( ((png_size_t)(width) * ((png_size_t)(pixel_bits))) + 7) >> 3) ) width 809 3rdparty/libpng/pngpriv.h PNG_EXTERN void png_write_IHDR PNGARG((png_structp png_ptr, png_uint_32 width, width 936 3rdparty/libpng/pngpriv.h int unit, png_const_charp width, png_const_charp height)); width 1393 3rdparty/libpng/pngpriv.h png_uint_32 width, png_uint_32 height, int bit_depth, width 394 3rdparty/libpng/pngread.c row_info.width = png_ptr->iwidth; /* NOTE: width of current interlaced row */ width 399 3rdparty/libpng/pngread.c row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); width 463 3rdparty/libpng/pngread.c if ((png_ptr->row_number & 0x07) || png_ptr->width < 5) width 485 3rdparty/libpng/pngread.c if ((png_ptr->row_number & 3) || png_ptr->width < 3) width 506 3rdparty/libpng/pngread.c if ((png_ptr->row_number & 1) || png_ptr->width < 2) width 2059 3rdparty/libpng/pngrtran.c info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); width 2366 3rdparty/libpng/pngrtran.c row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, row_info->width); width 2386 3rdparty/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 2667 3rdparty/libpng/pngrtran.c row_info->rowbytes = row_info->width * row_info->channels; width 2695 3rdparty/libpng/pngrtran.c row_info->rowbytes = row_info->width * row_info->channels; width 2707 3rdparty/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 2804 3rdparty/libpng/pngrtran.c row_width = row_info->width; width 2905 3rdparty/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 3091 3rdparty/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 3240 3rdparty/libpng/pngrtran.c PNG_CONST png_uint_32 row_width = row_info->width; width 3501 3rdparty/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 4207 3rdparty/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 4402 3rdparty/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 4472 3rdparty/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 4625 3rdparty/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 4882 3rdparty/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 4981 3rdparty/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 524 3rdparty/libpng/pngrutil.c png_uint_32 width, height; width 542 3rdparty/libpng/pngrutil.c width = png_get_uint_31(png_ptr, buf); width 551 3rdparty/libpng/pngrutil.c png_ptr->width = width; width 586 3rdparty/libpng/pngrutil.c png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->width); width 590 3rdparty/libpng/pngrutil.c png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, width 2789 3rdparty/libpng/pngrutil.c png_uint_32 row_width = png_ptr->width; width 3277 3rdparty/libpng/pngrutil.c final_width = row_info->width * png_pass_inc[pass]; width 3283 3rdparty/libpng/pngrutil.c png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3); width 3295 3rdparty/libpng/pngrutil.c sshift = (int)((row_info->width + 7) & 0x07); width 3305 3rdparty/libpng/pngrutil.c sshift = 7 - (int)((row_info->width + 7) & 0x07); width 3312 3rdparty/libpng/pngrutil.c for (i = 0; i < row_info->width; i++) width 3344 3rdparty/libpng/pngrutil.c png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2); width 3354 3rdparty/libpng/pngrutil.c sshift = (int)(((row_info->width + 3) & 0x03) << 1); width 3364 3rdparty/libpng/pngrutil.c sshift = (int)((3 - ((row_info->width + 3) & 0x03)) << 1); width 3371 3rdparty/libpng/pngrutil.c for (i = 0; i < row_info->width; i++) width 3406 3rdparty/libpng/pngrutil.c png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 1); width 3416 3rdparty/libpng/pngrutil.c sshift = (int)(((row_info->width + 1) & 0x01) << 2); width 3426 3rdparty/libpng/pngrutil.c sshift = (int)((1 - ((row_info->width + 1) & 0x01)) << 2); width 3433 3rdparty/libpng/pngrutil.c for (i = 0; i < row_info->width; i++) width 3469 3rdparty/libpng/pngrutil.c png_bytep sp = row + (png_size_t)(row_info->width - 1) width 3477 3rdparty/libpng/pngrutil.c for (i = 0; i < row_info->width; i++) width 3496 3rdparty/libpng/pngrutil.c row_info->width = final_width; width 3795 3rdparty/libpng/pngrutil.c png_ptr->iwidth = (png_ptr->width + width 3923 3rdparty/libpng/pngrutil.c png_ptr->iwidth = (png_ptr->width + width 3933 3rdparty/libpng/pngrutil.c png_ptr->iwidth = png_ptr->width; width 4087 3rdparty/libpng/pngrutil.c row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7)); width 4149 3rdparty/libpng/pngrutil.c png_debug1(3, "width = %u,", png_ptr->width); width 220 3rdparty/libpng/pngset.c png_uint_32 width, png_uint_32 height, int bit_depth, width 229 3rdparty/libpng/pngset.c info_ptr->width = width; width 237 3rdparty/libpng/pngset.c png_check_IHDR (png_ptr, info_ptr->width, info_ptr->height, width 256 3rdparty/libpng/pngset.c if (width > width 264 3rdparty/libpng/pngset.c info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, width); width 441 3rdparty/libpng/pngset.c png_set_sCAL(png_structp png_ptr, png_infop info_ptr, int unit, double width, width 447 3rdparty/libpng/pngset.c if (width <= 0) width 459 3rdparty/libpng/pngset.c png_ascii_from_fp(png_ptr, swidth, sizeof swidth, width, width 472 3rdparty/libpng/pngset.c png_fixed_point width, png_fixed_point height) width 477 3rdparty/libpng/pngset.c if (width <= 0) width 489 3rdparty/libpng/pngset.c png_ascii_from_fixed(png_ptr, swidth, sizeof swidth, width); width 100 3rdparty/libpng/pngstruct.h png_uint_32 width; /* width of image in pixels */ width 275 3rdparty/libpng/pngtrans.c png_uint_32 istop= row_info->width * row_info->channels; width 552 3rdparty/libpng/pngtrans.c png_uint_32 row_width = row_info->width; width 637 3rdparty/libpng/pngtrans.c int padding = (-row_info->pixel_depth * row_info->width) & 7; width 50 3rdparty/libpng/pngwrite.c png_write_IHDR(png_ptr, info_ptr->width, info_ptr->height, width 689 3rdparty/libpng/pngwrite.c if ((png_ptr->row_number & 0x07) || png_ptr->width < 5) width 705 3rdparty/libpng/pngwrite.c if ((png_ptr->row_number & 0x03) || png_ptr->width < 3) width 721 3rdparty/libpng/pngwrite.c if ((png_ptr->row_number & 0x01) || png_ptr->width < 2) width 744 3rdparty/libpng/pngwrite.c row_info.width = png_ptr->usr_width; width 748 3rdparty/libpng/pngwrite.c row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); width 751 3rdparty/libpng/pngwrite.c png_debug1(3, "row_info->width = %u", row_info.width); width 767 3rdparty/libpng/pngwrite.c if (!(row_info.width)) width 115 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 152 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 191 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 232 3rdparty/libpng/pngwtran.c row_info->width); width 325 3rdparty/libpng/pngwtran.c png_uint_32 istop = channels * row_info->width; width 352 3rdparty/libpng/pngwtran.c png_uint_32 istop = channels * row_info->width; width 393 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 411 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 438 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 454 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 487 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 507 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 534 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 549 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 579 3rdparty/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 677 3rdparty/libpng/pngwutil.c png_write_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, width 802 3rdparty/libpng/pngwutil.c png_ptr->width = width; width 806 3rdparty/libpng/pngwutil.c png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, width); width 808 3rdparty/libpng/pngwutil.c png_ptr->usr_width = png_ptr->width; width 813 3rdparty/libpng/pngwutil.c png_save_uint_32(buf, width); width 987 3rdparty/libpng/pngwutil.c png_ptr->height < 16384 && png_ptr->width < 16384) width 998 3rdparty/libpng/pngwutil.c ((png_ptr->width * width 1921 3rdparty/libpng/pngwutil.c png_write_sCAL_s(png_structp png_ptr, int unit, png_const_charp width, width 1929 3rdparty/libpng/pngwutil.c wlen = png_strlen(width); width 1940 3rdparty/libpng/pngwutil.c png_memcpy(buf + 1, width, wlen + 1); /* Append the '\0' here */ width 2026 3rdparty/libpng/pngwutil.c buf_size = PNG_ROWBYTES(usr_pixel_depth, png_ptr->width) + 1; width 2087 3rdparty/libpng/pngwutil.c png_ptr->usr_width = (png_ptr->width + png_pass_inc[0] - 1 - width 2094 3rdparty/libpng/pngwutil.c png_ptr->usr_width = png_ptr->width; width 2102 3rdparty/libpng/pngwutil.c png_ptr->usr_width = png_ptr->width; width 2161 3rdparty/libpng/pngwutil.c png_ptr->usr_width = (png_ptr->width + width 2184 3rdparty/libpng/pngwutil.c png_ptr->usr_bit_depth, png_ptr->width)) + 1); width 2266 3rdparty/libpng/pngwutil.c png_uint_32 row_width = row_info->width; width 2304 3rdparty/libpng/pngwutil.c png_uint_32 row_width = row_info->width; width 2341 3rdparty/libpng/pngwutil.c png_uint_32 row_width = row_info->width; width 2374 3rdparty/libpng/pngwutil.c png_uint_32 row_width = row_info->width; width 2401 3rdparty/libpng/pngwutil.c row_info->width = (row_info->width + width 2407 3rdparty/libpng/pngwutil.c row_info->width); width 442 3rdparty/libtiff/tif_getimage.c TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &img->width); width 840 3rdparty/libtiff/tif_getimage.c uint32 imagewidth = img->width; width 924 3rdparty/libtiff/tif_getimage.c uint32 imagewidth = img->width; width 2745 3rdparty/libtiff/tif_getimage.c ok = TIFFRGBAImageGet(&img, raster, img.width, rows_to_read ); width 2817 3rdparty/libtiff/tif_getimage.c if( col + tile_xsize > img.width ) width 2818 3rdparty/libtiff/tif_getimage.c read_xsize = img.width - col; width 204 3rdparty/libtiff/tiffio.h uint32 width; /* image width */ width 36 3rdparty/libwebp/dec/alpha.c int width, int height, uint8_t* output) { width 45 3rdparty/libwebp/dec/alpha.c assert(width > 0 && height > 0); width 65 3rdparty/libwebp/dec/alpha.c const size_t alpha_decoded_size = height * width; width 69 3rdparty/libwebp/dec/alpha.c ok = VP8LDecodeAlphaImageStream(width, height, alpha_data, alpha_data_size, width 78 3rdparty/libwebp/dec/alpha.c unfilter_func(width, height, width, output); width 81 3rdparty/libwebp/dec/alpha.c ok = DequantizeLevels(output, width, height); width 92 3rdparty/libwebp/dec/alpha.c const int width = dec->pic_hdr_.width_; width 103 3rdparty/libwebp/dec/alpha.c width, height, dec->alpha_plane_)) { width 110 3rdparty/libwebp/dec/alpha.c return dec->alpha_plane_ + row * width; width 43 3rdparty/libwebp/dec/buffer.c const int width = buffer->width; width 56 3rdparty/libwebp/dec/buffer.c ok &= (buf->y_stride >= width); width 57 3rdparty/libwebp/dec/buffer.c ok &= (buf->u_stride >= (width + 1) / 2); width 58 3rdparty/libwebp/dec/buffer.c ok &= (buf->v_stride >= (width + 1) / 2); width 63 3rdparty/libwebp/dec/buffer.c ok &= (buf->a_stride >= width); width 71 3rdparty/libwebp/dec/buffer.c ok &= (buf->stride >= width * kModeBpp[mode]); width 78 3rdparty/libwebp/dec/buffer.c const int w = buffer->width; width 164 3rdparty/libwebp/dec/buffer.c out->width = w; width 49 3rdparty/libwebp/dec/decode_vp8.h int width, height; // picture dimensions, in pixels (invariable). width 168 3rdparty/libwebp/dec/decode_vp8.h int* const width, int* const height); width 178 3rdparty/libwebp/dec/decode_vp8.h int* const width, int* const height, int* const has_alpha); width 223 3rdparty/libwebp/dec/frame.c io->a += io->width * delta_y; width 405 3rdparty/libwebp/dec/idec.c dec->status_ = WebPAllocateDecBuffer(io->width, io->height, params->options, width 501 3rdparty/libwebp/dec/idec.c dec->status_ = WebPAllocateDecBuffer(io->width, io->height, params->options, width 767 3rdparty/libwebp/dec/idec.c int* width, int* height) { width 773 3rdparty/libwebp/dec/idec.c if (width != NULL) *width = src->width; width 776 3rdparty/libwebp/dec/idec.c if (width != NULL) *width = 0; width 783 3rdparty/libwebp/dec/idec.c int* width, int* height, int* stride) { width 791 3rdparty/libwebp/dec/idec.c if (width != NULL) *width = src->width; width 800 3rdparty/libwebp/dec/idec.c int* width, int* height, width 812 3rdparty/libwebp/dec/idec.c if (width != NULL) *width = src->width; width 176 3rdparty/libwebp/dec/io.c alpha += io->width; width 205 3rdparty/libwebp/dec/io.c *alpha -= io->width; width 236 3rdparty/libwebp/dec/io.c alpha += io->width; width 268 3rdparty/libwebp/dec/io.c alpha += io->width; width 304 3rdparty/libwebp/dec/io.c Rescale(io->a, io->width, io->mb_h, &p->scaler_a); width 418 3rdparty/libwebp/dec/io.c const int width = p->scaler_a.dst_width; width 424 3rdparty/libwebp/dec/io.c for (i = 0; i < width; ++i) { width 434 3rdparty/libwebp/dec/io.c width, num_lines_out, buf->stride); width 445 3rdparty/libwebp/dec/io.c const int width = p->scaler_a.dst_width; width 453 3rdparty/libwebp/dec/io.c for (i = 0; i < width; ++i) { width 463 3rdparty/libwebp/dec/io.c WebPApplyAlphaMultiply4444(base_rgba, width, num_lines_out, buf->stride); width 475 3rdparty/libwebp/dec/io.c io->a + j * io->width, io->width); width 100 3rdparty/libwebp/dec/vp8.c int* const width, int* const height) { width 127 3rdparty/libwebp/dec/vp8.c if (width) { width 128 3rdparty/libwebp/dec/vp8.c *width = w; width 333 3rdparty/libwebp/dec/vp8.c io->width = pic_hdr->width_; width 339 3rdparty/libwebp/dec/vp8.c io->crop_right = io->width; width 341 3rdparty/libwebp/dec/vp8.c io->mb_w = io->width; // sanity check width 89 3rdparty/libwebp/dec/vp8l.c int* const width, int* const height, width 95 3rdparty/libwebp/dec/vp8l.c *width = VP8LReadBits(br, VP8L_IMAGE_SIZE_BITS) + 1; width 103 3rdparty/libwebp/dec/vp8l.c int* const width, int* const height, int* const has_alpha) { width 113 3rdparty/libwebp/dec/vp8l.c if (width != NULL) *width = w; width 456 3rdparty/libwebp/dec/vp8l.c static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, width 463 3rdparty/libwebp/dec/vp8l.c for (i = 0; i < width; ++i) { width 473 3rdparty/libwebp/dec/vp8l.c const int uv_width = width >> 1; width 494 3rdparty/libwebp/dec/vp8l.c if (width & 1) { // last pixel width 514 3rdparty/libwebp/dec/vp8l.c for (i = 0; i < width; ++i) a[i] = (src[i] >> 24); width 636 3rdparty/libwebp/dec/vp8l.c uint8_t* rows_out = (uint8_t*)dec->io_->opaque + dec->io_->width * start_row; width 657 3rdparty/libwebp/dec/vp8l.c if (!SetCropWindow(io, dec->last_row_, row, &rows_data, io->width)) { width 661 3rdparty/libwebp/dec/vp8l.c const int in_stride = io->width * sizeof(*rows_data); width 687 3rdparty/libwebp/dec/vp8l.c static int FUNC_NAME(VP8LDecoder* const dec, TYPE* const data, int width, \ width 696 3rdparty/libwebp/dec/vp8l.c TYPE* const src_end = data + width * height; \ width 724 3rdparty/libwebp/dec/vp8l.c if (col >= width) { \ width 743 3rdparty/libwebp/dec/vp8l.c dist = PlaneCodeToDistance(width, dist_code); \ width 754 3rdparty/libwebp/dec/vp8l.c while (col >= width) { \ width 755 3rdparty/libwebp/dec/vp8l.c col -= width; \ width 957 3rdparty/libwebp/dec/vp8l.c static void UpdateDecoder(VP8LDecoder* const dec, int width, int height) { width 960 3rdparty/libwebp/dec/vp8l.c dec->width_ = width; width 963 3rdparty/libwebp/dec/vp8l.c hdr->huffman_xsize_ = VP8LSubSampleSize(width, num_bits); width 1100 3rdparty/libwebp/dec/vp8l.c const int width = dec->io_->width; // the final width (!= dec->width_) width 1101 3rdparty/libwebp/dec/vp8l.c const int cache_pixs = width * num_rows; width 1102 3rdparty/libwebp/dec/vp8l.c uint8_t* const dst = (uint8_t*)dec->io_->opaque + width * dec->last_row_; width 1121 3rdparty/libwebp/dec/vp8l.c int VP8LDecodeAlphaImageStream(int width, int height, const uint8_t* const data, width 1129 3rdparty/libwebp/dec/vp8l.c dec->width_ = width; width 1136 3rdparty/libwebp/dec/vp8l.c io.width = width; width 1143 3rdparty/libwebp/dec/vp8l.c if (!DecodeImageStream(width, height, 1, dec, NULL)) goto Err; width 1155 3rdparty/libwebp/dec/vp8l.c if (!AllocateInternalBuffers(dec, width, bytes_per_pixel)) goto Err; width 1173 3rdparty/libwebp/dec/vp8l.c int width, height, has_alpha; width 1184 3rdparty/libwebp/dec/vp8l.c if (!ReadImageInfo(&dec->br_, &width, &height, &has_alpha)) { width 1189 3rdparty/libwebp/dec/vp8l.c io->width = width; width 1193 3rdparty/libwebp/dec/vp8l.c if (!DecodeImageStream(width, height, 1, dec, NULL)) goto Error; width 1223 3rdparty/libwebp/dec/vp8l.c if (!AllocateInternalBuffers(dec, io->width, bytes_per_pixel)) goto Err; width 98 3rdparty/libwebp/dec/vp8li.h int VP8LDecodeAlphaImageStream(int width, int height, const uint8_t* const data, width 117 3rdparty/libwebp/dec/webp.c int width, height; width 129 3rdparty/libwebp/dec/webp.c width = 1 + get_le24(*data + 12); width 131 3rdparty/libwebp/dec/webp.c if (width * (uint64_t)height >= MAX_IMAGE_AREA) { width 136 3rdparty/libwebp/dec/webp.c if (width_ptr != NULL) *width_ptr = width; width 284 3rdparty/libwebp/dec/webp.c int* const width, width 311 3rdparty/libwebp/dec/webp.c status = ParseVP8X(&data, &data_size, &found_vp8x, width, height, &flags); width 355 3rdparty/libwebp/dec/webp.c (uint32_t)hdrs.compressed_size, width, height)) { width 363 3rdparty/libwebp/dec/webp.c if (!VP8LGetInfo(data, data_size, width, height, has_alpha)) { width 448 3rdparty/libwebp/dec/webp.c status = WebPAllocateDecBuffer(io.width, io.height, params->options, width 466 3rdparty/libwebp/dec/webp.c status = WebPAllocateDecBuffer(io.width, io.height, params->options, width 563 3rdparty/libwebp/dec/webp.c size_t data_size, int* const width, int* const height, width 574 3rdparty/libwebp/dec/webp.c if (!WebPGetInfo(data, data_size, &output.width, &output.height)) { width 577 3rdparty/libwebp/dec/webp.c if (width != NULL) *width = output.width; width 592 3rdparty/libwebp/dec/webp.c int* width, int* height) { width 593 3rdparty/libwebp/dec/webp.c return Decode(MODE_RGB, data, data_size, width, height, NULL); width 597 3rdparty/libwebp/dec/webp.c int* width, int* height) { width 598 3rdparty/libwebp/dec/webp.c return Decode(MODE_RGBA, data, data_size, width, height, NULL); width 602 3rdparty/libwebp/dec/webp.c int* width, int* height) { width 603 3rdparty/libwebp/dec/webp.c return Decode(MODE_ARGB, data, data_size, width, height, NULL); width 607 3rdparty/libwebp/dec/webp.c int* width, int* height) { width 608 3rdparty/libwebp/dec/webp.c return Decode(MODE_BGR, data, data_size, width, height, NULL); width 612 3rdparty/libwebp/dec/webp.c int* width, int* height) { width 613 3rdparty/libwebp/dec/webp.c return Decode(MODE_BGRA, data, data_size, width, height, NULL); width 617 3rdparty/libwebp/dec/webp.c int* width, int* height, uint8_t** u, uint8_t** v, width 621 3rdparty/libwebp/dec/webp.c width, height, &output); width 649 3rdparty/libwebp/dec/webp.c &features->width, &features->height, width 658 3rdparty/libwebp/dec/webp.c int* width, int* height) { width 665 3rdparty/libwebp/dec/webp.c if (width != NULL) { width 666 3rdparty/libwebp/dec/webp.c *width = features.width; width 734 3rdparty/libwebp/dec/webp.c const int W = io->width; width 96 3rdparty/libwebp/dec/webpi.h VP8StatusCode WebPAllocateDecBuffer(int width, int height, width 259 3rdparty/libwebp/demux/demux.c frame->width_ = features.width; width 813 3rdparty/libwebp/demux/demux.c iter->width = fragment->width_; width 521 3rdparty/libwebp/dsp/lossless.c static int GetBestPredictorForTile(int width, int height, width 531 3rdparty/libwebp/dsp/lossless.c const int xmax = (tile_size <= width - col_start) ? width 532 3rdparty/libwebp/dsp/lossless.c tile_size : width - col_start; width 548 3rdparty/libwebp/dsp/lossless.c current_row = upper_row + width; width 577 3rdparty/libwebp/dsp/lossless.c static void CopyTileWithPrediction(int width, int height, width 586 3rdparty/libwebp/dsp/lossless.c const int xmax = (tile_size <= width - col_start) ? width 587 3rdparty/libwebp/dsp/lossless.c tile_size : width - col_start; width 596 3rdparty/libwebp/dsp/lossless.c current_row = upper_row + width; width 599 3rdparty/libwebp/dsp/lossless.c const int pix = row * width + col; width 613 3rdparty/libwebp/dsp/lossless.c void VP8LResidualImage(int width, int height, int bits, width 617 3rdparty/libwebp/dsp/lossless.c const int tiles_per_row = VP8LSubSampleSize(width, bits); width 620 3rdparty/libwebp/dsp/lossless.c uint32_t* const current_tile_rows = argb_scratch + width; width 630 3rdparty/libwebp/dsp/lossless.c memcpy(upper_row, current_tile_rows + (max_tile_size - 1) * width, width 631 3rdparty/libwebp/dsp/lossless.c width * sizeof(*upper_row)); width 633 3rdparty/libwebp/dsp/lossless.c memcpy(current_tile_rows, &argb[tile_y_offset * width], width 634 3rdparty/libwebp/dsp/lossless.c this_tile_height * width * sizeof(*current_tile_rows)); width 640 3rdparty/libwebp/dsp/lossless.c if (all_x_max > width) { width 641 3rdparty/libwebp/dsp/lossless.c all_x_max = width; width 643 3rdparty/libwebp/dsp/lossless.c pred = GetBestPredictorForTile(width, height, tile_x, tile_y, bits, histo, width 646 3rdparty/libwebp/dsp/lossless.c CopyTileWithPrediction(width, height, tile_x, tile_y, bits, pred, width 655 3rdparty/libwebp/dsp/lossless.c ix = all_y * width + tile_x_offset; width 671 3rdparty/libwebp/dsp/lossless.c const int width = transform->xsize_; width 676 3rdparty/libwebp/dsp/lossless.c for (x = 1; x < width; ++x) { width 680 3rdparty/libwebp/dsp/lossless.c data += width; width 687 3rdparty/libwebp/dsp/lossless.c const int tiles_per_row = VP8LSubSampleSize(width, transform->bits_); width 693 3rdparty/libwebp/dsp/lossless.c const uint32_t pred2 = Predictor2(data[-1], data - width); width 702 3rdparty/libwebp/dsp/lossless.c for (x = 1; x < width; ++x) { width 707 3rdparty/libwebp/dsp/lossless.c pred = pred_func(data[x - 1], data + x - width); width 710 3rdparty/libwebp/dsp/lossless.c data += width; width 747 3rdparty/libwebp/dsp/lossless.c const int width = transform->xsize_; width 748 3rdparty/libwebp/dsp/lossless.c const uint32_t* const data_end = data + (y_end - y_start) * width; width 1000 3rdparty/libwebp/dsp/lossless.c void VP8LColorSpaceTransform(int width, int height, int bits, int step, width 1003 3rdparty/libwebp/dsp/lossless.c int tile_xsize = VP8LSubSampleSize(width, bits); width 1030 3rdparty/libwebp/dsp/lossless.c step, width, height, width 1036 3rdparty/libwebp/dsp/lossless.c CopyTileWithColorTransform(width, height, tile_x, tile_y, bits, width 1041 3rdparty/libwebp/dsp/lossless.c if (all_x_max > width) { width 1042 3rdparty/libwebp/dsp/lossless.c all_x_max = width; width 1051 3rdparty/libwebp/dsp/lossless.c ix = all_y * width + tile_x_offset; width 1058 3rdparty/libwebp/dsp/lossless.c if (ix >= width + 2 && width 1059 3rdparty/libwebp/dsp/lossless.c argb[ix - 2] == argb[ix - width - 2] && width 1060 3rdparty/libwebp/dsp/lossless.c argb[ix - 1] == argb[ix - width - 1] && width 1061 3rdparty/libwebp/dsp/lossless.c argb[ix] == argb[ix - width]) { width 1075 3rdparty/libwebp/dsp/lossless.c const int width = transform->xsize_; width 1077 3rdparty/libwebp/dsp/lossless.c const int tiles_per_row = VP8LSubSampleSize(width, transform->bits_); width 1087 3rdparty/libwebp/dsp/lossless.c for (x = 0; x < width; ++x) { width 1091 3rdparty/libwebp/dsp/lossless.c data += width; width 1104 3rdparty/libwebp/dsp/lossless.c const int width = transform->xsize_; \ width 1113 3rdparty/libwebp/dsp/lossless.c for (x = 0; x < width; ++x) { \ width 1126 3rdparty/libwebp/dsp/lossless.c for (x = 0; x < width; ++x) { \ width 1170 3rdparty/libwebp/dsp/lossless.c const int width = transform->xsize_; width 1171 3rdparty/libwebp/dsp/lossless.c memcpy(out - width, out + (row_end - row_start - 1) * width, width 1172 3rdparty/libwebp/dsp/lossless.c width * sizeof(*out)); width 1363 3rdparty/libwebp/dsp/lossless.c void VP8LBundleColorMap(const uint8_t* const row, int width, width 1370 3rdparty/libwebp/dsp/lossless.c for (x = 0; x < width; ++x) { width 1379 3rdparty/libwebp/dsp/lossless.c for (x = 0; x < width; ++x) dst[x] = 0xff000000 | (row[x] << 8); width 48 3rdparty/libwebp/dsp/lossless.h void VP8LResidualImage(int width, int height, int bits, width 52 3rdparty/libwebp/dsp/lossless.h void VP8LColorSpaceTransform(int width, int height, int bits, int step, width 95 3rdparty/libwebp/dsp/lossless.h void VP8LBundleColorMap(const uint8_t* const row, int width, width 51 3rdparty/libwebp/enc/alpha.c static int EncodeLossless(const uint8_t* const data, int width, int height, width 61 3rdparty/libwebp/enc/alpha.c picture.width = width; width 73 3rdparty/libwebp/enc/alpha.c for (i = 0; i < picture.width; ++i) { width 76 3rdparty/libwebp/enc/alpha.c src += width; width 88 3rdparty/libwebp/enc/alpha.c ok = VP8LBitWriterInit(&tmp_bw, (width * height) >> 3); width 102 3rdparty/libwebp/enc/alpha.c static int EncodeAlphaInternal(const uint8_t* const data, int width, int height, width 113 3rdparty/libwebp/enc/alpha.c const size_t data_size = width * height; width 115 3rdparty/libwebp/enc/alpha.c assert((uint64_t)data_size == (uint64_t)width * height); // as per spec width 133 3rdparty/libwebp/enc/alpha.c filter_func(data, width, height, width, tmp_alpha); width 140 3rdparty/libwebp/enc/alpha.c ok = VP8BitWriterAppend(bw, alpha_src, width * height); width 143 3rdparty/libwebp/enc/alpha.c ok = EncodeLossless(alpha_src, width, height, effort_level, bw, stats); width 153 3rdparty/libwebp/enc/alpha.c uint8_t* dst, int dst_stride, int width, int height) { width 155 3rdparty/libwebp/enc/alpha.c memcpy(dst, src, width); width 161 3rdparty/libwebp/enc/alpha.c static int GetNumColors(const uint8_t* data, int width, int height, width 170 3rdparty/libwebp/enc/alpha.c for (i = 0; i < width; ++i) { width 185 3rdparty/libwebp/enc/alpha.c const int width = pic->width; width 189 3rdparty/libwebp/enc/alpha.c const size_t data_size = width * height; width 195 3rdparty/libwebp/enc/alpha.c assert((uint64_t)data_size == (uint64_t)width * height); // as per spec width 198 3rdparty/libwebp/enc/alpha.c assert(width > 0 && height > 0); width 199 3rdparty/libwebp/enc/alpha.c assert(pic->a_stride >= width); width 216 3rdparty/libwebp/enc/alpha.c CopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height); width 224 3rdparty/libwebp/enc/alpha.c ok = QuantizeLevels(quant_alpha, width, height, alpha_levels, &sse); width 236 3rdparty/libwebp/enc/alpha.c const int num_colors = GetNumColors(quant_alpha, width, height, width); width 239 3rdparty/libwebp/enc/alpha.c EstimateBestFilter(quant_alpha, width, height, width); width 249 3rdparty/libwebp/enc/alpha.c ok = EncodeAlphaInternal(quant_alpha, width, height, width 286 3rdparty/libwebp/enc/alpha.c ok = EncodeAlphaInternal(quant_alpha, width, height, width 740 3rdparty/libwebp/enc/backward_references.c int VP8LGetBackwardReferences(int width, int height, width 747 3rdparty/libwebp/enc/backward_references.c const int num_pix = width * height; width 759 3rdparty/libwebp/enc/backward_references.c if (!BackwardReferencesHashChain(width, height, argb, cache_bits, quality, width 764 3rdparty/libwebp/enc/backward_references.c BackwardReferencesRle(width, height, argb, &refs_rle); width 795 3rdparty/libwebp/enc/backward_references.c if (BackwardReferencesTraceBackwards(width, height, recursion_level, argb, width 806 3rdparty/libwebp/enc/backward_references.c if (use_2d_locality) BackwardReferences2DLocality(width, best); width 205 3rdparty/libwebp/enc/backward_references.h int VP8LGetBackwardReferences(int width, int height, width 116 3rdparty/libwebp/enc/iterator.c int w = (pic->width - x * 16); width 156 3rdparty/libwebp/enc/iterator.c int w = (pic->width - x * 16); width 45 3rdparty/libwebp/enc/picture.c const int width = picture->width; width 49 3rdparty/libwebp/enc/picture.c const int y_stride = width; width 50 3rdparty/libwebp/enc/picture.c const int uv_width = HALVE(width); width 69 3rdparty/libwebp/enc/picture.c uv0_stride = width; width 78 3rdparty/libwebp/enc/picture.c a_width = has_alpha ? width : 0; width 87 3rdparty/libwebp/enc/picture.c if (width <= 0 || height <= 0 || // luma/alpha param error width 123 3rdparty/libwebp/enc/picture.c const uint64_t argb_size = (uint64_t)width * height; width 124 3rdparty/libwebp/enc/picture.c if (width <= 0 || height <= 0) { width 135 3rdparty/libwebp/enc/picture.c picture->argb_stride = width; width 200 3rdparty/libwebp/enc/picture.c uint8_t* dst, int dst_stride, int width, int height) { width 202 3rdparty/libwebp/enc/picture.c memcpy(dst, src, width); width 223 3rdparty/libwebp/enc/picture.c int width, int height) { width 226 3rdparty/libwebp/enc/picture.c if (width <= 0 || height <= 0) return 0; width 227 3rdparty/libwebp/enc/picture.c if ((*left) + width > pic->width) return 0; width 241 3rdparty/libwebp/enc/picture.c dst->y, dst->y_stride, dst->width, dst->height); width 243 3rdparty/libwebp/enc/picture.c dst->u, dst->uv_stride, HALVE(dst->width), HALVE(dst->height)); width 245 3rdparty/libwebp/enc/picture.c dst->v, dst->uv_stride, HALVE(dst->width), HALVE(dst->height)); width 248 3rdparty/libwebp/enc/picture.c dst->a, dst->a_stride, dst->width, dst->height); width 252 3rdparty/libwebp/enc/picture.c int uv0_width = src->width; width 265 3rdparty/libwebp/enc/picture.c 4 * dst->width, dst->height); width 279 3rdparty/libwebp/enc/picture.c int left, int top, int width, int height, width 284 3rdparty/libwebp/enc/picture.c if (!AdjustAndCheckRectangle(src, &left, &top, width, height)) return 0; width 289 3rdparty/libwebp/enc/picture.c dst->width = width; width 321 3rdparty/libwebp/enc/picture.c int left, int top, int width, int height) { width 325 3rdparty/libwebp/enc/picture.c if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0; width 328 3rdparty/libwebp/enc/picture.c tmp.width = width; width 336 3rdparty/libwebp/enc/picture.c tmp.y, tmp.y_stride, width, height); width 338 3rdparty/libwebp/enc/picture.c tmp.u, tmp.uv_stride, HALVE(width), HALVE(height)); width 340 3rdparty/libwebp/enc/picture.c tmp.v, tmp.uv_stride, HALVE(width), HALVE(height)); width 345 3rdparty/libwebp/enc/picture.c tmp.a, tmp.a_stride, width, height); width 349 3rdparty/libwebp/enc/picture.c int w = width; width 366 3rdparty/libwebp/enc/picture.c width * 4, height); width 398 3rdparty/libwebp/enc/picture.c int WebPPictureRescale(WebPPicture* pic, int width, int height) { width 404 3rdparty/libwebp/enc/picture.c prev_width = pic->width; width 407 3rdparty/libwebp/enc/picture.c if (width == 0) { width 408 3rdparty/libwebp/enc/picture.c width = (prev_width * height + prev_height / 2) / prev_height; width 412 3rdparty/libwebp/enc/picture.c height = (prev_height * width + prev_width / 2) / prev_width; width 415 3rdparty/libwebp/enc/picture.c if (width <= 0 || height <= 0) return 0; width 418 3rdparty/libwebp/enc/picture.c tmp.width = width; width 423 3rdparty/libwebp/enc/picture.c work = (int32_t*)WebPSafeMalloc(2ULL * width, sizeof(*work)); width 430 3rdparty/libwebp/enc/picture.c tmp.y, width, height, tmp.y_stride, work, 1); width 434 3rdparty/libwebp/enc/picture.c HALVE(width), HALVE(height), tmp.uv_stride, work, 1); width 438 3rdparty/libwebp/enc/picture.c HALVE(width), HALVE(height), tmp.uv_stride, work, 1); width 442 3rdparty/libwebp/enc/picture.c tmp.a, width, height, tmp.a_stride, work, 1); width 449 3rdparty/libwebp/enc/picture.c tmp.u0, (width + s / 2) / s, height, tmp.uv0_stride, work, 1); width 452 3rdparty/libwebp/enc/picture.c tmp.v0, (width + s / 2) / s, height, tmp.uv0_stride, work, 1); width 456 3rdparty/libwebp/enc/picture.c work = (int32_t*)WebPSafeMalloc(2ULL * width * 4, sizeof(*work)); width 464 3rdparty/libwebp/enc/picture.c (uint8_t*)tmp.argb, width, height, width 519 3rdparty/libwebp/enc/picture.c static int CheckNonOpaque(const uint8_t* alpha, int width, int height, width 524 3rdparty/libwebp/enc/picture.c for (x = 0; x < width * x_step; x += x_step) { width 536 3rdparty/libwebp/enc/picture.c return CheckNonOpaque(picture->a, picture->width, picture->height, width 543 3rdparty/libwebp/enc/picture.c for (x = 0; x < picture->width; ++x) { width 583 3rdparty/libwebp/enc/picture.c const int uv_width = HALVE(picture->width); width 600 3rdparty/libwebp/enc/picture.c const int width = picture->width; width 602 3rdparty/libwebp/enc/picture.c const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); width 613 3rdparty/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 623 3rdparty/libwebp/enc/picture.c for (x = 0; x < (width >> 1); ++x) { width 626 3rdparty/libwebp/enc/picture.c if (width & 1) { width 631 3rdparty/libwebp/enc/picture.c for (x = 0; x < (width >> 1); ++x) { width 634 3rdparty/libwebp/enc/picture.c if (width & 1) { width 643 3rdparty/libwebp/enc/picture.c for (x = 0; x < (width >> 1); ++x) { width 646 3rdparty/libwebp/enc/picture.c if (width & 1) { width 652 3rdparty/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 665 3rdparty/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 681 3rdparty/libwebp/enc/picture.c const int width = picture->width; width 698 3rdparty/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 712 3rdparty/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 781 3rdparty/libwebp/enc/picture.c const int width = picture->width; width 789 3rdparty/libwebp/enc/picture.c upsample(NULL, cur_y, cur_u, cur_v, cur_u, cur_v, NULL, dst, width); width 799 3rdparty/libwebp/enc/picture.c dst, dst + argb_stride, width); width 805 3rdparty/libwebp/enc/picture.c upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, width); width 813 3rdparty/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 886 3rdparty/libwebp/enc/picture.c w = pic->width / SIZE; width 969 3rdparty/libwebp/enc/picture.c src->width != ref->width || src->height != ref->height || width 989 3rdparty/libwebp/enc/picture.c uv_w = HALVE(src->width); width 994 3rdparty/libwebp/enc/picture.c ref->y, ref->y_stride, src->width, src->height); width 1001 3rdparty/libwebp/enc/picture.c src->width, src->height) width 1003 3rdparty/libwebp/enc/picture.c result[0] = GetPSNR(sse[0] / (src->width * src->height)); width 1006 3rdparty/libwebp/enc/picture.c result[3] = GetPSNR(sse[3] / (src->width * src->height)); width 1009 3rdparty/libwebp/enc/picture.c int total_pixels = src->width * src->height + 2 * uv_w * uv_h; width 1011 3rdparty/libwebp/enc/picture.c total_pixels += src->width * src->height; width 1020 3rdparty/libwebp/enc/picture.c src->width, src->height, &stats[0]); width 1030 3rdparty/libwebp/enc/picture.c src->width, src->height, &stats[3]); width 1053 3rdparty/libwebp/enc/picture.c static size_t Encode(const uint8_t* rgba, int width, int height, int stride, width 1068 3rdparty/libwebp/enc/picture.c pic.width = width; width 63 3rdparty/libwebp/enc/syntax.c assert(pic->width >= 1 && pic->height >= 1); width 64 3rdparty/libwebp/enc/syntax.c assert(pic->width <= MAX_CANVAS_SIZE && pic->height <= MAX_CANVAS_SIZE); width 72 3rdparty/libwebp/enc/syntax.c PutLE24(vp8x + CHUNK_HEADER_SIZE + 4, pic->width - 1); width 141 3rdparty/libwebp/enc/syntax.c vp8_frm_hdr[6] = pic->width & 0xff; width 142 3rdparty/libwebp/enc/syntax.c vp8_frm_hdr[7] = pic->width >> 8; width 57 3rdparty/libwebp/enc/vp8l.c const int width = pic->width; width 62 3rdparty/libwebp/enc/vp8l.c for (x = 0; x < width; ++x) { width 106 3rdparty/libwebp/enc/vp8l.c int width, int height, int argb_stride, width 122 3rdparty/libwebp/enc/vp8l.c for (x = 0; x < width; ++x) { width 165 3rdparty/libwebp/enc/vp8l.c if (!AnalyzeEntropy(pic->argb, pic->width, pic->height, pic->argb_stride, width 424 3rdparty/libwebp/enc/vp8l.c VP8LBitWriter* const bw, int width, int histo_bits, width 431 3rdparty/libwebp/enc/vp8l.c const int histo_xsize = histo_bits ? VP8LSubSampleSize(width, histo_bits) : 1; width 464 3rdparty/libwebp/enc/vp8l.c while (x >= width) { width 465 3rdparty/libwebp/enc/vp8l.c x -= width; width 474 3rdparty/libwebp/enc/vp8l.c int width, int height, int quality) { width 484 3rdparty/libwebp/enc/vp8l.c if (!VP8LGetBackwardReferences(width, height, argb, quality, 0, 1, &refs)) { width 509 3rdparty/libwebp/enc/vp8l.c StoreImageToBitMask(bw, width, 0, &refs, histogram_symbols, huffman_codes); width 521 3rdparty/libwebp/enc/vp8l.c int width, int height, int quality, width 527 3rdparty/libwebp/enc/vp8l.c VP8LSubSampleSize(width, histogram_bits) * width 548 3rdparty/libwebp/enc/vp8l.c if (!VP8LGetBackwardReferences(width, height, argb, quality, cache_bits, width 553 3rdparty/libwebp/enc/vp8l.c if (!VP8LGetHistoImageSymbols(width, height, &refs, width 600 3rdparty/libwebp/enc/vp8l.c VP8LSubSampleSize(width, histogram_bits), width 619 3rdparty/libwebp/enc/vp8l.c StoreImageToBitMask(bw, width, histogram_bits, &refs, width 641 3rdparty/libwebp/enc/vp8l.c int width, int height, width 651 3rdparty/libwebp/enc/vp8l.c for (i = 0; i < width * height; ++i) { width 659 3rdparty/libwebp/enc/vp8l.c for (i = 0; i < width * height; ++i) { width 673 3rdparty/libwebp/enc/vp8l.c VP8LSubtractGreenFromBlueAndRed(enc->argb_, width * height); width 680 3rdparty/libwebp/enc/vp8l.c int width, int height, int quality, width 683 3rdparty/libwebp/enc/vp8l.c const int transform_width = VP8LSubSampleSize(width, pred_bits); width 686 3rdparty/libwebp/enc/vp8l.c VP8LResidualImage(width, height, pred_bits, enc->argb_, enc->argb_scratch_, width 700 3rdparty/libwebp/enc/vp8l.c int width, int height, int quality, width 703 3rdparty/libwebp/enc/vp8l.c const int transform_width = VP8LSubSampleSize(width, ccolor_transform_bits); width 707 3rdparty/libwebp/enc/vp8l.c VP8LColorSpaceTransform(width, height, ccolor_transform_bits, step, width 738 3rdparty/libwebp/enc/vp8l.c const int width = pic->width - 1; width 740 3rdparty/libwebp/enc/vp8l.c assert(width < WEBP_MAX_DIMENSION && height < WEBP_MAX_DIMENSION); width 742 3rdparty/libwebp/enc/vp8l.c VP8LWriteBits(bw, VP8L_IMAGE_SIZE_BITS, width); width 790 3rdparty/libwebp/enc/vp8l.c int width, int height) { width 793 3rdparty/libwebp/enc/vp8l.c const uint64_t image_size = width * height; width 794 3rdparty/libwebp/enc/vp8l.c const uint64_t argb_scratch_size = tile_size * width + width; width 796 3rdparty/libwebp/enc/vp8l.c (uint64_t)VP8LSubSampleSize(width, enc->transform_bits_) * width 810 3rdparty/libwebp/enc/vp8l.c enc->current_width_ = width; width 819 3rdparty/libwebp/enc/vp8l.c int width, int height, int xbits, uint8_t* row) { width 836 3rdparty/libwebp/enc/vp8l.c for (x = 0; x < width; ++x) { width 840 3rdparty/libwebp/enc/vp8l.c VP8LBundleColorMap(row, width, xbits, dst); width 849 3rdparty/libwebp/enc/vp8l.c for (x = 0; x < width; ++x) { width 862 3rdparty/libwebp/enc/vp8l.c VP8LBundleColorMap(row, width, xbits, dst); width 879 3rdparty/libwebp/enc/vp8l.c const int width = pic->width; width 894 3rdparty/libwebp/enc/vp8l.c err = AllocateTransformBuffer(enc, VP8LSubSampleSize(width, xbits), height); width 898 3rdparty/libwebp/enc/vp8l.c row = WebPSafeMalloc((uint64_t)width, sizeof(*row)); width 902 3rdparty/libwebp/enc/vp8l.c palette, palette_size, width, height, xbits, row); width 924 3rdparty/libwebp/enc/vp8l.c static int GetHistoBits(int method, int use_palette, int width, int height) { width 929 3rdparty/libwebp/enc/vp8l.c const uint64_t huff_image_size = VP8LSubSampleSize(width, histo_bits) * width 946 3rdparty/libwebp/enc/vp8l.c enc->histo_bits_ = GetHistoBits(method, use_palette, pic->width, pic->height); width 978 3rdparty/libwebp/enc/vp8l.c const int width = picture->width; width 1008 3rdparty/libwebp/enc/vp8l.c err = AllocateTransformBuffer(enc, width, height); width 1011 3rdparty/libwebp/enc/vp8l.c memcpy(enc->argb_ + y * width, width 1013 3rdparty/libwebp/enc/vp8l.c width * sizeof(*enc->argb_)); width 1015 3rdparty/libwebp/enc/vp8l.c enc->current_width_ = width; width 1083 3rdparty/libwebp/enc/vp8l.c int width, height; width 1098 3rdparty/libwebp/enc/vp8l.c width = picture->width; width 1100 3rdparty/libwebp/enc/vp8l.c if (!VP8LBitWriterInit(&bw, (width * height) >> 1)) { width 1156 3rdparty/libwebp/enc/vp8l.c const int mb_w = (width + 15) >> 4; width 172 3rdparty/libwebp/enc/webpenc.c const int mb_w = (picture->width + 15) >> 4; width 369 3rdparty/libwebp/enc/webpenc.c if (pic->width <= 0 || pic->height <= 0) width 371 3rdparty/libwebp/enc/webpenc.c if (pic->width > WEBP_MAX_DIMENSION || pic->height > WEBP_MAX_DIMENSION) width 119 3rdparty/libwebp/mux/muxedit.c int width; width 125 3rdparty/libwebp/mux/muxedit.c VP8LGetInfo(image->bytes, image->size, &width, &height, NULL) : width 126 3rdparty/libwebp/mux/muxedit.c VP8GetInfo(image->bytes, image->size, image->size, &width, &height); width 129 3rdparty/libwebp/mux/muxedit.c assert(width > 0 && height > 0 && duration >= 0); width 140 3rdparty/libwebp/mux/muxedit.c PutLE24(frame_frgm_bytes + 6, width - 1); width 428 3rdparty/libwebp/mux/muxedit.c int* const width, int* const height) { width 439 3rdparty/libwebp/mux/muxedit.c *width = w; width 450 3rdparty/libwebp/mux/muxedit.c int* const width, int* const height) { width 460 3rdparty/libwebp/mux/muxedit.c return MuxGetImageWidthHeight(image_chunk, width, height); width 465 3rdparty/libwebp/mux/muxedit.c int* const width, int* const height) { width 468 3rdparty/libwebp/mux/muxedit.c assert(width != NULL && height != NULL); width 493 3rdparty/libwebp/mux/muxedit.c *width = max_x; width 500 3rdparty/libwebp/mux/muxedit.c *width = 0; width 510 3rdparty/libwebp/mux/muxedit.c *width = w; width 524 3rdparty/libwebp/mux/muxedit.c int width = 0; width 570 3rdparty/libwebp/mux/muxedit.c err = GetImageCanvasWidthHeight(mux, flags, &width, &height); width 573 3rdparty/libwebp/mux/muxedit.c if (width <= 0 || height <= 0) { width 576 3rdparty/libwebp/mux/muxedit.c if (width > MAX_CANVAS_SIZE || height > MAX_CANVAS_SIZE) { width 589 3rdparty/libwebp/mux/muxedit.c PutLE24(data + 4, width - 1); // canvas width. width 156 3rdparty/libwebp/mux/muxi.h int* const width, int* const height); width 294 3rdparty/libwebp/mux/muxread.c static uint8_t* EmitVP8XChunk(uint8_t* const dst, int width, width 297 3rdparty/libwebp/mux/muxread.c assert(width >= 1 && height >= 1); width 298 3rdparty/libwebp/mux/muxread.c assert(width <= MAX_CANVAS_SIZE && height <= MAX_CANVAS_SIZE); width 299 3rdparty/libwebp/mux/muxread.c assert(width * (uint64_t)height < MAX_IMAGE_AREA); width 303 3rdparty/libwebp/mux/muxread.c PutLE24(dst + CHUNK_HEADER_SIZE + 4, width - 1); width 29 3rdparty/libwebp/utils/filters.c assert(width > 0); \ width 31 3rdparty/libwebp/utils/filters.c assert(stride >= width); width 47 3rdparty/libwebp/utils/filters.c int width, int height, int stride, width 61 3rdparty/libwebp/utils/filters.c PredictLine(in + 1, preds, out + 1, width - 1, inverse); width 68 3rdparty/libwebp/utils/filters.c static void HorizontalFilter(const uint8_t* data, int width, int height, width 70 3rdparty/libwebp/utils/filters.c DoHorizontalFilter(data, width, height, stride, 0, filtered_data); width 73 3rdparty/libwebp/utils/filters.c static void HorizontalUnfilter(int width, int height, int stride, width 75 3rdparty/libwebp/utils/filters.c DoHorizontalFilter(data, width, height, stride, 1, data); width 82 3rdparty/libwebp/utils/filters.c int width, int height, int stride, width 91 3rdparty/libwebp/utils/filters.c PredictLine(in + 1, preds, out + 1, width - 1, inverse); width 97 3rdparty/libwebp/utils/filters.c PredictLine(in, preds, out, width, inverse); width 102 3rdparty/libwebp/utils/filters.c static void VerticalFilter(const uint8_t* data, int width, int height, width 104 3rdparty/libwebp/utils/filters.c DoVerticalFilter(data, width, height, stride, 0, filtered_data); width 107 3rdparty/libwebp/utils/filters.c static void VerticalUnfilter(int width, int height, int stride, uint8_t* data) { width 108 3rdparty/libwebp/utils/filters.c DoVerticalFilter(data, width, height, stride, 1, data); width 120 3rdparty/libwebp/utils/filters.c void DoGradientFilter(const uint8_t* in, int width, int height, width 128 3rdparty/libwebp/utils/filters.c PredictLine(in + 1, preds, out + 1, width - 1, inverse); width 138 3rdparty/libwebp/utils/filters.c for (w = 1; w < width; ++w) { width 147 3rdparty/libwebp/utils/filters.c static void GradientFilter(const uint8_t* data, int width, int height, width 149 3rdparty/libwebp/utils/filters.c DoGradientFilter(data, width, height, stride, 0, filtered_data); width 152 3rdparty/libwebp/utils/filters.c static void GradientUnfilter(int width, int height, int stride, uint8_t* data) { width 153 3rdparty/libwebp/utils/filters.c DoGradientFilter(data, width, height, stride, 1, data); width 165 3rdparty/libwebp/utils/filters.c int width, int height, int stride) { width 174 3rdparty/libwebp/utils/filters.c for (i = 2; i < width - 1; i += 2) { width 177 3rdparty/libwebp/utils/filters.c const int diff2 = SDIFF(p[i], p[i - width]); width 179 3rdparty/libwebp/utils/filters.c GradientPredictor(p[i - 1], p[i - width], p[i - width - 1]); width 34 3rdparty/libwebp/utils/filters.h typedef void (*WebPFilterFunc)(const uint8_t* in, int width, int height, width 36 3rdparty/libwebp/utils/filters.h typedef void (*WebPUnfilterFunc)(int width, int height, int stride, width 51 3rdparty/libwebp/utils/filters.h int width, int height, int stride); width 31 3rdparty/libwebp/utils/quant_levels.c int QuantizeLevels(uint8_t* const data, int width, int height, width 37 3rdparty/libwebp/utils/quant_levels.c const size_t data_size = height * width; width 46 3rdparty/libwebp/utils/quant_levels.c if (width <= 0 || height <= 0) { width 29 3rdparty/libwebp/utils/quant_levels.h int QuantizeLevels(uint8_t* const data, int width, int height, int num_levels, width 20 3rdparty/libwebp/utils/quant_levels_dec.c int DequantizeLevels(uint8_t* const data, int width, int height) { width 21 3rdparty/libwebp/utils/quant_levels_dec.c if (data == NULL || width <= 0 || height <= 0) return 0; width 23 3rdparty/libwebp/utils/quant_levels_dec.c (void)width; width 26 3rdparty/libwebp/utils/quant_levels_dec.h int DequantizeLevels(uint8_t* const data, int width, int height); width 46 3rdparty/libwebp/webp/decode.h int* width, int* height); width 54 3rdparty/libwebp/webp/decode.h int* width, int* height); width 58 3rdparty/libwebp/webp/decode.h int* width, int* height); width 62 3rdparty/libwebp/webp/decode.h int* width, int* height); width 67 3rdparty/libwebp/webp/decode.h int* width, int* height); width 71 3rdparty/libwebp/webp/decode.h int* width, int* height); width 84 3rdparty/libwebp/webp/decode.h int* width, int* height, width 196 3rdparty/libwebp/webp/decode.h int width, height; // Dimensions. width 340 3rdparty/libwebp/webp/decode.h int* width, int* height, int* stride); width 348 3rdparty/libwebp/webp/decode.h int* width, int* height, int* stride, int* uv_stride, int* a_stride); width 354 3rdparty/libwebp/webp/decode.h int* width, int* height, int* stride, int* uv_stride) { width 355 3rdparty/libwebp/webp/decode.h return WebPIDecGetYUVA(idec, last_y, u, v, NULL, width, height, width 366 3rdparty/libwebp/webp/decode.h const WebPIDecoder* idec, int* left, int* top, int* width, int* height); width 403 3rdparty/libwebp/webp/decode.h int width; // Width in pixels, as read from the bitstream. width 132 3rdparty/libwebp/webp/demux.h int width, height; // dimensions of this frame or fragment. width 50 3rdparty/libwebp/webp/encode.h int width, int height, int stride, width 53 3rdparty/libwebp/webp/encode.h int width, int height, int stride, width 56 3rdparty/libwebp/webp/encode.h int width, int height, int stride, width 59 3rdparty/libwebp/webp/encode.h int width, int height, int stride, width 66 3rdparty/libwebp/webp/encode.h int width, int height, int stride, width 69 3rdparty/libwebp/webp/encode.h int width, int height, int stride, width 72 3rdparty/libwebp/webp/encode.h int width, int height, int stride, width 75 3rdparty/libwebp/webp/encode.h int width, int height, int stride, width 281 3rdparty/libwebp/webp/encode.h int width, height; // dimensions (less or equal to WEBP_MAX_DIMENSION) width 389 3rdparty/libwebp/webp/encode.h int left, int top, int width, int height); width 403 3rdparty/libwebp/webp/encode.h int left, int top, int width, int height, width 413 3rdparty/libwebp/webp/encode.h WEBP_EXTERN(int) WebPPictureRescale(WebPPicture* pic, int width, int height); width 199 3rdparty/openexr/IlmImf/ImfAcesFile.cpp int width, width 213 3rdparty/openexr/IlmImf/ImfAcesFile.cpp Header newHeader (width, width 156 3rdparty/openexr/IlmImf/ImfAcesFile.h int width, width 298 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp ImfHeaderSetScreenWindowWidth (ImfHeader *hdr, float width) width 300 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp header(hdr)->screenWindowWidth() = width; width 188 3rdparty/openexr/IlmImf/ImfCRgbaFile.h float width); width 165 3rdparty/openexr/IlmImf/ImfHeader.cpp Header::Header (int width, width 177 3rdparty/openexr/IlmImf/ImfHeader.cpp Box2i displayWindow (V2i (0, 0), V2i (width - 1, height - 1)); width 190 3rdparty/openexr/IlmImf/ImfHeader.cpp Header::Header (int width, width 203 3rdparty/openexr/IlmImf/ImfHeader.cpp Box2i displayWindow (V2i (0, 0), V2i (width - 1, height - 1)); width 77 3rdparty/openexr/IlmImf/ImfHeader.h Header (int width = 64, width 91 3rdparty/openexr/IlmImf/ImfHeader.h Header (int width, width 1239 3rdparty/openexr/IlmImf/ImfOutputFile.cpp int numPixels = pi.width() * pi.height(); width 49 3rdparty/openexr/IlmImf/ImfPreviewImage.cpp PreviewImage::PreviewImage (unsigned int width, width 53 3rdparty/openexr/IlmImf/ImfPreviewImage.cpp _width = width; width 86 3rdparty/openexr/IlmImf/ImfPreviewImage.h PreviewImage (unsigned int width = 0, width 104 3rdparty/openexr/IlmImf/ImfPreviewImage.h unsigned int width () const {return _width;} width 60 3rdparty/openexr/IlmImf/ImfPreviewImageAttribute.cpp Xdr::write <StreamIO> (os, _value.width()); width 63 3rdparty/openexr/IlmImf/ImfPreviewImageAttribute.cpp int numPixels = _value.width() * _value.height(); width 80 3rdparty/openexr/IlmImf/ImfPreviewImageAttribute.cpp int width, height; width 82 3rdparty/openexr/IlmImf/ImfPreviewImageAttribute.cpp Xdr::read <StreamIO> (is, width); width 85 3rdparty/openexr/IlmImf/ImfPreviewImageAttribute.cpp PreviewImage p (width, height); width 87 3rdparty/openexr/IlmImf/ImfPreviewImageAttribute.cpp int numPixels = p.width() * p.height(); width 619 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp int width, width 631 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp Header hd (width, width 120 3rdparty/openexr/IlmImf/ImfRgbaFile.h int width, width 1639 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp int numPixels = pi.width() * pi.height(); width 227 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp int width = dw.max.x - dw.min.x + 1; width 234 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp RGBAtoYCA (_yw, width, _writeA, _buf[y1], _buf[y1]); width 344 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp int width, width 361 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp Header hd (width, width 751 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp int width = dw.max.x - dw.min.x + 1; width 755 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp for (int x1 = 0; x1 < width; ++x1) width 761 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp YCAtoRGBA (_yw, width, _buf[y1], _buf[y1]); width 140 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.h int width, width 3249 3rdparty/openexr/Imath/ImathMatrix.h int width; width 3254 3rdparty/openexr/Imath/ImathMatrix.h width = s.precision() + 5; width 3260 3rdparty/openexr/Imath/ImathMatrix.h width = s.precision() + 8; width 3263 3rdparty/openexr/Imath/ImathMatrix.h s << "(" << std::setw (width) << m[0][0] << width 3264 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][1] << width 3265 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][2] << "\n" << width 3267 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][0] << width 3268 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][1] << width 3269 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][2] << "\n" << width 3271 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][0] << width 3272 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][1] << width 3273 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][2] << ")\n"; width 3284 3rdparty/openexr/Imath/ImathMatrix.h int width; width 3289 3rdparty/openexr/Imath/ImathMatrix.h width = s.precision() + 5; width 3295 3rdparty/openexr/Imath/ImathMatrix.h width = s.precision() + 8; width 3298 3rdparty/openexr/Imath/ImathMatrix.h s << "(" << std::setw (width) << m[0][0] << width 3299 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][1] << width 3300 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][2] << width 3301 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][3] << "\n" << width 3303 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][0] << width 3304 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][1] << width 3305 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][2] << width 3306 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][3] << "\n" << width 3308 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][0] << width 3309 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][1] << width 3310 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][2] << width 3311 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][3] << "\n" << width 3313 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][0] << width 3314 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][1] << width 3315 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][2] << width 3316 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][3] << ")\n"; width 324 3rdparty/zlib/trees.c # define SEPARATOR(i, last, width) \ width 326 3rdparty/zlib/trees.c ((i) % (width) == (width)-1 ? ",\n" : ", ")) width 77 apps/createsamples/createsamples.cpp int width = 24; width 97 apps/createsamples/createsamples.cpp maxxangle, maxyangle, maxzangle, scale, width, height ); width 169 apps/createsamples/createsamples.cpp width = atoi( argv[++i] ); width 195 apps/createsamples/createsamples.cpp printf( "Width: %d\n", width ); width 206 apps/createsamples/createsamples.cpp showsamples, width, height ); width 216 apps/createsamples/createsamples.cpp maxxangle, maxyangle, maxzangle, showsamples, width, height ); width 227 apps/createsamples/createsamples.cpp width, height ); width 235 apps/createsamples/createsamples.cpp cvShowVecSamples( vecname, width, height, scale ); width 118 apps/createsamples/utility.cpp static void icvWriteVecHeader( FILE* file, int count, int width, int height ) width 126 apps/createsamples/utility.cpp vecsize = width * height; width 207 apps/createsamples/utility.cpp int u = src_size.width - 1; width 400 apps/createsamples/utility.cpp int ix_max = MIN( cvRound( x_max ), dst_size.width - 1 ); width 420 apps/createsamples/utility.cpp if( isrc_x >= 0 && isrc_x <= src_size.width && width 425 apps/createsamples/utility.cpp if( isrc_x >= -1 && isrc_x < src_size.width && width 430 apps/createsamples/utility.cpp if( isrc_x >= 0 && isrc_x <= src_size.width && width 435 apps/createsamples/utility.cpp if( isrc_x >= -1 && isrc_x < src_size.width && width 486 apps/createsamples/utility.cpp void icvRandomQuad( int width, int height, double quad[4][2], width 515 apps/createsamples/utility.cpp d = (distfactor + distfactor2 * (2.0 * rand() / RAND_MAX - 1.0)) * width; width 527 apps/createsamples/utility.cpp halfw = 0.5 * width; width 622 apps/createsamples/utility.cpp data->dx = data->src->width / 2; width 633 apps/createsamples/utility.cpp for( c = 0; c < data->mask->width; c++ ) width 654 apps/createsamples/utility.cpp for( c = 0; c < data->mask->width; c++ ) width 682 apps/createsamples/utility.cpp data->img = cvCreateImage( cvSize( data->src->width + 2 * data->dx, width 718 apps/createsamples/utility.cpp icvRandomQuad( data->src->width, data->src->height, quad, width 741 apps/createsamples/utility.cpp cr.width = data->src->width; width 749 apps/createsamples/utility.cpp cr.width = (int) (MAX( quad[1][0], quad[2][0] ) + 0.5F ) - cr.x; width 756 apps/createsamples/utility.cpp cr.x -= (int) ( xshift * cr.width ); width 758 apps/createsamples/utility.cpp cr.width = (int) ((1.0 + maxshiftf) * cr.width ); width 762 apps/createsamples/utility.cpp cr.x -= (int) ( 0.5 * randscale * cr.width ); width 764 apps/createsamples/utility.cpp cr.width = (int) ((1.0 + randscale) * cr.width ); width 767 apps/createsamples/utility.cpp scale = MAX( ((float) cr.width) / bgimg->cols, ((float) cr.height) / bgimg->rows ); width 769 apps/createsamples/utility.cpp roi.x = (int) (-0.5F * (scale * bgimg->cols - cr.width) + cr.x); width 771 apps/createsamples/utility.cpp roi.width = (int) (scale * bgimg->cols); width 788 apps/createsamples/utility.cpp for( c = 0; c < img->width; c++ ) width 1009 apps/createsamples/utility.cpp data->round = data->round % (data->winsize.width * data->winsize.height); width 1011 apps/createsamples/utility.cpp offset.x = round % data->winsize.width; width 1012 apps/createsamples/utility.cpp offset.y = round / data->winsize.width; width 1014 apps/createsamples/utility.cpp offset.x = MIN( offset.x, img->width - data->winsize.width ); width 1038 apps/createsamples/utility.cpp datasize = sizeof( uchar ) * img->width * img->height; width 1039 apps/createsamples/utility.cpp reader->src = cvMat( img->height, img->width, CV_8UC1, (void*) cvAlloc( datasize ) ); width 1049 apps/createsamples/utility.cpp ((float) data->winsize.width + reader->point.x) / ((float) reader->src.cols), width 1085 apps/createsamples/utility.cpp assert( img->cols == data->winsize.width ); width 1093 apps/createsamples/utility.cpp mat = cvMat( data->winsize.height, data->winsize.width, CV_8UC1 ); width 1098 apps/createsamples/utility.cpp if( (int) ( reader->point.x + (1.0F + reader->stepfactor ) * data->winsize.width ) width 1101 apps/createsamples/utility.cpp reader->point.x += (int) (reader->stepfactor * data->winsize.width); width 1338 apps/createsamples/utility.cpp int x, y, width, height; width 1375 apps/createsamples/utility.cpp width = (int) (scale * winwidth); width 1377 apps/createsamples/utility.cpp x = (int) ((0.1+0.8 * rand()/RAND_MAX) * (cvbgreader->src.cols - width)); width 1380 apps/createsamples/utility.cpp cvGetSubArr( &cvbgreader->src, &win, cvRect( x, y ,width, height ) ); width 1391 apps/createsamples/utility.cpp (i + 1), x, y, width, height ); width 1396 apps/createsamples/utility.cpp filename, 1, x, y, width, height ); width 1432 apps/createsamples/utility.cpp int x, y, width, height; width 1475 apps/createsamples/utility.cpp icvWriteVecHeader( vec, num, sample->width, sample->height ); width 1517 apps/createsamples/utility.cpp error = ( fscanf( info, "%d %d %d %d", &x, &y, &width, &height ) != 4 ); width 1519 apps/createsamples/utility.cpp cvSetImageROI( src, cvRect( x, y, width, height ) ); width 1520 apps/createsamples/utility.cpp cvResize( src, sample, width >= sample->width && width 20 apps/traincascade/HOGfeatures.cpp int cols = (_winSize.width + 1) * (_winSize.height + 1); width 36 apps/traincascade/HOGfeatures.cpp integralHist.push_back( Mat(winSize.height + 1, winSize.width + 1, hist[bin].type(), hist[bin].ptr<float>((int)idx)) ); width 38 apps/traincascade/HOGfeatures.cpp Mat integralNorm(winSize.height + 1, winSize.width + 1, normSum.type(), normSum.ptr<float>((int)idx)); width 67 apps/traincascade/HOGfeatures.cpp int offset = winSize.width + 1; width 71 apps/traincascade/HOGfeatures.cpp for (t = 8; t <= winSize.width/2; t+=8) //t = size of a cell. blocksize = 4*cellSize width 76 apps/traincascade/HOGfeatures.cpp for (x = 0; x <= winSize.width - w; x += blockStep.width) width 85 apps/traincascade/HOGfeatures.cpp for (x = 0; x <= winSize.width - w; x += blockStep.width) width 94 apps/traincascade/HOGfeatures.cpp for (x = 0; x <= winSize.width - w; x += blockStep.width) width 132 apps/traincascade/HOGfeatures.cpp fs << "[:" << rect[i].x << rect[i].y << rect[i].width << rect[i].height << "]"; width 153 apps/traincascade/HOGfeatures.cpp rect[0].width << rect[0].height << featComponentIdx << "]"; width 167 apps/traincascade/HOGfeatures.cpp AutoBuffer<int> mapbuf(gradSize.width + gradSize.height + 4); width 169 apps/traincascade/HOGfeatures.cpp int* ymap = xmap + gradSize.width + 2; width 173 apps/traincascade/HOGfeatures.cpp for( x = -1; x < gradSize.width + 1; x++ ) width 174 apps/traincascade/HOGfeatures.cpp xmap[x] = borderInterpolate(x, gradSize.width, borderType); width 178 apps/traincascade/HOGfeatures.cpp int width = gradSize.width; width 179 apps/traincascade/HOGfeatures.cpp AutoBuffer<float> _dbuf(width*4); width 181 apps/traincascade/HOGfeatures.cpp Mat Dx(1, width, CV_32F, dbuf); width 182 apps/traincascade/HOGfeatures.cpp Mat Dy(1, width, CV_32F, dbuf + width); width 183 apps/traincascade/HOGfeatures.cpp Mat Mag(1, width, CV_32F, dbuf + width*2); width 184 apps/traincascade/HOGfeatures.cpp Mat Angle(1, width, CV_32F, dbuf + width*3); width 196 apps/traincascade/HOGfeatures.cpp for( x = 0; x < width; x++ ) width 199 apps/traincascade/HOGfeatures.cpp dbuf[width + x] = (float)(nextPtr[xmap[x]] - prevPtr[xmap[x]]); width 202 apps/traincascade/HOGfeatures.cpp for( x = 0; x < width; x++ ) width 204 apps/traincascade/HOGfeatures.cpp float mag = dbuf[x+width*2]; width 205 apps/traincascade/HOGfeatures.cpp float angle = dbuf[x+width*3]; width 233 apps/traincascade/HOGfeatures.cpp memset( histBuf, 0, histSize.width * sizeof(histBuf[0]) ); width 1703 apps/traincascade/boost.cpp cout << "|"; cout.width(4); cout << right << weak->total; width 1704 apps/traincascade/boost.cpp cout << "|"; cout.width(9); cout << right << hitRate; width 1705 apps/traincascade/boost.cpp cout << "|"; cout.width(9); cout << right << falseAlarm; width 37 apps/traincascade/cascadeclassifier.cpp fs << CC_WIDTH << winSize.width; width 63 apps/traincascade/cascadeclassifier.cpp node[CC_WIDTH] >> winSize.width; width 64 apps/traincascade/cascadeclassifier.cpp return winSize.height > 0 && winSize.width > 0; width 87 apps/traincascade/cascadeclassifier.cpp cout << " [-w <sampleWidth = " << winSize.width << ">]" << endl; width 95 apps/traincascade/cascadeclassifier.cpp cout << "sampleWidth: " << winSize.width << endl; width 116 apps/traincascade/cascadeclassifier.cpp winSize.width = atoi( val.c_str() ); width 448 apps/traincascade/cascadeclassifier.cpp fs << ICV_HAAR_SIZE_NAME << "[:" << cascadeParams.winSize.width << width 15 apps/traincascade/features.cpp double area = normrect.width * normrect.height; width 81 apps/traincascade/features.cpp CV_Assert(img.cols == winSize.width); width 91 apps/traincascade/haarfeatures.cpp int cols = (_winSize.width + 1) * (_winSize.height + 1); width 102 apps/traincascade/haarfeatures.cpp Mat innSum(winSize.height + 1, winSize.width + 1, sum.type(), sum.ptr<int>((int)idx)); width 103 apps/traincascade/haarfeatures.cpp Mat innTilted(winSize.height + 1, winSize.width + 1, tilted.type(), tilted.ptr<int>((int)idx)); width 123 apps/traincascade/haarfeatures.cpp int offset = winSize.width + 1; width 124 apps/traincascade/haarfeatures.cpp for( int x = 0; x < winSize.width; x++ ) width 128 apps/traincascade/haarfeatures.cpp for( int dx = 1; dx <= winSize.width; dx++ ) width 133 apps/traincascade/haarfeatures.cpp if ( (x+dx*2 <= winSize.width) && (y+dy <= winSize.height) ) width 140 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width) && (y+dy*2 <= winSize.height) ) width 147 apps/traincascade/haarfeatures.cpp if ( (x+dx*3 <= winSize.width) && (y+dy <= winSize.height) ) width 154 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width) && (y+dy*3 <= winSize.height) ) width 163 apps/traincascade/haarfeatures.cpp if ( (x+dx*4 <= winSize.width) && (y+dy <= winSize.height) ) width 170 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width ) && (y+dy*4 <= winSize.height) ) width 178 apps/traincascade/haarfeatures.cpp if ( (x+dx*2 <= winSize.width) && (y+dy*2 <= winSize.height) ) width 187 apps/traincascade/haarfeatures.cpp if ( (x+dx*3 <= winSize.width) && (y+dy*3 <= winSize.height) ) width 197 apps/traincascade/haarfeatures.cpp if ( (x+2*dx <= winSize.width) && (y+2*dx+dy <= winSize.height) && (x-dy>= 0) ) width 204 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width) && (y+dx+2*dy <= winSize.height) && (x-2*dy>= 0) ) width 211 apps/traincascade/haarfeatures.cpp if ( (x+3*dx <= winSize.width) && (y+3*dx+dy <= winSize.height) && (x-dy>= 0) ) width 218 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width) && (y+dx+3*dy <= winSize.height) && (x-3*dy>= 0) ) width 225 apps/traincascade/haarfeatures.cpp if ( (x+4*dx <= winSize.width) && (y+4*dx+dy <= winSize.height) && (x-dy>= 0) ) width 232 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width) && (y+dx+4*dy <= winSize.height) && (x-4*dy>= 0) ) width 262 apps/traincascade/haarfeatures.cpp rect[0].r.width = w0; width 268 apps/traincascade/haarfeatures.cpp rect[1].r.width = w1; width 274 apps/traincascade/haarfeatures.cpp rect[2].r.width = w2; width 301 apps/traincascade/haarfeatures.cpp for( int ri = 0; ri < CV_HAAR_FEATURE_MAX && rect[ri].r.width != 0; ++ri ) width 304 apps/traincascade/haarfeatures.cpp rect[ri].r.width << rect[ri].r.height << rect[ri].weight << "]"; width 62 apps/traincascade/imagestorage.cpp round = round % (winSize.width * winSize.height); width 65 apps/traincascade/imagestorage.cpp _offset.x = std::min( (int)round % winSize.width, src.cols - winSize.width ); width 66 apps/traincascade/imagestorage.cpp _offset.y = std::min( (int)round / winSize.width, src.rows - winSize.height ); width 75 apps/traincascade/imagestorage.cpp scale = max( ((float)winSize.width + point.x) / ((float)src.cols), width 87 apps/traincascade/imagestorage.cpp CV_Assert( _img.cols == winSize.width ); width 94 apps/traincascade/imagestorage.cpp Mat mat( winSize.height, winSize.width, CV_8UC1, width 98 apps/traincascade/imagestorage.cpp if( (int)( point.x + (1.0F + stepFactor ) * winSize.width ) < img.cols ) width 99 apps/traincascade/imagestorage.cpp point.x += (int)(stepFactor * winSize.width); width 18 apps/traincascade/lbpfeatures.cpp sum.create((int)_maxSampleCount, (_winSize.width + 1) * (_winSize.height + 1), CV_32SC1); width 26 apps/traincascade/lbpfeatures.cpp Mat innSum(winSize.height + 1, winSize.width + 1, sum.type(), sum.ptr<int>((int)idx)); width 37 apps/traincascade/lbpfeatures.cpp int offset = winSize.width + 1; width 38 apps/traincascade/lbpfeatures.cpp for( int x = 0; x < winSize.width; x++ ) width 40 apps/traincascade/lbpfeatures.cpp for( int w = 1; w <= winSize.width / 3; w++ ) width 42 apps/traincascade/lbpfeatures.cpp if ( (x+3*w <= winSize.width) && (y+3*h <= winSize.height) ) width 56 apps/traincascade/lbpfeatures.cpp tr.x += 2*rect.width; width 60 apps/traincascade/lbpfeatures.cpp tr.x -= 2*rect.width; width 66 apps/traincascade/lbpfeatures.cpp fs << CC_RECT << "[:" << rect.x << rect.y << rect.width << rect.height << "]"; width 1279 apps/traincascade/old_ml_inner_functions.cpp if( !idx && CV_ELEM_SIZE(src_type)*size.width == src_step && width 1280 apps/traincascade/old_ml_inner_functions.cpp CV_ELEM_SIZE(dst_type)*size.width == dst_step ) width 1282 apps/traincascade/old_ml_inner_functions.cpp size.width *= size.height; width 1288 apps/traincascade/old_ml_inner_functions.cpp int full_width = CV_ELEM_SIZE(dst_type)*size.width; width 1302 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) width 1305 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) width 1313 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) width 1316 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) width 1325 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) width 1328 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) width 13 apps/traincascade/traincascade_features.h (p1) = (rect).x + (rect).width + (step) * (rect).y; \ width 17 apps/traincascade/traincascade_features.h (p3) = (rect).x + (rect).width + (step) * ((rect).y + (rect).height); width 25 apps/traincascade/traincascade_features.h (p2) = (rect).x + (rect).width + (step) * ((rect).y + (rect).width); \ width 27 apps/traincascade/traincascade_features.h (p3) = (rect).x + (rect).width - (rect).height \ width 28 apps/traincascade/traincascade_features.h + (step) * ((rect).y + (rect).width + (rect).height); width 17 cmake/checks/directx.cpp UINT width = 640; width 41 cmake/checks/directx.cpp sd.BufferDesc.Width = width; width 251 modules/calib3d/src/calibinit.cpp int expected_corners_num = (pattern_size.width/2+1)*(pattern_size.height/2+1); width 267 modules/calib3d/src/calibinit.cpp if( pattern_size.width <= 2 || pattern_size.height <= 2 ) width 471 modules/calib3d/src/calibinit.cpp int n = count > 0 ? pattern_size.width * pattern_size.height : -count; width 472 modules/calib3d/src/calibinit.cpp n = MIN( n, pattern_size.width * pattern_size.height ); width 494 modules/calib3d/src/calibinit.cpp if( count == pattern_size.width*pattern_size.height && width 513 modules/calib3d/src/calibinit.cpp for( k = 0; k < pattern_size.width*pattern_size.height; k++ ) width 520 modules/calib3d/src/calibinit.cpp found = k == pattern_size.width*pattern_size.height; width 523 modules/calib3d/src/calibinit.cpp if( found && pattern_size.height % 2 == 0 && pattern_size.width % 2 == 0 ) width 525 modules/calib3d/src/calibinit.cpp int last_row = (pattern_size.height-1)*pattern_size.width; width 529 modules/calib3d/src/calibinit.cpp int n = pattern_size.width*pattern_size.height; width 551 modules/calib3d/src/calibinit.cpp cvFindCornerSubPix( gray, out_corners, pattern_size.width*pattern_size.height, width 589 modules/calib3d/src/calibinit.cpp for( i = 0; i < (k == 0 ? pattern_size.height : pattern_size.width); i++ ) width 591 modules/calib3d/src/calibinit.cpp CvPoint2D32f a = k == 0 ? corners[i*pattern_size.width] : corners[i]; width 592 modules/calib3d/src/calibinit.cpp CvPoint2D32f b = k == 0 ? corners[(i+1)*pattern_size.width-1] : width 593 modules/calib3d/src/calibinit.cpp corners[(pattern_size.height-1)*pattern_size.width + i]; width 597 modules/calib3d/src/calibinit.cpp for( j = 1; j < (k == 0 ? pattern_size.width : pattern_size.height) - 1; j++ ) width 599 modules/calib3d/src/calibinit.cpp CvPoint2D32f c = k == 0 ? corners[i*pattern_size.width + j] : width 600 modules/calib3d/src/calibinit.cpp corners[j*pattern_size.width + i]; width 707 modules/calib3d/src/calibinit.cpp int w = pattern_size.width - 1; width 716 modules/calib3d/src/calibinit.cpp h = pattern_size.width - 1; width 1102 modules/calib3d/src/calibinit.cpp int count = ((pattern_size.width + 1)*(pattern_size.height + 1) + 1)/2; width 1261 modules/calib3d/src/calibinit.cpp int width = 0, height = 0; width 1314 modules/calib3d/src/calibinit.cpp if( corner_count != pattern_size.width*pattern_size.height ) width 1337 modules/calib3d/src/calibinit.cpp hist[3] != (pattern_size.width + pattern_size.height)*2 - 8 ) width 1372 modules/calib3d/src/calibinit.cpp if( right->count != 3 || out_corner_count >= MAX(pattern_size.width,pattern_size.height) ) width 1393 modules/calib3d/src/calibinit.cpp width = out_corner_count; width 1394 modules/calib3d/src/calibinit.cpp if( width == pattern_size.width ) width 1396 modules/calib3d/src/calibinit.cpp else if( width == pattern_size.height ) width 1397 modules/calib3d/src/calibinit.cpp height = pattern_size.width; width 1445 modules/calib3d/src/calibinit.cpp if( j != width - 1 ) width 1453 modules/calib3d/src/calibinit.cpp if( width != pattern_size.width ) width 1455 modules/calib3d/src/calibinit.cpp CV_SWAP( width, height, k ); width 1459 modules/calib3d/src/calibinit.cpp for( j = 0; j < width; j++ ) width 1460 modules/calib3d/src/calibinit.cpp out_corners[i*width + j] = corners[j*height + i]; width 1465 modules/calib3d/src/calibinit.cpp CvPoint2D32f p0 = out_corners[0]->pt, p1 = out_corners[pattern_size.width-1]->pt, width 1466 modules/calib3d/src/calibinit.cpp p2 = out_corners[pattern_size.width]->pt; width 1469 modules/calib3d/src/calibinit.cpp if( width % 2 == 0 ) width 1472 modules/calib3d/src/calibinit.cpp for( j = 0; j < width/2; j++ ) width 1473 modules/calib3d/src/calibinit.cpp CV_SWAP( out_corners[i*width+j], out_corners[i*width+width-j-1], c ); width 1477 modules/calib3d/src/calibinit.cpp for( j = 0; j < width; j++ ) width 1479 modules/calib3d/src/calibinit.cpp CV_SWAP( out_corners[i*width+j], out_corners[(height - i - 1)*width+j], c ); width 1490 modules/calib3d/src/calibinit.cpp corner_count = MIN( corner_count, pattern_size.width*pattern_size.height ); width 1495 modules/calib3d/src/calibinit.cpp if (result == -pattern_size.width*pattern_size.height) width 1689 modules/calib3d/src/calibinit.cpp if( CV_IS_SEQ_HOLE(src_contour) && rect.width*rect.height >= min_size ) width 1882 modules/calib3d/src/calibinit.cpp for( x = 0; x < pattern_size.width; x++, i++ ) width 1167 modules/calib3d/src/calibration.cpp a[2] = (!imageSize.width) ? 0.5 : (imageSize.width - 1)*0.5; width 1249 modules/calib3d/src/calibration.cpp if( imageSize.width <= 0 || imageSize.height <= 0 ) width 1341 modules/calib3d/src/calibration.cpp if( A[2] < 0 || A[2] >= imageSize.width || width 1570 modules/calib3d/src/calibration.cpp int imgWidth = imgSize.width, imgHeight = imgSize.height; width 2108 modules/calib3d/src/calibration.cpp pts[k++] = cvPoint2D32f((float)x*imgSize.width/(N-1), width 2160 modules/calib3d/src/calibration.cpp double nx = imageSize.width, ny = imageSize.height; width 2270 modules/calib3d/src/calibration.cpp newImgSize = newImgSize.width*newImgSize.height != 0 ? newImgSize : imageSize; width 2275 modules/calib3d/src/calibration.cpp double cx1 = newImgSize.width*cx1_0/imageSize.width; width 2277 modules/calib3d/src/calibration.cpp double cx2 = newImgSize.width*cx2_0/imageSize.width; width 2284 modules/calib3d/src/calibration.cpp (double)(newImgSize.width - cx1)/(inner1.x + inner1.width - cx1_0)), width 2287 modules/calib3d/src/calibration.cpp (double)(newImgSize.width - cx2)/(inner2.x + inner2.width - cx2_0)), width 2292 modules/calib3d/src/calibration.cpp (double)(newImgSize.width - cx1)/(outer1.x + outer1.width - cx1_0)), width 2295 modules/calib3d/src/calibration.cpp (double)(newImgSize.width - cx2)/(outer2.x + outer2.width - cx2_0)), width 2321 modules/calib3d/src/calibration.cpp cvFloor(inner1.width*s), cvFloor(inner1.height*s)) width 2322 modules/calib3d/src/calibration.cpp & cv::Rect(0, 0, newImgSize.width, newImgSize.height); width 2329 modules/calib3d/src/calibration.cpp cvFloor(inner2.width*s), cvFloor(inner2.height*s)) width 2330 modules/calib3d/src/calibration.cpp & cv::Rect(0, 0, newImgSize.width, newImgSize.height); width 2356 modules/calib3d/src/calibration.cpp newImgSize = newImgSize.width*newImgSize.height != 0 ? newImgSize : imgSize; width 2366 modules/calib3d/src/calibration.cpp double cx = (newImgSize.width-1)*0.5; width 2371 modules/calib3d/src/calibration.cpp (double)cx/(inner.x + inner.width - cx0)), width 2374 modules/calib3d/src/calibration.cpp (double)cx/(outer.x + outer.width - cx0)), width 2387 modules/calib3d/src/calibration.cpp (float)(inner.width*s), width 2389 modules/calib3d/src/calibration.cpp cv::Rect r(cvCeil(inner.x), cvCeil(inner.y), cvFloor(inner.width), cvFloor(inner.height)); width 2390 modules/calib3d/src/calibration.cpp r &= cv::Rect(0, 0, newImgSize.width, newImgSize.height); width 2401 modules/calib3d/src/calibration.cpp double fx0 = (newImgSize.width - 1) / inner.width; width 2407 modules/calib3d/src/calibration.cpp double fx1 = (newImgSize.width - 1) / outer.width; width 2422 modules/calib3d/src/calibration.cpp r &= cv::Rect(0, 0, newImgSize.width, newImgSize.height); width 2474 modules/calib3d/src/calibration.cpp cx = cvRound( (imgSize.width-1)*0.5 ); width 69 modules/calib3d/src/checkchessboard.cpp float box_size = MAX(box.size.width, box.size.height); width 75 modules/calib3d/src/checkchessboard.cpp float aspect_ratio = box.size.width/MAX(box.size.height, 1); width 164 modules/calib3d/src/checkchessboard.cpp const size_t min_quads_count = size.width*size.height/2; width 187 modules/calib3d/src/checkchessboard.cpp const int black_count = cvRound(ceil(size.width/2.0)*ceil(size.height/2.0)); width 188 modules/calib3d/src/checkchessboard.cpp const int white_count = cvRound(floor(size.width/2.0)*floor(size.height/2.0)); width 345 modules/calib3d/src/circlesgrid.cpp if((dist1 > dist2 && patternSize.height > patternSize.width) || (dist1 < dist2 && patternSize.height < patternSize.width)) width 361 modules/calib3d/src/circlesgrid.cpp trueIndices.push_back(Point(patternSize.width - 1, 0)); width 364 modules/calib3d/src/circlesgrid.cpp trueIndices.push_back(Point(patternSize.width - 1, 1)); width 365 modules/calib3d/src/circlesgrid.cpp trueIndices.push_back(Point(patternSize.width - 1, patternSize.height - 2)); width 367 modules/calib3d/src/circlesgrid.cpp trueIndices.push_back(Point(patternSize.width - 1, patternSize.height - 1)); width 400 modules/calib3d/src/circlesgrid.cpp for( int j = 0; j < patternSize.width; j++ ) width 566 modules/calib3d/src/circlesgrid.cpp patternSize(static_cast<size_t> (_patternSize.width), static_cast<size_t> (_patternSize.height)) width 568 modules/calib3d/src/circlesgrid.cpp CV_Assert(_patternSize.height >= 0 && _patternSize.width >= 0); width 676 modules/calib3d/src/circlesgrid.cpp if (holes[i].size() != patternSize.width) width 701 modules/calib3d/src/circlesgrid.cpp size_t largeWidth = patternSize.width; width 703 modules/calib3d/src/circlesgrid.cpp size_t smallWidth = patternSize.width; width 764 modules/calib3d/src/circlesgrid.cpp while (holesRow.size() > std::max(patternSize.width, patternSize.height)) width 788 modules/calib3d/src/circlesgrid.cpp for (size_t i = w; i < patternSize.width; i++) width 803 modules/calib3d/src/circlesgrid.cpp for (size_t i = w; i < patternSize.width; i++) width 825 modules/calib3d/src/circlesgrid.cpp getDirection(centers[0], centers[detectedGridSize.width - 1], centers[centers.size() - 1]) < 0; width 832 modules/calib3d/src/circlesgrid.cpp for (int j = 0; j < detectedGridSize.width; j++) width 459 modules/calib3d/src/fisheye.cpp for( int j = 0; j < size.width; ++j) width 517 modules/calib3d/src/fisheye.cpp int w = image_size.width, h = image_size.height; width 592 modules/calib3d/src/fisheye.cpp double rx = new_size.width /(double)image_size.width; width 744 modules/calib3d/src/fisheye.cpp finalParam.Init(Vec2d(max(image_size.width, image_size.height) / CV_PI, max(image_size.width, image_size.height) / CV_PI), width 745 modules/calib3d/src/fisheye.cpp Vec2d(image_size.width / 2.0 - 0.5, image_size.height / 2.0 - 0.5)); width 179 modules/calib3d/src/quadsubpix.cpp Rect roi(cvRound(corners[i].x - region_size.width), cvRound(corners[i].y - region_size.height), width 180 modules/calib3d/src/quadsubpix.cpp region_size.width*2 + 1, region_size.height*2 + 1); width 126 modules/calib3d/src/stereobm.cpp for( x = 0; x < size.width; x++ ) width 131 modules/calib3d/src/stereobm.cpp for( x = 0; x < size.width; x++ ) width 144 modules/calib3d/src/stereobm.cpp for( x = 0; x < size.width; x++ ) width 150 modules/calib3d/src/stereobm.cpp vsum[size.width+x] = vsum[size.width-1]; width 160 modules/calib3d/src/stereobm.cpp for( x = 1; x < size.width-1; x++ ) width 215 modules/calib3d/src/stereobm.cpp dptr0[0] = dptr0[size.width-1] = dptr1[0] = dptr1[size.width-1] = val0; width 222 modules/calib3d/src/stereobm.cpp for(; x <=size.width-9; x += 8 ) width 258 modules/calib3d/src/stereobm.cpp for( ; x <= size.width-9; x += 8 ) width 287 modules/calib3d/src/stereobm.cpp for( ; x < size.width-1; x++ ) width 307 modules/calib3d/src/stereobm.cpp for(; x <= size.width-16; x+=16 ) width 310 modules/calib3d/src/stereobm.cpp for(; x < size.width; x++ ) width 331 modules/calib3d/src/stereobm.cpp int width = left.cols, height = left.rows; width 332 modules/calib3d/src/stereobm.cpp int width1 = width - rofs - ndisp + 1; width 369 modules/calib3d/src/stereobm.cpp lptr = lptr0 + MIN(MAX(x, -lofs), width-lofs-1) - dy0*sstep; width 370 modules/calib3d/src/stereobm.cpp rptr = rptr0 + MIN(MAX(x, -rofs), width-rofs-1) - dy0*sstep; width 397 modules/calib3d/src/stereobm.cpp for( x = lofs + width1; x < width; x++ ) width 409 modules/calib3d/src/stereobm.cpp lptr_sub = lptr0 + MIN(MAX(x0, -lofs), width-1-lofs) - dy0*sstep; width 410 modules/calib3d/src/stereobm.cpp lptr = lptr0 + MIN(MAX(x1, -lofs), width-1-lofs) - dy0*sstep; width 411 modules/calib3d/src/stereobm.cpp rptr = rptr0 + MIN(MAX(x1, -rofs), width-1-rofs) - dy0*sstep; width 581 modules/calib3d/src/stereobm.cpp int width = left.cols, height = left.rows; width 582 modules/calib3d/src/stereobm.cpp int width1 = width - rofs - ndisp + 1; width 626 modules/calib3d/src/stereobm.cpp lptr = lptr0 + std::min(std::max(x, -lofs), width-lofs-1) - dy0*sstep; width 627 modules/calib3d/src/stereobm.cpp rptr = rptr0 + std::min(std::max(x, -rofs), width-rofs-1) - dy0*sstep; width 663 modules/calib3d/src/stereobm.cpp for( x = lofs + width1; x < width; x++ ) width 675 modules/calib3d/src/stereobm.cpp lptr_sub = lptr0 + MIN(MAX(x0, -lofs), width-1-lofs) - dy0*sstep; width 676 modules/calib3d/src/stereobm.cpp lptr = lptr0 + MIN(MAX(x1, -lofs), width-1-lofs) - dy0*sstep; width 677 modules/calib3d/src/stereobm.cpp rptr = rptr0 + MIN(MAX(x1, -rofs), width-1-rofs) - dy0*sstep; width 1007 modules/calib3d/src/stereobm.cpp if( roi.x + roi.width < cols ) width 1009 modules/calib3d/src/stereobm.cpp part = disp_i.colRange(roi.x + roi.width, cols); width 1063 modules/calib3d/src/stereobm.cpp params.SADWindowSize >= std::min(leftsize.width, leftsize.height) ) width 1107 modules/calib3d/src/stereobm.cpp int width = left0.cols; width 1111 modules/calib3d/src/stereobm.cpp int width1 = width - rofs - ndisp + 1; width 1113 modules/calib3d/src/stereobm.cpp if( lofs >= width || rofs >= width || width1 < 1 ) width 1132 modules/calib3d/src/stereobm.cpp int bufSize1 = (int)((width + params.preFilterSize + 2) * sizeof(int) + 256); width 1135 modules/calib3d/src/stereobm.cpp bufSize2 = width*height*(sizeof(Point_<short>) + sizeof(int) + sizeof(uchar)); width 1145 modules/calib3d/src/stereobm.cpp double maxStripeSize = std::min(std::max(N0 / (width * ndisp), (wsz-1) * SAD_overhead_coeff), (double)height); width 1156 modules/calib3d/src/stereobm.cpp Rect validDisparityRect(0, 0, width, height), R1 = params.roi1, R2 = params.roi2; width 1157 modules/calib3d/src/stereobm.cpp validDisparityRect = getValidDisparityROI(R1.area() > 0 ? Rect(0, 0, width, height) : validDisparityRect, width 1158 modules/calib3d/src/stereobm.cpp R2.area() > 0 ? Rect(0, 0, width, height) : validDisparityRect, width 127 modules/calib3d/src/stereosgbm.cpp int x, c, width = img1.cols, cn = img1.channels(); width 128 modules/calib3d/src/stereosgbm.cpp int minX1 = std::max(-maxD, 0), maxX1 = width + std::min(minD, 0); width 129 modules/calib3d/src/stereosgbm.cpp int minX2 = std::max(minX1 - maxD, 0), maxX2 = std::min(maxX1 - minD, width); width 132 modules/calib3d/src/stereosgbm.cpp PixType *prow1 = buffer + width2*2, *prow2 = prow1 + width*cn*2; width 138 modules/calib3d/src/stereosgbm.cpp prow1[width*c] = prow1[width*c + width-1] = width 139 modules/calib3d/src/stereosgbm.cpp prow2[width*c] = prow2[width*c + width-1] = tab[0]; width 147 modules/calib3d/src/stereosgbm.cpp for( x = 1; x < width-1; x++ ) width 150 modules/calib3d/src/stereosgbm.cpp prow2[width-1-x] = tab[(row2[x+1] - row2[x-1])*2 + row2[x+n2+1] - row2[x+n2-1] + row2[x+s2+1] - row2[x+s2-1]]; width 152 modules/calib3d/src/stereosgbm.cpp prow1[x+width] = row1[x]; width 153 modules/calib3d/src/stereosgbm.cpp prow2[width-1-x+width] = row2[x]; width 158 modules/calib3d/src/stereosgbm.cpp for( x = 1; x < width-1; x++ ) width 161 modules/calib3d/src/stereosgbm.cpp prow1[x+width] = tab[(row1[x*3+4] - row1[x*3-2])*2 + row1[x*3+n1+4] - row1[x*3+n1-2] + row1[x*3+s1+4] - row1[x*3+s1-2]]; width 162 modules/calib3d/src/stereosgbm.cpp prow1[x+width*2] = tab[(row1[x*3+5] - row1[x*3-1])*2 + row1[x*3+n1+5] - row1[x*3+n1-1] + row1[x*3+s1+5] - row1[x*3+s1-1]]; width 164 modules/calib3d/src/stereosgbm.cpp prow2[width-1-x] = tab[(row2[x*3+3] - row2[x*3-3])*2 + row2[x*3+n2+3] - row2[x*3+n2-3] + row2[x*3+s2+3] - row2[x*3+s2-3]]; width 165 modules/calib3d/src/stereosgbm.cpp prow2[width-1-x+width] = tab[(row2[x*3+4] - row2[x*3-2])*2 + row2[x*3+n2+4] - row2[x*3+n2-2] + row2[x*3+s2+4] - row2[x*3+s2-2]]; width 166 modules/calib3d/src/stereosgbm.cpp prow2[width-1-x+width*2] = tab[(row2[x*3+5] - row2[x*3-1])*2 + row2[x*3+n2+5] - row2[x*3+n2-1] + row2[x*3+s2+5] - row2[x*3+s2-1]]; width 168 modules/calib3d/src/stereosgbm.cpp prow1[x+width*3] = row1[x*3]; width 169 modules/calib3d/src/stereosgbm.cpp prow1[x+width*4] = row1[x*3+1]; width 170 modules/calib3d/src/stereosgbm.cpp prow1[x+width*5] = row1[x*3+2]; width 172 modules/calib3d/src/stereosgbm.cpp prow2[width-1-x+width*3] = row2[x*3]; width 173 modules/calib3d/src/stereosgbm.cpp prow2[width-1-x+width*4] = row2[x*3+1]; width 174 modules/calib3d/src/stereosgbm.cpp prow2[width-1-x+width*5] = row2[x*3+2]; width 188 modules/calib3d/src/stereosgbm.cpp for( c = 0; c < cn*2; c++, prow1 += width, prow2 += width ) width 199 modules/calib3d/src/stereosgbm.cpp int vr = x < width-1 ? (v + prow2[x+1])/2 : v; width 210 modules/calib3d/src/stereosgbm.cpp int ur = x < width-1 ? (u + prow1[x+1])/2 : u; width 223 modules/calib3d/src/stereosgbm.cpp __m128i _v = _mm_loadu_si128((const __m128i*)(prow2 + width-x-1 + d)); width 224 modules/calib3d/src/stereosgbm.cpp __m128i _v0 = _mm_loadu_si128((const __m128i*)(buffer + width-x-1 + d)); width 225 modules/calib3d/src/stereosgbm.cpp __m128i _v1 = _mm_loadu_si128((const __m128i*)(buffer + width-x-1 + d + width2)); width 242 modules/calib3d/src/stereosgbm.cpp int v = prow2[width-x-1 + d]; width 243 modules/calib3d/src/stereosgbm.cpp int v0 = buffer[width-x-1 + d]; width 244 modules/calib3d/src/stereosgbm.cpp int v1 = buffer[width-x-1 + d + width2]; width 254 modules/calib3d/src/stereosgbm.cpp for( c = 0; c < cn*2; c++, prow1 += width, prow2 += width ) width 266 modules/calib3d/src/stereosgbm.cpp __m128i _v = _mm_loadu_si128((const __m128i*)(prow2 + width-1-x + d)); width 280 modules/calib3d/src/stereosgbm.cpp int v = prow2[width-1-x + d]; width 337 modules/calib3d/src/stereosgbm.cpp SADWindowSize.width = SADWindowSize.height = params.SADWindowSize > 0 ? params.SADWindowSize : 5; width 342 modules/calib3d/src/stereosgbm.cpp int k, width = disp1.cols, height = disp1.rows; width 343 modules/calib3d/src/stereosgbm.cpp int minX1 = std::max(-maxD, 0), maxX1 = width + std::min(minD, 0); width 346 modules/calib3d/src/stereosgbm.cpp int SW2 = SADWindowSize.width/2, SH2 = SADWindowSize.height/2; width 383 modules/calib3d/src/stereosgbm.cpp width*16*img1.channels()*sizeof(PixType) + // temp buffer for computing per-pixel cost width 384 modules/calib3d/src/stereosgbm.cpp width*(sizeof(CostType) + sizeof(DispType)) + 1024; // disp2cost + disp2 width 397 modules/calib3d/src/stereosgbm.cpp DispType* disp2ptr = (DispType*)(disp2cost + width); width 398 modules/calib3d/src/stereosgbm.cpp PixType* tempBuf = (PixType*)(disp2ptr + width); width 673 modules/calib3d/src/stereosgbm.cpp for( x = 0; x < width; x++ ) width 819 modules/calib3d/src/stereosgbm.cpp if( 0 <= _x && _x < width && disp2ptr[_x] >= minD && std::abs(disp2ptr[_x] - _d) > disp12MaxDiff && width 820 modules/calib3d/src/stereosgbm.cpp 0 <= x_ && x_ < width && disp2ptr[x_] >= minD && std::abs(disp2ptr[x_] - d_) > disp12MaxDiff ) width 965 modules/calib3d/src/stereosgbm.cpp int xmax = std::min(roi1.x + roi1.width, roi2.x + roi2.width - minD) - SW2; width 971 modules/calib3d/src/stereosgbm.cpp return r.width > 0 && r.height > 0 ? r : Rect(); width 981 modules/calib3d/src/stereosgbm.cpp int width = img.cols, height = img.rows, npixels = width*height; width 1001 modules/calib3d/src/stereosgbm.cpp int* ls = labels + width*i; width 1003 modules/calib3d/src/stereosgbm.cpp for( j = 0; j < width; j++ ) width 1028 modules/calib3d/src/stereosgbm.cpp int* lpp = labels + width*p.y + p.x; width 1030 modules/calib3d/src/stereosgbm.cpp if( p.y < height-1 && !lpp[+width] && dpp[+dstep] != newVal && std::abs(dp - dpp[+dstep]) <= maxDiff ) width 1032 modules/calib3d/src/stereosgbm.cpp lpp[+width] = curlabel; width 1036 modules/calib3d/src/stereosgbm.cpp if( p.y > 0 && !lpp[-width] && dpp[-dstep] != newVal && std::abs(dp - dpp[-dstep]) <= maxDiff ) width 1038 modules/calib3d/src/stereosgbm.cpp lpp[-width] = curlabel; width 1042 modules/calib3d/src/stereosgbm.cpp if( p.x < width-1 && !lpp[+1] && dpp[+1] != newVal && std::abs(dp - dpp[+1]) <= maxDiff ) width 130 modules/calib3d/test/test_cameracalibration.cpp sizes[OUTPUT][3] = cvSize(sizes[OUTPUT][1].height, sizes[OUTPUT][1].width); width 374 modules/calib3d/test/test_cameracalibration.cpp values_read = fscanf(file,"%d %d\n",&(imageSize.width),&(imageSize.height)); width 376 modules/calib3d/test/test_cameracalibration.cpp if( imageSize.width <= 0 || imageSize.height <= 0 ) width 384 modules/calib3d/test/test_cameracalibration.cpp values_read = fscanf(file,"%d %d\n",&(etalonSize.width),&(etalonSize.height)); width 386 modules/calib3d/test/test_cameracalibration.cpp if( etalonSize.width <= 0 || etalonSize.height <= 0 ) width 393 modules/calib3d/test/test_cameracalibration.cpp numPoints = etalonSize.width * etalonSize.height; width 421 modules/calib3d/test/test_cameracalibration.cpp numbers[currImage] = etalonSize.width * etalonSize.height; width 515 modules/calib3d/test/test_cameracalibration.cpp cameraMatrix[2] = (imageSize.width - 1)*0.5; width 534 modules/calib3d/test/test_cameracalibration.cpp int nPoints = etalonSize.width * etalonSize.height; width 556 modules/calib3d/test/test_cameracalibration.cpp for( currPoint = 0; currPoint < etalonSize.width * etalonSize.height; currPoint++ ) width 578 modules/calib3d/test/test_cameracalibration.cpp meanDx /= numImages * etalonSize.width * etalonSize.height; width 579 modules/calib3d/test/test_cameracalibration.cpp meanDy /= numImages * etalonSize.width * etalonSize.height; width 869 modules/calib3d/test/test_cameracalibration.cpp nx = imageSize.width / apertureWidth; width 878 modules/calib3d/test/test_cameracalibration.cpp goodFovx = 2 * atan( imageSize.width / (2 * fx)) * 180.0 / CV_PI; width 1038 modules/calib3d/test/test_cameracalibration.cpp cameraMatrix << 300.f, 0.f, imgSize.width/2.f, width 1057 modules/calib3d/test/test_cameracalibration.cpp point.at<float>(0,0) = (rng.uniform(2.f,(float)(imgSize.width-2)) - cameraMatrix(0,2)) / cameraMatrix(0,0) * z; width 1340 modules/calib3d/test/test_cameracalibration.cpp pts.push_back(Point2f((float)x*imgsize.width/(N-1), (float)y*imgsize.height/(N-1))); width 1344 modules/calib3d/test/test_cameracalibration.cpp if( upts[k].x < -imgsize.width*eps || upts[k].x > imgsize.width*(1+eps) || width 1358 modules/calib3d/test/test_cameracalibration.cpp if(roi.x < 0 || roi.y < 0 || roi.x + roi.width > imgsize.width || roi.y + roi.height > imgsize.height) width 1361 modules/calib3d/test/test_cameracalibration.cpp test_case_idx, roi.x, roi.y, roi.width, roi.height); width 1392 modules/calib3d/test/test_cameracalibration.cpp if( !f || !fgets(buf, sizeof(buf)-3, f) || sscanf(buf, "%d%d", &patternSize.width, &patternSize.height) != 2 ) width 1422 modules/calib3d/test/test_cameracalibration.cpp int npoints = patternSize.width*patternSize.height; width 1452 modules/calib3d/test/test_cameracalibration.cpp objpt[i].push_back(Point3f((float)(j%patternSize.width), (float)(j/patternSize.width), 0.f)); width 1457 modules/calib3d/test/test_cameracalibration.cpp M1.at<double>(0,2) = M2.at<double>(0,2)=(imgsize.width-1)*0.5; width 69 modules/calib3d/test/test_cameracalibration_artificial.cpp Point3f p01 = points[cornerSize.width]; width 261 modules/calib3d/test/test_cameracalibration_artificial.cpp for(int i = 0; i < cornersSize.width; ++i) width 262 modules/calib3d/test/test_cameracalibration_artificial.cpp chessboard3D.push_back(Point3f(sqSile.width * i, sqSile.height * j, 0)); width 93 modules/calib3d/test/test_cameracalibration_badarg.cpp camMat << 300.f, 0.f, imgSize.width/2.f, 0, 300.f, imgSize.height/2.f, 0.f, 0.f, 1.f; width 100 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat_<Point2f>(corSize.height, corSize.width, (Point2f*)&exp_corn[0]).copyTo(corners); width 126 modules/calib3d/test/test_cameracalibration_badarg.cpp for(int i = 0; i < corSize.width; ++i) width 131 modules/calib3d/test/test_cameracalibration_badarg.cpp npoints_cpp = Mat_<int>(M, 1, corSize.width * corSize.height); width 175 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.imageSize.width = -1; width 183 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat bad_nts_cpp2 = Mat_<int>(3, 3, corSize.width * corSize.height); width 279 modules/calib3d/test/test_cameracalibration_badarg.cpp CM[0] = 500; CM[4] = 500; CM[2] = imgSize.width*2; //bad cx width 282 modules/calib3d/test/test_cameracalibration_badarg.cpp CM[0] = 500; CM[4] = 500; CM[2] = imgSize.width/2; CM[5] = -1; //bad cy width 285 modules/calib3d/test/test_cameracalibration_badarg.cpp CM[0] = 500; CM[4] = 500; CM[2] = imgSize.width/2; CM[5] = imgSize.height*2; //bad cy width 288 modules/calib3d/test/test_cameracalibration_badarg.cpp CM[0] = 500; CM[4] = 500; CM[2] = imgSize.width/2; CM[5] = imgSize.height/2; width 460 modules/calib3d/test/test_cameracalibration_badarg.cpp camMat << 300.f, 0.f, imsSize.width/2.f, 0, 300.f, imsSize.height/2.f, 0.f, 0.f, 1.f; width 69 modules/calib3d/test/test_chessboardgenerator.cpp return Size(patternSize.width-1, patternSize.height-1); width 115 modules/calib3d/test/test_chessboardgenerator.cpp for(int i = 0; i < patternSize.width; ++i) width 141 modules/calib3d/test/test_chessboardgenerator.cpp for(int i = 0; i < patternSize.width - 1; ++i) width 203 modules/calib3d/test/test_chessboardgenerator.cpp float cbHalfHeight = cbHalfWidth * patternSize.height / patternSize.width; width 205 modules/calib3d/test/test_chessboardgenerator.cpp float cbHalfWidthEx = cbHalfWidth * ( patternSize.width + 1) / patternSize.width; width 229 modules/calib3d/test/test_chessboardgenerator.cpp cbHalfHeight = cbHalfWidth * patternSize.height / patternSize.width; width 231 modules/calib3d/test/test_chessboardgenerator.cpp cbHalfWidthEx = cbHalfWidth * ( patternSize.width + 1) / patternSize.width; width 236 modules/calib3d/test/test_chessboardgenerator.cpp float sqWidth = 2 * cbHalfWidth/patternSize.width; width 267 modules/calib3d/test/test_chessboardgenerator.cpp float cbHalfWidth = squareSize.width * patternSize.width * 0.5f; width 270 modules/calib3d/test/test_chessboardgenerator.cpp float cbHalfWidthEx = cbHalfWidth * ( patternSize.width + 1) / patternSize.width; width 299 modules/calib3d/test/test_chessboardgenerator.cpp squareSize.width, squareSize.height, pts3d, corners); width 310 modules/calib3d/test/test_chessboardgenerator.cpp float cbHalfWidth = squareSize.width * patternSize.width * 0.5f; width 313 modules/calib3d/test/test_chessboardgenerator.cpp float cbHalfWidthEx = cbHalfWidth * ( patternSize.width + 1) / patternSize.width; width 330 modules/calib3d/test/test_chessboardgenerator.cpp squareSize.width, squareSize.height, pts3d, corners); width 335 modules/calib3d/test/test_chesscorners.cpp Mat_<Point2f> mat(cornersSize.height, cornersSize.width, (Point2f*)&corners_generated[0]); width 362 modules/calib3d/test/test_chesscorners.cpp double cbsize = (max(cornersSize.width, cornersSize.height) + 1) * minNeibDist; width 363 modules/calib3d/test/test_chesscorners.cpp int imgsize = min(imgSz.height, imgSz.width); width 102 modules/calib3d/test/test_chesscorners_timing.cpp pattern_size.width = cvReadInt((CvFileNode*)cvGetSeqElem(board_list->data.seq,idx*4 + 2), -1); width 126 modules/calib3d/test/test_chesscorners_timing.cpp gray = cvCreateImage( cvSize( img.width, img.height ), IPL_DEPTH_8U, 1 ); width 127 modules/calib3d/test/test_chesscorners_timing.cpp thresh = cvCreateImage( cvSize( img.width, img.height ), IPL_DEPTH_8U, 1 ); width 131 modules/calib3d/test/test_chesscorners_timing.cpp count0 = pattern_size.width*pattern_size.height; width 160 modules/calib3d/test/test_chesscorners_timing.cpp int num_pixels = gray->width*gray->height; width 148 modules/calib3d/test/test_cornerssubpix.cpp ChessBoardGenerator gen_chessboard(Size(pattern_size.width + 1, pattern_size.height + 1)); width 162 modules/calib3d/test/test_cornerssubpix.cpp ts->printf(cvtest::TS::LOG, "Size = %d, %d\n", pattern_size.width, pattern_size.height); width 230 modules/calib3d/test/test_cornerssubpix.cpp double cx = image_size_.width/2; width 71 modules/calib3d/test/test_fisheye.cpp double cols = this->imageSize.width, width 292 modules/calib3d/test/test_fisheye.cpp param.Init(cv::Vec2d(cv::max(imageSize.width, imageSize.height) / CV_PI, cv::max(imageSize.width, imageSize.height) / CV_PI), width 293 modules/calib3d/test/test_fisheye.cpp cv::Vec2d(imageSize.width / 2.0 - 0.5, imageSize.height / 2.0 - 0.5)); width 599 modules/calib3d/test/test_fundam.cpp sizes[OUTPUT][3] = cvSize(sizes[OUTPUT][1].height, sizes[OUTPUT][1].width); width 101 modules/calib3d/test/test_stereomatching.cpp if( sz && (dispMap.rows != sz->height || dispMap.cols != sz->width) ) width 111 modules/calib3d/test/test_stereomatching.cpp if( mask.rows != sz.height || mask.cols != sz.width ) width 259 modules/calib3d/test/test_stereomatching.cpp int w = maskSize.width - 2*border, h = maskSize.height - 2*border; width 276 modules/calib3d/test/test_stereomatching.cpp int pointsCount = sz.height*sz.width; width 299 modules/calib3d/test/test_stereomatching.cpp int pointsCount = sz.height*sz.width; width 100 modules/calib3d/test/test_undistort.cpp img_size.width = cvtest::randInt(rng) % MAX_X + 1; width 106 modules/calib3d/test/test_undistort.cpp double sz = MAX(img_size.width, img_size.height); width 110 modules/calib3d/test/test_undistort.cpp a[2] = (img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; width 153 modules/calib3d/test/test_undistort.cpp a[2] = (img_size.width - 1)*0.5; width 268 modules/calib3d/test/test_undistort.cpp img_size.width = cvtest::randInt(rng) % MAX_X + 1; width 286 modules/calib3d/test/test_undistort.cpp points[i].x = cvtest::randReal(rng)*img_size.width; width 291 modules/calib3d/test/test_undistort.cpp double sz = MAX(img_size.width,img_size.height); width 293 modules/calib3d/test/test_undistort.cpp cam[2] = (img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; width 330 modules/calib3d/test/test_undistort.cpp proj[2] = cam[2] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.width; //15% width 339 modules/calib3d/test/test_undistort.cpp proj[2] = cam[2] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.width; //15% width 342 modules/calib3d/test/test_undistort.cpp proj[3] = (img_size.height + img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; width 343 modules/calib3d/test/test_undistort.cpp proj[7] = (img_size.height + img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; width 344 modules/calib3d/test/test_undistort.cpp proj[11] = (img_size.height + img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; width 671 modules/calib3d/test/test_undistort.cpp img_size.width = cvtest::randInt(rng) % MAX_X + 1; width 690 modules/calib3d/test/test_undistort.cpp _mapx = cvCreateMat(img_size.height,img_size.width,typex); width 691 modules/calib3d/test/test_undistort.cpp _mapy = cvCreateMat(img_size.height,img_size.width,typey); width 710 modules/calib3d/test/test_undistort.cpp points[i].x = cvtest::randReal(rng)*img_size.width; width 715 modules/calib3d/test/test_undistort.cpp double sz = MAX(img_size.width,img_size.height); width 717 modules/calib3d/test/test_undistort.cpp cam[2] = (img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; width 752 modules/calib3d/test/test_undistort.cpp new_cam[2] = cam[2] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.width; //15% width 103 modules/calib3d/test/test_undistort_badarg.cpp img_size.width = 800; width 105 modules/calib3d/test/test_undistort_badarg.cpp double cam[9] = {150.f, 0.f, img_size.width/2.f, 0, 300.f, img_size.height/2.f, 0.f, 0.f, 1.f}; width 108 modules/calib3d/test/test_undistort_badarg.cpp static_cast<double>(img_size.width) / 4.0, width 112 modules/calib3d/test/test_undistort_badarg.cpp double p[9] = {155.f, 0.f, img_size.width/2.f+img_size.width/50.f, 0, 310.f, img_size.height/2.f+img_size.height/50.f, 0.f, 0.f, 1.f}; width 132 modules/calib3d/test/test_undistort_badarg.cpp IplImage* temp_img = cvCreateImage(cvSize(img_size.width,img_size.height),8,3); width 339 modules/calib3d/test/test_undistort_badarg.cpp img_size.width = 800; width 341 modules/calib3d/test/test_undistort_badarg.cpp double cam[9] = {150.f, 0.f, img_size.width/2.f, 0, 300.f, img_size.height/2.f, 0.f, 0.f, 1.f}; width 343 modules/calib3d/test/test_undistort_badarg.cpp float* arr_mapx = new float[img_size.width*img_size.height]; width 344 modules/calib3d/test/test_undistort_badarg.cpp float* arr_mapy = new float[img_size.width*img_size.height]; width 345 modules/calib3d/test/test_undistort_badarg.cpp double arr_new_camera_mat[9] = {155.f, 0.f, img_size.width/2.f+img_size.width/50.f, 0, 310.f, img_size.height/2.f+img_size.height/50.f, 0.f, 0.f, 1.f}; width 352 modules/calib3d/test/test_undistort_badarg.cpp CvMat _mapx_orig = cvMat(img_size.height,img_size.width,CV_32FC1,arr_mapx); width 353 modules/calib3d/test/test_undistort_badarg.cpp CvMat _mapy_orig = cvMat(img_size.height,img_size.width,CV_32FC1,arr_mapy); width 461 modules/calib3d/test/test_undistort_badarg.cpp img_size.width = 800; width 463 modules/calib3d/test/test_undistort_badarg.cpp double cam[9] = {150.f, 0.f, img_size.width/2.f, 0, 300.f, img_size.height/2.f, 0.f, 0.f, 1.f}; width 465 modules/calib3d/test/test_undistort_badarg.cpp float* arr_src = new float[img_size.width*img_size.height]; width 466 modules/calib3d/test/test_undistort_badarg.cpp float* arr_dst = new float[img_size.width*img_size.height]; width 467 modules/calib3d/test/test_undistort_badarg.cpp double arr_new_camera_mat[9] = {155.f, 0.f, img_size.width/2.f+img_size.width/50.f, 0, 310.f, img_size.height/2.f+img_size.height/50.f, 0.f, 0.f, 1.f}; width 472 modules/calib3d/test/test_undistort_badarg.cpp CvMat _src_orig = cvMat(img_size.height,img_size.width,CV_32FC1,arr_src); width 473 modules/calib3d/test/test_undistort_badarg.cpp CvMat _dst_orig = cvMat(img_size.height,img_size.width,CV_32FC1,arr_dst); width 74 modules/core/include/opencv2/core/cuda.inl.hpp if (size_.height > 0 && size_.width > 0) width 75 modules/core/include/opencv2/core/cuda.inl.hpp create(size_.height, size_.width, type_); width 93 modules/core/include/opencv2/core/cuda.inl.hpp if (size_.height > 0 && size_.width > 0) width 95 modules/core/include/opencv2/core/cuda.inl.hpp create(size_.height, size_.width, type_); width 136 modules/core/include/opencv2/core/cuda.inl.hpp create(size_.height, size_.width, type_); width 357 modules/core/include/opencv2/core/cuda.inl.hpp createContinuous(size.height, size.width, type, arr); width 371 modules/core/include/opencv2/core/cuda.inl.hpp ensureSizeIsEnough(size.height, size.width, type, arr); width 410 modules/core/include/opencv2/core/cuda.inl.hpp if (size_.height > 0 && size_.width > 0) width 411 modules/core/include/opencv2/core/cuda.inl.hpp create(size_.height, size_.width, type_); width 464 modules/core/include/opencv2/core/cuda.inl.hpp create(size_.height, size_.width, type_); width 65 modules/core/include/opencv2/core/cuda/border_interpolate.hpp explicit __host__ __device__ __forceinline__ BrdRowConstant(int width_, const D& val_ = VecTraits<D>::all(0)) : width(width_), val(val_) {} width 74 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return x < width ? saturate_cast<D>(data[x]) : val; width 79 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0 && x < width) ? saturate_cast<D>(data[x]) : val; width 82 modules/core/include/opencv2/core/cuda/border_interpolate.hpp int width; width 115 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __host__ __device__ __forceinline__ BrdConstant(int height_, int width_, const D& val_ = VecTraits<D>::all(0)) : height(height_), width(width_), val(val_) width 121 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(((const T*)((const uchar*)data + y * step))[x]) : val; width 126 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(src(y, x)) : val; width 130 modules/core/include/opencv2/core/cuda/border_interpolate.hpp int width; width 141 modules/core/include/opencv2/core/cuda/border_interpolate.hpp explicit __host__ __device__ __forceinline__ BrdRowReplicate(int width) : last_col(width - 1) {} width 142 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename U> __host__ __device__ __forceinline__ BrdRowReplicate(int width, U) : last_col(width - 1) {} width 221 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __host__ __device__ __forceinline__ BrdReplicate(int height, int width) : last_row(height - 1), last_col(width - 1) {} width 222 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename U> __host__ __device__ __forceinline__ BrdReplicate(int height, int width, U) : last_row(height - 1), last_col(width - 1) {} width 275 modules/core/include/opencv2/core/cuda/border_interpolate.hpp explicit __host__ __device__ __forceinline__ BrdRowReflect101(int width) : last_col(width - 1) {} width 276 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename U> __host__ __device__ __forceinline__ BrdRowReflect101(int width, U) : last_col(width - 1) {} width 355 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __host__ __device__ __forceinline__ BrdReflect101(int height, int width) : last_row(height - 1), last_col(width - 1) {} width 356 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename U> __host__ __device__ __forceinline__ BrdReflect101(int height, int width, U) : last_row(height - 1), last_col(width - 1) {} width 409 modules/core/include/opencv2/core/cuda/border_interpolate.hpp explicit __host__ __device__ __forceinline__ BrdRowReflect(int width) : last_col(width - 1) {} width 410 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename U> __host__ __device__ __forceinline__ BrdRowReflect(int width, U) : last_col(width - 1) {} width 489 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __host__ __device__ __forceinline__ BrdReflect(int height, int width) : last_row(height - 1), last_col(width - 1) {} width 490 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename U> __host__ __device__ __forceinline__ BrdReflect(int height, int width, U) : last_row(height - 1), last_col(width - 1) {} width 543 modules/core/include/opencv2/core/cuda/border_interpolate.hpp explicit __host__ __device__ __forceinline__ BrdRowWrap(int width_) : width(width_) {} width 544 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename U> __host__ __device__ __forceinline__ BrdRowWrap(int width_, U) : width(width_) {} width 548 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0) * x + (x < 0) * (x - ((x - width + 1) / width) * width); width 553 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x < width) * x + (x >= width) * (x % width); width 576 modules/core/include/opencv2/core/cuda/border_interpolate.hpp int width; width 650 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0) * x + (x < 0) * (x - ((x - width + 1) / width) * width); width 655 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x < width) * x + (x >= width) * (x % width); width 674 modules/core/include/opencv2/core/cuda/border_interpolate.hpp int width; width 704 modules/core/include/opencv2/core/cuda/border_interpolate.hpp src(src_), height(b.height), width(b.width), val(b.val) width 710 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(src(y, x)) : val; width 715 modules/core/include/opencv2/core/cuda/border_interpolate.hpp int width; width 97 modules/core/include/opencv2/core/cuda/detail/reduce.hpp static __device__ void mergeShfl(const ValTuple& val, unsigned int delta, unsigned int width, const OpTuple& op) width 99 modules/core/include/opencv2/core/cuda/detail/reduce.hpp typename GetType<typename thrust::tuple_element<I, ValTuple>::type>::type reg = shfl_down(thrust::get<I>(val), delta, width); width 102 modules/core/include/opencv2/core/cuda/detail/reduce.hpp For<I + 1, N>::mergeShfl(val, delta, width, op); width 161 modules/core/include/opencv2/core/cuda/detail/reduce.hpp __device__ __forceinline__ void mergeShfl(T& val, unsigned int delta, unsigned int width, const Op& op) width 163 modules/core/include/opencv2/core/cuda/detail/reduce.hpp T reg = shfl_down(val, delta, width); width 181 modules/core/include/opencv2/core/cuda/detail/reduce.hpp unsigned int width, width 184 modules/core/include/opencv2/core/cuda/detail/reduce.hpp For<0, thrust::tuple_size<thrust::tuple<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9> >::value>::mergeShfl(val, delta, width, op); width 89 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp static __device__ void copyShfl(const ReferenceTuple& val, unsigned int delta, int width) width 91 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp thrust::get<I>(val) = shfl_down(thrust::get<I>(val), delta, width); width 93 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp For<I + 1, N>::copyShfl(val, delta, width); width 104 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp static __device__ void mergeShfl(const KeyReferenceTuple& key, const ValReferenceTuple& val, const CmpTuple& cmp, unsigned int delta, int width) width 106 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp typename GetType<typename thrust::tuple_element<I, KeyReferenceTuple>::type>::type reg = shfl_down(thrust::get<I>(key), delta, width); width 111 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp thrust::get<I>(val) = shfl_down(thrust::get<I>(val), delta, width); width 114 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp For<I + 1, N>::mergeShfl(key, val, cmp, delta, width); width 201 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp __device__ __forceinline__ void copyValsShfl(V& val, unsigned int delta, int width) width 203 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp val = shfl_down(val, delta, width); width 213 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp int width) width 215 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp For<0, thrust::tuple_size<thrust::tuple<VR0, VR1, VR2, VR3, VR4, VR5, VR6, VR7, VR8, VR9> >::value>::copyShfl(val, delta, width); width 230 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp __device__ __forceinline__ void mergeShfl(K& key, V& val, const Cmp& cmp, unsigned int delta, int width) width 232 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp K reg = shfl_down(key, delta, width); width 237 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp copyValsShfl(val, delta, width); width 257 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp unsigned int delta, int width) width 259 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp K reg = shfl_down(key, delta, width); width 264 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp copyValsShfl(val, delta, width); width 290 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp unsigned int delta, int width) width 292 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp For<0, thrust::tuple_size<thrust::tuple<KR0, KR1, KR2, KR3, KR4, KR5, KR6, KR7, KR8, KR9> >::value>::mergeShfl(key, val, cmp, delta, width); width 238 modules/core/include/opencv2/core/cuda/filters.hpp float scale = 1.f / (fminf(scale_x, src.width - fsx1) * fminf(scale_y, src.height - fsy1)); width 280 modules/core/include/opencv2/core/cuda/filters.hpp int width, haight; width 55 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp __device__ __forceinline__ T shfl(T val, int srcLane, int width = warpSize) width 58 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp return __shfl(val, srcLane, width); width 63 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp __device__ __forceinline__ unsigned int shfl(unsigned int val, int srcLane, int width = warpSize) width 66 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp return (unsigned int) __shfl((int) val, srcLane, width); width 71 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp __device__ __forceinline__ double shfl(double val, int srcLane, int width = warpSize) width 77 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp lo = __shfl(lo, srcLane, width); width 78 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp hi = __shfl(hi, srcLane, width); width 87 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp __device__ __forceinline__ T shfl_down(T val, unsigned int delta, int width = warpSize) width 90 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp return __shfl_down(val, delta, width); width 95 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp __device__ __forceinline__ unsigned int shfl_down(unsigned int val, unsigned int delta, int width = warpSize) width 98 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp return (unsigned int) __shfl_down((int) val, delta, width); width 103 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp __device__ __forceinline__ double shfl_down(double val, unsigned int delta, int width = warpSize) width 109 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp lo = __shfl_down(lo, delta, width); width 110 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp hi = __shfl_down(hi, delta, width); width 119 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp __device__ __forceinline__ T shfl_up(T val, unsigned int delta, int width = warpSize) width 122 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp return __shfl_up(val, delta, width); width 127 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp __device__ __forceinline__ unsigned int shfl_up(unsigned int val, unsigned int delta, int width = warpSize) width 130 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp return (unsigned int) __shfl_up((int) val, delta, width); width 135 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp __device__ __forceinline__ double shfl_up(double val, unsigned int delta, int width = warpSize) width 141 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp lo = __shfl_up(lo, delta, width); width 142 modules/core/include/opencv2/core/cuda/warp_shuffle.hpp hi = __shfl_up(hi, delta, width); width 252 modules/core/include/opencv2/core/cvstd.inl.hpp return out << "[" << size.width << " x " << size.height << "]"; width 258 modules/core/include/opencv2/core/cvstd.inl.hpp return out << "[" << rect.width << " x " << rect.height << " from (" << rect.x << ", " << rect.y << ")]"; width 107 modules/core/include/opencv2/core/ippasync.hpp hpp32u width, height; width 113 modules/core/include/opencv2/core/ippasync.hpp sts = hppiInquireMatrix(src, &type, &width, &height); width 119 modules/core/include/opencv2/core/ippasync.hpp CV_Assert(width%cn == 0); width 121 modules/core/include/opencv2/core/ippasync.hpp width /= cn; width 123 modules/core/include/opencv2/core/ippasync.hpp dst.create((int)height, (int)width, (int)matType); width 345 modules/core/include/opencv2/core/mat.inl.hpp create( _sz.height, _sz.width, _type ); width 353 modules/core/include/opencv2/core/mat.inl.hpp create(_sz.height, _sz.width, _type); width 426 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL + (_type & TYPE_MASK)), dims(2), rows(_sz.height), cols(_sz.width), width 654 modules/core/include/opencv2/core/mat.inl.hpp create(_sz.height, _sz.width, _type); width 1219 modules/core/include/opencv2/core/mat.inl.hpp : Mat(_sz.height, _sz.width, DataType<_Tp>::type) width 1224 modules/core/include/opencv2/core/mat.inl.hpp : Mat(_sz.height, _sz.width, DataType<_Tp>::type) width 3143 modules/core/include/opencv2/core/mat.inl.hpp create( _sz.height, _sz.width, _type ); width 3150 modules/core/include/opencv2/core/mat.inl.hpp create(_sz.height, _sz.width, _type); width 3297 modules/core/include/opencv2/core/mat.inl.hpp create(_sz.height, _sz.width, _type, _usageFlags); width 556 modules/core/include/opencv2/core/opengl.hpp create(asize.height, asize.width, atype, target, autoRelease); width 630 modules/core/include/opencv2/core/opengl.hpp create(asize.height, asize.width, aformat, autoRelease); width 873 modules/core/include/opencv2/core/persistence.hpp write(fs, sz.width); width 889 modules/core/include/opencv2/core/persistence.hpp write(fs, r.width); width 89 modules/core/include/opencv2/core/private.cuda.hpp return getOutputMat(_dst, size.height, size.width, type, stream); width 111 modules/core/include/opencv2/core/private.cuda.hpp GpuMat getBuffer(Size size, int type) { return getBuffer(size.height, size.width, type); } width 202 modules/core/include/opencv2/core/private.hpp static inline IppiSize ippiSize(int width, int height) width 204 modules/core/include/opencv2/core/private.hpp IppiSize size = { width, height }; width 210 modules/core/include/opencv2/core/private.hpp IppiSize size = { _size.width, _size.height }; width 302 modules/core/include/opencv2/core/types.hpp _Tp width, height; // the width and the height width 403 modules/core/include/opencv2/core/types.hpp _Tp x, y, width, height; //< the top-left corner, as well as width and height of the rectangle width 1075 modules/core/include/opencv2/core/types.hpp : x(sz.width), y(sz.height) {} width 1548 modules/core/include/opencv2/core/types.hpp : width(0), height(0) {} width 1552 modules/core/include/opencv2/core/types.hpp : width(_width), height(_height) {} width 1556 modules/core/include/opencv2/core/types.hpp : width(sz.width), height(sz.height) {} width 1560 modules/core/include/opencv2/core/types.hpp : width(pt.x), height(pt.y) {} width 1565 modules/core/include/opencv2/core/types.hpp return Size_<_Tp2>(saturate_cast<_Tp2>(width), saturate_cast<_Tp2>(height)); width 1571 modules/core/include/opencv2/core/types.hpp width = sz.width; height = sz.height; width 1578 modules/core/include/opencv2/core/types.hpp return width * height; width 1584 modules/core/include/opencv2/core/types.hpp a.width *= b; width 1600 modules/core/include/opencv2/core/types.hpp a.width /= b; width 1616 modules/core/include/opencv2/core/types.hpp a.width += b.width; width 1632 modules/core/include/opencv2/core/types.hpp a.width -= b.width; width 1648 modules/core/include/opencv2/core/types.hpp return a.width == b.width && a.height == b.height; width 1663 modules/core/include/opencv2/core/types.hpp : x(0), y(0), width(0), height(0) {} width 1667 modules/core/include/opencv2/core/types.hpp : x(_x), y(_y), width(_width), height(_height) {} width 1671 modules/core/include/opencv2/core/types.hpp : x(r.x), y(r.y), width(r.width), height(r.height) {} width 1675 modules/core/include/opencv2/core/types.hpp : x(org.x), y(org.y), width(sz.width), height(sz.height) {} width 1682 modules/core/include/opencv2/core/types.hpp width = std::max(pt1.x, pt2.x) - x; width 1691 modules/core/include/opencv2/core/types.hpp width = r.width; width 1705 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>(x + width, y + height); width 1711 modules/core/include/opencv2/core/types.hpp return Size_<_Tp>(width, height); width 1717 modules/core/include/opencv2/core/types.hpp return width * height; width 1723 modules/core/include/opencv2/core/types.hpp return Rect_<_Tp2>(saturate_cast<_Tp2>(x), saturate_cast<_Tp2>(y), saturate_cast<_Tp2>(width), saturate_cast<_Tp2>(height)); width 1729 modules/core/include/opencv2/core/types.hpp return x <= pt.x && pt.x < x + width && y <= pt.y && pt.y < y + height; width 1752 modules/core/include/opencv2/core/types.hpp a.width += b.width; width 1760 modules/core/include/opencv2/core/types.hpp a.width -= b.width; width 1770 modules/core/include/opencv2/core/types.hpp a.width = std::min(a.x + a.width, b.x + b.width) - x1; width 1774 modules/core/include/opencv2/core/types.hpp if( a.width <= 0 || a.height <= 0 ) width 1784 modules/core/include/opencv2/core/types.hpp a.width = std::max(a.x + a.width, b.x + b.width) - x1; width 1794 modules/core/include/opencv2/core/types.hpp return a.x == b.x && a.y == b.y && a.width == b.width && a.height == b.height; width 1800 modules/core/include/opencv2/core/types.hpp return a.x != b.x || a.y != b.y || a.width != b.width || a.height != b.height; width 1806 modules/core/include/opencv2/core/types.hpp return Rect_<_Tp>( a.x + b.x, a.y + b.y, a.width, a.height ); width 1812 modules/core/include/opencv2/core/types.hpp return Rect_<_Tp>( a.x - b.x, a.y - b.y, a.width, a.height ); width 1818 modules/core/include/opencv2/core/types.hpp return Rect_<_Tp>( a.x, a.y, a.width + b.width, a.height + b.height ); width 316 modules/core/include/opencv2/core/types_c.h int width; /**< Image width in pixels. */ width 347 modules/core/include/opencv2/core/types_c.h int width; width 451 modules/core/include/opencv2/core/types_c.h int width; width 782 modules/core/include/opencv2/core/types_c.h int width; width 786 modules/core/include/opencv2/core/types_c.h CvRect(int _x = 0, int _y = 0, int w = 0, int h = 0): x(_x), y(_y), width(w), height(h) {} width 788 modules/core/include/opencv2/core/types_c.h CvRect(const cv::Rect_<_Tp>& r): x(cv::saturate_cast<int>(r.x)), y(cv::saturate_cast<int>(r.y)), width(cv::saturate_cast<int>(r.width)), height(cv::saturate_cast<int>(r.height)) {} width 790 modules/core/include/opencv2/core/types_c.h operator cv::Rect_<_Tp>() const { return cv::Rect_<_Tp>((_Tp)x, (_Tp)y, (_Tp)width, (_Tp)height); } width 796 modules/core/include/opencv2/core/types_c.h CV_INLINE CvRect cvRect( int x, int y, int width, int height ) width 802 modules/core/include/opencv2/core/types_c.h r.width = width; width 814 modules/core/include/opencv2/core/types_c.h roi.width = rect.width; width 824 modules/core/include/opencv2/core/types_c.h return cvRect( roi.xOffset, roi.yOffset, roi.width, roi.height ); width 1009 modules/core/include/opencv2/core/types_c.h int width; width 1013 modules/core/include/opencv2/core/types_c.h CvSize(int w = 0, int h = 0): width(w), height(h) {} width 1015 modules/core/include/opencv2/core/types_c.h CvSize(const cv::Size_<_Tp>& sz): width(cv::saturate_cast<int>(sz.width)), height(cv::saturate_cast<int>(sz.height)) {} width 1017 modules/core/include/opencv2/core/types_c.h operator cv::Size_<_Tp>() const { return cv::Size_<_Tp>(cv::saturate_cast<_Tp>(width), cv::saturate_cast<_Tp>(height)); } width 1023 modules/core/include/opencv2/core/types_c.h CV_INLINE CvSize cvSize( int width, int height ) width 1027 modules/core/include/opencv2/core/types_c.h s.width = width; width 1035 modules/core/include/opencv2/core/types_c.h float width; width 1039 modules/core/include/opencv2/core/types_c.h CvSize2D32f(float w = 0, float h = 0): width(w), height(h) {} width 1041 modules/core/include/opencv2/core/types_c.h CvSize2D32f(const cv::Size_<_Tp>& sz): width(cv::saturate_cast<float>(sz.width)), height(cv::saturate_cast<float>(sz.height)) {} width 1043 modules/core/include/opencv2/core/types_c.h operator cv::Size_<_Tp>() const { return cv::Size_<_Tp>(cv::saturate_cast<_Tp>(width), cv::saturate_cast<_Tp>(height)); } width 1049 modules/core/include/opencv2/core/types_c.h CV_INLINE CvSize2D32f cvSize2D32f( double width, double height ) width 1053 modules/core/include/opencv2/core/types_c.h s.width = (float)width; width 188 modules/core/include/opencv2/core/wimage.hpp int Width() const {return image_->width; } width 231 modules/core/include/opencv2/core/wimage.hpp WImageView<T> View(int c, int r, int width, int height); width 267 modules/core/include/opencv2/core/wimage.hpp WImageViewC<T, C> View(int c, int r, int width, int height); width 303 modules/core/include/opencv2/core/wimage.hpp WImageBuffer(int width, int height, int nchannels) : WImage<T>(0) { width 304 modules/core/include/opencv2/core/wimage.hpp Allocate(width, height, nchannels); width 313 modules/core/include/opencv2/core/wimage.hpp void Allocate(int width, int height, int nchannels); width 360 modules/core/include/opencv2/core/wimage.hpp WImageBufferC(int width, int height) : WImageC<T, C>(0) { width 361 modules/core/include/opencv2/core/wimage.hpp Allocate(width, height); width 370 modules/core/include/opencv2/core/wimage.hpp void Allocate(int width, int height); width 415 modules/core/include/opencv2/core/wimage.hpp WImageView(WImage<T>* img, int c, int r, int width, int height); width 419 modules/core/include/opencv2/core/wimage.hpp WImageView(T* data, int width, int height, int channels, int width_step = -1); width 457 modules/core/include/opencv2/core/wimage.hpp int c, int r, int width, int height); width 460 modules/core/include/opencv2/core/wimage.hpp WImageViewC(T* data, int width, int height, int width_step = -1); width 514 modules/core/include/opencv2/core/wimage.hpp inline void WImageBuffer<T>::Allocate(int width, int height, int nchannels) width 516 modules/core/include/opencv2/core/wimage.hpp if (IsNull() || WImage<T>::Width() != width || width 519 modules/core/include/opencv2/core/wimage.hpp WImage<T>::image_ = cvCreateImage(cvSize(width, height), width 525 modules/core/include/opencv2/core/wimage.hpp inline void WImageBufferC<T, C>::Allocate(int width, int height) width 527 modules/core/include/opencv2/core/wimage.hpp if (IsNull() || WImage<T>::Width() != width || WImage<T>::Height() != height) { width 529 modules/core/include/opencv2/core/wimage.hpp WImageC<T, C>::SetIpl(cvCreateImage(cvSize(width, height),WImage<T>::Depth(), C)); width 534 modules/core/include/opencv2/core/wimage.hpp WImageView<T>::WImageView(WImage<T>* img, int c, int r, int width, int height) width 539 modules/core/include/opencv2/core/wimage.hpp header_.width = width; width 545 modules/core/include/opencv2/core/wimage.hpp WImageView<T>::WImageView(T* data, int width, int height, int nchannels, int width_step) width 548 modules/core/include/opencv2/core/wimage.hpp cvInitImageHeader(&header_, cvSize(width, height), WImage<T>::Depth(), nchannels); width 557 modules/core/include/opencv2/core/wimage.hpp WImageViewC<T, C>::WImageViewC(WImageC<T, C>* img, int c, int r, int width, int height) width 562 modules/core/include/opencv2/core/wimage.hpp header_.width = width; width 575 modules/core/include/opencv2/core/wimage.hpp WImageViewC<T, C>::WImageViewC(T* data, int width, int height, int width_step) width 578 modules/core/include/opencv2/core/wimage.hpp cvInitImageHeader(&header_, cvSize(width, height), WImage<T>::Depth(), C); width 588 modules/core/include/opencv2/core/wimage.hpp WImageView<T> WImage<T>::View(int c, int r, int width, int height) { width 589 modules/core/include/opencv2/core/wimage.hpp return WImageView<T>(this, c, r, width, height); width 593 modules/core/include/opencv2/core/wimage.hpp WImageViewC<T, C> WImageC<T, C>::View(int c, int r, int width, int height) { width 594 modules/core/include/opencv2/core/wimage.hpp return WImageViewC<T, C>(this, c, r, width, height); width 50 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(size.width, size.height, type); width 76 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(size.width, size.height, type, s.val[0], s.val[1], s.val[2], s.val[3]); width 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); width 353 modules/core/misc/java/src/java/core+Mat.java n_create(nativeObj, size.width, size.height, type); width 505 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_eye(size.width, size.height, type)); width 568 modules/core/misc/java/src/java/core+Mat.java if(wholeSize!=null){ wholeSize.width = wholeSize_out[0]; wholeSize.height = wholeSize_out[1]; } width 616 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_ones(size.width, size.height, type)); width 839 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_submat(nativeObj, roi.x, roi.y, roi.width, roi.height)); width 904 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_zeros(size.width, size.height, type)); width 54 modules/core/misc/java/src/java/core+MatOfRect.java buff[_channels*i+2] = (int) r.width; width 6 modules/core/misc/java/src/java/core+Rect.java public int x, y, width, height; width 8 modules/core/misc/java/src/java/core+Rect.java public Rect(int x, int y, int width, int height) { width 11 modules/core/misc/java/src/java/core+Rect.java this.width = width; width 22 modules/core/misc/java/src/java/core+Rect.java width = (int) (p1.x > p2.x ? p1.x : p2.x) - x; width 27 modules/core/misc/java/src/java/core+Rect.java this((int) p.x, (int) p.y, (int) s.width, (int) s.height); width 38 modules/core/misc/java/src/java/core+Rect.java width = vals.length > 2 ? (int) vals[2] : 0; width 43 modules/core/misc/java/src/java/core+Rect.java width = 0; width 49 modules/core/misc/java/src/java/core+Rect.java return new Rect(x, y, width, height); width 57 modules/core/misc/java/src/java/core+Rect.java return new Point(x + width, y + height); width 61 modules/core/misc/java/src/java/core+Rect.java return new Size(width, height); width 65 modules/core/misc/java/src/java/core+Rect.java return width * height; width 69 modules/core/misc/java/src/java/core+Rect.java return x <= p.x && p.x < x + width && y <= p.y && p.y < y + height; width 79 modules/core/misc/java/src/java/core+Rect.java temp = Double.doubleToLongBits(width); width 93 modules/core/misc/java/src/java/core+Rect.java return x == it.x && y == it.y && width == it.width && height == it.height; width 98 modules/core/misc/java/src/java/core+Rect.java return "{" + x + ", " + y + ", " + width + "x" + height + "}"; width 31 modules/core/misc/java/src/java/core+RotatedRect.java size.width = vals.length > 2 ? (double) vals[2] : 0; width 37 modules/core/misc/java/src/java/core+RotatedRect.java size.width = 0; width 50 modules/core/misc/java/src/java/core+RotatedRect.java center.x - a * size.height - b * size.width, width 51 modules/core/misc/java/src/java/core+RotatedRect.java center.y + b * size.height - a * size.width); width 54 modules/core/misc/java/src/java/core+RotatedRect.java center.x + a * size.height - b * size.width, width 55 modules/core/misc/java/src/java/core+RotatedRect.java center.y - b * size.height - a * size.width); width 74 modules/core/misc/java/src/java/core+RotatedRect.java r.width -= r.x - 1; width 92 modules/core/misc/java/src/java/core+RotatedRect.java temp = Double.doubleToLongBits(size.width); width 6 modules/core/misc/java/src/java/core+Size.java public double width, height; width 8 modules/core/misc/java/src/java/core+Size.java public Size(double width, double height) { width 9 modules/core/misc/java/src/java/core+Size.java this.width = width; width 18 modules/core/misc/java/src/java/core+Size.java width = p.x; width 28 modules/core/misc/java/src/java/core+Size.java width = vals.length > 0 ? vals[0] : 0; width 31 modules/core/misc/java/src/java/core+Size.java width = 0; width 37 modules/core/misc/java/src/java/core+Size.java return width * height; width 41 modules/core/misc/java/src/java/core+Size.java return new Size(width, height); width 51 modules/core/misc/java/src/java/core+Size.java temp = Double.doubleToLongBits(width); width 61 modules/core/misc/java/src/java/core+Size.java return width == it.width && height == it.height; width 66 modules/core/misc/java/src/java/core+Size.java return (int)width + "x" + (int)height; width 986 modules/core/misc/java/test/MatTest.java assertEquals(gray0.cols(), gray0.width()); width 987 modules/core/misc/java/test/MatTest.java assertEquals(rgbLena.cols(), rgbLena.width()); width 988 modules/core/misc/java/test/MatTest.java assertEquals(rgba128.cols(), rgba128.width()); width 77 modules/core/misc/java/test/RectTest.java assertEquals(0, r.width); width 87 modules/core/misc/java/test/RectTest.java assertEquals(5, r.width); width 97 modules/core/misc/java/test/RectTest.java assertEquals(10, rect.width); width 109 modules/core/misc/java/test/RectTest.java assertEquals(2, r.width); width 120 modules/core/misc/java/test/RectTest.java assertEquals(3, r.width); width 130 modules/core/misc/java/test/RectTest.java assertEquals(0, r1.width); width 138 modules/core/misc/java/test/RectTest.java assertEquals(10, r.width); width 26 modules/core/misc/java/test/RotatedRectTest.java assertEquals(size.height, size.width); width 78 modules/core/misc/java/test/RotatedRectTest.java clone1.size.width += 1; width 130 modules/core/misc/java/test/RotatedRectTest.java (p[1].y - p[2].y) * (p[1].y - p[2].y) - size.width * size.width) < EPS); width 132 modules/core/misc/java/test/RotatedRectTest.java assertTrue("Angle of the vector 21 with the axes", Math.abs((p[2].x - p[1].x) / size.width - Math.cos(angle * Math.PI / 180)) < EPS); width 151 modules/core/misc/java/test/RotatedRectTest.java assertEquals(3.7, rr.size.width); width 46 modules/core/misc/java/test/SizeTest.java assertEquals(0., sz2.width); width 51 modules/core/misc/java/test/SizeTest.java assertEquals(9., sz1.width); width 59 modules/core/misc/java/test/SizeTest.java assertEquals(0., dstSize.width); width 67 modules/core/misc/java/test/SizeTest.java assertEquals(10., sz2.width); width 74 modules/core/misc/java/test/SizeTest.java assertEquals(10.0, sz1.width); width 83 modules/core/misc/java/test/SizeTest.java assertEquals(2.0, sz1.width); width 854 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(Size(srcSize.width * nx, srcSize.height * ny), type); width 1008 modules/core/perf/opencl/perf_arithm.cpp srcSize.width *= cn; width 1012 modules/core/perf/opencl/perf_arithm.cpp for (int x = 0; x < srcSize.width; ++x) width 1085 modules/core/perf/opencl/perf_arithm.cpp dstSize(dim == 0 ? srcSize.width : 1, dim == 0 ? 1 : srcSize.height); width 1116 modules/core/perf/opencl/perf_arithm.cpp dstSize(dim == 0 ? srcSize.width : 1, dim == 0 ? 1 : srcSize.height); width 55 modules/core/perf/perf_compare.cpp int runs = (sz.width <= 640) ? 8 : 1; width 33 modules/core/perf/perf_convertTo.cpp int runs = (sz.width <= 640) ? 8 : 1; width 17 modules/core/perf/perf_mat.cpp Mat diagonalMatrix(size.height, size.width, type); width 21 modules/core/perf/perf_mat.cpp int runs = (size.width <= 640) ? 15 : 5; width 38 modules/core/perf/perf_mat.cpp Mat zeroMatrix(size.height, size.width, type); width 42 modules/core/perf/perf_mat.cpp int runs = (size.width <= 640) ? 15 : 5; width 59 modules/core/perf/perf_mat.cpp Mat source(size.height, size.width, type); width 60 modules/core/perf/perf_mat.cpp Mat destination(size.height, size.width, type);; width 82 modules/core/perf/perf_mat.cpp unsigned int width = size.width; width 84 modules/core/perf/perf_mat.cpp Mat source(height, width, type); width 85 modules/core/perf/perf_mat.cpp Mat destination(size.height/2, size.width/2, type); width 89 modules/core/perf/perf_mat.cpp Mat roi(source, Rect(width/4, height/4, 3*width/4, 3*height/4)); width 33 modules/core/perf/perf_merge.cpp int runs = (sz.width <= 640) ? 8 : 1; width 32 modules/core/perf/perf_reduce.cpp Mat vec(1, sz.width, ddepth < 0 ? matType : ddepth); width 29 modules/core/perf/perf_split.cpp int runs = (sz.width <= 640) ? 8 : 1; width 100 modules/core/perf/perf_stat.cpp int runs = (sz.width <= 640) ? 8 : 1; width 93 modules/core/src/arithm.cpp for( ; x <= sz.width - 32/(int)sizeof(T); x += 32/sizeof(T) ) width 105 modules/core/src/arithm.cpp for( ; x <= sz.width - 32/(int)sizeof(T); x += 32/sizeof(T) ) width 125 modules/core/src/arithm.cpp for( ; x <= sz.width - 8/(int)sizeof(T); x += 8/sizeof(T) ) width 135 modules/core/src/arithm.cpp for( ; x <= sz.width - 4; x += 4 ) width 146 modules/core/src/arithm.cpp for( ; x < sz.width; x++ ) width 171 modules/core/src/arithm.cpp for( ; x <= sz.width - 8; x += 8 ) width 184 modules/core/src/arithm.cpp for( ; x <= sz.width - 8; x += 8 ) width 201 modules/core/src/arithm.cpp for( ; x <= sz.width - 8; x += 8 ) width 213 modules/core/src/arithm.cpp for( ; x <= sz.width - 8; x += 8 ) width 229 modules/core/src/arithm.cpp for( ; x <= sz.width - 4; x += 4 ) width 240 modules/core/src/arithm.cpp for( ; x < sz.width; x++ ) width 266 modules/core/src/arithm.cpp for( ; x <= sz.width - 4; x += 4 ) width 279 modules/core/src/arithm.cpp for( ; x <= sz.width - 4; x += 4 ) width 292 modules/core/src/arithm.cpp for( ; x <= sz.width - 4; x += 4 ) width 302 modules/core/src/arithm.cpp for( ; x < sz.width; x++ ) width 751 modules/core/src/arithm.cpp step1 = step2 = step = sz.width*elemSize; width 966 modules/core/src/arithm.cpp if (0 > ippsMaxEvery_8u(s1, s2, d, sz.width)) width 1004 modules/core/src/arithm.cpp if (0 > ippsMaxEvery_16u(s1, s2, d, sz.width)) width 1049 modules/core/src/arithm.cpp if (0 > ippsMaxEvery_32f(s1, s2, d, sz.width)) width 1080 modules/core/src/arithm.cpp if (0 > ippsMaxEvery_64f(s1, s2, d, sz.width)) width 1111 modules/core/src/arithm.cpp if (0 > ippsMinEvery_8u(s1, s2, d, sz.width)) width 1149 modules/core/src/arithm.cpp if (0 > ippsMinEvery_16u(s1, s2, d, sz.width)) width 1194 modules/core/src/arithm.cpp if (0 > ippsMinEvery_32f(s1, s2, d, sz.width)) width 1225 modules/core/src/arithm.cpp if (0 > ippsMinEvery_64f(s1, s2, d, sz.width)) width 1547 modules/core/src/arithm.cpp size_t len = sz.width*(size_t)cn; width 1550 modules/core/src/arithm.cpp sz.width = (int)len; width 2340 modules/core/src/arithm.cpp int operator() (const uchar * src1, const uchar * src2, uchar * dst, int width, float scale) const width 2345 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2362 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2387 modules/core/src/arithm.cpp int operator() (const schar * src1, const schar * src2, schar * dst, int width, float scale) const width 2392 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2409 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2434 modules/core/src/arithm.cpp int operator() (const ushort * src1, const ushort * src2, ushort * dst, int width, float scale) const width 2439 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2455 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2479 modules/core/src/arithm.cpp int operator() (const short * src1, const short * src2, short * dst, int width, float scale) const width 2484 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2500 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2524 modules/core/src/arithm.cpp int operator() (const float * src1, const float * src2, float * dst, int width, float scale) const width 2529 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2539 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2568 modules/core/src/arithm.cpp int operator() (const ushort * src1, const ushort * src2, ushort * dst, int width, float scale) const width 2580 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2614 modules/core/src/arithm.cpp int operator() (const schar * src1, const schar * src2, schar * dst, int width, float scale) const width 2624 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2644 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2679 modules/core/src/arithm.cpp int operator() (const short * src1, const short * src2, short * dst, int width, float scale) const width 2691 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2731 modules/core/src/arithm.cpp int i = vop(src1, src2, dst, size.width, scale); width 2733 modules/core/src/arithm.cpp for(; i <= size.width - 4; i += 4 ) width 2748 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) width 2756 modules/core/src/arithm.cpp int i = vop(src1, src2, dst, size.width, scale); width 2758 modules/core/src/arithm.cpp for(; i <= size.width - 4; i += 4 ) width 2769 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) width 2802 modules/core/src/arithm.cpp int operator() (const uchar * src1, const uchar * src2, uchar * dst, int width, double scale) const width 2812 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2848 modules/core/src/arithm.cpp int operator() (const schar * src1, const schar * src2, schar * dst, int width, double scale) const width 2858 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2894 modules/core/src/arithm.cpp int operator() (const ushort * src1, const ushort * src2, ushort * dst, int width, double scale) const width 2904 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2939 modules/core/src/arithm.cpp int operator() (const short * src1, const short * src2, short * dst, int width, double scale) const width 2949 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 2984 modules/core/src/arithm.cpp int operator() (const int * src1, const int * src2, int * dst, int width, double scale) const width 2994 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 3028 modules/core/src/arithm.cpp int operator() (const float * src1, const float * src2, float * dst, int width, double scale) const width 3038 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 3068 modules/core/src/arithm.cpp int operator() (const uchar * src2, uchar * dst, int width, double scale) const width 3078 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 3109 modules/core/src/arithm.cpp int operator() (const schar * src2, schar * dst, int width, double scale) const width 3119 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 3150 modules/core/src/arithm.cpp int operator() (const ushort * src2, ushort * dst, int width, double scale) const width 3160 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 3190 modules/core/src/arithm.cpp int operator() (const short * src2, short * dst, int width, double scale) const width 3200 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 3230 modules/core/src/arithm.cpp int operator() (const int * src2, int * dst, int width, double scale) const width 3240 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 3270 modules/core/src/arithm.cpp int operator() (const float * src2, float * dst, int width, double scale) const width 3280 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 3307 modules/core/src/arithm.cpp int operator() (const double * src1, const double * src2, double * dst, int width, double scale) const width 3317 modules/core/src/arithm.cpp for ( ; x <= width - 4; x += 4) width 3344 modules/core/src/arithm.cpp int operator() (const double * src2, double * dst, int width, double scale) const width 3354 modules/core/src/arithm.cpp for ( ; x <= width - 4; x += 4) width 3390 modules/core/src/arithm.cpp int i = vop(src1, src2, dst, size.width, scale); width 3391 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) width 3412 modules/core/src/arithm.cpp int i = vop(src1, src2, dst, size.width, scale); width 3413 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) width 3433 modules/core/src/arithm.cpp int i = vop(src2, dst, size.width, scale); width 3434 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) width 3454 modules/core/src/arithm.cpp int i = vop(src2, dst, size.width, scale); width 3455 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) width 3737 modules/core/src/arithm.cpp int operator() (const schar * src1, const schar * src2, schar * dst, int width, float alpha, float beta, float gamma) const width 3748 modules/core/src/arithm.cpp for( ; x <= width - 8; x += 8 ) width 3784 modules/core/src/arithm.cpp int operator() (const short * src1, const short * src2, short * dst, int width, float alpha, float beta, float gamma) const width 3795 modules/core/src/arithm.cpp for( ; x <= width - 8; x += 8 ) width 3828 modules/core/src/arithm.cpp int operator() (const ushort * src1, const ushort * src2, ushort * dst, int width, float alpha, float beta, float gamma) const width 3839 modules/core/src/arithm.cpp for( ; x <= width - 8; x += 8 ) width 3869 modules/core/src/arithm.cpp int operator() (const schar * src1, const schar * src2, schar * dst, int width, float alpha, float beta, float gamma) const width 3875 modules/core/src/arithm.cpp for( ; x <= width - 8; x += 8 ) width 3908 modules/core/src/arithm.cpp int operator() (const ushort * src1, const ushort * src2, ushort * dst, int width, float alpha, float beta, float gamma) const width 3914 modules/core/src/arithm.cpp for( ; x <= width - 8; x += 8 ) width 3936 modules/core/src/arithm.cpp int operator() (const short * src1, const short * src2, short * dst, int width, float alpha, float beta, float gamma) const width 3942 modules/core/src/arithm.cpp for( ; x <= width - 8; x += 8 ) width 3977 modules/core/src/arithm.cpp int x = vop(src1, src2, dst, size.width, alpha, beta, gamma); width 3979 modules/core/src/arithm.cpp for( ; x <= size.width - 4; x += 4 ) width 3990 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) width 4015 modules/core/src/arithm.cpp for( ; x <= size.width - 8; x += 8 ) width 4038 modules/core/src/arithm.cpp for( ; x <= size.width - 8; x += 8 ) width 4065 modules/core/src/arithm.cpp for( ; x <= size.width - 4; x += 4 ) width 4082 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) width 4182 modules/core/src/arithm.cpp int operator () (const schar * src1, const schar * src2, uchar * dst, int width) const width 4187 modules/core/src/arithm.cpp for ( ; x <= width - 16; x += 16) width 4190 modules/core/src/arithm.cpp for ( ; x <= width - 16; x += 16) width 4193 modules/core/src/arithm.cpp for ( ; x <= width - 16; x += 16) width 4196 modules/core/src/arithm.cpp for ( ; x <= width - 16; x += 16) width 4218 modules/core/src/arithm.cpp int operator () (const ushort * src1, const ushort * src2, uchar * dst, int width) const width 4223 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4229 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4235 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4241 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4266 modules/core/src/arithm.cpp int operator () (const int * src1, const int * src2, uchar * dst, int width) const width 4271 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4278 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4285 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4292 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4319 modules/core/src/arithm.cpp int operator () (const float * src1, const float * src2, uchar * dst, int width) const width 4324 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4331 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4338 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4345 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4376 modules/core/src/arithm.cpp int operator () (const schar * src1, const schar * src2, uchar * dst, int width) const width 4384 modules/core/src/arithm.cpp for ( ; x <= width - 16; x += 16) width 4388 modules/core/src/arithm.cpp for ( ; x <= width - 16; x += 16) width 4395 modules/core/src/arithm.cpp for ( ; x <= width - 16; x += 16) width 4399 modules/core/src/arithm.cpp for ( ; x <= width - 16; x += 16) width 4428 modules/core/src/arithm.cpp int operator () (const int * src1, const int * src2, uchar * dst, int width) const width 4436 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4446 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4456 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4466 modules/core/src/arithm.cpp for ( ; x <= width - 8; x += 8) width 4506 modules/core/src/arithm.cpp int x = vop(src1, src2, dst, size.width); width 4508 modules/core/src/arithm.cpp for( ; x <= size.width - 4; x += 4 ) width 4519 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) width 4530 modules/core/src/arithm.cpp for( ; x <= size.width - 4; x += 4 ) width 4541 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) width 4600 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) width 4616 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) width 4623 modules/core/src/arithm.cpp for( ; x < size.width; x++ ){ width 4638 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) width 4649 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) width 4654 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) width 4729 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) width 4740 modules/core/src/arithm.cpp if( x <= size.width-8) width 4754 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) width 4768 modules/core/src/arithm.cpp for( ; x < size.width; x++ ){ width 4783 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) width 4794 modules/core/src/arithm.cpp if( x <= size.width - 8) width 4808 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) width 4821 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) width 5459 modules/core/src/arithm.cpp int x = vop(src1, src2, src3, dst, size.width); width 5461 modules/core/src/arithm.cpp for( ; x <= size.width - 4; x += 4 ) width 5472 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) width 5671 modules/core/src/arithm.cpp size_t globalsize[2] = { ssize.width / colsPerWI, (ssize.height + rowsPerWI - 1) / rowsPerWI }; width 97 modules/core/src/array.cpp cvCreateMat( int height, int width, int type ) width 99 modules/core/src/array.cpp CvMat* arr = cvCreateMatHeader( height, width, type ); width 842 modules/core/src/array.cpp int width = img->width; width 846 modules/core/src/array.cpp img->width *= img->depth == IPL_DEPTH_32F ? sizeof(float) : sizeof(double); width 852 modules/core/src/array.cpp img->width = width; width 930 modules/core/src/array.cpp min_step = img->width*pix_size; width 947 modules/core/src/array.cpp cvAlign(img->width * pix_size, 8) == step ) width 1038 modules/core/src/array.cpp *roi_size = cvSize( img->roi->width, img->roi->height ); width 1042 modules/core/src/array.cpp *roi_size = cvSize( img->width, img->height ); width 1071 modules/core/src/array.cpp roi_size->width = size2; width 1126 modules/core/src/array.cpp sizes[1] = img->width; width 1188 modules/core/src/array.cpp size = !img->roi ? img->width : img->roi->width; width 1229 modules/core/src/array.cpp size.width = mat->cols; width 1238 modules/core/src/array.cpp size.width = img->roi->width; width 1243 modules/core/src/array.cpp size.width = img->width; width 1267 modules/core/src/array.cpp if( (rect.x|rect.y|rect.width|rect.height) < 0 ) width 1270 modules/core/src/array.cpp if( rect.x + rect.width > mat->cols || width 1286 modules/core/src/array.cpp submat->type = (mat->type & (rect.width < mat->cols ? ~CV_MAT_CONT_FLAG : -1)) | width 1289 modules/core/src/array.cpp submat->cols = rect.width; width 1683 modules/core/src/array.cpp int width = !img->roi ? img->width : img->roi->width; width 1684 modules/core/src/array.cpp int y = idx/width, x = idx - y*width; width 1776 modules/core/src/array.cpp int width, height; width 1784 modules/core/src/array.cpp width = img->roi->width; width 1801 modules/core/src/array.cpp width = img->width; width 1806 modules/core/src/array.cpp (unsigned)x >= (unsigned)width ) width 2426 modules/core/src/array.cpp img->roi->width, type, width 2441 modules/core/src/array.cpp cvInitMatHeader( mat, img->roi->height, img->roi->width, width 2455 modules/core/src/array.cpp cvInitMatHeader( mat, img->height, img->width, type, width 2828 modules/core/src/array.cpp static IplROI* icvCreateROI( int coi, int xOffset, int yOffset, int width, int height ) width 2838 modules/core/src/array.cpp roi->width = width; width 2843 modules/core/src/array.cpp roi = CvIPL.createROI( coi, xOffset, yOffset, width, height ); width 2892 modules/core/src/array.cpp size.width, size.height, 0, 0, 0, 0 ); width 2928 modules/core/src/array.cpp if( size.width < 0 || size.height < 0 ) width 2943 modules/core/src/array.cpp image->width = size.width; width 2950 modules/core/src/array.cpp image->roi->width = size.width; width 2957 modules/core/src/array.cpp image->widthStep = (((image->width * image->nChannels * width 3014 modules/core/src/array.cpp CV_Assert( rect.width >= 0 && rect.height >= 0 && width 3015 modules/core/src/array.cpp rect.x < image->width && rect.y < image->height && width 3016 modules/core/src/array.cpp rect.x + rect.width >= (int)(rect.width > 0) && width 3019 modules/core/src/array.cpp rect.width += rect.x; width 3024 modules/core/src/array.cpp rect.width = std::min(rect.width, image->width); width 3027 modules/core/src/array.cpp rect.width -= rect.x; width 3034 modules/core/src/array.cpp image->roi->width = rect.width; width 3038 modules/core/src/array.cpp image->roi = icvCreateROI( 0, rect.x, rect.y, rect.width, rect.height ); width 3072 modules/core/src/array.cpp img->roi->width, img->roi->height ); width 3074 modules/core/src/array.cpp rect = cvRect( 0, 0, img->width, img->height ); width 3097 modules/core/src/array.cpp image->roi = icvCreateROI( coi, 0, 0, image->width, image->height ); width 3132 modules/core/src/array.cpp src->roi->yOffset, src->roi->width, src->roi->height ); width 905 modules/core/src/convert.cpp size_t globalsize[2] = { size.width, (size.height + rowsPerWI - 1) / rowsPerWI }; width 1338 modules/core/src/convert.cpp argindex = k.set(argindex, size.width); width 1341 modules/core/src/convert.cpp size_t globalsize[2] = { size.width, (size.height + rowsPerWI - 1) / rowsPerWI }; width 1468 modules/core/src/convert.cpp int operator () (const uchar * src, uchar * dst, int width, width 1479 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 1505 modules/core/src/convert.cpp int operator () (const schar * src, uchar * dst, int width, width 1516 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 1547 modules/core/src/convert.cpp int operator () (const ushort * src, uchar * dst, int width, width 1558 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 1578 modules/core/src/convert.cpp int operator () (const short * src, uchar * dst, int width, width 1589 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 1609 modules/core/src/convert.cpp int operator () (const int * src, uchar * dst, int width, width 1620 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 4) width 1638 modules/core/src/convert.cpp int operator () (const float * src, uchar * dst, int width, width 1649 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 4) width 1666 modules/core/src/convert.cpp int operator () (const double * src, uchar * dst, int width, width 1677 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 1706 modules/core/src/convert.cpp int operator () (const uchar * src, uchar * dst, int width, width 1712 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 1750 modules/core/src/convert.cpp int operator () (const schar * src, uchar * dst, int width, width 1756 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 1794 modules/core/src/convert.cpp int operator () (const ushort * src, uchar * dst, int width, width 1800 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 1825 modules/core/src/convert.cpp int operator () (const short * src, uchar * dst, int width, width 1831 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 1856 modules/core/src/convert.cpp int operator () (const int * src, uchar * dst, int width, width 1862 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 1883 modules/core/src/convert.cpp int operator () (const float * src, uchar * dst, int width, width 1889 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 1920 modules/core/src/convert.cpp int x = vop(src, dst, size.width, scale, shift); width 1923 modules/core/src/convert.cpp for( ; x <= size.width - 4; x += 4 ) width 1934 modules/core/src/convert.cpp for( ; x < size.width; x++ ) width 1955 modules/core/src/convert.cpp int operator () (const uchar * src, uchar * dst, int width, float scale, float shift) const width 1965 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 1986 modules/core/src/convert.cpp int operator () (const uchar * src, schar * dst, int width, float scale, float shift) const width 1996 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2024 modules/core/src/convert.cpp int operator () (const uchar * src, ushort * dst, int width, float scale, float shift) const width 2034 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2059 modules/core/src/convert.cpp int operator () (const uchar * src, short * dst, int width, float scale, float shift) const width 2069 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2090 modules/core/src/convert.cpp int operator () (const uchar * src, int * dst, int width, float scale, float shift) const width 2100 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2120 modules/core/src/convert.cpp int operator () (const uchar * src, float * dst, int width, float scale, float shift) const width 2130 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2150 modules/core/src/convert.cpp int operator () (const uchar * src, double * dst, int width, double scale, double shift) const width 2160 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2186 modules/core/src/convert.cpp int operator () (const schar * src, uchar * dst, int width, float scale, float shift) const width 2196 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2217 modules/core/src/convert.cpp int operator () (const schar * src, schar * dst, int width, float scale, float shift) const width 2227 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2255 modules/core/src/convert.cpp int operator () (const schar * src, ushort * dst, int width, float scale, float shift) const width 2265 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2290 modules/core/src/convert.cpp int operator () (const schar * src, short * dst, int width, float scale, float shift) const width 2300 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2321 modules/core/src/convert.cpp int operator () (const schar * src, int * dst, int width, float scale, float shift) const width 2331 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2351 modules/core/src/convert.cpp int operator () (const schar * src, float * dst, int width, float scale, float shift) const width 2361 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2381 modules/core/src/convert.cpp int operator () (const schar * src, double * dst, int width, double scale, double shift) const width 2391 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2418 modules/core/src/convert.cpp int operator () (const ushort * src, uchar * dst, int width, float scale, float shift) const width 2428 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2449 modules/core/src/convert.cpp int operator () (const ushort * src, schar * dst, int width, float scale, float shift) const width 2459 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2487 modules/core/src/convert.cpp int operator () (const ushort * src, ushort * dst, int width, float scale, float shift) const width 2497 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2522 modules/core/src/convert.cpp int operator () (const ushort * src, short * dst, int width, float scale, float shift) const width 2532 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2553 modules/core/src/convert.cpp int operator () (const ushort * src, int * dst, int width, float scale, float shift) const width 2563 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2583 modules/core/src/convert.cpp int operator () (const ushort * src, float * dst, int width, float scale, float shift) const width 2593 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2613 modules/core/src/convert.cpp int operator () (const ushort * src, double * dst, int width, double scale, double shift) const width 2623 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2649 modules/core/src/convert.cpp int operator () (const short * src, uchar * dst, int width, float scale, float shift) const width 2659 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2680 modules/core/src/convert.cpp int operator () (const short * src, schar * dst, int width, float scale, float shift) const width 2690 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2718 modules/core/src/convert.cpp int operator () (const short * src, ushort * dst, int width, float scale, float shift) const width 2728 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2753 modules/core/src/convert.cpp int operator () (const short * src, short * dst, int width, float scale, float shift) const width 2763 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2784 modules/core/src/convert.cpp int operator () (const short * src, int * dst, int width, float scale, float shift) const width 2794 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2814 modules/core/src/convert.cpp int operator () (const short * src, float * dst, int width, float scale, float shift) const width 2824 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2844 modules/core/src/convert.cpp int operator () (const short * src, double * dst, int width, double scale, double shift) const width 2854 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2880 modules/core/src/convert.cpp int operator () (const int * src, uchar * dst, int width, float scale, float shift) const width 2890 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2910 modules/core/src/convert.cpp int operator () (const int * src, schar * dst, int width, float scale, float shift) const width 2920 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2947 modules/core/src/convert.cpp int operator () (const int * src, ushort * dst, int width, float scale, float shift) const width 2956 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 2980 modules/core/src/convert.cpp int operator () (const int * src, short * dst, int width, float scale, float shift) const width 2989 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3009 modules/core/src/convert.cpp int operator () (const int * src, int * dst, int width, double scale, double shift) const width 3018 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 3039 modules/core/src/convert.cpp int operator () (const int * src, float * dst, int width, double scale, double shift) const width 3048 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 3067 modules/core/src/convert.cpp int operator () (const int * src, double * dst, int width, double scale, double shift) const width 3076 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 3097 modules/core/src/convert.cpp int operator () (const float * src, uchar * dst, int width, float scale, float shift) const width 3107 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3127 modules/core/src/convert.cpp int operator () (const float * src, schar * dst, int width, float scale, float shift) const width 3137 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3164 modules/core/src/convert.cpp int operator () (const float * src, ushort * dst, int width, float scale, float shift) const width 3173 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3197 modules/core/src/convert.cpp int operator () (const float * src, short * dst, int width, float scale, float shift) const width 3206 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3226 modules/core/src/convert.cpp int operator () (const float * src, int * dst, int width, float scale, float shift) const width 3235 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3254 modules/core/src/convert.cpp int operator () (const float * src, float * dst, int width, float scale, float shift) const width 3263 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 3277 modules/core/src/convert.cpp int operator () (const float * src, double * dst, int width, double scale, double shift) const width 3286 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 3306 modules/core/src/convert.cpp int operator () (const double * src, uchar * dst, int width, float scale, float shift) const width 3316 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3338 modules/core/src/convert.cpp int operator () (const double * src, schar * dst, int width, float scale, float shift) const width 3348 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3377 modules/core/src/convert.cpp int operator () (const double * src, ushort * dst, int width, float scale, float shift) const width 3386 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3412 modules/core/src/convert.cpp int operator () (const double * src, short * dst, int width, float scale, float shift) const width 3421 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3443 modules/core/src/convert.cpp int operator () (const double * src, int * dst, int width, double scale, double shift) const width 3452 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 3473 modules/core/src/convert.cpp int operator () (const double * src, float * dst, int width, double scale, double shift) const width 3482 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 3503 modules/core/src/convert.cpp int operator () (const double * src, double * dst, int width, double scale, double shift) const width 3512 modules/core/src/convert.cpp for ( ; x <= width - 2; x += 2) width 3530 modules/core/src/convert.cpp int operator () (const uchar * src, uchar * dst, int width, float scale, float shift) const width 3535 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3553 modules/core/src/convert.cpp int operator () (const uchar * src, schar * dst, int width, float scale, float shift) const width 3558 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3576 modules/core/src/convert.cpp int operator () (const uchar * src, ushort * dst, int width, float scale, float shift) const width 3581 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3599 modules/core/src/convert.cpp int operator () (const uchar * src, short * dst, int width, float scale, float shift) const width 3604 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3622 modules/core/src/convert.cpp int operator () (const uchar * src, int * dst, int width, float scale, float shift) const width 3627 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3644 modules/core/src/convert.cpp int operator () (const uchar * src, float * dst, int width, float scale, float shift) const width 3649 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3665 modules/core/src/convert.cpp int operator () (const schar * src, uchar * dst, int width, float scale, float shift) const width 3670 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3688 modules/core/src/convert.cpp int operator () (const schar * src, schar * dst, int width, float scale, float shift) const width 3693 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3711 modules/core/src/convert.cpp int operator () (const schar * src, ushort * dst, int width, float scale, float shift) const width 3716 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3734 modules/core/src/convert.cpp int operator () (const schar * src, short * dst, int width, float scale, float shift) const width 3739 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3757 modules/core/src/convert.cpp int operator () (const schar * src, int * dst, int width, float scale, float shift) const width 3762 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3779 modules/core/src/convert.cpp int operator () (const schar * src, float * dst, int width, float scale, float shift) const width 3784 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3800 modules/core/src/convert.cpp int operator () (const ushort * src, uchar * dst, int width, float scale, float shift) const width 3805 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3823 modules/core/src/convert.cpp int operator () (const ushort * src, schar * dst, int width, float scale, float shift) const width 3828 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3846 modules/core/src/convert.cpp int operator () (const ushort * src, ushort * dst, int width, float scale, float shift) const width 3851 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3869 modules/core/src/convert.cpp int operator () (const ushort * src, short * dst, int width, float scale, float shift) const width 3874 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3892 modules/core/src/convert.cpp int operator () (const ushort * src, int * dst, int width, float scale, float shift) const width 3897 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3914 modules/core/src/convert.cpp int operator () (const ushort * src, float * dst, int width, float scale, float shift) const width 3919 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3935 modules/core/src/convert.cpp int operator () (const short * src, uchar * dst, int width, float scale, float shift) const width 3940 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3958 modules/core/src/convert.cpp int operator () (const short * src, schar * dst, int width, float scale, float shift) const width 3963 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 3981 modules/core/src/convert.cpp int operator () (const short * src, ushort * dst, int width, float scale, float shift) const width 3986 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4004 modules/core/src/convert.cpp int operator () (const short * src, float * dst, int width, float scale, float shift) const width 4009 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4025 modules/core/src/convert.cpp int operator () (const int * src, uchar * dst, int width, float scale, float shift) const width 4030 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4047 modules/core/src/convert.cpp int operator () (const int * src, schar * dst, int width, float scale, float shift) const width 4052 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4069 modules/core/src/convert.cpp int operator () (const int * src, ushort * dst, int width, float scale, float shift) const width 4074 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4091 modules/core/src/convert.cpp int operator () (const int * src, short * dst, int width, float scale, float shift) const width 4096 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4115 modules/core/src/convert.cpp int operator () (const float * src, uchar * dst, int width, float scale, float shift) const width 4120 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4137 modules/core/src/convert.cpp int operator () (const float * src, schar * dst, int width, float scale, float shift) const width 4142 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4159 modules/core/src/convert.cpp int operator () (const float * src, ushort * dst, int width, float scale, float shift) const width 4164 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4181 modules/core/src/convert.cpp int operator () (const float * src, short * dst, int width, float scale, float shift) const width 4186 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4203 modules/core/src/convert.cpp int operator () (const float * src, int * dst, int width, float scale, float shift) const width 4208 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 4218 modules/core/src/convert.cpp int operator () (const float * src, float * dst, int width, float scale, float shift) const width 4223 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 4244 modules/core/src/convert.cpp int x = vop(src, dst, size.width, scale, shift); width 4247 modules/core/src/convert.cpp for( ; x <= size.width - 4; x += 4 ) width 4259 modules/core/src/convert.cpp for( ; x < size.width; x++ ) width 4281 modules/core/src/convert.cpp for(; x <= size.width - 8; x += 8 ) width 4297 modules/core/src/convert.cpp for(; x <= size.width - 8; x += 8 ) width 4311 modules/core/src/convert.cpp for(; x < size.width; x++ ) width 4335 modules/core/src/convert.cpp for ( ; x <= size.width - 16; x += 16) width 4353 modules/core/src/convert.cpp for(; x <= size.width - 8; x += 8 ) width 4368 modules/core/src/convert.cpp for(; x <= size.width - 8; x += 8 ) width 4382 modules/core/src/convert.cpp for(; x < size.width; x++ ) width 4403 modules/core/src/convert.cpp int operator() (const double * src, uchar * dst, int width) const width 4410 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4432 modules/core/src/convert.cpp int operator() (const double * src, schar * dst, int width) const width 4439 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4466 modules/core/src/convert.cpp int operator() (const double * src, ushort * dst, int width) const width 4473 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4497 modules/core/src/convert.cpp int operator() (const double * src, short * dst, int width) const width 4504 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4526 modules/core/src/convert.cpp int operator() (const double * src, int * dst, int width) const width 4533 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 4549 modules/core/src/convert.cpp int operator() (const double * src, float * dst, int width) const width 4556 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 4576 modules/core/src/convert.cpp int operator() (const uchar * src, schar * dst, int width) const width 4580 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4591 modules/core/src/convert.cpp int operator() (const uchar * src, ushort * dst, int width) const width 4595 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4605 modules/core/src/convert.cpp int operator() (const uchar * src, short * dst, int width) const width 4609 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4619 modules/core/src/convert.cpp int operator() (const uchar * src, int * dst, int width) const width 4623 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4637 modules/core/src/convert.cpp int operator() (const uchar * src, float * dst, int width) const width 4641 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4657 modules/core/src/convert.cpp int operator() (const schar * src, uchar * dst, int width) const width 4661 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4671 modules/core/src/convert.cpp int operator() (const schar * src, short * dst, int width) const width 4675 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4685 modules/core/src/convert.cpp int operator() (const schar * src, ushort * dst, int width) const width 4689 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4704 modules/core/src/convert.cpp int operator() (const schar * src, int * dst, int width) const width 4708 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4722 modules/core/src/convert.cpp int operator() (const schar * src, float * dst, int width) const width 4726 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4742 modules/core/src/convert.cpp int operator() (const ushort * src, uchar * dst, int width) const width 4746 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 4759 modules/core/src/convert.cpp int operator() (const ushort * src, schar * dst, int width) const width 4763 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 4782 modules/core/src/convert.cpp int operator() (const ushort * src, short * dst, int width) const width 4786 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4802 modules/core/src/convert.cpp int operator() (const ushort * src, int * dst, int width) const width 4806 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4820 modules/core/src/convert.cpp int operator() (const ushort * src, float * dst, int width) const width 4824 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4840 modules/core/src/convert.cpp int operator() (const short * src, uchar * dst, int width) const width 4844 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 4857 modules/core/src/convert.cpp int operator() (const short * src, schar * dst, int width) const width 4861 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 4874 modules/core/src/convert.cpp int operator() (const short * src, ushort * dst, int width) const width 4878 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4893 modules/core/src/convert.cpp int operator() (const short * src, int * dst, int width) const width 4897 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4911 modules/core/src/convert.cpp int operator() (const short * src, float * dst, int width) const width 4915 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4931 modules/core/src/convert.cpp int operator() (const int * src, uchar * dst, int width) const width 4935 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 4951 modules/core/src/convert.cpp int operator() (const int * src, schar * dst, int width) const width 4955 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 4972 modules/core/src/convert.cpp int operator() (const int * src, ushort * dst, int width) const width 4976 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 4989 modules/core/src/convert.cpp int operator() (const int * src, short * dst, int width) const width 4993 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 5006 modules/core/src/convert.cpp int operator() (const int * src, float * dst, int width) const width 5010 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 5022 modules/core/src/convert.cpp int operator() (const float * src, uchar * dst, int width) const width 5026 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 5044 modules/core/src/convert.cpp int operator() (const float * src, schar * dst, int width) const width 5048 modules/core/src/convert.cpp for ( ; x <= width - 16; x += 16) width 5067 modules/core/src/convert.cpp int operator() (const float * src, ushort * dst, int width) const width 5071 modules/core/src/convert.cpp for ( ; x <= width - 8; x += 8) width 5085 modules/core/src/convert.cpp int operator() (const float * src, int * dst, int width) const width 5089 modules/core/src/convert.cpp for ( ; x <= width - 4; x += 4) width 5108 modules/core/src/convert.cpp int x = vop(src, dst, size.width); width 5110 modules/core/src/convert.cpp for( ; x <= size.width - 4; x += 4 ) width 5121 modules/core/src/convert.cpp for( ; x < size.width; x++ ) width 5140 modules/core/src/convert.cpp for( ; x <= size.width - 8; x += 8 ) width 5153 modules/core/src/convert.cpp for( ; x <= size.width - 8; x += 8 ) width 5161 modules/core/src/convert.cpp for( ; x < size.width; x++ ) width 5175 modules/core/src/convert.cpp memcpy(dst, src, size.width*sizeof(src[0])); width 5201 modules/core/src/convert.cpp if (ippiConvert_##ippFavor(src, (int)sstep, dst, (int)dstep, ippiSize(size.width, size.height)) >= 0) \ width 5220 modules/core/src/convert.cpp if (ippiConvert_##ippFavor(src, (int)sstep, dst, (int)dstep, ippiSize(size.width, size.height), ippRndFinancial, 0) >= 0) \ width 5720 modules/core/src/convert.cpp int width; width 5725 modules/core/src/convert.cpp width = dst.cols * dst.channels(); width 5748 modules/core/src/convert.cpp IppiSize sz = { width, dst.rows }; width 64 modules/core/src/copy.cpp for( ; x <= size.width - 4; x += 4 ) width 76 modules/core/src/copy.cpp for( ; x < size.width; x++ ) width 107 modules/core/src/copy.cpp for( ; x <= size.width - 16; x += 16 ) width 119 modules/core/src/copy.cpp for( ; x <= size.width - 16; x += 16 ) width 126 modules/core/src/copy.cpp for( ; x < size.width; x++ ) width 156 modules/core/src/copy.cpp for( ; x <= size.width - 8; x += 8 ) width 169 modules/core/src/copy.cpp for( ; x <= size.width - 8; x += 8 ) width 179 modules/core/src/copy.cpp for( ; x < size.width; x++ ) width 194 modules/core/src/copy.cpp for( ; x < size.width; x++, src += esz, dst += esz ) width 320 modules/core/src/copy.cpp size_t len = sz.width*elemSize(); width 415 modules/core/src/copy.cpp roisize.width = (int)total(); width 418 modules/core/src/copy.cpp if (ippsZero_8u(data, static_cast<int>(roisize.width * elemSize())) >= 0) width 425 modules/core/src/copy.cpp roisize.width *= (int)elemSize(); width 494 modules/core/src/copy.cpp roisize.width = (int)total(); width 572 modules/core/src/copy.cpp size_t blockSize = sz.width*esz; width 576 modules/core/src/copy.cpp ptrs[1] += sz.width; width 590 modules/core/src/copy.cpp int i, j, limit = (int)(((size.width + 1)/2)*esz); width 591 modules/core/src/copy.cpp AutoBuffer<int> _tab(size.width*esz); width 594 modules/core/src/copy.cpp for( i = 0; i < size.width; i++ ) width 596 modules/core/src/copy.cpp tab[i*esz + k] = (int)((size.width - i - 1)*esz + k); width 614 modules/core/src/copy.cpp size.width *= (int)esz; width 622 modules/core/src/copy.cpp for( ; i <= size.width - 16; i += 16 ) width 649 modules/core/src/copy.cpp for( ; i <= size.width - 4; i += 4 ) width 659 modules/core/src/copy.cpp for( ; i < size.width; i++ ) width 711 modules/core/src/copy.cpp int cols = size.width * cn / kercn, rows = size.height; width 735 modules/core/src/copy.cpp if (size.width == 1) width 741 modules/core/src/copy.cpp if ((size.width == 1 && flip_mode > 0) || width 743 modules/core/src/copy.cpp (size.height == 1 && size.width == 1 && flip_mode < 0)) width 874 modules/core/src/copy.cpp _dst.create(ssize.height*ny, ssize.width*nx, _src.type()); width 885 modules/core/src/copy.cpp ssize.width *= esz; dsize.width *= esz; width 889 modules/core/src/copy.cpp for( x = 0; x < dsize.width; x += ssize.width ) width 890 modules/core/src/copy.cpp memcpy( dst.ptr(y) + x, src.ptr(y), ssize.width ); width 894 modules/core/src/copy.cpp memcpy( dst.ptr(y), dst.ptr(y - ssize.height), dsize.width ); width 972 modules/core/src/copy.cpp cv::AutoBuffer<int> _tab((dstroi.width - srcroi.width)*cn); width 974 modules/core/src/copy.cpp int right = dstroi.width - srcroi.width - left; width 979 modules/core/src/copy.cpp j = cv::borderInterpolate(i - left, srcroi.width, borderType)*cn; width 986 modules/core/src/copy.cpp j = cv::borderInterpolate(srcroi.width + i, srcroi.width, borderType)*cn; width 991 modules/core/src/copy.cpp srcroi.width *= cn; width 992 modules/core/src/copy.cpp dstroi.width *= cn; width 1001 modules/core/src/copy.cpp memcpy(dstInner, src, srcroi.width*elemSize); width 1010 modules/core/src/copy.cpp idstInner[j + srcroi.width] = isrc[tab[j + left]]; width 1017 modules/core/src/copy.cpp dstInner[j + srcroi.width] = src[tab[j + left]]; width 1021 modules/core/src/copy.cpp dstroi.width *= elemSize; width 1027 modules/core/src/copy.cpp memcpy(dst + (i - top)*dststep, dst + j*dststep, dstroi.width); width 1033 modules/core/src/copy.cpp memcpy(dst + (i + srcroi.height)*dststep, dst + j*dststep, dstroi.width); width 1043 modules/core/src/copy.cpp cv::AutoBuffer<uchar> _constBuf(dstroi.width*cn); width 1045 modules/core/src/copy.cpp int right = dstroi.width - srcroi.width - left; width 1048 modules/core/src/copy.cpp for( i = 0; i < dstroi.width; i++ ) width 1054 modules/core/src/copy.cpp srcroi.width *= cn; width 1055 modules/core/src/copy.cpp dstroi.width *= cn; width 1064 modules/core/src/copy.cpp memcpy( dstInner, src, srcroi.width ); width 1066 modules/core/src/copy.cpp memcpy( dstInner + srcroi.width, constBuf, right ); width 1072 modules/core/src/copy.cpp memcpy(dst + (i - top)*dststep, constBuf, dstroi.width); width 1075 modules/core/src/copy.cpp memcpy(dst + (i + srcroi.height)*dststep, constBuf, dstroi.width); width 1118 modules/core/src/copy.cpp int dright = std::min(wholeSize.width - src.cols - ofs.x, right); width 1166 modules/core/src/copy.cpp int dright = std::min(wholeSize.width - src.cols - ofs.x, right); width 76 modules/core/src/cuda_gpu_mat.cpp flags(Mat::MAGIC_VAL + (type_ & Mat::TYPE_MASK)), rows(size_.height), cols(size_.width), width 144 modules/core/src/cuda_gpu_mat.cpp flags(m.flags), rows(roi.height), cols(roi.width), width 149 modules/core/src/cuda_gpu_mat.cpp flags &= roi.width < m.cols ? ~Mat::CONTINUOUS_FLAG : -1; width 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 ); width 227 modules/core/src/cuda_gpu_mat.cpp wholeSize.width = std::max(static_cast<int>((delta2 - step * (wholeSize.height - 1)) / esz), ofs.x + cols); width 242 modules/core/src/cuda_gpu_mat.cpp int col2 = std::min(ofs.x + cols + dright, wholeSize.width); width 309 modules/core/src/cuda_gpu_mat.cpp wholeSize.width = std::max(static_cast<int>((delta2 - static_cast<size_t>(obj.step) * (wholeSize.height - 1)) / esz), obj.cols); width 311 modules/core/src/cuda_gpu_mat.cpp if (wholeSize.height < rows || wholeSize.width < cols) width 720 modules/core/src/directx.cpp CV_Assert(srcSize.width == (int)desc.Width && srcSize.height == (int)desc.Height); width 868 modules/core/src/directx.cpp CV_Assert(srcSize.width == (int)desc.Width && srcSize.height == (int)desc.Height); width 1019 modules/core/src/directx.cpp CV_Assert(srcSize.width == (int)desc.Width && srcSize.height == (int)desc.Height); width 2219 modules/core/src/dxt.cpp size_t clLengthsIn[3] = { dft_size.width, dft_rows ? 1 : dft_size.height, 1 }; width 2250 modules/core/src/dxt.cpp clStridesIn[2] = dft_rows ? clStridesIn[1] : dft_size.width * clStridesIn[1]; width 2251 modules/core/src/dxt.cpp clStridesOut[2] = dft_rows ? clStridesOut[1] : dft_size.width * clStridesOut[1]; width 2264 modules/core/src/dxt.cpp float scale = dft_scale ? 1.0f / (dft_rows ? dft_size.width : dft_size.area()) : 1.0f; width 2387 modules/core/src/dxt.cpp _dst.create(ssize.height, ssize.width, CV_MAKE_TYPE(depth, 2)); width 2939 modules/core/src/dxt.cpp size_t globalsize[2] = { asize.width, (asize.height + rowsPerWI - 1) / rowsPerWI }; width 795 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_LineWidth(GLfloat width) width 798 modules/core/src/gl_core_3_1.cpp LineWidth(width); width 813 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_Scissor(GLint x, GLint y, GLsizei width, GLsizei height) width 816 modules/core/src/gl_core_3_1.cpp Scissor(x, y, width, height); width 843 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_TexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) width 846 modules/core/src/gl_core_3_1.cpp TexImage1D(target, level, internalformat, width, border, format, type, pixels); width 849 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_TexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) width 852 modules/core/src/gl_core_3_1.cpp TexImage2D(target, level, internalformat, width, height, border, format, type, pixels); width 975 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_ReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) width 978 modules/core/src/gl_core_3_1.cpp ReadPixels(x, y, width, height, format, type, pixels); width 1059 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_Viewport(GLint x, GLint y, GLsizei width, GLsizei height) width 1062 modules/core/src/gl_core_3_1.cpp Viewport(x, y, width, height); width 1089 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) width 1092 modules/core/src/gl_core_3_1.cpp CopyTexImage1D(target, level, internalformat, x, y, width, border); width 1095 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) width 1098 modules/core/src/gl_core_3_1.cpp CopyTexImage2D(target, level, internalformat, x, y, width, height, border); width 1101 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) width 1104 modules/core/src/gl_core_3_1.cpp CopyTexSubImage1D(target, level, xoffset, x, y, width); width 1107 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) width 1110 modules/core/src/gl_core_3_1.cpp CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); width 1113 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_TexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) width 1116 modules/core/src/gl_core_3_1.cpp TexSubImage1D(target, level, xoffset, width, format, type, pixels); width 1119 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_TexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) width 1122 modules/core/src/gl_core_3_1.cpp TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); width 1181 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_TexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) width 1184 modules/core/src/gl_core_3_1.cpp TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); width 1187 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) width 1190 modules/core/src/gl_core_3_1.cpp CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); width 1207 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) width 1210 modules/core/src/gl_core_3_1.cpp CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); width 1213 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) width 1216 modules/core/src/gl_core_3_1.cpp CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); width 1219 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) width 1222 modules/core/src/gl_core_3_1.cpp CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); width 1225 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) width 1228 modules/core/src/gl_core_3_1.cpp CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); width 1231 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) width 1234 modules/core/src/gl_core_3_1.cpp CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); width 1237 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) width 1240 modules/core/src/gl_core_3_1.cpp CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); width 1857 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_RenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) width 1860 modules/core/src/gl_core_3_1.cpp RenderbufferStorage(target, internalformat, width, height); width 1941 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_RenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) width 1944 modules/core/src/gl_core_3_1.cpp RenderbufferStorageMultisample(target, samples, internalformat, width, height); width 1072 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *LineWidth)(GLfloat width); width 1075 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *Scissor)(GLint x, GLint y, GLsizei width, GLsizei height); width 1080 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *TexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); width 1081 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *TexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); width 1102 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); width 1116 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *Viewport)(GLint x, GLint y, GLsizei width, GLsizei height); width 1121 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); width 1122 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); width 1123 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); width 1124 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); width 1125 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); width 1126 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); width 1138 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *TexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); width 1139 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); width 1144 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); width 1145 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); width 1146 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); width 1147 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); width 1148 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); width 1149 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); width 1264 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *RenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); width 1278 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *RenderbufferStorageMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 1662 modules/core/src/mathfuncs.cpp for( ; badPt.x < 0 && size.height--; loc += size.width, isrc += step ) width 1664 modules/core/src/mathfuncs.cpp for( i = 0; i < size.width; i++ ) width 1691 modules/core/src/mathfuncs.cpp for( ; badPt.x < 0 && size.height--; loc += size.width, isrc += step ) width 1693 modules/core/src/mathfuncs.cpp for( i = 0; i < size.width; i++ ) width 61 modules/core/src/matmul.cpp size.width *= (int)(pix_size / sizeof(int)); width 67 modules/core/src/matmul.cpp for( ; j <= size.width - 4; j += 4 ) width 79 modules/core/src/matmul.cpp for( ; j < size.width; j++ ) width 91 modules/core/src/matmul.cpp for( i = 0; i < size.width; i++, dst += dst_step, src += pix_size ) width 138 modules/core/src/matmul.cpp int i, j, k, n = a_size.width, m = d_size.width, drows = d_size.height; width 185 modules/core/src/matmul.cpp _b_buf.allocate(d_size.width); width 187 modules/core/src/matmul.cpp for( j = 0; j < d_size.width; j++ ) width 196 modules/core/src/matmul.cpp for( j = 0; j <= d_size.width - 2; j += 2, c_data += 2*c_step1 ) width 212 modules/core/src/matmul.cpp for( ; j < d_size.width; j++, c_data += c_step1 ) width 237 modules/core/src/matmul.cpp for( j = 0; j < d_size.width; j++, b_data += b_step, width 262 modules/core/src/matmul.cpp else if( d_size.width*sizeof(d_data[0]) <= 1600 ) width 385 modules/core/src/matmul.cpp int i, j, k, n = a_size.width, m = d_size.width; width 421 modules/core/src/matmul.cpp for( j = 0; j < d_size.width; j++, b_data += b_step ) width 517 modules/core/src/matmul.cpp for(; j <= d_size.width - 4; j += 4, c_data += 4*c_step1 ) width 533 modules/core/src/matmul.cpp for( ; j < d_size.width; j++, c_data += c_step1 ) width 543 modules/core/src/matmul.cpp for( ; j <= d_size.width - 4; j += 4 ) width 555 modules/core/src/matmul.cpp for( ; j < d_size.width; j++ ) width 706 modules/core/src/matmul.cpp sizeA = Size(sizeA.height, sizeA.width); width 708 modules/core/src/matmul.cpp sizeB = Size(sizeB.height, sizeB.width); width 710 modules/core/src/matmul.cpp sizeC = Size(sizeC.height, sizeC.width); width 712 modules/core/src/matmul.cpp Size sizeD(sizeB.width, sizeA.height); width 715 modules/core/src/matmul.cpp CV_Assert( sizeA.width == sizeB.height && (!haveC || sizeC == sizeD) ); width 739 modules/core/src/matmul.cpp int M = sizeD.height, N = sizeD.width, K = sizeA.width; width 810 modules/core/src/matmul.cpp sizeA = Size(sizeA.height, sizeA.width); width 812 modules/core/src/matmul.cpp sizeB = Size(sizeB.height, sizeB.width); width 814 modules/core/src/matmul.cpp sizeC = Size(sizeC.height, sizeC.width); width 816 modules/core/src/matmul.cpp Size sizeD(sizeB.width, sizeA.height); width 819 modules/core/src/matmul.cpp CV_Assert( sizeA.width == sizeB.height && (!haveC || sizeC == sizeD) ); width 843 modules/core/src/matmul.cpp (sizeA.width % block_size !=0) ? "-D NO_MULT" : "", width 855 modules/core/src/matmul.cpp sizeA.width, alpha, beta); width 860 modules/core/src/matmul.cpp sizeA.width, (float)alpha, (float)beta); width 862 modules/core/src/matmul.cpp size_t globalsize[2] = { sizeD.width * cn / kercn, sizeD.height}; width 900 modules/core/src/matmul.cpp CV_Assert( a_size.width == len ); width 903 modules/core/src/matmul.cpp d_size = Size( B.cols, a_size.width ); width 910 modules/core/src/matmul.cpp CV_Assert( a_size.width == len ); width 913 modules/core/src/matmul.cpp d_size = Size( B.rows, a_size.width ); width 922 modules/core/src/matmul.cpp (((flags&GEMM_3_T) == 0 && C.rows == d_size.height && C.cols == d_size.width) || width 923 modules/core/src/matmul.cpp ((flags&GEMM_3_T) != 0 && C.rows == d_size.width && C.cols == d_size.height))); width 926 modules/core/src/matmul.cpp _matD.create( d_size.height, d_size.width, type ); width 934 modules/core/src/matmul.cpp if( flags == 0 && 2 <= len && len <= 4 && (len == d_size.width || len == d_size.height) ) width 953 modules/core/src/matmul.cpp if( len == d_size.width && b != d ) width 972 modules/core/src/matmul.cpp for( i = 0; i < d_size.width; i++, d++, b++, c += c_step0 ) width 984 modules/core/src/matmul.cpp if( len == d_size.width && b != d ) width 1005 modules/core/src/matmul.cpp for( i = 0; i < d_size.width; i++, d++, b++, c += c_step0 ) width 1020 modules/core/src/matmul.cpp if( len == d_size.width && b != d ) width 1043 modules/core/src/matmul.cpp for( i = 0; i < d_size.width; i++, d++, b++, c += c_step0 ) width 1080 modules/core/src/matmul.cpp if( len == d_size.width && b != d ) width 1099 modules/core/src/matmul.cpp for( i = 0; i < d_size.width; i++, d++, b++, c += c_step0 ) width 1111 modules/core/src/matmul.cpp if( len == d_size.width && b != d ) width 1132 modules/core/src/matmul.cpp for( i = 0; i < d_size.width; i++, d++, b++, c += c_step0 ) width 1147 modules/core/src/matmul.cpp if( len == d_size.width && b != d ) width 1161 modules/core/src/matmul.cpp else if( d_size.width <= 16 && a != d ) width 1170 modules/core/src/matmul.cpp for( i = 0; i < d_size.width; i++, d++, b++, c += c_step0 ) width 1231 modules/core/src/matmul.cpp tmat_size = (size_t)d_size.width*d_size.height*CV_ELEM_SIZE(type); width 1236 modules/core/src/matmul.cpp if( (d_size.width == 1 || len == 1) && !(flags & GEMM_2_T) && B.isContinuous() ) width 1238 modules/core/src/matmul.cpp b_step = d_size.width == 1 ? 0 : CV_ELEM_SIZE(type); width 1304 modules/core/src/matmul.cpp else*/ if( ((d_size.height <= block_lin_size/2 || d_size.width <= block_lin_size/2) && width 1306 modules/core/src/matmul.cpp (d_size.width <= block_lin_size && width 1311 modules/core/src/matmul.cpp tmat = Mat(d_size.height, d_size.width, type, (uchar*)buf ); width 1352 modules/core/src/matmul.cpp dn0 = std::min( block_lin_size, d_size.width ); width 1379 modules/core/src/matmul.cpp tmat = Mat(d_size.height, d_size.width, type, b_buf + b_buf_size + a_buf_size ); width 1387 modules/core/src/matmul.cpp for( j = 0; j < d_size.width; j += dj ) width 1394 modules/core/src/matmul.cpp if( j + dj >= d_size.width || 8*(j + dj) + dj > 8*d_size.width ) width 1395 modules/core/src/matmul.cpp dj = d_size.width - j; width 1417 modules/core/src/matmul.cpp a_bl_size.width = dk, a_bl_size.height = di; width 1419 modules/core/src/matmul.cpp a_bl_size.width = di, a_bl_size.height = dk; width 1425 modules/core/src/matmul.cpp std::swap( a_bl_size.width, a_bl_size.height ); width 1429 modules/core/src/matmul.cpp if( dj < d_size.width ) width 1433 modules/core/src/matmul.cpp b_size.width = dj, b_size.height = dk; width 1435 modules/core/src/matmul.cpp b_size.width = dk, b_size.height = dj; width 1437 modules/core/src/matmul.cpp _b_step = b_size.width*elem_size; width 2364 modules/core/src/matmul.cpp int sz = size.width * size.height, esz = (int)data[0].elemSize(); width 2390 modules/core/src/matmul.cpp Mat dataRow(size.height, size.width, type, _data.ptr(i)); width 2420 modules/core/src/matmul.cpp Mat dataRow(size.height, size.width, type, _data.ptr(i)); width 2492 modules/core/src/matmul.cpp int i, j, len = sz.width*sz.height*v1.channels(); width 2499 modules/core/src/matmul.cpp sz.width *= v1.channels(); width 2502 modules/core/src/matmul.cpp sz.width *= sz.height; width 2516 modules/core/src/matmul.cpp for( ; sz.height--; src1 += step1, src2 += step2, diff += sz.width ) width 2518 modules/core/src/matmul.cpp for( i = 0; i < sz.width; i++ ) width 2547 modules/core/src/matmul.cpp for( ; sz.height--; src1 += step1, src2 += step2, diff += sz.width ) width 2549 modules/core/src/matmul.cpp for( i = 0; i < sz.width; i++ ) width 2599 modules/core/src/matmul.cpp if( delta && delta_cols < size.width ) width 2607 modules/core/src/matmul.cpp if( delta && delta_cols < size.width ) width 2618 modules/core/src/matmul.cpp for( i = 0; i < size.width; i++, tdst += dststep ) width 2623 modules/core/src/matmul.cpp for( j = i; j <= size.width - 4; j += 4 ) width 2643 modules/core/src/matmul.cpp for( ; j < size.width; j++ ) width 2655 modules/core/src/matmul.cpp for( i = 0; i < size.width; i++, tdst += dststep ) width 2664 modules/core/src/matmul.cpp for( j = i; j <= size.width - 4; j += 4 ) width 2685 modules/core/src/matmul.cpp for( ; j < size.width; j++ ) width 2722 modules/core/src/matmul.cpp for( k = 0; k <= size.width - 4; k += 4 ) width 2725 modules/core/src/matmul.cpp for( ; k < size.width; k++ ) width 2732 modules/core/src/matmul.cpp int delta_shift = delta_cols == size.width ? 4 : 0; width 2733 modules/core/src/matmul.cpp AutoBuffer<uchar> buf(size.width*sizeof(dT)); width 2741 modules/core/src/matmul.cpp if( delta_cols < size.width ) width 2742 modules/core/src/matmul.cpp for( k = 0; k < size.width; k++ ) width 2745 modules/core/src/matmul.cpp for( k = 0; k < size.width; k++ ) width 2753 modules/core/src/matmul.cpp if( delta_cols < size.width ) width 2759 modules/core/src/matmul.cpp for( k = 0; k <= size.width-4; k += 4, tdelta2 += delta_shift ) width 2764 modules/core/src/matmul.cpp for( ; k < size.width; k++, tdelta2++ ) width 634 modules/core/src/matop.cpp op->roi(*this, Range(roi.y, roi.y + roi.height), Range(roi.x, roi.x + roi.width), e); width 483 modules/core/src/matrix.cpp : flags(m.flags), dims(2), rows(roi.height), cols(roi.width), width 489 modules/core/src/matrix.cpp flags &= roi.width < m.cols ? ~CONTINUOUS_FLAG : -1; width 494 modules/core/src/matrix.cpp CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && width 498 modules/core/src/matrix.cpp if( roi.width < m.cols || roi.height < m.rows ) width 630 modules/core/src/matrix.cpp m.cols = img->width; width 640 modules/core/src/matrix.cpp m.cols = img->roi->width; width 901 modules/core/src/matrix.cpp wholeSize.width = (int)((delta2 - step*(wholeSize.height-1))/esz); width 902 modules/core/src/matrix.cpp wholeSize.width = std::max(wholeSize.width, ofs.x + cols); width 912 modules/core/src/matrix.cpp int col1 = std::max(ofs.x - dleft, 0), col2 = std::min(ofs.x + cols + dright, wholeSize.width); width 1294 modules/core/src/matrix.cpp mv[i] = Mat(1, sz.width, CV_MAT_TYPE(flags), (uchar*)obj + esz*sz.width*i); width 1459 modules/core/src/matrix.cpp return size(i).width; width 1617 modules/core/src/matrix.cpp arrsz[1] = sz2d.width; width 2162 modules/core/src/matrix.cpp int sizes[] = {_sz.height, _sz.width}; width 2287 modules/core/src/matrix.cpp CV_Assert( d == 2 && ((sizes[0] == sz.height && sizes[1] == sz.width) || width 2288 modules/core/src/matrix.cpp (allowTransposed && sizes[0] == sz.width && sizes[1] == sz.height))); width 2929 modules/core/src/matrix.cpp int i=0, j, m = sz.width, n = sz.height; width 3272 modules/core/src/matrix.cpp size.width *= srcmat.channels(); width 3273 modules/core/src/matrix.cpp AutoBuffer<WT> buffer(size.width); width 3281 modules/core/src/matrix.cpp for( i = 0; i < size.width; i++ ) width 3289 modules/core/src/matrix.cpp for(; i <= size.width - 4; i += 4 ) width 3301 modules/core/src/matrix.cpp for( ; i < size.width; i++ ) width 3305 modules/core/src/matrix.cpp for( i = 0; i < size.width; i++ ) width 3316 modules/core/src/matrix.cpp size.width *= cn; width 3323 modules/core/src/matrix.cpp if( size.width == cn ) width 3331 modules/core/src/matrix.cpp for( i = 2*cn; i <= size.width - 4*cn; i += 4*cn ) width 3339 modules/core/src/matrix.cpp for( ; i < size.width; i += cn ) width 3382 modules/core/src/matrix.cpp IppiSize roisize = { size.width, 1 }; width 3474 modules/core/src/matrix.cpp IppiSize roisize = ippiSize(size.width, 1);\ width 3620 modules/core/src/matrix.cpp size_t globalsize = std::max(dsize.width, dsize.height); width 5373 modules/core/src/matrix.cpp pt[0].x = center.x - a*size.height - b*size.width; width 5374 modules/core/src/matrix.cpp pt[0].y = center.y + b*size.height - a*size.width; width 5375 modules/core/src/matrix.cpp pt[1].x = center.x + a*size.height - b*size.width; width 5376 modules/core/src/matrix.cpp pt[1].y = center.y - b*size.height - a*size.width; width 5391 modules/core/src/matrix.cpp r.width -= r.x - 1; width 5371 modules/core/src/ocl.cpp int width = k.cols - 1, depth = k.depth(); width 5379 modules/core/src/ocl.cpp for (int i = 0; i < width; ++i) width 5381 modules/core/src/ocl.cpp stream << "DIG(" << (int)data[width] << ")"; width 5386 modules/core/src/ocl.cpp for (int i = 0; i < width; ++i) width 5388 modules/core/src/ocl.cpp stream << "DIG(" << data[width] << "f)"; width 5392 modules/core/src/ocl.cpp for (int i = 0; i < width; ++i) width 5394 modules/core/src/ocl.cpp stream << "DIG(" << data[width] << ")"; width 5428 modules/core/src/ocl.cpp ckercn = vectorWidths[cdepth], cwidth = ccn * csize.width; \ width 145 modules/core/src/opengl.cpp void copyFrom(const void* src, size_t spitch, size_t width, size_t height, cudaStream_t stream = 0); width 146 modules/core/src/opengl.cpp void copyTo(void* dst, size_t dpitch, size_t width, size_t height, cudaStream_t stream = 0); width 222 modules/core/src/opengl.cpp void CudaResource::copyFrom(const void* src, size_t spitch, size_t width, size_t height, cudaStream_t stream) width 233 modules/core/src/opengl.cpp CV_DbgAssert( width * height == size ); width 236 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2D(dst, width, src, spitch, width, height, cudaMemcpyDeviceToDevice) ); width 238 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2DAsync(dst, width, src, spitch, width, height, cudaMemcpyDeviceToDevice, stream) ); width 241 modules/core/src/opengl.cpp void CudaResource::copyTo(void* dst, size_t dpitch, size_t width, size_t height, cudaStream_t stream) width 252 modules/core/src/opengl.cpp CV_DbgAssert( width * height == size ); width 255 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2D(dst, dpitch, src, width, width, height, cudaMemcpyDeviceToDevice) ); width 257 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2DAsync(dst, dpitch, src, width, width, height, cudaMemcpyDeviceToDevice, stream) ); width 316 modules/core/src/opengl.cpp void copyFrom(const void* src, size_t spitch, size_t width, size_t height, cudaStream_t stream = 0); width 317 modules/core/src/opengl.cpp void copyTo(void* dst, size_t dpitch, size_t width, size_t height, cudaStream_t stream = 0) const; width 430 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyFrom(const void* src, size_t spitch, size_t width, size_t height, cudaStream_t stream) width 433 modules/core/src/opengl.cpp cudaResource_.copyFrom(src, spitch, width, height, stream); width 436 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyTo(void* dst, size_t dpitch, size_t width, size_t height, cudaStream_t stream) const width 439 modules/core/src/opengl.cpp cudaResource_.copyTo(dst, dpitch, width, height, stream); width 494 modules/core/src/opengl.cpp cols_ = asize.width; width 846 modules/core/src/opengl.cpp Impl(GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels, bool autoRelease); width 849 modules/core/src/opengl.cpp void copyFrom(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); width 880 modules/core/src/opengl.cpp cv::ogl::Texture2D::Impl::Impl(GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels, bool autoRelease) : texId_(0), autoRelease_(autoRelease) width 893 modules/core/src/opengl.cpp gl::TexImage2D(gl::TEXTURE_2D, 0, internalFormat, width, height, 0, format, type, pixels); width 906 modules/core/src/opengl.cpp void cv::ogl::Texture2D::Impl::copyFrom(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) width 914 modules/core/src/opengl.cpp gl::TexSubImage2D(gl::TEXTURE_2D, 0, 0, 0, width, height, format, type, pixels); width 978 modules/core/src/opengl.cpp cols_ = asize.width; width 1016 modules/core/src/opengl.cpp impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], 0, autoRelease)); width 1030 modules/core/src/opengl.cpp impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], 0, autoRelease)); width 1042 modules/core/src/opengl.cpp impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], mat.data, autoRelease)); width 1048 modules/core/src/opengl.cpp cols_ = asize.width; width 1130 modules/core/src/opengl.cpp impl_->copyFrom(asize.width, asize.height, srcFormats[cn], gl_types[depth], 0); width 1144 modules/core/src/opengl.cpp impl_->copyFrom(asize.width, asize.height, srcFormats[cn], gl_types[depth], 0); width 1156 modules/core/src/opengl.cpp impl_->copyFrom(asize.width, asize.height, srcFormats[cn], gl_types[depth], mat.data); width 1450 modules/core/src/opengl.cpp wndRect.x + wndRect.width, (wndRect.y + wndRect.height), 0.0f, width 1451 modules/core/src/opengl.cpp wndRect.x + wndRect.width, wndRect.y, 0.0f width 1457 modules/core/src/opengl.cpp texRect.x + texRect.width, texRect.y + texRect.height, width 1458 modules/core/src/opengl.cpp texRect.x + texRect.width, texRect.y width 3517 modules/core/src/persistence.cpp if( size.height > 0 && size.width > 0 && mat->data.ptr ) width 3521 modules/core/src/persistence.cpp size.width *= size.height; width 3526 modules/core/src/persistence.cpp cvWriteRawData( fs, mat->data.ptr + (size_t)y*mat->step, size.width, dt ); width 3617 modules/core/src/persistence.cpp cvWriteRawData( fs, iterator.ptr[0], iterator.size.width, dt ); width 3877 modules/core/src/persistence.cpp cvWriteInt( fs, "width", image->width ); width 3888 modules/core/src/persistence.cpp cvWriteInt( fs, "width", image->roi->width ); width 3899 modules/core/src/persistence.cpp size = cvSize(image->width, image->height); width 3900 modules/core/src/persistence.cpp if( size.width*image->nChannels*CV_ELEM_SIZE(depth) == image->widthStep ) width 3902 modules/core/src/persistence.cpp size.width *= size.height; width 3908 modules/core/src/persistence.cpp cvWriteRawData( fs, image->imageData + y*image->widthStep, size.width, dt ); width 3924 modules/core/src/persistence.cpp int y, width, height, elem_type, coi, depth; width 3927 modules/core/src/persistence.cpp width = cvReadIntByName( fs, node, "width", 0 ); width 3932 modules/core/src/persistence.cpp if( width == 0 || height == 0 || dt == 0 || origin == 0 ) width 3944 modules/core/src/persistence.cpp if( icvFileNodeSeqLen( data ) != width*height*CV_MAT_CN(elem_type) ) width 3949 modules/core/src/persistence.cpp image = cvCreateImage( cvSize(width,height), depth, CV_MAT_CN(elem_type) ); width 3956 modules/core/src/persistence.cpp roi.width = cvReadIntByName( fs, roi_node, "width", 0 ); width 3964 modules/core/src/persistence.cpp if( width*CV_ELEM_SIZE(elem_type) == image->widthStep ) width 3966 modules/core/src/persistence.cpp width *= height; width 3970 modules/core/src/persistence.cpp width *= CV_MAT_CN(elem_type); width 3974 modules/core/src/persistence.cpp cvReadRawDataSlice( fs, &reader, width, width 4035 modules/core/src/persistence.cpp cvWriteInt( fs, "width", point_seq->rect.width ); width 4300 modules/core/src/persistence.cpp point_seq->rect.width = cvReadIntByName( fs, rect_node, "width", 0 ); width 219 modules/core/src/precomp.hpp if(sz.width != 1 && sz.height != 1) width 233 modules/core/src/precomp.hpp if(sz.width != 1 && sz.height != 1) width 1319 modules/core/src/stat.cpp roiSize.width = (Ipp32s)src.total(); width 353 modules/core/src/umatrix.cpp : flags(m.flags), dims(2), rows(roi.height), cols(roi.width), width 357 modules/core/src/umatrix.cpp flags &= roi.width < m.cols ? ~CONTINUOUS_FLAG : -1; width 362 modules/core/src/umatrix.cpp CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && width 366 modules/core/src/umatrix.cpp if( roi.width < m.cols || roi.height < m.rows ) width 455 modules/core/src/umatrix.cpp wholeSize.width = (int)((delta2 - step*(wholeSize.height-1))/esz); width 456 modules/core/src/umatrix.cpp wholeSize.width = std::max(wholeSize.width, ofs.x + cols); width 467 modules/core/src/umatrix.cpp int col1 = std::max(ofs.x - dleft, 0), col2 = std::min(ofs.x + cols + dright, wholeSize.width); width 572 modules/core/test/ocl/test_arithm.cpp randomSubMat(dst1, dst1_roi, Size(roiSize.height, roiSize.width), dst1Border, src1.type(), 5, 16); width 590 modules/core/test/ocl/test_arithm.cpp roiSize.height = roiSize.width; // make it square width 911 modules/core/test/ocl/test_arithm.cpp Size dstRoiSize(srcRoiSize.width * nx, srcRoiSize.height * ny); width 1659 modules/core/test/ocl/test_arithm.cpp roiSize.width *= cn; width 1663 modules/core/test/ocl/test_arithm.cpp for (int x = 0; x < roiSize.width; ++x) width 1739 modules/core/test/ocl/test_arithm.cpp Size dstRoiSize = Size(dim == 0 ? roiSize.width : 1, dim == 0 ? 1 : roiSize.height); width 99 modules/core/test/ocl/test_gemm.cpp ARoiSize = Size(ARoiSize.height, ARoiSize.width); width 103 modules/core/test/ocl/test_gemm.cpp BRoiSize.width = ARoiSize.width; width 105 modules/core/test/ocl/test_gemm.cpp BRoiSize.height = ARoiSize.width; width 111 modules/core/test/ocl/test_gemm.cpp BRoiSize = Size(BRoiSize.height, BRoiSize.width); width 113 modules/core/test/ocl/test_gemm.cpp Size DRoiSize = Size(BRoiSize.width, ARoiSize.height), CRoiSizeT(DRoiSize.height, DRoiSize.width); width 773 modules/core/test/test_arithm.cpp int i, j, k, esz = (int)src.elemSize(), width = src.cols*esz; width 780 modules/core/test/test_arithm.cpp memcpy(dptr, sptr, width); width 783 modules/core/test/test_arithm.cpp for( j = 0; j < width; j += esz ) width 785 modules/core/test/test_arithm.cpp dptr[j + k] = sptr[width - j - esz + k]; width 796 modules/core/test/test_arithm.cpp int i, k, esz = (int)dst.elemSize(), width = dst.cols*esz; width 801 modules/core/test/test_arithm.cpp memset( dptr, 0, width ); width 1763 modules/core/test/test_arithm.cpp int dims[] = {5, size.height, size.width}; width 89 modules/core/test/test_countnonzero.cpp for (int j = 0; j < size.width; ++j) width 112 modules/core/test/test_countnonzero.cpp int i = rng.next()%size.height, j = rng.next()%size.width; width 556 modules/core/test/test_dxt.cpp size.width = 1; width 565 modules/core/test/test_dxt.cpp size.width = (size.width / P2_MIN_SIZE)*P2_MIN_SIZE; width 566 modules/core/test/test_dxt.cpp size.width = MAX(size.width, 1); width 573 modules/core/test/test_dxt.cpp if( size.width > 1 && (size.width&1) != 0 ) width 574 modules/core/test/test_dxt.cpp size.width = (size.width + 1) & -2; width 597 modules/core/test/test_dxt.cpp size = cvSize(size.width/2+1, size.height); width 111 modules/core/test/test_ippasync.cpp sts = hppQueryMatrixAllocParams(accel, (hpp32u)(matrix_Size.width*cn), (hpp32u)matrix_Size.height, HPP_DATA_TYPE_8U, &pitch, &size); width 118 modules/core/test/test_ippasync.cpp for(int i=0; i<matrix_Size.width*cn; i++) width 121 modules/core/test/test_ippasync.cpp matrix = Mat(matrix_Size.height, matrix_Size.width, type, pData, pitch); width 315 modules/core/test/test_mat.cpp Mat avg(1, sz.width, CV_32FC1 ); width 1069 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.rows, dst.cols, size.height, size.width); width 1120 modules/core/test/test_mat.cpp commonLog.str().c_str(), i, dst[i].rows, dst[i].cols, size.height, size.width); width 639 modules/core/test/test_math.cpp sizes[INPUT][1].height = sizes[INPUT][0].width; width 641 modules/core/test/test_math.cpp sizes[OUTPUT][0].width = sizes[INPUT][1].width; width 644 modules/core/test/test_math.cpp sizes[INPUT][1].width = sizes[INPUT][0].width; width 646 modules/core/test/test_math.cpp sizes[OUTPUT][0].width = sizes[INPUT][1].height; width 650 modules/core/test/test_math.cpp sizes[OUTPUT][0].height = sizes[INPUT][0].width; width 651 modules/core/test/test_math.cpp sizes[OUTPUT][0].width = sizes[INPUT][1].width; width 654 modules/core/test/test_math.cpp sizes[INPUT][1].width = sizes[INPUT][0].height; width 655 modules/core/test/test_math.cpp sizes[OUTPUT][0].height = sizes[INPUT][0].width; width 656 modules/core/test/test_math.cpp sizes[OUTPUT][0].width = sizes[INPUT][1].height; width 668 modules/core/test/test_math.cpp sizes[INPUT][4].width = sizes[OUTPUT][0].height; width 669 modules/core/test/test_math.cpp sizes[INPUT][4].height = sizes[OUTPUT][0].width; width 753 modules/core/test/test_math.cpp sizes[INPUT][1].width = 1; width 761 modules/core/test/test_math.cpp sizes[OUTPUT][0].width = sizes[OUTPUT][0].height = order == 0 ? width 762 modules/core/test/test_math.cpp sizes[INPUT][0].height : sizes[INPUT][0].width; width 1094 modules/core/test/test_math.cpp sizes[INPUT][0].width = sizes[INPUT][1].width = 1; width 1099 modules/core/test/test_math.cpp sizes[INPUT][2].width = sizes[INPUT][2].height = sizes[INPUT][0].width + sizes[INPUT][0].height - 1; width 1183 modules/core/test/test_math.cpp len = sizes[INPUT][0].width; width 1191 modules/core/test/test_math.cpp count = sizes[INPUT][0].width; width 1357 modules/core/test/test_math.cpp sizes[INPUT][0].width = sizes[INPUT][0].height; width 1521 modules/core/test/test_math.cpp int min_size = MIN( sizes[INPUT][0].width, sizes[INPUT][0].height ); width 1539 modules/core/test/test_math.cpp sizes[TEMP][0].width = sizes[INPUT][0].height; width 1540 modules/core/test/test_math.cpp sizes[TEMP][0].height = sizes[INPUT][0].width; width 1677 modules/core/test/test_math.cpp if( in_sz.width > in_sz.height ) width 1678 modules/core/test/test_math.cpp in_sz = cvSize(in_sz.height, in_sz.width); width 1681 modules/core/test/test_math.cpp int min_size = MIN( sizes[INPUT][0].width, sizes[INPUT][0].height ); width 1700 modules/core/test/test_math.cpp sizes[TEMP][0].width = sizes[INPUT][1].width; width 1701 modules/core/test/test_math.cpp sizes[TEMP][0].height = sizes[INPUT][0].width; width 1705 modules/core/test/test_math.cpp sizes[OUTPUT][0] = sizes[REF_OUTPUT][0] = Size(sizes[INPUT][1].width, min_size); width 1821 modules/core/test/test_math.cpp min_size = MIN( sizes[INPUT][0].width, sizes[INPUT][0].height ); width 1834 modules/core/test/test_math.cpp n = sizes[INPUT][0].width; width 1856 modules/core/test/test_math.cpp CV_SWAP( sizes[TEMP][1].width, sizes[TEMP][1].height, i ); width 1866 modules/core/test/test_math.cpp CV_SWAP( sizes[TEMP][2].width, sizes[TEMP][2].height, i ); width 2050 modules/core/test/test_math.cpp min_size = MIN( sizes[INPUT][0].width, sizes[INPUT][0].height ); width 2062 modules/core/test/test_math.cpp n = sizes[INPUT][0].width; width 2069 modules/core/test/test_math.cpp sizes[INPUT][1].width = cvtest::randInt(rng) % 100 + 1; width 2089 modules/core/test/test_math.cpp CV_SWAP( sizes[TEMP][1].width, sizes[TEMP][1].height, i ); width 2094 modules/core/test/test_math.cpp CV_SWAP( sizes[TEMP][2].width, sizes[TEMP][2].height, i ); width 2098 modules/core/test/test_math.cpp sizes[OUTPUT][0] = sizes[REF_OUTPUT][0] = Size( b_size.width, n ); width 2152 modules/core/test/test_math.cpp Mat wdb( w_size.height, w_size.width, CV_64FC1 ); width 11 modules/core/test/test_misc.cpp int sizes[] = {submatSize.width, submatSize.height}; width 115 modules/core/test/test_operations.cpp CV_Assert(m.cols == sz.width && m.rows == sz.height && m.depth() == DataType<_Tp>::depth && width 119 modules/core/test/test_operations.cpp for( int x = 0; x < sz.width; x++ ) width 125 modules/core/test/test_operations.cpp CV_Assert( s == (double)sz.width*sz.height ); width 979 modules/core/test/test_operations.cpp if (sz.width != 10 || sz.height != 20) throw test_excep(); width 980 modules/core/test/test_operations.cpp if (((CvSize)sz).width != 10 || ((CvSize)sz).height != 20) throw test_excep(); width 265 modules/core/test/test_ptr.cpp EXPECT_EQ(&s->width, &p->width); width 78 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); width 80 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); width 81 modules/core/test/test_umat.cpp roi = Rect(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height); width 136 modules/core/test/test_umat.cpp roi.width = (roi.width + align_mask) & ~align_mask; width 293 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); width 295 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); width 296 modules/core/test/test_umat.cpp Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height); width 330 modules/core/test/test_umat.cpp new_rows = (int)ua.total()*ua.channels()/(nChannels*randomInt(1, size.width*size.height)); width 375 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); width 377 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); width 379 modules/core/test/test_umat.cpp Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height); width 389 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); width 391 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); width 393 modules/core/test/test_umat.cpp Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height); width 407 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); width 409 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); width 411 modules/core/test/test_umat.cpp Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height); width 414 modules/core/test/test_umat.cpp int adjLeft = randomInt(-(roi_ua.cols/2), (size.width-1)/2); width 415 modules/core/test/test_umat.cpp int adjRight = randomInt(-(roi_ua.cols/2), (size.width-1)/2); width 421 modules/core/test/test_umat.cpp Rect new_roi( roi_shift_x, roi_shift_y, std::min(roi.width+adjRight+adjLeft, size.width-roi_shift_x), std::min(roi.height+adjBot+adjTop, size.height-roi_shift_y) ); width 459 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); width 461 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); width 462 modules/core/test/test_umat.cpp Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height); width 465 modules/core/test/test_umat.cpp roi_shift_x = randomInt(0, s.width-1); width 467 modules/core/test/test_umat.cpp roi_size = Size(s.width - roi_shift_x, s.height - roi_shift_y); width 468 modules/core/test/test_umat.cpp roi = Rect(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height); width 506 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); width 508 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); width 509 modules/core/test/test_umat.cpp Rect roi(roi_shift_x, roi_shift_y, roi_size.width, roi_size.height); width 543 modules/core/test/test_umat.cpp UMat um(Size(sz.width + i, sz.height + i), CV_8UC1); width 544 modules/core/test/test_umat.cpp UMat um2(Size(sz.width + 2 * i, sz.height + 2 * i), CV_8UC1); width 198 modules/cudaarithm/src/arithm.cpp Size dstSize(src2Size.width, src1Size.height); width 200 modules/cudaarithm/src/arithm.cpp CV_Assert( src1Size.width == src2Size.height ); width 308 modules/cudaarithm/src/arithm.cpp const bool is_1d_input = (dft_size.height == 1) || (dft_size.width == 1); width 337 modules/cudaarithm/src/arithm.cpp dft_size_opt.width = std::max(dft_size.width, dft_size.height); width 338 modules/cudaarithm/src/arithm.cpp dft_size_opt.height = std::min(dft_size.width, dft_size.height); width 341 modules/cudaarithm/src/arithm.cpp CV_Assert( dft_size_opt.width > 1 ); width 349 modules/cudaarithm/src/arithm.cpp cufftSafeCall( cufftPlan1d(&plan, dft_size_opt.width, dft_type, dft_size_opt.height) ); width 351 modules/cudaarithm/src/arithm.cpp cufftSafeCall( cufftPlan2d(&plan, dft_size_opt.height, dft_size_opt.width, dft_type) ); width 379 modules/cudaarithm/src/arithm.cpp createContinuous(Size(dft_size.width / 2 + 1, dft_size.height), CV_32FC2, _dst); width 381 modules/cudaarithm/src/arithm.cpp createContinuous(Size(dft_size.width, dft_size.height / 2 + 1), CV_32FC2, _dst); width 427 modules/cudaarithm/src/arithm.cpp result_size = Size(image_size.width - templ_size.width + 1, width 431 modules/cudaarithm/src/arithm.cpp if (user_block_size.width == 0 || user_block_size.height == 0) width 434 modules/cudaarithm/src/arithm.cpp dft_size.width = 1 << int(ceil(std::log(block_size.width + templ_size.width - 1.) / std::log(2.))); width 439 modules/cudaarithm/src/arithm.cpp if (dft_size.width > 8192) width 440 modules/cudaarithm/src/arithm.cpp dft_size.width = getOptimalDFTSize(block_size.width + templ_size.width - 1); width 445 modules/cudaarithm/src/arithm.cpp dft_size.width = std::max(dft_size.width, 512); width 452 modules/cudaarithm/src/arithm.cpp spect_len = dft_size.height * (dft_size.width / 2 + 1); width 458 modules/cudaarithm/src/arithm.cpp block_size.width = std::min(dft_size.width - templ_size.width + 1, result_size.width); width 464 modules/cudaarithm/src/arithm.cpp int width = (result_size.width + 2) / 3; width 466 modules/cudaarithm/src/arithm.cpp width = std::min(width, result_size.width); width 468 modules/cudaarithm/src/arithm.cpp return Size(width, height); width 486 modules/cudaarithm/src/arithm.cpp cufftSafeCall( cufftPlan2d(&planC2R, dft_size.height, dft_size.width, CUFFT_C2R) ); width 487 modules/cudaarithm/src/arithm.cpp cufftSafeCall( cufftPlan2d(&planR2C, dft_size.height, dft_size.width, CUFFT_R2C) ); width 501 modules/cudaarithm/src/arithm.cpp for (int x = 0; x < result.cols; x += block_size.width) width 503 modules/cudaarithm/src/arithm.cpp Size image_roi_size(std::min(x + dft_size.width, image.cols) - x, width 517 modules/cudaarithm/src/arithm.cpp Size result_roi_size(std::min(x + block_size.width, result.cols) - x, width 96 modules/cudaarithm/src/core.cpp sz.width = src.cols; width 356 modules/cudaarithm/src/element_operations.cpp oSizeROI.width = src.cols; width 374 modules/cudaarithm/src/element_operations.cpp oSizeROI.width = src.cols; width 471 modules/cudaarithm/src/element_operations.cpp sz.width = src.cols; width 147 modules/cudaarithm/src/reductions.cpp sz.width = src.cols; width 196 modules/cudaarithm/src/reductions.cpp sz.width = src.cols; width 201 modules/cudaarithm/src/reductions.cpp nppRect.width = rect.width; width 326 modules/cudaarithm/test/test_arithm.cpp dftSize.width = cv::getOptimalDFTSize(A.cols + B.cols - 1); width 220 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(cv::Size(size.height, size.width), type, useRoi); width 394 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(cv::Size(size.width + 2 * border, size.height + 2 * border), type, useRoi); width 80 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(size.height, size.width, type, cv::ogl::Buffer::ARRAY_BUFFER, true); width 83 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, buf.cols()); width 92 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, buf.cols()); width 136 modules/cudaarithm/test/test_opengl.cpp buf.create(size.height, size.width, type, cv::ogl::Buffer::ARRAY_BUFFER, true); width 139 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, buf.cols()); width 311 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(size.height, size.width, format, true); width 314 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, tex.cols()); width 323 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, tex.cols()); width 379 modules/cudaarithm/test/test_opengl.cpp tex.create(size.height, size.width, format, true); width 382 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, tex.cols()); width 592 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(cv::Size(size.width, 1), depth); width 190 modules/cudabgsegm/src/mog.cpp weight_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC1); width 191 modules/cudabgsegm/src/mog.cpp sortKey_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC1); width 192 modules/cudabgsegm/src/mog.cpp mean_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC(work_ch)); width 193 modules/cudabgsegm/src/mog.cpp var_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC(work_ch)); width 236 modules/cudabgsegm/src/mog2.cpp weight_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC1); width 237 modules/cudabgsegm/src/mog2.cpp variance_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC1); width 238 modules/cudabgsegm/src/mog2.cpp mean_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC(work_ch)); width 277 modules/cudacodec/include/opencv2/cudacodec.hpp int width; width 73 modules/cudacodec/src/cuvid_video_source.cpp format_.width = vidfmt.coded_width; width 105 modules/cudacodec/src/ffmpeg_video_source.cpp int width; width 108 modules/cudacodec/src/ffmpeg_video_source.cpp stream_ = create_InputMediaStream_FFMPEG_p(fname.c_str(), &codec, &chroma_format, &width, &height); width 114 modules/cudacodec/src/ffmpeg_video_source.cpp format_.width = width; width 82 modules/cudacodec/src/video_decoder.cpp createInfo_.ulWidth = videoFormat.width; width 87 modules/cudacodec/src/video_decoder.cpp while (createInfo_.ulNumDecodeSurfaces * videoFormat.width * videoFormat.height > 16 * 1024 * 1024) width 114 modules/cudacodec/src/video_parser.cpp newFormat.width = format->coded_width; width 56 modules/cudacodec/src/video_reader.cpp void videoDecPostProcessFrame(const GpuMat& decodedFrame, OutputArray _outFrame, int width, int height); width 207 modules/cudacodec/src/video_writer.cpp int inputSize[] = { frameSize_.width, frameSize_.height }; width 213 modules/cudacodec/src/video_writer.cpp int aspectRatio[] = { frameSize_.width, frameSize_.height, ASPECT_RATIO_DAR }; width 444 modules/cudacodec/src/video_writer.cpp videoFrame_.create(frameSize_.height, (frameSize_.width * bpp[surfaceFormat_]) / 8, CV_8UC1); width 446 modules/cudacodec/src/video_writer.cpp videoFrame_.create((frameSize_.height * bpp[surfaceFormat_]) / 8, frameSize_.width, CV_8UC1); width 510 modules/cudacodec/src/video_writer.cpp stCopyYUV422.WidthInBytes = frameSize.width * 2; width 543 modules/cudacodec/src/video_writer.cpp stCopyLuma.WidthInBytes = frameSize.width; width 566 modules/cudacodec/src/video_writer.cpp stCopyChroma.WidthInBytes = frameSize.width >> 1; width 603 modules/cudacodec/src/video_writer.cpp stCopyNV12.WidthInBytes = frameSize.width; width 626 modules/cudacodec/src/video_writer.cpp efparams.Width = frameSize_.width; width 775 modules/cudacodec/src/video_writer.cpp stream_ = create_OutputMediaStream_FFMPEG_p(fileName.c_str(), frameSize.width, frameSize.height, fps); width 652 modules/cudafeatures2d/src/orb.cpp Rect inner(edgeThreshold_, edgeThreshold_, sz.width - 2 * edgeThreshold_, sz.height - 2 * edgeThreshold_); width 86 modules/cudafilters/src/filtering.cpp normalizeAnchor(anchor.x, ksize.width); width 134 modules/cudafilters/src/filtering.cpp cuda::copyMakeBorder(src, srcBorder_, ksize_.height, ksize_.height, ksize_.width, ksize_.width, borderMode_, borderVal_, _stream); width 139 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize_.width, ksize_.height, src.cols, src.rows)); width 145 modules/cudafilters/src/filtering.cpp oSizeROI.width = src.cols; width 150 modules/cudafilters/src/filtering.cpp oMaskSize.width = ksize_.width; width 476 modules/cudafilters/src/filtering.cpp if (ksize.width <= 0 && sigma1 > 0) width 477 modules/cudafilters/src/filtering.cpp ksize.width = cvRound(sigma1 * (depth == CV_8U ? 3 : 4)*2 + 1) | 1; width 481 modules/cudafilters/src/filtering.cpp CV_Assert( ksize.width > 0 && ksize.width % 2 == 1 && ksize.height > 0 && ksize.height % 2 == 1 ); width 486 modules/cudafilters/src/filtering.cpp Mat kx = getGaussianKernel(ksize.width, sigma1, CV_32F); width 488 modules/cudafilters/src/filtering.cpp if (ksize.height == ksize.width && std::abs(sigma1 - sigma2) < DBL_EPSILON) width 549 modules/cudafilters/src/filtering.cpp Size(ksize.width + (iters_ - 1) * (ksize.width - 1), width 572 modules/cudafilters/src/filtering.cpp cuda::copyMakeBorder(src, srcBorder_, ksize.height, ksize.height, ksize.width, ksize.width, BORDER_DEFAULT, Scalar(), _stream); width 574 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize.width, ksize.height, src.cols, src.rows)); width 581 modules/cudafilters/src/filtering.cpp bufRoi = buf_(Rect(ksize.width, ksize.height, src.cols, src.rows)); width 591 modules/cudafilters/src/filtering.cpp oSizeROI.width = src.cols; width 596 modules/cudafilters/src/filtering.cpp oMaskSize.width = ksize.width; width 833 modules/cudafilters/src/filtering.cpp cuda::copyMakeBorder(src, srcBorder_, ksize_.height, ksize_.height, ksize_.width, ksize_.width, borderMode_, borderVal_, _stream); width 838 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize_.width, ksize_.height, src.cols, src.rows)); width 844 modules/cudafilters/src/filtering.cpp oSizeROI.width = src.cols; width 849 modules/cudafilters/src/filtering.cpp oMaskSize.width = ksize_.width; width 920 modules/cudafilters/src/filtering.cpp oSizeROI.width = src.cols; width 981 modules/cudafilters/src/filtering.cpp oSizeROI.width = src.cols; width 60 modules/cudafilters/test/test_filters.cpp cv::Rect roi(ksize.width, ksize.height, m.cols - 2 * ksize.width, m.rows - 2 * ksize.height); width 151 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = randomMat(cv::Size(ksize.width, ksize.height), CV_32FC1, 0.0, 1.0); width 200 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> laplacian = cv::cuda::createLaplacianFilter(src.type(), -1, ksize.width); width 206 modules/cudafilters/test/test_filters.cpp cv::Laplacian(src, dst_gold, -1, ksize.width); width 254 modules/cudafilters/test/test_filters.cpp cv::Mat rowKernel = randomMat(Size(ksize.width, 1), CV_32FC1, 0.0, 1.0); width 329 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> sobel = cv::cuda::createSobelFilter(src.type(), -1, dx, dy, ksize.width, 1.0, borderType); width 335 modules/cudafilters/test/test_filters.cpp cv::Sobel(src, dst_gold, -1, dx, dy, ksize.width, 1.0, 0.0, borderType); width 97 modules/cudaimgproc/src/blend.cpp blendLinearCaller<uchar>(size.height, size.width, cn, img1, img2, weights1, weights2, result, StreamAccessor::getStream(stream)); width 99 modules/cudaimgproc/src/blend.cpp blendLinearCaller8UC4(size.height, size.width, img1, img2, weights1, weights2, result, StreamAccessor::getStream(stream)); width 102 modules/cudaimgproc/src/blend.cpp blendLinearCaller<float>(size.height, size.width, cn, img1, img2, weights1, weights2, result, StreamAccessor::getStream(stream)); width 197 modules/cudaimgproc/src/canny.cpp CV_Assert(image_size.width < std::numeric_limits<short>::max() && image_size.height < std::numeric_limits<short>::max()); width 1831 modules/cudaimgproc/src/color.cpp oSizeROI.width = src.cols; width 2144 modules/cudaimgproc/src/color.cpp PtrStepSzb srcWhole(wholeSize.height, wholeSize.width, src.datastart, src.step); width 2172 modules/cudaimgproc/src/color.cpp PtrStepSzb srcWhole(wholeSize.height, wholeSize.width, src.datastart, src.step); width 2200 modules/cudaimgproc/src/color.cpp sz.width = image.cols; width 2245 modules/cudaimgproc/src/color.cpp oSizeROI.width = src.cols; width 2277 modules/cudaimgproc/src/color.cpp oSizeROI.width = img1.cols; width 360 modules/cudaimgproc/src/generalized_hough.cpp const int gridWidth = (imageSize_.width + cellSize - 1) / cellSize; width 532 modules/cudaimgproc/src/generalized_hough.cpp ensureSizeIsEnough(cvCeil(imageSize_.height * idp) + 2, cvCeil(imageSize_.width * idp) + 2, CV_32SC1, hist_); width 766 modules/cudaimgproc/src/generalized_hough.cpp const int histCols = cvCeil(imageSize_.width * idp); width 825 modules/cudaimgproc/src/generalized_hough.cpp const double maxDist = sqrt((double) templSize_.width * templSize_.width + templSize_.height * templSize_.height) * maxScale_; width 218 modules/cudaimgproc/src/histogram.cpp clahe::calcLut(srcForLut, lut_, tilesX_, tilesY_, make_int2(tileSize.width, tileSize.height), clipLimit, lutScale, stream); width 220 modules/cudaimgproc/src/histogram.cpp clahe::transform(src, dst, lut_, tilesX_, tilesY_, make_int2(tileSize.width, tileSize.height), stream); width 235 modules/cudaimgproc/src/histogram.cpp tilesX_ = tileGridSize.width; width 253 modules/cudaimgproc/src/histogram.cpp return makePtr<CLAHE_Impl>(clipLimit, tileGridSize.width, tileGridSize.height); width 292 modules/cudaimgproc/src/histogram.cpp sz.width = src.cols; width 324 modules/cudaimgproc/src/histogram.cpp sz.width = src.cols; width 396 modules/cudaimgproc/src/histogram.cpp sz.width = src.cols; width 437 modules/cudaimgproc/src/histogram.cpp sz.width = src.cols; width 141 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp Ncv8u width; width 143 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvRect8u() : x(0), y(0), width(0), height(0) {}; width 144 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvRect8u(Ncv8u x_, Ncv8u y_, Ncv8u width_, Ncv8u height_) : x(x_), y(y_), width(width_), height(height_) {} width 152 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp Ncv32s width; ///< Rectangle width. width 154 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvRect32s() : x(0), y(0), width(0), height(0) {}; width 156 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp : x(x_), y(y_), width(width_), height(height_) {} width 164 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp Ncv32u width; ///< Rectangle width. width 166 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvRect32u() : x(0), y(0), width(0), height(0) {}; width 168 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp : x(x_), y(y_), width(width_), height(height_) {} width 174 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp Ncv32s width; ///< Rectangle width. width 176 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvSize32s() : width(0), height(0) {}; width 177 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvSize32s(Ncv32s width_, Ncv32s height_) : width(width_), height(height_) {} width 183 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp Ncv32u width; ///< Rectangle width. width 185 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvSize32u() : width(0), height(0) {}; width 186 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvSize32u(Ncv32u width_, Ncv32u height_) : width(width_), height(height_) {} width 187 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ bool operator == (const NcvSize32u &another) const {return this->width == another.width && this->height == another.height;} width 796 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertReturn(this->width() >= roi.width && this->height() >= roi.height && width 797 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp dst.width() >= roi.width && dst.height() >= roi.height, NCV_MEM_COPY_ERROR); width 806 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp roi.width * sizeof(T), roi.height, cuStream); width 966 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(roi.x < mat.width() && roi.y < mat.height() && \ width 967 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp roi.x + roi.width <= mat.width() && roi.y + roi.height <= mat.height(), width 970 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp this->_width = roi.width; width 1026 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp #define ncvSafeMatAlloc(name, type, alloc, width, height, err) \ width 1027 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp NCVMatrixAlloc<type> name(alloc, width, height); \ width 89 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp ((NcvRect8u*)&(this->_ui2.x))->width = (Ncv8u)rectWidth; width 105 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp *rectWidth = tmpRect.width; width 97 modules/cudalegacy/perf/perf_labeling.cpp int width = image.cols; width 119 modules/cudalegacy/perf/perf_labeling.cpp if( p.x < (width - 1) && dl[ +1] == -1 && inInt(sp[0], sp[+1])) width 726 modules/cudalegacy/src/NCV.cpp cv::Rect operator()(const NcvRect32u& nr) const { return cv::Rect(nr.x, nr.y, nr.width, nr.height); } width 732 modules/cudalegacy/src/NCV.cpp rect.width = nr.width; width 840 modules/cudalegacy/src/NCV.cpp if (rect.x+rect.width-1 < dstWidth) width 844 modules/cudalegacy/src/NCV.cpp h_dst[each*dstStride+rect.x+rect.width-1] = color; width 849 modules/cudalegacy/src/NCV.cpp for (Ncv32u j=rect.x; j<rect.x+rect.width && j<dstWidth; j++) width 856 modules/cudalegacy/src/NCV.cpp for (Ncv32u j=rect.x; j<rect.x+rect.width && j<dstWidth; j++) width 65 modules/cudalegacy/src/bm.cpp const Size velSize((prev.cols - blockSize.width + shiftSize.width) / shiftSize.width, width 72 modules/cudalegacy/src/bm.cpp std::vector<short2> ss((2 * maxRange.width + 1) * (2 * maxRange.height + 1)); width 76 modules/cudalegacy/src/bm.cpp const int minCount = std::min(maxRange.width, maxRange.height); width 122 modules/cudalegacy/src/bm.cpp if (maxRange.width < maxRange.height) width 134 modules/cudalegacy/src/bm.cpp for (int j = -maxRange.width; j <= maxRange.width; ++j, ++ssCount, ++x) width 144 modules/cudalegacy/src/bm.cpp for (int j = -maxRange.width; j <= maxRange.width; ++j, ++ssCount, ++x) width 151 modules/cudalegacy/src/bm.cpp else if (maxRange.width > maxRange.height) width 156 modules/cudalegacy/src/bm.cpp for (int i = minCount; i < maxRange.width; ++i) width 189 modules/cudalegacy/src/bm.cpp const int maxX = prev.cols - blockSize.width; width 200 modules/cudalegacy/src/bm.cpp make_int2(blockSize.width, blockSize.height), make_int2(shiftSize.width, shiftSize.height), usePrevious, width 89 modules/cudalegacy/src/cuda/NCVColorConversion.hpp for (Ncv32u j=0; j<h_imgIn.width(); j++) width 385 modules/cudalegacy/src/fgd.cpp if (cnt->rect.width * cnt->rect.height < params.minArea || (params.is_obj_without_holes && CV_IS_SEQ_HOLE(seq))) width 506 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2c * size.height, size.width, CV_32FC1, ctable_Pv_); width 509 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2c * size.height, size.width, CV_32FC1, ctable_Pvb_); width 512 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2c * size.height, size.width, CV_8UC4, ctable_v_); width 515 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2cc * size.height, size.width, CV_32FC1, cctable_Pv_); width 518 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2cc * size.height, size.width, CV_32FC1, cctable_Pvb_); width 521 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2cc * size.height, size.width, CV_8UC4, cctable_v1_); width 524 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2cc * size.height, size.width, CV_8UC4, cctable_v2_); width 57 modules/cudalegacy/src/gmg.cpp void loadConstants(int width, int height, float minVal, float maxVal, int quantizationLevels, float backgroundPrior, width 257 modules/cudalegacy/src/gmg.cpp colors_.create(maxFeatures_ * frameSize_.height, frameSize_.width, CV_32SC1); width 258 modules/cudalegacy/src/gmg.cpp weights_.create(maxFeatures_ * frameSize_.height, frameSize_.width, CV_32FC1); width 267 modules/cudalegacy/src/gmg.cpp loadConstants(frameSize_.width, frameSize_.height, minVal_, maxVal_, width 155 modules/cudalegacy/src/graphcuts.cpp CV_Assert(leftTransp.size() == Size(src_size.height, src_size.width)); width 158 modules/cudalegacy/src/graphcuts.cpp CV_Assert(rightTransp.size() == Size(src_size.height, src_size.width)); width 170 modules/cudalegacy/src/graphcuts.cpp sznpp.width = src_size.width; width 215 modules/cudalegacy/src/graphcuts.cpp CV_Assert(leftTransp.size() == Size(src_size.height, src_size.width)); width 218 modules/cudalegacy/src/graphcuts.cpp CV_Assert(rightTransp.size() == Size(src_size.height, src_size.width)); width 242 modules/cudalegacy/src/graphcuts.cpp sznpp.width = src_size.width; width 87 modules/cudalegacy/src/image_pyramid.cpp Size szCurLayer(szLastLayer.width / 2, szLastLayer.height / 2); width 89 modules/cudalegacy/src/image_pyramid.cpp if (szCurLayer.width == 0 || szCurLayer.height == 0) width 105 modules/cudalegacy/src/image_pyramid.cpp CV_Assert( outRoi.width <= layer0_.cols && outRoi.height <= layer0_.rows && outRoi.width > 0 && outRoi.height > 0 ); width 110 modules/cudalegacy/src/image_pyramid.cpp if (outRoi.width == layer0_.cols && outRoi.height == layer0_.rows) width 126 modules/cudalegacy/src/image_pyramid.cpp if (outRoi.width == curLayer.cols && outRoi.height == curLayer.rows) width 131 modules/cudalegacy/src/image_pyramid.cpp if (outRoi.width >= curLayer.cols && outRoi.height >= curLayer.rows) width 123 modules/cudalegacy/test/NCVTestSourceProvider.hpp if (dst.width() == 0 || dst.height() == 0) width 132 modules/cudalegacy/test/NCVTestSourceProvider.hpp Ncv32u srcFullChunks = dst.width() / this->dataWidth; width 140 modules/cudalegacy/test/NCVTestSourceProvider.hpp Ncv32u srcLastChunk = dst.width() % this->dataWidth; width 54 modules/cudalegacy/test/TestDrawRects.cpp width(width_), width 66 modules/cudalegacy/test/TestDrawRects.cpp strOut << "width=" << width << std::endl; width 87 modules/cudalegacy/test/TestDrawRects.cpp NCVMatrixAlloc<T> d_img(*this->allocatorGPU.get(), this->width, this->height); width 89 modules/cudalegacy/test/TestDrawRects.cpp NCVMatrixAlloc<T> h_img(*this->allocatorCPU.get(), this->width, this->height); width 91 modules/cudalegacy/test/TestDrawRects.cpp NCVMatrixAlloc<T> h_img_d(*this->allocatorCPU.get(), this->width, this->height); width 112 modules/cudalegacy/test/TestDrawRects.cpp h_rects.ptr()[i].x = (Ncv32u)(((1.0 * h_rects.ptr()[i].x) / RAND_MAX) * (this->width-2)); width 114 modules/cudalegacy/test/TestDrawRects.cpp h_rects.ptr()[i].width = (Ncv32u)(((1.0 * h_rects.ptr()[i].width) / RAND_MAX) * (this->width+10 - h_rects.ptr()[i].x)); width 123 modules/cudalegacy/test/TestDrawRects.cpp ncvStat = ncvDrawRects_32u_device((Ncv32u *)d_img.ptr(), d_img.stride(), this->width, this->height, width 128 modules/cudalegacy/test/TestDrawRects.cpp ncvStat = ncvDrawRects_8u_device((Ncv8u *)d_img.ptr(), d_img.stride(), this->width, this->height, width 145 modules/cudalegacy/test/TestDrawRects.cpp ncvStat = ncvDrawRects_32u_host((Ncv32u *)h_img.ptr(), h_img.stride(), this->width, this->height, width 150 modules/cudalegacy/test/TestDrawRects.cpp ncvStat = ncvDrawRects_8u_host((Ncv8u *)h_img.ptr(), h_img.stride(), this->width, this->height, width 167 modules/cudalegacy/test/TestDrawRects.cpp for (Ncv32u j=0; bLoopVirgin && j < h_img.width(); j++) width 56 modules/cudalegacy/test/TestDrawRects.h Ncv32u width, Ncv32u height, Ncv32u numRects, T color); width 70 modules/cudalegacy/test/TestDrawRects.h Ncv32u width; width 91 modules/cudalegacy/test/TestHaarCascadeApplication.cpp width(width_), width 100 modules/cudalegacy/test/TestHaarCascadeApplication.cpp strOut << "width=" << width << std::endl; width 136 modules/cudalegacy/test/TestHaarCascadeApplication.cpp haar.ClassifierSize.width = haar.ClassifierSize.height = 1; width 157 modules/cudalegacy/test/TestHaarCascadeApplication.cpp srcRoi.width = this->width; width 159 modules/cudalegacy/test/TestHaarCascadeApplication.cpp srcIIRoi.width = srcRoi.width + 1; width 161 modules/cudalegacy/test/TestHaarCascadeApplication.cpp searchRoi.width = srcIIRoi.width - haar.ClassifierSize.width; width 163 modules/cudalegacy/test/TestHaarCascadeApplication.cpp if (searchRoi.width <= 0 || searchRoi.height <= 0) width 167 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NcvSize32u searchRoiU(searchRoi.width, searchRoi.height); width 169 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVMatrixAlloc<Ncv8u> d_img(*this->allocatorGPU.get(), this->width, this->height); width 171 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVMatrixAlloc<Ncv8u> h_img(*this->allocatorCPU.get(), this->width, this->height); width 174 modules/cudalegacy/test/TestHaarCascadeApplication.cpp Ncv32u integralWidth = this->width + 1; width 186 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVMatrixAlloc<Ncv32f> d_rectStdDev(*this->allocatorGPU.get(), this->width, this->height); width 188 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVMatrixAlloc<Ncv32u> d_pixelMask(*this->allocatorGPU.get(), this->width, this->height); width 190 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVMatrixAlloc<Ncv32f> h_rectStdDev(*this->allocatorCPU.get(), this->width, this->height); width 192 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVMatrixAlloc<Ncv32u> h_pixelMask(*this->allocatorCPU.get(), this->width, this->height); width 195 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVVectorAlloc<NcvRect32u> d_hypotheses(*this->allocatorGPU.get(), this->width * this->height); width 197 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVVectorAlloc<NcvRect32u> h_hypotheses(*this->allocatorCPU.get(), this->width * this->height); width 202 modules/cudalegacy/test/TestHaarCascadeApplication.cpp nppStat = nppiStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &szTmpBufIntegral, this->devProp); width 204 modules/cudalegacy/test/TestHaarCascadeApplication.cpp nppStat = nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &szTmpBufSqIntegral, this->devProp); width 221 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NcvSize32u(d_img.width(), d_img.height()), width 227 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NcvSize32u(d_img.width(), d_img.height()), width 234 modules/cudalegacy/test/TestHaarCascadeApplication.cpp haar.ClassifierSize.width - 2*HAAR_STDDEV_BORDER, width 240 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NcvSize32u(searchRoi.width, searchRoi.height), rect, width 253 modules/cudalegacy/test/TestHaarCascadeApplication.cpp if (j<searchRoiU.width) width 294 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVMatrixAlloc<Ncv32u> h_pixelMask_d(*this->allocatorCPU.get(), this->width, this->height); width 55 modules/cudalegacy/test/TestHaarCascadeApplication.h std::string cascadeName, Ncv32u width, Ncv32u height); width 69 modules/cudalegacy/test/TestHaarCascadeApplication.h Ncv32u width; width 126 modules/cudalegacy/test/TestHaarCascadeLoader.cpp haar.ClassifierSize.width != haar_2.ClassifierSize.width || width 77 modules/cudalegacy/test/TestHypothesesFilter.cpp double delta = eps*(std::min(r1.width, r2.width) + std::min(r1.height, r2.height))*0.5; width 80 modules/cudalegacy/test/TestHypothesesFilter.cpp std::abs((Ncv32s)r1.x + (Ncv32s)r1.width - (Ncv32s)r2.x - (Ncv32s)r2.width) <= delta && width 117 modules/cudalegacy/test/TestHypothesesFilter.cpp h_vecDst_groundTruth.ptr()[i].width = this->canvasWidth / (this->numDstRects * 2); width 129 modules/cudalegacy/test/TestHypothesesFilter.cpp (Ncv32s)(h_vecDst_groundTruth.ptr()[i].width * this->eps * (randVal - 0.5)); width 134 modules/cudalegacy/test/TestHypothesesFilter.cpp h_vecSrc.ptr()[srcSlotSize * i + j].width = h_vecDst_groundTruth.ptr()[i].width; width 144 modules/cudalegacy/test/TestHypothesesFilter.cpp (Ncv32s)(h_vecDst_groundTruth.ptr()[i].width * this->eps * (randVal - 0.5)); width 149 modules/cudalegacy/test/TestHypothesesFilter.cpp h_vecSrc.ptr()[srcSlotSize * i + j].width = h_vecDst_groundTruth.ptr()[i].width; width 52 modules/cudalegacy/test/TestIntegralImage.cpp width(width_), width 63 modules/cudalegacy/test/TestIntegralImage.cpp strOut << "width=" << width << std::endl; width 82 modules/cudalegacy/test/TestIntegralImage.cpp Ncv32u widthII = this->width + 1; width 85 modules/cudalegacy/test/TestIntegralImage.cpp NCVMatrixAlloc<T_in> d_img(*this->allocatorGPU.get(), this->width, this->height); width 87 modules/cudalegacy/test/TestIntegralImage.cpp NCVMatrixAlloc<T_in> h_img(*this->allocatorCPU.get(), this->width, this->height); width 99 modules/cudalegacy/test/TestIntegralImage.cpp ncvStat = nppiStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &bufSize, this->devProp); width 104 modules/cudalegacy/test/TestIntegralImage.cpp ncvStat = nppiStIntegralGetSize_32f32f(NcvSize32u(this->width, this->height), &bufSize, this->devProp); width 127 modules/cudalegacy/test/TestIntegralImage.cpp NcvSize32u(this->width, this->height), width 135 modules/cudalegacy/test/TestIntegralImage.cpp NcvSize32u(this->width, this->height), width 151 modules/cudalegacy/test/TestIntegralImage.cpp NcvSize32u(this->width, this->height)); width 158 modules/cudalegacy/test/TestIntegralImage.cpp NcvSize32u(this->width, this->height)); width 174 modules/cudalegacy/test/TestIntegralImage.cpp for (Ncv32u j=0; bLoopVirgin && j < h_img.width() + 1; j++) width 56 modules/cudalegacy/test/TestIntegralImage.h Ncv32u width, Ncv32u height); width 68 modules/cudalegacy/test/TestIntegralImage.h Ncv32u width; width 51 modules/cudalegacy/test/TestIntegralImageSquared.cpp width(width_), width 59 modules/cudalegacy/test/TestIntegralImageSquared.cpp strOut << "width=" << width << std::endl; width 76 modules/cudalegacy/test/TestIntegralImageSquared.cpp Ncv32u widthSII = this->width + 1; width 79 modules/cudalegacy/test/TestIntegralImageSquared.cpp NCVMatrixAlloc<Ncv8u> d_img(*this->allocatorGPU.get(), this->width, this->height); width 81 modules/cudalegacy/test/TestIntegralImageSquared.cpp NCVMatrixAlloc<Ncv8u> h_img(*this->allocatorCPU.get(), this->width, this->height); width 91 modules/cudalegacy/test/TestIntegralImageSquared.cpp ncvStat = nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &bufSize, this->devProp); width 106 modules/cudalegacy/test/TestIntegralImageSquared.cpp NcvSize32u(this->width, this->height), width 115 modules/cudalegacy/test/TestIntegralImageSquared.cpp NcvSize32u(this->width, this->height)); width 126 modules/cudalegacy/test/TestIntegralImageSquared.cpp for (Ncv32u j=0; bLoopVirgin && j < h_img.width() + 1; j++) width 55 modules/cudalegacy/test/TestIntegralImageSquared.h Ncv32u width, Ncv32u height); width 67 modules/cudalegacy/test/TestIntegralImageSquared.h Ncv32u width; width 52 modules/cudalegacy/test/TestRectStdDev.cpp width(width_), width 63 modules/cudalegacy/test/TestRectStdDev.cpp strOut << "width=" << width << std::endl; width 65 modules/cudalegacy/test/TestRectStdDev.cpp strOut << "rect=[" << rect.x << ", " << rect.y << ", " << rect.width << ", " << rect.height << "]\n"; width 83 modules/cudalegacy/test/TestRectStdDev.cpp Ncv32s _normWidth = (Ncv32s)this->width - this->rect.x - this->rect.width + 1; width 93 modules/cudalegacy/test/TestRectStdDev.cpp Ncv32u widthII = this->width + 1; width 95 modules/cudalegacy/test/TestRectStdDev.cpp Ncv32u widthSII = this->width + 1; width 98 modules/cudalegacy/test/TestRectStdDev.cpp NCVMatrixAlloc<Ncv8u> d_img(*this->allocatorGPU.get(), this->width, this->height); width 100 modules/cudalegacy/test/TestRectStdDev.cpp NCVMatrixAlloc<Ncv8u> h_img(*this->allocatorCPU.get(), this->width, this->height); width 121 modules/cudalegacy/test/TestRectStdDev.cpp ncvStat = nppiStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &bufSizeII, this->devProp); width 123 modules/cudalegacy/test/TestRectStdDev.cpp ncvStat = nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &bufSizeSII, this->devProp); width 138 modules/cudalegacy/test/TestRectStdDev.cpp NcvSize32u(this->width, this->height), width 144 modules/cudalegacy/test/TestRectStdDev.cpp NcvSize32u(this->width, this->height), width 161 modules/cudalegacy/test/TestRectStdDev.cpp NcvSize32u(this->width, this->height)); width 166 modules/cudalegacy/test/TestRectStdDev.cpp NcvSize32u(this->width, this->height)); width 184 modules/cudalegacy/test/TestRectStdDev.cpp for (Ncv32u j=0; bLoopVirgin && j < h_norm.width(); j++) width 55 modules/cudalegacy/test/TestRectStdDev.h Ncv32u width, Ncv32u height, NcvRect32u rect, Ncv32f scaleFactor, width 68 modules/cudalegacy/test/TestRectStdDev.h Ncv32u width; width 52 modules/cudalegacy/test/TestResize.cpp width(width_), width 64 modules/cudalegacy/test/TestResize.cpp strOut << "width=" << width << std::endl; width 84 modules/cudalegacy/test/TestResize.cpp Ncv32s smallWidth = this->width / this->scaleFactor; width 91 modules/cudalegacy/test/TestResize.cpp NcvSize32u srcSize(this->width, this->height); width 93 modules/cudalegacy/test/TestResize.cpp NCVMatrixAlloc<T> d_img(*this->allocatorGPU.get(), this->width, this->height); width 95 modules/cudalegacy/test/TestResize.cpp NCVMatrixAlloc<T> h_img(*this->allocatorCPU.get(), this->width, this->height); width 163 modules/cudalegacy/test/TestResize.cpp for (Ncv32u j=0; bLoopVirgin && j < h_small.width(); j++) width 55 modules/cudalegacy/test/TestResize.h Ncv32u width, Ncv32u height, Ncv32u scaleFactor, NcvBool bTextureCache); width 67 modules/cudalegacy/test/TestResize.h Ncv32u width; width 52 modules/cudalegacy/test/TestTranspose.cpp width(width_), width 62 modules/cudalegacy/test/TestTranspose.cpp strOut << "width=" << width << std::endl; width 80 modules/cudalegacy/test/TestTranspose.cpp NcvSize32u srcSize(this->width, this->height); width 82 modules/cudalegacy/test/TestTranspose.cpp NCVMatrixAlloc<T> d_img(*this->allocatorGPU.get(), this->width, this->height); width 84 modules/cudalegacy/test/TestTranspose.cpp NCVMatrixAlloc<T> h_img(*this->allocatorCPU.get(), this->width, this->height); width 87 modules/cudalegacy/test/TestTranspose.cpp NCVMatrixAlloc<T> d_dst(*this->allocatorGPU.get(), this->height, this->width); width 89 modules/cudalegacy/test/TestTranspose.cpp NCVMatrixAlloc<T> h_dst(*this->allocatorCPU.get(), this->height, this->width); width 91 modules/cudalegacy/test/TestTranspose.cpp NCVMatrixAlloc<T> h_dst_d(*this->allocatorCPU.get(), this->height, this->width); width 106 modules/cudalegacy/test/TestTranspose.cpp NcvSize32u(this->width, this->height)); width 112 modules/cudalegacy/test/TestTranspose.cpp NcvSize32u(this->width, this->height)); width 128 modules/cudalegacy/test/TestTranspose.cpp NcvSize32u(this->width, this->height)); width 134 modules/cudalegacy/test/TestTranspose.cpp NcvSize32u(this->width, this->height)); width 148 modules/cudalegacy/test/TestTranspose.cpp for (Ncv32u i=0; bLoopVirgin && i < this->width; i++) width 56 modules/cudalegacy/test/TestTranspose.h Ncv32u width, Ncv32u height); width 69 modules/cudalegacy/test/TestTranspose.h Ncv32u width; width 89 modules/cudalegacy/test/test_labeling.cpp int width = image.cols; width 112 modules/cudalegacy/test/test_labeling.cpp if( p.x < (width - 1) && dl[ +1] == -1 && inInt(sp[0], sp[+1])) width 168 modules/cudaobjdetect/src/cascadeclassifier.cpp return Size(haar.ClassifierSize.width, haar.ClassifierSize.height); width 182 modules/cudaobjdetect/src/cascadeclassifier.cpp if (ncvMinSize.width < minObjectSize_.width && ncvMinSize.height < minObjectSize_.height) width 184 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvMinSize.width = minObjectSize_.width; width 288 modules/cudaobjdetect/src/cascadeclassifier.cpp NCVMatrixAlloc<Ncv8u> d_src(gpuCounter, frameSize.width, frameSize.height); width 289 modules/cudaobjdetect/src/cascadeclassifier.cpp NCVMatrixAlloc<Ncv8u> h_src(cpuCounter, frameSize.width, frameSize.height); width 298 modules/cudaobjdetect/src/cascadeclassifier.cpp roi.width = d_src.width(); width 345 modules/cudaobjdetect/src/cascadeclassifier.cpp roi.width = d_src.width(); width 348 modules/cudaobjdetect/src/cascadeclassifier.cpp NcvSize32u winMinSize(ncvMinSize.width, ncvMinSize.height); width 409 modules/cudaobjdetect/src/cascadeclassifier.cpp return cv::Size(a.width - b.width, a.height - b.height); width 414 modules/cudaobjdetect/src/cascadeclassifier.cpp return cv::Size(a.width + i, a.height + i); width 419 modules/cudaobjdetect/src/cascadeclassifier.cpp return cv::Size(cvRound(a.width * f), cvRound(a.height * f)); width 424 modules/cudaobjdetect/src/cascadeclassifier.cpp return cv::Size(cvRound(a.width / f), cvRound(a.height / f)); width 429 modules/cudaobjdetect/src/cascadeclassifier.cpp return a.width <= b.width && a.height <= b.width; width 449 modules/cudaobjdetect/src/cascadeclassifier.cpp return workArea.width > 0 && workArea.height > 0 && sWindow <= maxObj; width 555 modules/cudaobjdetect/src/cascadeclassifier.cpp int acc = level.sFrame.width + 1; width 566 modules/cudaobjdetect/src/cascadeclassifier.cpp GpuMat src = resuzeBuffer(cv::Rect(0, 0, level.sFrame.width, level.sFrame.height)); width 567 modules/cudaobjdetect/src/cascadeclassifier.cpp GpuMat sint = integral(cv::Rect(prev, 0, level.sFrame.width + 1, level.sFrame.height + 1)); width 574 modules/cudaobjdetect/src/cascadeclassifier.cpp int totalWidth = level.workArea.width / step; width 583 modules/cudaobjdetect/src/cascadeclassifier.cpp acc += level.sFrame.width + 1; width 586 modules/cudaobjdetect/src/cascadeclassifier.cpp device::lbp::classifyPyramid(image.cols, image.rows, NxM.width - 1, NxM.height - 1, iniScale, scaleFactor_, total, stage_mat, stage_mat.cols / sizeof(Stage), nodes_mat, width 661 modules/cudaobjdetect/src/cascadeclassifier.cpp NxM.width = (int)root[CUDA_CC_WIDTH]; width 663 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( NxM.height > 0 && NxM.width > 0 ); width 780 modules/cudaobjdetect/src/cascadeclassifier.cpp if (resuzeBuffer.empty() || frame.width > resuzeBuffer.cols || frame.height > resuzeBuffer.rows) width 784 modules/cudaobjdetect/src/cascadeclassifier.cpp integral.create(frame.height + 1, integralFactor * (frame.width + 1), CV_32SC1); width 788 modules/cudaobjdetect/src/cascadeclassifier.cpp roiSize.width = frame.width; width 799 modules/cudaobjdetect/src/cascadeclassifier.cpp candidates.create(1 , frame.width >> 1, CV_32SC4); width 62 modules/cudaobjdetect/src/hog.cpp int height, int width, const cv::cuda::PtrStepSzf& grad, width 66 modules/cudaobjdetect/src/hog.cpp int height, int width, float* block_hists, float threshold); width 70 modules/cudaobjdetect/src/hog.cpp int width, float* block_hists, float* coefs, float free_coef, width 74 modules/cudaobjdetect/src/hog.cpp int win_stride_y, int win_stride_x, int height, int width, float* block_hists, width 78 modules/cudaobjdetect/src/hog.cpp int win_stride_y, int win_stride_x, int height, int width, float* block_hists, width 81 modules/cudaobjdetect/src/hog.cpp int win_stride_y, int win_stride_x, int height, int width, float* block_hists, width 84 modules/cudaobjdetect/src/hog.cpp void compute_gradients_8UC1(int nbins, int height, int width, const cv::cuda::PtrStepSzb& img, width 86 modules/cudaobjdetect/src/hog.cpp void compute_gradients_8UC4(int nbins, int height, int width, const cv::cuda::PtrStepSzb& img, width 202 modules/cudaobjdetect/src/hog.cpp CV_Assert((win_size.width - block_size.width ) % block_stride.width == 0 && width 205 modules/cudaobjdetect/src/hog.cpp CV_Assert(block_size.width % cell_size.width == 0 && width 212 modules/cudaobjdetect/src/hog.cpp Size cells_per_block(block_size.width / cell_size.width, block_size.height / cell_size.height); width 223 modules/cudaobjdetect/src/hog.cpp return Size(numPartsWithin(size.width, part_size.width, stride.width), width 234 modules/cudaobjdetect/src/hog.cpp Size cells_per_block(block_size_.width / cell_size_.width, block_size_.height / cell_size_.height); width 240 modules/cudaobjdetect/src/hog.cpp return win_sigma_ >= 0 ? win_sigma_ : (block_size_.width + block_size_.height) / 8.0; width 260 modules/cudaobjdetect/src/hog.cpp for (int j = 0; j < blocks_per_win.width; ++j) width 263 modules/cudaobjdetect/src/hog.cpp float* dst = &detector_reordered[0] + (i * blocks_per_win.width + j) * block_hist_size; width 291 modules/cudaobjdetect/src/hog.cpp CV_Assert( win_stride_.width % block_stride_.width == 0 && win_stride_.height % block_stride_.height == 0 ); width 308 modules/cudaobjdetect/src/hog.cpp hog::classify_hists(win_size_.height, win_size_.width, width 309 modules/cudaobjdetect/src/hog.cpp block_stride_.height, block_stride_.width, width 310 modules/cudaobjdetect/src/hog.cpp win_stride_.height, win_stride_.width, width 324 modules/cudaobjdetect/src/hog.cpp int y = i / wins_per_img.width; width 325 modules/cudaobjdetect/src/hog.cpp int x = i - wins_per_img.width * y; width 327 modules/cudaobjdetect/src/hog.cpp hits.push_back(Point(x * win_stride_.width, y * win_stride_.height)); width 334 modules/cudaobjdetect/src/hog.cpp hog::compute_confidence_hists(win_size_.height, win_size_.width, width 335 modules/cudaobjdetect/src/hog.cpp block_stride_.height, block_stride_.width, width 336 modules/cudaobjdetect/src/hog.cpp win_stride_.height, win_stride_.width, width 351 modules/cudaobjdetect/src/hog.cpp int y = i / wins_per_img.width; width 352 modules/cudaobjdetect/src/hog.cpp int x = i - wins_per_img.width * y; width 356 modules/cudaobjdetect/src/hog.cpp hits.push_back(Point(x * win_stride_.width, y * win_stride_.height)); width 379 modules/cudaobjdetect/src/hog.cpp if (cvRound(img.cols / scale) < win_size_.width || width 421 modules/cudaobjdetect/src/hog.cpp Size scaled_win_size(cvRound(win_size_.width * scale), width 445 modules/cudaobjdetect/src/hog.cpp CV_Assert( win_stride_.width % block_stride_.width == 0 && win_stride_.height % block_stride_.height == 0 ); width 463 modules/cudaobjdetect/src/hog.cpp hog::extract_descrs_by_rows(win_size_.height, win_size_.width, width 464 modules/cudaobjdetect/src/hog.cpp block_stride_.height, block_stride_.width, width 465 modules/cudaobjdetect/src/hog.cpp win_stride_.height, win_stride_.width, width 471 modules/cudaobjdetect/src/hog.cpp hog::extract_descrs_by_cols(win_size_.height, win_size_.width, width 472 modules/cudaobjdetect/src/hog.cpp block_stride_.height, block_stride_.width, width 473 modules/cudaobjdetect/src/hog.cpp win_stride_.height, win_stride_.width, width 493 modules/cudaobjdetect/src/hog.cpp hog::set_up_constants(nbins_, block_stride_.width, block_stride_.height, blocks_per_win.width, blocks_per_win.height); width 504 modules/cudaobjdetect/src/hog.cpp block_stride_.width, block_stride_.height, width 511 modules/cudaobjdetect/src/hog.cpp block_stride_.width, block_stride_.height, width 257 modules/cudaobjdetect/test/test_objdetect.cpp std::cout << r.x << " " << r.y << " " << r.width << " " << r.height << std::endl; width 353 modules/cudaobjdetect/test/test_objdetect.cpp std::cout << r.x << " " << r.y << " " << r.width << " " << r.height << std::endl; width 317 modules/cudaoptflow/src/farneback.cpp if (size.width*scale < MIN_SIZE || size.height*scale < MIN_SIZE) width 353 modules/cudaoptflow/src/farneback.cpp int width = cvRound(size.width*scale); width 358 modules/cudaoptflow/src/farneback.cpp width = pyramid0_[k].cols; width 364 modules/cudaoptflow/src/farneback.cpp curFlowX.create(height, width, CV_32F); width 365 modules/cudaoptflow/src/farneback.cpp curFlowY.create(height, width, CV_32F); width 377 modules/cudaoptflow/src/farneback.cpp cuda::resize(flowx0, curFlowX, Size(width, height), 0, 0, INTER_LINEAR, streams[0]); width 378 modules/cudaoptflow/src/farneback.cpp cuda::resize(flowy0, curFlowY, Size(width, height), 0, 0, INTER_LINEAR, streams[1]); width 390 modules/cudaoptflow/src/farneback.cpp cuda::resize(prevFlowX, curFlowX, Size(width, height), 0, 0, INTER_LINEAR, streams[0]); width 391 modules/cudaoptflow/src/farneback.cpp cuda::resize(prevFlowY, curFlowY, Size(width, height), 0, 0, INTER_LINEAR, streams[1]); width 396 modules/cudaoptflow/src/farneback.cpp GpuMat M = allocMatFromBuf(5*height, width, CV_32F, M_); width 397 modules/cudaoptflow/src/farneback.cpp GpuMat bufM = allocMatFromBuf(5*height, width, CV_32F, bufM_); width 400 modules/cudaoptflow/src/farneback.cpp allocMatFromBuf(5*height, width, CV_32F, R_[0]), width 401 modules/cudaoptflow/src/farneback.cpp allocMatFromBuf(5*height, width, CV_32F, R_[1]) width 413 modules/cudaoptflow/src/farneback.cpp allocMatFromBuf(size.height, size.width, CV_32F, blurredFrame_[0]), width 414 modules/cudaoptflow/src/farneback.cpp allocMatFromBuf(size.height, size.width, CV_32F, blurredFrame_[1]) width 418 modules/cudaoptflow/src/farneback.cpp allocMatFromBuf(height, width, CV_32F, pyrLevel_[0]), width 419 modules/cudaoptflow/src/farneback.cpp allocMatFromBuf(height, width, CV_32F, pyrLevel_[1]) width 429 modules/cudaoptflow/src/farneback.cpp cuda::resize(blurredFrame[i], pyrLevel[i], Size(width, height), 0.0, 0.0, INTER_LINEAR, streams[i]); width 99 modules/cudaoptflow/src/pyrlk.cpp if (winSize.width > 32 && winSize.width > 2 * winSize.height) width 110 modules/cudaoptflow/src/pyrlk.cpp patch.x = (winSize.width + block.x - 1) / block.x; width 132 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( winSize_.width > 2 && winSize_.height > 2 ); width 182 modules/cudaoptflow/src/pyrlk.cpp pyrlk::loadConstants(make_int2(winSize_.width, winSize_.height), iters_, StreamAccessor::getStream(stream)); width 212 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( winSize_.width > 2 && winSize_.height > 2 ); width 244 modules/cudaoptflow/src/pyrlk.cpp int2 winSize2i = make_int2(winSize_.width, winSize_.height); width 177 modules/cudastereo/include/opencv2/cudastereo.hpp static void estimateRecommendedParams(int width, int height, int& ndisp, int& iters, int& levels); width 229 modules/cudastereo/include/opencv2/cudastereo.hpp static void estimateRecommendedParams(int width, int height, int& ndisp, int& iters, int& levels, int& nr_plane); width 367 modules/cudastereo/src/stereobp.cpp void cv::cuda::StereoBeliefPropagation::estimateRecommendedParams(int width, int height, int& ndisp, int& iters, int& levels) width 369 modules/cudastereo/src/stereobp.cpp ndisp = width / 4; width 373 modules/cudastereo/src/stereobp.cpp int mm = std::max(width, height); width 342 modules/cudastereo/src/stereocsbp.cpp void cv::cuda::StereoConstantSpaceBP::estimateRecommendedParams(int width, int height, int& ndisp, int& iters, int& levels, int& nr_plane) width 344 modules/cudastereo/src/stereocsbp.cpp ndisp = (int) ((float) width / 3.14f); width 348 modules/cudastereo/src/stereocsbp.cpp int mm = std::max(width, height); width 100 modules/cudawarping/src/remap.cpp func(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, xmap, ymap, width 82 modules/cudawarping/src/resize.cpp fx = static_cast<double>(dsize.width) / src.cols; width 103 modules/cudawarping/src/resize.cpp PtrStepSzb wholeSrc(wholeSize.height, wholeSize.width, src.datastart, src.step); width 157 modules/cudawarping/src/warp.cpp srcsz.width = src.cols; width 163 modules/cudawarping/src/warp.cpp srcroi.width = src.cols; width 169 modules/cudawarping/src/warp.cpp dstroi.width = dst.cols; width 317 modules/cudawarping/src/warp.cpp func(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, coeffs, width 456 modules/cudawarping/src/warp.cpp func(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, coeffs, width 488 modules/cudawarping/src/warp.cpp srcsz.width = src.cols; width 492 modules/cudawarping/src/warp.cpp srcroi.width = src.cols; width 496 modules/cudawarping/src/warp.cpp dstroi.width = dst.cols; width 74 modules/cudawarping/test/test_pyramids.cpp cv::cuda::GpuMat dst = createMat(cv::Size((size.width + 1) / 2, (size.height + 1) / 2), type, useRoi); width 114 modules/cudawarping/test/test_pyramids.cpp cv::cuda::GpuMat dst = createMat(cv::Size(size.width * 2, size.height * 2), type, useRoi); width 64 modules/cudawarping/test/test_remap.cpp for (int x = 0; x < dsize.width; ++x) width 141 modules/cudawarping/test/test_remap.cpp static double M[2][3] = { {std::cos(aplha), -std::sin(aplha), size.width / 2.0}, width 149 modules/cudawarping/test/test_remap.cpp for (int x = 0; x < size.width; ++x) width 68 modules/cudawarping/test/test_resize.cpp for (int x = 0; x < dsize.width; ++x) width 55 modules/cudawarping/test/test_warp_affine.cpp M.at<double>(0, 0) = std::cos(angle); M.at<double>(0, 1) = -std::sin(angle); M.at<double>(0, 2) = srcSize.width / 2; width 122 modules/cudawarping/test/test_warp_affine.cpp for (int x = 0; x < dsize.width; ++x) width 55 modules/cudawarping/test/test_warp_perspective.cpp M.at<double>(0, 0) = std::cos(angle); M.at<double>(0, 1) = -std::sin(angle); M.at<double>(0, 2) = srcSize.width / 2; width 123 modules/cudawarping/test/test_warp_perspective.cpp for (int x = 0; x < dsize.width; ++x) width 109 modules/cudev/include/opencv2/cudev/block/detail/reduce.hpp __device__ static void mergeShfl(const ValTuple& val, uint delta, uint width, const OpTuple& op) width 111 modules/cudev/include/opencv2/cudev/block/detail/reduce.hpp typename GetType<typename tuple_element<I, ValTuple>::type>::type reg = shfl_down(get<I>(val), delta, width); width 114 modules/cudev/include/opencv2/cudev/block/detail/reduce.hpp For<I + 1, N>::mergeShfl(val, delta, width, op); width 200 modules/cudev/include/opencv2/cudev/block/detail/reduce.hpp __device__ __forceinline__ void mergeShfl(T& val, uint delta, uint width, const Op& op) width 202 modules/cudev/include/opencv2/cudev/block/detail/reduce.hpp T reg = shfl_down(val, delta, width); width 210 modules/cudev/include/opencv2/cudev/block/detail/reduce.hpp uint width, width 213 modules/cudev/include/opencv2/cudev/block/detail/reduce.hpp For<0, tuple_size<tuple<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9> >::value>::mergeShfl(val, delta, width, op); width 68 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp : GpuMat(asize.height, asize.width, DataType<T>::type, allocator) width 80 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp : GpuMat(asize.height, asize.width, DataType<T>::type, val, allocator) width 120 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp : GpuMat(asize.height, asize.width, DataType<T>::type, adata, astep) width 281 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.area_width = areaSize.width; width 375 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.area_width = areaSize.width; width 142 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.width = mat.cols; width 225 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.width = mat.cols; width 94 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp map.cols = dstSize.width; width 142 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp map.cols = dstSize.width; width 99 modules/cudev/include/opencv2/cudev/warp/detail/reduce.hpp __device__ static void mergeShfl(const ValTuple& val, uint delta, uint width, const OpTuple& op) width 101 modules/cudev/include/opencv2/cudev/warp/detail/reduce.hpp typename GetType<typename tuple_element<I, ValTuple>::type>::type reg = shfl_down(get<I>(val), delta, width); width 104 modules/cudev/include/opencv2/cudev/warp/detail/reduce.hpp For<I + 1, N>::mergeShfl(val, delta, width, op); width 171 modules/cudev/include/opencv2/cudev/warp/detail/reduce.hpp __device__ __forceinline__ void mergeShfl(T& val, uint delta, uint width, const Op& op) width 173 modules/cudev/include/opencv2/cudev/warp/detail/reduce.hpp T reg = shfl_down(val, delta, width); width 181 modules/cudev/include/opencv2/cudev/warp/detail/reduce.hpp uint width, width 184 modules/cudev/include/opencv2/cudev/warp/detail/reduce.hpp For<0, tuple_size<tuple<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9> >::value>::mergeShfl(val, delta, width, op); width 61 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ uchar shfl(uchar val, int srcLane, int width = warpSize) width 63 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (uchar) __shfl((int) val, srcLane, width); width 66 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ schar shfl(schar val, int srcLane, int width = warpSize) width 68 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (schar) __shfl((int) val, srcLane, width); width 71 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ ushort shfl(ushort val, int srcLane, int width = warpSize) width 73 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (ushort) __shfl((int) val, srcLane, width); width 76 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ short shfl(short val, int srcLane, int width = warpSize) width 78 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (short) __shfl((int) val, srcLane, width); width 81 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ int shfl(int val, int srcLane, int width = warpSize) width 83 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return __shfl(val, srcLane, width); width 86 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ uint shfl(uint val, int srcLane, int width = warpSize) width 88 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (uint) __shfl((int) val, srcLane, width); width 91 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ float shfl(float val, int srcLane, int width = warpSize) width 93 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return __shfl(val, srcLane, width); width 96 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ double shfl(double val, int srcLane, int width = warpSize) width 101 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp lo = __shfl(lo, srcLane, width); width 102 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp hi = __shfl(hi, srcLane, width); width 108 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 1 shfl(const input_type ## 1 & val, int srcLane, int width = warpSize) \ width 111 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.x, srcLane, width) \ width 114 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 2 shfl(const input_type ## 2 & val, int srcLane, int width = warpSize) \ width 117 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.x, srcLane, width), \ width 118 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.y, srcLane, width) \ width 121 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 3 shfl(const input_type ## 3 & val, int srcLane, int width = warpSize) \ width 124 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.x, srcLane, width), \ width 125 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.y, srcLane, width), \ width 126 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.z, srcLane, width) \ width 129 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 4 shfl(const input_type ## 4 & val, int srcLane, int width = warpSize) \ width 132 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.x, srcLane, width), \ width 133 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.y, srcLane, width), \ width 134 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.z, srcLane, width), \ width 135 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.w, srcLane, width) \ width 152 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ uchar shfl_up(uchar val, uint delta, int width = warpSize) width 154 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (uchar) __shfl_up((int) val, delta, width); width 157 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ schar shfl_up(schar val, uint delta, int width = warpSize) width 159 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (schar) __shfl_up((int) val, delta, width); width 162 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ ushort shfl_up(ushort val, uint delta, int width = warpSize) width 164 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (ushort) __shfl_up((int) val, delta, width); width 167 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ short shfl_up(short val, uint delta, int width = warpSize) width 169 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (short) __shfl_up((int) val, delta, width); width 172 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ int shfl_up(int val, uint delta, int width = warpSize) width 174 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return __shfl_up(val, delta, width); width 177 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ uint shfl_up(uint val, uint delta, int width = warpSize) width 179 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (uint) __shfl_up((int) val, delta, width); width 182 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ float shfl_up(float val, uint delta, int width = warpSize) width 184 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return __shfl_up(val, delta, width); width 187 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ double shfl_up(double val, uint delta, int width = warpSize) width 192 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp lo = __shfl_up(lo, delta, width); width 193 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp hi = __shfl_up(hi, delta, width); width 199 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 1 shfl_up(const input_type ## 1 & val, uint delta, int width = warpSize) \ width 202 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.x, delta, width) \ width 205 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 2 shfl_up(const input_type ## 2 & val, uint delta, int width = warpSize) \ width 208 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.x, delta, width), \ width 209 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.y, delta, width) \ width 212 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 3 shfl_up(const input_type ## 3 & val, uint delta, int width = warpSize) \ width 215 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.x, delta, width), \ width 216 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.y, delta, width), \ width 217 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.z, delta, width) \ width 220 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 4 shfl_up(const input_type ## 4 & val, uint delta, int width = warpSize) \ width 223 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.x, delta, width), \ width 224 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.y, delta, width), \ width 225 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.z, delta, width), \ width 226 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.w, delta, width) \ width 243 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ uchar shfl_down(uchar val, uint delta, int width = warpSize) width 245 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (uchar) __shfl_down((int) val, delta, width); width 248 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ schar shfl_down(schar val, uint delta, int width = warpSize) width 250 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (schar) __shfl_down((int) val, delta, width); width 253 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ ushort shfl_down(ushort val, uint delta, int width = warpSize) width 255 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (ushort) __shfl_down((int) val, delta, width); width 258 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ short shfl_down(short val, uint delta, int width = warpSize) width 260 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (short) __shfl_down((int) val, delta, width); width 263 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ int shfl_down(int val, uint delta, int width = warpSize) width 265 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return __shfl_down(val, delta, width); width 268 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ uint shfl_down(uint val, uint delta, int width = warpSize) width 270 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (uint) __shfl_down((int) val, delta, width); width 273 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ float shfl_down(float val, uint delta, int width = warpSize) width 275 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return __shfl_down(val, delta, width); width 278 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ double shfl_down(double val, uint delta, int width = warpSize) width 283 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp lo = __shfl_down(lo, delta, width); width 284 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp hi = __shfl_down(hi, delta, width); width 290 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 1 shfl_down(const input_type ## 1 & val, uint delta, int width = warpSize) \ width 293 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.x, delta, width) \ width 296 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 2 shfl_down(const input_type ## 2 & val, uint delta, int width = warpSize) \ width 299 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.x, delta, width), \ width 300 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.y, delta, width) \ width 303 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 3 shfl_down(const input_type ## 3 & val, uint delta, int width = warpSize) \ width 306 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.x, delta, width), \ width 307 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.y, delta, width), \ width 308 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.z, delta, width) \ width 311 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 4 shfl_down(const input_type ## 4 & val, uint delta, int width = warpSize) \ width 314 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.x, delta, width), \ width 315 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.y, delta, width), \ width 316 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.z, delta, width), \ width 317 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.w, delta, width) \ width 334 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ uchar shfl_xor(uchar val, int laneMask, int width = warpSize) width 336 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (uchar) __shfl_xor((int) val, laneMask, width); width 339 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ schar shfl_xor(schar val, int laneMask, int width = warpSize) width 341 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (schar) __shfl_xor((int) val, laneMask, width); width 344 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ ushort shfl_xor(ushort val, int laneMask, int width = warpSize) width 346 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (ushort) __shfl_xor((int) val, laneMask, width); width 349 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ short shfl_xor(short val, int laneMask, int width = warpSize) width 351 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (short) __shfl_xor((int) val, laneMask, width); width 354 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ int shfl_xor(int val, int laneMask, int width = warpSize) width 356 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return __shfl_xor(val, laneMask, width); width 359 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ uint shfl_xor(uint val, int laneMask, int width = warpSize) width 361 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return (uint) __shfl_xor((int) val, laneMask, width); width 364 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ float shfl_xor(float val, int laneMask, int width = warpSize) width 366 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp return __shfl_xor(val, laneMask, width); width 369 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ double shfl_xor(double val, int laneMask, int width = warpSize) width 374 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp lo = __shfl_xor(lo, laneMask, width); width 375 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp hi = __shfl_xor(hi, laneMask, width); width 381 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 1 shfl_xor(const input_type ## 1 & val, int laneMask, int width = warpSize) \ width 384 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.x, laneMask, width) \ width 387 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 2 shfl_xor(const input_type ## 2 & val, int laneMask, int width = warpSize) \ width 390 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.x, laneMask, width), \ width 391 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.y, laneMask, width) \ width 394 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 3 shfl_xor(const input_type ## 3 & val, int laneMask, int width = warpSize) \ width 397 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.x, laneMask, width), \ width 398 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.y, laneMask, width), \ width 399 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.z, laneMask, width) \ width 402 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp __device__ __forceinline__ input_type ## 4 shfl_xor(const input_type ## 4 & val, int laneMask, int width = warpSize) \ width 405 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.x, laneMask, width), \ width 406 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.y, laneMask, width), \ width 407 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.z, laneMask, width), \ width 408 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.w, laneMask, width) \ width 71 modules/features2d/src/agast.cpp register int width; width 87 modules/features2d/src/agast.cpp width = xsize; width 101 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; width 437 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; width 831 modules/features2d/src/agast.cpp register int width; width 851 modules/features2d/src/agast.cpp width = xsize; width 865 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; width 2047 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; width 3275 modules/features2d/src/agast.cpp register int width; width 3295 modules/features2d/src/agast.cpp width = xsize; width 3309 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; width 4347 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; width 5356 modules/features2d/src/agast.cpp register int width; width 5380 modules/features2d/src/agast.cpp width = xsize; width 5392 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; width 130 modules/features2d/src/draw.cpp Size size( img1size.width + img2size.width, MAX(img1size.height, img2size.height) ); width 134 modules/features2d/src/draw.cpp if( size.width > outImg.cols || size.height > outImg.rows ) width 136 modules/features2d/src/draw.cpp outImg1 = outImg( Rect(0, 0, img1size.width, img1size.height) ); width 137 modules/features2d/src/draw.cpp outImg2 = outImg( Rect(img1size.width, 0, img2size.width, img2size.height) ); width 144 modules/features2d/src/draw.cpp outImg1 = outImg( Rect(0, 0, img1size.width, img1size.height) ); width 145 modules/features2d/src/draw.cpp outImg2 = outImg( Rect(img1size.width, 0, img2size.width, img2size.height) ); width 161 modules/features2d/src/draw.cpp Mat _outImg1 = outImg( Rect(0, 0, img1size.width, img1size.height) ); width 164 modules/features2d/src/draw.cpp Mat _outImg2 = outImg( Rect(img1size.width, 0, img2size.width, img2size.height) ); width 181 modules/features2d/src/draw.cpp dpt2 = Point2f( std::min(pt2.x+outImg1.size().width, float(outImg.size().width-1)), pt2.y ); width 148 modules/features2d/src/evaluation.cpp axes.width = (float)(1/sqrt(x1)); width 151 modules/features2d/src/evaluation.cpp boundingBox.width = (float)sqrt(ellipse[2]/ac_b2); width 203 modules/features2d/src/evaluation.cpp float rad = sqrt(axes.height*axes.width); width 231 modules/features2d/src/evaluation.cpp if( it->center.x + it->boundingBox.width < imgSize.width && width 232 modules/features2d/src/evaluation.cpp it->center.x - it->boundingBox.width > 0 && width 331 modules/features2d/src/evaluation.cpp float maxDist = sqrt(kp1.axes.width*kp1.axes.height), width 350 modules/features2d/src/evaluation.cpp int maxx = (int)ceil(( keypoint1a.boundingBox.width > (diff.x+keypoint2a.boundingBox.width)) ? width 351 modules/features2d/src/evaluation.cpp keypoint1a.boundingBox.width : (diff.x+keypoint2a.boundingBox.width)); width 352 modules/features2d/src/evaluation.cpp int minx = (int)floor((-keypoint1a.boundingBox.width < (diff.x-keypoint2a.boundingBox.width)) ? width 353 modules/features2d/src/evaluation.cpp -keypoint1a.boundingBox.width : (diff.x-keypoint2a.boundingBox.width)); width 104 modules/features2d/src/kaze/nldiffusion_functions.cpp for (int x = 0; x < sz.width; x++) { width 131 modules/features2d/src/kaze/nldiffusion_functions.cpp for(int x = 0; x < sz.width; x++) { width 157 modules/features2d/src/kaze/nldiffusion_functions.cpp for (int x = 0; x < sz.width; x++) { width 190 modules/features2d/src/kaze/nldiffusion_functions.cpp for (int x = 0; x < sz.width; x++) { width 48 modules/features2d/src/kaze/utils.h inline void checkDescriptorLimits(int &x, int &y, int width, int height) { width 58 modules/features2d/src/kaze/utils.h if (x > width - 1) { width 59 modules/features2d/src/kaze/utils.h x = width - 1; width 109 modules/features2d/src/keypoint.cpp if (imageSize.height <= borderSize * 2 || imageSize.width <= borderSize * 2) width 114 modules/features2d/src/keypoint.cpp Point(imageSize.width - borderSize, imageSize.height - borderSize)))), width 753 modules/features2d/src/matchers.cpp trainDescSize.width == _queryDescriptors.size().width && masks.size() == 1 && masks[0].total() == 0 ) width 897 modules/features2d/src/matchers.cpp trainDescSize.width == _queryDescriptors.size().width && masks.size() == 1 && masks[0].total() == 0 ) width 406 modules/features2d/src/mser.cpp int step = size.width; width 1072 modules/features2d/src/mser.cpp float diam = std::sqrt(rect.size.height*rect.size.width); width 1009 modules/features2d/src/orb.cpp Size wholeSize(sz.width + border*2, sz.height + border*2); width 1010 modules/features2d/src/orb.cpp if( level_ofs.x + wholeSize.width > bufSize.width ) width 1016 modules/features2d/src/orb.cpp Rect linfo(level_ofs.x + border, level_ofs.y + border, sz.width, sz.height); width 1018 modules/features2d/src/orb.cpp layerOfs[level] = linfo.y*bufSize.width + linfo.x; width 1019 modules/features2d/src/orb.cpp level_ofs.x += wholeSize.width; width 1033 modules/features2d/src/orb.cpp Size sz(linfo.width, linfo.height); width 1034 modules/features2d/src/orb.cpp Size wholeSize(sz.width + border*2, sz.height + border*2); width 1035 modules/features2d/src/orb.cpp Rect wholeLinfo = Rect(linfo.x - border, linfo.y - border, wholeSize.width, wholeSize.height); width 1037 modules/features2d/src/orb.cpp Mat currImg = extImg(Rect(border, border, sz.width, sz.height)), currMask; width 1042 modules/features2d/src/orb.cpp currMask = extMask(Rect(border, border, sz.width, sz.height)); width 318 modules/highgui/include/opencv2/highgui.hpp CV_EXPORTS_W void resizeWindow(const String& winname, int width, int height); width 137 modules/highgui/include/opencv2/highgui/highgui_c.h CVAPI(void) cvResizeWindow( const char* name, int width, int height ); width 171 modules/highgui/src/window.cpp void cv::resizeWindow( const String& winname, int width, int height ) width 173 modules/highgui/src/window.cpp cvResizeWindow( winname.c_str(), width, height ); width 271 modules/highgui/src/window.cpp CV_Assert(size.width>0 && size.height>0); width 279 modules/highgui/src/window.cpp CV_Assert(size.width>0 && size.height>0); width 293 modules/highgui/src/window.cpp resizeWindow(winname, size.width, size.height); width 343 modules/highgui/src/window.cpp resizeWindow(winname, size.width, size.height); width 561 modules/highgui/src/window_QT.cpp CV_IMPL void cvResizeWindow(const char* name, int width, int height) width 569 modules/highgui/src/window_QT.cpp Q_ARG(int, width), width 1076 modules/highgui/src/window_QT.cpp void GuiReceiver::resizeWindow(QString name, int width, int height) width 1083 modules/highgui/src/window_QT.cpp w->setViewportSize(QSize(width, height)); width 2302 modules/highgui/src/window_QT.cpp positionCorners = QRect(0, 0, size().width(), size().height()); width 2311 modules/highgui/src/window_QT.cpp image2Draw_mat = cvCreateMat(viewport()->height(), viewport()->width(), CV_8UC3); width 2415 modules/highgui/src/window_QT.cpp ratioX = width() / float(image2Draw_mat->cols); width 2460 modules/highgui/src/window_QT.cpp float delta = 2 * width() / (100.0 * param_matrixWorld.m11()); width 2468 modules/highgui/src/window_QT.cpp float delta = -2 * width() / (100.0 * param_matrixWorld.m11()); width 2491 modules/highgui/src/window_QT.cpp scaleView((threshold_zoom_img_region / param_matrixWorld.m11() - 1) * 5, QPointF(size().width() / 2, size().height() / 2)); width 2504 modules/highgui/src/window_QT.cpp scaleView(0.5, QPointF(size().width() / 2, size().height() / 2)); width 2510 modules/highgui/src/window_QT.cpp scaleView(-0.5, QPointF(size().width() / 2, size().height() / 2)); width 2580 modules/highgui/src/window_QT.cpp ratioX = width() / float(image2Draw_mat->cols); width 2604 modules/highgui/src/window_QT.cpp move(newSize.width(), newSize.height()); width 2736 modules/highgui/src/window_QT.cpp return img1->width == img2->width && img1->height == img2->height; width 2760 modules/highgui/src/window_QT.cpp param_matrixWorld.map(sizeImage.width(),sizeImage.height(),&right,&bottom); width 2761 modules/highgui/src/window_QT.cpp if (right < sizeImage.width()) width 2763 modules/highgui/src/window_QT.cpp param_matrixWorld.translate(sizeImage.width()-right,0); width 2764 modules/highgui/src/window_QT.cpp right = sizeImage.width(); width 2894 modules/highgui/src/window_QT.cpp painter->drawImage(QRect(0,0,viewport()->width(),viewport()->height()), image2Draw_qt, QRect(0,0, image2Draw_qt.width(), image2Draw_qt.height()) ); width 2905 modules/highgui/src/window_QT.cpp mouseCoordinate.x()<image2Draw_qt.width() && width 2950 modules/highgui/src/window_QT.cpp for (qreal _x = offsetX*pixel_width; _x < view.width(); _x += pixel_width ) width 2955 modules/highgui/src/window_QT.cpp linesY.append(QLineF(0, _y, view.width(), _y)); width 2967 modules/highgui/src/window_QT.cpp for (int i=-1;i<width()/pixel_width;i++)//-1 width 3040 modules/highgui/src/window_QT.cpp painter->drawRect(QRect(width()-viewSize.width()-margin, 0,viewSize.width(),viewSize.height())); width 3046 modules/highgui/src/window_QT.cpp painter->drawRect(QRectF(width()-viewSize.width()-positionCorners.left()*ratioSize*ratioWindow-margin, width 3048 modules/highgui/src/window_QT.cpp (viewSize.width()-1)*ratioSize, width 3058 modules/highgui/src/window_QT.cpp QRect qrect = metrics.boundingRect(0, 0, width() - 2*border, int(height()*0.125), width 3061 modules/highgui/src/window_QT.cpp painter->fillRect(QRect(0, 0, width(), qrect.height() + 2*border), width 3064 modules/highgui/src/window_QT.cpp painter->fillRect(QRect(0, 0, width(), qrect.height() + 2*border), width 3067 modules/highgui/src/window_QT.cpp painter->drawText((width() - qrect.width())/2, border, width 3068 modules/highgui/src/window_QT.cpp qrect.width(), qrect.height(), width 3117 modules/highgui/src/window_QT.cpp return (double)width() / height(); width 3267 modules/highgui/src/window_QT.cpp if (size.width() > 0 && size.height() > 0) width 126 modules/highgui/src/window_QT.h void resizeWindow(QString name, int width, int height); width 225 modules/highgui/src/window_carbon.cpp int width = window->imageWidth; width 239 modules/highgui/src/window_carbon.cpp CGSize size = {width, height}; width 261 modules/highgui/src/window_carbon.cpp int width = window->imageWidth = window->image->cols; width 269 modules/highgui/src/window_carbon.cpp provider = CGDataProviderCreateWithData(NULL, window->image->data.ptr, width * height , NULL ); width 276 modules/highgui/src/window_carbon.cpp window->imageRef = CGImageCreate( width, height, size , size*nbChannels , window->image->step, colorspace, kCGImageAlphaNone , provider, NULL, true, kCGRenderingIntentDefault ); width 285 modules/highgui/src/window_carbon.cpp int width = 0, height = 240; /* init à al taille de base de l'image*/ width 293 modules/highgui/src/window_carbon.cpp width = MAX(MAX(window->image->width, width), minWidth); width 296 modules/highgui/src/window_carbon.cpp width = minWidth; width 302 modules/highgui/src/window_carbon.cpp globalBounds.right = globalBounds.left + width; width 425 modules/highgui/src/window_carbon.cpp CV_IMPL void cvResizeWindow( const char* name, int width, int height) width 441 modules/highgui/src/window_carbon.cpp SizeWindow(window->window, width, height, true); width 172 modules/highgui/src/window_gtk.cpp attributes.width = allocation.width; width 177 modules/highgui/src/window_gtk.cpp attributes.width = widget->allocation.width; width 303 modules/highgui/src/window_gtk.cpp requisition->width = image_widget->original_image->cols; width 309 modules/highgui/src/window_gtk.cpp requisition->width = image_widget->scaled_image->cols; width 315 modules/highgui/src/window_gtk.cpp requisition->width = 320; width 335 modules/highgui/src/window_gtk.cpp ( image_widget->scaled_image->cols != scaled_image_size.width || width 341 modules/highgui/src/window_gtk.cpp image_widget->scaled_image = cvCreateMat( scaled_image_size.height, scaled_image_size.width, CV_8UC3 ); width 374 modules/highgui/src/window_gtk.cpp cvImageWidget_set_size( widget, allocation->width, allocation->height ); width 388 modules/highgui/src/window_gtk.cpp allocation->width = image_widget->original_image->cols; width 392 modules/highgui/src/window_gtk.cpp widget->allocation.width = image_widget->original_image->cols; width 406 modules/highgui/src/window_gtk.cpp allocation->width, allocation->height ); width 799 modules/highgui/src/window_gtk.cpp result = static_cast<double>(window->widget->allocation.width) / window->widget->allocation.height; width 875 modules/highgui/src/window_gtk.cpp glViewport(0, 0, window->widget->allocation.width, window->widget->allocation.height); width 974 modules/highgui/src/window_gtk.cpp int x0 = (widget->allocation.width - image_widget->scaled_image->cols)/2; width 978 modules/highgui/src/window_gtk.cpp 8, MIN(image_widget->scaled_image->cols, widget->allocation.width), width 986 modules/highgui/src/window_gtk.cpp 8, MIN(image_widget->original_image->cols, widget->allocation.width), width 1321 modules/highgui/src/window_gtk.cpp CV_IMPL void cvResizeWindow(const char* name, int width, int height ) width 1344 modules/highgui/src/window_gtk.cpp gtk_window_resize( GTK_WINDOW(window->frame), width, height ); width 1903 modules/highgui/src/window_gtk.cpp int x0 = (widget->allocation.width - image_widget->scaled_image->cols)/2; width 102 modules/highgui/src/window_w32.cpp static void FillBitmapInfo( BITMAPINFO* bmi, int width, int height, int bpp, int origin ) width 104 modules/highgui/src/window_w32.cpp assert( bmi && width >= 0 && height >= 0 && (bpp == 8 || bpp == 24 || bpp == 32)); width 110 modules/highgui/src/window_w32.cpp bmih->biWidth = width; width 177 modules/highgui/src/window_w32.cpp int width; width 313 modules/highgui/src/window_w32.cpp rect.width = rect.height = 320; width 323 modules/highgui/src/window_w32.cpp RegQueryValueEx(hkey, "Width", NULL, &dwType, (BYTE*)&rect.width, &dwSize); width 331 modules/highgui/src/window_w32.cpp if( rect.width != (int)CW_USEDEFAULT && (rect.width < 0 || rect.width > 3000) ) width 332 modules/highgui/src/window_w32.cpp rect.width = 100; width 401 modules/highgui/src/window_w32.cpp RegSetValueEx(hkey, "Width", 0, REG_DWORD, (BYTE*)&rect.width, sizeof(rect.width)); width 456 modules/highgui/src/window_w32.cpp SetWindowPos(window->frame, HWND_TOP, position.x, position.y , position.width,position.height, SWP_NOZORDER | SWP_FRAMECHANGED); width 480 modules/highgui/src/window_w32.cpp position.width=mi.rcMonitor.right - mi.rcMonitor.left;position.height=mi.rcMonitor.bottom - mi.rcMonitor.top; width 483 modules/highgui/src/window_w32.cpp SetWindowPos(window->frame, HWND_TOP, position.x, position.y , position.width,position.height, SWP_NOZORDER | SWP_FRAMECHANGED); width 551 modules/highgui/src/window_w32.cpp result = static_cast<double>(window->width) / window->height; width 699 modules/highgui/src/window_w32.cpp glViewport(0, 0, window->width, window->height); width 750 modules/highgui/src/window_w32.cpp rect.x, rect.y, rect.width, rect.height, 0, 0, hg_hinstance, 0 ); width 757 modules/highgui/src/window_w32.cpp hWnd = CreateWindow("HighGUI class", "", (defStyle & ~WS_SIZEBOX) | WS_CHILD, CW_USEDEFAULT, 0, rect.width, rect.height, mainhWnd, 0, hg_hinstance, 0); width 1132 modules/highgui/src/window_w32.cpp if( size.cx != image->width || size.cy != image->height || channels != channels0 ) width 1142 modules/highgui/src/window_w32.cpp size.cx = image->width; width 1212 modules/highgui/src/window_w32.cpp if( size.cx != image->width || size.cy != image->height || channels != channels0 ) width 1222 modules/highgui/src/window_w32.cpp size.cx = image->width; width 1237 modules/highgui/src/window_w32.cpp StretchDIBits( hdc, 0, 0, rect.right, rect.bottom, 0, 0, image->width, image->height, dst_ptr, &tempbinfo, DIB_RGB_COLORS, SRCCOPY ); width 1246 modules/highgui/src/window_w32.cpp CV_IMPL void cvResizeWindow(const char* name, int width, int height ) width 1274 modules/highgui/src/window_w32.cpp rmw.right - rmw.left + width - rw.right + rw.left, width 1703 modules/highgui/src/window_w32.cpp window->width = LOWORD(lParam); width 504 modules/imgcodecs/src/grfmt_bmp.cpp int width = img.cols, height = img.rows, channels = img.channels(); width 505 modules/imgcodecs/src/grfmt_bmp.cpp int fileStep = (width*channels + 3) & -4; width 536 modules/imgcodecs/src/grfmt_bmp.cpp strm.putDWord( width ); width 553 modules/imgcodecs/src/grfmt_bmp.cpp width *= channels; width 556 modules/imgcodecs/src/grfmt_bmp.cpp strm.putBytes( img.ptr(y), width ); width 557 modules/imgcodecs/src/grfmt_bmp.cpp if( fileStep > width ) width 558 modules/imgcodecs/src/grfmt_bmp.cpp strm.putBytes( zeropad, fileStep - width ); width 580 modules/imgcodecs/src/grfmt_exr.cpp int width = img.cols, height = img.rows; width 588 modules/imgcodecs/src/grfmt_exr.cpp Header header( width, height ); width 626 modules/imgcodecs/src/grfmt_exr.cpp buffer = (char *)new unsigned[width * channels]; width 632 modules/imgcodecs/src/grfmt_exr.cpp buffer = (char *)new half[width * channels]; width 677 modules/imgcodecs/src/grfmt_exr.cpp for(int i = 0; i < width * channels; i++) width 683 modules/imgcodecs/src/grfmt_exr.cpp for(int i = 0; i < width * channels; i++) width 689 modules/imgcodecs/src/grfmt_exr.cpp for(int i = 0; i < width * channels; i++) width 700 modules/imgcodecs/src/grfmt_exr.cpp for(int i = 0; i < width * channels; i++) width 706 modules/imgcodecs/src/grfmt_exr.cpp for(int i = 0; i < width * channels; i++) width 349 modules/imgcodecs/src/grfmt_gdal.cpp if( img.size().width != m_width ){ width 558 modules/imgcodecs/src/grfmt_jpeg.cpp int width = img.cols, height = img.rows; width 592 modules/imgcodecs/src/grfmt_jpeg.cpp cinfo.image_width = width; width 685 modules/imgcodecs/src/grfmt_jpeg.cpp _buffer.allocate(width*channels); width 694 modules/imgcodecs/src/grfmt_jpeg.cpp icvCvt_BGR2RGB_8u_C3R( data, 0, buffer, 0, cvSize(width,1) ); width 699 modules/imgcodecs/src/grfmt_jpeg.cpp icvCvt_BGRA2BGR_8u_C4C3R( data, 0, buffer, 0, cvSize(width,1), 2 ); width 171 modules/imgcodecs/src/grfmt_jpeg2000.cpp clr.create(img.size().height, img.size().width, this->type()); width 440 modules/imgcodecs/src/grfmt_jpeg2000.cpp int width = _img.cols, height = _img.rows; width 454 modules/imgcodecs/src/grfmt_jpeg2000.cpp component_info[i].width = width; width 346 modules/imgcodecs/src/grfmt_png.cpp int y, width = img.cols, height = img.rows; width 411 modules/imgcodecs/src/grfmt_png.cpp png_set_IHDR( png_ptr, info_ptr, width, height, depth == CV_8U ? isBilevel?1:8 : 16, width 374 modules/imgcodecs/src/grfmt_pxm.cpp int width = img.cols, height = img.rows; width 377 modules/imgcodecs/src/grfmt_pxm.cpp int fileStep = width*(int)img.elemSize(); width 393 modules/imgcodecs/src/grfmt_pxm.cpp t == CV_16UC1 ? 6 : 6*3+2)*width+1)*height), 256)); width 402 modules/imgcodecs/src/grfmt_pxm.cpp lineLength = width * (int)img.elemSize(); width 404 modules/imgcodecs/src/grfmt_pxm.cpp lineLength = (6 * channels + (channels > 1 ? 2 : 0)) * width + 32; width 415 modules/imgcodecs/src/grfmt_pxm.cpp width, height, (1 << depth) - 1 ); width 428 modules/imgcodecs/src/grfmt_pxm.cpp (uchar*)buffer, 0, cvSize(width,1) ); width 431 modules/imgcodecs/src/grfmt_pxm.cpp (ushort*)buffer, 0, cvSize(width,1) ); width 439 modules/imgcodecs/src/grfmt_pxm.cpp for( x = 0; x < width*channels*2; x += 2 ) width 456 modules/imgcodecs/src/grfmt_pxm.cpp for( x = 0; x < width*channels; x += channels ) width 470 modules/imgcodecs/src/grfmt_pxm.cpp for( x = 0; x < width*channels; x += channels ) width 487 modules/imgcodecs/src/grfmt_pxm.cpp for( x = 0; x < width; x++ ) width 495 modules/imgcodecs/src/grfmt_pxm.cpp for( x = 0; x < width; x++ ) width 401 modules/imgcodecs/src/grfmt_sunras.cpp int y, width = img.cols, height = img.rows, channels = img.channels(); width 402 modules/imgcodecs/src/grfmt_sunras.cpp int fileStep = (width*channels + 1) & -2; width 408 modules/imgcodecs/src/grfmt_sunras.cpp strm.putDWord( width ); width 520 modules/imgcodecs/src/grfmt_tiff.cpp int width = img.cols, height = img.rows; width 543 modules/imgcodecs/src/grfmt_tiff.cpp size_t fileStep = (width * channels * bitsPerChannel) / bitsPerByte; width 572 modules/imgcodecs/src/grfmt_tiff.cpp if ( !TIFFSetField(pTiffHandle, TIFFTAG_IMAGEWIDTH, width) width 615 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGR2RGB_8u_C3R( img.ptr(y), 0, buffer, 0, cvSize(width,1) ); width 617 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGR2RGB_16u_C3R( img.ptr<ushort>(y), 0, (ushort*)buffer, 0, cvSize(width,1) ); width 624 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGRA2RGBA_8u_C4R( img.ptr(y), 0, buffer, 0, cvSize(width,1) ); width 626 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGRA2RGBA_16u_C4R( img.ptr<ushort>(y), 0, (ushort*)buffer, 0, cvSize(width,1) ); width 685 modules/imgcodecs/src/grfmt_tiff.cpp int width = img.cols, height = img.rows; width 698 modules/imgcodecs/src/grfmt_tiff.cpp int fileStep = width * channels * bytesPerChannel; width 763 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGR2RGB_8u_C3R( img.ptr(y), 0, buffer, 0, cvSize(width,1) ); width 765 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGR2RGB_16u_C3R( img.ptr<ushort>(y), 0, (ushort*)buffer, 0, cvSize(width,1) ); width 772 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGRA2RGBA_8u_C4R( img.ptr(y), 0, buffer, 0, cvSize(width,1) ); width 774 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGRA2RGBA_16u_C4R( img.ptr<ushort>(y), 0, (ushort*)buffer, 0, cvSize(width,1) ); width 832 modules/imgcodecs/src/grfmt_tiff.cpp writeTag( strm, TIFF_TAG_WIDTH, TIFF_TYPE_LONG, 1, width ); width 141 modules/imgcodecs/src/grfmt_webp.cpp m_width = features.width; width 210 modules/imgcodecs/src/grfmt_webp.cpp int width = img.cols, height = img.rows; width 258 modules/imgcodecs/src/grfmt_webp.cpp size = WebPEncodeLosslessBGR(image->ptr(), width, height, (int)image->step, &out); width 262 modules/imgcodecs/src/grfmt_webp.cpp size = WebPEncodeLosslessBGRA(image->ptr(), width, height, (int)image->step, &out); width 269 modules/imgcodecs/src/grfmt_webp.cpp size = WebPEncodeBGR(image->ptr(), width, height, (int)image->step, quality, &out); width 273 modules/imgcodecs/src/grfmt_webp.cpp size = WebPEncodeBGRA(image->ptr(), width, height, (int)image->step, quality, &out); width 273 modules/imgcodecs/src/loadsave.cpp size.width = decoder->width(); width 294 modules/imgcodecs/src/loadsave.cpp matrix = cvCreateMat( size.height, size.width, type ); width 299 modules/imgcodecs/src/loadsave.cpp mat->create( size.height, size.width, type ); width 378 modules/imgcodecs/src/loadsave.cpp Mat mat(decoder->height(), decoder->width(), type); width 500 modules/imgcodecs/src/loadsave.cpp size.width = decoder->width(); width 520 modules/imgcodecs/src/loadsave.cpp matrix = cvCreateMat( size.height, size.width, type ); width 525 modules/imgcodecs/src/loadsave.cpp mat->create( size.height, size.width, type ); width 149 modules/imgcodecs/src/rgbe.cpp int RGBE_WriteHeader(FILE *fp, int width, int height, rgbe_header_info *info) width 168 modules/imgcodecs/src/rgbe.cpp if (fprintf(fp, "-Y %d +X %d\n", height, width) < 0) width 174 modules/imgcodecs/src/rgbe.cpp int RGBE_ReadHeader(FILE *fp, int *width, int *height, rgbe_header_info *info) width 225 modules/imgcodecs/src/rgbe.cpp if (sscanf(buf,"-Y %d +X %d",height,width) < 2) width 74 modules/imgcodecs/src/rgbe.hpp int RGBE_WriteHeader(FILE *fp, int width, int height, rgbe_header_info *info); width 75 modules/imgcodecs/src/rgbe.hpp int RGBE_ReadHeader(FILE *fp, int *width, int *height, rgbe_header_info *info); width 58 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, rgb += 3 ) width 64 modules/imgcodecs/src/utils.cpp rgb += rgb_step - size.width*3; width 77 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, rgb += ncn ) width 83 modules/imgcodecs/src/utils.cpp rgb += rgb_step - size.width*ncn; width 96 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, rgba += 4 ) width 102 modules/imgcodecs/src/utils.cpp rgba += rgba_step - size.width*4; width 113 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3 ) width 117 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; width 128 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3 ) width 132 modules/imgcodecs/src/utils.cpp bgr += bgr_step/sizeof(bgr[0]) - size.width*3; width 145 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 ) width 151 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; width 152 modules/imgcodecs/src/utils.cpp bgra += bgra_step - size.width*4; width 165 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 ) width 171 modules/imgcodecs/src/utils.cpp bgr += bgr_step/sizeof(bgr[0]) - size.width*3; width 172 modules/imgcodecs/src/utils.cpp bgra += bgra_step/sizeof(bgra[0]) - size.width*4; width 183 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgra += 4, rgba += 4 ) width 190 modules/imgcodecs/src/utils.cpp bgra += bgra_step - size.width*4; width 191 modules/imgcodecs/src/utils.cpp rgba += rgba_step - size.width*4; width 201 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgra += 4, rgba += 4 ) width 209 modules/imgcodecs/src/utils.cpp bgra += bgra_step/sizeof(bgra[0]) - size.width*4; width 210 modules/imgcodecs/src/utils.cpp rgba += rgba_step/sizeof(rgba[0]) - size.width*4; width 221 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3, rgb += 3 ) width 226 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; width 227 modules/imgcodecs/src/utils.cpp rgb += rgb_step - size.width*3; width 238 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3, rgb += 3 ) width 243 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; width 244 modules/imgcodecs/src/utils.cpp rgb += rgb_step - size.width*3; width 257 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++ ) width 274 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++ ) width 291 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3 ) width 298 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; width 309 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3 ) width 316 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; width 327 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3, cmyk += 4 ) width 335 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; width 336 modules/imgcodecs/src/utils.cpp cmyk += cmyk_step - size.width*4; width 347 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, cmyk += 4 ) width 357 modules/imgcodecs/src/utils.cpp cmyk += cmyk_step - size.width*4; width 434 modules/imgcodecs/src/utils.cpp int step, int width, width 455 modules/imgcodecs/src/utils.cpp data = line_end - width; width 627 modules/imgcodecs/src/utils.cpp temp = cvCreateMat( src->height, src->width, width 648 modules/imgcodecs/src/utils.cpp size.width *= size.height; width 110 modules/imgcodecs/test/test_drawing.cpp polyline[1] = Point(imgSize.width, 0); width 111 modules/imgcodecs/test/test_drawing.cpp polyline[2] = Point(imgSize.width, imgSize.height); width 118 modules/imgcodecs/test/test_drawing.cpp if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) width 122 modules/imgcodecs/test/test_drawing.cpp if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) width 125 modules/imgcodecs/test/test_drawing.cpp p1 = Point(imgSize.width,1), p2 = Point(imgSize.width,3); width 126 modules/imgcodecs/test/test_drawing.cpp if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) width 129 modules/imgcodecs/test/test_drawing.cpp p1 = Point(imgSize.width-1,1), p2 = Point(imgSize.width,3); width 130 modules/imgcodecs/test/test_drawing.cpp if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) width 175 modules/imgcodecs/test/test_drawing.cpp Point textOrg((img.cols - textSize.width)/2, (img.rows + textSize.height)/2); width 176 modules/imgcodecs/test/test_drawing.cpp rectangle(img, textOrg + Point(0, baseline), textOrg + Point(textSize.width, -textSize.height), Scalar(0,0,255)); width 177 modules/imgcodecs/test/test_drawing.cpp line(img, textOrg + Point(0, thickness), textOrg + Point(textSize.width, thickness), Scalar(0, 0, 255)); width 260 modules/imgcodecs/test/test_drawing.cpp polyline[1] = cvPoint(imgSize.width, 0); width 261 modules/imgcodecs/test/test_drawing.cpp polyline[2] = cvPoint(imgSize.width, imgSize.height); width 276 modules/imgcodecs/test/test_drawing.cpp p1 = cvPoint(imgSize.width,1), p2 = cvPoint(imgSize.width,3); width 280 modules/imgcodecs/test/test_drawing.cpp p1 = Point(imgSize.width-1,1), p2 = Point(imgSize.width,3); width 287 modules/imgcodecs/test/test_drawing.cpp box.size.width = 200; width 336 modules/imgcodecs/test/test_drawing.cpp CvPoint textOrg = cvPoint((imgSize.width - textSize.width)/2, (imgSize.height + textSize.height)/2); width 338 modules/imgcodecs/test/test_drawing.cpp cvPoint(textOrg.x + textSize.width, textOrg.y - textSize.height), cvScalar(0,0,255)); width 340 modules/imgcodecs/test/test_drawing.cpp cvPoint(textOrg.x + textSize.width, textOrg.y + font.thickness), cvScalar(0, 0, 255)); width 509 modules/imgcodecs/test/test_drawing.cpp bigSize.width = max(bigSize.width, img.size().width); width 56 modules/imgcodecs/test/test_grfmt.cpp lhs.size().width != rhs.size().width) width 1001 modules/imgproc/include/opencv2/imgproc.hpp OutputArray width = noArray(), OutputArray prec = noArray(), width 1041 modules/imgproc/include/opencv2/imgproc/imgproc_c.h axes.width = cvRound(box.size.width*0.5); width 801 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(2.828, rrect.size.width, EPS); width 1944 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(543.0, res.width); width 2159 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(20 + (int) labelSize.height, 20 + (int) labelSize.width, CvType.CV_8U, colorBlack); width 2166 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(img, new Point(11, 11), new Point(labelSize.width + 10, labelSize.height + 10), colorBlack, Core.FILLED); width 2173 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(20 + (int) labelSize.height, 20 + (int) labelSize.width, CvType.CV_8U, colorBlack); width 2180 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(img, new Point(10, 10), new Point(labelSize.width + 10 + 1, labelSize.height + 10 + 1), colorBlack, Core.FILLED); width 2188 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(20 + (int) labelSize.height, 20 + (int) labelSize.width, CvType.CV_8U, colorBlack); width 2195 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(img, new Point(10, 10), new Point(labelSize.width + 9, labelSize.height + 9), colorBlack, Core.FILLED); width 133 modules/imgproc/perf/opencl/perf_imgwarp.cpp const Size dstSize(cvRound(srcSize.width * scale), cvRound(srcSize.height * scale)); width 157 modules/imgproc/perf/opencl/perf_imgwarp.cpp const Size dstSize(cvRound(srcSize.width * scale), cvRound(srcSize.height * scale)); width 197 modules/imgproc/perf/opencl/perf_imgwarp.cpp for (int j = 0; j < srcSize.width; ++j) width 199 modules/imgproc/perf/opencl/perf_imgwarp.cpp xmap_row[j] = (j - srcSize.width * 0.5f) * 0.75f + srcSize.width * 0.5f; width 65 modules/imgproc/perf/opencl/perf_pyramid.cpp const Size dstSize((srcSize.height + 1) >> 1, (srcSize.width + 1) >> 1); width 89 modules/imgproc/perf/opencl/perf_pyramid.cpp const Size dstSize(srcSize.height << 1, srcSize.width << 1); width 261 modules/imgproc/perf/perf_cvt_color.cpp int runs = sz.width <= 320 ? 100 : 5; width 311 modules/imgproc/perf/perf_cvt_color.cpp Mat src(sz.height + sz.height / 2, sz.width, CV_8UC(ch.scn)); width 316 modules/imgproc/perf/perf_cvt_color.cpp int runs = (sz.width <= 640) ? 8 : 1; width 337 modules/imgproc/perf/perf_cvt_color.cpp Mat dst(sz.height + sz.height / 2, sz.width, CV_8UC(ch.dcn)); width 342 modules/imgproc/perf/perf_cvt_color.cpp int runs = (sz.width <= 640) ? 10 : 1; width 24 modules/imgproc/perf/perf_histogram.cpp Mat source(size.height, size.width, type); width 53 modules/imgproc/perf/perf_histogram.cpp Mat source(size.height, size.width, type); width 86 modules/imgproc/perf/perf_histogram.cpp Mat source(size.height, size.width, type); width 108 modules/imgproc/perf/perf_histogram.cpp Mat source(size.height, size.width, CV_8U); width 22 modules/imgproc/perf/perf_morph.cpp int runs = (sz.width <= 320) ? 15 : 1; width 21 modules/imgproc/perf/perf_pyramids.cpp Mat dst((sz.height + 1)/2, (sz.width + 1)/2, matType); width 42 modules/imgproc/perf/perf_pyramids.cpp Mat dst(sz.height*2, sz.width*2, matType); width 66 modules/imgproc/perf/perf_remap.cpp int runs = (sz.width <= 640) ? 3 : 1; width 41 modules/imgproc/perf/perf_resize.cpp MatInfo_Size_Size_t(CV_8UC1, sz720p, Size(120 * sz720p.width / sz720p.height, 120)),//face detection min_face_size = 20% width 80 modules/imgproc/perf/perf_resize.cpp from.width = (from.width/scale)*scale; width 84 modules/imgproc/perf/perf_resize.cpp cv::Mat dst(from.height / scale, from.width / scale, matType); width 112 modules/imgproc/perf/perf_resize.cpp Size to(cvRound(from.width * scale), cvRound(from.height * scale)); width 72 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); width 76 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); width 125 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); width 129 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); width 180 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); width 184 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); width 233 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); width 237 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); width 35 modules/imgproc/perf/perf_threshold.cpp int runs = (sz.width <= 640) ? 40 : 1; width 76 modules/imgproc/perf/perf_warp.cpp warpMat.at<double>(2, 0) = .3/sz.width; width 113 modules/imgproc/perf/perf_warp.cpp Vec2f(static_cast<float>(size.width-1), 0), width 114 modules/imgproc/perf/perf_warp.cpp Vec2f(static_cast<float>(size.width-1), static_cast<float>(size.height-1)), width 117 modules/imgproc/perf/perf_warp.cpp Vec2f(static_cast<float>(size.width-shift/2), 0), width 118 modules/imgproc/perf/perf_warp.cpp Vec2f(static_cast<float>(size.width-shift), static_cast<float>(size.height-shift)), width 153 modules/imgproc/perf/perf_warp.cpp unsigned int width = size.width; width 154 modules/imgproc/perf/perf_warp.cpp Mat source(height, width, type); width 156 modules/imgproc/perf/perf_warp.cpp Mat map_x(height, width, CV_32F); width 157 modules/imgproc/perf/perf_warp.cpp Mat map_y(height, width, CV_32F); width 896 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src.total()); width 899 modules/imgproc/src/accum.cpp size.width *= scn; width 902 modules/imgproc/src/accum.cpp status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); width 905 modules/imgproc/src/accum.cpp dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); width 979 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src.total()); width 982 modules/imgproc/src/accum.cpp size.width *= scn; width 985 modules/imgproc/src/accum.cpp status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); width 988 modules/imgproc/src/accum.cpp dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); width 1066 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src1.total()); width 1069 modules/imgproc/src/accum.cpp size.width *= scn; width 1073 modules/imgproc/src/accum.cpp dststep, ippiSize(size.width, size.height)); width 1076 modules/imgproc/src/accum.cpp dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); width 1153 modules/imgproc/src/accum.cpp size.width = static_cast<int>((int)src.total()); width 1156 modules/imgproc/src/accum.cpp size.width *= scn; width 1159 modules/imgproc/src/accum.cpp status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height), (Ipp32f)alpha); width 1162 modules/imgproc/src/accum.cpp dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height), (Ipp32f)alpha); width 64 modules/imgproc/src/blend.cpp int cn = src1->channels(), width = src1->cols * cn; width 74 modules/imgproc/src/blend.cpp for (int x = 0; x < width; ++x) width 157 modules/imgproc/src/canny.cpp size_t globalsize[2] = { size.width, size.height }, width 186 modules/imgproc/src/canny.cpp size_t globalsize[2] = { size.width, size.height }, width 203 modules/imgproc/src/canny.cpp size_t globalsize[2] = { size.width, (size.height + PIX_PER_WI - 1) / PIX_PER_WI }, localsize[2] = { lSizeX, sizey }; width 356 modules/imgproc/src/canny.cpp int j = 0, width = src.cols * cn; width 361 modules/imgproc/src/canny.cpp for ( ; j <= width - 8; j += 8) width 376 modules/imgproc/src/canny.cpp for ( ; j <= width - 8; j += 8) width 385 modules/imgproc/src/canny.cpp for ( ; j < width; ++j) width 390 modules/imgproc/src/canny.cpp int j = 0, width = src.cols * cn; width 394 modules/imgproc/src/canny.cpp for ( ; j <= width - 8; j += 8) width 410 modules/imgproc/src/canny.cpp for ( ; j <= width - 8; j += 8) width 422 modules/imgproc/src/canny.cpp for ( ; j < width; ++j) width 760 modules/imgproc/src/canny.cpp int j = 0, width = src.cols * cn; width 765 modules/imgproc/src/canny.cpp for ( ; j <= width - 8; j += 8) width 780 modules/imgproc/src/canny.cpp for ( ; j <= width - 8; j += 8) width 789 modules/imgproc/src/canny.cpp for ( ; j < width; ++j) width 794 modules/imgproc/src/canny.cpp int j = 0, width = src.cols * cn; width 798 modules/imgproc/src/canny.cpp for ( ; j <= width - 8; j += 8) width 814 modules/imgproc/src/canny.cpp for ( ; j <= width - 8; j += 8) width 826 modules/imgproc/src/canny.cpp for ( ; j < width; ++j) width 75 modules/imgproc/src/clahe.cpp tile_size[0] = tileSize.width; width 101 modules/imgproc/src/clahe.cpp tile_size[0] = tileSize.width; width 165 modules/imgproc/src/clahe.cpp tileROI.x = tx * tileSize_.width; width 167 modules/imgproc/src/clahe.cpp tileROI.width = tileSize_.width; width 181 modules/imgproc/src/clahe.cpp for (; x <= tileROI.width - 4; x += 4) width 189 modules/imgproc/src/clahe.cpp for (; x < tileROI.width; ++x) width 244 modules/imgproc/src/clahe.cpp float inv_tw = 1.0f / tileSize_.width; width 365 modules/imgproc/src/clahe.cpp if (_src.size().width % tilesX_ == 0 && _src.size().height % tilesY_ == 0) width 367 modules/imgproc/src/clahe.cpp tileSize = cv::Size(_src.size().width / tilesX_, _src.size().height / tilesY_); width 375 modules/imgproc/src/clahe.cpp cv::copyMakeBorder(_src, usrcExt_, 0, tilesY_ - (_src.size().height % tilesY_), 0, tilesX_ - (_src.size().width % tilesX_), cv::BORDER_REFLECT_101); width 376 modules/imgproc/src/clahe.cpp tileSize = cv::Size(usrcExt_.size().width / tilesX_, usrcExt_.size().height / tilesY_); width 382 modules/imgproc/src/clahe.cpp cv::copyMakeBorder(_src, srcExt_, 0, tilesY_ - (_src.size().height % tilesY_), 0, tilesX_ - (_src.size().width % tilesX_), cv::BORDER_REFLECT_101); width 383 modules/imgproc/src/clahe.cpp tileSize = cv::Size(srcExt_.size().width / tilesX_, srcExt_.size().height / tilesY_); width 444 modules/imgproc/src/clahe.cpp tilesX_ = tileGridSize.width; width 466 modules/imgproc/src/clahe.cpp return makePtr<CLAHE_Impl>(clipLimit, tileGridSize.width, tileGridSize.height); width 6110 modules/imgproc/src/color.cpp int width, stride; width 6113 modules/imgproc/src/color.cpp : dst(_dst), my1(_y1), muv(_uv), width(_dst->cols), stride(_stride) {} width 6141 modules/imgproc/src/color.cpp for (int i = 0; i < width; i += 2, row1 += 6, row2 += 6) width 6179 modules/imgproc/src/color.cpp int width, stride; width 6182 modules/imgproc/src/color.cpp : dst(_dst), my1(_y1), muv(_uv), width(_dst->cols), stride(_stride) {} width 6210 modules/imgproc/src/color.cpp for (int i = 0; i < width; i += 2, row1 += 8, row2 += 8) width 6252 modules/imgproc/src/color.cpp int width, stride; width 6256 modules/imgproc/src/color.cpp : dst(_dst), my1(_y1), mu(_u), mv(_v), width(_dst->cols), stride(_stride), ustepIdx(_ustepIdx), vstepIdx(_vstepIdx) {} width 6263 modules/imgproc/src/color.cpp int uvsteps[2] = {width/2, stride - width/2}; width 6282 modules/imgproc/src/color.cpp for (int i = 0; i < width / 2; i += 1, row1 += 6, row2 += 6) width 6320 modules/imgproc/src/color.cpp int width, stride; width 6324 modules/imgproc/src/color.cpp : dst(_dst), my1(_y1), mu(_u), mv(_v), width(_dst->cols), stride(_stride), ustepIdx(_ustepIdx), vstepIdx(_vstepIdx) {} width 6331 modules/imgproc/src/color.cpp int uvsteps[2] = {width/2, stride - width/2}; width 6350 modules/imgproc/src/color.cpp for (int i = 0; i < width / 2; i += 1, row1 += 8, row2 += 8) width 6514 modules/imgproc/src/color.cpp int width, stride; width 6517 modules/imgproc/src/color.cpp : dst(_dst), src(_yuv), width(_dst->cols), stride(_stride) {} width 6532 modules/imgproc/src/color.cpp for (int i = 0; i < 2 * width; i += 4, row += 6) width 6560 modules/imgproc/src/color.cpp int width, stride; width 6563 modules/imgproc/src/color.cpp : dst(_dst), src(_yuv), width(_dst->cols), stride(_stride) {} width 6578 modules/imgproc/src/color.cpp for (int i = 0; i < 2 * width; i += 4, row += 8) width 6800 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); width 6808 modules/imgproc/src/color.cpp dstSz = Size(sz.width, sz.height * 2 / 3); width 6809 modules/imgproc/src/color.cpp globalsize[0] = dstSz.width / 2; globalsize[1] = (dstSz.height/2 + pxPerWIy - 1) / pxPerWIy; width 6818 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); width 6826 modules/imgproc/src/color.cpp dstSz = Size(sz.width, sz.height * 2 / 3); width 6827 modules/imgproc/src/color.cpp globalsize[0] = dstSz.width / 2; globalsize[1] = (dstSz.height/2 + pxPerWIy - 1) / pxPerWIy; width 6838 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); width 6840 modules/imgproc/src/color.cpp dstSz = Size(sz.width, sz.height * 2 / 3); width 6858 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 2 == 0 ); width 6860 modules/imgproc/src/color.cpp dstSz = Size(sz.width, sz.height / 2 * 3); width 6869 modules/imgproc/src/color.cpp globalsize[0] = dstSz.width / (2 * pxPerWIx); globalsize[1] = (dstSz.height/3 + pxPerWIy - 1) / pxPerWIy; width 8413 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); width 8415 modules/imgproc/src/color.cpp Size dstSz(sz.width, sz.height * 2 / 3); width 8448 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); width 8450 modules/imgproc/src/color.cpp Size dstSz(sz.width, sz.height * 2 / 3); width 8457 modules/imgproc/src/color.cpp const uchar* v = y + srcstep * (dstSz.height + dstSz.height/4) + (dstSz.width/2) * ((dstSz.height % 4)/2); width 8479 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); width 8481 modules/imgproc/src/color.cpp Size dstSz(sz.width, sz.height * 2 / 3); width 8488 modules/imgproc/src/color.cpp ippiSize(dstSz.width, dstSz.height))) width 8508 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 2 == 0 ); width 8510 modules/imgproc/src/color.cpp Size dstSz(sz.width, sz.height / 2 * 3); width 200 modules/imgproc/src/contours.cpp CvSize size = cvSize( mat->width, mat->height ); width 217 modules/imgproc/src/contours.cpp scanner->img_size.width = size.width - 1; /* exclude rightest column */ width 230 modules/imgproc/src/contours.cpp scanner->frame_info.rect = cvRect( 0, 0, size.width, size.height ); width 291 modules/imgproc/src/contours.cpp memset( img, 0, size.width*esz ); width 292 modules/imgproc/src/contours.cpp memset( img + step * (size.height - 1), 0, size.width*esz ); width 298 modules/imgproc/src/contours.cpp img[k] = img[(size.width - 1)*esz + k] = (schar)0; width 697 modules/imgproc/src/contours.cpp rect.x = rect.width = pt.x; width 763 modules/imgproc/src/contours.cpp else if( pt.x > rect.width ) width 764 modules/imgproc/src/contours.cpp rect.width = pt.x; width 783 modules/imgproc/src/contours.cpp rect.width -= rect.x - 1; width 887 modules/imgproc/src/contours.cpp rect.x = rect.width = pt.x; width 952 modules/imgproc/src/contours.cpp else if( pt.x > rect.width ) width 953 modules/imgproc/src/contours.cpp rect.width = pt.x; width 972 modules/imgproc/src/contours.cpp rect.width -= rect.x - 1; width 1003 modules/imgproc/src/contours.cpp int width = scanner->img_size.width; width 1029 modules/imgproc/src/contours.cpp for( ; x < width; x++ ) width 1033 modules/imgproc/src/contours.cpp for( ; x < width && ((p = img_i[x]) == prev || (p & ~new_mask) == (prev & ~new_mask)); x++ ) width 1038 modules/imgproc/src/contours.cpp for( ; x < width && (p = img[x]) == prev; x++ ) width 1042 modules/imgproc/src/contours.cpp if( x >= width ) width 1089 modules/imgproc/src/contours.cpp if( (unsigned) (lnbd.x - cur->rect.x) < (unsigned) cur->rect.width && width 1374 modules/imgproc/src/contours.cpp for( j = 0; j < img_size.width; ) width 1376 modules/imgproc/src/contours.cpp for( ; j < img_size.width && !ICV_IS_COMPONENT_POINT(src_data[j]); j++ ) width 1378 modules/imgproc/src/contours.cpp if( j == img_size.width ) width 1386 modules/imgproc/src/contours.cpp for( ; j < img_size.width && ICV_IS_COMPONENT_POINT(src_data[j]); j++ ) width 1409 modules/imgproc/src/contours.cpp for( j = 0; j < img_size.width; ) width 1411 modules/imgproc/src/contours.cpp for( ; j < img_size.width && !ICV_IS_COMPONENT_POINT(src_data[j]); j++ ) width 1413 modules/imgproc/src/contours.cpp if( j == img_size.width ) break; width 1420 modules/imgproc/src/contours.cpp for( ; j < img_size.width && ICV_IS_COMPONENT_POINT(src_data[j]); j++ ) width 60 modules/imgproc/src/corner.cpp size.width *= size.height; width 73 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) width 96 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) width 108 modules/imgproc/src/corner.cpp for( ; j < size.width; j++ ) width 129 modules/imgproc/src/corner.cpp size.width *= size.height; width 143 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) width 166 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) width 176 modules/imgproc/src/corner.cpp for( ; j < size.width; j++ ) width 249 modules/imgproc/src/corner.cpp size.width *= size.height; width 258 modules/imgproc/src/corner.cpp eigen2x2(cov, dst, size.width); width 313 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) width 328 modules/imgproc/src/corner.cpp for( ; j <= size.width - 8; j += 8 ) width 354 modules/imgproc/src/corner.cpp for( ; j < size.width; j++ ) width 390 modules/imgproc/src/corner.cpp wholeSize.width > sobel_lsz + (aperture_size >> 1)) width 416 modules/imgproc/src/corner.cpp wholeSize.height, wholeSize.width, scale); width 664 modules/imgproc/src/corner.cpp if( dsz.height != src.rows || dsz.width*CV_MAT_CN(dtype) != src.cols*6 || CV_MAT_DEPTH(dtype) != CV_32F ) width 718 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) width 731 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) width 741 modules/imgproc/src/corner.cpp for( ; j < size.width; j++ ) width 48 modules/imgproc/src/cornersubpix.cpp int win_w = win.width * 2 + 1, win_h = win.height * 2 + 1; width 62 modules/imgproc/src/cornersubpix.cpp CV_Assert( win.width > 0 && win.height > 0 ); width 63 modules/imgproc/src/cornersubpix.cpp CV_Assert( src.cols >= win.width*2 + 5 && src.rows >= win.height*2 + 5 ); width 75 modules/imgproc/src/cornersubpix.cpp float x = (float)(j - win.width)/win.width; width 81 modules/imgproc/src/cornersubpix.cpp if( zeroZone.width >= 0 && zeroZone.height >= 0 && width 82 modules/imgproc/src/cornersubpix.cpp zeroZone.width * 2 + 1 < win_w && zeroZone.height * 2 + 1 < win_h ) width 86 modules/imgproc/src/cornersubpix.cpp for( j = win.width - zeroZone.width; j <= win.width + zeroZone.width; j++ ) width 121 modules/imgproc/src/cornersubpix.cpp double px = j - win.width; width 149 modules/imgproc/src/cornersubpix.cpp if( fabs( cI.x - cT.x ) > win.width || fabs( cI.y - cT.y ) > win.height ) width 91 modules/imgproc/src/demosaicing.cpp int width, int bcoeff, int gcoeff, int rcoeff) const width 99 modules/imgproc/src/demosaicing.cpp const uchar* bayer_end = bayer + width; width 133 modules/imgproc/src/demosaicing.cpp return (int)(bayer - (bayer_end - width)); width 136 modules/imgproc/src/demosaicing.cpp int bayer2RGB(const uchar* bayer, int bayer_step, uchar* dst, int width, int blue) const width 149 modules/imgproc/src/demosaicing.cpp const uchar* bayer_end = bayer + width; width 224 modules/imgproc/src/demosaicing.cpp return (int)(bayer - (bayer_end - width)); width 232 modules/imgproc/src/demosaicing.cpp int bayer2RGB_EA(const uchar* bayer, int bayer_step, uchar* dst, int width, int blue) const width 237 modules/imgproc/src/demosaicing.cpp const uchar* bayer_end = bayer + width; width 332 modules/imgproc/src/demosaicing.cpp return int(bayer - (bayer_end - width)); width 346 modules/imgproc/src/demosaicing.cpp int width, int bcoeff, int gcoeff, int rcoeff) const width 355 modules/imgproc/src/demosaicing.cpp const uchar* bayer_end = bayer + width; width 400 modules/imgproc/src/demosaicing.cpp return (int)(bayer - (bayer_end - width)); width 403 modules/imgproc/src/demosaicing.cpp int bayer2RGB(const uchar* bayer, int bayer_step, uchar* dst, int width, int blue) const width 412 modules/imgproc/src/demosaicing.cpp const uchar* bayer_end = bayer + width; width 444 modules/imgproc/src/demosaicing.cpp return (int)(bayer - (bayer_end - width)); width 447 modules/imgproc/src/demosaicing.cpp int bayer2RGBA(const uchar* bayer, int bayer_step, uchar* dst, int width, int blue) const width 456 modules/imgproc/src/demosaicing.cpp const uchar* bayer_end = bayer + width; width 489 modules/imgproc/src/demosaicing.cpp return (int)(bayer - (bayer_end - width)); width 545 modules/imgproc/src/demosaicing.cpp const T* bayer_end = bayer + size.width; width 547 modules/imgproc/src/demosaicing.cpp if( size.width <= 0 ) width 549 modules/imgproc/src/demosaicing.cpp dst[-1] = dst[size.width] = 0; width 564 modules/imgproc/src/demosaicing.cpp int delta = vecOp.bayer2Gray(bayer, bayer_step, dst, size.width, bcoeff, G2Y, rcoeff); width 592 modules/imgproc/src/demosaicing.cpp dst0[size.width] = dst0[size.width-1]; width 626 modules/imgproc/src/demosaicing.cpp size.width -= 2; width 640 modules/imgproc/src/demosaicing.cpp for( int i = 0; i < size.width; i++ ) width 646 modules/imgproc/src/demosaicing.cpp for( int i = 0; i < size.width; i++ ) width 698 modules/imgproc/src/demosaicing.cpp const T* bayer_end = bayer + size.width; width 701 modules/imgproc/src/demosaicing.cpp if( size.width <= 0 ) width 705 modules/imgproc/src/demosaicing.cpp dst[-4] = dst[-3] = dst[-2] = dst[size.width*dcn-1] = width 706 modules/imgproc/src/demosaicing.cpp dst[size.width*dcn] = dst[size.width*dcn+1] = 0; width 710 modules/imgproc/src/demosaicing.cpp dst[-5] = dst[-4] = dst[-3] = dst[size.width*dcn-1] = width 711 modules/imgproc/src/demosaicing.cpp dst[size.width*dcn] = dst[size.width*dcn+1] = 0; width 712 modules/imgproc/src/demosaicing.cpp dst[-2] = dst[size.width*dcn+2] = alpha; width 734 modules/imgproc/src/demosaicing.cpp vecOp.bayer2RGBA(bayer, bayer_step, dst, size.width, blue) : width 735 modules/imgproc/src/demosaicing.cpp vecOp.bayer2RGB(bayer, bayer_step, dst, size.width, blue); width 849 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn-1] = dst0[size.width*dcn-4]; width 850 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn] = dst0[size.width*dcn-3]; width 851 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn+1] = dst0[size.width*dcn-2]; width 859 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn-1] = dst0[size.width*dcn-5]; width 860 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn] = dst0[size.width*dcn-4]; width 861 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn+1] = dst0[size.width*dcn-3]; width 862 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn+2] = dst0[size.width*dcn-2]; // alpha channel width 887 modules/imgproc/src/demosaicing.cpp size.width -= 2; width 900 modules/imgproc/src/demosaicing.cpp for( int i = 0; i < size.width*dcn; i++ ) width 906 modules/imgproc/src/demosaicing.cpp for( int i = 0; i < size.width*dcn; i++ ) width 925 modules/imgproc/src/demosaicing.cpp if( MIN(size.width, size.height) < 8 ) width 932 modules/imgproc/src/demosaicing.cpp int N = size.width, N2 = N*2, N3 = N*3, N4 = N*4, N5 = N*5, N6 = N*6, N7 = N*7; width 1455 modules/imgproc/src/demosaicing.cpp for( i = 0; i < size.width*3; i++ ) width 1510 modules/imgproc/src/demosaicing.cpp int delta = vecOp.bayer2RGB_EA(S - sstep - 1, sstep, D, size.width, blue); width 1516 modules/imgproc/src/demosaicing.cpp for (; x < size.width; x += 2, S += 2, D += dcn2) width 1527 modules/imgproc/src/demosaicing.cpp for (; x < size.width; x += 2, S += 2, D += dcn2) width 1538 modules/imgproc/src/demosaicing.cpp if (x <= size.width) width 1573 modules/imgproc/src/demosaicing.cpp if (size.width <= 2 || size.height <= 2) width 1579 modules/imgproc/src/demosaicing.cpp size.width -= 2; width 1592 modules/imgproc/src/demosaicing.cpp size.width *= dst.channels(); width 1599 modules/imgproc/src/demosaicing.cpp for (int x = 0; x < size.width; ++x) width 1606 modules/imgproc/src/demosaicing.cpp for (int x = 0; x < size.width; ++x) width 218 modules/imgproc/src/deriv.cpp if (offset.x + src.cols < size.width) width 716 modules/imgproc/src/deriv.cpp size_t gt2[2] = { lt2[0] * (1 + (size.width - 1) / lt2[0]), lt2[1] }; width 752 modules/imgproc/src/deriv.cpp wholeSize.height, wholeSize.width, ocl::KernelArg::WriteOnly(dst), width 60 modules/imgproc/src/distransform.cpp for( int j = 0; j < size.width; j++ ) width 95 modules/imgproc/src/distransform.cpp tmp[-j-1] = tmp[size.width + j] = INIT_DIST0; width 97 modules/imgproc/src/distransform.cpp for( j = 0; j < size.width; j++ ) width 121 modules/imgproc/src/distransform.cpp for( j = size.width - 1; j >= 0; j-- ) width 169 modules/imgproc/src/distransform.cpp tmp[-j-1] = tmp[size.width + j] = INIT_DIST0; width 171 modules/imgproc/src/distransform.cpp for( j = 0; j < size.width; j++ ) width 203 modules/imgproc/src/distransform.cpp for( j = size.width - 1; j >= 0; j-- ) width 263 modules/imgproc/src/distransform.cpp tmp[-j-1] = tmp[size.width + j] = INIT_DIST0; width 265 modules/imgproc/src/distransform.cpp for( j = 0; j < size.width; j++ ) width 339 modules/imgproc/src/distransform.cpp for( j = size.width - 1; j >= 0; j-- ) width 606 modules/imgproc/src/distransform.cpp int width = src.cols, height = src.rows; width 628 modules/imgproc/src/distransform.cpp for( x = 1; x < width; x++ ) width 640 modules/imgproc/src/distransform.cpp for( x = 1; x < width; x++ ) width 649 modules/imgproc/src/distransform.cpp a = dbase[width-1]; width 652 modules/imgproc/src/distransform.cpp for( x = width - 2; x >= 0; x-- ) width 664 modules/imgproc/src/distransform.cpp a = lut[dbase[width-1+dststep]]; width 665 modules/imgproc/src/distransform.cpp dbase[width-1] = (uchar)(MIN(a, dbase[width-1])); width 667 modules/imgproc/src/distransform.cpp for( x = width - 2; x >= 0; x-- ) width 782 modules/imgproc/src/distransform.cpp Mat temp( size.height + border*2, size.width + border*2, CV_32SC1 ); width 84 modules/imgproc/src/drawing.cpp int64 right = img_size.width-1, bottom = img_size.height-1; width 86 modules/imgproc/src/drawing.cpp if( img_size.width <= 0 || img_size.height <= 0 ) width 312 modules/imgproc/src/drawing.cpp size.width = ((size.width - 5) << XY_SHIFT) + 1; width 648 modules/imgproc/src/drawing.cpp Size size = img.size(), sizeScaled(size.width*XY_ONE, size.height*XY_ONE); width 701 modules/imgproc/src/drawing.cpp if( 0 <= x && x < size.width && \ width 744 modules/imgproc/src/drawing.cpp if( 0 <= x && x < size.width && \ width 785 modules/imgproc/src/drawing.cpp if( 0 <= x && x < size.width && \ width 926 modules/imgproc/src/drawing.cpp double size_a = axes.width, size_b = axes.height; width 992 modules/imgproc/src/drawing.cpp axes.width = std::abs(axes.width), axes.height = std::abs(axes.height); width 993 modules/imgproc/src/drawing.cpp int delta = (std::max(axes.width,axes.height)+(XY_ONE>>1))>>XY_SHIFT; width 1108 modules/imgproc/src/drawing.cpp if( npts < 3 || xmax < 0 || ymax < 0 || xmin >= size.width || ymin >= size.height ) width 1172 modules/imgproc/src/drawing.cpp if( xx2 >= 0 && xx1 < size.width ) width 1176 modules/imgproc/src/drawing.cpp if( xx2 >= size.width ) width 1177 modules/imgproc/src/drawing.cpp xx2 = size.width - 1; width 1289 modules/imgproc/src/drawing.cpp if( y_max < 0 || y_min >= size.height || x_max < 0 || x_min >= (size.width<<XY_SHIFT) ) width 1360 modules/imgproc/src/drawing.cpp if( x1 < size.width && x2 >= 0 ) width 1364 modules/imgproc/src/drawing.cpp if( x2 >= size.width ) width 1365 modules/imgproc/src/drawing.cpp x2 = size.width - 1; width 1418 modules/imgproc/src/drawing.cpp int inside = center.x >= radius && center.x < size.width - radius && width 1464 modules/imgproc/src/drawing.cpp else if( x11 < size.width && x12 >= 0 && y21 < size.height && y22 >= 0 ) width 1469 modules/imgproc/src/drawing.cpp x12 = MIN( x12, size.width - 1 ); width 1480 modules/imgproc/src/drawing.cpp if( x12 < size.width ) width 1495 modules/imgproc/src/drawing.cpp if( x12 < size.width ) width 1502 modules/imgproc/src/drawing.cpp if( x21 < size.width && x22 >= 0 ) width 1507 modules/imgproc/src/drawing.cpp x22 = MIN( x22, size.width - 1 ); width 1518 modules/imgproc/src/drawing.cpp if( x22 < size.width ) width 1533 modules/imgproc/src/drawing.cpp if( x22 < size.width ) width 1773 modules/imgproc/src/drawing.cpp CV_Assert( axes.width >= 0 && axes.height >= 0 && width 1784 modules/imgproc/src/drawing.cpp axes.width <<= XY_SHIFT - shift; width 1799 modules/imgproc/src/drawing.cpp CV_Assert( box.size.width >= 0 && box.size.height >= 0 && width 1808 modules/imgproc/src/drawing.cpp Size axes(cvRound(box.size.width*(1 << (XY_SHIFT - 1))), width 2174 modules/imgproc/src/drawing.cpp size.width = cvRound(view_x + thickness); width 181 modules/imgproc/src/featureselect.cpp int w = imgsize.width, h = imgsize.height; width 305 modules/imgproc/src/featureselect.cpp for( int x = 1; x < imgsize.width - 1; x++ ) width 138 modules/imgproc/src/filter.cpp CV_Assert( 0 <= anchor.x && anchor.x < ksize.width && width 142 modules/imgproc/src/filter.cpp int borderLength = std::max(ksize.width - 1, 1); width 167 modules/imgproc/src/filter.cpp CV_Assert( roi.x >= 0 && roi.y >= 0 && roi.width >= 0 && roi.height >= 0 && width 168 modules/imgproc/src/filter.cpp roi.x + roi.width <= wholeSize.width && width 179 modules/imgproc/src/filter.cpp if( maxWidth < roi.width || _maxBufRows != (int)rows.size() ) width 182 modules/imgproc/src/filter.cpp maxWidth = std::max(maxWidth, roi.width); width 184 modules/imgproc/src/filter.cpp srcRow.resize(esz*(maxWidth + ksize.width - 1)); width 187 modules/imgproc/src/filter.cpp constBorderRow.resize(getElemSize(bufType)*(maxWidth + ksize.width - 1 + VEC_ALIGN)); width 190 modules/imgproc/src/filter.cpp N = (maxWidth + ksize.width - 1)*esz; width 205 modules/imgproc/src/filter.cpp (!isSeparable() ? ksize.width - 1 : 0),VEC_ALIGN); width 210 modules/imgproc/src/filter.cpp bufStep = bufElemSize*(int)alignSize(roi.width + (!isSeparable() ? ksize.width - 1 : 0),16); width 213 modules/imgproc/src/filter.cpp dx2 = std::max(ksize.width - anchor.x - 1 + roi.x + roi.width - wholeSize.width, 0); width 225 modules/imgproc/src/filter.cpp memcpy( dst + (roi.width + ksize.width - 1 - dx2)*esz, constVal, dx2*esz ); width 232 modules/imgproc/src/filter.cpp int btab_esz = borderElemSize, wholeWidth = wholeSize.width; width 272 modules/imgproc/src/filter.cpp srcRoi.width >= 0 && srcRoi.height >= 0 && width 273 modules/imgproc/src/filter.cpp srcRoi.x + srcRoi.width <= src.cols && width 299 modules/imgproc/src/filter.cpp CV_Assert( wholeSize.width > 0 && wholeSize.height > 0 ); width 306 modules/imgproc/src/filter.cpp int width = roi.width, kwidth = ksize.width; width 309 modules/imgproc/src/filter.cpp int width1 = roi.width + kwidth - 1; width 362 modules/imgproc/src/filter.cpp (*rowFilter)(row, brow, width, CV_MAT_CN(srcType)); width 385 modules/imgproc/src/filter.cpp (*columnFilter)((const uchar**)brows, dst, dststep, i, roi.width*cn); width 387 modules/imgproc/src/filter.cpp (*filter2D)((const uchar**)brows, dst, dststep, i, roi.width, cn); width 409 modules/imgproc/src/filter.cpp dstOfs.x + srcRoi.width <= dst.cols && width 524 modules/imgproc/src/filter.cpp int operator()(const uchar* _src, uchar* _dst, int width, int cn) const width 532 modules/imgproc/src/filter.cpp width *= cn; width 536 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16 ) width 568 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 616 modules/imgproc/src/filter.cpp int operator()(const uchar* src, uchar* _dst, int width, int cn) const width 629 modules/imgproc/src/filter.cpp width *= cn; width 639 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) width 659 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) width 685 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) width 723 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) width 751 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) width 807 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) width 824 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) width 857 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) width 898 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4, src += 4 ) width 937 modules/imgproc/src/filter.cpp int operator()(const uchar** _src, uchar* dst, int width) const width 952 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16 ) width 990 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 1016 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16 ) width 1043 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 1085 modules/imgproc/src/filter.cpp int operator()(const uchar** _src, uchar* _dst, int width) const width 1104 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1122 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1141 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1166 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1181 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1217 modules/imgproc/src/filter.cpp int operator()(const uchar* _src, uchar* _dst, int width, int cn) const width 1225 modules/imgproc/src/filter.cpp width *= cn; width 1227 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1267 modules/imgproc/src/filter.cpp int operator()(const uchar** _src, uchar* _dst, int width) const width 1283 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16 ) width 1324 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 1347 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16 ) width 1378 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 1423 modules/imgproc/src/filter.cpp int operator()(const uchar* _src, uchar* _dst, int width, int cn) const width 1428 modules/imgproc/src/filter.cpp int ret = ippiOperator(_src, _dst, width, cn); width 1442 modules/imgproc/src/filter.cpp width *= cn; width 1444 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1469 modules/imgproc/src/filter.cpp int ippiOperator(const uchar* _src, uchar* _dst, int width, int cn) const width 1472 modules/imgproc/src/filter.cpp if ((1 != cn && 3 != cn) || width < _ksize*8) width 1479 modules/imgproc/src/filter.cpp IppiSize roisz = { width, 1 }; width 1488 modules/imgproc/src/filter.cpp int step = (int)(width*sizeof(dst[0])*cn); width 1501 modules/imgproc/src/filter.cpp return width - _ksize + 1; width 1516 modules/imgproc/src/filter.cpp int operator()(const uchar* _src, uchar* _dst, int width, int cn) const width 1526 modules/imgproc/src/filter.cpp width *= cn; width 1535 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 1550 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 1567 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 1589 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 1606 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 1637 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 1652 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 1670 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 1711 modules/imgproc/src/filter.cpp int operator()(const uchar** _src, uchar* _dst, int width) const width 1727 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16 ) width 1765 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 1787 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16 ) width 1815 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 1851 modules/imgproc/src/filter.cpp int operator()(const uchar** _src, uchar* _dst, int width) const width 1869 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1888 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1908 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1930 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1946 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 1985 modules/imgproc/src/filter.cpp int operator()(const uchar** src, uchar* dst, int width) const width 1994 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16 ) width 2025 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 2068 modules/imgproc/src/filter.cpp int operator()(const uchar** src, uchar* _dst, int width) const width 2078 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16 ) width 2109 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 2149 modules/imgproc/src/filter.cpp int operator()(const uchar** _src, uchar* _dst, int width) const width 2160 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16 ) width 2187 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 2232 modules/imgproc/src/filter.cpp int operator()(const uchar* src, uchar* _dst, int width, int cn) const width 2245 modules/imgproc/src/filter.cpp width *= cn; width 2257 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 2286 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 2322 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 2359 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 2382 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 2410 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) width 2459 modules/imgproc/src/filter.cpp int operator()(const uchar** _src, uchar* dst, int width) const width 2485 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 2544 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 2611 modules/imgproc/src/filter.cpp int operator()(const uchar** _src, uchar* _dst, int width) const width 2630 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 2651 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 2672 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 2697 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 2727 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 2748 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 2791 modules/imgproc/src/filter.cpp int operator()(const uchar** _src, uchar* _dst, int width) const width 2818 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 2875 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8 ) width 2939 modules/imgproc/src/filter.cpp int operator()(const uchar* _src, uchar* _dst, int width, int cn) const width 2949 modules/imgproc/src/filter.cpp width *= cn; width 2978 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4, src += 4 ) width 3015 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4, src += 4 ) width 3084 modules/imgproc/src/filter.cpp void operator()(const uchar* src, uchar* dst, int width, int cn) width 3092 modules/imgproc/src/filter.cpp i = vecOp(src, dst, width, cn); width 3093 modules/imgproc/src/filter.cpp width *= cn; width 3095 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 3113 modules/imgproc/src/filter.cpp for( ; i < width; i++ ) width 3142 modules/imgproc/src/filter.cpp void operator()(const uchar* src, uchar* dst, int width, int cn) width 3148 modules/imgproc/src/filter.cpp int i = this->vecOp(src, dst, width, cn), j, k; width 3150 modules/imgproc/src/filter.cpp width *= cn; width 3156 modules/imgproc/src/filter.cpp for( ; i <= width - 2; i += 2 ) width 3166 modules/imgproc/src/filter.cpp for( ; i <= width - 2; i += 2, S += 2 ) width 3172 modules/imgproc/src/filter.cpp for( ; i <= width - 2; i += 2, S += 2 ) width 3180 modules/imgproc/src/filter.cpp for( ; i <= width - 2; i += 2, S += 2 ) width 3191 modules/imgproc/src/filter.cpp for( ; i <= width - 2; i += 2, S += 2 ) width 3198 modules/imgproc/src/filter.cpp for( ; i <= width - 2; i += 2, S += 2 ) width 3206 modules/imgproc/src/filter.cpp for( ; i < width; i++, S++ ) width 3219 modules/imgproc/src/filter.cpp for( ; i <= width - 2; i += 2, S += 2 ) width 3227 modules/imgproc/src/filter.cpp for( ; i <= width - 2; i += 2, S += 2 ) width 3237 modules/imgproc/src/filter.cpp for( ; i <= width - 2; i += 2, S += 2 ) width 3245 modules/imgproc/src/filter.cpp for( ; i < width; i++, S++ ) width 3281 modules/imgproc/src/filter.cpp void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) width 3292 modules/imgproc/src/filter.cpp i = vecOp(src, dst, width); width 3294 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 3312 modules/imgproc/src/filter.cpp for( ; i < width; i++ ) width 3344 modules/imgproc/src/filter.cpp void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) width 3359 modules/imgproc/src/filter.cpp i = (this->vecOp)(src, dst, width); width 3361 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 3383 modules/imgproc/src/filter.cpp for( ; i < width; i++ ) width 3397 modules/imgproc/src/filter.cpp i = this->vecOp(src, dst, width); width 3399 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 3420 modules/imgproc/src/filter.cpp for( ; i < width; i++ ) width 3450 modules/imgproc/src/filter.cpp void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) width 3467 modules/imgproc/src/filter.cpp i = (this->vecOp)(src, dst, width); width 3477 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 3490 modules/imgproc/src/filter.cpp for( ; i < width; i ++ ) width 3499 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 3512 modules/imgproc/src/filter.cpp for( ; i < width; i ++ ) width 3521 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 3534 modules/imgproc/src/filter.cpp for( ; i < width; i ++ ) width 3548 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 3561 modules/imgproc/src/filter.cpp for( ; i < width; i ++ ) width 3572 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 3585 modules/imgproc/src/filter.cpp for( ; i < width; i++ ) width 3919 modules/imgproc/src/filter.cpp void operator()(const uchar** src, uchar* dst, int dststep, int count, int width, int cn) width 3928 modules/imgproc/src/filter.cpp width *= cn; width 3936 modules/imgproc/src/filter.cpp i = vecOp((const uchar**)kp, dst, width); width 3938 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4 ) width 3956 modules/imgproc/src/filter.cpp for( ; i < width; i++ ) width 4018 modules/imgproc/src/filter.cpp anchor.x = ksize.width / 2; width 4034 modules/imgproc/src/filter.cpp size_t globalsize[2] = { sz.width, sz.height }; width 4055 modules/imgproc/src/filter.cpp ((ksize.width < 5 && ksize.height < 5) || width 4056 modules/imgproc/src/filter.cpp (ksize.width == 5 && ksize.height == 5 && cn == 1))) width 4061 modules/imgproc/src/filter.cpp int w = isolated ? sz.width : wholeSize.width; width 4063 modules/imgproc/src/filter.cpp if (w < ksize.width || h < ksize.height) width 4067 modules/imgproc/src/filter.cpp int pxLoadNumPixels = cn != 1 || sz.width % 4 ? 1 : 4; width 4074 modules/imgproc/src/filter.cpp if (cn <= 2 && ksize.width <= 4 && ksize.height <= 4) width 4076 modules/imgproc/src/filter.cpp pxPerWorkItemX = sz.width % 8 ? sz.width % 4 ? sz.width % 2 ? 1 : 2 : 4 : 8; width 4079 modules/imgproc/src/filter.cpp else if (cn < 4 || (ksize.width <= 4 && ksize.height <= 4)) width 4081 modules/imgproc/src/filter.cpp pxPerWorkItemX = sz.width % 2 ? 1 : 2; width 4084 modules/imgproc/src/filter.cpp globalsize[0] = sz.width / pxPerWorkItemX; width 4088 modules/imgproc/src/filter.cpp int privDataWidth = ROUNDUP(pxPerWorkItemX + ksize.width - 1, pxLoadNumPixels); width 4103 modules/imgproc/src/filter.cpp cn, anchor.x, anchor.y, ksize.width, ksize.height, width 4126 modules/imgproc/src/filter.cpp while (BLOCK_SIZE > 32 && BLOCK_SIZE >= (size_t)ksize.width * 2 && BLOCK_SIZE > (size_t)sz.width * 2) width 4129 modules/imgproc/src/filter.cpp if ((size_t)ksize.width > BLOCK_SIZE) width 4137 modules/imgproc/src/filter.cpp int w = isolated ? sz.width : wholeSize.width; width 4140 modules/imgproc/src/filter.cpp if ((w < ksize.width) || (h < ksize.height)) width 4149 modules/imgproc/src/filter.cpp ksize.width, ksize.height, kernel_size_y2_aligned, borderMap[borderType], width 4159 modules/imgproc/src/filter.cpp globalsize[0] = DIVUP(sz.width, BLOCK_SIZE - (ksize.width - 1)) * BLOCK_SIZE; width 4179 modules/imgproc/src/filter.cpp int srcEndX = (isolated ? (srcOffsetX + sz.width) : wholeSize.width); width 4207 modules/imgproc/src/filter.cpp size_t globalsize[2] = {DIVUP(bufSize.width, localsize[0]) * localsize[0], DIVUP(bufSize.height, localsize[1]) * localsize[1]}; width 4209 modules/imgproc/src/filter.cpp globalsize[0] = DIVUP((bufSize.width + 3) >> 2, localsize[0]) * localsize[0]; width 4249 modules/imgproc/src/filter.cpp srcOffset.y, src.cols, src.rows, srcWholeSize.width, srcWholeSize.height, width 4254 modules/imgproc/src/filter.cpp srcOffset.y, src.cols, src.rows, srcWholeSize.width, srcWholeSize.height, width 4278 modules/imgproc/src/filter.cpp globalsize[0] = DIVUP(sz.width, localsize[0]) * localsize[0]; width 4325 modules/imgproc/src/filter.cpp size_t gt2[2] = { lt2[0] * (1 + (size.width - 1) / lt2[0]), lt2[1]}; width 4357 modules/imgproc/src/filter.cpp wholeSize.height, wholeSize.width, ocl::KernelArg::WriteOnly(dst), width 4417 modules/imgproc/src/filter.cpp imgSize.width > optimizedSepFilterLocalWidth + anchor.x && width 4433 modules/imgproc/src/filter.cpp Size bufSize(srcSize.width, srcSize.height + kernelY.cols - 1); width 70 modules/imgproc/src/filterengine.hpp virtual void operator()(const uchar* src, uchar* dst, int width, int cn) = 0; width 98 modules/imgproc/src/filterengine.hpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int dstcount, int width) = 0; width 126 modules/imgproc/src/filterengine.hpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int dstcount, int width, int cn) = 0; width 360 modules/imgproc/src/filterengine.hpp anchor.x = ksize.width/2; width 363 modules/imgproc/src/filterengine.hpp CV_Assert( anchor.inside(Rect(0, 0, ksize.width, ksize.height)) ); width 147 modules/imgproc/src/floodfill.cpp while( ++R < roi.width && img[R] == val0 ) width 193 modules/imgproc/src/floodfill.cpp if( (unsigned)i < (unsigned)roi.width && img[i] == val0 ) width 200 modules/imgproc/src/floodfill.cpp while( ++i < roi.width && img[i] == val0 ) width 215 modules/imgproc/src/floodfill.cpp region->rect.width = XMax - XMin + 1; width 447 modules/imgproc/src/floodfill.cpp region->rect.width = XMax - XMin + 1; width 506 modules/imgproc/src/floodfill.cpp if( (unsigned)seedPoint.x >= (unsigned)size.width || width 511 modules/imgproc/src/floodfill.cpp size_t buffer_size = MAX( size.width, size.height ) * 2; width 548 modules/imgproc/src/floodfill.cpp Mat tempMask( size.height + 2, size.width + 2, CV_8UC1 ); width 554 modules/imgproc/src/floodfill.cpp CV_Assert( mask.rows == size.height+2 && mask.cols == size.width+2 ); width 60 modules/imgproc/src/gabor.cpp if( ksize.width > 0 ) width 61 modules/imgproc/src/gabor.cpp xmax = ksize.width/2; width 237 modules/imgproc/src/generalized_hough.cpp const int gridWidth = (imageSize_.width + cellSize - 1) / cellSize; width 396 modules/imgproc/src/generalized_hough.cpp for (int x = 0; x < templSize_.width; ++x) width 427 modules/imgproc/src/generalized_hough.cpp hist_.create(cvCeil(imageSize_.height * idp) + 2, cvCeil(imageSize_.width * idp) + 2, CV_32SC1); width 439 modules/imgproc/src/generalized_hough.cpp for (int x = 0; x < imageSize_.width; ++x) width 685 modules/imgproc/src/generalized_hough.cpp const double maxDist = sqrt((double) templSize_.width * templSize_.width + templSize_.height * templSize_.height) * maxScale_; width 876 modules/imgproc/src/generalized_hough.cpp const int histCols = cvCeil(imageSize_.width * idp); width 57 modules/imgproc/src/geometry.cpp max_rect.width = a += rect1->width; width 58 modules/imgproc/src/geometry.cpp b += rect2->width; width 60 modules/imgproc/src/geometry.cpp if( max_rect.width < b ) width 61 modules/imgproc/src/geometry.cpp max_rect.width = b; width 62 modules/imgproc/src/geometry.cpp max_rect.width -= max_rect.x; width 352 modules/imgproc/src/grabcut.cpp rect.width = std::min(rect.width, imgSize.width-rect.x); width 154 modules/imgproc/src/histogram.cpp deltas[i*2+1] = (int)(images[j].step/esz1 - imsize.width*deltas[i*2]); width 169 modules/imgproc/src/histogram.cpp imsize.width *= imsize.height; width 222 modules/imgproc/src/histogram.cpp imageWidth_(imageSize.width), width 296 modules/imgproc/src/histogram.cpp imageWidth_(imageSize.width), width 372 modules/imgproc/src/histogram.cpp imageWidth_(imsize.width), width 432 modules/imgproc/src/histogram.cpp return ( imageSize.width * imageSize.height >= 320*240 width 460 modules/imgproc/src/histogram.cpp imageWidth_(imsize.width), width 555 modules/imgproc/src/histogram.cpp && imageSize.width * imageSize.height >= 160*120 ); width 581 modules/imgproc/src/histogram.cpp imageWidth_(imsize.width), width 630 modules/imgproc/src/histogram.cpp for(int i = 0; i < histSize_.width*histSize_.height; i++) width 640 modules/imgproc/src/histogram.cpp && imageSize.width * imageSize.height >= 320*240) width 641 modules/imgproc/src/histogram.cpp || (histogram.total() > 116*116 && imageSize.width * imageSize.height >= 1280*720) ); width 666 modules/imgproc/src/histogram.cpp imageWidth_(imsize.width), width 713 modules/imgproc/src/histogram.cpp && imageSize.width * imageSize.width >= 320*240 ); width 786 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0 ) width 793 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0 ) width 821 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) width 829 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) width 866 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) width 877 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) width 895 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 914 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 948 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 1024 modules/imgproc/src/histogram.cpp for( x = 0; x <= imsize.width - 4; x += 4 ) width 1034 modules/imgproc/src/histogram.cpp for( x = 0; x <= imsize.width - 4; x += 4 ) width 1044 modules/imgproc/src/histogram.cpp for( ; x < imsize.width; x++, p0 += d0 ) width 1048 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0 ) width 1077 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) width 1084 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) width 1112 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) width 1119 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) width 1132 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 1152 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 1319 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 1350 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 1402 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 1489 modules/imgproc/src/histogram.cpp bool use16 = size.width % 16 == 0 && _src.offset() % 16 == 0 && _src.step() % 16 == 0; width 1619 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0 ) width 1639 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) width 1665 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) width 1681 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 1716 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 1785 modules/imgproc/src/histogram.cpp for( x = 0; x <= imsize.width - 4; x += 4 ) width 1795 modules/imgproc/src/histogram.cpp for( x = 0; x <= imsize.width - 4; x += 4 ) width 1805 modules/imgproc/src/histogram.cpp for( ; x < imsize.width; x++, p0 += d0 ) width 1818 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1 ) width 1836 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++, p0 += d0, p1 += d1, p2 += d2 ) width 1847 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 1928 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 1960 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 2012 modules/imgproc/src/histogram.cpp for( x = 0; x < imsize.width; x++ ) width 2160 modules/imgproc/src/histogram.cpp size_t globalsize[2] = { size.width, size.height }; width 2207 modules/imgproc/src/histogram.cpp size_t globalsize[2] = { size.width, size.height }; width 2224 modules/imgproc/src/histogram.cpp bool _1D = histSize.height == 1 || histSize.width == 1; width 3315 modules/imgproc/src/histogram.cpp if( patch_size.width <= 0 || patch_size.height <= 0 ) width 3333 modules/imgproc/src/histogram.cpp if( dstmat->cols != img[0]->width - patch_size.width + 1 || width 3343 modules/imgproc/src/histogram.cpp roi.width = patch_size.width; width 3348 modules/imgproc/src/histogram.cpp for( x = 0; x < size.width; x++ ) width 3426 modules/imgproc/src/histogram.cpp for( i = 0; i < iterator.size.width; i++ ) width 3458 modules/imgproc/src/histogram.cpp int width = src_.cols; width 3463 modules/imgproc/src/histogram.cpp width *= height; width 3470 modules/imgproc/src/histogram.cpp for (; x <= width - 4; x += 4) width 3478 modules/imgproc/src/histogram.cpp for (; x < width; ++x) width 3515 modules/imgproc/src/histogram.cpp int width = src_.cols; width 3521 modules/imgproc/src/histogram.cpp width *= height; width 3531 modules/imgproc/src/histogram.cpp for (; x <= width - 4; x += 4) width 3548 modules/imgproc/src/histogram.cpp for (; x < width; ++x) width 3581 modules/imgproc/src/histogram.cpp bool use16 = size.width % 16 == 0 && _src.offset() % 16 == 0 && _src.step() % 16 == 0; width 90 modules/imgproc/src/hough.cpp int width = img.cols; width 97 modules/imgproc/src/hough.cpp int numrho = cvRound(((width + height) * 2 + 1) / rho); width 102 modules/imgproc/src/hough.cpp IppiSize srcSize = { width, height }; width 104 modules/imgproc/src/hough.cpp IppPointPolar dstRoi[2] = {{(Ipp32f) -(width + height), (Ipp32f) min_theta},{(Ipp32f) (width + height), (Ipp32f) max_theta}}; width 143 modules/imgproc/src/hough.cpp for( j = 0; j < width; j++ ) width 426 modules/imgproc/src/hough.cpp int width = image.cols; width 430 modules/imgproc/src/hough.cpp int numrho = cvRound(((width + height) * 2 + 1) / rho); width 435 modules/imgproc/src/hough.cpp IppiSize srcSize = { width, height }; width 462 modules/imgproc/src/hough.cpp Mat mask( height, width, CV_8UC1 ); width 479 modules/imgproc/src/hough.cpp for( pt.x = 0; pt.x < width; pt.x++ ) width 511 modules/imgproc/src/hough.cpp if( !mdata0[i*width + j] ) width 577 modules/imgproc/src/hough.cpp if( j1 < 0 || j1 >= width || i1 < 0 || i1 >= height ) width 580 modules/imgproc/src/hough.cpp mdata = mdata0 + i1*width + j1; width 625 modules/imgproc/src/hough.cpp mdata = mdata0 + i1*width + j1; width 350 modules/imgproc/src/imgwarp.cpp for( x = 0; x <= dsize.width - 2; x += 2 ) width 358 modules/imgproc/src/imgwarp.cpp for( ; x < dsize.width; x++ ) width 362 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 366 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++, D += 3 ) width 373 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 377 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++, D += 6 ) width 385 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++, D += 8 ) width 393 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++, D += 12 ) width 401 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++, D += pix_size ) width 426 modules/imgproc/src/imgwarp.cpp AutoBuffer<int> _x_ofs(dsize.width); width 433 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 436 modules/imgproc/src/imgwarp.cpp x_ofs[x] = std::min(sx, ssize.width-1)*pix_size; width 460 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* dst, const uchar* _beta, int width ) const width 473 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 16; x += 16 ) width 498 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 16; x += 16 ) width 523 modules/imgproc/src/imgwarp.cpp for( ; x < width - 4; x += 4 ) width 543 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 559 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 16; x += 16 ) width 589 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 16; x += 16 ) width 619 modules/imgproc/src/imgwarp.cpp for( ; x < width - 4; x += 4 ) width 641 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 655 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 670 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 692 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* dst, const uchar* _beta, int width ) const width 706 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 743 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 787 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 802 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 848 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 861 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 902 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 915 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 953 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 966 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 999 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 1013 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 4; x += 4 ) width 1036 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* dst, const uchar* _beta, int width ) const width 1043 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 16; x += 16) width 1076 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 1086 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 1104 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 1114 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 1132 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 1142 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 1159 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 1169 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 1190 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 1200 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 1221 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 1231 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 1249 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 1262 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 1294 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 1307 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 1339 modules/imgproc/src/imgwarp.cpp int operator()(const uchar** _src, uchar* _dst, const uchar* _beta, int width ) const width 1352 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 4; x += 4 ) width 1455 modules/imgproc/src/imgwarp.cpp void operator()(const WT** src, T* dst, const AT* beta, int width ) const width 1462 modules/imgproc/src/imgwarp.cpp int x = vecOp((const uchar**)src, (uchar*)dst, (const uchar*)beta, width); width 1464 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 4; x += 4 ) width 1475 modules/imgproc/src/imgwarp.cpp for( ; x < width; x++ ) width 1487 modules/imgproc/src/imgwarp.cpp void operator()(const buf_type** src, value_type* dst, const alpha_type* beta, int width ) const width 1493 modules/imgproc/src/imgwarp.cpp int x = vecOp((const uchar**)src, (uchar*)dst, (const uchar*)beta, width); width 1495 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 4; x += 4 ) width 1503 modules/imgproc/src/imgwarp.cpp for( ; x < width; x++ ) width 1568 modules/imgproc/src/imgwarp.cpp void operator()(const WT** src, T* dst, const AT* beta, int width ) const width 1575 modules/imgproc/src/imgwarp.cpp int x = vecOp((const uchar**)src, (uchar*)dst, (const uchar*)beta, width); width 1576 modules/imgproc/src/imgwarp.cpp for( ; x < width; x++ ) width 1643 modules/imgproc/src/imgwarp.cpp void operator()(const WT** src, T* dst, const AT* beta, int width ) const width 1647 modules/imgproc/src/imgwarp.cpp int k, x = vecOp((const uchar**)src, (uchar*)dst, (const uchar*)beta, width); width 1649 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 4; x += 4 ) width 1666 modules/imgproc/src/imgwarp.cpp for( ; x < width; x++ ) width 1712 modules/imgproc/src/imgwarp.cpp int bufstep = (int)alignSize(dsize.width, 16); width 1750 modules/imgproc/src/imgwarp.cpp ssize.width, dsize.width, cn, xmin, xmax ); width 1751 modules/imgproc/src/imgwarp.cpp vresize( (const WT**)rows, (T*)(dst.data + dst.step*dy), beta, dsize.width ); width 1780 modules/imgproc/src/imgwarp.cpp ssize.width *= cn; width 1781 modules/imgproc/src/imgwarp.cpp dsize.width *= cn; width 2425 modules/imgproc/src/imgwarp.cpp int dwidth1 = (ssize.width/scale_x)*cn; width 2426 modules/imgproc/src/imgwarp.cpp dsize.width *= cn; width 2427 modules/imgproc/src/imgwarp.cpp ssize.width *= cn; width 2440 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++ ) width 2461 modules/imgproc/src/imgwarp.cpp for( ; dx < dsize.width; dx++ ) width 2465 modules/imgproc/src/imgwarp.cpp if( sx0 >= ssize.width ) width 2475 modules/imgproc/src/imgwarp.cpp if( sx0 + sx >= ssize.width ) width 2533 modules/imgproc/src/imgwarp.cpp dsize.width *= cn; width 2534 modules/imgproc/src/imgwarp.cpp AutoBuffer<WT> _buffer(dsize.width*2); width 2537 modules/imgproc/src/imgwarp.cpp WT *buf = _buffer, *sum = buf + dsize.width; width 2540 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++ ) width 2551 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++ ) width 2614 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++ ) width 2623 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++ ) width 2630 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++ ) width 2761 modules/imgproc/src/imgwarp.cpp srcSize.width = src.cols; width 2763 modules/imgproc/src/imgwarp.cpp dstSize.width = dst.cols; width 2947 modules/imgproc/src/imgwarp.cpp AutoBuffer<uchar> _buffer((dsize.width + dsize.height)*(sizeof(int) + sizeof(short)*2)); width 2948 modules/imgproc/src/imgwarp.cpp int* xofs = (int*)(uchar*)_buffer, * yofs = xofs + dsize.width; width 2949 modules/imgproc/src/imgwarp.cpp short* ialpha = (short*)(yofs + dsize.height), * ibeta = ialpha + dsize.width*2; width 2953 modules/imgproc/src/imgwarp.cpp for (int dx = 0; dx < dsize.width; dx++) width 2962 modules/imgproc/src/imgwarp.cpp if (sx >= ssize.width-1) width 2963 modules/imgproc/src/imgwarp.cpp fxx = 0, sx = ssize.width-1; width 3061 modules/imgproc/src/imgwarp.cpp int xytab_size = (ssize.width + ssize.height) << 1; width 3062 modules/imgproc/src/imgwarp.cpp int tabofs_size = dsize.height + dsize.width + 2; width 3066 modules/imgproc/src/imgwarp.cpp int * xmap_tab = _xymap_tab, * ymap_tab = _xymap_tab + (ssize.width << 1); width 3067 modules/imgproc/src/imgwarp.cpp float * xalpha_tab = _xyalpha_tab, * yalpha_tab = _xyalpha_tab + (ssize.width << 1); width 3068 modules/imgproc/src/imgwarp.cpp int * xofs_tab = _xyofs_tab, * yofs_tab = _xyofs_tab + dsize.width + 1; width 3070 modules/imgproc/src/imgwarp.cpp ocl_computeResizeAreaTabs(ssize.width, dsize.width, inv_fx, xmap_tab, xalpha_tab, xofs_tab); width 3212 modules/imgproc/src/imgwarp.cpp dsize = Size(saturate_cast<int>(ssize.width*inv_scale_x), width 3218 modules/imgproc/src/imgwarp.cpp inv_scale_x = (double)dsize.width/ssize.width; width 3249 modules/imgproc/src/imgwarp.cpp double ex = fabs((double)dsize.width / src.cols - inv_scale_x) / inv_scale_x; width 3302 modules/imgproc/src/imgwarp.cpp AutoBuffer<int> _ofs(area + dsize.width*cn); width 3312 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++ ) width 3327 modules/imgproc/src/imgwarp.cpp AutoBuffer<DecimateAlpha> _xytab((ssize.width + ssize.height)*2); width 3328 modules/imgproc/src/imgwarp.cpp DecimateAlpha* xtab = _xytab, *ytab = xtab + ssize.width*2; width 3330 modules/imgproc/src/imgwarp.cpp int xtab_size = computeResizeAreaTab(ssize.width, dsize.width, cn, scale_x, xtab); width 3350 modules/imgproc/src/imgwarp.cpp int xmin = 0, xmax = dsize.width, width = dsize.width*cn; width 3368 modules/imgproc/src/imgwarp.cpp AutoBuffer<uchar> _buffer((width + dsize.height)*(sizeof(int) + sizeof(float)*ksize)); width 3370 modules/imgproc/src/imgwarp.cpp int* yofs = xofs + width; width 3373 modules/imgproc/src/imgwarp.cpp float* beta = alpha + width*ksize; width 3374 modules/imgproc/src/imgwarp.cpp short* ibeta = ialpha + width*ksize; width 3377 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++ ) width 3399 modules/imgproc/src/imgwarp.cpp if( sx + ksize2 >= ssize.width ) width 3402 modules/imgproc/src/imgwarp.cpp if( sx >= ssize.width-1 && (interpolation != INTER_CUBIC && interpolation != INTER_LANCZOS4)) width 3403 modules/imgproc/src/imgwarp.cpp fx = 0, sx = ssize.width-1; width 3498 modules/imgproc/src/imgwarp.cpp unsigned width1 = ssize.width, height1 = ssize.height; width 3502 modules/imgproc/src/imgwarp.cpp dsize.width *= dsize.height; width 3513 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++ ) width 3522 modules/imgproc/src/imgwarp.cpp sx = clip(sx, 0, ssize.width); width 3530 modules/imgproc/src/imgwarp.cpp sx = borderInterpolate(sx, ssize.width, borderType); width 3539 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++, D += cn ) width 3566 modules/imgproc/src/imgwarp.cpp sx = clip(sx, 0, ssize.width); width 3574 modules/imgproc/src/imgwarp.cpp sx = borderInterpolate(sx, ssize.width, borderType); width 3598 modules/imgproc/src/imgwarp.cpp const ushort* FXY, const void* _wtab, int width ) const width 3616 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 8; x += 8 ) width 3674 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 5; x += 4, D += 12 ) width 3733 modules/imgproc/src/imgwarp.cpp for( ; x <= width - 4; x += 4, D += 16 ) width 3820 modules/imgproc/src/imgwarp.cpp unsigned width1 = std::max(ssize.width-1, 0), height1 = std::max(ssize.height-1, 0); width 3824 modules/imgproc/src/imgwarp.cpp width1 = std::max(ssize.width-2, 0); width 3835 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx <= dsize.width; dx++ ) width 3837 modules/imgproc/src/imgwarp.cpp bool curInlier = dx < dsize.width ? width 3925 modules/imgproc/src/imgwarp.cpp (sx >= ssize.width || sx+1 < 0 || width 3937 modules/imgproc/src/imgwarp.cpp sx0 = clip(sx, 0, ssize.width); width 3938 modules/imgproc/src/imgwarp.cpp sx1 = clip(sx+1, 0, ssize.width); width 3948 modules/imgproc/src/imgwarp.cpp sx0 = borderInterpolate(sx, ssize.width, borderType); width 3949 modules/imgproc/src/imgwarp.cpp sx1 = borderInterpolate(sx+1, ssize.width, borderType); width 3965 modules/imgproc/src/imgwarp.cpp (sx >= ssize.width || sx+1 < 0 || width 3978 modules/imgproc/src/imgwarp.cpp sx0 = clip(sx, 0, ssize.width); width 3979 modules/imgproc/src/imgwarp.cpp sx1 = clip(sx+1, 0, ssize.width); width 3988 modules/imgproc/src/imgwarp.cpp ((unsigned)sx >= (unsigned)(ssize.width-1) || width 3993 modules/imgproc/src/imgwarp.cpp sx0 = borderInterpolate(sx, ssize.width, borderType); width 3994 modules/imgproc/src/imgwarp.cpp sx1 = borderInterpolate(sx+1, ssize.width, borderType); width 4032 modules/imgproc/src/imgwarp.cpp unsigned width1 = std::max(ssize.width-3, 0), height1 = std::max(ssize.height-3, 0); width 4036 modules/imgproc/src/imgwarp.cpp dsize.width *= dsize.height; width 4046 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++, D += cn ) width 4071 modules/imgproc/src/imgwarp.cpp ((unsigned)(sx+1) >= (unsigned)ssize.width || width 4076 modules/imgproc/src/imgwarp.cpp (sx >= ssize.width || sx+4 <= 0 || width 4086 modules/imgproc/src/imgwarp.cpp x[i] = borderInterpolate(sx + i, ssize.width, borderType1)*cn; width 4137 modules/imgproc/src/imgwarp.cpp unsigned width1 = std::max(ssize.width-7, 0), height1 = std::max(ssize.height-7, 0); width 4141 modules/imgproc/src/imgwarp.cpp dsize.width *= dsize.height; width 4151 modules/imgproc/src/imgwarp.cpp for( dx = 0; dx < dsize.width; dx++, D += cn ) width 4174 modules/imgproc/src/imgwarp.cpp ((unsigned)(sx+3) >= (unsigned)ssize.width || width 4179 modules/imgproc/src/imgwarp.cpp (sx >= ssize.width || sx+8 <= 0 || width 4189 modules/imgproc/src/imgwarp.cpp x[i] = borderInterpolate(sx + i, ssize.width, borderType1)*cn; width 4827 modules/imgproc/src/imgwarp.cpp size.width *= size.height; width 4858 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 8; x += 8 ) width 4871 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 16; x += 16 ) width 4892 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) width 4904 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 8; x += 8 ) width 4931 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 16; x += 16 ) width 4972 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) width 4987 modules/imgproc/src/imgwarp.cpp for( ; x <= (size.width << 1) - 8; x += 8 ) width 4991 modules/imgproc/src/imgwarp.cpp for( ; x <= (size.width << 1) - 8; x += 8 ) width 4997 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) width 5009 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 8; x += 8 ) width 5038 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 4; x += 4 ) width 5056 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) width 5073 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 8; x += 8) width 5105 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 16; x += 16) width 5139 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) width 5153 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 8; x += 8) width 5186 modules/imgproc/src/imgwarp.cpp for ( ; x <= size.width - 8; x += 8) width 5201 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) width 5704 modules/imgproc/src/imgwarp.cpp int x, y, x1, y1, width = dst.cols, height = dst.rows; width 5707 modules/imgproc/src/imgwarp.cpp int bw0 = std::min(BLOCK_SZ*BLOCK_SZ/bh0, width); width 5726 modules/imgproc/src/imgwarp.cpp for( x = 0; x < width; x += bw0 ) width 5728 modules/imgproc/src/imgwarp.cpp int bw = std::min( bw0, width - x); width 6482 modules/imgproc/src/imgwarp.cpp mapx.reset(cvCreateMat( dsize.height, dsize.width, CV_32F )); width 6483 modules/imgproc/src/imgwarp.cpp mapy.reset(cvCreateMat( dsize.height, dsize.width, CV_32F )); width 6488 modules/imgproc/src/imgwarp.cpp cv::AutoBuffer<double> _exp_tab(dsize.width); width 6491 modules/imgproc/src/imgwarp.cpp for( rho = 0; rho < dst->width; rho++ ) width 6501 modules/imgproc/src/imgwarp.cpp for( rho = 0; rho < dsize.width; rho++ ) width 6517 modules/imgproc/src/imgwarp.cpp cv::AutoBuffer<float> _buf(4*dsize.width); width 6520 modules/imgproc/src/imgwarp.cpp bufx = cvMat( 1, dsize.width, CV_32F, buf ); width 6521 modules/imgproc/src/imgwarp.cpp bufy = cvMat( 1, dsize.width, CV_32F, buf + dsize.width ); width 6522 modules/imgproc/src/imgwarp.cpp bufp = cvMat( 1, dsize.width, CV_32F, buf + dsize.width*2 ); width 6523 modules/imgproc/src/imgwarp.cpp bufa = cvMat( 1, dsize.width, CV_32F, buf + dsize.width*3 ); width 6525 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 6533 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 6539 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 6544 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 6553 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 6603 modules/imgproc/src/imgwarp.cpp ssize.width = src->cols; width 6605 modules/imgproc/src/imgwarp.cpp dsize.width = dst->cols; width 6608 modules/imgproc/src/imgwarp.cpp mapx.reset(cvCreateMat( dsize.height, dsize.width, CV_32F )); width 6609 modules/imgproc/src/imgwarp.cpp mapy.reset(cvCreateMat( dsize.height, dsize.width, CV_32F )); width 6622 modules/imgproc/src/imgwarp.cpp for( rho = 0; rho < dsize.width; rho++ ) width 6624 modules/imgproc/src/imgwarp.cpp double r = maxRadius*(rho+1)/dsize.width; width 6638 modules/imgproc/src/imgwarp.cpp const double pscale = ssize.width/maxRadius; width 6640 modules/imgproc/src/imgwarp.cpp cv::AutoBuffer<float> _buf(4*dsize.width); width 6643 modules/imgproc/src/imgwarp.cpp bufx = cvMat( 1, dsize.width, CV_32F, buf ); width 6644 modules/imgproc/src/imgwarp.cpp bufy = cvMat( 1, dsize.width, CV_32F, buf + dsize.width ); width 6645 modules/imgproc/src/imgwarp.cpp bufp = cvMat( 1, dsize.width, CV_32F, buf + dsize.width*2 ); width 6646 modules/imgproc/src/imgwarp.cpp bufa = cvMat( 1, dsize.width, CV_32F, buf + dsize.width*3 ); width 6648 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 6656 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 6661 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 6664 modules/imgproc/src/imgwarp.cpp for( x = 0; x < dsize.width; x++ ) width 207 modules/imgproc/src/lsd.cpp OutputArray width = noArray(), OutputArray prec = noArray(), width 276 modules/imgproc/src/lsd.cpp double width; // rectangle width width 517 modules/imgproc/src/lsd.cpp rec.width /= SCALE; width 522 modules/imgproc/src/lsd.cpp if(w_needed) widths.push_back(rec.width); width 733 modules/imgproc/src/lsd.cpp rec.width = w_max - w_min; width 743 modules/imgproc/src/lsd.cpp if(rec.width < 1.0) rec.width = 1.0; width 787 modules/imgproc/src/lsd.cpp double density = double(reg_size) / (dist(rec.x1, rec.y1, rec.x2, rec.y2) * rec.width); width 801 modules/imgproc/src/lsd.cpp if (dist(xc, yc, reg[i].x, reg[i].y) < rec.width) width 820 modules/imgproc/src/lsd.cpp density = double(reg_size) / (dist(rec.x1, rec.y1, rec.x2, rec.y2) * rec.width); width 865 modules/imgproc/src/lsd.cpp (dist(rec.x1, rec.y1, rec.x2, rec.y2) * rec.width); width 900 modules/imgproc/src/lsd.cpp if((r.width - delta) >= 0.5) width 902 modules/imgproc/src/lsd.cpp r.width -= delta; width 917 modules/imgproc/src/lsd.cpp if((r.width - delta) >= 0.5) width 923 modules/imgproc/src/lsd.cpp r.width -= delta; width 938 modules/imgproc/src/lsd.cpp if((r.width - delta) >= 0.5) width 944 modules/imgproc/src/lsd.cpp r.width -= delta; width 959 modules/imgproc/src/lsd.cpp if((r.width - delta) >= 0.5) width 978 modules/imgproc/src/lsd.cpp double half_width = rec.width / 2.0; width 409 modules/imgproc/src/moments.cpp x = vop(ptr, size.width, x0, x1, x2, x3); width 411 modules/imgproc/src/moments.cpp for( ; x < size.width; x++ ) width 497 modules/imgproc/src/moments.cpp int xtiles = (sz.width + TILE_SIZE-1)/TILE_SIZE; width 565 modules/imgproc/src/moments.cpp if( size.width <= 0 || size.height <= 0 ) width 666 modules/imgproc/src/moments.cpp for( int x = 0; x < size.width; x += TILE_SIZE ) width 668 modules/imgproc/src/moments.cpp tileSize.width = std::min(TILE_SIZE, size.width - x); width 669 modules/imgproc/src/moments.cpp Mat src(src0, cv::Rect(x, y, tileSize.width, tileSize.height)); width 102 modules/imgproc/src/morph.cpp int operator()(const uchar* src, uchar* dst, int width, int cn) const width 109 modules/imgproc/src/morph.cpp width = (width & -4)*cn; width 112 modules/imgproc/src/morph.cpp for( i = 0; i <= width - 16; i += 16 ) width 123 modules/imgproc/src/morph.cpp for( ; i < width; i += 4 ) width 144 modules/imgproc/src/morph.cpp int operator()(const uchar* src, uchar* dst, int width, int cn) const width 150 modules/imgproc/src/morph.cpp width = (width & -4)*cn; width 153 modules/imgproc/src/morph.cpp for( i = 0; i < width; i += 4 ) width 176 modules/imgproc/src/morph.cpp int operator()(const uchar** src, uchar* dst, int dststep, int count, int width) const width 182 modules/imgproc/src/morph.cpp width *= ESZ; width 190 modules/imgproc/src/morph.cpp for( i = 0; i <= width - 32; i += 32 ) width 219 modules/imgproc/src/morph.cpp for( ; i <= width - 8; i += 8 ) width 238 modules/imgproc/src/morph.cpp for( i = 0; i <= width - 32; i += 32 ) width 257 modules/imgproc/src/morph.cpp for( ; i <= width - 8; i += 8 ) width 280 modules/imgproc/src/morph.cpp int operator()(const uchar** _src, uchar* _dst, int dststep, int count, int width) const width 297 modules/imgproc/src/morph.cpp for( i = 0; i <= width - 16; i += 16 ) width 340 modules/imgproc/src/morph.cpp for( ; i <= width - 4; i += 4 ) width 359 modules/imgproc/src/morph.cpp for( i = 0; i <= width - 16; i += 16 ) width 386 modules/imgproc/src/morph.cpp for( i = 0; i <= width - 4; i += 4 ) width 409 modules/imgproc/src/morph.cpp int operator()(uchar** src, int nz, uchar* dst, int width) const width 415 modules/imgproc/src/morph.cpp width *= ESZ; width 418 modules/imgproc/src/morph.cpp for( i = 0; i <= width - 32; i += 32 ) width 437 modules/imgproc/src/morph.cpp for( ; i <= width - 8; i += 8 ) width 456 modules/imgproc/src/morph.cpp int operator()(uchar** _src, int nz, uchar* _dst, int width) const width 466 modules/imgproc/src/morph.cpp for( i = 0; i <= width - 16; i += 16 ) width 493 modules/imgproc/src/morph.cpp for( ; i <= width - 4; i += 4 ) width 505 modules/imgproc/src/morph.cpp for( ; i < width; i++ ) width 644 modules/imgproc/src/morph.cpp void operator()(const uchar* src, uchar* dst, int width, int cn) width 653 modules/imgproc/src/morph.cpp for( i = 0; i < width*cn; i++ ) width 658 modules/imgproc/src/morph.cpp int i0 = vecOp(src, dst, width, cn); width 659 modules/imgproc/src/morph.cpp width *= cn; width 663 modules/imgproc/src/morph.cpp for( i = i0; i <= width - cn*2; i += cn*2 ) width 673 modules/imgproc/src/morph.cpp for( ; i < width; i += cn ) width 698 modules/imgproc/src/morph.cpp void operator()(const uchar** _src, uchar* dst, int dststep, int count, int width) width 705 modules/imgproc/src/morph.cpp int i0 = vecOp(_src, dst, dststep, count, width); width 712 modules/imgproc/src/morph.cpp for( ; i <= width - 4; i += 4 ) width 737 modules/imgproc/src/morph.cpp for( ; i < width; i++ ) width 753 modules/imgproc/src/morph.cpp for( ; i <= width - 4; i += 4 ) width 769 modules/imgproc/src/morph.cpp for( ; i < width; i++ ) width 799 modules/imgproc/src/morph.cpp void operator()(const uchar** src, uchar* dst, int dststep, int count, int width, int cn) width 806 modules/imgproc/src/morph.cpp width *= cn; width 814 modules/imgproc/src/morph.cpp i = vecOp(&ptrs[0], nz, dst, width); width 816 modules/imgproc/src/morph.cpp for( ; i <= width - 4; i += 4 ) width 832 modules/imgproc/src/morph.cpp for( ; i < width; i++ ) width 1044 modules/imgproc/src/morph.cpp c = ksize.width/2; width 1056 modules/imgproc/src/morph.cpp j2 = ksize.width; width 1066 modules/imgproc/src/morph.cpp j2 = std::min( c + dx + 1, ksize.width ); width 1074 modules/imgproc/src/morph.cpp for( ; j < ksize.width; j++ ) width 1153 modules/imgproc/src/morph.cpp IppiSize kernelSize = {ksize.width, ksize.height}; width 1164 modules/imgproc/src/morph.cpp if (0 > ippiMorphologyBorderGetSize_##flavor(roiSize.width, kernelSize, &specSize, &bufferSize))\ width 1168 modules/imgproc/src/morph.cpp if (0 > ippiMorphologyBorderInit_##flavor(roiSize.width, kernel.ptr(), kernelSize, pSpec, pBuffer))\ width 1195 modules/imgproc/src/morph.cpp if (0 > ippiMorphologyGetSize_##flavor( roiSize.width, kernel.ptr() kernelSize, &specSize))\ width 1199 modules/imgproc/src/morph.cpp if (ippiMorphologyInit_##flavor(roiSize.width, kernel.ptr(), kernelSize, point, pState) >= 0)\ width 1322 modules/imgproc/src/morph.cpp ksize = Size(ksize.width + (iterations-1)*(ksize.width-1), width 1358 modules/imgproc/src/morph.cpp anchor.x = ksize.width / 2; width 1375 modules/imgproc/src/morph.cpp size_t globalsize[2] = { size.width, size.height }; width 1385 modules/imgproc/src/morph.cpp int w = isolated ? size.width : wholeSize.width; width 1386 modules/imgproc/src/morph.cpp if (w < ksize.width || h < ksize.height) width 1390 modules/imgproc/src/morph.cpp int pxLoadNumPixels = cn != 1 || size.width % 4 ? 1 : 4; width 1396 modules/imgproc/src/morph.cpp if (cn <= 2 && ksize.width <= 4 && ksize.height <= 4) width 1398 modules/imgproc/src/morph.cpp pxPerWorkItemX = size.width % 8 ? size.width % 4 ? size.width % 2 ? 1 : 2 : 4 : 8; width 1401 modules/imgproc/src/morph.cpp else if (cn < 4 || (ksize.width <= 4 && ksize.height <= 4)) width 1403 modules/imgproc/src/morph.cpp pxPerWorkItemX = size.width % 2 ? 1 : 2; width 1406 modules/imgproc/src/morph.cpp globalsize[0] = size.width / pxPerWorkItemX; width 1410 modules/imgproc/src/morph.cpp int privDataWidth = ROUNDUP(pxPerWorkItemX + ksize.width - 1, pxLoadNumPixels); width 1438 modules/imgproc/src/morph.cpp cn, anchor.x, anchor.y, ksize.width, ksize.height, width 1467 modules/imgproc/src/morph.cpp src.adjustROI(ofs.y, wholeSize.height - rows - ofs.y, ofs.x, wholeSize.width - cols - ofs.x); width 1470 modules/imgproc/src/morph.cpp src.adjustROI(-ofs.y, -wholeSize.height + rows + ofs.y, -ofs.x, -wholeSize.width + cols + ofs.x); width 1471 modules/imgproc/src/morph.cpp source.adjustROI(-ofs.y, -wholeSize.height + rows + ofs.y, -ofs.x, -wholeSize.width + cols + ofs.x); width 1481 modules/imgproc/src/morph.cpp int srcEndX = isolated ? srcOffsetX + size.width : wholeSize.width; width 1525 modules/imgproc/src/morph.cpp Size(ksize.width + (iterations-1)*(ksize.width-1), width 1533 modules/imgproc/src/morph.cpp ((ksize.width < 5 && ksize.height < 5 && esz <= 4) || width 1534 modules/imgproc/src/morph.cpp (ksize.width == 5 && ksize.height == 5 && cn == 1)) && width 1556 modules/imgproc/src/morph.cpp size_t globalThreads[2] = { ssize.width, ssize.height }; width 1563 modules/imgproc/src/morph.cpp if (localThreads[0]*localThreads[1] * 2 < (localThreads[0] + ksize.width - 1) * (localThreads[1] + ksize.height - 1)) width 1617 modules/imgproc/src/morph.cpp int wholecols = wholesize.width, wholerows = wholesize.height; width 1640 modules/imgproc/src/morph.cpp src.adjustROI(ofs.y, wholesize.height - rows - ofs.y, ofs.x, wholesize.width - cols - ofs.x); width 1646 modules/imgproc/src/morph.cpp src.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); width 1647 modules/imgproc/src/morph.cpp source.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); width 1653 modules/imgproc/src/morph.cpp dst.adjustROI(ofs.y, wholesize.height - rows - ofs.y, ofs.x, wholesize.width - cols - ofs.x); width 1655 modules/imgproc/src/morph.cpp dst.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); width 1656 modules/imgproc/src/morph.cpp source.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); width 1662 modules/imgproc/src/morph.cpp ofs.x, ofs.y, source.cols, source.rows, wholesize.width, wholesize.height, width 1666 modules/imgproc/src/morph.cpp ofs.x, ofs.y, source.cols, source.rows, wholesize.width, wholesize.height); width 1689 modules/imgproc/src/morph.cpp anchor.x == ksize.width >> 1 && anchor.y == ksize.height >> 1, width 1708 modules/imgproc/src/morph.cpp Size(ksize.width + (iterations-1)*(ksize.width-1), width 1836 modules/imgproc/src/morph.cpp anchor.x == ksize.width >> 1 && anchor.y == ksize.height >> 1 && width 418 modules/imgproc/src/phasecorr.cpp int minc = peakLocation.x - (weightBoxSize.width >> 1); width 419 modules/imgproc/src/phasecorr.cpp int maxc = peakLocation.x + (weightBoxSize.width >> 1); width 78 modules/imgproc/src/pyramids.cpp int operator()(int** src, uchar* dst, int, int width) const width 87 modules/imgproc/src/pyramids.cpp for( ; x <= width - 16; x += 16 ) width 123 modules/imgproc/src/pyramids.cpp for( ; x <= width - 4; x += 4 ) width 145 modules/imgproc/src/pyramids.cpp int operator()(float** src, float* dst, int, int width) const width 153 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 196 modules/imgproc/src/pyramids.cpp int operator()(int** src, ushort* dst, int, int width) const width 206 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 252 modules/imgproc/src/pyramids.cpp int operator()(int** src, short* dst, int, int width) const width 262 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 297 modules/imgproc/src/pyramids.cpp int operator()(int** src, uchar** dst, int, int width) const width 308 modules/imgproc/src/pyramids.cpp for( ; x <= width - 16; x += 16 ) width 338 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 361 modules/imgproc/src/pyramids.cpp int operator()(int** src, short** dst, int, int width) const width 372 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 397 modules/imgproc/src/pyramids.cpp for( ; x <= width - 4; x += 4 ) width 421 modules/imgproc/src/pyramids.cpp int operator()(int** src, ushort** dst, int, int width) const width 432 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 457 modules/imgproc/src/pyramids.cpp for( ; x <= width - 4; x += 4 ) width 485 modules/imgproc/src/pyramids.cpp int operator()(float** src, float** dst, int, int width) const width 497 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 522 modules/imgproc/src/pyramids.cpp int operator()(int** src, uchar* dst, int, int width) const width 530 modules/imgproc/src/pyramids.cpp for( ; x <= width - 16; x += 16 ) width 562 modules/imgproc/src/pyramids.cpp int operator()(int** src, ushort* dst, int, int width) const width 568 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 596 modules/imgproc/src/pyramids.cpp int operator()(int** src, short* dst, int, int width) const width 602 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 629 modules/imgproc/src/pyramids.cpp int operator()(float** src, float* dst, int, int width) const width 635 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 664 modules/imgproc/src/pyramids.cpp int operator()(int** src, uchar** dst, int, int width) const width 671 modules/imgproc/src/pyramids.cpp for( ; x <= width - 16; x += 16 ) width 695 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 715 modules/imgproc/src/pyramids.cpp int operator()(int** src, ushort** dst, int, int width) const width 722 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 743 modules/imgproc/src/pyramids.cpp for( ; x <= width - 4; x += 4 ) width 761 modules/imgproc/src/pyramids.cpp int operator()(int** src, short** dst, int, int width) const width 768 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 789 modules/imgproc/src/pyramids.cpp for( ; x <= width - 4; x += 4 ) width 807 modules/imgproc/src/pyramids.cpp int operator()(float** src, float** dst, int, int width) const width 814 modules/imgproc/src/pyramids.cpp for( ; x <= width - 8; x += 8 ) width 859 modules/imgproc/src/pyramids.cpp int bufstep = (int)alignSize(dsize.width*cn, 16); width 863 modules/imgproc/src/pyramids.cpp AutoBuffer<int> _tabM(dsize.width*cn); width 869 modules/imgproc/src/pyramids.cpp CV_Assert( ssize.width > 0 && ssize.height > 0 && width 870 modules/imgproc/src/pyramids.cpp std::abs(dsize.width*2 - ssize.width) <= 2 && width 872 modules/imgproc/src/pyramids.cpp int k, x, sy0 = -PD_SZ/2, sy = sy0, width0 = std::min((ssize.width-PD_SZ/2-1)/2 + 1, dsize.width); width 876 modules/imgproc/src/pyramids.cpp int sx0 = borderInterpolate(x - PD_SZ/2, ssize.width, borderType)*cn; width 877 modules/imgproc/src/pyramids.cpp int sx1 = borderInterpolate(x + width0*2 - PD_SZ/2, ssize.width, borderType)*cn; width 885 modules/imgproc/src/pyramids.cpp ssize.width *= cn; width 886 modules/imgproc/src/pyramids.cpp dsize.width *= cn; width 889 modules/imgproc/src/pyramids.cpp for( x = 0; x < dsize.width; x++ ) width 914 modules/imgproc/src/pyramids.cpp if( x == dsize.width ) width 957 modules/imgproc/src/pyramids.cpp limit = dsize.width; width 967 modules/imgproc/src/pyramids.cpp x = vecOp(rows, dst, (int)_dst.step, dsize.width); width 968 modules/imgproc/src/pyramids.cpp for( ; x < dsize.width; x++ ) width 983 modules/imgproc/src/pyramids.cpp int bufstep = (int)alignSize((dsize.width+1)*cn, 16); width 986 modules/imgproc/src/pyramids.cpp AutoBuffer<int> _dtab(ssize.width*cn); width 993 modules/imgproc/src/pyramids.cpp CV_Assert( std::abs(dsize.width - ssize.width*2) == dsize.width % 2 && width 997 modules/imgproc/src/pyramids.cpp ssize.width *= cn; width 998 modules/imgproc/src/pyramids.cpp dsize.width *= cn; width 1000 modules/imgproc/src/pyramids.cpp for( x = 0; x < ssize.width; x++ ) width 1016 modules/imgproc/src/pyramids.cpp if( ssize.width == cn ) width 1029 modules/imgproc/src/pyramids.cpp dx = dtab[ssize.width - cn + x]; width 1030 modules/imgproc/src/pyramids.cpp int sx = ssize.width - cn + x; width 1036 modules/imgproc/src/pyramids.cpp for( x = cn; x < ssize.width - cn; x++ ) width 1052 modules/imgproc/src/pyramids.cpp x = vecOp(rows, dsts, (int)_dst.step, dsize.width); width 1053 modules/imgproc/src/pyramids.cpp for( ; x < dsize.width; x++ ) width 1075 modules/imgproc/src/pyramids.cpp Size dsize = _dsz.area() == 0 ? Size((ssize.width + 1) / 2, (ssize.height + 1) / 2) : _dsz; width 1076 modules/imgproc/src/pyramids.cpp if (dsize.height < 2 || dsize.width < 2) width 1079 modules/imgproc/src/pyramids.cpp CV_Assert( ssize.width > 0 && ssize.height > 0 && width 1080 modules/imgproc/src/pyramids.cpp std::abs(dsize.width*2 - ssize.width) <= 2 && width 1127 modules/imgproc/src/pyramids.cpp if ((_dsz.area() != 0) && (_dsz != Size(ssize.width * 2, ssize.height * 2))) width 1131 modules/imgproc/src/pyramids.cpp Size dsize = Size(ssize.width * 2, ssize.height * 2); width 1209 modules/imgproc/src/pyramids.cpp IppStatus ok = ippiPyrDownGetBufSize_Gauss5x5(srcRoi.width, dataType, src.channels(), &bufferSize); width 1286 modules/imgproc/src/pyramids.cpp IppStatus ok = ippiPyrUpGetBufSize_Gauss5x5(srcRoi.width, dataType, src.channels(), &bufferSize); width 1407 modules/imgproc/src/pyramids.cpp dst.create(Size(dstRoi.width, dstRoi.height), type); width 1498 modules/imgproc/src/pyramids.cpp layer_size.width = cvRound(layer_size.width*rate+eps); width 1503 modules/imgproc/src/pyramids.cpp layer_step = layer_size.width*elem_size; width 1515 modules/imgproc/src/pyramids.cpp pyramid[0] = cvCreateMatHeader( size.height, size.width, src->type ); width 1523 modules/imgproc/src/pyramids.cpp layer_size.width = cvRound(layer_size.width*rate + eps); width 1531 modules/imgproc/src/pyramids.cpp pyramid[i] = cvCreateMatHeader( layer_size.height, layer_size.width, src->type ); width 1532 modules/imgproc/src/pyramids.cpp layer_step = layer_size.width*elem_size; width 1537 modules/imgproc/src/pyramids.cpp pyramid[i] = cvCreateMat( layer_size.height, layer_size.width, src->type ); width 51 modules/imgproc/src/rotcalipers.cpp float width; width 272 modules/imgproc/src/rotcalipers.cpp float width = dx * base_a + dy * base_b; width 281 modules/imgproc/src/rotcalipers.cpp area = width * height; width 290 modules/imgproc/src/rotcalipers.cpp buf[2] = width; width 366 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt((double)out[1].x*out[1].x + (double)out[1].y*out[1].y); width 376 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt(dx*dx + dy*dy); width 63 modules/imgproc/src/samplers.cpp if( rect.x > win_size.width ) width 64 modules/imgproc/src/samplers.cpp rect.x = win_size.width; width 67 modules/imgproc/src/samplers.cpp if( ip.x < src_size.width - win_size.width ) width 68 modules/imgproc/src/samplers.cpp rect.width = win_size.width; width 71 modules/imgproc/src/samplers.cpp rect.width = src_size.width - ip.x - 1; width 72 modules/imgproc/src/samplers.cpp if( rect.width < 0 ) width 74 modules/imgproc/src/samplers.cpp src += rect.width*pix_size; width 75 modules/imgproc/src/samplers.cpp rect.width = 0; width 77 modules/imgproc/src/samplers.cpp assert( rect.width <= win_size.width ); width 140 modules/imgproc/src/samplers.cpp center.x -= (win_size.width-1)*0.5f; width 158 modules/imgproc/src/samplers.cpp if( 0 <= ip.x && ip.x < src_size.width - win_size.width && width 163 modules/imgproc/src/samplers.cpp win_size.width *= cn; width 167 modules/imgproc/src/samplers.cpp for( j = 0; j <= win_size.width - 2; j += 2 ) width 175 modules/imgproc/src/samplers.cpp for( ; j < win_size.width; j++ ) width 201 modules/imgproc/src/samplers.cpp s0 = src[r.width*cn + c]*b1 + src2[r.width*cn + c]*b2; width 202 modules/imgproc/src/samplers.cpp for( j = r.width; j < win_size.width; j++ ) width 206 modules/imgproc/src/samplers.cpp for( j = r.x*cn; j < r.width*cn; j++ ) width 226 modules/imgproc/src/samplers.cpp center.x -= (win_size.width-1)*0.5f; width 233 modules/imgproc/src/samplers.cpp 0 <= ip.x && ip.x + win_size.width < src_size.width && width 235 modules/imgproc/src/samplers.cpp win_size.width > 0 && win_size.height > 0 ) width 255 modules/imgproc/src/samplers.cpp for( int j = 0; j < win_size.width; j++ ) width 286 modules/imgproc/src/samplers.cpp double xe = A11*(win_size.width-1) + A12*y + A13; width 287 modules/imgproc/src/samplers.cpp double ye = A21*(win_size.width-1) + A22*y + A23; width 289 modules/imgproc/src/samplers.cpp if( (unsigned)(cvFloor(xs)-1) < (unsigned)(src_size.width - 3) && width 291 modules/imgproc/src/samplers.cpp (unsigned)(cvFloor(xe)-1) < (unsigned)(src_size.width - 3) && width 294 modules/imgproc/src/samplers.cpp for( x = 0; x < win_size.width; x++ ) width 331 modules/imgproc/src/samplers.cpp for( x = 0; x < win_size.width; x++ ) width 344 modules/imgproc/src/samplers.cpp if( (unsigned)ixs < (unsigned)(src_size.width-1) ) width 352 modules/imgproc/src/samplers.cpp ixs = ixs < 0 ? 0 : src_size.width - 1; width 445 modules/imgproc/src/samplers.cpp double dx = (win_size.width - 1)*0.5; width 178 modules/imgproc/src/segmentation.cpp for( j = 0; j < size.width; j++ ) width 186 modules/imgproc/src/segmentation.cpp mask[0] = mask[size.width-1] = WSHED; // boundary pixels width 188 modules/imgproc/src/segmentation.cpp for( j = 1; j < size.width-1; j++ ) width 416 modules/imgproc/src/segmentation.cpp cv::Mat m( size.height, size.width, CV_8UC1, mask0.ptr() ); width 425 modules/imgproc/src/segmentation.cpp for( i = 1; i < size1.height-1; i++, dptr += dstep - (size1.width-2)*3, mask += mstep*2 ) width 427 modules/imgproc/src/segmentation.cpp for( j = 1; j < size1.width-1; j++, dptr += cn ) width 442 modules/imgproc/src/segmentation.cpp for( i = 0; i < size.height; i++, sptr += sstep - size.width*3, width 443 modules/imgproc/src/segmentation.cpp dptr += dstep - size.width*3, width 446 modules/imgproc/src/segmentation.cpp for( j = 0; j < size.width; j++, sptr += 3, dptr += 3 ) width 469 modules/imgproc/src/segmentation.cpp maxx = cvRound(x0 + sp); maxx = MIN(maxx, size.width-1); width 462 modules/imgproc/src/shapedescr.cpp box.size.width = (float)(rp[2]*2); width 464 modules/imgproc/src/shapedescr.cpp if( box.size.width > box.size.height ) width 467 modules/imgproc/src/shapedescr.cpp CV_SWAP( box.size.width, box.size.height, tmp ); width 608 modules/imgproc/src/shapedescr.cpp int xmin = size.width, ymin = -1, xmax = -1, ymax = -1, i, j, k; width 616 modules/imgproc/src/shapedescr.cpp offset = MIN(offset, size.width); width 630 modules/imgproc/src/shapedescr.cpp if( offset < size.width ) width 634 modules/imgproc/src/shapedescr.cpp size.width -= offset; width 649 modules/imgproc/src/shapedescr.cpp k = size.width - 1; width 681 modules/imgproc/src/shapedescr.cpp size.width += offset; width 691 modules/imgproc/src/shapedescr.cpp if( xmin >= size.width ) width 82 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar* src, uchar* dst, int width, int cn) width 88 modules/imgproc/src/smooth.cpp width = (width - 1)*cn; width 95 modules/imgproc/src/smooth.cpp for( i = 0; i < width; i += cn ) width 120 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) width 127 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) width 129 modules/imgproc/src/smooth.cpp sum.resize(width); width 136 modules/imgproc/src/smooth.cpp memset((void*)SUM, 0, width*sizeof(ST)); width 141 modules/imgproc/src/smooth.cpp for( i = 0; i <= width - 2; i += 2 ) width 147 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 164 modules/imgproc/src/smooth.cpp for( i = 0; i <= width - 2; i += 2 ) width 173 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 182 modules/imgproc/src/smooth.cpp for( i = 0; i <= width - 2; i += 2 ) width 191 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 223 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) width 234 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) width 236 modules/imgproc/src/smooth.cpp sum.resize(width); width 243 modules/imgproc/src/smooth.cpp memset((void*)SUM, 0, width*sizeof(int)); width 251 modules/imgproc/src/smooth.cpp for( ; i <= width-4; i+=4 ) width 259 modules/imgproc/src/smooth.cpp for( ; i <= width - 4; i+=4 ) width 262 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 284 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 307 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 322 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 335 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 354 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 367 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 398 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) width 409 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) width 411 modules/imgproc/src/smooth.cpp sum.resize(width); width 417 modules/imgproc/src/smooth.cpp memset((void*)SUM, 0, width*sizeof(int)); width 425 modules/imgproc/src/smooth.cpp for( ; i <= width-4; i+=4 ) width 433 modules/imgproc/src/smooth.cpp for( ; i <= width - 4; i+=4 ) width 436 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 458 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 479 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 492 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 505 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 523 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 535 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 567 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) width 577 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) width 579 modules/imgproc/src/smooth.cpp sum.resize(width); width 585 modules/imgproc/src/smooth.cpp memset((void*)SUM, 0, width*sizeof(int)); width 593 modules/imgproc/src/smooth.cpp for( ; i < width-4; i+=4 ) width 601 modules/imgproc/src/smooth.cpp for( ; i <= width - 4; i+=4 ) width 604 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 629 modules/imgproc/src/smooth.cpp for( ; i < width-4; i+=4) width 646 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 659 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 675 modules/imgproc/src/smooth.cpp for( ; i < width-4; i+=4 ) width 689 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 701 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 732 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) width 743 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) width 745 modules/imgproc/src/smooth.cpp sum.resize(width); width 751 modules/imgproc/src/smooth.cpp memset((void*)SUM, 0, width*sizeof(int)); width 759 modules/imgproc/src/smooth.cpp for( ; i <= width-4; i+=4 ) width 767 modules/imgproc/src/smooth.cpp for( ; i <= width - 4; i+=4 ) width 770 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 792 modules/imgproc/src/smooth.cpp for( ; i <= width-4; i+=4 ) width 807 modules/imgproc/src/smooth.cpp for( ; i <= width-4; i+=4 ) width 817 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 830 modules/imgproc/src/smooth.cpp for( ; i <= width-4; i+=4 ) width 841 modules/imgproc/src/smooth.cpp for( ; i <= width-4; i+=4 ) width 850 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 882 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) width 893 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) width 895 modules/imgproc/src/smooth.cpp sum.resize(width); width 902 modules/imgproc/src/smooth.cpp memset((void *)SUM, 0, sizeof(int) * width); width 912 modules/imgproc/src/smooth.cpp for( ; i < width-4; i+=4 ) width 920 modules/imgproc/src/smooth.cpp for( ; i <= width - 4; i+=4 ) width 924 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 948 modules/imgproc/src/smooth.cpp for( ; i < width-4; i+=4) width 960 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 973 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 987 modules/imgproc/src/smooth.cpp for( ; i < width-4; i+=4) width 998 modules/imgproc/src/smooth.cpp for( ; i <= width-8; i+=8 ) width 1011 modules/imgproc/src/smooth.cpp for( ; i < width; i++ ) width 1047 modules/imgproc/src/smooth.cpp anchor.x = ksize.width / 2; width 1052 modules/imgproc/src/smooth.cpp float alpha = 1.0f / (ksize.height * ksize.width); width 1060 modules/imgproc/src/smooth.cpp size_t globalsize[2] = { size.width, size.height }; width 1071 modules/imgproc/src/smooth.cpp int w = isolated ? size.width : wholeSize.width; width 1080 modules/imgproc/src/smooth.cpp ((ksize.width < 5 && ksize.height < 5 && esz <= 4) || width 1081 modules/imgproc/src/smooth.cpp (ksize.width == 5 && ksize.height == 5 && cn == 1))) width 1083 modules/imgproc/src/smooth.cpp if (w < ksize.width || h < ksize.height) width 1087 modules/imgproc/src/smooth.cpp int pxLoadNumPixels = cn != 1 || size.width % 4 ? 1 : 4; width 1093 modules/imgproc/src/smooth.cpp if (cn <= 2 && ksize.width <= 4 && ksize.height <= 4) width 1095 modules/imgproc/src/smooth.cpp pxPerWorkItemX = size.width % 8 ? size.width % 4 ? size.width % 2 ? 1 : 2 : 4 : 8; width 1098 modules/imgproc/src/smooth.cpp else if (cn < 4 || (ksize.width <= 4 && ksize.height <= 4)) width 1100 modules/imgproc/src/smooth.cpp pxPerWorkItemX = size.width % 2 ? 1 : 2; width 1103 modules/imgproc/src/smooth.cpp globalsize[0] = size.width / pxPerWorkItemX; width 1107 modules/imgproc/src/smooth.cpp int privDataWidth = ROUNDUP(pxPerWorkItemX + ksize.width - 1, pxLoadNumPixels); width 1122 modules/imgproc/src/smooth.cpp cn, anchor.x, anchor.y, ksize.width, ksize.height, width 1146 modules/imgproc/src/smooth.cpp while (BLOCK_SIZE_X > 32 && BLOCK_SIZE_X >= ksize.width * 2 && BLOCK_SIZE_X > size.width * 2) width 1151 modules/imgproc/src/smooth.cpp if (ksize.width > BLOCK_SIZE_X || w < ksize.width || h < ksize.height) width 1162 modules/imgproc/src/smooth.cpp anchor.x, anchor.y, ksize.width, ksize.height, borderMap[borderType], width 1168 modules/imgproc/src/smooth.cpp globalsize[0] = DIVUP(size.width, BLOCK_SIZE_X - (ksize.width - 1)) * BLOCK_SIZE_X; width 1192 modules/imgproc/src/smooth.cpp int srcEndX = isolated ? srcOffsetX + size.width : wholeSize.width; width 1293 modules/imgproc/src/smooth.cpp ksize.width*ksize.height <= (sdepth == CV_8U ? (1<<23) : width 1298 modules/imgproc/src/smooth.cpp Ptr<BaseRowFilter> rowFilter = getRowSumFilter(srcType, sumType, ksize.width, anchor.x ); width 1300 modules/imgproc/src/smooth.cpp dstType, ksize.height, anchor.y, normalize ? 1./(ksize.width*ksize.height) : 1); width 1324 modules/imgproc/src/smooth.cpp ksize.width = 1; width 1336 modules/imgproc/src/smooth.cpp ocvAnchor.x = anchor.x < 0 ? ksize.width / 2 : anchor.x; width 1338 modules/imgproc/src/smooth.cpp ippAnchor.x = ksize.width / 2 - (ksize.width % 2 == 0 ? 1 : 0); width 1344 modules/imgproc/src/smooth.cpp dst.cols != ksize.width && dst.rows != ksize.height) // returns ippStsMaskSizeErr: mask has an illegal value width 1347 modules/imgproc/src/smooth.cpp IppiSize roiSize = { dst.cols, dst.rows }, maskSize = { ksize.width, ksize.height }; width 1434 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar* src, uchar* dst, int width, int cn) width 1440 modules/imgproc/src/smooth.cpp width = (width - 1)*cn; width 1450 modules/imgproc/src/smooth.cpp for( i = 0; i < width; i += cn ) width 1504 modules/imgproc/src/smooth.cpp if( size.width == 1 ) width 1505 modules/imgproc/src/smooth.cpp ksize.width = 1; width 1520 modules/imgproc/src/smooth.cpp Ptr<BaseRowFilter> rowFilter = getSqrRowSumFilter(srcType, sumType, ksize.width, anchor.x ); width 1523 modules/imgproc/src/smooth.cpp normalize ? 1./(ksize.width*ksize.height) : 1); width 1597 modules/imgproc/src/smooth.cpp if( ksize.width <= 0 && sigma1 > 0 ) width 1598 modules/imgproc/src/smooth.cpp ksize.width = cvRound(sigma1*(depth == CV_8U ? 3 : 4)*2 + 1)|1; width 1602 modules/imgproc/src/smooth.cpp CV_Assert( ksize.width > 0 && ksize.width % 2 == 1 && width 1608 modules/imgproc/src/smooth.cpp kx = getGaussianKernel( ksize.width, sigma1, std::max(depth, CV_32F) ); width 1609 modules/imgproc/src/smooth.cpp if( ksize.height == ksize.width && std::abs(sigma1 - sigma2) < DBL_EPSILON ) width 1640 modules/imgproc/src/smooth.cpp if( size.width == 1 ) width 1641 modules/imgproc/src/smooth.cpp ksize.width = 1; width 1644 modules/imgproc/src/smooth.cpp if( ksize.width == 1 && ksize.height == 1 ) width 1663 modules/imgproc/src/smooth.cpp sigma1 == sigma2 && ksize.width == ksize.height && sigma1 != 0.0 ) width 1673 modules/imgproc/src/smooth.cpp if (ippiFilterGaussianGetBufferSize(roiSize, (Ipp32u)ksize.width, dataType, cn, &specSize, &bufferSize) >= 0) width 1678 modules/imgproc/src/smooth.cpp if (ippiFilterGaussianInit(roiSize, (Ipp32u)ksize.width, (Ipp32f)sigma1, ippBorder, dataType, 1, pSpec, pBuffer) >= 0) width 2048 modules/imgproc/src/smooth.cpp for( x = 0; x < size.width; x++, src += cn, dst += cn ) width 2388 modules/imgproc/src/smooth.cpp if( size.width == 1 || size.height == 1 ) width 2390 modules/imgproc/src/smooth.cpp int len = size.width + size.height - 1; width 2408 modules/imgproc/src/smooth.cpp size.width *= cn; width 2414 modules/imgproc/src/smooth.cpp int limit = useSIMD ? cn : size.width; width 2421 modules/imgproc/src/smooth.cpp int j2 = j < size.width - cn ? j + cn : j; width 2434 modules/imgproc/src/smooth.cpp if( limit == size.width ) width 2437 modules/imgproc/src/smooth.cpp for( ; j <= size.width - VecOp::SIZE - cn; j += VecOp::SIZE ) width 2451 modules/imgproc/src/smooth.cpp limit = size.width; width 2457 modules/imgproc/src/smooth.cpp if( size.width == 1 || size.height == 1 ) width 2459 modules/imgproc/src/smooth.cpp int len = size.width + size.height - 1; width 2480 modules/imgproc/src/smooth.cpp size.width *= cn; width 2489 modules/imgproc/src/smooth.cpp int limit = useSIMD ? cn*2 : size.width; width 2498 modules/imgproc/src/smooth.cpp int j3 = j < size.width - cn ? j + cn : j; width 2499 modules/imgproc/src/smooth.cpp int j4 = j < size.width - cn*2 ? j + cn*2 : j3; width 2534 modules/imgproc/src/smooth.cpp if( limit == size.width ) width 2537 modules/imgproc/src/smooth.cpp for( ; j <= size.width - VecOp::SIZE - cn*2; j += VecOp::SIZE ) width 2574 modules/imgproc/src/smooth.cpp limit = size.width; width 2593 modules/imgproc/src/smooth.cpp (size_t)imgSize.width >= localsize[0] * 8 && width 2595 modules/imgproc/src/smooth.cpp imgSize.width % 4 == 0 && width 2784 modules/imgproc/src/smooth.cpp for( j = 0; j < size.width; j++ ) width 2832 modules/imgproc/src/smooth.cpp for( j = 0; j < size.width*3; j += 3 ) width 3166 modules/imgproc/src/smooth.cpp for( j = 0; j < size.width; j++ ) width 3225 modules/imgproc/src/smooth.cpp for( j = 0; j < size.width*3; j += 3 ) width 488 modules/imgproc/src/subdivision2d.cpp float big_coord = 3.f * MAX( rect.width, rect.height ); width 499 modules/imgproc/src/subdivision2d.cpp bottomRight = Point2f( rx + rect.width, ry + rect.height ); width 87 modules/imgproc/src/sumpixels.cpp memset(sum, 0, (size.width + 1) * sizeof(int)); width 104 modules/imgproc/src/sumpixels.cpp for ( ; j + 7 < size.width; j += 8) width 135 modules/imgproc/src/sumpixels.cpp for (int v = sum_row[j - 1] - prev_sum_row[j - 1]; j < size.width; ++j) width 166 modules/imgproc/src/sumpixels.cpp size.width *= cn; width 168 modules/imgproc/src/sumpixels.cpp memset( sum, 0, (size.width+cn)*sizeof(sum[0])); width 173 modules/imgproc/src/sumpixels.cpp memset( sqsum, 0, (size.width+cn)*sizeof(sqsum[0])); width 179 modules/imgproc/src/sumpixels.cpp memset( tilted, 0, (size.width+cn)*sizeof(tilted[0])); width 190 modules/imgproc/src/sumpixels.cpp for( x = 0; x < size.width; x += cn ) width 207 modules/imgproc/src/sumpixels.cpp for( x = 0; x < size.width; x += cn ) width 222 modules/imgproc/src/sumpixels.cpp AutoBuffer<ST> _buf(size.width+cn); width 230 modules/imgproc/src/sumpixels.cpp for( x = 0, s = 0, sq = 0; x < size.width; x += cn ) width 241 modules/imgproc/src/sumpixels.cpp if( size.width == cn ) width 277 modules/imgproc/src/sumpixels.cpp for( x = cn; x < size.width - cn; x += cn ) width 292 modules/imgproc/src/sumpixels.cpp if( size.width > cn ) width 360 modules/imgproc/src/sumpixels.cpp Size bufsize(((src_size.height + tileSize - 1) / tileSize) * tileSize, ((src_size.width + tileSize - 1) / tileSize) * tileSize); width 371 modules/imgproc/src/sumpixels.cpp Size sumsize(src_size.width + 1, src_size.height + 1); width 400 modules/imgproc/src/sumpixels.cpp Size bufsize(((src_size.height + tileSize - 1) / tileSize) * tileSize, ((src_size.width + tileSize - 1) / tileSize) * tileSize); width 412 modules/imgproc/src/sumpixels.cpp Size sumsize(src_size.width + 1, src_size.height + 1); width 449 modules/imgproc/src/sumpixels.cpp Size ssize = _src.size(), isize(ssize.width + 1, ssize.height + 1); width 114 modules/imgproc/src/templmatch.cpp return size.height < dft_size && size.width < dft_size; width 132 modules/imgproc/src/templmatch.cpp result_size = Size(image_size.width - templ_size.width + 1, width 138 modules/imgproc/src/templmatch.cpp block_size.width = cvRound(result_size.width*blockScale); width 139 modules/imgproc/src/templmatch.cpp block_size.width = std::max( block_size.width, minBlockSize - templ_size.width + 1 ); width 140 modules/imgproc/src/templmatch.cpp block_size.width = std::min( block_size.width, result_size.width ); width 145 modules/imgproc/src/templmatch.cpp dft_size.width = std::max(getOptimalDFTSize(block_size.width + templ_size.width - 1), 2); width 147 modules/imgproc/src/templmatch.cpp if( dft_size.width <= 0 || dft_size.height <= 0 ) width 151 modules/imgproc/src/templmatch.cpp block_size.width = dft_size.width - templ_size.width + 1; width 152 modules/imgproc/src/templmatch.cpp block_size.width = std::min( block_size.width, result_size.width); width 160 modules/imgproc/src/templmatch.cpp image_spect.create(dft_size.height, dft_size.width / 2 + 1, CV_32FC2); width 161 modules/imgproc/src/templmatch.cpp templ_spect.create(dft_size.height, dft_size.width / 2 + 1, CV_32FC2); width 162 modules/imgproc/src/templmatch.cpp result_spect.create(dft_size.height, dft_size.width / 2 + 1, CV_32FC2); width 165 modules/imgproc/src/templmatch.cpp block_size.width = std::min(dft_size.width - templ_size.width + 1, result_size.width); width 203 modules/imgproc/src/templmatch.cpp for (int x = 0; x < result.cols; x += block_size.width) width 205 modules/imgproc/src/templmatch.cpp Size image_roi_size(std::min(x + dft_size.width, image.cols) - x, width 207 modules/imgproc/src/templmatch.cpp Rect roi0(x, y, image_roi_size.width, image_roi_size.height); width 220 modules/imgproc/src/templmatch.cpp Size result_roi_size(std::min(x + block_size.width, result.cols) - x, width 223 modules/imgproc/src/templmatch.cpp Rect roi1(x, y, result_roi_size.width, result_roi_size.height); width 224 modules/imgproc/src/templmatch.cpp Rect roi2(0, 0, result_roi_size.width, result_roi_size.height); width 488 modules/imgproc/src/templmatch.cpp _result.create(size.height - templ.rows + 1, size.width - templ.cols + 1, CV_32F); width 658 modules/imgproc/src/templmatch.cpp corrsize.width <= img.cols + templ.cols - 1 ); width 667 modules/imgproc/src/templmatch.cpp blocksize.width = cvRound(templ.cols*blockScale); width 668 modules/imgproc/src/templmatch.cpp blocksize.width = std::max( blocksize.width, minBlockSize - templ.cols + 1 ); width 669 modules/imgproc/src/templmatch.cpp blocksize.width = std::min( blocksize.width, corr.cols ); width 674 modules/imgproc/src/templmatch.cpp dftsize.width = std::max(getOptimalDFTSize(blocksize.width + templ.cols - 1), 2); width 676 modules/imgproc/src/templmatch.cpp if( dftsize.width <= 0 || dftsize.height <= 0 ) width 680 modules/imgproc/src/templmatch.cpp blocksize.width = dftsize.width - templ.cols + 1; width 681 modules/imgproc/src/templmatch.cpp blocksize.width = MIN( blocksize.width, corr.cols ); width 685 modules/imgproc/src/templmatch.cpp Mat dftTempl( dftsize.height*tcn, dftsize.width, maxDepth ); width 693 modules/imgproc/src/templmatch.cpp bufSize = std::max( bufSize, (blocksize.width + templ.cols - 1)* width 697 modules/imgproc/src/templmatch.cpp bufSize = std::max( bufSize, blocksize.width*blocksize.height*CV_ELEM_SIZE(cdepth)); width 706 modules/imgproc/src/templmatch.cpp Mat dst(dftTempl, Rect(0, yofs, dftsize.width, dftsize.height)); width 727 modules/imgproc/src/templmatch.cpp int tileCountX = (corr.cols + blocksize.width - 1)/blocksize.width; width 739 modules/imgproc/src/templmatch.cpp roiofs.x, wholeSize.width-img.cols-roiofs.x); width 746 modules/imgproc/src/templmatch.cpp int x = (i%tileCountX)*blocksize.width; width 749 modules/imgproc/src/templmatch.cpp Size bsz(std::min(blocksize.width, corr.cols - x), width 751 modules/imgproc/src/templmatch.cpp Size dsz(bsz.width + templ.cols - 1, bsz.height + templ.rows - 1); width 754 modules/imgproc/src/templmatch.cpp int x2 = std::min(img0.cols, x0 + dsz.width); width 757 modules/imgproc/src/templmatch.cpp Mat dst(dftImg, Rect(0, 0, dsz.width, dsz.height)); width 759 modules/imgproc/src/templmatch.cpp Mat cdst(corr, Rect(x, y, bsz.width, bsz.height)); width 776 modules/imgproc/src/templmatch.cpp if( x2 - x1 < dsz.width || y2 - y1 < dsz.height ) width 782 modules/imgproc/src/templmatch.cpp dftsize.width, dftsize.height)); width 786 modules/imgproc/src/templmatch.cpp src = dftImg(Rect(0, 0, bsz.width, bsz.height)); width 912 modules/imgproc/src/templmatch.cpp bool needswap = _img.size().height < _templ.size().height || _img.size().width < _templ.size().width; width 915 modules/imgproc/src/templmatch.cpp CV_Assert(_img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width); width 55 modules/imgproc/src/thresh.cpp roi.width *= _src.channels(); width 61 modules/imgproc/src/thresh.cpp roi.width *= roi.height; width 63 modules/imgproc/src/thresh.cpp src_step = dst_step = roi.width; width 67 modules/imgproc/src/thresh.cpp if (tegra::useTegra() && tegra::thresh_8u(_src, _dst, roi.width, roi.height, thresh, maxval, type)) width 74 modules/imgproc/src/thresh.cpp IppiSize sz = { roi.width, roi.height }; width 171 modules/imgproc/src/thresh.cpp j_scalar = roi.width & -8; width 181 modules/imgproc/src/thresh.cpp for( j = 0; j <= roi.width - 32; j += 32 ) width 194 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 204 modules/imgproc/src/thresh.cpp for( j = 0; j <= roi.width - 32; j += 32 ) width 217 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 227 modules/imgproc/src/thresh.cpp for( j = 0; j <= roi.width - 32; j += 32 ) width 238 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 247 modules/imgproc/src/thresh.cpp for( j = 0; j <= roi.width - 32; j += 32 ) width 258 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 267 modules/imgproc/src/thresh.cpp for( j = 0; j <= roi.width - 32; j += 32 ) width 278 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 299 modules/imgproc/src/thresh.cpp for ( j_scalar = 0; j_scalar <= roi.width - 16; j_scalar += 16) width 310 modules/imgproc/src/thresh.cpp for ( j_scalar = 0; j_scalar <= roi.width - 16; j_scalar += 16) width 321 modules/imgproc/src/thresh.cpp for ( j_scalar = 0; j_scalar <= roi.width - 16; j_scalar += 16) width 332 modules/imgproc/src/thresh.cpp for ( j_scalar = 0; j_scalar <= roi.width - 16; j_scalar += 16) width 346 modules/imgproc/src/thresh.cpp for ( j_scalar = 0; j_scalar <= roi.width - 16; j_scalar += 16) width 358 modules/imgproc/src/thresh.cpp if( j_scalar < roi.width ) width 366 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 4; j += 4 ) width 381 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 393 modules/imgproc/src/thresh.cpp roi.width *= _src.channels(); width 405 modules/imgproc/src/thresh.cpp roi.width *= roi.height; width 407 modules/imgproc/src/thresh.cpp src_step = dst_step = roi.width; width 411 modules/imgproc/src/thresh.cpp if (tegra::useTegra() && tegra::thresh_16s(_src, _dst, roi.width, roi.height, thresh, maxval, type)) width 418 modules/imgproc/src/thresh.cpp IppiSize sz = { roi.width, roi.height }; width 482 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 16; j += 16 ) width 498 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 505 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 518 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 16; j += 16 ) width 534 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 541 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 554 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 16; j += 16 ) width 568 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 572 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 585 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 16; j += 16 ) width 599 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 607 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 623 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 16; j += 16 ) width 637 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 644 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 662 modules/imgproc/src/thresh.cpp roi.width *= _src.channels(); width 674 modules/imgproc/src/thresh.cpp roi.width *= roi.height; width 679 modules/imgproc/src/thresh.cpp if (tegra::useTegra() && tegra::thresh_32f(_src, _dst, roi.width, roi.height, thresh, maxval, type)) width 686 modules/imgproc/src/thresh.cpp IppiSize sz = { roi.width, roi.height }; width 727 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 744 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 4; j += 4 ) width 752 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 765 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 782 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 4; j += 4 ) width 790 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 803 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 817 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 4; j += 4 ) width 821 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 834 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 848 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 4; j += 4 ) width 857 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 873 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 8; j += 8 ) width 887 modules/imgproc/src/thresh.cpp for( ; j <= roi.width - 4; j += 4 ) width 895 modules/imgproc/src/thresh.cpp for( ; j < roi.width; j++ ) width 915 modules/imgproc/src/thresh.cpp size.width *= size.height; width 917 modules/imgproc/src/thresh.cpp step = size.width; width 923 modules/imgproc/src/thresh.cpp IppiSize srcSize = { size.width, size.height }; width 944 modules/imgproc/src/thresh.cpp for( ; j <= size.width - 4; j += 4 ) width 952 modules/imgproc/src/thresh.cpp for( ; j < size.width; j++ ) width 956 modules/imgproc/src/thresh.cpp double mu = 0, scale = 1./(size.width*size.height); width 996 modules/imgproc/src/thresh.cpp size.width *= size.height; width 998 modules/imgproc/src/thresh.cpp step = size.width; width 1008 modules/imgproc/src/thresh.cpp for( ; j <= size.width - 4; j += 4 ) width 1016 modules/imgproc/src/thresh.cpp for( ; j < size.width; j++ ) width 1322 modules/imgproc/src/thresh.cpp size.width *= size.height; width 1332 modules/imgproc/src/thresh.cpp for( j = 0; j < size.width; j++ ) width 56 modules/imgproc/src/undistort.cpp newCameraMatrix.ptr<double>()[2] = (imgsize.width-1)*0.5; width 139 modules/imgproc/src/undistort.cpp for( int j = 0; j < size.width; j++, _x += ir[0], _y += ir[3], _w += ir[6] ) width 526 modules/imgproc/src/undistort.cpp Point2f p((float)j*imageSize.width/(N-1), (float)i*imageSize.height/(N-1)); width 547 modules/imgproc/src/undistort.cpp for( int x = 0; x < dsize.width; x++ ) width 56 modules/imgproc/src/utils.cpp if( CV_MAT_CN(mat->type) == 1 && mat->width == 2 ) width 65 modules/imgproc/src/utils.cpp if( (mat->width != 1 && mat->height != 1) || !CV_IS_MAT_CONT(mat->type)) width 73 modules/imgproc/src/utils.cpp mat->width*mat->height, (CvSeq*)contour_header, block ); width 93 modules/imgproc/test/ocl/test_blend.cpp roiSize.width, roiSize.height))) < 1e-6); width 81 modules/imgproc/test/ocl/test_boxfilter.cpp Size roiSize = randomSize(ksize.width, MAX_VALUE, ksize.height, MAX_VALUE); width 88 modules/imgproc/test/ocl/test_boxfilter.cpp anchor.x = randomInt(-1, ksize.width); width 334 modules/imgproc/test/ocl/test_color.cpp roiSize.width *= 2; width 376 modules/imgproc/test/ocl/test_color.cpp srcRoiSize.width *= 2; width 381 modules/imgproc/test/ocl/test_color.cpp Size dstRoiSize(srcRoiSize.width, srcRoiSize.height / 2 * 3); width 410 modules/imgproc/test/ocl/test_color.cpp roiSize.width *= 2; width 86 modules/imgproc/test/ocl/test_filter2d.cpp size.width &= ~((widthMultiple * 2) - 1); width 87 modules/imgproc/test/ocl/test_filter2d.cpp size.width += widthMultiple; width 94 modules/imgproc/test/ocl/test_filters.cpp roiSize.width &= ~((widthMultiple * 2) - 1); width 95 modules/imgproc/test/ocl/test_filters.cpp roiSize.width += widthMultiple; width 176 modules/imgproc/test/ocl/test_filters.cpp int dx = size.width, dy = size.height; width 197 modules/imgproc/test/ocl/test_filters.cpp int dx = size.width, dy = size.height; width 185 modules/imgproc/test/ocl/test_histogram.cpp int nDiffs = (int)(0.03f*dstSize.height*dstSize.width); width 212 modules/imgproc/test/ocl/test_imgproc.cpp Size wholeSize = Size(roiSize.width + srcBorder.lef + srcBorder.rig, roiSize.height + srcBorder.top + srcBorder.bot); width 214 modules/imgproc/test/ocl/test_imgproc.cpp src_roi = src(Rect(srcBorder.lef, srcBorder.top, roiSize.width, roiSize.height)); width 303 modules/imgproc/test/ocl/test_imgproc.cpp Size roiSize = randomSize(1, MAX_VALUE), isize = Size(roiSize.width + 1, roiSize.height + 1); width 405 modules/imgproc/test/ocl/test_imgproc.cpp Size roiSize = randomSize(std::max(gridSize.height, gridSize.width), MAX_VALUE); width 80 modules/imgproc/test/ocl/test_match_template.cpp Size templ_roiSize = Size(randomInt(1, image_roiSize.width), randomInt(1, image_roiSize.height)); width 81 modules/imgproc/test/ocl/test_match_template.cpp Size result_roiSize = Size(image_roiSize.width - templ_roiSize.width + 1, width 98 modules/imgproc/test/ocl/test_pyramids.cpp Size dst_roiSize = Size(randomInt((src_roiSize.width - 1) / 2, (src_roiSize.width + 3) / 2), width 100 modules/imgproc/test/ocl/test_pyramids.cpp dst_roiSize = dst_roiSize.area() == 0 ? Size((src_roiSize.width + 1) / 2, (src_roiSize.height + 1) / 2) : dst_roiSize; width 127 modules/imgproc/test/ocl/test_pyramids.cpp Size dst_roiSize = Size(2 * src_roiSize.width, 2 * src_roiSize.height); width 79 modules/imgproc/test/ocl/test_sepfilter2D.cpp if (1 != ksize.width % 2) width 80 modules/imgproc/test/ocl/test_sepfilter2D.cpp ksize.width++; width 84 modules/imgproc/test/ocl/test_sepfilter2D.cpp Mat temp = randomMat(Size(ksize.width, 1), CV_MAKE_TYPE(CV_32F, 1), -MAX_VALUE, MAX_VALUE); width 89 modules/imgproc/test/ocl/test_sepfilter2D.cpp Size roiSize = randomSize(ksize.width, MAX_VALUE, ksize.height, MAX_VALUE); width 194 modules/imgproc/test/ocl/test_warp.cpp srcRoiSize.width += widthMultiple - 1 - (srcRoiSize.width - 1) % widthMultiple; width 195 modules/imgproc/test/ocl/test_warp.cpp dstRoiSize.width = cvRound(srcRoiSize.width * fx); width 188 modules/imgproc/test/test_bilateral_filter.cpp for( j = 0; j < size.width; j++ ) width 208 modules/imgproc/test/test_bilateral_filter.cpp for( j = 0; j < size.width*3; j += 3 ) width 126 modules/imgproc/test/test_boundingrect.cpp cout << "Right rect (x, y, w, h): [" << right.x << ", " << right.y << ", " << right.width << ", " << right.height << "]" << endl; width 127 modules/imgproc/test/test_boundingrect.cpp cout << "Result rect (x, y, w, h): [" << rect[i].x << ", " << rect[i].y << ", " << rect[i].width << ", " << rect[i].height << "]" << endl; width 171 modules/imgproc/test/test_canny.cpp int x, y, width = src.cols, height = src.rows; width 175 modules/imgproc/test/test_canny.cpp Mat dx, dy, mag(height, width, CV_32F); width 182 modules/imgproc/test/test_canny.cpp for( x = 0; x < width; x++ ) width 194 modules/imgproc/test/test_canny.cpp for( x = 0; x < width; x++ ) width 226 modules/imgproc/test/test_canny.cpp if( (unsigned)y1 < (unsigned)height && (unsigned)x1 < (unsigned)width ) width 229 modules/imgproc/test/test_canny.cpp if( (unsigned)y2 < (unsigned)height && (unsigned)x2 < (unsigned)width ) width 244 modules/imgproc/test/test_canny.cpp for( x = 0; x < width; x++ ) width 1749 modules/imgproc/test/test_color.cpp for (int x = 0; x < ssize.width; ++x) width 1762 modules/imgproc/test/test_color.cpp for (int x = 0; x < ssize.width; ++x) width 1775 modules/imgproc/test/test_color.cpp for (int x = 0; x < ssize.width; ++x) width 1788 modules/imgproc/test/test_color.cpp for (int x = 0; x < ssize.width; ++x) width 1872 modules/imgproc/test/test_color.cpp int szm = ssize.width - 1; width 1877 modules/imgproc/test/test_color.cpp for (int j = 0; j < ssize.width; j++) width 1899 modules/imgproc/test/test_color.cpp ssize.width *= cn; width 1906 modules/imgproc/test/test_color.cpp for (int x = 0; x < ssize.width && next; ++x) width 1936 modules/imgproc/test/test_color.cpp CV_Assert(ssize.width == ssize.height); width 1959 modules/imgproc/test/test_color.cpp size.width -= 1; width 1979 modules/imgproc/test/test_color.cpp for (int x = 1; x < size.width; x += 2, S += 2, D += 2*dcn) width 1992 modules/imgproc/test/test_color.cpp for (int x = 2; x < size.width; x += 2, S += 2, D += 2*dcn) width 2004 modules/imgproc/test/test_color.cpp for (int x = 1; x < size.width; x += 2, S += 2, D += 2*dcn) width 2016 modules/imgproc/test/test_color.cpp for (int x = 2; x < size.width; x += 2, S += 2, D += 2*dcn) width 2037 modules/imgproc/test/test_color.cpp ++size.width; width 2039 modules/imgproc/test/test_color.cpp size.width *= dcn; width 2040 modules/imgproc/test/test_color.cpp for (int x = 0; x < size.width; ++x) width 2057 modules/imgproc/test/test_color.cpp size.width *= dcn; width 2064 modules/imgproc/test/test_color.cpp for (int x = 0; x < size.width && next; ++x) width 2167 modules/imgproc/test/test_color.cpp ssize.width *= cn; width 2173 modules/imgproc/test/test_color.cpp for (int x = 0; x < ssize.width && next; ++x) width 160 modules/imgproc/test/test_contours.cpp cvSetImageROI( img, cvRect(1,1,img->width-2,img->height-2) ); width 170 modules/imgproc/test/test_contours.cpp center.x = cvtest::randInt(rng) % size.width; width 173 modules/imgproc/test/test_contours.cpp axes.width = (cvtest::randInt(rng) % width 194 modules/imgproc/test/test_contours.cpp for( j = 1; j < img->width - 1; j++ ) width 218 modules/imgproc/test/test_contours.cpp img_size.width = cvRound(exp((cvtest::randReal(rng)* width 1167 modules/imgproc/test/test_convhull.cpp box0.size.width = (float)(MAX(high.val[0] - low.val[0], min_ellipse_size)*2); width 1173 modules/imgproc/test/test_convhull.cpp if( box0.size.width > box0.size.height ) width 1176 modules/imgproc/test/test_convhull.cpp CV_SWAP( box0.size.width, box0.size.height, t ); width 1204 modules/imgproc/test/test_convhull.cpp double y = box0.size.width*0.5*(sin(angle) + (cvtest::randReal(rng)-0.5)*2*max_noise); width 1249 modules/imgproc/test/test_convhull.cpp cvIsNaN(box.size.width) || cvIsInf(box.size.width) || width 1254 modules/imgproc/test/test_convhull.cpp box.center.x, box.center.y, box.size.width, box.size.height, box.angle ); width 1267 modules/imgproc/test/test_convhull.cpp fabs(box.size.width - box0.size.width) > 0.1*fabs(box0.size.width) || width 1272 modules/imgproc/test/test_convhull.cpp box.center.x, box.center.y, box.size.width, box.size.height, width 1273 modules/imgproc/test/test_convhull.cpp box0.center.x, box0.center.y, box0.size.width, box0.size.height ); width 1282 modules/imgproc/test/test_convhull.cpp if( box0.size.height >= 1.3*box0.size.width && diff_angle > 30 ) width 1351 modules/imgproc/test/test_convhull.cpp fabs(e.size.width - 9) <= 1. && width 1379 modules/imgproc/test/test_convhull.cpp int width = (int)(MAX(high.val[1] - low.val[1], min_ellipse_size)); width 1381 modules/imgproc/test/test_convhull.cpp const int dim = max(height, width); width 1384 modules/imgproc/test/test_convhull.cpp if( width > height ) width 1387 modules/imgproc/test/test_convhull.cpp CV_SWAP( width, height, t ); width 1391 modules/imgproc/test/test_convhull.cpp ellipse(image, center, Size(height, width), angle, width 1396 modules/imgproc/test/test_convhull.cpp box0.size.width = (float)width*2; width 1674 modules/imgproc/test/test_convhull.cpp double tb = axes.width*t; width 1734 modules/imgproc/test/test_convhull.cpp axes.width = (float)((cvtest::randReal(rng)*0.9 + 0.1)*low_high_range); width 1736 modules/imgproc/test/test_convhull.cpp max_sz = MAX(axes.width, axes.height); width 1738 modules/imgproc/test/test_convhull.cpp img_size.width = img_size.height = cvRound(low_high_range*2.2); width 1740 modules/imgproc/test/test_convhull.cpp center.x = (float)(img_size.width*0.5 + (cvtest::randReal(rng)-0.5)*(img_size.width - max_sz*2)*0.8); width 1743 modules/imgproc/test/test_convhull.cpp assert( 0 < center.x - max_sz && center.x + max_sz < img_size.width && width 1785 modules/imgproc/test/test_convhull.cpp CvMat* img = cvCreateMat( img_size.height, img_size.width, CV_8UC1 ); width 130 modules/imgproc/test/test_cvtyuv.cpp Size size(Size imgSize) { return Size(imgSize.width, imgSize.height + imgSize.height/2); } width 166 modules/imgproc/test/test_cvtyuv.cpp Size size(Size imgSize) { return Size(imgSize.width, imgSize.height * 3 / 2); } width 623 modules/imgproc/test/test_cvtyuv.cpp if(cvt.requiresEvenWidth()) sz.width += sz.width % 2; width 627 modules/imgproc/test/test_cvtyuv.cpp Mat src = Mat(srcSize.height, srcSize.width * scn, CV_8UC1).reshape(scn); width 630 modules/imgproc/test/test_cvtyuv.cpp Mat dst = Mat(dstSize.height, dstSize.width * dcn, CV_8UC1).reshape(dcn); width 661 modules/imgproc/test/test_cvtyuv.cpp if(cvt.requiresEvenWidth()) sz.width += sz.width % 2; width 670 modules/imgproc/test/test_cvtyuv.cpp Mat src_full(srcSize.height + roi_offset_top + roi_offset_bottom, srcSize.width + roi_offset_left + roi_offset_right, CV_8UC(scn)); width 673 modules/imgproc/test/test_cvtyuv.cpp Mat dst_full(dstSize.height + roi_offset_left + roi_offset_right, dstSize.width + roi_offset_top + roi_offset_bottom, CV_8UC(dcn), Scalar::all(0)); width 678 modules/imgproc/test/test_cvtyuv.cpp Mat src = src_full(Range(roi_offset_top, roi_offset_top + srcSize.height), Range(roi_offset_left, roi_offset_left + srcSize.width)); width 679 modules/imgproc/test/test_cvtyuv.cpp Mat dst = dst_full(Range(roi_offset_left, roi_offset_left + dstSize.height), Range(roi_offset_top, roi_offset_top + dstSize.width)); width 680 modules/imgproc/test/test_cvtyuv.cpp Mat gold = gold_full(Range(roi_offset_left, roi_offset_left + dstSize.height), Range(roi_offset_top, roi_offset_top + dstSize.width)); width 113 modules/imgproc/test/test_distancetransform.cpp return dist_type == CV_DIST_C || dist_type == CV_DIST_L1 ? 0 : 0.01*MAX(sz.width, sz.height); width 157 modules/imgproc/test/test_distancetransform.cpp int width = _src->cols, height = _src->rows; width 192 modules/imgproc/test/test_distancetransform.cpp temp = cvCreateMat( height + mask_size-1, width + mask_size-1, CV_32F ); width 221 modules/imgproc/test/test_distancetransform.cpp for( j = 0; j < width + mask_size - 1; j++ ) width 231 modules/imgproc/test/test_distancetransform.cpp tmp[-j-1] = tmp[j + width] = init_val; width 233 modules/imgproc/test/test_distancetransform.cpp for( j = 0; j < width; j++ ) width 256 modules/imgproc/test/test_distancetransform.cpp for( j = width - 1; j >= 0; j-- ) width 140 modules/imgproc/test/test_filter.cpp aperture_size.width = cvtest::randInt(rng) % max_aperture_size + 1; width 142 modules/imgproc/test/test_filter.cpp anchor.x = cvtest::randInt(rng) % aperture_size.width; width 230 modules/imgproc/test/test_filter.cpp eldata.resize(aperture_size.width*aperture_size.height); width 237 modules/imgproc/test/test_filter.cpp for( j = 0; j < aperture_size.width; j++ ) width 239 modules/imgproc/test/test_filter.cpp eldata[i*aperture_size.width + j] = src[i*srcstep + j]; width 245 modules/imgproc/test/test_filter.cpp eldata[anchor.y*aperture_size.width + anchor.x] = 1; width 249 modules/imgproc/test/test_filter.cpp element = cvCreateStructuringElementEx( aperture_size.width, aperture_size.height, width 532 modules/imgproc/test/test_filter.cpp anchor.x = aperture_size.width / 2; width 589 modules/imgproc/test/test_filter.cpp anchor.x = aperture_size.width / 2; width 647 modules/imgproc/test/test_filter.cpp aperture_size.width = anchor.x*2 + 1; width 703 modules/imgproc/test/test_filter.cpp aperture_size.width, aperture_size.height ); width 717 modules/imgproc/test/test_filter.cpp kernel.setTo(Scalar::all(normalize ? 1./(aperture_size.width*aperture_size.height) : 1.)); width 760 modules/imgproc/test/test_filter.cpp anchor = cvPoint(aperture_size.width/2,aperture_size.height/2); width 763 modules/imgproc/test/test_filter.cpp param1 = aperture_size.width; width 872 modules/imgproc/test/test_filter.cpp aperture_size.height = aperture_size.width; width 873 modules/imgproc/test/test_filter.cpp anchor.x = anchor.y = aperture_size.width / 2; width 874 modules/imgproc/test/test_filter.cpp sizes[INPUT][1] = cvSize(aperture_size.width,aperture_size.height); width 893 modules/imgproc/test/test_filter.cpp CV_MEDIAN, aperture_size.width ); width 998 modules/imgproc/test/test_filter.cpp int m = aperture_size.width; width 1068 modules/imgproc/test/test_filter.cpp anchor = cvPoint(aperture_size.width/2, aperture_size.height/2); width 1072 modules/imgproc/test/test_filter.cpp sz.width = MAX( sizes[INPUT][0].width/2, 1 ); width 1078 modules/imgproc/test/test_filter.cpp sz.width *= 2; width 1085 modules/imgproc/test/test_filter.cpp sz.width *= 2; width 1285 modules/imgproc/test/test_filter.cpp sizes[INPUT][0].width = MAX( sizes[INPUT][0].width, asz + block_size ); width 1288 modules/imgproc/test/test_filter.cpp sizes[OUTPUT][0].width = sizes[REF_OUTPUT][0].width = sizes[INPUT][0].width*width_factor; width 1622 modules/imgproc/test/test_filter.cpp sum_size.width = sizes[INPUT][0].width + 1; width 1680 modules/imgproc/test/test_filter.cpp memset( sdata, 0, (size.width+1)*sizeof(sdata[0]) ); width 1682 modules/imgproc/test/test_filter.cpp memset( sqdata, 0, (size.width+1)*sizeof(sqdata[0]) ); width 1684 modules/imgproc/test/test_filter.cpp memset( tdata, 0, (size.width+1)*sizeof(tdata[0]) ); width 1694 modules/imgproc/test/test_filter.cpp for( x = 0; x <= size.width; x++ ) width 1715 modules/imgproc/test/test_filter.cpp if( x < size.width ) width 1927 modules/imgproc/test/test_filter.cpp int width = rng.uniform(5, 33); width 1932 modules/imgproc/test/test_filter.cpp Mat src(height, width, CV_8UC(cn)), dst0, dst1, dst2; width 120 modules/imgproc/test/test_floodfill.cpp sizes[INPUT_OUTPUT][1] = sizes[REF_INPUT_OUTPUT][1] = cvSize(sz.width+2,sz.height+2); width 123 modules/imgproc/test/test_floodfill.cpp seed_pt.x = cvtest::randInt(rng) % sizes[INPUT_OUTPUT][0].width; width 203 modules/imgproc/test/test_floodfill.cpp odata[3] = comp.rect.width; width 223 modules/imgproc/test/test_floodfill.cpp odata[3] = rect.width; width 402 modules/imgproc/test/test_floodfill.cpp r.x = r.width = seed_pt.x; width 466 modules/imgproc/test/test_floodfill.cpp if( r.width < j ) width 467 modules/imgproc/test/test_floodfill.cpp r.width = j; width 492 modules/imgproc/test/test_floodfill.cpp comp[3] = r.width - r.x + 1; width 160 modules/imgproc/test/test_histograms.cpp img_size.width = cvRound( exp(cvtest::randReal(rng) * img_max_log_size * CV_LOG2) ); width 1254 modules/imgproc/test/test_histograms.cpp for( x = 0; x < img_size.width; x++ ) width 1388 modules/imgproc/test/test_histograms.cpp int i, j, n, img_len = img_size.width*img_size.height; width 1476 modules/imgproc/test/test_histograms.cpp for( x = 0; x < img_size.width; x++ ) width 1612 modules/imgproc/test/test_histograms.cpp int i, j, n, img_len = img_size.width*img_size.height; width 1614 modules/imgproc/test/test_histograms.cpp patch_size.width = cvtest::randInt(rng) % img_size.width + 1; width 1616 modules/imgproc/test/test_histograms.cpp patch_size.width = MIN( patch_size.width, 30 ); width 1637 modules/imgproc/test/test_histograms.cpp cvSize(img_size.width - patch_size.width + 1, width 1704 modules/imgproc/test/test_histograms.cpp for( x = 0; x < size.width; x++ ) width 1710 modules/imgproc/test/test_histograms.cpp roi.width = patch_size.width; width 228 modules/imgproc/test/test_imgwarp.cpp sz.width = (cvtest::randInt(rng) % sizes[INPUT][0].width) + 1; width 239 modules/imgproc/test/test_imgwarp.cpp sz.width = sizes[INPUT][0].width / xfactor; width 240 modules/imgproc/test/test_imgwarp.cpp sz.width = MAX(sz.width,1); width 243 modules/imgproc/test/test_imgwarp.cpp sizes[INPUT][0].width = sz.width * xfactor; width 255 modules/imgproc/test/test_imgwarp.cpp (MIN(sizes[INPUT][0].width,sizes[INPUT_OUTPUT][0].width) < 4 || width 1012 modules/imgproc/test/test_imgwarp.cpp sz.width = MAX(sz.width,16); width 1179 modules/imgproc/test/test_imgwarp.cpp dst_size.width = cvRound(sqrt(cvtest::randReal(rng)*src_size.width) + 1); width 1181 modules/imgproc/test/test_imgwarp.cpp dst_size.width = MIN(dst_size.width,src_size.width); width 1182 modules/imgproc/test/test_imgwarp.cpp dst_size.height = MIN(dst_size.width,src_size.height); width 1185 modules/imgproc/test/test_imgwarp.cpp center.x = (float)(cvtest::randReal(rng)*src_size.width); width 1285 modules/imgproc/test/test_imgwarp.cpp sz.width = MAX(sz.width,min_size); width 1288 modules/imgproc/test/test_imgwarp.cpp msz = MIN( sz.width, sz.height ); width 1290 modules/imgproc/test/test_imgwarp.cpp dsz.width = cvRound(sqrt(cvtest::randReal(rng)*msz) + 1); width 1292 modules/imgproc/test/test_imgwarp.cpp dsz.width = MIN(dsz.width,msz); width 1293 modules/imgproc/test/test_imgwarp.cpp dsz.height = MIN(dsz.width,msz); width 1294 modules/imgproc/test/test_imgwarp.cpp dsz.width = MAX(dsz.width,min_size); width 1382 modules/imgproc/test/test_imgwarp.cpp int w = src->width; width 1515 modules/imgproc/test/test_imgwarp.cpp for (int dx = 0; dx < dsize.width && next; ++dx) width 1523 modules/imgproc/test/test_imgwarp.cpp int cmin = MAX(dx - radius, 0), cmax = MIN(dx + radius, dsize.width); width 1640 modules/imgproc/test/test_imgwarp.cpp int width = rng.uniform(3, 333); width 1643 modules/imgproc/test/test_imgwarp.cpp Mat src(height, width, CV_8UC(cn)), dst; width 140 modules/imgproc/test/test_imgwarp_strict.cpp size.width = static_cast<int>(std::exp(rng.uniform(1.0f, 7.0f))); width 168 modules/imgproc/test/test_imgwarp_strict.cpp for (x = 0; x < ssize.width; x += cell_size) width 169 modules/imgproc/test/test_imgwarp_strict.cpp rectangle(src, Point(x, y), Point(x + std::min<int>(cell_size, ssize.width - x), y + width 207 modules/imgproc/test/test_imgwarp_strict.cpp dsize.width = saturate_cast<int>((ssize.width + scale_x - 1) / scale_x); width 244 modules/imgproc/test/test_imgwarp_strict.cpp dsize.width *= cn; width 260 modules/imgproc/test/test_imgwarp_strict.cpp for (int dx = 0; dx < dsize.width; ++dx) width 268 modules/imgproc/test/test_imgwarp_strict.cpp PRINT_TO_LOG("Dsize: (%d, %d)\n", dsize.width / cn, dsize.height); width 271 modules/imgproc/test/test_imgwarp_strict.cpp double scale_x = static_cast<double>(ssize.width) / dsize.width; width 307 modules/imgproc/test/test_imgwarp_strict.cpp int cmin = MAX(dx / cn - radius, 0), cmax = MIN(dx / cn + radius, dsize.width); width 475 modules/imgproc/test/test_imgwarp_strict.cpp for (int dx = 0; dx < dsize.width; ++dx) width 478 modules/imgproc/test/test_imgwarp_strict.cpp int isx0 = cvFloor(fsx0), isx1 = std::min(ssize.width - 1, cvFloor(fsx1)); width 480 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(isx1 <= ssize.width); width 481 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(isx0 < ssize.width); width 505 modules/imgproc/test/test_imgwarp_strict.cpp fsx1 = std::min((fsx0 = fsx1) + scale_x, static_cast<double>(ssize.width)); width 521 modules/imgproc/test/test_imgwarp_strict.cpp for (int dx = 0; dx < dsize.width; ++dx) width 551 modules/imgproc/test/test_imgwarp_strict.cpp for (int dx = 0; dx < dsize.width; ++dx) width 590 modules/imgproc/test/test_imgwarp_strict.cpp dim dims[] = { dim(dsize.width), dim(dsize.height) }; width 593 modules/imgproc/test/test_imgwarp_strict.cpp for (int dx = 0; dx < dsize.width; ++dx) width 594 modules/imgproc/test/test_imgwarp_strict.cpp dims[0][dx].first = std::min(cvFloor(dx * scale_x), ssize.width - 1); width 604 modules/imgproc/test/test_imgwarp_strict.cpp Mat tmp(ssize.height, dsize.width, reference_dst.type()); width 738 modules/imgproc/test/test_imgwarp_strict.cpp int width = mapx.cols << 1; width 744 modules/imgproc/test/test_imgwarp_strict.cpp for (int x = 0; x < width; x += 2) width 841 modules/imgproc/test/test_imgwarp_strict.cpp for (int dx = 0; dx < dsize.width; ++dx) width 846 modules/imgproc/test/test_imgwarp_strict.cpp if (sx >= 0 && sx < ssize.width && sy >= 0 && sy < ssize.height) width 860 modules/imgproc/test/test_imgwarp_strict.cpp sx = borderInterpolate(sx, ssize.width, borderType); width 862 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(sx >= 0 && sy >= 0 && sx < ssize.width && sy < ssize.height); width 889 modules/imgproc/test/test_imgwarp_strict.cpp int cn = _src.channels(), width1 = std::max(ssize.width - ksize + 1, 0), width 902 modules/imgproc/test/test_imgwarp_strict.cpp for (int dx = 0; dx < dsize.width; ++dx) width 937 modules/imgproc/test/test_imgwarp_strict.cpp ar_x[k] = borderInterpolate(isx + k, ssize.width, borderType) * cn; width 1083 modules/imgproc/test/test_imgwarp_strict.cpp for (int dx = 0; dx < dsize.width; ++dx, yM += 2) width 1204 modules/imgproc/test/test_imgwarp_strict.cpp for (int dx = 0; dx < dsize.width; ++dx, yMx += 2) width 106 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; width 112 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; width 132 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; width 138 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; width 180 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; width 186 modules/imgproc/test/test_intersection.cpp rect2.size.width = sqrt(2.0f); width 228 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; width 234 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; width 277 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; width 283 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; width 330 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; width 336 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; width 379 modules/imgproc/test/test_intersection.cpp rect1.size.width = 12.34f; width 385 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; width 428 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; width 434 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; width 460 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; width 466 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; width 71 modules/imgproc/test/test_lsd.cpp int y = rng.uniform(10, img_size.width - 10); width 82 modules/imgproc/test/test_lsd.cpp Point center(rng.uniform(img_size.width/4, img_size.width*3/4), width 84 modules/imgproc/test/test_lsd.cpp Size rect_size(rng.uniform(img_size.width/8, img_size.width/6), width 138 modules/imgproc/test/test_moments.cpp sizes[INPUT][0].width = MAX(sizes[INPUT][0].width, 3); width 115 modules/imgproc/test/test_templmatch.cpp sizes[INPUT][1].width = cvtest::randInt(rng)%MIN(sizes[INPUT][1].width,max_template_size) + 1; width 117 modules/imgproc/test/test_templmatch.cpp sizes[OUTPUT][0].width = sizes[INPUT][0].width - sizes[INPUT][1].width + 1; width 300 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(msg, expected.width, actual.width); width 372 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(msg, expected.width, actual.width, eps); width 1073 modules/java/generator/src/cpp/Mat.cpp jdouble tmp_wholeSize[2] = {wholeSize.width, wholeSize.height}; env->SetDoubleArrayRegion(wholeSize_out, 0, 2, tmp_wholeSize); jdouble tmp_ofs[2] = {ofs.x, ofs.y}; env->SetDoubleArrayRegion(ofs_out, 0, 2, tmp_ofs); width 1492 modules/java/generator/src/cpp/Mat.cpp jdouble _tmp_retval_[2] = {_retval_.width, _retval_.height}; width 36 modules/java/generator/src/cpp/utils.cpp dst.create(info.height, info.width, CV_8UC4); width 40 modules/java/generator/src/cpp/utils.cpp Mat tmp(info.height, info.width, CV_8UC4, pixels); width 46 modules/java/generator/src/cpp/utils.cpp Mat tmp(info.height, info.width, CV_8UC2, pixels); width 97 modules/java/generator/src/cpp/utils.cpp CV_Assert( src.dims == 2 && info.height == (uint32_t)src.rows && info.width == (uint32_t)src.cols ); width 103 modules/java/generator/src/cpp/utils.cpp Mat tmp(info.height, info.width, CV_8UC4, pixels); width 118 modules/java/generator/src/cpp/utils.cpp Mat tmp(info.height, info.width, CV_8UC2, pixels); width 101 modules/java/generator/src/java/android+CameraBridgeViewBase.java public void onCameraViewStarted(int width, int height); width 124 modules/java/generator/src/java/android+CameraBridgeViewBase.java public void onCameraViewStarted(int width, int height); width 145 modules/java/generator/src/java/android+CameraBridgeViewBase.java public void onCameraViewStarted(int width, int height) { width 146 modules/java/generator/src/java/android+CameraBridgeViewBase.java mOldStyleListener.onCameraViewStarted(width, height); width 446 modules/java/generator/src/java/android+CameraBridgeViewBase.java protected abstract boolean connectCamera(int width, int height); width 482 modules/java/generator/src/java/android+CameraBridgeViewBase.java int width = accessor.getWidth(size); width 485 modules/java/generator/src/java/android+CameraBridgeViewBase.java if (width <= maxAllowedWidth && height <= maxAllowedHeight) { width 486 modules/java/generator/src/java/android+CameraBridgeViewBase.java if (width >= calcWidth && height >= calcHeight) { width 487 modules/java/generator/src/java/android+CameraBridgeViewBase.java calcWidth = (int) width; width 56 modules/java/generator/src/java/android+FpsMeter.java public void setResolution(int width, int height) { width 57 modules/java/generator/src/java/android+FpsMeter.java mWidth = width; width 49 modules/java/generator/src/java/android+JavaCameraView.java return size.width; width 67 modules/java/generator/src/java/android+JavaCameraView.java protected boolean initializeCamera(int width, int height) { width 145 modules/java/generator/src/java/android+JavaCameraView.java Size frameSize = calculateCameraFrameSize(sizes, new JavaCameraSizeAccessor(), width, height); width 148 modules/java/generator/src/java/android+JavaCameraView.java Log.d(TAG, "Set preview size to " + Integer.valueOf((int)frameSize.width) + "x" + Integer.valueOf((int)frameSize.height)); width 149 modules/java/generator/src/java/android+JavaCameraView.java params.setPreviewSize((int)frameSize.width, (int)frameSize.height); width 163 modules/java/generator/src/java/android+JavaCameraView.java mFrameWidth = params.getPreviewSize().width; width 166 modules/java/generator/src/java/android+JavaCameraView.java if ((getLayoutParams().width == LayoutParams.MATCH_PARENT) && (getLayoutParams().height == LayoutParams.MATCH_PARENT)) width 167 modules/java/generator/src/java/android+JavaCameraView.java mScale = Math.min(((float)height)/mFrameHeight, ((float)width)/mFrameWidth); width 236 modules/java/generator/src/java/android+JavaCameraView.java protected boolean connectCamera(int width, int height) { width 243 modules/java/generator/src/java/android+JavaCameraView.java if (!initializeCamera(width, height)) width 308 modules/java/generator/src/java/android+JavaCameraView.java public JavaCameraFrame(Mat Yuv420sp, int width, int height) { width 310 modules/java/generator/src/java/android+JavaCameraView.java mWidth = width; width 412 modules/java/generator/src/java/utils+Converters.java buff[4 * i + 2] = r.width; width 330 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(msg, expected.width, actual.width); width 402 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(msg, expected.width, actual.width, eps); width 127 modules/objdetect/include/opencv2/objdetect.hpp double delta = eps*(std::min(r1.width, r2.width) + std::min(r1.height, r2.height))*0.5; width 130 modules/objdetect/include/opencv2/objdetect.hpp std::abs(r1.x + r1.width - r2.x - r2.width) <= delta && width 66 modules/objdetect/perf/opencl/perf_hogdetect.cpp else if (a.width != b.width) width 67 modules/objdetect/perf/opencl/perf_hogdetect.cpp return a.width < b.width; width 87 modules/objdetect/src/cascadedetect.cpp rrects[cls].width += rectList[i].width; width 117 modules/objdetect/src/cascadedetect.cpp saturate_cast<int>(r.width*s), width 146 modules/objdetect/src/cascadedetect.cpp int dx = saturate_cast<int>( r2.width * eps ); width 152 modules/objdetect/src/cascadedetect.cpp r1.x + r1.width <= r2.x + r2.width + dx && width 348 modules/objdetect/src/cascadedetect.cpp Size s( int(winDetSize.width * scale), int(winDetSize.height * scale) ); width 349 modules/objdetect/src/cascadedetect.cpp Rect resultRect( int(hitCenter.x-s.width/2), int(hitCenter.y-s.height/2), width 350 modules/objdetect/src/cascadedetect.cpp int(s.width), int(s.height) ); width 437 modules/objdetect/src/cascadedetect.cpp sbufSize.width = std::max(sbufSize.width, (int)alignSize(cvRound(imgsz.width/_scales[0]) + 31, 32)); width 438 modules/objdetect/src/cascadedetect.cpp recalcOptFeatures = recalcOptFeatures || sbufSize.width != prevBufSize.width; width 447 modules/objdetect/src/cascadedetect.cpp sz.width = cvRound(imgsz.width/sc); width 451 modules/objdetect/src/cascadedetect.cpp s.szi = Size(sz.width+1, sz.height+1); width 458 modules/objdetect/src/cascadedetect.cpp if( layer_ofs.x + s.szi.width > sbufSize.width ) width 463 modules/objdetect/src/cascadedetect.cpp s.layer_ofs = layer_ofs.y*sbufSize.width + layer_ofs.x; width 464 modules/objdetect/src/cascadedetect.cpp layer_ofs.x += s.szi.width; width 485 modules/objdetect/src/cascadedetect.cpp sz0 = Size(std::max(rbuf.cols, (int)alignSize(sz0.width, 16)), std::max(rbuf.rows, sz0.height)); width 495 modules/objdetect/src/cascadedetect.cpp usbuf.create(sbufSize.height*nchannels, sbufSize.width, CV_32S); width 501 modules/objdetect/src/cascadedetect.cpp UMat dst(urbuf, Rect(0, 0, s.szi.width - 1, s.szi.height - 1)); width 510 modules/objdetect/src/cascadedetect.cpp sbuf.create(sbufSize.height*nchannels, sbufSize.width, CV_32S); width 516 modules/objdetect/src/cascadedetect.cpp Mat dst(s.szi.height - 1, s.szi.width - 1, CV_8U, rbuf.ptr()); width 544 modules/objdetect/src/cascadedetect.cpp rect[ri].r.width >> rect[ri].r.height >> rect[ri].weight; width 592 modules/objdetect/src/cascadedetect.cpp normrect = Rect(1, 1, origWinSize.width - 2, origWinSize.height - 2); width 600 modules/objdetect/src/cascadedetect.cpp lbufSize = Size(origWinSize.width + localSize.width, width 625 modules/objdetect/src/cascadedetect.cpp int sx = s.layer_ofs % sbufSize.width; width 626 modules/objdetect/src/cascadedetect.cpp int sy = s.layer_ofs / sbufSize.width; width 627 modules/objdetect/src/cascadedetect.cpp int sqy = sy + (sqofs / sbufSize.width); width 628 modules/objdetect/src/cascadedetect.cpp UMat sum(usbuf, Rect(sx, sy, s.szi.width, s.szi.height)); width 629 modules/objdetect/src/cascadedetect.cpp UMat sqsum(usbuf, Rect(sx, sqy, s.szi.width, s.szi.height)); width 634 modules/objdetect/src/cascadedetect.cpp int sty = sy + (tofs / sbufSize.width); width 635 modules/objdetect/src/cascadedetect.cpp UMat tilted(usbuf, Rect(sx, sty, s.szi.width, s.szi.height)); width 665 modules/objdetect/src/cascadedetect.cpp int sstep = sbufSize.width; width 677 modules/objdetect/src/cascadedetect.cpp optfeatures_lbuf->at(fi).setOffsets(ff[fi], lbufSize.width > 0 ? lbufSize.width : sstep, tofs); width 687 modules/objdetect/src/cascadedetect.cpp pt.x + origWinSize.width >= s.szi.width || width 747 modules/objdetect/src/cascadedetect.cpp it >> rect.x >> rect.y >> rect.width >> rect.height; width 803 modules/objdetect/src/cascadedetect.cpp int sx = s.layer_ofs % sbufSize.width; width 804 modules/objdetect/src/cascadedetect.cpp int sy = s.layer_ofs / sbufSize.width; width 805 modules/objdetect/src/cascadedetect.cpp UMat sum(usbuf, Rect(sx, sy, s.szi.width, s.szi.height)); width 817 modules/objdetect/src/cascadedetect.cpp int sstep = sbufSize.width; width 832 modules/objdetect/src/cascadedetect.cpp int w0 = tr.width; width 851 modules/objdetect/src/cascadedetect.cpp pt.x + origWinSize.width >= s.szi.width || width 989 modules/objdetect/src/cascadedetect.cpp Size winSize(cvRound(origWinSize.width * scalingFactor), width 994 modules/objdetect/src/cascadedetect.cpp for( int x = 0; x < szw.width; x += yStep ) width 1006 modules/objdetect/src/cascadedetect.cpp winSize.width, winSize.height)); width 1017 modules/objdetect/src/cascadedetect.cpp winSize.width, winSize.height)); width 1054 modules/objdetect/src/cascadedetect.cpp size_t localsize[] = { localsz.width, localsz.height }; width 1089 modules/objdetect/src/cascadedetect.cpp localsz.width, localsz.height, lbufSize.area(), lbufSize.width, data.maxNodesPerTree, splitstage_ocl, nstages, MAX_FACES); width 1092 modules/objdetect/src/cascadedetect.cpp localsz.width, localsz.height, data.maxNodesPerTree, splitstage_ocl, nstages, MAX_FACES); width 1129 modules/objdetect/src/cascadedetect.cpp localsz.width, localsz.height, lbufSize.area(), lbufSize.width, splitstage_ocl, nstages, MAX_FACES); width 1132 modules/objdetect/src/cascadedetect.cpp localsz.width, localsz.height, splitstage_ocl, nstages, MAX_FACES); width 1168 modules/objdetect/src/cascadedetect.cpp cvRound(data.origWinSize.width*s.scale), width 1228 modules/objdetect/src/cascadedetect.cpp if( maxObjectSize.height == 0 || maxObjectSize.width == 0 ) width 1269 modules/objdetect/src/cascadedetect.cpp Size windowSize( cvRound(originalWindowSize.width*factor), cvRound(originalWindowSize.height*factor) ); width 1270 modules/objdetect/src/cascadedetect.cpp if( windowSize.width > maxObjectSize.width || windowSize.height > maxObjectSize.height || width 1271 modules/objdetect/src/cascadedetect.cpp windowSize.width > imgsz.width || windowSize.height > imgsz.height ) width 1273 modules/objdetect/src/cascadedetect.cpp if( windowSize.width < minObjectSize.width || windowSize.height < minObjectSize.height ) width 1298 modules/objdetect/src/cascadedetect.cpp int nstripes = cvCeil(szw.width/32.); width 1417 modules/objdetect/src/cascadedetect.cpp origWinSize.width = (int)root[CC_WIDTH]; width 1419 modules/objdetect/src/cascadedetect.cpp CV_Assert( origWinSize.height > 0 && origWinSize.width > 0 ); width 1594 modules/objdetect/src/cascadedetect.cpp Rect win0 = Rect(0, 0, sz.width, sz.height); width 26 modules/objdetect/src/cascadedetect.hpp return Size(std::max(szi.width - winSize.width, 0), width 262 modules/objdetect/src/cascadedetect.hpp (p1) = sum + (rect).x + (rect).width + (step) * (rect).y, \ width 266 modules/objdetect/src/cascadedetect.hpp (p3) = sum + (rect).x + (rect).width + (step) * ((rect).y + (rect).height) width 274 modules/objdetect/src/cascadedetect.hpp (p2) = tilted + (rect).x + (rect).width + (step) * ((rect).y + (rect).width), \ width 276 modules/objdetect/src/cascadedetect.hpp (p3) = tilted + (rect).x + (rect).width - (rect).height \ width 277 modules/objdetect/src/cascadedetect.hpp + (step) * ((rect).y + (rect).width + (rect).height) width 288 modules/objdetect/src/cascadedetect.hpp (p1) = sum + (rect).x + (rect).width + (step) * (rect).y, \ width 292 modules/objdetect/src/cascadedetect.hpp (p3) = sum + (rect).x + (rect).width + (step) * ((rect).y + (rect).height) width 300 modules/objdetect/src/cascadedetect.hpp (p2) = tilted + (rect).x + (rect).width + (step) * ((rect).y + (rect).width), \ width 302 modules/objdetect/src/cascadedetect.hpp (p3) = tilted + (rect).x + (rect).width - (rect).height \ width 303 modules/objdetect/src/cascadedetect.hpp + (step) * ((rect).y + (rect).width + (rect).height) width 125 modules/objdetect/src/cascadedetect_convert.cpp cascadesize.width = (int)sznode[0]; width 166 modules/objdetect/src/cascadedetect_convert.cpp f.rect[k].r.width = (int)rnode[2]; width 208 modules/objdetect/src/cascadedetect_convert.cpp << "height" << cascadesize.width width 253 modules/objdetect/src/cascadedetect_convert.cpp f.rect[j].r.width << f.rect[j].r.height << f.rect[j].weight << "]"; width 105 modules/objdetect/src/detection_based_tracker.cpp return cv::Point2f(r.x+((float)r.width)/2, r.y+((float)r.height)/2); width 111 modules/objdetect/src/detection_based_tracker.cpp float width = r.width * scale; width 113 modules/objdetect/src/detection_based_tracker.cpp int x=cvRound(m.x - width/2); width 116 modules/objdetect/src/detection_based_tracker.cpp return cv::Rect(x, y, cvRound(width), cvRound(height)); width 395 modules/objdetect/src/detection_based_tracker.cpp imageSeparateDetecting.size().width, imageSeparateDetecting.size().height, (void*)imageSeparateDetecting.data); width 698 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::process: found a object with SIZE %d x %d, rect={%d, %d, %d x %d}", r.width, r.height, r.x, r.y, r.width, r.height); width 712 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::process: found a object with SIZE %d x %d, rect={%d, %d, %d x %d}", r.width, r.height, r.x, r.y, r.width, r.height); width 723 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::process: found a object with SIZE %d x %d, rect={%d, %d, %d x %d}, status = %d", r.width, r.height, r.x, r.y, r.width, r.height, (int)status); width 779 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::updateTrackedObjects: prevRect[%d]={%d, %d, %d x %d}", i, prevRect.x, prevRect.y, prevRect.width, prevRect.height); width 792 modules/objdetect/src/detection_based_tracker.cpp j, detectedObjects[j].x, detectedObjects[j].y, detectedObjects[j].width, detectedObjects[j].height); width 795 modules/objdetect/src/detection_based_tracker.cpp if ( (r.width > 0) && (r.height > 0) ) { width 797 modules/objdetect/src/detection_based_tracker.cpp r.x, r.y, r.width, r.height); width 816 modules/objdetect/src/detection_based_tracker.cpp if ( (r.width > 0) && (r.height > 0) ) { width 863 modules/objdetect/src/detection_based_tracker.cpp r.x, r.y, r.width, r.height); width 873 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::addObject: new object {%d, %d %dx%d}",location.x, location.y, location.width, location.height); width 921 modules/objdetect/src/detection_based_tracker.cpp w += lastPositions[k].width * weightsSizesSmoothing[j]; width 928 modules/objdetect/src/detection_based_tracker.cpp w=lastPositions[N-1].width; width 965 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::calcTrackedObjectPositionToShow: Result for i=%d: {%d, %d, %d x %d}", i, res.x, res.y, res.width, res.height); width 977 modules/objdetect/src/detection_based_tracker.cpp if ( (r1.width <=0) || (r1.height <= 0) ) { width 982 modules/objdetect/src/detection_based_tracker.cpp int d = cvRound(std::min(r.width, r.height) * innerParameters.coeffObjectSizeToTrack); width 988 modules/objdetect/src/detection_based_tracker.cpp img1.size().width, img1.size().height, d); width 238 modules/objdetect/src/haar.cpp if( classifier->haar_feature[l].rect[k].r.width ) width 243 modules/objdetect/src/haar.cpp if( r.width < 0 || r.height < 0 || r.y < 0 || width 244 modules/objdetect/src/haar.cpp r.x + r.width > orig_window_size.width width 250 modules/objdetect/src/haar.cpp r.y + r.width + r.height > orig_window_size.height))) width 325 modules/objdetect/src/haar.cpp feature->rect[2].r.width == 0 || width 482 modules/objdetect/src/haar.cpp _cascade->real_window_size.width = cvRound( _cascade->orig_window_size.width * scale ); width 489 modules/objdetect/src/haar.cpp equRect.width = cvRound((_cascade->orig_window_size.width-2)*scale); width 491 modules/objdetect/src/haar.cpp weight_scale = 1./(equRect.width*equRect.height); width 495 modules/objdetect/src/haar.cpp cascade->p1 = sum_elem_ptr(*sum, equRect.y, equRect.x + equRect.width ); width 498 modules/objdetect/src/haar.cpp equRect.x + equRect.width ); width 501 modules/objdetect/src/haar.cpp cascade->pq1 = sqsum_elem_ptr(*sqsum, equRect.y, equRect.x + equRect.width ); width 504 modules/objdetect/src/haar.cpp equRect.x + equRect.width ); width 537 modules/objdetect/src/haar.cpp base_w = (int)CV_IMIN( (unsigned)base_w, (unsigned)(r[k].width-1) ); width 547 modules/objdetect/src/haar.cpp kx = r[0].width / base_w; width 553 modules/objdetect/src/haar.cpp new_base_w = cvRound( r[0].width * scale ) / kx; width 572 modules/objdetect/src/haar.cpp tr.width = r[k].width * new_base_w / base_w; width 577 modules/objdetect/src/haar.cpp tr.width = cvRound( r[k].width * scale ); width 594 modules/objdetect/src/haar.cpp const float orig_feature_size = (float)(feature->rect[k].r.width)*feature->rect[k].r.height; width 595 modules/objdetect/src/haar.cpp const float orig_norm_size = (float)(_cascade->orig_window_size.width)*(_cascade->orig_window_size.height); width 596 modules/objdetect/src/haar.cpp const float feature_size = float(tr.width*tr.height); width 611 modules/objdetect/src/haar.cpp hidfeature->rect[k].p1 = sum_elem_ptr(*sum, tr.y, tr.x + tr.width); width 613 modules/objdetect/src/haar.cpp hidfeature->rect[k].p3 = sum_elem_ptr(*sum, tr.y + tr.height, tr.x + tr.width); width 617 modules/objdetect/src/haar.cpp hidfeature->rect[k].p2 = sum_elem_ptr(*tilted, tr.y + tr.width, tr.x + tr.width); width 618 modules/objdetect/src/haar.cpp hidfeature->rect[k].p3 = sum_elem_ptr(*tilted, tr.y + tr.width + tr.height, width 619 modules/objdetect/src/haar.cpp tr.x + tr.width - tr.height); width 627 modules/objdetect/src/haar.cpp area0 = tr.width * tr.height; width 629 modules/objdetect/src/haar.cpp sum0 += hidfeature->rect[k].weight * tr.width * tr.height; width 847 modules/objdetect/src/haar.cpp pt.x + _cascade->real_window_size.width >= cascade->sum.width || width 1308 modules/objdetect/src/haar.cpp Size winSize(cvRound(winSize0.width*factor), cvRound(winSize0.height*factor)); width 1311 modules/objdetect/src/haar.cpp if (y2 <= y1 || sum1.cols <= 1 + winSize0.width) width 1314 modules/objdetect/src/haar.cpp Size ssz(sum1.cols - 1 - winSize0.width, y2 - y1); width 1320 modules/objdetect/src/haar.cpp IppiRect iequRect = {equRect.x, equRect.y, equRect.width, equRect.height}; width 1324 modules/objdetect/src/haar.cpp ippiSize(ssz.width, ssz.height), iequRect ); width 1326 modules/objdetect/src/haar.cpp int positive = (ssz.width/ystep)*((ssz.height + ystep-1)/ystep); width 1334 modules/objdetect/src/haar.cpp memset( mask1row, 0, ssz.width ); width 1337 modules/objdetect/src/haar.cpp for( x = 0; x < ssz.width; x += ystep ) width 1347 modules/objdetect/src/haar.cpp ippiSize(ssz.width, ssz.height), &positive, width 1360 modules/objdetect/src/haar.cpp for( x = 0; x < ssz.width; x += ystep ) width 1365 modules/objdetect/src/haar.cpp winSize.width, winSize.height)); width 1377 modules/objdetect/src/haar.cpp for( x = 0; x < ssz.width; x += ystep ) width 1389 modules/objdetect/src/haar.cpp winSize.width, winSize.height)); width 1401 modules/objdetect/src/haar.cpp winSize.width, winSize.height)); width 1469 modules/objdetect/src/haar.cpp vec->push_back(Rect(x, y, winsize.width, winsize.height)); width 1534 modules/objdetect/src/haar.cpp if( maxSize.height == 0 || maxSize.width == 0 ) width 1537 modules/objdetect/src/haar.cpp maxSize.width = img->cols; width 1574 modules/objdetect/src/haar.cpp CvSize winSize(cvRound(winSize0.width*factor), width 1577 modules/objdetect/src/haar.cpp CvSize sz1(sz.width - winSize0.width + 1, sz.height - winSize0.height + 1); width 1580 modules/objdetect/src/haar.cpp winSize0.width - icv_object_win_border*2, width 1586 modules/objdetect/src/haar.cpp if( sz1.width <= 0 || sz1.height <= 0 ) width 1588 modules/objdetect/src/haar.cpp if( winSize.width > maxSize.width || winSize.height > maxSize.height ) width 1590 modules/objdetect/src/haar.cpp if( winSize.width < minSize.width || winSize.height < minSize.height ) width 1593 modules/objdetect/src/haar.cpp img1 = cvMat( sz.height, sz.width, CV_8UC1, imgSmall->data.ptr ); width 1594 modules/objdetect/src/haar.cpp sum1 = cvMat( sz.height+1, sz.width+1, CV_32SC1, sum->data.ptr ); width 1595 modules/objdetect/src/haar.cpp sqsum1 = cvMat( sz.height+1, sz.width+1, CV_64FC1, sqsum->data.ptr ); width 1598 modules/objdetect/src/haar.cpp tilted1 = cvMat( sz.height+1, sz.width+1, CV_32SC1, tilted->data.ptr ); width 1601 modules/objdetect/src/haar.cpp norm1 = cvMat( sz1.height, sz1.width, CV_32FC1, normImg ? normImg->data.ptr : 0 ); width 1602 modules/objdetect/src/haar.cpp mask1 = cvMat( sz1.height, sz1.width, CV_8UC1, temp->data.ptr ); width 1609 modules/objdetect/src/haar.cpp int stripCount = ((sz1.width/ystep)*(sz1.height + ystep-1)/ystep + LOCS_PER_THREAD/2)/LOCS_PER_THREAD; width 1645 modules/objdetect/src/haar.cpp factor*cascade->orig_window_size.width < img->cols - 10 && width 1661 modules/objdetect/src/haar.cpp CvSize winSize(cvRound( cascade->orig_window_size.width * factor ), width 1667 modules/objdetect/src/haar.cpp int endX = cvRound((img->cols - winSize.width) / ystep); width 1670 modules/objdetect/src/haar.cpp if( winSize.width < minSize.width || winSize.height < minSize.height ) width 1677 modules/objdetect/src/haar.cpp if ( winSize.width > maxSize.width || winSize.height > maxSize.height ) width 1689 modules/objdetect/src/haar.cpp equRect.x = cvRound(winSize.width*0.15); width 1691 modules/objdetect/src/haar.cpp equRect.width = cvRound(winSize.width*0.7); width 1696 modules/objdetect/src/haar.cpp + equRect.x + equRect.width; width 1699 modules/objdetect/src/haar.cpp + equRect.x + equRect.width; width 1703 modules/objdetect/src/haar.cpp + equRect.x + equRect.width; width 1706 modules/objdetect/src/haar.cpp + equRect.x + equRect.width; width 1716 modules/objdetect/src/haar.cpp endX = cvRound((scanROI.x + scanROI.width - winSize.width) / ystep); width 1745 modules/objdetect/src/haar.cpp int dx = cvRound(maxRect.width*GROUP_EPS); width 1749 modules/objdetect/src/haar.cpp scanROI.width = std::min(scanROI.width + dx*2, img->cols-1-scanROI.x); width 1753 modules/objdetect/src/haar.cpp minSize.width = cvRound(maxRect.width*minScale); width 1879 modules/objdetect/src/haar.cpp &r.x, &r.y, &r.width, &r.height, &band, width 2078 modules/objdetect/src/haar.cpp cascade->orig_window_size.width = fn->data.i; width 2207 modules/objdetect/src/haar.cpp || r.x + fn->data.i > cascade->orig_window_size.width ) width 2214 modules/objdetect/src/haar.cpp r.width = fn->data.i; width 2405 modules/objdetect/src/haar.cpp cvWriteInt( fs, NULL, cascade->orig_window_size.width ); width 2444 modules/objdetect/src/haar.cpp for( l = 0; l < CV_HAAR_FEATURE_MAX && feature->rect[l].r.width != 0; ++l ) width 2449 modules/objdetect/src/haar.cpp cvWriteInt( fs, NULL, feature->rect[l].r.width ); width 76 modules/objdetect/src/hog.cpp return Size(numPartsWithin(size.width, part_size.width, stride.width), width 82 modules/objdetect/src/hog.cpp Size cells_per_block = Size(block_size.width / cell_size.width, width 89 modules/objdetect/src/hog.cpp CV_Assert(blockSize.width % cellSize.width == 0 && width 91 modules/objdetect/src/hog.cpp CV_Assert((winSize.width - blockSize.width) % blockStride.width == 0 && width 95 modules/objdetect/src/hog.cpp (blockSize.width/cellSize.width)* width 97 modules/objdetect/src/hog.cpp ((winSize.width - blockSize.width)/blockStride.width + 1)* width 103 modules/objdetect/src/hog.cpp return winSigma >= 0 ? winSigma : (blockSize.width + blockSize.height)/8.; width 125 modules/objdetect/src/hog.cpp for (int j = 0; j < blocks_per_img.width; ++j) width 128 modules/objdetect/src/hog.cpp float *dst = detector_reordered.ptr<float>() + (i * blocks_per_img.width + j) * block_hist_size; width 144 modules/objdetect/src/hog.cpp it >> winSize.width >> winSize.height; width 146 modules/objdetect/src/hog.cpp it >> blockSize.width >> blockSize.height; width 148 modules/objdetect/src/hog.cpp it >> blockStride.width >> blockStride.height; width 150 modules/objdetect/src/hog.cpp it >> cellSize.width >> cellSize.height; width 230 modules/objdetect/src/hog.cpp Size gradsize(img.cols + paddingTL.width + paddingBR.width, width 271 modules/objdetect/src/hog.cpp AutoBuffer<int> mapbuf(gradsize.width + gradsize.height + 4); width 273 modules/objdetect/src/hog.cpp int* ymap = xmap + gradsize.width + 2; width 277 modules/objdetect/src/hog.cpp for( x = -1; x < gradsize.width + 1; x++ ) width 278 modules/objdetect/src/hog.cpp xmap[x] = borderInterpolate(x - paddingTL.width + roiofs.x, width 279 modules/objdetect/src/hog.cpp wholeSize.width, borderType) - roiofs.x; width 285 modules/objdetect/src/hog.cpp int width = gradsize.width; width 286 modules/objdetect/src/hog.cpp AutoBuffer<float> _dbuf(width*4); width 288 modules/objdetect/src/hog.cpp Mat Dx(1, width, CV_32F, dbuf); width 289 modules/objdetect/src/hog.cpp Mat Dy(1, width, CV_32F, dbuf + width); width 290 modules/objdetect/src/hog.cpp Mat Mag(1, width, CV_32F, dbuf + width*2); width 291 modules/objdetect/src/hog.cpp Mat Angle(1, width, CV_32F, dbuf + width*3); width 295 modules/objdetect/src/hog.cpp int end = gradsize.width + 2; width 322 modules/objdetect/src/hog.cpp for( x = 0; x < width; x++ ) width 326 modules/objdetect/src/hog.cpp dbuf[width + x] = (float)(lut[nextPtr[x1]] - lut[prevPtr[x1]]); width 333 modules/objdetect/src/hog.cpp for( ; x <= width - 4; x += 4 ) width 369 modules/objdetect/src/hog.cpp _mm_storeu_ps(dbuf + x + width, _dy2); width 372 modules/objdetect/src/hog.cpp for( ; x < width; x++ ) width 404 modules/objdetect/src/hog.cpp dbuf[x+width] = dy0; width 418 modules/objdetect/src/hog.cpp for ( ; x <= width - 4; x += 4) width 421 modules/objdetect/src/hog.cpp __m128 _mag = _mm_loadu_ps(dbuf + x + (width << 1)); width 422 modules/objdetect/src/hog.cpp __m128 _angle = _mm_loadu_ps(dbuf + x + width * 3); width 453 modules/objdetect/src/hog.cpp for( ; x < width; x++ ) width 455 modules/objdetect/src/hog.cpp float mag = dbuf[x+width*2], angle = dbuf[x+width*3]*angleScale - 0.5f; width 559 modules/objdetect/src/hog.cpp int rawBlockSize = blockSize.width*blockSize.height; width 561 modules/objdetect/src/hog.cpp nblocks = Size((winSize.width - blockSize.width)/blockStride.width + 1, width 563 modules/objdetect/src/hog.cpp ncells = Size(blockSize.width/cellSize.width, blockSize.height/cellSize.height); width 564 modules/objdetect/src/hog.cpp blockHistogramSize = ncells.width*ncells.height*nbins; width 568 modules/objdetect/src/hog.cpp Size cacheSize((grad.cols - blockSize.width)/cacheStride.width+1, width 571 modules/objdetect/src/hog.cpp blockCache.create(cacheSize.height, cacheSize.width*blockHistogramSize); width 585 modules/objdetect/src/hog.cpp AutoBuffer<float> di(blockSize.height), dj(blockSize.width); width 587 modules/objdetect/src/hog.cpp float bh = blockSize.height * 0.5f, bw = blockSize.width * 0.5f; width 613 modules/objdetect/src/hog.cpp for (; j <= blockSize.width - 4; j += 4) width 621 modules/objdetect/src/hog.cpp for ( ; j < blockSize.width; ++j) width 628 modules/objdetect/src/hog.cpp for(j = 0; j < blockSize.width; j++) width 632 modules/objdetect/src/hog.cpp blockData.resize(nblocks.width*nblocks.height); width 661 modules/objdetect/src/hog.cpp for( j = 0; j < blockSize.width; j++ ) width 665 modules/objdetect/src/hog.cpp float cellX = (j+0.5f)/cellSize.width - 0.5f; width 673 modules/objdetect/src/hog.cpp if( (unsigned)icellX0 < (unsigned)ncells.width && width 674 modules/objdetect/src/hog.cpp (unsigned)icellX1 < (unsigned)ncells.width ) width 707 modules/objdetect/src/hog.cpp if( (unsigned)icellX0 < (unsigned)ncells.width ) width 753 modules/objdetect/src/hog.cpp for( j = 0; j < nblocks.width; j++ ) width 758 modules/objdetect/src/hog.cpp data.imgOffset = Point(j*blockStride.width,i*blockStride.height); width 775 modules/objdetect/src/hog.cpp CV_Assert( pt.x % cacheStride.width == 0 && width 777 modules/objdetect/src/hog.cpp Point cacheIdx(pt.x/cacheStride.width, width 1058 modules/objdetect/src/hog.cpp return Size((imageSize.width - winSize.width)/winStride.width + 1, width 1064 modules/objdetect/src/hog.cpp int nwindowsX = (imageSize.width - winSize.width)/winStride.width + 1; width 1067 modules/objdetect/src/hog.cpp return Rect( x*winStride.width, y*winStride.height, winSize.width, winSize.height ); width 1085 modules/objdetect/src/hog.cpp static bool ocl_compute_gradients_8UC1(int height, int width, InputArray _img, float angle_scale, width 1095 modules/objdetect/src/hog.cpp size_t globalThreads[3] = { width, height, 1 }; width 1103 modules/objdetect/src/hog.cpp idx = k.set(idx, width); width 1121 modules/objdetect/src/hog.cpp return ocl_compute_gradients_8UC1(effect_size.height, effect_size.width, img, width 1130 modules/objdetect/src/hog.cpp static bool ocl_compute_hists(int nbins, int block_stride_x, int block_stride_y, int height, int width, width 1146 modules/objdetect/src/hog.cpp int img_block_width = (width - CELLS_PER_BLOCK_X * CELL_WIDTH + block_stride_x)/block_stride_x; width 1191 modules/objdetect/src/hog.cpp int height, int width, UMat block_hists, float threshold) width 1194 modules/objdetect/src/hog.cpp int img_block_width = (width - CELLS_PER_BLOCK_X * CELL_WIDTH + block_stride_x) width 1258 modules/objdetect/src/hog.cpp int height, int width, UMat block_hists, UMat descriptors, width 1267 modules/objdetect/src/hog.cpp int img_win_width = (width - win_width + win_stride_x) / win_stride_x; width 1269 modules/objdetect/src/hog.cpp int img_block_width = (width - CELLS_PER_BLOCK_X * CELL_WIDTH + block_stride_x) / width 1292 modules/objdetect/src/hog.cpp int height, int width, UMat block_hists, UMat descriptors, width 1301 modules/objdetect/src/hog.cpp int img_win_width = (width - win_width + win_stride_x) / win_stride_x; width 1303 modules/objdetect/src/hog.cpp int img_block_width = (width - CELLS_PER_BLOCK_X * CELL_WIDTH + block_stride_x) / width 1358 modules/objdetect/src/hog.cpp if(!ocl_compute_hists(nbins, blockStride.width, blockStride.height, effect_size.height, width 1359 modules/objdetect/src/hog.cpp effect_size.width, grad, qangle, gauss_w_lut, block_hists, block_hist_size)) width 1362 modules/objdetect/src/hog.cpp if(!ocl_normalize_hists(nbins, blockStride.width, blockStride.height, effect_size.height, width 1363 modules/objdetect/src/hog.cpp effect_size.width, block_hists, (float)L2HysThreshold)) width 1370 modules/objdetect/src/hog.cpp int descr_width = (int)block_hist_size*blocks_per_win.width; width 1376 modules/objdetect/src/hog.cpp if(!ocl_extract_descrs_by_rows(winSize.height, winSize.width, width 1377 modules/objdetect/src/hog.cpp blockStride.height, blockStride.width, win_stride.height, win_stride.width, effect_size.height, width 1378 modules/objdetect/src/hog.cpp effect_size.width, block_hists, descriptors, (int)block_hist_size, descr_size, descr_width)) width 1382 modules/objdetect/src/hog.cpp if(!ocl_extract_descrs_by_cols(winSize.height, winSize.width, width 1383 modules/objdetect/src/hog.cpp blockStride.height, blockStride.width, win_stride.height, win_stride.width, effect_size.height, effect_size.width, width 1384 modules/objdetect/src/hog.cpp block_hists, descriptors, (int)block_hist_size, descr_size, blocks_per_win.width, blocks_per_win.height)) width 1400 modules/objdetect/src/hog.cpp Size cacheStride(gcd(winStride.width, blockStride.width), width 1406 modules/objdetect/src/hog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); width 1408 modules/objdetect/src/hog.cpp Size paddedImgSize(imgSize.width + padding.width*2, imgSize.height + padding.height*2); width 1436 modules/objdetect/src/hog.cpp if( pt0.x < -padding.width || pt0.x > img.cols + padding.width - winSize.width || width 1470 modules/objdetect/src/hog.cpp Size cacheStride(gcd(winStride.width, blockStride.width), width 1474 modules/objdetect/src/hog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); width 1476 modules/objdetect/src/hog.cpp Size paddedImgSize(img.cols + padding.width*2, img.rows + padding.height*2); width 1502 modules/objdetect/src/hog.cpp if( pt0.x < -padding.width || pt0.x > img.cols + padding.width - winSize.width || width 1509 modules/objdetect/src/hog.cpp CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0); width 1601 modules/objdetect/src/hog.cpp Size scaledWinSize = Size(cvRound(hog->winSize.width*scale), cvRound(hog->winSize.height*scale)); width 1608 modules/objdetect/src/hog.cpp scaledWinSize.width, scaledWinSize.height)); width 1640 modules/objdetect/src/hog.cpp int win_stride_y, int win_stride_x, int height, int width, width 1650 modules/objdetect/src/hog.cpp switch (descr_size.width) width 1664 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_size.width); width 1680 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_size.width); width 1702 modules/objdetect/src/hog.cpp int img_win_width = (width - win_width + win_stride_x) / win_stride_x; width 1704 modules/objdetect/src/hog.cpp int img_block_width = (width - CELLS_PER_BLOCK_X * CELL_WIDTH + block_stride_x) / width 1760 modules/objdetect/src/hog.cpp if(!ocl_compute_hists(nbins, blockStride.width, blockStride.height, effect_size.height, width 1761 modules/objdetect/src/hog.cpp effect_size.width, grad, qangle, gauss_w_lut, block_hists, block_hist_size)) width 1764 modules/objdetect/src/hog.cpp if(!ocl_normalize_hists(nbins, blockStride.width, blockStride.height, effect_size.height, width 1765 modules/objdetect/src/hog.cpp effect_size.width, block_hists, (float)L2HysThreshold)) width 1770 modules/objdetect/src/hog.cpp Size descr_size((int)block_hist_size*blocks_per_win.width, blocks_per_win.height); width 1772 modules/objdetect/src/hog.cpp if(!ocl_classify_hists(winSize.height, winSize.width, blockStride.height, width 1773 modules/objdetect/src/hog.cpp blockStride.width, win_stride.height, win_stride.width, width 1774 modules/objdetect/src/hog.cpp effect_size.height, effect_size.width, block_hists, oclSvmDetector, width 1782 modules/objdetect/src/hog.cpp int y = i / wins_per_img.width; width 1783 modules/objdetect/src/hog.cpp int x = i - wins_per_img.width * y; width 1786 modules/objdetect/src/hog.cpp hits.push_back(Point(x * win_stride.width, y * win_stride.height)); width 1807 modules/objdetect/src/hog.cpp Size effect_size = Size(cvRound(imgSize.width / scale), cvRound(imgSize.height / scale)); width 1821 modules/objdetect/src/hog.cpp Size scaled_win_size(cvRound(winSize.width * scale), width 1847 modules/objdetect/src/hog.cpp if( cvRound(imgSize.width/scale) < winSize.width || width 1859 modules/objdetect/src/hog.cpp CV_OCL_RUN(_img.dims() <= 2 && _img.type() == CV_8UC1 && scale0 > 1 && winStride.width % blockStride.width == 0 && width 3307 modules/objdetect/src/hog.cpp Size scaledWinSize = Size(cvRound(hog->winSize.width*scale), cvRound(hog->winSize.height*scale)); width 3312 modules/objdetect/src/hog.cpp scaledWinSize.width, scaledWinSize.height)); width 3338 modules/objdetect/src/hog.cpp Size cacheStride(gcd(winStride.width, blockStride.width), width 3342 modules/objdetect/src/hog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); width 3344 modules/objdetect/src/hog.cpp Size paddedImgSize(img.cols + padding.width*2, img.rows + padding.height*2); width 3368 modules/objdetect/src/hog.cpp if( pt0.x < -padding.width || pt0.x > img.cols + padding.width - winSize.width || width 3549 modules/objdetect/src/hog.cpp rrects[cls].width += rectList[i].width; width 3562 modules/objdetect/src/hog.cpp cv::saturate_cast<double>(r.width*s), width 3586 modules/objdetect/src/hog.cpp int dx = cv::saturate_cast<int>( r2.width * eps ); width 3591 modules/objdetect/src/hog.cpp r1.x + r1.width <= r2.x + r2.width + dx && width 102 modules/objdetect/test/opencl/test_hogdetector.cpp if (winSize.width == 48 && winSize.height == 96) width 288 modules/objdetect/test/test_cascadeandhog.cpp validationFS << it->x << it->y << it->width << it->height; width 309 modules/objdetect/test/test_cascadeandhog.cpp float dist = min(imgSize.height, imgSize.width) * eps.dist; width 310 modules/objdetect/test/test_cascadeandhog.cpp float wDiff = imgSize.width * eps.s; width 326 modules/objdetect/test/test_cascadeandhog.cpp it2 >> r.x >> r.y >> r.width >> r.height; width 338 modules/objdetect/test/test_cascadeandhog.cpp Point2f cp1 = Point2f( cr->x + (float)cr->width/2.0f, cr->y + (float)cr->height/2.0f ); width 340 modules/objdetect/test/test_cascadeandhog.cpp float minDist = (float)norm( Point(imgSize.width, imgSize.height) ); width 344 modules/objdetect/test/test_cascadeandhog.cpp Point2f cp2 = Point2f( vr->x + (float)vr->width/2.0f, vr->y + (float)vr->height/2.0f ); width 359 modules/objdetect/test/test_cascadeandhog.cpp if( map[minIdx] != 0 || (minDist > dist) || (abs(cr->width - vr.width) > wDiff) || width 663 modules/objdetect/test/test_cascadeandhog.cpp int rawBlockSize = blockSize.width*blockSize.height; width 665 modules/objdetect/test/test_cascadeandhog.cpp nblocks = Size((winSize.width - blockSize.width)/blockStride.width + 1, width 667 modules/objdetect/test/test_cascadeandhog.cpp ncells = Size(blockSize.width/cellSize.width, blockSize.height/cellSize.height); width 668 modules/objdetect/test/test_cascadeandhog.cpp blockHistogramSize = ncells.width*ncells.height*nbins; width 672 modules/objdetect/test/test_cascadeandhog.cpp Size cacheSize((grad.cols - blockSize.width)/cacheStride.width+1, width 674 modules/objdetect/test/test_cascadeandhog.cpp blockCache.create(cacheSize.height, cacheSize.width*blockHistogramSize); width 687 modules/objdetect/test/test_cascadeandhog.cpp for(j = 0; j < blockSize.width; j++) width 690 modules/objdetect/test/test_cascadeandhog.cpp float dj = j - blockSize.width*0.5f; width 694 modules/objdetect/test/test_cascadeandhog.cpp blockData.resize(nblocks.width*nblocks.height); width 722 modules/objdetect/test/test_cascadeandhog.cpp for( j = 0; j < blockSize.width; j++ ) width 726 modules/objdetect/test/test_cascadeandhog.cpp float cellX = (j+0.5f)/cellSize.width - 0.5f; width 734 modules/objdetect/test/test_cascadeandhog.cpp if( (unsigned)icellX0 < (unsigned)ncells.width && width 735 modules/objdetect/test/test_cascadeandhog.cpp (unsigned)icellX1 < (unsigned)ncells.width ) width 768 modules/objdetect/test/test_cascadeandhog.cpp if( (unsigned)icellX0 < (unsigned)ncells.width ) width 814 modules/objdetect/test/test_cascadeandhog.cpp for( j = 0; j < nblocks.width; j++ ) width 819 modules/objdetect/test/test_cascadeandhog.cpp data.imgOffset = Point(j*blockStride.width,i*blockStride.height); width 831 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert( (unsigned)pt.x <= (unsigned)(grad.cols - blockSize.width) && width 836 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert( pt.x % cacheStride.width == 0 && width 838 modules/objdetect/test/test_cascadeandhog.cpp Point cacheIdx(pt.x/cacheStride.width, width 983 modules/objdetect/test/test_cascadeandhog.cpp return Size((imageSize.width - winSize.width)/winStride.width + 1, width 989 modules/objdetect/test/test_cascadeandhog.cpp int nwindowsX = (imageSize.width - winSize.width)/winStride.width + 1; width 992 modules/objdetect/test/test_cascadeandhog.cpp return Rect( x*winStride.width, y*winStride.height, winSize.width, winSize.height ); width 1015 modules/objdetect/test/test_cascadeandhog.cpp Size cacheStride(gcd(winStride.width, blockStride.width), width 1018 modules/objdetect/test/test_cascadeandhog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); width 1020 modules/objdetect/test/test_cascadeandhog.cpp Size paddedImgSize(img.cols + padding.width*2, img.rows + padding.height*2); width 1042 modules/objdetect/test/test_cascadeandhog.cpp if( pt0.x < -padding.width || pt0.x > img.cols + padding.width - winSize.width || width 1049 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0); width 1117 modules/objdetect/test/test_cascadeandhog.cpp Size cacheStride(gcd(winStride.width, blockStride.width), width 1120 modules/objdetect/test/test_cascadeandhog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); width 1122 modules/objdetect/test/test_cascadeandhog.cpp Size paddedImgSize(img.cols + padding.width*2, img.rows + padding.height*2); width 1144 modules/objdetect/test/test_cascadeandhog.cpp if( pt0.x < -padding.width || pt0.x > img.cols + padding.width - winSize.width || width 1151 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0); width 1190 modules/objdetect/test/test_cascadeandhog.cpp Size gradsize(img.cols + paddingTL.width + paddingBR.width, width 1211 modules/objdetect/test/test_cascadeandhog.cpp AutoBuffer<int> mapbuf(gradsize.width + gradsize.height + 4); width 1213 modules/objdetect/test/test_cascadeandhog.cpp int* ymap = xmap + gradsize.width + 2; width 1217 modules/objdetect/test/test_cascadeandhog.cpp for( x = -1; x < gradsize.width + 1; x++ ) width 1218 modules/objdetect/test/test_cascadeandhog.cpp xmap[x] = borderInterpolate(x - paddingTL.width + roiofs.x, width 1219 modules/objdetect/test/test_cascadeandhog.cpp wholeSize.width, borderType) - roiofs.x; width 1225 modules/objdetect/test/test_cascadeandhog.cpp int width = gradsize.width; width 1226 modules/objdetect/test/test_cascadeandhog.cpp AutoBuffer<float> _dbuf(width*4); width 1228 modules/objdetect/test/test_cascadeandhog.cpp Mat Dx(1, width, CV_32F, dbuf); width 1229 modules/objdetect/test/test_cascadeandhog.cpp Mat Dy(1, width, CV_32F, dbuf + width); width 1230 modules/objdetect/test/test_cascadeandhog.cpp Mat Mag(1, width, CV_32F, dbuf + width*2); width 1231 modules/objdetect/test/test_cascadeandhog.cpp Mat Angle(1, width, CV_32F, dbuf + width*3); width 1245 modules/objdetect/test/test_cascadeandhog.cpp for( x = 0; x < width; x++ ) width 1249 modules/objdetect/test/test_cascadeandhog.cpp dbuf[width + x] = (float)(lut[nextPtr[x1]] - lut[prevPtr[x1]]); width 1254 modules/objdetect/test/test_cascadeandhog.cpp for( x = 0; x < width; x++ ) width 1288 modules/objdetect/test/test_cascadeandhog.cpp dbuf[x+width] = dy0; width 1293 modules/objdetect/test/test_cascadeandhog.cpp for( x = 0; x < width; x++ ) width 1295 modules/objdetect/test/test_cascadeandhog.cpp float mag = dbuf[x+width*2], angle = dbuf[x+width*3]*angleScale - 0.5f; width 1348 modules/objdetect/test/test_cascadeandhog.cpp Size ssize(rng.uniform(1, 10) * actual_hog.winSize.width, width 1384 modules/objdetect/test/test_cascadeandhog.cpp int width = rng.uniform(1, 100); width 1386 modules/objdetect/test/test_cascadeandhog.cpp Mat img(height, width, CV_8U); width 29 modules/photo/perf/perf_inpaint.cpp Rect inpaintArea(src.cols/3, src.rows/3, sz.width, sz.height); width 168 modules/photo/src/align.cpp int width = src.cols - abs(shift.x); width 170 modules/photo/src/align.cpp Rect dst_rect(max(shift.x, 0), max(shift.y, 0), width, height); width 171 modules/photo/src/align.cpp Rect src_rect(max(-shift.x, 0), max(-shift.y, 0), width, height); width 139 modules/photo/src/contrast_preserve.hpp int w=img.size().width; width 149 modules/photo/src/contrast_preserve.hpp int w=img.size().width; width 159 modules/photo/src/contrast_preserve.hpp Mat dest= Mat(img.size().height,img.size().width, CV_32FC1); width 160 modules/photo/src/contrast_preserve.hpp Mat dest1= Mat(img.size().height,img.size().width, CV_32FC1); width 168 modules/photo/src/contrast_preserve.hpp int width = d_trans.size().width; width 171 modules/photo/src/contrast_preserve.hpp for(int j=0;j<width;j++) width 175 modules/photo/src/contrast_preserve.hpp for(int j=0;j<width;j++) width 231 modules/photo/src/contrast_preserve.hpp int w = img.size().width; width 306 modules/photo/src/contrast_preserve.hpp int w = img.size().width; width 316 modules/photo/src/contrast_preserve.hpp w = img.size().width; width 396 modules/photo/src/contrast_preserve.hpp int w=img.size().width; width 119 modules/photo/src/denoising.cpp src_size.width > 5 && src_size.height > 5, // low accuracy on small sizes width 181 modules/photo/src/denoising.cpp src_size.width > 5 && src_size.height > 5, // low accuracy on small sizes width 99 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int nblocksx = divUp(size.width, BLOCK_COLS), nblocksy = divUp(size.height, BLOCK_ROWS); width 148 modules/photo/src/fast_nlmeans_denoising_opencl.hpp srcex.create(size.height + 2*borderSize, size.width + 2*borderSize, CV_MAKE_TYPE(depth, 4)); width 149 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat src(srcex, Rect(borderSize, borderSize, size.width, size.height)); width 166 modules/photo/src/fast_nlmeans_denoising_opencl.hpp Size upColSumSize(size.width, searchWindowSizeSq * nblocksy); width 52 modules/photo/src/hdr_common.cpp int width = images[0].cols; width 57 modules/photo/src/hdr_common.cpp CV_Assert(images[i].cols == width && images[i].rows == height); width 214 modules/photo/src/merge.cpp int maxlevel = static_cast<int>(logf(static_cast<float>(min(size.width, size.height))) / logf(2.0f)); width 59 modules/photo/src/npr.cpp int w = I.size().width; width 81 modules/photo/src/npr.cpp int w = I.size().width; width 153 modules/photo/src/npr.cpp int w = img.size().width; width 78 modules/photo/src/npr.hpp for(int j = 0; j < img.size().width-1; j++) width 93 modules/photo/src/npr.hpp for(int j = 0; j < img.size().width; j++) width 400 modules/photo/src/npr.hpp int w = img.size().width; width 482 modules/photo/src/npr.hpp int w = img.size().width; width 539 modules/photo/src/npr.hpp int w = img.size().width; width 60 modules/photo/src/seamless_cloning.cpp int w = mask.size().width; width 79 modules/photo/test/test_cloning.cpp p.x = destination.size().width/2; width 110 modules/photo/test/test_cloning.cpp p.x = destination.size().width/2; width 142 modules/photo/test/test_cloning.cpp p.x = destination.size().width/2; width 612 modules/python/src2/cv2.cpp return PyArg_ParseTuple(obj, "ii", &sz.width, &sz.height) > 0; width 618 modules/python/src2/cv2.cpp return Py_BuildValue("(ii)", sz.width, sz.height); width 627 modules/python/src2/cv2.cpp return PyArg_ParseTuple(obj, "iiii", &r.x, &r.y, &r.width, &r.height) > 0; width 633 modules/python/src2/cv2.cpp return Py_BuildValue("(iiii)", r.x, r.y, r.width, r.height); width 995 modules/python/src2/cv2.cpp return PyArg_ParseTuple(obj, "(ff)(ff)f", &dst.center.x, &dst.center.y, &dst.size.width, &dst.size.height, &dst.angle) > 0; width 1001 modules/python/src2/cv2.cpp return Py_BuildValue("((ff)(ff)f)", src.center.x, src.center.y, src.size.width, src.size.height, src.angle); width 100 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); width 117 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp CV_Assert(src_br.x - src_tl.x + 1 == size.width && src_br.y - src_tl.y + 1 == size.height); width 125 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp for (int x = 0; x < dst_size.width; ++x) width 161 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp for (int x = 0; x < src_size.width; ++x) width 185 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp for (float x = 0; x < src_size.width; ++x) width 201 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.mapForward(static_cast<float>(src_size.width - 1), static_cast<float>(y), u, v); width 61 modules/stitching/perf/opencl/perf_stitch.cpp EXPECT_NEAR(pano.size().width, 1182, 50); width 98 modules/stitching/perf/opencl/perf_stitch.cpp EXPECT_NEAR(pano.size().width, 1124, 50); width 140 modules/stitching/perf/opencl/perf_stitch.cpp EXPECT_NEAR(pano.size().width, 10789, 200); width 75 modules/stitching/perf/opencl/perf_warpers.cpp K.at<float>(0,0) = (float)srcSize.width; width 76 modules/stitching/perf/opencl/perf_warpers.cpp K.at<float>(0,2) = (float)srcSize.width/2; width 81 modules/stitching/perf/opencl/perf_warpers.cpp float scale = (float)srcSize.width; width 110 modules/stitching/perf/opencl/perf_warpers.cpp ellipse(src, Point(srcSize.width/2, srcSize.height/2), Size(srcSize.width/2, srcSize.height/2), width 112 modules/stitching/perf/opencl/perf_warpers.cpp ellipse(src, Point(srcSize.width/2, srcSize.height/2), Size(srcSize.width/3, srcSize.height/3), width 114 modules/stitching/perf/opencl/perf_warpers.cpp rectangle(src, Point(10, 10), Point(srcSize.width - 10, srcSize.height - 10), Scalar::all(128), 2); width 59 modules/stitching/perf/perf_stich.cpp EXPECT_NEAR(pano.size().width, 1182, 50); width 138 modules/stitching/src/autocalib.cpp focals_sum += features[i].img_size.width + features[i].img_size.height; width 222 modules/stitching/src/blenders.cpp double max_len = static_cast<double>(std::max(dst_roi.width, dst_roi.height)); width 226 modules/stitching/src/blenders.cpp dst_roi.width += ((1 << num_bands_) - dst_roi.width % (1 << num_bands_)) % (1 << num_bands_); width 299 modules/stitching/src/blenders.cpp int width = br_new.x - tl_new.x; width 301 modules/stitching/src/blenders.cpp width += ((1 << num_bands_) - width % (1 << num_bands_)) % (1 << num_bands_); width 303 modules/stitching/src/blenders.cpp br_new.x = tl_new.x + width; width 389 modules/stitching/src/blenders.cpp for (int x = 0; x < rc.width; ++x) width 442 modules/stitching/src/blenders.cpp Rect dst_rc(0, 0, dst_roi_final_.width, dst_roi_final_.height); width 110 modules/stitching/src/exposure_compensate.cpp for (int x = 0; x < roi.width; ++x) width 180 modules/stitching/src/exposure_compensate.cpp int bl_width = (images[img_idx].cols + bl_per_img.width - 1) / bl_per_img.width; width 185 modules/stitching/src/exposure_compensate.cpp for (int bx = 0; bx < bl_per_img.width; ++bx) width 216 modules/stitching/src/exposure_compensate.cpp for (int bx = 0; bx < bl_per_img.width; ++bx, ++bl_idx) width 420 modules/stitching/src/matchers.cpp for (int c = 0; c < grid_size.width; ++c) width 422 modules/stitching/src/matchers.cpp int xl = c * gray_image.cols / grid_size.width; width 424 modules/stitching/src/matchers.cpp int xr = (c+1) * gray_image.cols / grid_size.width; width 594 modules/stitching/src/matchers.cpp p.x -= features1.img_size.width * 0.5f; width 599 modules/stitching/src/matchers.cpp p.x -= features2.img_size.width * 0.5f; width 639 modules/stitching/src/matchers.cpp p.x -= features1.img_size.width * 0.5f; width 644 modules/stitching/src/matchers.cpp p.x -= features2.img_size.width * 0.5f; width 151 modules/stitching/src/motion_estimators.cpp cameras[i].ppx -= 0.5 * features[i].img_size.width; width 165 modules/stitching/src/motion_estimators.cpp cameras[i].ppx += 0.5 * features[i].img_size.width; width 537 modules/stitching/src/motion_estimators.cpp K1(0,0) = f1; K1(0,2) = features1.img_size.width * 0.5; width 541 modules/stitching/src/motion_estimators.cpp K2(0,0) = f2; K2(0,2) = features2.img_size.width * 0.5; width 114 modules/stitching/src/seam_finders.cpp Mat submask1(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); width 115 modules/stitching/src/seam_finders.cpp Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); width 124 modules/stitching/src/seam_finders.cpp for (int x = -gap; x < roi.width + gap; ++x) width 128 modules/stitching/src/seam_finders.cpp if (y1 >= 0 && x1 >= 0 && y1 < img1.height && x1 < img1.width) width 135 modules/stitching/src/seam_finders.cpp if (y2 >= 0 && x2 >= 0 && y2 < img2.height && x2 < img2.width) width 154 modules/stitching/src/seam_finders.cpp for (int x = 0; x < roi.width; ++x) width 240 modules/stitching/src/seam_finders.cpp for (int x = 0; x < unionSize_.width; ++x) width 243 modules/stitching/src/seam_finders.cpp ((x == 0 || !mask1_(y, x-1)) || (x == unionSize_.width-1 || !mask1_(y, x+1)) || width 250 modules/stitching/src/seam_finders.cpp ((x == 0 || !mask2_(y, x-1)) || (x == unionSize_.width-1 || !mask2_(y, x+1)) || width 279 modules/stitching/src/seam_finders.cpp for (int x = 0; x < unionSize_.width; ++x) width 294 modules/stitching/src/seam_finders.cpp for (int x = 0; x < unionSize_.width; ++x) width 321 modules/stitching/src/seam_finders.cpp if ((x == 0 || labels_(y, x-1) != l) || (x == unionSize_.width-1 || labels_(y, x+1) != l) || width 367 modules/stitching/src/seam_finders.cpp if (x < unionSize_.width-1 && labels_(y, x+1) && labels_(y, x+1) != l) width 482 modules/stitching/src/seam_finders.cpp if ((x == 0 || labels_(y, x-1) != l[i]) || (x == unionSize_.width-1 || labels_(y, x+1) != l[i]) || width 571 modules/stitching/src/seam_finders.cpp if (x + dx >= 0 && x + dx < unionSize_.width && width 602 modules/stitching/src/seam_finders.cpp (x < unionSize_.width-1 && labels_(y, x+1) == l2) || width 740 modules/stitching/src/seam_finders.cpp costV.create(roi.height, roi.width+1); width 764 modules/stitching/src/seam_finders.cpp costH.create(roi.height+1, roi.width); width 869 modules/stitching/src/seam_finders.cpp for (int x = 0; x < roi.width; ++x) width 881 modules/stitching/src/seam_finders.cpp if (x < roi.width-1 && reachable(y-1, x+1)) width 1028 modules/stitching/src/seam_finders.cpp (x < unionSize_.width-1 && labels_(y, x+1) == l2) || width 1036 modules/stitching/src/seam_finders.cpp (x < unionSize_.width-1 && labels_(y, x+1) != l1 && labels_(y, x+1) != l2) || width 1124 modules/stitching/src/seam_finders.cpp for (int x = 0; x < img_size.width; ++x) width 1136 modules/stitching/src/seam_finders.cpp for (int x = 0; x < img_size.width; ++x) width 1138 modules/stitching/src/seam_finders.cpp int v = y * img_size.width + x; width 1139 modules/stitching/src/seam_finders.cpp if (x < img_size.width - 1) width 1157 modules/stitching/src/seam_finders.cpp graph.addEdges(v, v + img_size.width, weight, weight); width 1174 modules/stitching/src/seam_finders.cpp for (int x = 0; x < img_size.width; ++x) width 1186 modules/stitching/src/seam_finders.cpp for (int x = 0; x < img_size.width; ++x) width 1188 modules/stitching/src/seam_finders.cpp int v = y * img_size.width + x; width 1189 modules/stitching/src/seam_finders.cpp if (x < img_size.width - 1) width 1211 modules/stitching/src/seam_finders.cpp graph.addEdges(v, v + img_size.width, weight, weight); width 1227 modules/stitching/src/seam_finders.cpp Mat subimg1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32FC3); width 1228 modules/stitching/src/seam_finders.cpp Mat subimg2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32FC3); width 1229 modules/stitching/src/seam_finders.cpp Mat submask1(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); width 1230 modules/stitching/src/seam_finders.cpp Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); width 1231 modules/stitching/src/seam_finders.cpp Mat subdx1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F); width 1232 modules/stitching/src/seam_finders.cpp Mat subdy1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F); width 1233 modules/stitching/src/seam_finders.cpp Mat subdx2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F); width 1234 modules/stitching/src/seam_finders.cpp Mat subdy2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F); width 1239 modules/stitching/src/seam_finders.cpp for (int x = -gap; x < roi.width + gap; ++x) width 1277 modules/stitching/src/seam_finders.cpp const int vertex_count = (roi.height + 2 * gap) * (roi.width + 2 * gap); width 1278 modules/stitching/src/seam_finders.cpp const int edge_count = (roi.height - 1 + 2 * gap) * (roi.width + 2 * gap) + width 1279 modules/stitching/src/seam_finders.cpp (roi.width - 1 + 2 * gap) * (roi.height + 2 * gap); width 1299 modules/stitching/src/seam_finders.cpp for (int x = 0; x < roi.width; ++x) width 1301 modules/stitching/src/seam_finders.cpp if (graph.inSourceSegment((y + gap) * (roi.width + 2 * gap) + x + gap)) width 1370 modules/stitching/src/seam_finders.cpp Mat subimg1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32FC3); width 1371 modules/stitching/src/seam_finders.cpp Mat subimg2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32FC3); width 1372 modules/stitching/src/seam_finders.cpp Mat submask1(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); width 1373 modules/stitching/src/seam_finders.cpp Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); width 1374 modules/stitching/src/seam_finders.cpp Mat subdx1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F); width 1375 modules/stitching/src/seam_finders.cpp Mat subdy1(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F); width 1376 modules/stitching/src/seam_finders.cpp Mat subdx2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F); width 1377 modules/stitching/src/seam_finders.cpp Mat subdy2(roi.height + 2 * gap, roi.width + 2 * gap, CV_32F); width 1382 modules/stitching/src/seam_finders.cpp for (int x = -gap; x < roi.width + gap; ++x) width 1448 modules/stitching/src/seam_finders.cpp for (int x = 0; x < roi.width; ++x) width 1471 modules/stitching/src/seam_finders.cpp leftT.create(Size(img_size.height, img_size.width), CV_32S); width 1472 modules/stitching/src/seam_finders.cpp rightT.create(Size(img_size.height, img_size.width), CV_32S); width 1485 modules/stitching/src/seam_finders.cpp for (int x = 0; x < img_size.width; ++x) width 1497 modules/stitching/src/seam_finders.cpp for (int x = 0; x < img_size.width; ++x) width 1512 modules/stitching/src/seam_finders.cpp if (x < img_size.width - 1) width 1563 modules/stitching/src/seam_finders.cpp leftT.create(Size(img_size.height, img_size.width), CV_32S); width 1564 modules/stitching/src/seam_finders.cpp rightT.create(Size(img_size.height, img_size.width), CV_32S); width 1577 modules/stitching/src/seam_finders.cpp for (int x = 0; x < img_size.width; ++x) width 1589 modules/stitching/src/seam_finders.cpp for (int x = 0; x < img_size.width; ++x) width 1606 modules/stitching/src/seam_finders.cpp if (x < img_size.width - 1) width 255 modules/stitching/src/stitcher.cpp sz.width = cvRound(full_img_sizes_[i].width * compose_scale); width 105 modules/stitching/src/util.cpp int x_br = std::min(tl1.x + sz1.width, tl2.x + sz2.width); width 134 modules/stitching/src/util.cpp br.x = std::max(br.x, corners[i].x + sizes[i].width); width 149 modules/stitching/src/util.cpp br.x = std::min(br.x, corners[i].x + sizes[i].width); width 127 modules/stitching/src/warpers.cpp size_t globalsize[2] = { dsize.width, (dsize.height + rowsPerWI - 1) / rowsPerWI }; width 159 modules/stitching/src/warpers.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); width 208 modules/stitching/src/warpers.cpp projector_.mapForward(static_cast<float>(src_size.width - 1), 0, u, v); width 212 modules/stitching/src/warpers.cpp projector_.mapForward(static_cast<float>(src_size.width - 1), static_cast<float>(src_size.height - 1), u, v); width 239 modules/stitching/src/warpers.cpp if (x_ > 0.f && x_ < src_size.width && y_ > 0.f && y_ < src_size.height) width 253 modules/stitching/src/warpers.cpp if (x_ > 0.f && x_ < src_size.width && y_ > 0.f && y_ < src_size.height) width 282 modules/stitching/src/warpers.cpp if (x_ > 0.f && x_ < src_size.width && y_ > 0.f && y_ < src_size.height) width 296 modules/stitching/src/warpers.cpp if (x_ > 0.f && x_ < src_size.width && y_ > 0.f && y_ < src_size.height) width 334 modules/stitching/src/warpers.cpp size_t globalsize[2] = { dsize.width, (dsize.height + rowsPerWI - 1) / rowsPerWI }; width 351 modules/stitching/src/warpers.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); width 383 modules/stitching/src/warpers.cpp size_t globalsize[2] = { dsize.width, (dsize.height + rowsPerWI - 1) / rowsPerWI }; width 400 modules/stitching/src/warpers.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); width 204 modules/stitching/src/warpers_cuda.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); width 248 modules/stitching/src/warpers_cuda.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); width 294 modules/stitching/src/warpers_cuda.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); width 188 modules/superres/src/btv_l1.cpp size_t globalsize[2] = { size.width, size.height }; width 605 modules/superres/src/btv_l1.cpp const Size highResSize(lowResSize.width * scale_, lowResSize.height * scale_); width 706 modules/superres/src/btv_l1.cpp const Size highResSize(lowResSize.width * scale_, lowResSize.height * scale_); width 343 modules/superres/src/btv_l1_cuda.cpp const Size highResSize(lowResSize.width * scale_, lowResSize.height * scale_); width 589 modules/superres/src/optical_flow.cpp winSize_ = alg_->getWinSize().width; width 271 modules/ts/include/opencv2/ts/ocl_test.hpp Size wholeSize = Size(roiSize.width + border.lef + border.rig, roiSize.height + border.top + border.bot); width 273 modules/ts/include/opencv2/ts/ocl_test.hpp subMat = whole(Rect(border.lef, border.top, roiSize.width, roiSize.height)); width 316 modules/ts/include/opencv2/ts/ocl_test.hpp u ## name ## _roi = u ## name(Rect(ofs.x, ofs.y, name ## _roi.size().width, name ## _roi.size().height)); \ width 663 modules/ts/include/opencv2/ts/ts_perf.hpp (r1.x == r2.x && r1.y == r2.y && r1.width < r2.width) || width 664 modules/ts/include/opencv2/ts/ts_perf.hpp (r1.x == r2.x && r1.y == r2.y && r1.width == r2.width && r1.height < r2.height); width 98 modules/ts/src/cuda_test.cpp size0.width += randomInt(5, 15); width 105 modules/ts/src/cuda_test.cpp d_m = d_m(Rect((size0.width - size.width) / 2, (size0.height - size.height) / 2, size.width, size.height)); width 314 modules/ts/src/ts.cpp int width = 60 - (int)get_name().size(); width 317 modules/ts/src/ts.cpp int t = cvRound( ((double)test_case_idx * width)/count ); width 110 modules/ts/src/ts_arrtest.cpp size.width = cvRound( exp(val*CV_LOG2) ); width 169 modules/ts/src/ts_arrtest.cpp whole_size.width += randInt(rng) % 10; width 174 modules/ts/src/ts_arrtest.cpp if( size.width > 0 && size.height > 0 && width 179 modules/ts/src/ts_arrtest.cpp roi.width = size.width; width 181 modules/ts/src/ts_arrtest.cpp if( whole_size.width > size.width ) width 182 modules/ts/src/ts_arrtest.cpp roi.x = randInt(rng) % (whole_size.width - size.width); width 197 modules/ts/src/ts_arrtest.cpp test_array[i][j] = cvCreateMat( whole_size.height, whole_size.width, types[i][j] ); width 51 modules/ts/src/ts_func.cpp sz.width = cvRound(exp(width_log)); width 113 modules/ts/src/ts_func.cpp size0.width += std::max(rng.uniform(0, 10) - 5, 0); width 122 modules/ts/src/ts_func.cpp return m(Rect((size0.width-size.width)/2, (size0.height-size.height)/2, size.width, size.height)); width 596 modules/ts/src/ts_func.cpp int width = dst.cols*src.channels(), n = (int)ofsvec.size(); width 604 modules/ts/src/ts_func.cpp for( int x = 0; x < width; x++ ) width 618 modules/ts/src/ts_func.cpp int width = dst.cols*src.channels(), n = (int)ofsvec.size(); width 626 modules/ts/src/ts_func.cpp for( int x = 0; x < width; x++ ) width 759 modules/ts/src/ts_func.cpp int width = dst.cols*dst.channels(), ncoeffs = (int)ofsvec.size(); width 766 modules/ts/src/ts_func.cpp for( int x = 0; x < width; x++ ) width 873 modules/ts/src/ts_func.cpp int width = src.cols*esz, width1 = dst.cols*esz; width 890 modules/ts/src/ts_func.cpp for( j = 0; j < width; j++ ) width 893 modules/ts/src/ts_func.cpp dptr[j + width] = val[j]; width 939 modules/ts/src/ts_func.cpp for( j = 0; j < width; j++ ) width 943 modules/ts/src/ts_func.cpp dptr[j + left + width] = sptr[rtab[j]]; width 2730 modules/ts/src/ts_func.cpp calcSobelKernel1D( dx, _aperture_size, ksize.width, kx ); width 2787 modules/ts/src/ts_func.cpp for( int u = 0; u < sz.width; u++ ) width 2900 modules/ts/src/ts_func.cpp int i, depth = m.m->depth(), cn = m.m->channels(), width = m.m->cols*cn; width 2903 modules/ts/src/ts_func.cpp writeElems(out, m.m->ptr(i), width, depth, i == (*m.loc)[0] ? (*m.loc)[1] : -1); width 1920 modules/ts/src/ts_perf.cpp *os << /*"Size:" << */sz.width << "x" << sz.height; width 12 modules/video/perf/perf_optflowpyrlk.cpp void FormTrackingPointsArray(vector<Point2f>& points, int width, int height, int nPointsX, int nPointsY) width 14 modules/video/perf/perf_optflowpyrlk.cpp int stepX = width / nPointsX; width 21 modules/video/perf/perf_optflowpyrlk.cpp for( int x = stepX / 2; x < width; x += stepX ) width 208 modules/video/perf/perf_optflowpyrlk.cpp img.adjustROI(winSize.height, winSize.height, winSize.width, winSize.width); width 136 modules/video/src/bgfg_KNN.cpp int size=frameSize.height*frameSize.width; width 205 modules/video/src/bgfg_gaussmix2.cpp u_weight.create(frameSize.height * nmixtures, frameSize.width, CV_32FC1); width 208 modules/video/src/bgfg_gaussmix2.cpp u_variance.create(frameSize.height * nmixtures, frameSize.width, CV_32FC1); width 213 modules/video/src/bgfg_gaussmix2.cpp u_mean.create(frameSize.height * nmixtures, frameSize.width, CV_32FC(nchannels)); //4 channels width 226 modules/video/src/bgfg_gaussmix2.cpp bgmodel.create( 1, frameSize.height*frameSize.width*nmixtures*(2 + nchannels), CV_32F ); width 872 modules/video/src/bgfg_gaussmix2.cpp const float* mean = reinterpret_cast<const float*>(gmm + frameSize.width*frameSize.height*nmixtures); width 61 modules/video/src/camshift.cpp if( window.height <= 0 || window.width <= 0 ) width 64 modules/video/src/camshift.cpp window = window & Rect(0, 0, size.width, size.height); width 72 modules/video/src/camshift.cpp cur_rect = cur_rect & Rect(0, 0, size.width, size.height); width 75 modules/video/src/camshift.cpp cur_rect.x = size.width/2; width 78 modules/video/src/camshift.cpp cur_rect.width = std::max(cur_rect.width, 1); width 87 modules/video/src/camshift.cpp int dx = cvRound( m.m10/m.m00 - window.width*0.5 ); width 90 modules/video/src/camshift.cpp int nx = std::min(std::max(cur_rect.x + dx, 0), size.width - cur_rect.width); width 132 modules/video/src/camshift.cpp window.width += 2 * TOLERANCE; width 133 modules/video/src/camshift.cpp if( window.x + window.width > size.width ) width 134 modules/video/src/camshift.cpp window.width = size.width - window.x; width 167 modules/video/src/camshift.cpp double width = std::sqrt( rotate_c * inv_m00 ) * 4; width 170 modules/video/src/camshift.cpp if( length < width ) width 172 modules/video/src/camshift.cpp std::swap( length, width ); width 182 modules/video/src/camshift.cpp int t1 = cvRound( fabs( width * sn )); width 185 modules/video/src/camshift.cpp window.width = MIN( t0, (size.width - _xc) * 2 ); width 188 modules/video/src/camshift.cpp t1 = cvRound( fabs( width * cs )); width 193 modules/video/src/camshift.cpp window.x = MAX( 0, _xc - window.width / 2 ); width 196 modules/video/src/camshift.cpp window.width = MIN( size.width - window.x, window.width ); width 201 modules/video/src/camshift.cpp box.size.width = (float)width; width 209 modules/video/src/camshift.cpp box.center = Point2f( window.x + window.width*0.5f, window.y + window.height*0.5f); width 87 modules/video/src/compat_video.cpp return rr.size.width*rr.size.height > 0.f ? 1 : -1; width 226 modules/video/src/lkpyramid.cpp Point2f halfWin((winSize.width-1)*0.5f, (winSize.height-1)*0.5f); width 258 modules/video/src/lkpyramid.cpp if( iprevPt.x < -winSize.width || iprevPt.x >= derivI.cols || width 323 modules/video/src/lkpyramid.cpp for( ; x <= winSize.width*cn - 4; x += 4, dsrc += 4*2, dIptr += 4*2 ) width 364 modules/video/src/lkpyramid.cpp for( ; x <= winSize.width*cn - 4; x += 4, dsrc += 4*2, dIptr += 4*2 ) width 447 modules/video/src/lkpyramid.cpp for( ; x < winSize.width*cn; x++, dsrc += 2, dIptr += 2 ) width 488 modules/video/src/lkpyramid.cpp 4.f*A12*A12))/(2*winSize.width*winSize.height); width 510 modules/video/src/lkpyramid.cpp if( inextPt.x < -winSize.width || inextPt.x >= J.cols || width 551 modules/video/src/lkpyramid.cpp for( ; x <= winSize.width*cn - 8; x += 8, dIptr += 8*2 ) width 586 modules/video/src/lkpyramid.cpp for( ; x <= winSize.width*cn - 8; x += 8, dIptr += 8*2 ) width 657 modules/video/src/lkpyramid.cpp for( ; x < winSize.width*cn; x++, dIptr += 2 ) width 710 modules/video/src/lkpyramid.cpp if( inextPoint.x < -winSize.width || inextPoint.x >= J.cols || width 731 modules/video/src/lkpyramid.cpp for( x = 0; x < winSize.width*cn; x++ ) width 739 modules/video/src/lkpyramid.cpp err[ptidx] = errval * 1.f/(32*winSize.width*cn*winSize.height); width 748 modules/video/src/lkpyramid.cpp CV_Assert(img.depth() == CV_8U && winSize.width > 2 && winSize.height > 2 ); width 762 modules/video/src/lkpyramid.cpp if (ofs.x >= winSize.width && ofs.y >= winSize.height width 763 modules/video/src/lkpyramid.cpp && ofs.x + img.cols + winSize.width <= wholeSize.width width 776 modules/video/src/lkpyramid.cpp temp.adjustROI(winSize.height, winSize.height, winSize.width, winSize.width); width 777 modules/video/src/lkpyramid.cpp if(temp.type() != img.type() || temp.cols != winSize.width*2 + img.cols || temp.rows != winSize.height * 2 + img.rows) width 778 modules/video/src/lkpyramid.cpp temp.create(img.rows + winSize.height*2, img.cols + winSize.width*2, img.type()); width 781 modules/video/src/lkpyramid.cpp img.copyTo(temp(Rect(winSize.width, winSize.height, img.cols, img.rows))); width 783 modules/video/src/lkpyramid.cpp copyMakeBorder(img, temp, winSize.height, winSize.height, winSize.width, winSize.width, pyrBorder); width 784 modules/video/src/lkpyramid.cpp temp.adjustROI(-winSize.height, -winSize.height, -winSize.width, -winSize.width); width 798 modules/video/src/lkpyramid.cpp temp.adjustROI(winSize.height, winSize.height, winSize.width, winSize.width); width 799 modules/video/src/lkpyramid.cpp if(temp.type() != img.type() || temp.cols != winSize.width*2 + sz.width || temp.rows != winSize.height * 2 + sz.height) width 800 modules/video/src/lkpyramid.cpp temp.create(sz.height + winSize.height*2, sz.width + winSize.width*2, img.type()); width 802 modules/video/src/lkpyramid.cpp thisLevel = temp(Rect(winSize.width, winSize.height, sz.width, sz.height)); width 806 modules/video/src/lkpyramid.cpp copyMakeBorder(thisLevel, temp, winSize.height, winSize.height, winSize.width, winSize.width, pyrBorder|BORDER_ISOLATED); width 807 modules/video/src/lkpyramid.cpp temp.adjustROI(-winSize.height, -winSize.height, -winSize.width, -winSize.width); width 815 modules/video/src/lkpyramid.cpp deriv.adjustROI(winSize.height, winSize.height, winSize.width, winSize.width); width 816 modules/video/src/lkpyramid.cpp if(deriv.type() != derivType || deriv.cols != winSize.width*2 + sz.width || deriv.rows != winSize.height * 2 + sz.height) width 817 modules/video/src/lkpyramid.cpp deriv.create(sz.height + winSize.height*2, sz.width + winSize.width*2, derivType); width 819 modules/video/src/lkpyramid.cpp Mat derivI = deriv(Rect(winSize.width, winSize.height, sz.width, sz.height)); width 823 modules/video/src/lkpyramid.cpp copyMakeBorder(derivI, deriv, winSize.height, winSize.height, winSize.width, winSize.width, derivBorder|BORDER_ISOLATED); width 824 modules/video/src/lkpyramid.cpp deriv.adjustROI(-winSize.height, -winSize.height, -winSize.width, -winSize.width); width 827 modules/video/src/lkpyramid.cpp sz = Size((sz.width+1)/2, (sz.height+1)/2); width 828 modules/video/src/lkpyramid.cpp if( sz.width <= winSize.width || sz.height <= winSize.height ) width 868 modules/video/src/lkpyramid.cpp if (maxLevel < 0 || winSize.width <= 2 || winSize.height <= 2) width 958 modules/video/src/lkpyramid.cpp if (winSize.width > 32 && winSize.width > 2 * winSize.height) width 969 modules/video/src/lkpyramid.cpp patch.x = (winSize.width + block.x - 1) / block.x; width 1008 modules/video/src/lkpyramid.cpp idxArg = kernel.set(idxArg, (int)winSize.width); // int c_winSize_x width 1044 modules/video/src/lkpyramid.cpp if ((1 != _prevPts.size().height) && (1 != _prevPts.size().width)) width 1052 modules/video/src/lkpyramid.cpp if ((1 != _nextPts.size().height) && (1 != _nextPts.size().width)) width 1107 modules/video/src/lkpyramid.cpp CV_Assert( maxLevel >= 0 && winSize.width > 2 && winSize.height > 2 ); width 1171 modules/video/src/lkpyramid.cpp CV_Assert(ofs.x >= winSize.width && ofs.y >= winSize.height width 1172 modules/video/src/lkpyramid.cpp && ofs.x + prevPyr[lvlStep1].cols + winSize.width <= fullSize.width width 1199 modules/video/src/lkpyramid.cpp CV_Assert(ofs.x >= winSize.width && ofs.y >= winSize.height width 1200 modules/video/src/lkpyramid.cpp && ofs.x + nextPyr[lvlStep2].cols + winSize.width <= fullSize.width width 1227 modules/video/src/lkpyramid.cpp derivIBuf.create(prevPyr[0].rows + winSize.height*2, prevPyr[0].cols + winSize.width*2, CV_MAKETYPE(derivDepth, prevPyr[0].channels() * 2)); width 1236 modules/video/src/lkpyramid.cpp imgSize.width + winSize.width*2, derivIBuf.type(), derivIBuf.ptr() ); width 1237 modules/video/src/lkpyramid.cpp derivI = _derivI(Rect(winSize.width, winSize.height, imgSize.width, imgSize.height)); width 1239 modules/video/src/lkpyramid.cpp copyMakeBorder(derivI, _derivI, winSize.height, winSize.height, winSize.width, winSize.width, BORDER_CONSTANT|BORDER_ISOLATED); width 1390 modules/video/src/lkpyramid.cpp scale = std::max(1., std::max( (double)sz1.width/sz0.width, (double)sz1.height/sz0.height )); width 1392 modules/video/src/lkpyramid.cpp sz1.width = cvRound( sz0.width * scale ); width 1395 modules/video/src/lkpyramid.cpp bool equalSizes = sz1.width == sz0.width && sz1.height == sz0.height; width 1420 modules/video/src/lkpyramid.cpp int count_x = cvRound((double)COUNT*sz1.width/sz1.height); width 1430 modules/video/src/lkpyramid.cpp pA[k].x = (j+0.5f)*sz1.width/count_x; width 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 ) width 121 modules/video/src/optflowgf.cpp int width = src.cols; width 123 modules/video/src/optflowgf.cpp AutoBuffer<float> kbuf(n*6 + 3), _row((width + n*2)*3); width 132 modules/video/src/optflowgf.cpp dst.create( height, width, CV_32FC(5)); width 141 modules/video/src/optflowgf.cpp for( x = 0; x < width; x++ ) width 153 modules/video/src/optflowgf.cpp for( x = 0; x < width; x++ ) width 170 modules/video/src/optflowgf.cpp row[width*3+x] = row[width*3+x-3]; width 173 modules/video/src/optflowgf.cpp for( x = 0; x < width; x++ ) width 222 modules/video/src/optflowgf.cpp int x, y, width = _flow.cols, height = _flow.rows; width 226 modules/video/src/optflowgf.cpp matM.create(height, width, CV_32FC(5)); width 234 modules/video/src/optflowgf.cpp for( x = 0; x < width; x++ ) width 246 modules/video/src/optflowgf.cpp if( (unsigned)x1 < (unsigned)(width-1) && width 267 modules/video/src/optflowgf.cpp if( (unsigned)x1 < (unsigned)width && width 291 modules/video/src/optflowgf.cpp if( (unsigned)(x - BORDER) >= (unsigned)(width - BORDER*2) || width 295 modules/video/src/optflowgf.cpp (x >= width - BORDER ? border[width - x - 1] : 1.f)* width 318 modules/video/src/optflowgf.cpp int x, y, width = _flow.cols, height = _flow.rows; width 321 modules/video/src/optflowgf.cpp int min_update_stripe = std::max((1 << 10)/width, block_size); width 324 modules/video/src/optflowgf.cpp AutoBuffer<double> _vsum((width+m*2+2)*5); width 329 modules/video/src/optflowgf.cpp for( x = 0; x < width*5; x++ ) width 335 modules/video/src/optflowgf.cpp for( x = 0; x < width*5; x++ ) width 349 modules/video/src/optflowgf.cpp for( x = 0; x < width*5; x++ ) width 356 modules/video/src/optflowgf.cpp vsum[width*5+x] = vsum[width*5+x-5]; width 376 modules/video/src/optflowgf.cpp for( x = 0; x < width; x++ ) width 411 modules/video/src/optflowgf.cpp int x, y, i, width = _flow.cols, height = _flow.rows; width 414 modules/video/src/optflowgf.cpp int min_update_stripe = std::max((1 << 10)/width, block_size); width 417 modules/video/src/optflowgf.cpp AutoBuffer<float> _vsum((width+m*2+2)*5 + 16), _hsum(width*5 + 16); width 463 modules/video/src/optflowgf.cpp for( ; x <= width*5 - 16; x += 16 ) width 494 modules/video/src/optflowgf.cpp for( ; x <= width*5 - 4; x += 4 ) width 511 modules/video/src/optflowgf.cpp for( ; x < width*5; x++ ) width 523 modules/video/src/optflowgf.cpp vsum[width*5+x] = vsum[width*5+x-5]; width 531 modules/video/src/optflowgf.cpp for( ; x <= width*5 - 8; x += 8 ) width 553 modules/video/src/optflowgf.cpp for( ; x < width*5; x++ ) width 561 modules/video/src/optflowgf.cpp for( x = 0; x < width; x++ ) width 635 modules/video/src/optflowgf.cpp if (size.width*scale < min_size || size.height*scale < min_size) width 668 modules/video/src/optflowgf.cpp int width = cvRound(size.width*scale); width 673 modules/video/src/optflowgf.cpp width = pyramid0_[k].cols; width 679 modules/video/src/optflowgf.cpp curFlowX.create(height, width, CV_32F); width 680 modules/video/src/optflowgf.cpp curFlowY.create(height, width, CV_32F); width 692 modules/video/src/optflowgf.cpp resize(flowx0, curFlowX, Size(width, height), 0, 0, INTER_LINEAR); width 693 modules/video/src/optflowgf.cpp resize(flowy0, curFlowY, Size(width, height), 0, 0, INTER_LINEAR); width 705 modules/video/src/optflowgf.cpp resize(prevFlowX, curFlowX, Size(width, height), 0, 0, INTER_LINEAR); width 706 modules/video/src/optflowgf.cpp resize(prevFlowY, curFlowY, Size(width, height), 0, 0, INTER_LINEAR); width 711 modules/video/src/optflowgf.cpp UMat M = allocMatFromBuf(5*height, width, CV_32F, M_); width 712 modules/video/src/optflowgf.cpp UMat bufM = allocMatFromBuf(5*height, width, CV_32F, bufM_); width 715 modules/video/src/optflowgf.cpp allocMatFromBuf(5*height, width, CV_32F, R_[0]), width 716 modules/video/src/optflowgf.cpp allocMatFromBuf(5*height, width, CV_32F, R_[1]) width 730 modules/video/src/optflowgf.cpp allocMatFromBuf(size.height, size.width, CV_32F, blurredFrame_[0]), width 731 modules/video/src/optflowgf.cpp allocMatFromBuf(size.height, size.width, CV_32F, blurredFrame_[1]) width 735 modules/video/src/optflowgf.cpp allocMatFromBuf(height, width, CV_32F, pyrLevel_[0]), width 736 modules/video/src/optflowgf.cpp allocMatFromBuf(height, width, CV_32F, pyrLevel_[1]) width 745 modules/video/src/optflowgf.cpp resize(blurredFrame[i], pyrLevel[i], Size(width, height), INTER_LINEAR); width 1120 modules/video/src/optflowgf.cpp int width = cvRound(prev0.cols*scale); width 1124 modules/video/src/optflowgf.cpp flow.create( height, width, CV_32FC2 ); width 1132 modules/video/src/optflowgf.cpp resize( flow0, flow, Size(width, height), 0, 0, INTER_AREA ); width 1136 modules/video/src/optflowgf.cpp flow = Mat::zeros( height, width, CV_32FC2 ); width 1140 modules/video/src/optflowgf.cpp resize( prevFlow, flow, Size(width, height), 0, 0, INTER_LINEAR ); width 1149 modules/video/src/optflowgf.cpp resize( fimg, I, Size(width, height), INTER_LINEAR ); width 120 modules/video/test/test_camshift.cpp double width = box0.size.width*0.5; width 124 modules/video/test/test_camshift.cpp double inv_ww = 1./(width*width), inv_hh = 1./(height*height); width 126 modules/video/test/test_camshift.cpp img = cvCreateMat( img_size.height, img_size.width, img_type ); width 136 modules/video/test/test_camshift.cpp for( x = 0; x < img_size.width; x++ ) width 161 modules/video/test/test_camshift.cpp box0.size.width = (float)exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2); width 165 modules/video/test/test_camshift.cpp if( box0.size.width > box0.size.height ) width 168 modules/video/test/test_camshift.cpp CV_SWAP( box0.size.width, box0.size.height, t ); width 171 modules/video/test/test_camshift.cpp m = MAX( box0.size.width, box0.size.height ); width 172 modules/video/test/test_camshift.cpp img_size.width = cvRound(cvtest::randReal(rng)*m*0.5 + m + 1); width 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)); width 241 modules/video/test/test_camshift.cpp m = MAX(box0.size.width,box0.size.height)*0.8; width 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); width 248 modules/video/test/test_camshift.cpp init_rect.x + init_rect.width >= img_size.width || width 273 modules/video/test/test_camshift.cpp double m = MAX(box0.size.width, box0.size.height), delta; width 276 modules/video/test/test_camshift.cpp if( cvIsNaN(box.size.width) || cvIsInf(box.size.width) || box.size.width <= 0 || width 290 modules/video/test/test_camshift.cpp if( fabs(box.size.width - box0.size.width) > box0.size.width*0.2 || width 294 modules/video/test/test_camshift.cpp box.size.width, box.size.height, box0.size.width, box0.size.height ); width 314 modules/video/test/test_camshift.cpp if( fabs(diff_angle) > 30 && box0.size.height > box0.size.width*1.2 ) width 326 modules/video/test/test_camshift.cpp comp.rect.x + comp.rect.width > box0.center.x + delta || width 331 modules/video/test/test_camshift.cpp comp.rect.x, comp.rect.y, comp.rect.x + comp.rect.width, comp.rect.y + comp.rect.height, width 355 modules/video/test/test_camshift.cpp cvPoint(init_rect.x + init_rect.width, init_rect.y + init_rect.height), width 408 modules/video/test/test_camshift.cpp m = (box0.size.width + box0.size.height)*0.5; width 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); width 415 modules/video/test/test_camshift.cpp init_rect.x + init_rect.width >= img_size.width || width 440 modules/video/test/test_camshift.cpp double m = MAX(box0.size.width, box0.size.height), delta; width 449 modules/video/test/test_camshift.cpp c.x = (float)(comp.rect.x + comp.rect.width*0.5); width 465 modules/video/test/test_camshift.cpp comp.rect.x + comp.rect.width > box0.center.x + delta || width 470 modules/video/test/test_camshift.cpp comp.rect.x, comp.rect.y, comp.rect.x + comp.rect.width, comp.rect.y + comp.rect.height, width 494 modules/video/test/test_camshift.cpp cvPoint(init_rect.x + init_rect.width, init_rect.y + init_rect.height), width 497 modules/video/test/test_camshift.cpp cvPoint(comp.rect.x + comp.rect.width, comp.rect.y + comp.rect.height), width 94 modules/video/test/test_tvl1optflow.cpp file.read((char*) &size.width, sizeof(int)); width 201 modules/videoio/src/cap_cmu.cpp unsigned long width = 0, height = 0; width 202 modules/videoio/src/cap_cmu.cpp cmucam->GetVideoFrameDimensions( &width, &height ); width 203 modules/videoio/src/cap_cmu.cpp return cvSize((int)width, (int)height); width 433 modules/videoio/src/cap_cmu.cpp return image->width; width 507 modules/videoio/src/cap_cmu.cpp int width, height; width 510 modules/videoio/src/cap_cmu.cpp width = ival; width 511 modules/videoio/src/cap_cmu.cpp height = width*3/4; width 515 modules/videoio/src/cap_cmu.cpp width = height*4/3; width 517 modules/videoio/src/cap_cmu.cpp retval = setVideoSize(width, height); width 533 modules/videoio/src/cap_cmu.cpp if( !image || image->width != size.width || image->height != size.height ) width 515 modules/videoio/src/cap_dc1394.cpp if(capture->camera->frame_width != capture->frame.width || width 542 modules/videoio/src/cap_dc1394.cpp int width = capture->camera->frame_width; width 556 modules/videoio/src/cap_dc1394.cpp width *= 2; width 576 modules/videoio/src/cap_dc1394.cpp cvInitImageHeader( &capture->frame,cvSize( width, height ), bpp, nch, IPL_ORIGIN_TL, 4 ); width 364 modules/videoio/src/cap_dc1394_v2.cpp uint32_t width, height; width 365 modules/videoio/src/cap_dc1394_v2.cpp dc1394_get_image_size_from_video_mode(dcCam, wantedMode, &width, &height); width 366 modules/videoio/src/cap_dc1394_v2.cpp frameWidth = (int)width; width 385 modules/videoio/src/cap_dc1394_v2.cpp uint32_t width, height; width 386 modules/videoio/src/cap_dc1394_v2.cpp dc1394_get_image_size_from_video_mode(dcCam, mode, &width, &height); width 387 modules/videoio/src/cap_dc1394_v2.cpp if ((int)width == frameWidth || (int)height == frameHeight) width 612 modules/videoio/src/cap_dc1394_v2.cpp if( !maps[0][0] || maps[0][0]->width != img[i]->width || maps[0][0]->height != img[i]->height ) width 911 modules/videoio/src/cap_dc1394_v2.cpp if( fabs(mx->width*0.5 - intrinsic->data.fl[2]) > mx->width*0.1 || width 915 modules/videoio/src/cap_dc1394_v2.cpp if( fabs(mx->width*0.5 - intrinsic->data.fl[2]) > mx->width*0.05 || width 431 modules/videoio/src/cap_dshow.cpp int width; width 575 modules/videoio/src/cap_dshow.cpp void processPixels(unsigned char * src, unsigned char * dst, int width, int height, bool bRGB, bool bFlip); width 774 modules/videoio/src/cap_dshow.cpp width = 0; width 810 modules/videoio/src/cap_dshow.cpp width = w; width 1421 modules/videoio/src/cap_dshow.cpp return VDList[id] ->width; width 1513 modules/videoio/src/cap_dshow.cpp int width = VDList[id]->width; width 1515 modules/videoio/src/cap_dshow.cpp processPixels(src, dst, width, height, flipRedAndBlue, flipImage); width 1536 modules/videoio/src/cap_dshow.cpp int width = VDList[id]->width; width 1538 modules/videoio/src/cap_dshow.cpp processPixels(src, dst, width, height, flipRedAndBlue, flipImage); width 1936 modules/videoio/src/cap_dshow.cpp int tmpW = VDList[id]->width; width 2116 modules/videoio/src/cap_dshow.cpp void videoInput::processPixels(unsigned char * src, unsigned char * dst, int width, int height, bool bRGB, bool bFlip){ width 2118 modules/videoio/src/cap_dshow.cpp int widthInBytes = width * 3; width 2142 modules/videoio/src/cap_dshow.cpp if(x >= width){ width 185 modules/videoio/src/cap_ffmpeg.cpp int step=0, width=0, height=0, cn=0; width 188 modules/videoio/src/cap_ffmpeg.cpp !icvRetrieveFrame_FFMPEG_p(ffmpegCapture, &data, &step, &width, &height, &cn)) width 190 modules/videoio/src/cap_ffmpeg.cpp cvInitImageHeader(&frame, cvSize(width, height), 8, cn); width 241 modules/videoio/src/cap_ffmpeg.cpp image->widthStep, image->width, image->height, image->nChannels, image->origin) !=0; width 249 modules/videoio/src/cap_ffmpeg.cpp ffmpegWriter = icvCreateVideoWriter_FFMPEG_p( filename, fourcc, fps, frameSize.width, frameSize.height, isColor ); width 41 modules/videoio/src/cap_ffmpeg_api.hpp int* step, int* width, int* height, int* cn); width 43 modules/videoio/src/cap_ffmpeg_api.hpp int* step, int* width, int* height, int* cn); width 47 modules/videoio/src/cap_ffmpeg_api.hpp int fourcc, double fps, int width, int height, int isColor ); width 49 modules/videoio/src/cap_ffmpeg_api.hpp int fourcc, double fps, int width, int height, int isColor ); width 52 modules/videoio/src/cap_ffmpeg_api.hpp int step, int width, int height, int cn, int origin); width 60 modules/videoio/src/cap_ffmpeg_api.hpp int* width, int* height, int* cn ); width 65 modules/videoio/src/cap_ffmpeg_api.hpp double fps, int width, int height, int iscolor ); width 67 modules/videoio/src/cap_ffmpeg_api.hpp int width, int height, int cn, int origin); width 74 modules/videoio/src/cap_ffmpeg_api.hpp OPENCV_FFMPEG_API struct OutputMediaStream_FFMPEG* create_OutputMediaStream_FFMPEG(const char* fileName, int width, int height, double fps); width 78 modules/videoio/src/cap_ffmpeg_api.hpp typedef struct OutputMediaStream_FFMPEG* (*Create_OutputMediaStream_FFMPEG_Plugin)(const char* fileName, int width, int height, double fps); width 86 modules/videoio/src/cap_ffmpeg_api.hpp OPENCV_FFMPEG_API struct InputMediaStream_FFMPEG* create_InputMediaStream_FFMPEG(const char* fileName, int* codec, int* chroma_format, int* width, int* height); width 90 modules/videoio/src/cap_ffmpeg_api.hpp typedef struct InputMediaStream_FFMPEG* (*Create_InputMediaStream_FFMPEG_Plugin)(const char* fileName, int* codec, int* chroma_format, int* width, int* height); width 212 modules/videoio/src/cap_ffmpeg_impl.hpp int width; width 233 modules/videoio/src/cap_ffmpeg_impl.hpp bool retrieveFrame(int, unsigned char** data, int* step, int* width, int* height, int* cn); width 613 modules/videoio/src/cap_ffmpeg_impl.hpp int enc_width = enc->width; width 627 modules/videoio/src/cap_ffmpeg_impl.hpp if (enc_width && (enc->width != enc_width)) { enc->width = enc_width; } width 636 modules/videoio/src/cap_ffmpeg_impl.hpp enc->width, enc->height )); width 638 modules/videoio/src/cap_ffmpeg_impl.hpp PIX_FMT_BGR24, enc->width, enc->height ); width 640 modules/videoio/src/cap_ffmpeg_impl.hpp frame.width = enc->width; width 733 modules/videoio/src/cap_ffmpeg_impl.hpp bool CvCapture_FFMPEG::retrieveFrame(int, unsigned char** data, int* step, int* width, int* height, int* cn) width 739 modules/videoio/src/cap_ffmpeg_impl.hpp video_st->codec->width, video_st->codec->height); width 742 modules/videoio/src/cap_ffmpeg_impl.hpp frame.width != video_st->codec->width || width 748 modules/videoio/src/cap_ffmpeg_impl.hpp frame.width = video_st->codec->width; width 753 modules/videoio/src/cap_ffmpeg_impl.hpp video_st->codec->width, video_st->codec->height, width 755 modules/videoio/src/cap_ffmpeg_impl.hpp video_st->codec->width, video_st->codec->height, width 776 modules/videoio/src/cap_ffmpeg_impl.hpp *width = frame.width; width 799 modules/videoio/src/cap_ffmpeg_impl.hpp return (double)frame.width; width 1000 modules/videoio/src/cap_ffmpeg_impl.hpp double fps, int width, int height, bool isColor ); width 1002 modules/videoio/src/cap_ffmpeg_impl.hpp bool writeFrame( const unsigned char* data, int step, int width, int height, int cn, int origin ); width 1104 modules/videoio/src/cap_ffmpeg_impl.hpp static AVFrame * icv_alloc_picture_FFMPEG(int pix_fmt, int width, int height, bool alloc) width 1113 modules/videoio/src/cap_ffmpeg_impl.hpp size = avpicture_get_size( (PixelFormat) pix_fmt, width, height); width 1122 modules/videoio/src/cap_ffmpeg_impl.hpp (PixelFormat) pix_fmt, width, height); width 1191 modules/videoio/src/cap_ffmpeg_impl.hpp c->width = w; width 1349 modules/videoio/src/cap_ffmpeg_impl.hpp bool CvVideoWriter_FFMPEG::writeFrame( const unsigned char* data, int step, int width, int height, int cn, int origin ) width 1353 modules/videoio/src/cap_ffmpeg_impl.hpp if( (width & -2) != frame_width || (height & -2) != frame_height || !data ) width 1355 modules/videoio/src/cap_ffmpeg_impl.hpp width = frame_width; width 1371 modules/videoio/src/cap_ffmpeg_impl.hpp temp_image.step = (width*cn + 3) & -4; width 1372 modules/videoio/src/cap_ffmpeg_impl.hpp temp_image.width = width; width 1378 modules/videoio/src/cap_ffmpeg_impl.hpp memcpy(temp_image.data + y*temp_image.step, data + (height-1-y)*step, width*cn); width 1383 modules/videoio/src/cap_ffmpeg_impl.hpp if( width*cn != step ) width 1387 modules/videoio/src/cap_ffmpeg_impl.hpp temp_image.step = width*cn; width 1388 modules/videoio/src/cap_ffmpeg_impl.hpp temp_image.width = width; width 1423 modules/videoio/src/cap_ffmpeg_impl.hpp (PixelFormat)input_pix_fmt, width, height); width 1427 modules/videoio/src/cap_ffmpeg_impl.hpp img_convert_ctx = sws_getContext(width, width 1430 modules/videoio/src/cap_ffmpeg_impl.hpp c->width, width 1447 modules/videoio/src/cap_ffmpeg_impl.hpp (PixelFormat)input_pix_fmt, width, height); width 1569 modules/videoio/src/cap_ffmpeg_impl.hpp double fps, int width, int height, bool is_color ) width 1586 modules/videoio/src/cap_ffmpeg_impl.hpp width &= -2; width 1588 modules/videoio/src/cap_ffmpeg_impl.hpp if( width <= 0 || height <= 0 ) width 1701 modules/videoio/src/cap_ffmpeg_impl.hpp double bitrate = MIN(bitrate_scale*fps*width*height, (double)INT_MAX/2); width 1705 modules/videoio/src/cap_ffmpeg_impl.hpp width, height, (int)(bitrate + 0.5), width 1776 modules/videoio/src/cap_ffmpeg_impl.hpp outbuf_size = width*height*4; width 1784 modules/videoio/src/cap_ffmpeg_impl.hpp picture = icv_alloc_picture_FFMPEG(c->pix_fmt, c->width, c->height, need_color_convert); width 1794 modules/videoio/src/cap_ffmpeg_impl.hpp input_picture = icv_alloc_picture_FFMPEG(input_pix_fmt, c->width, c->height, false); width 1825 modules/videoio/src/cap_ffmpeg_impl.hpp frame_width = width; width 1873 modules/videoio/src/cap_ffmpeg_impl.hpp int cvRetrieveFrame_FFMPEG(CvCapture_FFMPEG* capture, unsigned char** data, int* step, int* width, int* height, int* cn) width 1875 modules/videoio/src/cap_ffmpeg_impl.hpp return capture->retrieveFrame(0, data, step, width, height, cn); width 1879 modules/videoio/src/cap_ffmpeg_impl.hpp int width, int height, int isColor ) width 1883 modules/videoio/src/cap_ffmpeg_impl.hpp if( writer->open( filename, fourcc, fps, width, height, isColor != 0 )) width 1903 modules/videoio/src/cap_ffmpeg_impl.hpp int width, int height, int cn, int origin) width 1905 modules/videoio/src/cap_ffmpeg_impl.hpp return writer->writeFrame(data, step, width, height, cn, origin); width 1916 modules/videoio/src/cap_ffmpeg_impl.hpp bool open(const char* fileName, int width, int height, double fps); width 1999 modules/videoio/src/cap_ffmpeg_impl.hpp c->width = w; width 2074 modules/videoio/src/cap_ffmpeg_impl.hpp bool OutputMediaStream_FFMPEG::open(const char* fileName, int width, int height, double fps) width 2111 modules/videoio/src/cap_ffmpeg_impl.hpp video_st_ = addVideoStream(oc_, codec_id, width, height, width * height * bitrate_scale, fps, codec_pix_fmt); width 2176 modules/videoio/src/cap_ffmpeg_impl.hpp struct OutputMediaStream_FFMPEG* create_OutputMediaStream_FFMPEG(const char* fileName, int width, int height, double fps) width 2180 modules/videoio/src/cap_ffmpeg_impl.hpp if (stream->open(fileName, width, height, fps)) width 2234 modules/videoio/src/cap_ffmpeg_impl.hpp bool open(const char* fileName, int* codec, int* chroma_format, int* width, int* height); width 2248 modules/videoio/src/cap_ffmpeg_impl.hpp bool InputMediaStream_FFMPEG::open(const char* fileName, int* codec, int* chroma_format, int* width, int* height) width 2332 modules/videoio/src/cap_ffmpeg_impl.hpp *width = enc->coded_width; width 2400 modules/videoio/src/cap_ffmpeg_impl.hpp InputMediaStream_FFMPEG* create_InputMediaStream_FFMPEG(const char* fileName, int* codec, int* chroma_format, int* width, int* height) width 2404 modules/videoio/src/cap_ffmpeg_impl.hpp if (stream && stream->open(fileName, codec, chroma_format, width, height)) width 155 modules/videoio/src/cap_gstreamer.cpp gint width; width 178 modules/videoio/src/cap_gstreamer.cpp width = -1; width 199 modules/videoio/src/cap_gstreamer.cpp width = -1; width 269 modules/videoio/src/cap_gstreamer.cpp if(!gst_structure_get_int(structure, "width", &width) || width 307 modules/videoio/src/cap_gstreamer.cpp frame = cvCreateImageHeader(cvSize(width, height), IPL_DEPTH_8U, depth); width 799 modules/videoio/src/cap_gstreamer.cpp if (!gst_structure_get_int (structure, "width", &width)) width 822 modules/videoio/src/cap_gstreamer.cpp width = -1; width 884 modules/videoio/src/cap_gstreamer.cpp return width; width 1201 modules/videoio/src/cap_gstreamer.cpp assert (frameSize.width > 0 && frameSize.height > 0); width 1336 modules/videoio/src/cap_gstreamer.cpp bufsize = frameSize.width * frameSize.height * 3; width 1340 modules/videoio/src/cap_gstreamer.cpp frameSize.width, width 1347 modules/videoio/src/cap_gstreamer.cpp "width", G_TYPE_INT, frameSize.width, width 1360 modules/videoio/src/cap_gstreamer.cpp bufsize = frameSize.width * frameSize.height; width 1364 modules/videoio/src/cap_gstreamer.cpp frameSize.width, width 1371 modules/videoio/src/cap_gstreamer.cpp "width", G_TYPE_INT, frameSize.width, width 143 modules/videoio/src/cap_images.cpp return frame ? frame->width : 0; width 59 modules/videoio/src/cap_intelperc.cpp ret = (double)m_profiles[m_profileIdx].imageInfo.width; width 395 modules/videoio/src/cap_intelperc.cpp cv::Mat temp(info.height, info.width, CV_8UC3, data.planes[0], data.pitches[0]); width 537 modules/videoio/src/cap_intelperc.cpp cv::Mat temp(info.height, info.width, type, data.planes[planeIdx], data.pitches[planeIdx]); width 316 modules/videoio/src/cap_libv4l.cpp int width; int height; width 745 modules/videoio/src/cap_libv4l.cpp capture->form.fmt.pix.width = capture->width; width 763 modules/videoio/src/cap_libv4l.cpp min = capture->form.fmt.pix.width * 2; width 862 modules/videoio/src/cap_libv4l.cpp cvSize( capture->captureWindow.width, width 1016 modules/videoio/src/cap_libv4l.cpp cvSize( capture->captureWindow.width, width 1076 modules/videoio/src/cap_libv4l.cpp capture->width = DEFAULT_V4L_WIDTH; width 1230 modules/videoio/src/cap_libv4l.cpp capture->mmaps[capture->bufferIndex].width = capture->captureWindow.width; width 1255 modules/videoio/src/cap_libv4l.cpp capture->mmaps[capture->bufferIndex].width = capture->captureWindow.width; width 1294 modules/videoio/src/cap_libv4l.cpp if(((unsigned long)capture->frame.width != capture->form.fmt.pix.width) width 1298 modules/videoio/src/cap_libv4l.cpp cvSize( capture->form.fmt.pix.width, width 1308 modules/videoio/src/cap_libv4l.cpp if((capture->frame.width != capture->mmaps[capture->bufferIndex].width) width 1312 modules/videoio/src/cap_libv4l.cpp cvSize( capture->captureWindow.width, width 1374 modules/videoio/src/cap_libv4l.cpp int retval = (property_id == CV_CAP_PROP_FRAME_WIDTH)?capture->captureWindow.width:capture->captureWindow.height; width 1378 modules/videoio/src/cap_libv4l.cpp return (property_id == CV_CAP_PROP_FRAME_WIDTH)?capture->form.fmt.pix.width:capture->form.fmt.pix.height; width 1527 modules/videoio/src/cap_libv4l.cpp capture->crop.c.width = cropWidth; width 1539 modules/videoio/src/cap_libv4l.cpp capture->form.fmt.pix.width = w; width 1592 modules/videoio/src/cap_libv4l.cpp capture->captureWindow.width=w; width 1741 modules/videoio/src/cap_libv4l.cpp static int width = 0, height = 0; width 1753 modules/videoio/src/cap_libv4l.cpp width = cvRound(value); width 1754 modules/videoio/src/cap_libv4l.cpp capture->width = width; width 1755 modules/videoio/src/cap_libv4l.cpp if(width !=0 && height != 0) { width 1756 modules/videoio/src/cap_libv4l.cpp retval = icvSetVideoSize( capture, width, height); width 1757 modules/videoio/src/cap_libv4l.cpp width = height = 0; width 1763 modules/videoio/src/cap_libv4l.cpp if(width !=0 && height != 0) { width 1764 modules/videoio/src/cap_libv4l.cpp retval = icvSetVideoSize( capture, width, height); width 1765 modules/videoio/src/cap_libv4l.cpp width = height = 0; width 1780 modules/videoio/src/cap_libv4l.cpp retval = icvSetVideoSize(capture, capture->width, capture->height); width 400 modules/videoio/src/cap_mjpeg_encoder.cpp width = size.width; width 439 modules/videoio/src/cap_mjpeg_encoder.cpp strm.putInt(width); width 472 modules/videoio/src/cap_mjpeg_encoder.cpp strm.putShort(width); width 479 modules/videoio/src/cap_mjpeg_encoder.cpp strm.putInt(width); width 485 modules/videoio/src/cap_mjpeg_encoder.cpp strm.putInt(width * height * channels); width 579 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height ); width 584 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height && channels == 3 ); width 589 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height && channels == 3 ); width 594 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height*3 ); width 636 modules/videoio/src/cap_mjpeg_encoder.cpp int width, height, channels; width 1128 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( data && width > 0 && height > 0 ); width 1215 modules/videoio/src/cap_mjpeg_encoder.cpp strm.jputShort( width ); width 1266 modules/videoio/src/cap_mjpeg_encoder.cpp for( x = 0; x < width; x += x_step ) width 1273 modules/videoio/src/cap_mjpeg_encoder.cpp if( x + x_limit > width ) x_limit = width - x; width 312 modules/videoio/src/cap_msmf.cpp unsigned int width; width 723 modules/videoio/src/cap_msmf.cpp static void processPixels(unsigned char * src, unsigned char * dst, unsigned int width, unsigned int height, unsigned int bpp, bool bRGB, bool bFlip); width 969 modules/videoio/src/cap_msmf.cpp out.width = uHigh; width 971 modules/videoio/src/cap_msmf.cpp out.MF_MT_FRAME_SIZE = out.width * out.height; width 2691 modules/videoio/src/cap_msmf.cpp vd_Width = vd_CurrentFormats[id].width; width 2967 modules/videoio/src/cap_msmf.cpp width = 0; width 3488 modules/videoio/src/cap_msmf.cpp const unsigned int width = VD->getWidth(); width 3489 modules/videoio/src/cap_msmf.cpp const unsigned int size = bytes * width * height; width 3492 modules/videoio/src/cap_msmf.cpp processPixels(RIOut->getpPixels(), dstBuffer, width, height, bytes, flipRedAndBlue, flipImage); width 3517 modules/videoio/src/cap_msmf.cpp void videoInput::processPixels(unsigned char * src, unsigned char * dst, unsigned int width, width 3520 modules/videoio/src/cap_msmf.cpp unsigned int widthInBytes = width * bpp; width 3548 modules/videoio/src/cap_msmf.cpp if(x >= width) width 3595 modules/videoio/src/cap_msmf.cpp int index, width, height, fourcc; width 3617 modules/videoio/src/cap_msmf.cpp width(-1), width 3640 modules/videoio/src/cap_msmf.cpp width = height = -1; width 3704 modules/videoio/src/cap_msmf.cpp if( !frame || w != frame->width || h != frame->height ) width 3738 modules/videoio/src/cap_msmf.cpp width = cvRound(value); width 3748 modules/videoio/src/cap_msmf.cpp width = (int)VI.getHeight(index); width 3755 modules/videoio/src/cap_msmf.cpp if( width > 0 && height > 0 ) width 3757 modules/videoio/src/cap_msmf.cpp if( (width != (int)VI.getWidth(index) || height != (int)VI.getHeight(index) || fps != VI.getFrameRate(index)) width 3761 modules/videoio/src/cap_msmf.cpp VI.setupDevice(index, width, height, fps); width 3763 modules/videoio/src/cap_msmf.cpp width = height = -1; width 3906 modules/videoio/src/cap_msmf.cpp return captureFormats[captureFormatIndex].width; width 3942 modules/videoio/src/cap_msmf.cpp unsigned int width = captureFormats[captureFormatIndex].width; width 3945 modules/videoio/src/cap_msmf.cpp if( !frame || (int)width != frame->width || (int)height != frame->height ) width 3949 modules/videoio/src/cap_msmf.cpp frame = cvCreateImage( cvSize(width,height), 8, 3 ); width 3953 modules/videoio/src/cap_msmf.cpp unsigned int size = bytes * width * height; width 3959 modules/videoio/src/cap_msmf.cpp videoInput::processPixels(RIOut->getpPixels(), (unsigned char*)frame->imageData, width, width 4168 modules/videoio/src/cap_msmf.cpp videoWidth = frameSize.width; width 4211 modules/videoio/src/cap_msmf.cpp int length = img->width * img->height * 4; width 4217 modules/videoio/src/cap_msmf.cpp for (int colIdx = 0; colIdx < img->width; colIdx++) width 4223 modules/videoio/src/cap_msmf.cpp target[rowIdx*img->width+colIdx] = (r << 16) + (g << 8) + b; width 293 modules/videoio/src/cap_qt.cpp return static_cast<double> (capture->size.width); width 879 modules/videoio/src/cap_qt.cpp sourceRect.right = (**description).width; width 978 modules/videoio/src/cap_qt.cpp capture->bounds.right = (**imageDesc).width; width 1147 modules/videoio/src/cap_qt.cpp image->width, image->height, k24RGBPixelFormat, width 1155 modules/videoio/src/cap_qt.cpp cvSize( image->width, image->height ), width 1302 modules/videoio/src/cap_qt.cpp if ( ( frame_size.width <= 0 ) || ( frame_size.height <= 0 ) ) { width 1337 modules/videoio/src/cap_qt.cpp FixRatio( frame_size.width, 1 ), width 1377 modules/videoio/src/cap_qt.cpp err = ICMCompressionSessionCreate( kCFAllocatorDefault, frame_size.width, width 155 modules/videoio/src/cap_unicap.cpp if (format.sizes[i].width == desired_size.width && width 158 modules/videoio/src/cap_unicap.cpp format.size.width = format.sizes[i].width; width 168 modules/videoio/src/cap_unicap.cpp raw_frame = cvCreateImage(cvSize(format.size.width, width 173 modules/videoio/src/cap_unicap.cpp raw_buffer.buffer_size = format.size.width * width 185 modules/videoio/src/cap_unicap.cpp frame = cvCreateImage(cvSize(buffer.format.size.width, width 189 modules/videoio/src/cap_unicap.cpp buffer.buffer_size = buffer.format.size.width * width 251 modules/videoio/src/cap_unicap.cpp return desired_size.width; width 280 modules/videoio/src/cap_unicap.cpp desired_size.width = (int)value; width 426 modules/videoio/src/cap_v4l.cpp capture->form.fmt.pix.width = DEFAULT_V4L_WIDTH; width 884 modules/videoio/src/cap_v4l.cpp min = capture->form.fmt.pix.width * 2; width 976 modules/videoio/src/cap_v4l.cpp cvSize( capture->form.fmt.pix.width, width 1098 modules/videoio/src/cap_v4l.cpp cvSize( capture->captureWindow.width, width 1320 modules/videoio/src/cap_v4l.cpp capture->mmaps[capture->bufferIndex].width = capture->captureWindow.width; width 1362 modules/videoio/src/cap_v4l.cpp capture->mmaps[capture->bufferIndex].width = capture->captureWindow.width; width 1503 modules/videoio/src/cap_v4l.cpp yuv420p_to_rgb24(int width, int height, width 1506 modules/videoio/src/cap_v4l.cpp const int numpix = width * height; width 1515 modules/videoio/src/cap_v4l.cpp for (i = 0; i <= width - 2; i += 2) { width 1518 modules/videoio/src/cap_v4l.cpp y10 = *(pY + width); width 1519 modules/videoio/src/cap_v4l.cpp y11 = *(pY + width + 1); width 1524 modules/videoio/src/cap_v4l.cpp width, pOut); width 1530 modules/videoio/src/cap_v4l.cpp pY += width; width 1531 modules/videoio/src/cap_v4l.cpp pOut += width * bytes; width 1547 modules/videoio/src/cap_v4l.cpp yuv420_to_rgb24(int width, int height, width 1554 modules/videoio/src/cap_v4l.cpp unsigned char *pV = pU + width; width 1558 modules/videoio/src/cap_v4l.cpp for (i = 0; i <= width - 4; i += 4) { width 1561 modules/videoio/src/cap_v4l.cpp y10 = *(pY + width); width 1562 modules/videoio/src/cap_v4l.cpp y11 = *(pY + width + 1); width 1567 modules/videoio/src/cap_v4l.cpp width, pOut); width 1574 modules/videoio/src/cap_v4l.cpp y10 = *(pY + width); width 1575 modules/videoio/src/cap_v4l.cpp y11 = *(pY + width + 1); width 1580 modules/videoio/src/cap_v4l.cpp width, pOut); width 1586 modules/videoio/src/cap_v4l.cpp pY += width; width 1587 modules/videoio/src/cap_v4l.cpp pOut += width * bytes; width 1608 modules/videoio/src/cap_v4l.cpp yuv411p_to_rgb24(int width, int height, width 1611 modules/videoio/src/cap_v4l.cpp const int numpix = width * height; width 1620 modules/videoio/src/cap_v4l.cpp for (i = 0; i <= width - 4; i += 4) { width 1629 modules/videoio/src/cap_v4l.cpp width, pOut); width 1645 modules/videoio/src/cap_v4l.cpp yuyv_to_rgb24 (int width, int height, unsigned char *src, unsigned char *dst) width 1656 modules/videoio/src/cap_v4l.cpp c = width >> 1; width 1691 modules/videoio/src/cap_v4l.cpp uyvy_to_rgb24 (int width, int height, unsigned char *src, unsigned char *dst) width 1702 modules/videoio/src/cap_v4l.cpp c = width >> 1; width 1741 modules/videoio/src/cap_v4l.cpp mjpeg_to_rgb24 (int width, int height, width 1746 modules/videoio/src/cap_v4l.cpp if( !temp.data || temp.cols != width || temp.rows != height ) width 1748 modules/videoio/src/cap_v4l.cpp memcpy(dst, temp.data, width*height*3); width 1925 modules/videoio/src/cap_v4l.cpp rgb24_to_rgb24 (int width, int height, unsigned char *src, unsigned char *dst) width 1927 modules/videoio/src/cap_v4l.cpp const int size = width * height; width 2037 modules/videoio/src/cap_v4l.cpp static int sonix_decompress(int width, int height, unsigned char *inp, unsigned char *outp) width 2072 modules/videoio/src/cap_v4l.cpp while (col < width) { width 2086 modules/videoio/src/cap_v4l.cpp val += outp[-2*width]; width 2094 modules/videoio/src/cap_v4l.cpp val += (outp[-2] + outp[-2*width]) / 2; width 2133 modules/videoio/src/cap_v4l.cpp if(((unsigned long)capture->frame.width != capture->form.fmt.pix.width) width 2137 modules/videoio/src/cap_v4l.cpp cvSize( capture->form.fmt.pix.width, width 2151 modules/videoio/src/cap_v4l.cpp if((capture->frame.width != capture->mmaps[capture->bufferIndex].width) width 2155 modules/videoio/src/cap_v4l.cpp cvSize( capture->captureWindow.width, width 2177 modules/videoio/src/cap_v4l.cpp yuv420p_to_rgb24(capture->form.fmt.pix.width, width 2184 modules/videoio/src/cap_v4l.cpp yuv411p_to_rgb24(capture->form.fmt.pix.width, width 2191 modules/videoio/src/cap_v4l.cpp if (!mjpeg_to_rgb24(capture->form.fmt.pix.width, width 2202 modules/videoio/src/cap_v4l.cpp yuyv_to_rgb24(capture->form.fmt.pix.width, width 2208 modules/videoio/src/cap_v4l.cpp uyvy_to_rgb24(capture->form.fmt.pix.width, width 2214 modules/videoio/src/cap_v4l.cpp bayer2rgb24(capture->form.fmt.pix.width, width 2222 modules/videoio/src/cap_v4l.cpp sonix_decompress(capture->form.fmt.pix.width, width 2227 modules/videoio/src/cap_v4l.cpp bayer2rgb24(capture->form.fmt.pix.width, width 2234 modules/videoio/src/cap_v4l.cpp sgbrg2rgb24(capture->form.fmt.pix.width, width 2240 modules/videoio/src/cap_v4l.cpp rgb24_to_rgb24(capture->form.fmt.pix.width, width 2262 modules/videoio/src/cap_v4l.cpp yuv420p_to_rgb24(capture->captureWindow.width, width 2268 modules/videoio/src/cap_v4l.cpp yuv420_to_rgb24(capture->captureWindow.width, width 2274 modules/videoio/src/cap_v4l.cpp yuv411p_to_rgb24(capture->captureWindow.width, width 2317 modules/videoio/src/cap_v4l.cpp return capture->form.fmt.pix.width; width 2439 modules/videoio/src/cap_v4l.cpp retval = capture->captureWindow.width; width 2516 modules/videoio/src/cap_v4l.cpp capture->form.fmt.pix.width = w; width 2570 modules/videoio/src/cap_v4l.cpp capture->captureWindow.width=w; width 2777 modules/videoio/src/cap_v4l.cpp static int width = 0, height = 0; width 2789 modules/videoio/src/cap_v4l.cpp width = cvRound(value); width 2790 modules/videoio/src/cap_v4l.cpp if(width !=0 && height != 0) { width 2791 modules/videoio/src/cap_v4l.cpp retval = icvSetVideoSize( capture, width, height); width 2792 modules/videoio/src/cap_v4l.cpp width = height = 0; width 2797 modules/videoio/src/cap_v4l.cpp if(width !=0 && height != 0) { width 2798 modules/videoio/src/cap_v4l.cpp retval = icvSetVideoSize( capture, width, height); width 2799 modules/videoio/src/cap_v4l.cpp width = height = 0; width 58 modules/videoio/src/cap_vfw.cpp static BITMAPINFOHEADER icvBitmapHeader( int width, int height, int bpp, int compression = BI_RGB ) width 63 modules/videoio/src/cap_vfw.cpp bmih.biWidth = width; width 174 modules/videoio/src/cap_vfw.cpp size.width = aviinfo.rcFrame.right - aviinfo.rcFrame.left; width 176 modules/videoio/src/cap_vfw.cpp BITMAPINFOHEADER bmihdr = icvBitmapHeader( size.width, size.height, 24 ); width 187 modules/videoio/src/cap_vfw.cpp bmihdr = icvBitmapHeader( size.width, size.height, 8); width 228 modules/videoio/src/cap_vfw.cpp if( !frame || frame->width != src.width || frame->height != src.height ) width 253 modules/videoio/src/cap_vfw.cpp return size.width; width 335 modules/videoio/src/cap_vfw.cpp int width, height; width 350 modules/videoio/src/cap_vfw.cpp width = height = -1; width 489 modules/videoio/src/cap_vfw.cpp const int prevWidth = frame ? frame->width : 0; width 495 modules/videoio/src/cap_vfw.cpp if( !frame || frame->width != vfmt0.biWidth || frame->height != vfmt0.biHeight ) width 574 modules/videoio/src/cap_vfw.cpp width = cvRound(value); width 601 modules/videoio/src/cap_vfw.cpp if( width > 0 && height > 0 ) width 619 modules/videoio/src/cap_vfw.cpp if( width != vfmt.biWidth || height != vfmt.biHeight ) width 622 modules/videoio/src/cap_vfw.cpp vfmt.biWidth = width; width 624 modules/videoio/src/cap_vfw.cpp vfmt.biSizeImage = height * ((width * vfmt.biBitCount + 31) / 32) * 4; width 635 modules/videoio/src/cap_vfw.cpp widthSet = width; width 639 modules/videoio/src/cap_vfw.cpp width = height = -1; width 729 modules/videoio/src/cap_vfw.cpp if( frameSize.width > 0 && frameSize.height > 0 && width 749 modules/videoio/src/cap_vfw.cpp bmih.bmiHeader = icvBitmapHeader( frameSize.width, frameSize.height, isColor ? 24 : 8 ); width 765 modules/videoio/src/cap_vfw.cpp aviinfo.rcFrame.right = frameSize.width; width 813 modules/videoio/src/cap_vfw.cpp if( image->width != tempFrame->width || image->height != tempFrame->height ) width 820 modules/videoio/src/cap_vfw.cpp image->widthStep != cvAlign(image->width*image->nChannels*((image->depth & 255)/8), 4)) width 79 modules/videoio/src/cap_winrt_bridge.cpp frontOutputBuffer = ref new WriteableBitmap(width, height); width 80 modules/videoio/src/cap_winrt_bridge.cpp backOutputBuffer = ref new WriteableBitmap(width, height); width 84 modules/videoio/src/cap_winrt_bridge.cpp void VideoioBridge::allocateBuffers(int width, int height) width 87 modules/videoio/src/cap_winrt_bridge.cpp frontInputMat.create(height, width, CV_8UC3); width 88 modules/videoio/src/cap_winrt_bridge.cpp backInputMat.create(height, width, CV_8UC3); width 100 modules/videoio/src/cap_winrt_bridge.cpp allocateBuffers(width, height); width 105 modules/videoio/src/cap_winrt_bridge.cpp Video::getInstance().initGrabber(deviceIndex, width, height); width 140 modules/videoio/src/cap_winrt_bridge.cpp return width; width 150 modules/videoio/src/cap_winrt_bridge.cpp width = _width; width 65 modules/videoio/src/cap_winrt_bridge.hpp void allocateBuffers(int width, int height); width 70 modules/videoio/src/cap_winrt_bridge.hpp void setWidth(int width); width 90 modules/videoio/src/cap_winrt_bridge.hpp width = 640; width 116 modules/videoio/src/cap_winrt_bridge.hpp int deviceIndex, width, height; width 99 modules/videoio/src/cap_winrt_capture.cpp int width = bridge.getWidth(); width 102 modules/videoio/src/cap_winrt_capture.cpp Video::getInstance().initGrabber(device, width, height); width 159 modules/videoio/src/cap_winrt_capture.cpp int width, height; width 160 modules/videoio/src/cap_winrt_capture.cpp width = outArray.size().width; width 162 modules/videoio/src/cap_winrt_capture.cpp if (width == 0) width = 640; width 165 modules/videoio/src/cap_winrt_capture.cpp VideoioBridge::getInstance().setWidth(width); width 188 modules/videoio/src/cap_winrt_capture.cpp size.width = (int)value; width 86 modules/videoio/src/cap_winrt_video.cpp width = w; width 130 modules/videoio/src/cap_winrt_video.cpp props->Width = width; width 160 modules/videoio/src/cap_winrt_video.cpp unsigned int colBytes = width * bytesPerPixel; width 243 modules/videoio/src/cap_winrt_video.cpp auto plPitch = width * bytesPerPixel; width 246 modules/videoio/src/cap_winrt_video.cpp unsigned int colBytes = width * 4; width 275 modules/videoio/src/cap_winrt_video.cpp VideoioBridge::getInstance().frontOutputBuffer->PixelBuffer->Length = width * height * 4; width 71 modules/videoio/src/cap_winrt_video.hpp unsigned int width, height; width 97 modules/videoio/src/cap_ximea.cpp int width = 0; width 105 modules/videoio/src/cap_ximea.cpp mvret = xiGetParamInt( hmv, XI_PRM_WIDTH, &width); width 125 modules/videoio/src/cap_ximea.cpp frame = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 3); width 134 modules/videoio/src/cap_ximea.cpp frame = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 1); width 204 modules/videoio/src/cap_ximea.cpp case XI_RAW8 : memcpy( frame->imageData, image.bp, image.width*image.height); break; width 206 modules/videoio/src/cap_ximea.cpp case XI_RAW16 : memcpy( frame->imageData, image.bp, image.width*image.height*sizeof(WORD)); break; width 208 modules/videoio/src/cap_ximea.cpp case XI_RGB_PLANAR : memcpy( frame->imageData, image.bp, image.width*image.height*3); break; width 209 modules/videoio/src/cap_ximea.cpp case XI_RGB32 : memcpy( frame->imageData, image.bp, image.width*image.height*4); break; width 219 modules/videoio/src/cap_ximea.cpp int width = 0, height = 0, format = 0; width 220 modules/videoio/src/cap_ximea.cpp xiGetParamInt( hmv, XI_PRM_WIDTH, &width); width 224 modules/videoio/src/cap_ximea.cpp if( (int)image.width != frame->width || (int)image.height != frame->height || image.frm != (XI_IMG_FORMAT)format) width 232 modules/videoio/src/cap_ximea.cpp case XI_RAW8 : frame = cvCreateImage(cvSize( image.width, image.height), IPL_DEPTH_8U, 1); break; width 234 modules/videoio/src/cap_ximea.cpp case XI_RAW16 : frame = cvCreateImage(cvSize( image.width, image.height), IPL_DEPTH_16U, 1); break; width 236 modules/videoio/src/cap_ximea.cpp case XI_RGB_PLANAR : frame = cvCreateImage(cvSize( image.width, image.height), IPL_DEPTH_8U, 3); break; width 237 modules/videoio/src/cap_ximea.cpp case XI_RGB32 : frame = cvCreateImage(cvSize( image.width, image.height), IPL_DEPTH_8U, 4); break; width 107 modules/videoio/src/cap_xine.cpp for ( int x = 0; x < capture->yuv_frame->width; x++, offset += 3 ) width 132 modules/videoio/src/cap_xine.cpp int w_Y = capture->size.width; width 277 modules/videoio/src/cap_xine.cpp capture->size = cvSize( capture->xine_frame.width, capture->xine_frame.height ); width 686 modules/videoio/src/cap_xine.cpp return capture->size.width; width 145 modules/videoio/test/test_ffmpeg.cpp const int coeff = cvRound(min(frame_s.width, frame_s.height)/(fps0 * time_sec)); width 310 modules/videoio/test/test_ffmpeg.cpp CreateVideoWriterInvoker::FrameSize.width / 2); width 80 modules/videostab/include/opencv2/videostab/frame_source.hpp int width(); width 114 modules/videostab/src/frame_source.cpp int VideoFileSource::width() { return ((VideoFileSourceImpl*)impl.get())->width(); } width 151 modules/videostab/src/motion_stabilizing.cpp double w = frameSize_.width, h = frameSize_.height; width 643 modules/videostab/src/motion_stabilizing.cpp const float w = static_cast<float>(size.width); width 678 modules/videostab/src/motion_stabilizing.cpp const float w = static_cast<float>(size.width); width 84 modules/videostab/src/outlier_rejection.cpp Size ncells((frameSize.width + cellSize_.width - 1) / cellSize_.width, width 95 modules/videostab/src/outlier_rejection.cpp cx = std::min(cvRound(points0_[i].x / cellSize_.width), ncells.width - 1); width 97 modules/videostab/src/outlier_rejection.cpp grid_[cy * ncells.width + cx].push_back(i); width 61 modules/videostab/src/wobble_suppression.cpp int left, int idx, int right, int width, int height, width 76 modules/videostab/src/wobble_suppression.cpp left, idx, right, size.width, size.height, width 112 modules/viz/src/shapes.cpp plane->SetOrigin(-0.5 * size.width, -0.5 * size.height, 0.0); width 113 modules/viz/src/shapes.cpp plane->SetPoint1( 0.5 * size.width, -0.5 * size.height, 0.0); width 114 modules/viz/src/shapes.cpp plane->SetPoint2(-0.5 * size.width, 0.5 * size.height, 0.0); width 602 modules/viz/src/shapes.cpp transform->Scale(sz.width/(double)rect.width, sz.height/(double)rect.height, 1.0); width 647 modules/viz/src/shapes.cpp transform->Scale(sz.width/(double)size.width, sz.height/(double)size.height, 1.0); width 681 modules/viz/src/shapes.cpp plane->SetOrigin(-0.5 * size.width, -0.5 * size.height, 0.0); width 682 modules/viz/src/shapes.cpp plane->SetPoint1( 0.5 * size.width, -0.5 * size.height, 0.0); width 683 modules/viz/src/shapes.cpp plane->SetPoint2(-0.5 * size.width, 0.5 * size.height, 0.0); width 102 modules/viz/src/types.cpp CV_Assert(window_size.width > 0 && window_size.height > 0); width 107 modules/viz/src/types.cpp principal_point_ = Vec2f(static_cast<float>(window_size.width)*0.5f, static_cast<float>(window_size.height)*0.5f); width 122 modules/viz/src/types.cpp CV_Assert(window_size.width > 0 && window_size.height > 0); width 133 modules/viz/src/types.cpp principal_point_[0] = fabs(left-right) < epsilon ? window_size.width * 0.5 : (left * window_size.width) / (left - right); width 140 modules/viz/src/types.cpp fov_[0] = atan2(principal_point_[0], focal_[0]) + atan2(window_size.width-principal_point_[0], focal_[0]); width 148 modules/viz/src/types.cpp CV_Assert(window_size.width > 0 && window_size.height > 0); width 151 modules/viz/src/types.cpp fov_[0] = atan2(cx, fx) + atan2(window_size.width - cx, fx); width 165 modules/viz/src/types.cpp CV_Assert(window_size.width > 0 && window_size.height > 0); width 168 modules/viz/src/types.cpp float scalex = static_cast<float>(window_size.width) / static_cast<float>(window_size_.width); width 175 modules/viz/src/types.cpp fov_[0] = (atan2(principal_point_[0],focal_[0]) + atan2(window_size.width-principal_point_[0],focal_[0])); width 184 modules/viz/src/types.cpp double right = clip_[0] * (window_size_.width - principal_point_[0]) / focal_[0]; width 314 modules/viz/src/vizimpl.cpp if (window_size.width > 0 && window_size.height > 0) width 388 modules/viz/src/vizimpl.cpp window_->SetSize(camera.getWindowSize().width, camera.getWindowSize().height); width 389 modules/viz/src/vizimpl.cpp double aspect_ratio = static_cast<double>(camera.getWindowSize().width)/static_cast<double>(camera.getWindowSize().height); width 414 modules/viz/src/vizimpl.cpp double aspect_ratio = window_size.width / (double)window_size.height; width 552 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setWindowSize(const Size& window_size) { window_->SetSize(window_size.width, window_size.height); } width 351 modules/viz/test/tests_simple.cpp viz.showWidget("img2", WImageOverlay(gray, Rect(Point(vsz.width-10-lena.cols/2, 10), half_lsize))); width 353 modules/viz/test/tests_simple.cpp viz.showWidget("img5", WImageOverlay(lena, Rect(Point(vsz.width-10-lena.cols/2, vsz.height-10-lena.rows/2), half_lsize))); width 115 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Activity.java public void onCameraViewStarted(int width, int height) { width 116 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Activity.java mGameWidth = width; width 118 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Activity.java mPuzzle15.prepareGameSize(width, height); width 55 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java public synchronized void prepareGameSize(int width, int height) { width 56 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java mRgba15 = new Mat(height, width, CvType.CV_8UC4); width 62 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java mCells15[k] = mRgba15.submat(i * height / GRID_SIZE, (i + 1) * height / GRID_SIZE, j * width / GRID_SIZE, (j + 1) * width / GRID_SIZE); width 69 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java mTextWidths[i] = (int) s.width; width 195 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java public void onCameraViewStarted(int width, int height) { width 196 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java if (mWidth != width || mHeight != height) { width 197 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java mWidth = width; width 24 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java private final int mCornersSize = (int)(mPatternSize.width * mPatternSize.height); width 37 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java public CameraCalibrator(int width, int height) { width 38 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java mImageSize = new Size(width, height); width 87 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java for (int j = 0; j < mPatternSize.width * cn; j += cn) { width 88 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java positions[(int) (i * mPatternSize.width * cn + j + 0)] = width 90 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java positions[(int) (i * mPatternSize.width * cn + j + 1)] = width 92 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java positions[(int) (i * mPatternSize.width * cn + j + 2)] = 0; width 64 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java public ComparisonFrameRender(CameraCalibrator calibrator, int width, int height, Resources resources) { width 66 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java mWidth = width; width 106 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java public void onCameraViewStarted(int width, int height) { width 107 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java mRgba = new Mat(height, width, CvType.CV_8UC4); width 139 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java touchedRect.width = (x+4 < cols) ? x + 4 - touchedRect.x : cols - touchedRect.x; width 149 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java int pointCount = touchedRect.width*touchedRect.height; width 35 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp LOGD("CascadeDetectorAdapter::Detect: scaleFactor=%.2f, minNeighbours=%d, minObjSize=(%dx%d), maxObjSize=(%dx%d)", scaleFactor, minNeighbours, minObjSize.width, minObjSize.height, maxObjSize.width, maxObjSize.height); width 157 samples/android/face-detection/src/org/opencv/samples/facedetect/FdActivity.java public void onCameraViewStarted(int width, int height) { width 17 samples/android/hello-android/main.cpp Mat img(textsize.height + 20, textsize.width + 20, CV_32FC1, Scalar(230,230,230)); width 165 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java public void onCameraViewStarted(int width, int height) { width 208 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java int cols = (int) sizeRgba.width; width 213 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java int width = cols * 3 / 4; width 222 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java int thikness = (int) (sizeRgba.width / (mHistSizeNum + 10) / 5); width 224 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java int offset = (int) ((sizeRgba.width - (5*mHistSizeNum + 4*10)*thikness)/2); width 262 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow = rgba.submat(top, top + height, left, left + width); width 270 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Mat grayInnerWindow = gray.submat(top, top + height, left, left + width); width 271 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow = rgba.submat(top, top + height, left, left + width); width 280 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow = rgba.submat(top, top + height, left, left + width); width 290 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Imgproc.rectangle(mZoomWindow, new Point(1, 1), new Point(wsize.width - 2, wsize.height - 2), new Scalar(255, 0, 0, 255), 2); width 296 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow = rgba.submat(top, top + height, left, left + width); width 308 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow = rgba.submat(top, top + height, left, left + width); width 91 samples/android/tutorial-1-camerapreview/src/org/opencv/samples/tutorial1/Tutorial1Activity.java public void onCameraViewStarted(int width, int height) { width 115 samples/android/tutorial-2-mixedprocessing/src/org/opencv/samples/tutorial2/Tutorial2Activity.java public void onCameraViewStarted(int width, int height) { width 116 samples/android/tutorial-2-mixedprocessing/src/org/opencv/samples/tutorial2/Tutorial2Activity.java mRgba = new Mat(height, width, CvType.CV_8UC4); width 117 samples/android/tutorial-2-mixedprocessing/src/org/opencv/samples/tutorial2/Tutorial2Activity.java mIntermediateMat = new Mat(height, width, CvType.CV_8UC4); width 118 samples/android/tutorial-2-mixedprocessing/src/org/opencv/samples/tutorial2/Tutorial2Activity.java mGray = new Mat(height, width, CvType.CV_8UC1); width 106 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java public void onCameraViewStarted(int width, int height) { width 145 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java Integer.valueOf(element.width).toString() + "x" + Integer.valueOf(element.height).toString()); width 165 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java String caption = Integer.valueOf(resolution.width).toString() + "x" + Integer.valueOf(resolution.height).toString(); width 49 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3View.java mMaxWidth = resolution.width; width 40 samples/cpp/3calibration.cpp for( int j = 0; j < boardSize.width; j++ ) width 199 samples/cpp/3calibration.cpp if( sscanf( argv[++i], "%u", &boardSize.width ) != 1 || boardSize.width <= 0 ) width 316 samples/cpp/3calibration.cpp fs << "imageWidth" << imageSize.width; width 346 samples/cpp/3calibration.cpp Mat canvas(imageSize.height, imageSize.width*3, CV_8UC3), small_canvas; width 362 samples/cpp/3calibration.cpp Mat rview = canvas.colRange(k2*imageSize.width, (k2+1)*imageSize.width); width 120 samples/cpp/calibration.cpp for( int j = 0; j < boardSize.width; j++ ) width 127 samples/cpp/calibration.cpp for( int j = 0; j < boardSize.width; j++ ) width 191 samples/cpp/calibration.cpp fs << "image_width" << imageSize.width; width 193 samples/cpp/calibration.cpp fs << "board_width" << boardSize.width; width 332 samples/cpp/calibration.cpp if( sscanf( argv[++i], "%u", &boardSize.width ) != 1 || boardSize.width <= 0 ) width 505 samples/cpp/calibration.cpp Point textOrigin(view.cols - 2*textSize.width - 10, view.rows - 2*baseLine - 10); width 29 samples/cpp/camshiftdemo.cpp selection.width = std::abs(x - origin.x); width 44 samples/cpp/camshiftdemo.cpp if( selection.width > 0 && selection.height > 0 ) width 175 samples/cpp/camshiftdemo.cpp if( selectObject && selection.width > 0 && selection.height > 0 ) width 120 samples/cpp/cloning_demo.cpp p.x = destination.size().width/2; width 157 samples/cpp/cloning_demo.cpp p.x = destination.size().width/2; width 231 samples/cpp/cloning_gui.cpp if(maxxd > im1.size().width || maxyd > im1.size().height || minxd < 0 || minyd < 0) width 122 samples/cpp/delaunay2.cpp Point2f fp( (float)(rand()%(rect.width-10)+5), width 343 samples/cpp/detect_mser.cpp int *width, *color; width 345 samples/cpp/detect_mser.cpp width = width1; width 349 samples/cpp/detect_mser.cpp rectangle(img, Rect(p0, Size(width[i], width[i])), Scalar(color[i]), 1); width 350 samples/cpp/detect_mser.cpp p0 += Point((width[i] - width[i + 1]) / 2, (width[i] - width[i + 1]) / 2); width 359 samples/cpp/detect_mser.cpp circle(img, p0, width[i] / 2, Scalar(color[i]), 1); width 368 samples/cpp/detect_mser.cpp rectangle(img, Rect(p0, Size(width[i], width[i])), Scalar(color[i]), 1); width 369 samples/cpp/detect_mser.cpp p0 += Point((width[i] - width[i + 1]) / 2, (width[i] - width[i + 1]) / 2); width 379 samples/cpp/detect_mser.cpp circle(img, p0, width[i] / 2, Scalar(color[i]), 1); width 26 samples/cpp/drawing.cpp int i, width = 1000, height = 700; width 27 samples/cpp/drawing.cpp int x1 = -width/2, x2 = width*3/2, y1 = -height/2, y2 = height*3/2; width 30 samples/cpp/drawing.cpp Mat image = Mat::zeros(height, width, CV_8UC3); width 71 samples/cpp/drawing.cpp axes.width = rng.uniform(0, 200); width 162 samples/cpp/drawing.cpp Point org((width - textsize.width)/2, (height - textsize.height)/2); width 239 samples/cpp/facedetect.cpp faces.push_back(Rect(smallImg.cols - r->x - r->width, r->y, r->width, r->height)); width 252 samples/cpp/facedetect.cpp double aspect_ratio = (double)r->width/r->height; width 255 samples/cpp/facedetect.cpp center.x = cvRound((r->x + r->width*0.5)*scale); width 257 samples/cpp/facedetect.cpp radius = cvRound((r->width + r->height)*0.25*scale); width 262 samples/cpp/facedetect.cpp cvPoint(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)), width 277 samples/cpp/facedetect.cpp center.x = cvRound((r->x + nr->x + nr->width*0.5)*scale); width 279 samples/cpp/facedetect.cpp radius = cvRound((nr->width + nr->height)*0.25*scale); width 142 samples/cpp/facial_features.cpp rectangle(img, Point(face.x, face.y), Point(face.x+face.width, face.y+face.height), width 146 samples/cpp/facial_features.cpp Mat ROI = img(Rect(face.x, face.y, face.width, face.height)); width 163 samples/cpp/facial_features.cpp circle(ROI, Point(e.x+e.width/2, e.y+e.height/2), 3, Scalar(0, 255, 0), -1, 8); width 180 samples/cpp/facial_features.cpp circle(ROI, Point(n.x+n.width/2, n.y+n.height/2), 3, Scalar(0, 255, 0), -1, 8); width 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); width 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); width 82 samples/cpp/fitellipse.cpp if( MAX(box.size.width, box.size.height) > MIN(box.size.width, box.size.height)*30 ) width 129 samples/cpp/grabcut.cpp rectangle( res, Point( rect.x, rect.y ), Point(rect.x + rect.width, rect.y + rect.height ), GREEN, 2); width 140 samples/cpp/grabcut.cpp rect.width = min(rect.width, image->cols-rect.x); width 34 samples/cpp/image_alignment.cpp static void draw_warped_roi(Mat& image, const int width, const int height, Mat& W); width 131 samples/cpp/image_alignment.cpp static void draw_warped_roi(Mat& image, const int width, const int height, Mat& W) width 152 samples/cpp/image_alignment.cpp HOMO_VECTOR(H, width, 1); width 162 samples/cpp/image_alignment.cpp HOMO_VECTOR(H, width, height); width 54 samples/cpp/polar_transforms.cpp log_polar_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels ); width 55 samples/cpp/polar_transforms.cpp lin_polar_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels ); width 56 samples/cpp/polar_transforms.cpp recovered_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels ); width 59 samples/cpp/polar_transforms.cpp cvLogPolar(frame,log_polar_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS); width 60 samples/cpp/polar_transforms.cpp cvLinearPolar(frame,lin_polar_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS); width 63 samples/cpp/polar_transforms.cpp cvLogPolar(log_polar_img,recovered_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_WARP_INVERSE_MAP+CV_INTER_LINEAR); width 65 samples/cpp/polar_transforms.cpp cvLinearPolar(lin_polar_img,recovered_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_WARP_INVERSE_MAP+CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS); width 91 samples/cpp/select3dobj.cpp fs["image_width"] >> calibratedImageSize.width; width 109 samples/cpp/select3dobj.cpp for( int j = 0; j < boardSize.width; j++ ) width 360 samples/cpp/select3dobj.cpp "roi" << "[:" << r.x << r.y << r.width << r.height << "]" << width 419 samples/cpp/select3dobj.cpp if(sscanf(argv[++i], "%d", &boardSize.width) != 1 || boardSize.width <= 0) width 460 samples/cpp/select3dobj.cpp boardSize.width <= 0 || boardSize.height <= 0 ) width 543 samples/cpp/select3dobj.cpp double sx = (double)frame0.cols/calibratedImageSize.width; width 92 samples/cpp/shape_example.cpp moveWindow("TEST", sz2Sh.width+50,0); width 109 samples/cpp/shape_example.cpp moveWindow("BEST MATCH", sz2Sh.width+50,0); width 196 samples/cpp/smiledetect.cpp faces.push_back(Rect(smallImg.cols - r->x - r->width, r->y, r->width, r->height)); width 208 samples/cpp/smiledetect.cpp double aspect_ratio = (double)r->width/r->height; width 211 samples/cpp/smiledetect.cpp center.x = cvRound((r->x + r->width*0.5)*scale); width 213 samples/cpp/smiledetect.cpp radius = cvRound((r->width + r->height)*0.25*scale); width 218 samples/cpp/smiledetect.cpp cvPoint(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)), width 161 samples/cpp/stereo_calib.cpp for( k = 0; k < boardSize.width; k++ ) width 287 samples/cpp/stereo_calib.cpp sf = 600./MAX(imageSize.width, imageSize.height); width 288 samples/cpp/stereo_calib.cpp w = cvRound(imageSize.width*sf); width 294 samples/cpp/stereo_calib.cpp sf = 300./MAX(imageSize.width, imageSize.height); width 295 samples/cpp/stereo_calib.cpp w = cvRound(imageSize.width*sf); width 312 samples/cpp/stereo_calib.cpp cvRound(validRoi[k].width*sf), cvRound(validRoi[k].height*sf)); width 356 samples/cpp/stereo_calib.cpp if( sscanf(argv[++i], "%d", &boardSize.width) != 1 || boardSize.width <= 0 ) width 388 samples/cpp/stereo_calib.cpp else if( boardSize.width <= 0 || boardSize.height <= 0 ) width 232 samples/cpp/stereo_match.cpp numberOfDisparities = numberOfDisparities > 0 ? numberOfDisparities : ((img_size.width/8) + 15) & -16; width 754 samples/cpp/stitching_detailed.cpp sz.width = cvRound(full_img_sizes[i].width * compose_scale); width 110 samples/cpp/train_HOG.cpp box.width = size.width; width 113 samples/cpp/train_HOG.cpp const int size_x = box.width; width 136 samples/cpp/train_HOG.cpp const int DIMX = size.width; width 119 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp output.x = demRatioX * dem_size.width; width 131 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp double rx = (double)x / size.width; width 82 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp moveWindow(WIN_UT, refS.width, 0); //1500, 2 width 84 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp cout << "Reference frame resolution: Width=" << refS.width << " Height=" << refS.height width 64 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp cout << "Input frame resolution: Width=" << S.width << " Height=" << S.height width 38 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp << "BoardSize_Width" << boardSize.width width 60 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp node["BoardSize_Width" ] >> boardSize.width; width 80 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if (boardSize.width <= 0 || boardSize.height <= 0) width 82 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp cerr << "Invalid Board size: " << boardSize.width << " " << boardSize.height << endl; width 337 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp Point textOrigin(view.cols - 2*textSize.width - 10, view.rows - 2*baseLine - 10); width 442 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp for( int j = 0; j < boardSize.width; ++j ) width 448 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp for( int j = 0; j < boardSize.width; j++ ) width 504 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "image_width" << imageSize.width; width 506 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "board_width" << s.boardSize.width; width 33 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp double width = 640, height = 480; // image size width 35 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp double params_WEBCAM[] = { width*f/sx, // fx width 37 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp width/2, // cx width 33 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp double width = 2592, height = 1944; width 34 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp double params_CANON[] = { width*f/sx, // fx width 36 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp width/2, // cx width 168 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp axes.width = rng.uniform(0, 200); width 309 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp Point org((window_width - textsize.width)/2, (window_height - textsize.height)/2); width 13 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp int width = 512, height = 512; width 14 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp Mat image = Mat::zeros(height, width, CV_8UC3); width 67 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp Point center( faces[i].x + faces[i].width/2, faces[i].y + faces[i].height/2 ); width 68 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp ellipse( frame, center, Size( faces[i].width/2, faces[i].height/2 ), 0, 0, 360, Scalar( 255, 0, 255 ), 4, 8, 0 ); width 78 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp Point eye_center( faces[i].x + eyes[j].x + eyes[j].width/2, faces[i].y + eyes[j].y + eyes[j].height/2 ); width 79 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp int radius = cvRound( (eyes[j].width + eyes[j].height)*0.25 ); width 84 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp Point center( faces[i].x + faces[i].width/2, faces[i].y + faces[i].height/2 ); width 85 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp ellipse( frame, center, Size( faces[i].width/2, faces[i].height/2 ), 0, 0, 360, Scalar( 255, 0, 0 ), 2, 8, 0 ); width 89 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp Point eye_center( faces[i].x + eyes[j].x + eyes[j].width/2, faces[i].y + eyes[j].y + eyes[j].height/2 ); width 90 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp int radius = cvRound( (eyes[j].width + eyes[j].height)*0.25 ); width 119 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp p.x = destination.size().width/2; width 156 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp p.x = destination.size().width/2; width 230 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp if(maxxd > im1.size().width || maxyd > im1.size().height || minxd < 0 || minyd < 0) width 229 samples/cpp/ufacedetect.cpp faces.push_back(Rect(smallImg.cols - r->x - r->width, r->y, r->width, r->height)); width 252 samples/cpp/ufacedetect.cpp double aspect_ratio = (double)r->width/r->height; width 255 samples/cpp/ufacedetect.cpp center.x = cvRound((r->x + r->width*0.5)*scale); width 257 samples/cpp/ufacedetect.cpp radius = cvRound((r->width + r->height)*0.25*scale); width 262 samples/cpp/ufacedetect.cpp Point(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)), width 277 samples/cpp/ufacedetect.cpp center.x = cvRound((r->x + nr->x + nr->width*0.5)*scale); width 279 samples/cpp/ufacedetect.cpp radius = cvRound((nr->width + nr->height)*0.25*scale); width 403 samples/cpp/videostab.cpp stab->setFrameSize(Size(source->width(), source->height())); width 30 samples/directx/d3d10_interop.cpp D3D10WinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : width 31 samples/directx/d3d10_interop.cpp D3DSample(width, height, window_name, cap) {} width 30 samples/directx/d3d11_interop.cpp D3D11WinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : width 31 samples/directx/d3d11_interop.cpp D3DSample(width, height, window_name, cap) {} width 30 samples/directx/d3d9_interop.cpp D3D9WinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : width 31 samples/directx/d3d9_interop.cpp D3DSample(width, height, window_name, cap) {} width 30 samples/directx/d3d9ex_interop.cpp D3D9ExWinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : width 31 samples/directx/d3d9ex_interop.cpp D3DSample(width, height, window_name, cap) {} width 30 samples/directx/d3dsample.hpp D3DSample(int width, int height, std::string& window_name, cv::VideoCapture& cap) : width 31 samples/directx/d3dsample.hpp WinApp(width, height, window_name) width 166 samples/directx/d3dsample.hpp int width = (int)cap.get(CAP_PROP_FRAME_WIDTH); width 171 samples/directx/d3dsample.hpp TApp app(width, height, wndname, cap); width 15 samples/directx/winapp.hpp WinApp(int width, int height, std::string& window_name) width 17 samples/directx/winapp.hpp m_width = width; width 274 samples/gpu/cascadeclassifier.cpp << ", " << setw(4) << faces[i].width width 87 samples/gpu/cascadeclassifier_nvidia_api.cpp Ncv32u width, Ncv32u height, width 102 samples/gpu/cascadeclassifier_nvidia_api.cpp NCVMatrixAlloc<Ncv8u> d_src(gpuAllocator, width, height); width 104 samples/gpu/cascadeclassifier_nvidia_api.cpp NCVMatrixAlloc<Ncv8u> h_src(cpuAllocator, width, height); width 123 samples/gpu/cascadeclassifier_nvidia_api.cpp roi.width = d_src.width(); width 181 samples/gpu/cascadeclassifier_nvidia_api.cpp frameSize.width = image.cols; width 200 samples/gpu/cascadeclassifier_nvidia_api.cpp frameSize.width = frame.cols; width 272 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvStat = process(NULL, frameSize.width, frameSize.height, width 284 samples/gpu/cascadeclassifier_nvidia_api.cpp printf("Initialized for frame size [%dx%d]\n", frameSize.width, frameSize.height); width 307 samples/gpu/cascadeclassifier_nvidia_api.cpp Ncv32u ratioX = preferredVideoFrameSize.width / minSize.width; width 311 samples/gpu/cascadeclassifier_nvidia_api.cpp minSize.width *= ratioSmallest; width 320 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvStat = process(&gray, frameSize.width, frameSize.height, width 338 samples/gpu/cascadeclassifier_nvidia_api.cpp Size(minSize.width, minSize.height)); width 36 samples/gpu/hog.cpp int width, height; width 153 samples/gpu/hog.cpp width = 640; width 177 samples/gpu/hog.cpp else if (string(argv[i]) == "--width") args.width = atoi(argv[++i]); width 236 samples/gpu/hog.cpp cout << "Resized source: (" << args.width << ", " << args.height << ")\n"; width 308 samples/gpu/hog.cpp if (args.resize_src) resize(img_aux, img, Size(args.width, args.height)); width 88 samples/gpu/opticalflow_nvidia_api.cpp dst = Ptr<NCVMatrixAlloc<Ncv32f> > (new NCVMatrixAlloc<Ncv32f> (*g_pHostMemAllocator, image->width, image->height)); width 95 samples/gpu/opticalflow_nvidia_api.cpp for (int j = 0; j < image->width; ++j) width 119 samples/gpu/opticalflow_nvidia_api.cpp for (int j = 0; j < image->width; ++j) width 138 samples/gpu/opticalflow_nvidia_api.cpp int &width, width 168 samples/gpu/opticalflow_nvidia_api.cpp width = image->width; width 191 samples/gpu/opticalflow_nvidia_api.cpp NCVMatrixAlloc<Ncv32f> host_u(*g_pHostMemAllocator, u.width(), u.height()); width 194 samples/gpu/opticalflow_nvidia_api.cpp NCVMatrixAlloc<Ncv32f> host_v (*g_pHostMemAllocator, u.width (), u.height ()); width 207 samples/gpu/opticalflow_nvidia_api.cpp for (Ncv32u j = 0; j < u.width (); ++j) width 214 samples/gpu/opticalflow_nvidia_api.cpp ptr_u += u.stride () - u.width (); width 215 samples/gpu/opticalflow_nvidia_api.cpp ptr_v += v.stride () - v.width (); width 218 samples/gpu/opticalflow_nvidia_api.cpp CvSize image_size = cvSize (u.width (), u.height ()); width 228 samples/gpu/opticalflow_nvidia_api.cpp for (int j = 0; j < flowField->width; ++j) width 238 samples/gpu/opticalflow_nvidia_api.cpp ptr_u += u.stride () - u.width (); width 239 samples/gpu/opticalflow_nvidia_api.cpp ptr_v += v.stride () - v.width (); width 249 samples/gpu/opticalflow_nvidia_api.cpp CvSize imageSize = cvSize (h_r.width (), h_r.height ()); width 257 samples/gpu/opticalflow_nvidia_api.cpp for (int j = 0; j < image->width; ++j) width 414 samples/gpu/opticalflow_nvidia_api.cpp int width, height; width 422 samples/gpu/opticalflow_nvidia_api.cpp ncvAssertReturnNcvStat (LoadImages (frame0Name, frame1Name, width, height, src_host, dst_host, firstFrame, lastFrame)); width 426 samples/gpu/opticalflow_nvidia_api.cpp ncvAssertReturnNcvStat (LoadImages ("frame10.bmp", "frame11.bmp", width, height, src_host, dst_host, firstFrame, lastFrame)); width 429 samples/gpu/opticalflow_nvidia_api.cpp Ptr<NCVMatrixAlloc<Ncv32f> > src (new NCVMatrixAlloc<Ncv32f> (*g_pGPUMemAllocator, src_host->width (), src_host->height ())); width 432 samples/gpu/opticalflow_nvidia_api.cpp Ptr<NCVMatrixAlloc<Ncv32f> > dst (new NCVMatrixAlloc<Ncv32f> (*g_pGPUMemAllocator, src_host->width (), src_host->height ())); width 445 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (u, g_pGPUMemAllocator, width, height); width 446 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (v, g_pGPUMemAllocator, width, height); width 448 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (uBck, g_pGPUMemAllocator, width, height); width 449 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (vBck, g_pGPUMemAllocator, width, height); width 451 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (h_r, g_pHostMemAllocator, width, height); width 452 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (h_g, g_pHostMemAllocator, width, height); width 453 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (h_b, g_pHostMemAllocator, width, height); width 471 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (d_temp, g_pGPUMemAllocator, width, height); width 474 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (d_r, g_pGPUMemAllocator, width, height); width 475 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (d_g, g_pGPUMemAllocator, width, height); width 476 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (d_b, g_pGPUMemAllocator, width, height); width 479 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (d_rt, g_pGPUMemAllocator, width, height); width 480 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (d_gt, g_pGPUMemAllocator, width, height); width 481 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (d_bt, g_pGPUMemAllocator, width, height); width 484 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (d_rNew, g_pGPUMemAllocator, width, height); width 485 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (d_gNew, g_pGPUMemAllocator, width, height); width 486 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (d_bNew, g_pGPUMemAllocator, width, height); width 489 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (ui, g_pGPUMemAllocator, width, height); width 490 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (vi, g_pGPUMemAllocator, width, height); width 493 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (ubi, g_pGPUMemAllocator, width, height); width 494 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (vbi, g_pGPUMemAllocator, width, height); width 497 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (occ0, g_pGPUMemAllocator, width, height); width 498 samples/gpu/opticalflow_nvidia_api.cpp SAFE_MAT_DECL (occ1, g_pGPUMemAllocator, width, height); width 538 samples/gpu/opticalflow_nvidia_api.cpp state.size = NcvSize32u (width, height); width 36 samples/java/sbt/src/main/java/DetectFaceDemo.java + rect.width, rect.y + rect.height), new Scalar(0, 255, 0)); width 27 samples/tapi/camshift.cpp selection.width = std::abs(x - origin.x); width 42 samples/tapi/camshift.cpp if (selection.width > 0 && selection.height > 0) width 186 samples/tapi/camshift.cpp if (selectObject && selection.width > 0 && selection.height > 0) width 63 samples/tapi/clahe.cpp setTrackbarPos("Tile Size", "CLAHE", cur_tilesize.width); width 1463 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp UINT32 width = 0; width 1470 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp hr = MFGetAttributeSize(pType, MF_MT_FRAME_SIZE, &width, &height); width 1476 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp lStride = width; width 1480 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp lStride = ((width * 2) + 3) & ~3; width 79 samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp int width = m_bitmap->PixelWidth; width 82 samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp cv::Mat mat(width, height, CV_8UC4); width 83 samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp memcpy(mat.data, pPixels, 4 * height*width); width 93 samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp memcpy(pPixels, mat.data, 4 * height*width); width 144 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp void Direct3DBase::UpdateForRenderResolutionChange(float width, float height) width 146 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp m_renderTargetSize.Width = width; width 158 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp void Direct3DBase::UpdateForWindowSizeChange(float width, float height) width 160 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp m_windowBounds.Width = width; width 15 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.h virtual void UpdateForRenderResolutionChange(float width, float height); width 16 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.h virtual void UpdateForWindowSizeChange(float width, float height); width 58 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp textureSubRectangle->right = static_cast<FLOAT>(size->width); width 33 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp UINT width, width 38 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp m_Direct3dInterop->UpdateFrame(pixels, width, height); width 71 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp void Direct3DInterop::UpdateFrame(byte* buffer,int width,int height) width 76 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp m_backFrame = std::shared_ptr<cv::Mat> (new cv::Mat(height, width, CV_8UC4)); width 77 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp m_frontFrame = std::shared_ptr<cv::Mat> (new cv::Mat(height, width, CV_8UC4)); width 80 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp memcpy(m_backFrame.get()->data, buffer, 4 * height*width); width 58 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h void UpdateFrame(byte* buffer, int width, int height); width 114 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h UINT width, width 15 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.cpp void QuadRenderer::CreateTextureFromByte(byte* buffer,int width,int height) width 23 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.cpp static_cast<UINT>(width), // width width 37 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.cpp data.SysMemPitch = pixelSize*width; width 38 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.cpp data.SysMemSlicePitch = pixelSize*width*height; width 62 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.cpp int nRowSpan = width * pixelSize; width 32 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.h void CreateTextureFromByte(byte * buffer,int width,int height); width 16 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.cpp void CubeRenderer::CreateTextureFromByte(byte* buffer, int width, int height) width 24 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.cpp static_cast<UINT>(width), // width width 38 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.cpp data.SysMemPitch = pixelSize*width; width 39 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.cpp data.SysMemSlicePitch = pixelSize*width*height; width 63 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.cpp int nRowSpan = width * pixelSize; width 40 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.h void CreateTextureFromByte(byte * buffer,int width,int height); width 144 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp void Direct3DBase::UpdateForRenderResolutionChange(float width, float height) width 146 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp m_renderTargetSize.Width = width; width 158 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp void Direct3DBase::UpdateForWindowSizeChange(float width, float height) width 160 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp m_windowBounds.Width = width; width 15 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.h virtual void UpdateForRenderResolutionChange(float width, float height); width 16 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.h virtual void UpdateForWindowSizeChange(float width, float height); width 58 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp textureSubRectangle->right = static_cast<FLOAT>(size->width); width 145 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp void Direct3DInterop::CreateTexture(const Platform::Array<int>^ buffer,int width,int height, OCVFilterType filter) width 149 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::Mat Lena = cv::Mat(height, width, CV_8UC4); width 150 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp memcpy(Lena.data, buffer->Data, 4 * height*width); width 170 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp m_renderer->CreateTextureFromByte(Lena.data, width, height); width 24 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp IAsyncOperation<IVectorView<int>^>^ OpenCVLib::ProcessAsync(IVector<int>^ input, int width, int height) width 27 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp cv::Mat mat(width, height, CV_8UC4); width 12 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.h Windows::Foundation::IAsyncOperation<Windows::Foundation::Collections::IVectorView<int>^>^ ProcessAsync(Windows::Foundation::Collections::IVector<int>^ input, int width, int height);