w 3130 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int w; ///< width of pict, undefined when pict is not set w 94 3rdparty/include/ffmpeg_/libavutil/imgutils.h int w, int h, enum AVPixelFormat pix_fmt, int align); w 191 3rdparty/include/ffmpeg_/libavutil/imgutils.h int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *log_ctx); w 656 3rdparty/include/ffmpeg_/libavutil/opt.h int av_opt_set_image_size(void *obj, const char *name, int w, int h, int search_flags); w 162 3rdparty/include/ffmpeg_/libavutil/pixdesc.h const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component); w 179 3rdparty/include/ffmpeg_/libavutil/pixdesc.h const AVPixFmtDescriptor *desc, int x, int y, int c, int w); w 496 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_char x, y, z, w; }; w 515 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_char x, y, z, w; }; w 534 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_char x, y, z, w, __spacer4, __spacer5, __spacer6, __spacer7, __spacer8, __spacer9, sa, sb, sc, sd, se, sf; }; w 571 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uchar x, y, z, w; }; w 590 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uchar x, y, z, w; }; w 609 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uchar x, y, z, w, __spacer4, __spacer5, __spacer6, __spacer7, __spacer8, __spacer9, sa, sb, sc, sd, se, sf; }; w 646 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_short x, y, z, w; }; w 665 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_short x, y, z, w; }; w 684 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_short x, y, z, w, __spacer4, __spacer5, __spacer6, __spacer7, __spacer8, __spacer9, sa, sb, sc, sd, se, sf; }; w 721 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ushort x, y, z, w; }; w 740 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ushort x, y, z, w; }; w 759 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ushort x, y, z, w, __spacer4, __spacer5, __spacer6, __spacer7, __spacer8, __spacer9, sa, sb, sc, sd, se, sf; }; w 795 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_int x, y, z, w; }; w 814 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_int x, y, z, w; }; w 833 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_int x, y, z, w, __spacer4, __spacer5, __spacer6, __spacer7, __spacer8, __spacer9, sa, sb, sc, sd, se, sf; }; w 870 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uint x, y, z, w; }; w 889 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uint x, y, z, w; }; w 908 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uint x, y, z, w, __spacer4, __spacer5, __spacer6, __spacer7, __spacer8, __spacer9, sa, sb, sc, sd, se, sf; }; w 944 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_long x, y, z, w; }; w 963 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_long x, y, z, w; }; w 982 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_long x, y, z, w, __spacer4, __spacer5, __spacer6, __spacer7, __spacer8, __spacer9, sa, sb, sc, sd, se, sf; }; w 1019 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ulong x, y, z, w; }; w 1038 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ulong x, y, z, w; }; w 1057 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ulong x, y, z, w, __spacer4, __spacer5, __spacer6, __spacer7, __spacer8, __spacer9, sa, sb, sc, sd, se, sf; }; w 1095 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_float x, y, z, w; }; w 1114 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_float x, y, z, w; }; w 1133 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_float x, y, z, w, __spacer4, __spacer5, __spacer6, __spacer7, __spacer8, __spacer9, sa, sb, sc, sd, se, sf; }; w 1170 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_double x, y, z, w; }; w 1189 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_double x, y, z, w; }; w 1208 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_double x, y, z, w, __spacer4, __spacer5, __spacer6, __spacer7, __spacer8, __spacer9, sa, sb, sc, sd, se, sf; }; w 1641 3rdparty/libpng/pngrtran.c png_byte v, w; w 1644 3rdparty/libpng/pngrtran.c png_composite(w, v, png_ptr->trans_alpha[i], back_1.red); w 1645 3rdparty/libpng/pngrtran.c palette[i].red = png_ptr->gamma_from_1[w]; w 1648 3rdparty/libpng/pngrtran.c png_composite(w, v, png_ptr->trans_alpha[i], back_1.green); w 1649 3rdparty/libpng/pngrtran.c palette[i].green = png_ptr->gamma_from_1[w]; w 1652 3rdparty/libpng/pngrtran.c png_composite(w, v, png_ptr->trans_alpha[i], back_1.blue); w 1653 3rdparty/libpng/pngrtran.c palette[i].blue = png_ptr->gamma_from_1[w]; w 3332 3rdparty/libpng/pngrtran.c png_uint_16 red, green, blue, w; w 3341 3rdparty/libpng/pngrtran.c w = png_ptr->gamma_16_table[(red&0xff) w 3345 3rdparty/libpng/pngrtran.c w = red; w 3359 3rdparty/libpng/pngrtran.c w = png_ptr->gamma_16_from_1[(gray16&0xff) >> w 3364 3rdparty/libpng/pngrtran.c *(dp++) = (png_byte)((w>>8) & 0xff); w 3365 3rdparty/libpng/pngrtran.c *(dp++) = (png_byte)(w & 0xff); w 3891 3rdparty/libpng/pngrtran.c png_byte v, w; w 3894 3rdparty/libpng/pngrtran.c png_composite(w, v, a, png_ptr->background_1.gray); w 3896 3rdparty/libpng/pngrtran.c w = gamma_from_1[w]; w 3897 3rdparty/libpng/pngrtran.c *sp = w; w 3947 3rdparty/libpng/pngrtran.c png_uint_16 g, v, w; w 3952 3rdparty/libpng/pngrtran.c w = v; w 3954 3rdparty/libpng/pngrtran.c w = gamma_16_from_1[(v&0xff) >> gamma_shift][v >> 8]; w 3955 3rdparty/libpng/pngrtran.c *sp = (png_byte)((w >> 8) & 0xff); w 3956 3rdparty/libpng/pngrtran.c *(sp + 1) = (png_byte)(w & 0xff); w 4020 3rdparty/libpng/pngrtran.c png_byte v, w; w 4023 3rdparty/libpng/pngrtran.c png_composite(w, v, a, png_ptr->background_1.red); w 4024 3rdparty/libpng/pngrtran.c if (!optimize) w = gamma_from_1[w]; w 4025 3rdparty/libpng/pngrtran.c *sp = w; w 4028 3rdparty/libpng/pngrtran.c png_composite(w, v, a, png_ptr->background_1.green); w 4029 3rdparty/libpng/pngrtran.c if (!optimize) w = gamma_from_1[w]; w 4030 3rdparty/libpng/pngrtran.c *(sp + 1) = w; w 4033 3rdparty/libpng/pngrtran.c png_composite(w, v, a, png_ptr->background_1.blue); w 4034 3rdparty/libpng/pngrtran.c if (!optimize) w = gamma_from_1[w]; w 4035 3rdparty/libpng/pngrtran.c *(sp + 2) = w; w 4109 3rdparty/libpng/pngrtran.c png_uint_16 v, w; w 4112 3rdparty/libpng/pngrtran.c png_composite_16(w, v, a, png_ptr->background_1.red); w 4114 3rdparty/libpng/pngrtran.c w = gamma_16_from_1[((w&0xff) >> gamma_shift)][w >> 8]; w 4115 3rdparty/libpng/pngrtran.c *sp = (png_byte)((w >> 8) & 0xff); w 4116 3rdparty/libpng/pngrtran.c *(sp + 1) = (png_byte)(w & 0xff); w 4119 3rdparty/libpng/pngrtran.c png_composite_16(w, v, a, png_ptr->background_1.green); w 4121 3rdparty/libpng/pngrtran.c w = gamma_16_from_1[((w&0xff) >> gamma_shift)][w >> 8]; w 4123 3rdparty/libpng/pngrtran.c *(sp + 2) = (png_byte)((w >> 8) & 0xff); w 4124 3rdparty/libpng/pngrtran.c *(sp + 3) = (png_byte)(w & 0xff); w 4127 3rdparty/libpng/pngrtran.c png_composite_16(w, v, a, png_ptr->background_1.blue); w 4129 3rdparty/libpng/pngrtran.c w = gamma_16_from_1[((w&0xff) >> gamma_shift)][w >> 8]; w 4131 3rdparty/libpng/pngrtran.c *(sp + 4) = (png_byte)((w >> 8) & 0xff); w 4132 3rdparty/libpng/pngrtran.c *(sp + 5) = (png_byte)(w & 0xff); w 620 3rdparty/libtiff/tif_fax3.c #define DEBUG_COLOR(w) (tab == TIFFFaxWhiteCodes ? w "W" : w "B") w 469 3rdparty/libtiff/tif_getimage.c TIFFRGBAImageGet(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) w 480 3rdparty/libtiff/tif_getimage.c return (*img->get)(img, raster, w, h); w 589 3rdparty/libtiff/tif_getimage.c gtTileContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) w 613 3rdparty/libtiff/tif_getimage.c toskew = -(int32)(tw + w); w 617 3rdparty/libtiff/tif_getimage.c toskew = -(int32)(tw - w); w 624 3rdparty/libtiff/tif_getimage.c for (col = 0; col < w; col += tw) w 635 3rdparty/libtiff/tif_getimage.c if (col + tw > w) w 641 3rdparty/libtiff/tif_getimage.c uint32 npix = w - col; w 643 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w+col, col, y, w 648 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w+col, col, y, tw, nrow, 0, toskew, buf + pos); w 660 3rdparty/libtiff/tif_getimage.c uint32 *left = raster + (line * w); w 661 3rdparty/libtiff/tif_getimage.c uint32 *right = left + w - 1; w 682 3rdparty/libtiff/tif_getimage.c gtTileSeparate(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) w 724 3rdparty/libtiff/tif_getimage.c toskew = -(int32)(tw + w); w 728 3rdparty/libtiff/tif_getimage.c toskew = -(int32)(tw - w); w 749 3rdparty/libtiff/tif_getimage.c for (col = 0; col < w; col += tw) w 784 3rdparty/libtiff/tif_getimage.c if (col + tw > w) w 790 3rdparty/libtiff/tif_getimage.c uint32 npix = w - col; w 792 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w+col, col, y, w 796 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w+col, col, y, w 808 3rdparty/libtiff/tif_getimage.c uint32 *left = raster + (line * w); w 809 3rdparty/libtiff/tif_getimage.c uint32 *right = left + w - 1; w 831 3rdparty/libtiff/tif_getimage.c gtStripContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) w 855 3rdparty/libtiff/tif_getimage.c toskew = -(int32)(w + w); w 858 3rdparty/libtiff/tif_getimage.c toskew = -(int32)(w - w); w 864 3rdparty/libtiff/tif_getimage.c fromskew = (w < imagewidth ? imagewidth - w : 0); w 883 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w, 0, y, w, nrow, fromskew, toskew, buf + pos); w 891 3rdparty/libtiff/tif_getimage.c uint32 *left = raster + (line * w); w 892 3rdparty/libtiff/tif_getimage.c uint32 *right = left + w - 1; w 914 3rdparty/libtiff/tif_getimage.c gtStripSeparate(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) w 950 3rdparty/libtiff/tif_getimage.c toskew = -(int32)(w + w); w 954 3rdparty/libtiff/tif_getimage.c toskew = -(int32)(w - w); w 973 3rdparty/libtiff/tif_getimage.c fromskew = (w < imagewidth ? imagewidth - w : 0); w 1014 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w, 0, y, w, nrow, fromskew, toskew, p0 + pos, p1 + pos, w 1023 3rdparty/libtiff/tif_getimage.c uint32 *left = raster + (line * w); w 1024 3rdparty/libtiff/tif_getimage.c uint32 *right = left + w - 1; w 1061 3rdparty/libtiff/tif_getimage.c #define UNROLL8(w, op1, op2) { \ w 1063 3rdparty/libtiff/tif_getimage.c for (_x = w; _x >= 8; _x -= 8) { \ w 1072 3rdparty/libtiff/tif_getimage.c #define UNROLL4(w, op1, op2) { \ w 1074 3rdparty/libtiff/tif_getimage.c for (_x = w; _x >= 4; _x -= 4) { \ w 1083 3rdparty/libtiff/tif_getimage.c #define UNROLL2(w, op1, op2) { \ w 1085 3rdparty/libtiff/tif_getimage.c for (_x = w; _x >= 2; _x -= 2) { \ w 1115 3rdparty/libtiff/tif_getimage.c uint32 w, uint32 h, \ w 1130 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) w 1151 3rdparty/libtiff/tif_getimage.c UNROLL2(w, bw = PALmap[*pp++], *cp++ = *bw++); w 1168 3rdparty/libtiff/tif_getimage.c UNROLL4(w, bw = PALmap[*pp++], *cp++ = *bw++); w 1185 3rdparty/libtiff/tif_getimage.c UNROLL8(w, bw = PALmap[*pp++], *cp++ = *bw++); w 1201 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) w 1221 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) w 1243 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) w 1267 3rdparty/libtiff/tif_getimage.c UNROLL8(w, bw = BWmap[*pp++], *cp++ = *bw++); w 1284 3rdparty/libtiff/tif_getimage.c UNROLL4(w, bw = BWmap[*pp++], *cp++ = *bw++); w 1301 3rdparty/libtiff/tif_getimage.c UNROLL2(w, bw = BWmap[*pp++], *cp++ = *bw++); w 1317 3rdparty/libtiff/tif_getimage.c UNROLL8(w, NOP, w 1336 3rdparty/libtiff/tif_getimage.c UNROLL8(w, NOP, w 1356 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) { w 1380 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) { w 1402 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) { w 1427 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) { w 1454 3rdparty/libtiff/tif_getimage.c UNROLL8(w, NOP, w 1480 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) { w 1498 3rdparty/libtiff/tif_getimage.c uint32 w, uint32 h,\ w 1510 3rdparty/libtiff/tif_getimage.c UNROLL8(w, NOP, *cp++ = PACK(*r++, *g++, *b++)); w 1523 3rdparty/libtiff/tif_getimage.c UNROLL8(w, NOP, *cp++ = PACK4(*r++, *g++, *b++, *a++)); w 1537 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) { w 1558 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) { w 1581 3rdparty/libtiff/tif_getimage.c for (x = 0; x < w; x++) w 1601 3rdparty/libtiff/tif_getimage.c for (x = 0; x < w; x++) w 1624 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) { w 1647 3rdparty/libtiff/tif_getimage.c for (x = w; x-- > 0;) { w 1685 3rdparty/libtiff/tif_getimage.c uint32 w, uint32 h, w 1692 3rdparty/libtiff/tif_getimage.c uint32* cp1 = cp+w+toskew; w 1693 3rdparty/libtiff/tif_getimage.c uint32* cp2 = cp1+w+toskew; w 1694 3rdparty/libtiff/tif_getimage.c uint32* cp3 = cp2+w+toskew; w 1695 3rdparty/libtiff/tif_getimage.c int32 incr = 3*w+4*toskew; w 1711 3rdparty/libtiff/tif_getimage.c for( xx = 0; xx < w; xx++ ) w 1717 3rdparty/libtiff/tif_getimage.c x = w>>2; w 1753 3rdparty/libtiff/tif_getimage.c uint32* cp1 = cp+w+toskew; w 1754 3rdparty/libtiff/tif_getimage.c uint32* cp2 = cp1+w+toskew; w 1755 3rdparty/libtiff/tif_getimage.c uint32* cp3 = cp2+w+toskew; w 1756 3rdparty/libtiff/tif_getimage.c int32 incr = 3*w+4*toskew; w 1761 3rdparty/libtiff/tif_getimage.c if ((h & 3) == 0 && (w & 3) == 0) { w 1763 3rdparty/libtiff/tif_getimage.c x = w>>2; w 1793 3rdparty/libtiff/tif_getimage.c for (x = w; x > 0;) { w 1850 3rdparty/libtiff/tif_getimage.c uint32* cp1 = cp+w+toskew; w 1851 3rdparty/libtiff/tif_getimage.c int32 incr = 2*toskew+w; w 1855 3rdparty/libtiff/tif_getimage.c if ((h & 3) == 0 && (w & 1) == 0) { w 1857 3rdparty/libtiff/tif_getimage.c x = w>>2; w 1879 3rdparty/libtiff/tif_getimage.c for (x = w; x > 0;) { w 1931 3rdparty/libtiff/tif_getimage.c x = w>>2; w 1945 3rdparty/libtiff/tif_getimage.c if( (w&3) != 0 ) w 1950 3rdparty/libtiff/tif_getimage.c switch( (w&3) ) { w 1957 3rdparty/libtiff/tif_getimage.c cp += (w&3); w 1973 3rdparty/libtiff/tif_getimage.c int32 incr = 2*toskew+w; w 1976 3rdparty/libtiff/tif_getimage.c cp2 = cp+w+toskew; w 1978 3rdparty/libtiff/tif_getimage.c x = w; w 2006 3rdparty/libtiff/tif_getimage.c x = w; w 2033 3rdparty/libtiff/tif_getimage.c x = w>>1; w 2045 3rdparty/libtiff/tif_getimage.c if( (w&1) != 0 ) w 2067 3rdparty/libtiff/tif_getimage.c int32 incr = 2*toskew+w; w 2070 3rdparty/libtiff/tif_getimage.c cp2 = cp+w+toskew; w 2072 3rdparty/libtiff/tif_getimage.c x = w; w 2088 3rdparty/libtiff/tif_getimage.c x = w; w 2107 3rdparty/libtiff/tif_getimage.c x = w; /* was x = w>>1; patched 2000/09/25 warmerda@home.com */ w 2130 3rdparty/libtiff/tif_getimage.c x = w; w 78 3rdparty/libwebp/dec/buffer.c const int w = buffer->width; w 82 3rdparty/libwebp/dec/buffer.c if (w <= 0 || h <= 0 || !IsValidColorspace(mode)) { w 92 3rdparty/libwebp/dec/buffer.c const int stride = w * kModeBpp[mode]; w 96 3rdparty/libwebp/dec/buffer.c uv_stride = (w + 1) / 2; w 99 3rdparty/libwebp/dec/buffer.c a_stride = w; w 138 3rdparty/libwebp/dec/buffer.c VP8StatusCode WebPAllocateDecBuffer(int w, int h, w 141 3rdparty/libwebp/dec/buffer.c if (out == NULL || w <= 0 || h <= 0) { w 150 3rdparty/libwebp/dec/buffer.c if (x < 0 || y < 0 || cw <= 0 || ch <= 0 || x + cw > w || y + ch > h) { w 153 3rdparty/libwebp/dec/buffer.c w = cw; w 160 3rdparty/libwebp/dec/buffer.c w = options->scaled_width; w 164 3rdparty/libwebp/dec/buffer.c out->width = w; w 110 3rdparty/libwebp/dec/vp8.c const int w = ((data[7] << 8) | data[6]) & 0x3fff; w 128 3rdparty/libwebp/dec/vp8.c *width = w; w 107 3rdparty/libwebp/dec/vp8l.c int w, h, a; w 110 3rdparty/libwebp/dec/vp8l.c if (!ReadImageInfo(&br, &w, &h, &a)) { w 113 3rdparty/libwebp/dec/vp8l.c if (width != NULL) *width = w; w 736 3rdparty/libwebp/dec/webp.c int x = 0, y = 0, w = W, h = H; w 741 3rdparty/libwebp/dec/webp.c w = options->crop_width; w 749 3rdparty/libwebp/dec/webp.c if (x < 0 || y < 0 || w <= 0 || h <= 0 || x + w > W || y + h > H) { w 755 3rdparty/libwebp/dec/webp.c io->crop_right = x + w; w 757 3rdparty/libwebp/dec/webp.c io->mb_w = w; w 197 3rdparty/libwebp/dsp/dsp.h uint8_t* rgba, int alpha_first, int w, int h, int stride); w 201 3rdparty/libwebp/dsp/dsp.h uint8_t* rgba4444, int w, int h, int stride); w 534 3rdparty/libwebp/dsp/enc.c int w, int h) { w 538 3rdparty/libwebp/dsp/enc.c for (x = 0; x < w; ++x) { w 569 3rdparty/libwebp/dsp/enc.c static int TTransform(const uint8_t* in, const uint16_t* w) { w 585 3rdparty/libwebp/dsp/enc.c for (i = 0; i < 4; ++i, ++w) { w 595 3rdparty/libwebp/dsp/enc.c sum += w[ 0] * abs(b0); w 596 3rdparty/libwebp/dsp/enc.c sum += w[ 4] * abs(b1); w 597 3rdparty/libwebp/dsp/enc.c sum += w[ 8] * abs(b2); w 598 3rdparty/libwebp/dsp/enc.c sum += w[12] * abs(b3); w 604 3rdparty/libwebp/dsp/enc.c const uint16_t* const w) { w 605 3rdparty/libwebp/dsp/enc.c const int sum1 = TTransform(a, w); w 606 3rdparty/libwebp/dsp/enc.c const int sum2 = TTransform(b, w); w 611 3rdparty/libwebp/dsp/enc.c const uint16_t* const w) { w 616 3rdparty/libwebp/dsp/enc.c D += Disto4x4(a + x + y, b + x + y, w); w 420 3rdparty/libwebp/dsp/enc_neon.c const uint16_t* const w) { w 424 3rdparty/libwebp/dsp/enc_neon.c const uint16_t* W = w; w 596 3rdparty/libwebp/dsp/enc_neon.c : [sum] "=r"(sum), [a] "+r"(A), [b] "+r"(B), [w] "+r"(W) w 606 3rdparty/libwebp/dsp/enc_neon.c const uint16_t* const w) { w 611 3rdparty/libwebp/dsp/enc_neon.c D += Disto4x4(a + x + y, b + x + y, w); w 642 3rdparty/libwebp/dsp/enc_sse2.c const uint16_t* const w) { w 737 3rdparty/libwebp/dsp/enc_sse2.c const __m128i w_0 = _mm_loadu_si128((__m128i*)&w[0]); w 738 3rdparty/libwebp/dsp/enc_sse2.c const __m128i w_8 = _mm_loadu_si128((__m128i*)&w[8]); w 790 3rdparty/libwebp/dsp/enc_sse2.c const uint16_t* const w) { w 791 3rdparty/libwebp/dsp/enc_sse2.c const int diff_sum = TTransformSSE2(a, b, w); w 796 3rdparty/libwebp/dsp/enc_sse2.c const uint16_t* const w) { w 801 3rdparty/libwebp/dsp/enc_sse2.c D += Disto4x4SSE2(a + x + y, b + x + y, w); w 1203 3rdparty/libwebp/dsp/lossless.c uint16_t w; w 254 3rdparty/libwebp/dsp/upsampling.c int w, int h, int stride) { w 259 3rdparty/libwebp/dsp/upsampling.c for (i = 0; i < w; ++i) { w 291 3rdparty/libwebp/dsp/upsampling.c int w, int h, int stride) { w 294 3rdparty/libwebp/dsp/upsampling.c for (i = 0; i < w; ++i) { w 34 3rdparty/libwebp/enc/analysis.c const int w = enc->mb_w_; w 37 3rdparty/libwebp/enc/analysis.c uint8_t* const tmp = (uint8_t*)WebPSafeMalloc((uint64_t)w * h, sizeof(*tmp)); w 38 3rdparty/libwebp/enc/analysis.c assert((uint64_t)(w * h) == (uint64_t)w * h); // no overflow, as per spec w 42 3rdparty/libwebp/enc/analysis.c for (x = 1; x < w - 1; ++x) { w 44 3rdparty/libwebp/enc/analysis.c const VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; w 47 3rdparty/libwebp/enc/analysis.c cnt[mb[-w - 1].segment_]++; // top-left w 48 3rdparty/libwebp/enc/analysis.c cnt[mb[-w + 0].segment_]++; // top w 49 3rdparty/libwebp/enc/analysis.c cnt[mb[-w + 1].segment_]++; // top-right w 52 3rdparty/libwebp/enc/analysis.c cnt[mb[ w - 1].segment_]++; // bottom-left w 53 3rdparty/libwebp/enc/analysis.c cnt[mb[ w + 0].segment_]++; // bottom w 54 3rdparty/libwebp/enc/analysis.c cnt[mb[ w + 1].segment_]++; // bottom-right w 60 3rdparty/libwebp/enc/analysis.c tmp[x + y * w] = majority_seg; w 64 3rdparty/libwebp/enc/analysis.c for (x = 1; x < w - 1; ++x) { w 65 3rdparty/libwebp/enc/analysis.c VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; w 66 3rdparty/libwebp/enc/analysis.c mb->segment_ = tmp[x + y * w]; w 242 3rdparty/libwebp/enc/filter.c dst->w += src->w; w 265 3rdparty/libwebp/enc/filter.c stats->w += 1; w 279 3rdparty/libwebp/enc/filter.c const double w2 = stats->w * stats->w; w 280 3rdparty/libwebp/enc/filter.c double sxx = stats->xxm * stats->w - xmxm; w 281 3rdparty/libwebp/enc/filter.c double syy = stats->yym * stats->w - ymym; w 282 3rdparty/libwebp/enc/filter.c double sxy = stats->xym * stats->w - xmym; w 297 3rdparty/libwebp/enc/filter.c if (s->w > 0.) { w 298 3rdparty/libwebp/enc/filter.c const double iw2 = 1. / (s->w * s->w); w 299 3rdparty/libwebp/enc/filter.c const double sxx = s->xxm * s->w - s->xm * s->xm; w 300 3rdparty/libwebp/enc/filter.c const double syy = s->yym * s->w - s->ym * s->ym; w 301 3rdparty/libwebp/enc/filter.c const double sxy = s->xym * s->w - s->xm * s->ym; w 90 3rdparty/libwebp/enc/iterator.c uint8_t* dst, int w, int h, int size) { w 93 3rdparty/libwebp/enc/iterator.c memcpy(dst, src, w); w 94 3rdparty/libwebp/enc/iterator.c if (w < size) { w 95 3rdparty/libwebp/enc/iterator.c memset(dst + w, dst[w - 1], size - w); w 116 3rdparty/libwebp/enc/iterator.c int w = (pic->width - x * 16); w 119 3rdparty/libwebp/enc/iterator.c if (w > 16) w = 16; w 123 3rdparty/libwebp/enc/iterator.c ImportBlock(ysrc, pic->y_stride, ydst, w, h, 16); w 126 3rdparty/libwebp/enc/iterator.c const int uv_w = (w + 1) >> 1; w 137 3rdparty/libwebp/enc/iterator.c int w, int h) { w 139 3rdparty/libwebp/enc/iterator.c memcpy(dst, src, w); w 156 3rdparty/libwebp/enc/iterator.c int w = (pic->width - x * 16); w 159 3rdparty/libwebp/enc/iterator.c if (w > 16) w = 16; w 163 3rdparty/libwebp/enc/iterator.c ExportBlock(ysrc, ydst, pic->y_stride, w, h); w 166 3rdparty/libwebp/enc/iterator.c const int uv_w = (w + 1) >> 1; w 349 3rdparty/libwebp/enc/picture.c int w = width; w 352 3rdparty/libwebp/enc/picture.c w = HALVE(w); w 356 3rdparty/libwebp/enc/picture.c tmp.u0, tmp.uv0_stride, w, height); w 358 3rdparty/libwebp/enc/picture.c tmp.v0, tmp.uv0_stride, w, height); w 485 3rdparty/libwebp/enc/picture.c WebPMemoryWriter* const w = (WebPMemoryWriter*)picture->custom_ptr; w 487 3rdparty/libwebp/enc/picture.c if (w == NULL) { w 490 3rdparty/libwebp/enc/picture.c next_size = (uint64_t)w->size + data_size; w 491 3rdparty/libwebp/enc/picture.c if (next_size > w->max_size) { w 493 3rdparty/libwebp/enc/picture.c uint64_t next_max_size = 2ULL * w->max_size; w 500 3rdparty/libwebp/enc/picture.c if (w->size > 0) { w 501 3rdparty/libwebp/enc/picture.c memcpy(new_mem, w->mem, w->size); w 503 3rdparty/libwebp/enc/picture.c free(w->mem); w 504 3rdparty/libwebp/enc/picture.c w->mem = new_mem; w 506 3rdparty/libwebp/enc/picture.c w->max_size = (size_t)next_max_size; w 509 3rdparty/libwebp/enc/picture.c memcpy(w->mem + w->size, data, data_size); w 510 3rdparty/libwebp/enc/picture.c w->size += data_size; w 877 3rdparty/libwebp/enc/picture.c int x, y, w, h; w 886 3rdparty/libwebp/enc/picture.c w = pic->width / SIZE; w 890 3rdparty/libwebp/enc/picture.c for (x = 0; x < w; ++x) { w 926 3rdparty/libwebp/enc/picture.c int w, int h) { w 932 3rdparty/libwebp/enc/picture.c for (x = 0; x < w; ++x) { w 934 3rdparty/libwebp/enc/picture.c const int x_1 = (x + RADIUS + 1 >= w) ? w : x + RADIUS + 1; w 1086 3rdparty/libwebp/enc/picture.c size_t NAME(const uint8_t* in, int w, int h, int bps, float q, \ w 1088 3rdparty/libwebp/enc/picture.c return Encode(in, w, h, bps, IMPORTER, q, 0, out); \ w 1100 3rdparty/libwebp/enc/picture.c size_t NAME(const uint8_t* in, int w, int h, int bps, uint8_t** out) { \ w 1101 3rdparty/libwebp/enc/picture.c return Encode(in, w, h, bps, IMPORTER, LOSSLESS_DEFAULT_QUALITY, 1, out); \ w 530 3rdparty/libwebp/enc/vp8enci.h double w, xm, ym, xxm, xym, yym; w 431 3rdparty/libwebp/mux/muxedit.c int w, h; w 436 3rdparty/libwebp/mux/muxedit.c VP8GetInfo(data->bytes, data->size, data->size, &w, &h) : w 437 3rdparty/libwebp/mux/muxedit.c VP8LGetInfo(data->bytes, data->size, &w, &h, NULL); w 439 3rdparty/libwebp/mux/muxedit.c *width = w; w 480 3rdparty/libwebp/mux/muxedit.c int x_offset = 0, y_offset = 0, duration = 0, w = 0, h = 0; w 482 3rdparty/libwebp/mux/muxedit.c &duration, &w, &h); w 483 3rdparty/libwebp/mux/muxedit.c const int max_x_pos = x_offset + w; w 491 3rdparty/libwebp/mux/muxedit.c image_area += w * h; w 506 3rdparty/libwebp/mux/muxedit.c int w, h; w 508 3rdparty/libwebp/mux/muxedit.c const WebPMuxError err = MuxGetImageWidthHeight(image_chunk, &w, &h); w 510 3rdparty/libwebp/mux/muxedit.c *width = w; w 327 3rdparty/libwebp/mux/muxread.c int w, h; w 330 3rdparty/libwebp/mux/muxread.c err = MuxGetImageWidthHeight(wpi->img_, &w, &h); w 335 3rdparty/libwebp/mux/muxread.c dst = EmitVP8XChunk(dst, w, h, ALPHA_FLAG); // VP8X. w 132 3rdparty/libwebp/utils/filters.c int w; w 138 3rdparty/libwebp/utils/filters.c for (w = 1; w < width; ++w) { w 139 3rdparty/libwebp/utils/filters.c const int pred = GradientPredictor(preds[w - 1], w 140 3rdparty/libwebp/utils/filters.c preds[w - stride], w 141 3rdparty/libwebp/utils/filters.c preds[w - stride - 1]); w 142 3rdparty/libwebp/utils/filters.c out[w] = in[w] + (inverse ? pred : -pred); w 196 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp int w = maxX - minX + 1; w 198 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp num = roundLog2 (std::max (w, h), tileDesc.roundingMode) + 1; w 205 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp int w = maxX - minX + 1; w 206 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp num = roundLog2 (w, tileDesc.roundingMode) + 1; w 236 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp int w = maxX - minX + 1; w 238 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp num = roundLog2 (std::max (w, h), tileDesc.roundingMode) + 1; w 473 3rdparty/openexr/Imath/ImathColor.h Color4<T>::Color4 (T x, T y, T z, T w) w 478 3rdparty/openexr/Imath/ImathColor.h a = w; w 516 3rdparty/openexr/Imath/ImathColor.h Color4<T>::setValue (S x, S y, S z, S w) w 521 3rdparty/openexr/Imath/ImathColor.h a = T (w); w 538 3rdparty/openexr/Imath/ImathColor.h Color4<T>::getValue (S &x, S &y, S &z, S &w) const w 543 3rdparty/openexr/Imath/ImathColor.h w = S (a); w 97 3rdparty/openexr/Imath/ImathLineAlgo.h Vec3<T> w = line1.pos - line2.pos; w 98 3rdparty/openexr/Imath/ImathLineAlgo.h T d1w = line1.dir ^ w; w 99 3rdparty/openexr/Imath/ImathLineAlgo.h T d2w = line2.dir ^ w; w 1342 3rdparty/openexr/Imath/ImathMatrix.h S a, b, w; w 1346 3rdparty/openexr/Imath/ImathMatrix.h w = src[0] * x[0][2] + src[1] * x[1][2] + x[2][2]; w 1348 3rdparty/openexr/Imath/ImathMatrix.h dst.x = a / w; w 1349 3rdparty/openexr/Imath/ImathMatrix.h dst.y = b / w; w 2580 3rdparty/openexr/Imath/ImathMatrix.h S a, b, c, w; w 2585 3rdparty/openexr/Imath/ImathMatrix.h w = src[0] * x[0][3] + src[1] * x[1][3] + src[2] * x[2][3] + x[3][3]; w 2587 3rdparty/openexr/Imath/ImathMatrix.h dst.x = a / w; w 2588 3rdparty/openexr/Imath/ImathMatrix.h dst.y = b / w; w 2589 3rdparty/openexr/Imath/ImathMatrix.h dst.z = c / w; w 3333 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][2] + v.y * m[1][2] + m[2][2]); w 3335 3rdparty/openexr/Imath/ImathMatrix.h v.x = x / w; w 3336 3rdparty/openexr/Imath/ImathMatrix.h v.y = y / w; w 3347 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][2] + v.y * m[1][2] + m[2][2]); w 3349 3rdparty/openexr/Imath/ImathMatrix.h return Vec2<S> (x / w, y / w); w 3387 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][3] + v.y * m[1][3] + v.z * m[2][3] + m[3][3]); w 3389 3rdparty/openexr/Imath/ImathMatrix.h v.x = x / w; w 3390 3rdparty/openexr/Imath/ImathMatrix.h v.y = y / w; w 3391 3rdparty/openexr/Imath/ImathMatrix.h v.z = z / w; w 3403 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][3] + v.y * m[1][3] + v.z * m[2][3] + m[3][3]); w 3405 3rdparty/openexr/Imath/ImathMatrix.h return Vec3<S> (x / w, y / w, z / w); w 3413 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0] + v.w * m[3][0]); w 3414 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1] + v.w * m[3][1]); w 3415 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2] + v.w * m[3][2]); w 3416 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][3] + v.y * m[1][3] + v.z * m[2][3] + v.w * m[3][3]); w 3421 3rdparty/openexr/Imath/ImathMatrix.h v.w = w; w 3430 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0] + v.w * m[3][0]); w 3431 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1] + v.w * m[3][1]); w 3432 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2] + v.w * m[3][2]); w 3433 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][3] + v.y * m[1][3] + v.z * m[2][3] + v.w * m[3][3]); w 3435 3rdparty/openexr/Imath/ImathMatrix.h return Vec4<S> (x, y, z, w); w 129 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const double w = weights[i]; w 130 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp weightsSum += w; w 132 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp Acenter += w * (V3d) A[i]; w 133 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp Bcenter += w * (V3d) B[i]; w 162 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const double w = weights[i]; w 163 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp C += outerProduct (w * ((V3d) B[i] - Bcenter), (V3d) A[i] - Acenter); w 326 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T w = A[j][j]; w 339 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T mu_1 = w + z; w 348 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T p = w; w 361 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp mu_1 = s * (x + y) + c * (z - w); // = r - p w 402 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T d_1 = c_1*(w*c_2 - x*s_2) - s_1*(y*c_2 - z*s_2); w 403 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T d_2 = s_1*(w*s_2 + x*c_2) + c_1*(y*s_2 + z*c_2); w 467 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T w = A[j][j]; w 480 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T mu_1 = w + z; w 489 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T p = w; w 502 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp mu_1 = s * (x + y) + c * (z - w); // = r - p w 543 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T d_1 = c_1*(w*c_2 - x*s_2) - s_1*(y*c_2 - z*s_2); w 544 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T d_2 = s_1*(w*s_2 + x*c_2) + c_1*(y*s_2 + z*c_2); w 819 3rdparty/openexr/Imath/ImathMatrixAlgo.h return Matrix44<T> (a.x*b.x, a.x*b.y, a.x*b.z, a.x*b.w, w 820 3rdparty/openexr/Imath/ImathMatrixAlgo.h a.y*b.x, a.y*b.y, a.y*b.z, a.x*b.w, w 821 3rdparty/openexr/Imath/ImathMatrixAlgo.h a.z*b.x, a.z*b.y, a.z*b.z, a.x*b.w, w 822 3rdparty/openexr/Imath/ImathMatrixAlgo.h a.w*b.x, a.w*b.y, a.w*b.z, a.w*b.w); w 426 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0) && (w == 0)) w 454 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0) && (w == 0)) w 495 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0) && (w == 0)) w 523 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0) && (w == 0)) w 487 3rdparty/openexr/Imath/ImathVec.h T x, y, z, w; w 1343 3rdparty/openexr/Imath/ImathVec.h x = T (v.x / v.w); w 1344 3rdparty/openexr/Imath/ImathVec.h y = T (v.y / v.w); w 1345 3rdparty/openexr/Imath/ImathVec.h z = T (v.z / v.w); w 1355 3rdparty/openexr/Imath/ImathVec.h T vw = T (v.w); w 1791 3rdparty/openexr/Imath/ImathVec.h x = y = z = w = a; w 1801 3rdparty/openexr/Imath/ImathVec.h w = d; w 1811 3rdparty/openexr/Imath/ImathVec.h w = v.w; w 1822 3rdparty/openexr/Imath/ImathVec.h w = T (v.w); w 1832 3rdparty/openexr/Imath/ImathVec.h w = v.w; w 1844 3rdparty/openexr/Imath/ImathVec.h w = T (1); w 1852 3rdparty/openexr/Imath/ImathVec.h return x == v.x && y == v.y && z == v.z && w == v.w; w 1860 3rdparty/openexr/Imath/ImathVec.h return x != v.x || y != v.y || z != v.z || w != v.w; w 1889 3rdparty/openexr/Imath/ImathVec.h return x * v.x + y * v.y + z * v.z + w * v.w; w 1907 3rdparty/openexr/Imath/ImathVec.h w += v.w; w 1915 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x + v.x, y + v.y, z + v.z, w + v.w); w 1925 3rdparty/openexr/Imath/ImathVec.h w -= v.w; w 1933 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x - v.x, y - v.y, z - v.z, w - v.w); w 1940 3rdparty/openexr/Imath/ImathVec.h return Vec4 (-x, -y, -z, -w); w 1950 3rdparty/openexr/Imath/ImathVec.h w = -w; w 1961 3rdparty/openexr/Imath/ImathVec.h w *= v.w; w 1972 3rdparty/openexr/Imath/ImathVec.h w *= a; w 1980 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x * v.x, y * v.y, z * v.z, w * v.w); w 1987 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x * a, y * a, z * a, w * a); w 1997 3rdparty/openexr/Imath/ImathVec.h w /= v.w; w 2008 3rdparty/openexr/Imath/ImathVec.h w /= a; w 2016 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x / v.x, y / v.y, z / v.z, w / v.w); w 2023 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x / a, y / a, z / a, w / a); w 2033 3rdparty/openexr/Imath/ImathVec.h T absW = (w >= T (0))? w: -w; w 2100 3rdparty/openexr/Imath/ImathVec.h w /= l; w 2118 3rdparty/openexr/Imath/ImathVec.h w /= l; w 2131 3rdparty/openexr/Imath/ImathVec.h w /= l; w 2144 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x / l, y / l, z / l, w / l); w 2156 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x / l, y / l, z / l, w / l); w 2165 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x / l, y / l, z / l, w / l); w 2190 3rdparty/openexr/Imath/ImathVec.h return s << '(' << v.x << ' ' << v.y << ' ' << v.z << ' ' << v.w << ')'; w 2216 3rdparty/openexr/Imath/ImathVec.h return Vec4<T> (a * v.x, a * v.y, a * v.z, a * v.w); w 176 3rdparty/zlib/trees.c #define put_short(s, w) { \ w 177 3rdparty/zlib/trees.c put_byte(s, (uch)((w) & 0xff)); \ w 178 3rdparty/zlib/trees.c put_byte(s, (uch)((ush)(w) >> 8)); \ w 69 apps/traincascade/HOGfeatures.cpp int x, y, t, w, h; w 74 apps/traincascade/HOGfeatures.cpp w = 2*t; //width of a block w 76 apps/traincascade/HOGfeatures.cpp for (x = 0; x <= winSize.width - w; x += blockStep.width) w 83 apps/traincascade/HOGfeatures.cpp w = 2*t; w 85 apps/traincascade/HOGfeatures.cpp for (x = 0; x <= winSize.width - w; x += blockStep.width) w 92 apps/traincascade/HOGfeatures.cpp w = 4*t; w 94 apps/traincascade/HOGfeatures.cpp for (x = 0; x <= winSize.width - w; x += blockStep.width) w 1559 apps/traincascade/boost.cpp double w = weights->data.db[i]; w 1560 apps/traincascade/boost.cpp sumW += w; w 1561 apps/traincascade/boost.cpp err += w*(weak_eval->data.db[i] != orig_response->data.i[i]); w 1572 apps/traincascade/boost.cpp double w = weights->data.db[i]* w 1574 apps/traincascade/boost.cpp sumW += w; w 1575 apps/traincascade/boost.cpp weights->data.db[i] = w; w 1593 apps/traincascade/boost.cpp double w = weights->data.db[i]*weak_eval->data.db[i]; w 1594 apps/traincascade/boost.cpp sumW += w; w 1595 apps/traincascade/boost.cpp weights->data.db[i] = w; w 1625 apps/traincascade/boost.cpp double w = p*(1 - p), z; w 1626 apps/traincascade/boost.cpp w = MAX( w, lbWeightThresh ); w 1627 apps/traincascade/boost.cpp weights->data.db[i] = w; w 1628 apps/traincascade/boost.cpp sumW += w; w 1655 apps/traincascade/boost.cpp double w = weights->data.db[i] * weak_eval->data.db[i]; w 1656 apps/traincascade/boost.cpp weights->data.db[i] = w; w 1657 apps/traincascade/boost.cpp sumW += w; w 40 apps/traincascade/lbpfeatures.cpp for( int w = 1; w <= winSize.width / 3; w++ ) w 42 apps/traincascade/lbpfeatures.cpp if ( (x+3*w <= winSize.width) && (y+3*h <= winSize.height) ) w 43 apps/traincascade/lbpfeatures.cpp features.push_back( Feature(offset, x, y, w, h ) ); w 201 apps/traincascade/old_ml_boost.cpp double w = weights[i]; w 203 apps/traincascade/old_ml_boost.cpp sum += d*w; sum_abs += (d & 1)*w; w 228 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; w 230 apps/traincascade/old_ml_boost.cpp L += w; w 236 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; w 238 apps/traincascade/old_ml_boost.cpp R += w; w 283 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; w 284 apps/traincascade/old_ml_boost.cpp rcw[responses[idx]] -= w; w 298 apps/traincascade/old_ml_boost.cpp double w = weights[idx], w2 = w*w; w 301 apps/traincascade/old_ml_boost.cpp L += w; R -= w; w 303 apps/traincascade/old_ml_boost.cpp lsum2 += 2*lv*w + w2; w 304 apps/traincascade/old_ml_boost.cpp rsum2 -= 2*rv*w - w2; w 305 apps/traincascade/old_ml_boost.cpp lcw[idx] = lv + w; rcw[idx] = rv - w; w 323 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; w 325 apps/traincascade/old_ml_boost.cpp lcw[idx] += w; w 326 apps/traincascade/old_ml_boost.cpp rcw[idx] -= w; w 398 apps/traincascade/old_ml_boost.cpp double w = weights[i]; w 401 apps/traincascade/old_ml_boost.cpp cjk[j*2 + k] += w; w 512 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; w 513 apps/traincascade/old_ml_boost.cpp rsum -= responses[idx]*w; w 514 apps/traincascade/old_ml_boost.cpp R -= w; w 521 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; w 522 apps/traincascade/old_ml_boost.cpp double t = responses[idx]*w; w 523 apps/traincascade/old_ml_boost.cpp L += w; R -= w; w 584 apps/traincascade/old_ml_boost.cpp double w = weights[i]; w 585 apps/traincascade/old_ml_boost.cpp double s = sum[idx] + responses[i]*w; w 586 apps/traincascade/old_ml_boost.cpp double nc = counts[idx] + w; w 680 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; w 682 apps/traincascade/old_ml_boost.cpp sum += d*w; sum_abs += (d & 1)*w; w 695 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; w 700 apps/traincascade/old_ml_boost.cpp LL += w; LR -= w; w 709 apps/traincascade/old_ml_boost.cpp RL += w; RR -= w; w 757 apps/traincascade/old_ml_boost.cpp double w = weights[i]; w 759 apps/traincascade/old_ml_boost.cpp double sum = lc[idx] + d*w; w 760 apps/traincascade/old_ml_boost.cpp double sum_abs = rc[idx] + (d & 1)*w; w 818 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; w 820 apps/traincascade/old_ml_boost.cpp rcw[r] += w; w 822 apps/traincascade/old_ml_boost.cpp subtree_weights[i] = w; w 856 apps/traincascade/old_ml_boost.cpp double w = weights[idx]/*priors[values[i] > 0]*/; w 858 apps/traincascade/old_ml_boost.cpp rcw[0] += w; w 859 apps/traincascade/old_ml_boost.cpp subtree_weights[i] = w; w 860 apps/traincascade/old_ml_boost.cpp sum += t*w; w 861 apps/traincascade/old_ml_boost.cpp sum2 += t*t*w; w 925 apps/traincascade/old_ml_boost.cpp CvBoostTree* w; w 926 apps/traincascade/old_ml_boost.cpp CV_READ_SEQ_ELEM( w, reader ); w 927 apps/traincascade/old_ml_boost.cpp delete w; w 1306 apps/traincascade/old_ml_boost.cpp double w = weights->data.db[i]; w 1307 apps/traincascade/old_ml_boost.cpp sumw += w; w 1308 apps/traincascade/old_ml_boost.cpp err += w*(weak_eval->data.db[i] != orig_response->data.i[i]); w 1319 apps/traincascade/old_ml_boost.cpp double w = weights->data.db[i]* w 1321 apps/traincascade/old_ml_boost.cpp sumw += w; w 1322 apps/traincascade/old_ml_boost.cpp weights->data.db[i] = w; w 1340 apps/traincascade/old_ml_boost.cpp double w = weights->data.db[i]*weak_eval->data.db[i]; w 1341 apps/traincascade/old_ml_boost.cpp sumw += w; w 1342 apps/traincascade/old_ml_boost.cpp weights->data.db[i] = w; w 1378 apps/traincascade/old_ml_boost.cpp double w = p*(1 - p), z; w 1379 apps/traincascade/old_ml_boost.cpp w = MAX( w, lb_weight_thresh ); w 1380 apps/traincascade/old_ml_boost.cpp weights->data.db[i] = w; w 1381 apps/traincascade/old_ml_boost.cpp sumw += w; w 1408 apps/traincascade/old_ml_boost.cpp double w = weights->data.db[i] * weak_eval->data.db[i]; w 1409 apps/traincascade/old_ml_boost.cpp weights->data.db[i] = w; w 1410 apps/traincascade/old_ml_boost.cpp sumw += w; w 1451 apps/traincascade/old_ml_boost.cpp double w = weak_eval->data.db[i]; w 1454 apps/traincascade/old_ml_boost.cpp sum -= w; w 1461 apps/traincascade/old_ml_boost.cpp double w = weights->data.db[i]; w 1462 apps/traincascade/old_ml_boost.cpp int f = w >= threshold; w 1812 apps/traincascade/old_ml_tree.cpp double w = priors[responses[i]]; w 1814 apps/traincascade/old_ml_tree.cpp sum += d*w; sum_abs += (d & 1)*w; w 1858 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; w 1860 apps/traincascade/old_ml_tree.cpp L += w; w 1866 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; w 1868 apps/traincascade/old_ml_tree.cpp R += w; w 2608 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; w 2610 apps/traincascade/old_ml_tree.cpp sum += d*w; sum_abs += (d & 1)*w; w 2623 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; w 2628 apps/traincascade/old_ml_tree.cpp LL += w; LR -= w; w 2637 apps/traincascade/old_ml_tree.cpp RL += w; RR -= w; w 2714 apps/traincascade/old_ml_tree.cpp double w = priors[responses[i]]; w 2716 apps/traincascade/old_ml_tree.cpp double sum = lc[idx] + d*w; w 2717 apps/traincascade/old_ml_tree.cpp double sum_abs = rc[idx] + (d & 1)*w; w 2849 apps/traincascade/old_ml_tree.cpp double w = priors[k]; w 2850 apps/traincascade/old_ml_tree.cpp double val_k = cv_cls_count[j*m + k]*w; w 2851 apps/traincascade/old_ml_tree.cpp double val = cls_count[k]*w - val_k; w 707 modules/calib3d/src/calibinit.cpp int w = pattern_size.width - 1; w 713 modules/calib3d/src/calibinit.cpp if ((w > h && dcol < drow) || w 714 modules/calib3d/src/calibinit.cpp (w < h && drow < dcol)) w 717 modules/calib3d/src/calibinit.cpp w = pattern_size.height - 1; w 720 modules/calib3d/src/calibinit.cpp PRINTF("Size: %dx%d Pattern: %dx%d\n", dcol, drow, w, h); w 723 modules/calib3d/src/calibinit.cpp if (dcol < w || drow < h) // found enough inner quads? w 730 modules/calib3d/src/calibinit.cpp if (dcol == w+1) // too many, trim w 820 modules/calib3d/src/calibinit.cpp if (dcol == w && drow == h) // found correct inner quads w 2440 modules/calib3d/src/calibration.cpp double u[9], v[9], w[9], f[9], h1[9], h2[9], h0[9], e2[3]; w 2444 modules/calib3d/src/calibration.cpp CvMat W = cvMat( 3, 3, CV_64F, w ); w 773 modules/calib3d/src/circlesgrid.cpp size_t w = holes[0].size(); w 788 modules/calib3d/src/circlesgrid.cpp for (size_t i = w; i < patternSize.width; i++) w 799 modules/calib3d/src/circlesgrid.cpp size_t w = holes[0].size(); w 803 modules/calib3d/src/circlesgrid.cpp for (size_t i = w; i < patternSize.width; i++) w 1490 modules/calib3d/src/circlesgrid.cpp int w = (int)points[0].size(); w 1491 modules/calib3d/src/circlesgrid.cpp CV_Assert(h >= 2 && w >= 2) w 1504 modules/calib3d/src/circlesgrid.cpp corner.push_back(Segment(keypoints[points[0][w - 2]], keypoints[points[0][w - 1]])); w 1505 modules/calib3d/src/circlesgrid.cpp corner.push_back(Segment(keypoints[points[0][w - 1]], keypoints[points[1][w - 1]])); w 1507 modules/calib3d/src/circlesgrid.cpp cornerIndices.push_back(Point(w - 1, 0)); w 1512 modules/calib3d/src/circlesgrid.cpp corner.push_back(Segment(keypoints[points[h - 2][w - 1]], keypoints[points[h - 1][w - 1]])); w 1513 modules/calib3d/src/circlesgrid.cpp corner.push_back(Segment(keypoints[points[h - 1][w - 1]], keypoints[points[h - 1][w - 2]])); w 1515 modules/calib3d/src/circlesgrid.cpp cornerIndices.push_back(Point(w - 1, h - 1)); w 1530 modules/calib3d/src/circlesgrid.cpp getDirection(keypoints[points[0][0]], keypoints[points[0][w - 1]], keypoints[points[h - 1][w - 1]]) < 0; w 168 modules/calib3d/src/dls.h double p = 0, q = 0, r = 0, s = 0, z = 0, t, w, x, y; w 213 modules/calib3d/src/dls.h w = H[n1][n1 - 1] * H[n1 - 1][n1]; w 215 modules/calib3d/src/dls.h q = p * p + w; w 232 modules/calib3d/src/dls.h d[n1] = x - w / z; w 287 modules/calib3d/src/dls.h w = 0.0; w 290 modules/calib3d/src/dls.h w = H[n1][n1 - 1] * H[n1 - 1][n1]; w 302 modules/calib3d/src/dls.h w = -0.4375 * s * s; w 309 modules/calib3d/src/dls.h s = s * s + w; w 315 modules/calib3d/src/dls.h s = x - w / ((y - x) / 2.0 + s); w 320 modules/calib3d/src/dls.h x = y = w = 0.964; w 332 modules/calib3d/src/dls.h p = (r * s - w) / H[m + 1][m] + H[m][m + 1]; w 448 modules/calib3d/src/dls.h w = H[i][i] - p; w 454 modules/calib3d/src/dls.h z = w; w 459 modules/calib3d/src/dls.h if (w != 0.0) { w 460 modules/calib3d/src/dls.h H[i][n1] = -r / w; w 474 modules/calib3d/src/dls.h H[i + 1][n1] = (-r - w * t) / x; w 514 modules/calib3d/src/dls.h w = H[i][i] - p; w 517 modules/calib3d/src/dls.h z = w; w 523 modules/calib3d/src/dls.h cdiv(-ra, -sa, w, q); w 535 modules/calib3d/src/dls.h vr = eps * norm * (std::abs(w) + std::abs(q) + std::abs(x) w 543 modules/calib3d/src/dls.h H[i + 1][n1 - 1] = (-ra - w * H[i][n1 - 1] + q w 545 modules/calib3d/src/dls.h H[i + 1][n1] = (-sa - w * H[i][n1] - q * H[i][n1 w 517 modules/calib3d/src/fisheye.cpp int w = image_size.width, h = image_size.height; w 522 modules/calib3d/src/fisheye.cpp pptr[0] = Vec2d(w/2, 0); w 523 modules/calib3d/src/fisheye.cpp pptr[1] = Vec2d(w, h/2); w 524 modules/calib3d/src/fisheye.cpp pptr[2] = Vec2d(w/2, h); w 533 modules/calib3d/src/fisheye.cpp pptr[k++] = Vec2d(w/2, 0) - Vec2d(w/8, 0) + Vec2d(w/4/N*i, 0); w 534 modules/calib3d/src/fisheye.cpp pptr[k++] = Vec2d(w/2, h-1) - Vec2d(w/8, h-1) + Vec2d(w/4/N*i, h-1); w 537 modules/calib3d/src/fisheye.cpp pptr[k++] = Vec2d(w-1, h/2) - Vec2d(w-1, h/8) + Vec2d(w-1, h/4/N*i); w 573 modules/calib3d/src/fisheye.cpp double f1 = w * 0.5/(cn[0] - minx); w 574 modules/calib3d/src/fisheye.cpp double f2 = w * 0.5/(maxx - cn[0]); w 584 modules/calib3d/src/fisheye.cpp cv::Vec2d new_f(f, f), new_c = -cn * f + Vec2d(w, h * aspect_ratio) * 0.5; w 1178 modules/calib3d/src/fisheye.cpp double condJJ = svd.w.at<double>(0)/svd.w.at<double>(5); w 1379 modules/calib3d/src/fisheye.cpp CV_Assert(svd.w.at<double>(0) / svd.w.at<double>((int)svd.w.total() - 1) < thresh_cond); w 1440 modules/calib3d/src/fisheye.cpp CV_Assert(svd.w.at<double>(0) / svd.w.at<double>(svd.w.rows - 1) < thresh_cond); w 441 modules/calib3d/src/fundam.cpp double a[7*9], w[7], u[9*9], v[9*9], c[4], r[3]; w 447 modules/calib3d/src/fundam.cpp Mat W( 7, 1, CV_64F, w ); w 550 modules/calib3d/src/fundam.cpp double a[9*9], w[9], v[9*9]; w 551 modules/calib3d/src/fundam.cpp Mat W( 9, 1, CV_64F, w ); w 621 modules/calib3d/src/fundam.cpp if( fabs(w[i]) < DBL_EPSILON ) w 88 modules/calib3d/test/test_affine3.cpp cv::Affine3<T>::Vec3 w; w 94 modules/calib3d/test/test_affine3.cpp cv::SVD::compute(R, w, u, vt, cv::SVD::FULL_UV + cv::SVD::MODIFY_A); w 448 modules/calib3d/test/test_fundam.cpp double w = s[wstep]; w 452 modules/calib3d/test/test_fundam.cpp w = w ? 1./w : 1; w 454 modules/calib3d/test/test_fundam.cpp d[0] = x*w; w 455 modules/calib3d/test/test_fundam.cpp d[dstep2] = y*w; w 458 modules/calib3d/test/test_fundam.cpp d[dstep2*2] = s[sstep2*2]*w; w 259 modules/calib3d/test/test_stereomatching.cpp int w = maskSize.width - 2*border, h = maskSize.height - 2*border; w 260 modules/calib3d/test/test_stereomatching.cpp if( w < 0 || h < 0 ) w 263 modules/calib3d/test/test_stereomatching.cpp mask( Rect(Point(border,border),Size(w,h)) ).setTo(Scalar(255)); w 1860 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void SVDecomp( InputArray src, OutputArray w, OutputArray u, OutputArray vt, int flags = 0 ); w 1863 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void SVBackSubst( InputArray w, InputArray u, InputArray vt, w 2521 modules/core/include/opencv2/core.hpp static void compute( InputArray src, OutputArray w, w 2530 modules/core/include/opencv2/core.hpp static void compute( InputArray src, OutputArray w, int flags = 0 ); w 2534 modules/core/include/opencv2/core.hpp static void backSubst( InputArray w, InputArray u, w 2576 modules/core/include/opencv2/core.hpp void compute( const Matx<_Tp, m, n>& a, Matx<_Tp, nm, 1>& w, Matx<_Tp, m, nm>& u, Matx<_Tp, n, nm>& vt ); w 2580 modules/core/include/opencv2/core.hpp void compute( const Matx<_Tp, m, n>& a, Matx<_Tp, nm, 1>& w ); w 2584 modules/core/include/opencv2/core.hpp void backSubst( const Matx<_Tp, nm, 1>& w, const Matx<_Tp, m, nm>& u, const Matx<_Tp, n, nm>& vt, const Matx<_Tp, m, nb>& rhs, Matx<_Tp, n, nb>& dst ); w 2586 modules/core/include/opencv2/core.hpp Mat u, w, vt; w 334 modules/core/include/opencv2/core/affine.hpp cv::Vec3d w; w 336 modules/core/include/opencv2/core/affine.hpp cv::SVD::compute(R, w, u, vt, cv::SVD::FULL_UV + cv::SVD::MODIFY_A); w 82 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp vec.w = val; w 92 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return vec.w; w 146 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.w = op(src.w); w 159 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.w = op(src1.w, src2.w); w 164 modules/core/include/opencv2/core/cuda/filters.hpp const float w = bicubicCoeff(x - cx) * bicubicCoeff(y - cy); w 165 modules/core/include/opencv2/core/cuda/filters.hpp sum = sum + w * src(__float2int_rd(cy), __float2int_rd(cx)); w 166 modules/core/include/opencv2/core/cuda/filters.hpp wsum += w; w 92 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<VecD>::make(saturate_cast<D>(v.x), saturate_cast<D>(v.y), saturate_cast<D>(v.z), saturate_cast<D>(v.w)); w 155 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(op (a.x), op (a.y), op (a.z), op (a.w)); \ w 199 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(func (a.x), func (a.y), func (a.z), func (a.w)); \ w 401 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(a.x op b.x, a.y op b.y, a.z op b.z, a.w op b.w); \ w 564 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(a.x op s, a.y op s, a.z op s, a.w op s); \ w 568 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(s op b.x, s op b.y, s op b.z, s op b.w); \ w 771 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(func (a.x, b.x), func (a.y, b.y), func (a.z, b.z), func (a.w, b.w)); \ w 841 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(func ((output_type) a.x, (output_type) s), func ((output_type) a.y, (output_type) s), func ((output_type) a.z, (output_type) s), func ((output_type) a.w, (output_type) s)); \ w 845 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(func ((output_type) s, (output_type) b.x), func ((output_type) s, (output_type) b.y), func ((output_type) s, (output_type) b.z), func ((output_type) s, (output_type) b.w)); \ w 206 modules/core/include/opencv2/core/cuda/vec_traits.hpp static __device__ __host__ __forceinline__ type ## 4 make(type x, type y, type z, type w) {return make_ ## type ## 4(x, y, z, w);} \ w 273 modules/core/include/opencv2/core/cuda/vec_traits.hpp static __device__ __host__ __forceinline__ char4 make(schar x, schar y, schar z, schar w) {return make_char4(x, y, z, w);} w 955 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> w; w 956 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < cn; i++ ) w.val[i] = saturate_cast<_Tp>(this->val[i]*v.val[i]); w 957 modules/core/include/opencv2/core/matx.hpp return w; w 301 modules/core/include/opencv2/core/operations.hpp SVD::compute( const Matx<_Tp, m, n>& a, Matx<_Tp, nm, 1>& w, Matx<_Tp, m, nm>& u, Matx<_Tp, n, nm>& vt ) w 304 modules/core/include/opencv2/core/operations.hpp Mat _a(a, false), _u(u, false), _w(w, false), _vt(vt, false); w 306 modules/core/include/opencv2/core/operations.hpp CV_Assert(_w.data == (uchar*)&w.val[0] && _u.data == (uchar*)&u.val[0] && _vt.data == (uchar*)&vt.val[0]); w 310 modules/core/include/opencv2/core/operations.hpp SVD::compute( const Matx<_Tp, m, n>& a, Matx<_Tp, nm, 1>& w ) w 313 modules/core/include/opencv2/core/operations.hpp Mat _a(a, false), _w(w, false); w 315 modules/core/include/opencv2/core/operations.hpp CV_Assert(_w.data == (uchar*)&w.val[0]); w 319 modules/core/include/opencv2/core/operations.hpp SVD::backSubst( const Matx<_Tp, nm, 1>& w, const Matx<_Tp, m, nm>& u, w 324 modules/core/include/opencv2/core/operations.hpp Mat _u(u, false), _w(w, false), _vt(vt, false), _rhs(rhs, false), _dst(dst, false); w 919 modules/core/include/opencv2/core/persistence.hpp cv::internal::VecWriterProxy<_Tp, DataType<_Tp>::fmt != 0> w(&fs); w 920 modules/core/include/opencv2/core/persistence.hpp w(vec); w 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) {} w 1013 modules/core/include/opencv2/core/types_c.h CvSize(int w = 0, int h = 0): width(w), height(h) {} w 1039 modules/core/include/opencv2/core/types_c.h CvSize2D32f(float w = 0, float h = 0): width(w), height(h) {} w 1894 modules/core/misc/java/test/CoreTest.java Mat w = new Mat(2, 2, CvType.CV_32FC1, new Scalar(2)); w 1899 modules/core/misc/java/test/CoreTest.java Core.SVBackSubst(w, u, vt, rhs, dst); w 1911 modules/core/misc/java/test/CoreTest.java Mat w = new Mat(); w 1915 modules/core/misc/java/test/CoreTest.java Core.SVDecomp(src, w, u, vt); w 1924 modules/core/misc/java/test/CoreTest.java assertMatEqual(truthW, w, EPS); w 1935 modules/core/misc/java/test/CoreTest.java Mat w = new Mat(); w 1939 modules/core/misc/java/test/CoreTest.java Core.SVDecomp(src, w, u, vt, Core.SVD_NO_UV); w 1942 modules/core/misc/java/test/CoreTest.java assertMatEqual(truthW, w, EPS); w 182 modules/core/src/dxt.cpp Complex<double> w, w1; w 312 modules/core/src/dxt.cpp w.re = w1.re = DFTTab[m][0]; w 313 modules/core/src/dxt.cpp w.im = w1.im = -DFTTab[m][1]; w 318 modules/core/src/dxt.cpp w.im = w1.im = sin(t); w 319 modules/core/src/dxt.cpp w.re = w1.re = std::sqrt(1. - w1.im*w1.im); w 338 modules/core/src/dxt.cpp wave[i] = w; w 339 modules/core/src/dxt.cpp wave[n0-i].re = w.re; w 340 modules/core/src/dxt.cpp wave[n0-i].im = -w.im; w 342 modules/core/src/dxt.cpp t = w.re*w1.re - w.im*w1.im; w 343 modules/core/src/dxt.cpp w.im = w.re*w1.im + w.im*w1.re; w 344 modules/core/src/dxt.cpp w.re = t; w 363 modules/core/src/dxt.cpp wave[i].re = (float)w.re; w 364 modules/core/src/dxt.cpp wave[i].im = (float)w.im; w 365 modules/core/src/dxt.cpp wave[n0-i].re = (float)w.re; w 366 modules/core/src/dxt.cpp wave[n0-i].im = (float)-w.im; w 368 modules/core/src/dxt.cpp t = w.re*w1.re - w.im*w1.im; w 369 modules/core/src/dxt.cpp w.im = w.re*w1.im + w.im*w1.re; w 370 modules/core/src/dxt.cpp w.re = t; w 1183 modules/core/src/dxt.cpp const Complex<T>* w = wave; w 1191 modules/core/src/dxt.cpp for( j = 2, w++; j < n2; j += 2, w++ ) w 1201 modules/core/src/dxt.cpp t = h2_re*w->re + h2_im*w->im; w 1202 modules/core/src/dxt.cpp h2_im = h2_im*w->re - h2_re*w->im; w 3223 modules/core/src/dxt.cpp Complex<double> w, w1; w 3253 modules/core/src/dxt.cpp w.re = scale; w 3254 modules/core/src/dxt.cpp w.im = 0.; w 3258 modules/core/src/dxt.cpp wave[i] = w; w 3259 modules/core/src/dxt.cpp t = w.re*w1.re - w.im*w1.im; w 3260 modules/core/src/dxt.cpp w.im = w.re*w1.im + w.im*w1.re; w 3261 modules/core/src/dxt.cpp w.re = t; w 3269 modules/core/src/dxt.cpp w.re = (float)scale; w 3270 modules/core/src/dxt.cpp w.im = 0.f; w 3274 modules/core/src/dxt.cpp wave[i].re = (float)w.re; w 3275 modules/core/src/dxt.cpp wave[i].im = (float)w.im; w 3276 modules/core/src/dxt.cpp t = w.re*w1.re - w.im*w1.im; w 3277 modules/core/src/dxt.cpp w.im = w.re*w1.im + w.im*w1.re; w 3278 modules/core/src/dxt.cpp w.re = t; w 2081 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_VertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w) w 2084 modules/core/src/gl_core_3_1.cpp VertexAttribI4i(index, x, y, z, w); w 2105 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_VertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) w 2108 modules/core/src/gl_core_3_1.cpp VertexAttribI4ui(index, x, y, z, w); w 1303 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexAttribI4i)(GLuint index, GLint x, GLint y, GLint z, GLint w); w 1307 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexAttribI4ui)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); w 610 modules/core/src/lapack.cpp SVBkSbImpl_( int m, int n, const T* w, int incw, w 629 modules/core/src/lapack.cpp threshold += w[i*incw]; w 635 modules/core/src/lapack.cpp double wi = w[i*incw]; w 674 modules/core/src/lapack.cpp SVBkSb( int m, int n, const float* w, size_t wstep, w 680 modules/core/src/lapack.cpp SVBkSbImpl_(m, n, w, wstep ? (int)(wstep/sizeof(w[0])) : 1, w 689 modules/core/src/lapack.cpp SVBkSb( int m, int n, const double* w, size_t wstep, w 695 modules/core/src/lapack.cpp SVBkSbImpl_(m, n, w, wstep ? (int)(wstep/sizeof(w[0])) : 1, w 810 modules/core/src/lapack.cpp Mat w(nm, 1, type, u.ptr() + m*nm*esz); w 811 modules/core/src/lapack.cpp Mat vt(nm, n, type, w.ptr() + nm*esz); w 813 modules/core/src/lapack.cpp SVD::compute(src, w, u, vt); w 814 modules/core/src/lapack.cpp SVD::backSubst(w, u, vt, Mat(), _dst); w 816 modules/core/src/lapack.cpp (w.ptr<float>()[0] >= FLT_EPSILON ? w 817 modules/core/src/lapack.cpp w.ptr<float>()[n-1]/w.ptr<float>()[0] : 0) : w 818 modules/core/src/lapack.cpp (w.ptr<double>()[0] >= DBL_EPSILON ? w 819 modules/core/src/lapack.cpp w.ptr<double>()[n-1]/w.ptr<double>()[0] : 0); w 829 modules/core/src/lapack.cpp Mat w(n, 1, type, u.ptr() + n*n*esz); w 830 modules/core/src/lapack.cpp Mat vt(n, n, type, w.ptr() + n*esz); w 832 modules/core/src/lapack.cpp eigen(src, w, vt); w 834 modules/core/src/lapack.cpp SVD::backSubst(w, u, vt, Mat(), _dst); w 836 modules/core/src/lapack.cpp (w.ptr<float>()[0] >= FLT_EPSILON ? w 837 modules/core/src/lapack.cpp w.ptr<float>()[n-1]/w.ptr<float>()[0] : 0) : w 838 modules/core/src/lapack.cpp (w.ptr<double>()[0] >= DBL_EPSILON ? w 839 modules/core/src/lapack.cpp w.ptr<double>()[n-1]/w.ptr<double>()[0] : 0); w 1282 modules/core/src/lapack.cpp Mat v(n, n, type, ptr, vstep), w(n, 1, type, ptr + vstep*n), u; w 1288 modules/core/src/lapack.cpp Jacobi(a.ptr<float>(), a.step, w.ptr<float>(), v.ptr<float>(), v.step, n, ptr); w 1290 modules/core/src/lapack.cpp Jacobi(a.ptr<double>(), a.step, w.ptr<double>(), v.ptr<double>(), v.step, n, ptr); w 1296 modules/core/src/lapack.cpp JacobiSVD(a.ptr<float>(), a.step, w.ptr<float>(), v.ptr<float>(), v.step, m_, n); w 1298 modules/core/src/lapack.cpp JacobiSVD(a.ptr<double>(), a.step, w.ptr<double>(), v.ptr<double>(), v.step, m_, n); w 1304 modules/core/src/lapack.cpp SVBkSb(m_, n, w.ptr<float>(), 0, u.ptr<float>(), u.step, true, w 1310 modules/core/src/lapack.cpp SVBkSb(m_, n, w.ptr<double>(), 0, u.ptr<double>(), u.step, true, w 1345 modules/core/src/lapack.cpp Mat a(n, n, type, ptr, astep), w(n, 1, type, ptr + astep*n); w 1349 modules/core/src/lapack.cpp Jacobi(a.ptr<float>(), a.step, w.ptr<float>(), v.ptr<float>(), v.step, n, ptr) : w 1350 modules/core/src/lapack.cpp Jacobi(a.ptr<double>(), a.step, w.ptr<double>(), v.ptr<double>(), v.step, n, ptr); w 1352 modules/core/src/lapack.cpp w.copyTo(_evals); w 1434 modules/core/src/lapack.cpp void SVD::compute( InputArray a, OutputArray w, OutputArray u, OutputArray vt, int flags ) w 1436 modules/core/src/lapack.cpp _SVDcompute(a, w, u, vt, flags); w 1439 modules/core/src/lapack.cpp void SVD::compute( InputArray a, OutputArray w, int flags ) w 1441 modules/core/src/lapack.cpp _SVDcompute(a, w, noArray(), noArray(), flags); w 1447 modules/core/src/lapack.cpp Mat w = _w.getMat(), u = _u.getMat(), vt = _vt.getMat(), rhs = _rhs.getMat(); w 1448 modules/core/src/lapack.cpp int type = w.type(), esz = (int)w.elemSize(); w 1450 modules/core/src/lapack.cpp size_t wstep = w.rows == 1 ? (size_t)esz : w.cols == 1 ? (size_t)w.step : (size_t)w.step + esz; w 1452 modules/core/src/lapack.cpp CV_Assert( w.type() == u.type() && u.type() == vt.type() && u.data && vt.data && w.data ); w 1454 modules/core/src/lapack.cpp (w.size() == Size(nm, 1) || w.size() == Size(1, nm) || w.size() == Size(vt.rows, u.cols)) ); w 1460 modules/core/src/lapack.cpp SVBkSb(m, n, w.ptr<float>(), wstep, u.ptr<float>(), u.step, false, w 1464 modules/core/src/lapack.cpp SVBkSb(m, n, w.ptr<double>(), wstep, u.ptr<double>(), u.step, false, w 1474 modules/core/src/lapack.cpp _SVDcompute(a, w, u, vt, flags); w 1481 modules/core/src/lapack.cpp backSubst( w, u, vt, rhs, dst ); w 1487 modules/core/src/lapack.cpp void cv::SVDecomp(InputArray src, OutputArray w, OutputArray u, OutputArray vt, int flags) w 1489 modules/core/src/lapack.cpp SVD::compute(src, w, u, vt, flags); w 1492 modules/core/src/lapack.cpp void cv::SVBackSubst(InputArray w, InputArray u, InputArray vt, InputArray rhs, OutputArray dst) w 1494 modules/core/src/lapack.cpp SVD::backSubst(w, u, vt, rhs, dst); w 1594 modules/core/src/lapack.cpp cv::Mat a = cv::cvarrToMat(aarr), w = cv::cvarrToMat(warr), u, v; w 1597 modules/core/src/lapack.cpp CV_Assert( w.type() == type && w 1598 modules/core/src/lapack.cpp (w.size() == cv::Size(nm,1) || w.size() == cv::Size(1, nm) || w 1599 modules/core/src/lapack.cpp w.size() == cv::Size(nm, nm) || w.size() == cv::Size(n, m)) ); w 1603 modules/core/src/lapack.cpp if( w.size() == cv::Size(nm, 1) ) w 1604 modules/core/src/lapack.cpp svd.w = cv::Mat(nm, 1, type, w.ptr() ); w 1605 modules/core/src/lapack.cpp else if( w.isContinuous() ) w 1606 modules/core/src/lapack.cpp svd.w = w; w 1649 modules/core/src/lapack.cpp if( w.data != svd.w.data ) w 1651 modules/core/src/lapack.cpp if( w.size() == svd.w.size() ) w 1652 modules/core/src/lapack.cpp svd.w.copyTo(w); w 1655 modules/core/src/lapack.cpp w = cv::Scalar(0); w 1656 modules/core/src/lapack.cpp cv::Mat wd = w.diag(); w 1657 modules/core/src/lapack.cpp svd.w.copyTo(wd); w 1668 modules/core/src/lapack.cpp cv::Mat w = cv::cvarrToMat(warr), u = cv::cvarrToMat(uarr), w 1686 modules/core/src/lapack.cpp cv::SVD::backSubst(w, u, v, rhs, dst); w 330 modules/core/src/lda.cpp double p = 0, q = 0, r = 0, s = 0, z = 0, t, w, x, y; w 375 modules/core/src/lda.cpp w = H[n1][n1 - 1] * H[n1 - 1][n1]; w 377 modules/core/src/lda.cpp q = p * p + w; w 394 modules/core/src/lda.cpp d[n1] = x - w / z; w 449 modules/core/src/lda.cpp w = 0.0; w 452 modules/core/src/lda.cpp w = H[n1][n1 - 1] * H[n1 - 1][n1]; w 464 modules/core/src/lda.cpp w = -0.4375 * s * s; w 471 modules/core/src/lda.cpp s = s * s + w; w 477 modules/core/src/lda.cpp s = x - w / ((y - x) / 2.0 + s); w 482 modules/core/src/lda.cpp x = y = w = 0.964; w 494 modules/core/src/lda.cpp p = (r * s - w) / H[m + 1][m] + H[m][m + 1]; w 610 modules/core/src/lda.cpp w = H[i][i] - p; w 616 modules/core/src/lda.cpp z = w; w 621 modules/core/src/lda.cpp if (w != 0.0) { w 622 modules/core/src/lda.cpp H[i][n1] = -r / w; w 636 modules/core/src/lda.cpp H[i + 1][n1] = (-r - w * t) / x; w 676 modules/core/src/lda.cpp w = H[i][i] - p; w 679 modules/core/src/lda.cpp z = w; w 685 modules/core/src/lda.cpp cdiv(-ra, -sa, w, q); w 697 modules/core/src/lda.cpp vr = eps * norm * (std::abs(w) + std::abs(q) + std::abs(x) w 705 modules/core/src/lda.cpp H[i + 1][n1 - 1] = (-ra - w * H[i][n1 - 1] + q w 707 modules/core/src/lda.cpp H[i + 1][n1] = (-sa - w * H[i][n1] - q * H[i][n1 w 2032 modules/core/src/matmul.cpp double w = x*m[6] + y*m[7] + m[8]; w 2034 modules/core/src/matmul.cpp if( fabs(w) > eps ) w 2036 modules/core/src/matmul.cpp w = 1./w; w 2037 modules/core/src/matmul.cpp dst[i] = (T)((x*m[0] + y*m[1] + m[2])*w); w 2038 modules/core/src/matmul.cpp dst[i+1] = (T)((x*m[3] + y*m[4] + m[5])*w); w 2049 modules/core/src/matmul.cpp double w = x*m[12] + y*m[13] + z*m[14] + m[15]; w 2051 modules/core/src/matmul.cpp if( fabs(w) > eps ) w 2053 modules/core/src/matmul.cpp w = 1./w; w 2054 modules/core/src/matmul.cpp dst[i] = (T)((x*m[0] + y*m[1] + z*m[2] + m[3]) * w); w 2055 modules/core/src/matmul.cpp dst[i+1] = (T)((x*m[4] + y*m[5] + z*m[6] + m[7]) * w); w 2056 modules/core/src/matmul.cpp dst[i+2] = (T)((x*m[8] + y*m[9] + z*m[10] + m[11]) * w); w 2067 modules/core/src/matmul.cpp double w = x*m[8] + y*m[9] + z*m[10] + m[11]; w 2069 modules/core/src/matmul.cpp if( fabs(w) > eps ) w 2071 modules/core/src/matmul.cpp w = 1./w; w 2072 modules/core/src/matmul.cpp dst[0] = (T)((x*m[0] + y*m[1] + z*m[2] + m[3])*w); w 2073 modules/core/src/matmul.cpp dst[1] = (T)((x*m[4] + y*m[5] + z*m[6] + m[7])*w); w 2084 modules/core/src/matmul.cpp double w = _m[scn]; w 2087 modules/core/src/matmul.cpp w += _m[k]*src[k]; w 2088 modules/core/src/matmul.cpp if( fabs(w) > eps ) w 2096 modules/core/src/matmul.cpp dst[j] = (T)(s*w); w 1039 modules/core/src/stat.cpp for (int x = 0, w = m.cols * cn; x < w; ) w 194 modules/core/test/test_countnonzero.cpp int w = rng.next()%MAX_WIDTH + 1, h = rng.next()%MAX_HEIGHT + 1; w 201 modules/core/test/test_countnonzero.cpp generate_src_data(Size(w, h), current_type); w 216 modules/core/test/test_countnonzero.cpp int count_non_zero = rng.next()%(w*h); w 217 modules/core/test/test_countnonzero.cpp generate_src_data(Size(w, h), current_type, count_non_zero); w 233 modules/core/test/test_countnonzero.cpp generate_src_stat_data(Size(w, h), current_type, distribution); w 15 modules/core/test/test_dxt.cpp Complexd* w = wave.ptr<Complexd>(); w 19 modules/core/test/test_dxt.cpp w[0].re = wi.re = 1.; w 20 modules/core/test/test_dxt.cpp w[0].im = wi.im = 0.; w 27 modules/core/test/test_dxt.cpp w[i] = wi; w 50 modules/core/test/test_dxt.cpp const Complexd* w = wave.ptr<Complexd>(); w 68 modules/core/test/test_dxt.cpp sum.re += src->re*w[k].re - src->im*w[k].im; w 69 modules/core/test/test_dxt.cpp sum.im += src->re*w[k].im + src->im*w[k].re; w 90 modules/core/test/test_dxt.cpp sum.re += src->re*w[k].re - src->im*w[k].im; w 91 modules/core/test/test_dxt.cpp sum.im += src->re*w[k].im + src->im*w[k].re; w 164 modules/core/test/test_dxt.cpp double* w; w 170 modules/core/test/test_dxt.cpp w = wave.ptr<double>(); w 187 modules/core/test/test_dxt.cpp sum += src[0]*w[j]; w 188 modules/core/test/test_dxt.cpp w += n; w 202 modules/core/test/test_dxt.cpp sum += src[0]*w[j]; w 203 modules/core/test/test_dxt.cpp w += n; w 1018 modules/core/test/test_math.cpp double w = buf[j]*mat[6] + buf[j+1]*mat[7] + mat[8]; w 1019 modules/core/test/test_math.cpp w = w ? 1./w : 0; w 1020 modules/core/test/test_math.cpp buf[j] = t0*w; w 1021 modules/core/test/test_math.cpp buf[j+1] = t1*w; w 1030 modules/core/test/test_math.cpp double w = buf[j]*mat[12] + buf[j+1]*mat[13] + buf[j+2]*mat[14] + mat[15]; w 1031 modules/core/test/test_math.cpp w = w ? 1./w : 0; w 1032 modules/core/test/test_math.cpp buf[j] = t0*w; w 1033 modules/core/test/test_math.cpp buf[j+1] = t1*w; w 1034 modules/core/test/test_math.cpp buf[j+2] = t2*w; w 1590 modules/core/test/test_math.cpp CvMat* w = cvCreateMat( nm, 1, type ); w 1593 modules/core/test/test_math.cpp cvSVD( mat, w, 0, 0, 0 ); w 1598 modules/core/test/test_math.cpp det *= w->data.fl[i]; w 1599 modules/core/test/test_math.cpp *ratio = w->data.fl[nm-1] < FLT_EPSILON ? 0 : w->data.fl[nm-1]/w->data.fl[0]; w 1604 modules/core/test/test_math.cpp det *= w->data.db[i]; w 1605 modules/core/test/test_math.cpp *ratio = w->data.db[nm-1] < FLT_EPSILON ? 0 : w->data.db[nm-1]/w->data.db[0]; w 1608 modules/core/test/test_math.cpp cvReleaseMat( &w ); w 1938 modules/core/test/test_math.cpp Mat *src, *dst, *w; w 1957 modules/core/test/test_math.cpp w = &test_mat[TEMP][0]; w 1961 modules/core/test/test_math.cpp if( w->rows > 1 && w->cols > 1 ) w 1963 modules/core/test/test_math.cpp normval = cvtest::norm( w->row(i), NORM_L1 ); w 1964 modules/core/test/test_math.cpp aii = depth == CV_32F ? w->at<float>(i,i) : w->at<double>(i,i); w 1968 modules/core/test/test_math.cpp normval = aii = depth == CV_32F ? w->at<float>(i) : w->at<double>(i); w 1985 modules/core/test/test_math.cpp double val = depth == CV_32F ? w->at<float>(i) : w->at<double>(i); w 1988 modules/core/test/test_math.cpp w = &test_mat[TEMP][3]; w 1993 modules/core/test/test_math.cpp cvtest::gemm( test_mat[TEMP][1], *w, 1., Mat(), 0., test_mat[REF_OUTPUT][0], w 2000 modules/core/test/test_math.cpp cvtest::gemm( *w, test_mat[TEMP][2], 1., Mat(), 0., test_mat[REF_OUTPUT][0], w 2151 modules/core/test/test_math.cpp Mat& w = test_mat[TEMP][0]; w 2153 modules/core/test/test_math.cpp CvMat _w = w, _wdb = wdb; w 2156 modules/core/test/test_math.cpp double threshold = cv::sum(w)[0]*(DBL_EPSILON*2);//(is_float ? FLT_EPSILON*10 : DBL_EPSILON*2); w 1094 modules/core/test/test_operations.cpp W=decomp.w; w 64 modules/cudaimgproc/src/match_template.cpp void matchTemplatePrepared_SQDIFF_8U(int w, int h, const PtrStepSz<double> image_sqsum, double templ_sqsum, PtrStepSzf result, w 67 modules/cudaimgproc/src/match_template.cpp void matchTemplatePrepared_SQDIFF_NORMED_8U(int w, int h, const PtrStepSz<double> image_sqsum, double templ_sqsum, PtrStepSzf result, w 70 modules/cudaimgproc/src/match_template.cpp void matchTemplatePrepared_CCOFF_8U(int w, int h, const PtrStepSz<int> image_sum, int templ_sum, PtrStepSzf result, cudaStream_t stream); w 72 modules/cudaimgproc/src/match_template.cpp int w, int h, w 79 modules/cudaimgproc/src/match_template.cpp int w, int h, w 88 modules/cudaimgproc/src/match_template.cpp int w, int h, w 101 modules/cudaimgproc/src/match_template.cpp int w, int h, const PtrStepSz<int> image_sum, w 106 modules/cudaimgproc/src/match_template.cpp int w, int h, w 113 modules/cudaimgproc/src/match_template.cpp int w, int h, w 122 modules/cudaimgproc/src/match_template.cpp int w, int h, w 133 modules/cudaimgproc/src/match_template.cpp void normalize_8U(int w, int h, const PtrStepSz<double> image_sqsum, w 125 modules/cudaimgproc/test/test_match_template.cpp int n, m, h, w; w 241 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp this->_ui4.w = *(Ncv32u_a *)&nr; w 262 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp return *(HaarClassifierNodeDescriptor32 *)&this->_ui4.w; w 74 modules/cudalegacy/src/cuda/NCVColorConversion.hpp pixOut.w = 0; w 137 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static inline __host__ __device__ uchar4 _pixMake(Ncv8u x, Ncv8u y, Ncv8u z, Ncv8u w) {return make_uchar4(x,y,z,w);} w 140 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static inline __host__ __device__ ushort4 _pixMake(Ncv16u x, Ncv16u y, Ncv16u z, Ncv16u w) {return make_ushort4(x,y,z,w);} w 143 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static inline __host__ __device__ uint4 _pixMake(Ncv32u x, Ncv32u y, Ncv32u z, Ncv32u w) {return make_uint4(x,y,z,w);} w 146 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static inline __host__ __device__ float4 _pixMake(Ncv32f x, Ncv32f y, Ncv32f z, Ncv32f w) {return make_float4(x,y,z,w);} w 149 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static inline __host__ __device__ double4 _pixMake(Ncv64f x, Ncv64f y, Ncv64f z, Ncv64f w) {return make_double4(x,y,z,w);} w 179 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp _TDemoteClampZ(pix.w, out.w); w 216 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp _TDemoteClampNN(pix.w, out.w); w 226 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp template<typename Tin, typename Tout, typename Tw, Ncv32u CN> struct __pixScale_CN {static __host__ __device__ Tout _pixScale_CN(Tin &pix, Tw w);}; w 229 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static __host__ __device__ Tout _pixScale_CN(Tin &pix, Tw w) w 233 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.x = (TBout)(pix.x * w); w 238 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static __host__ __device__ Tout _pixScale_CN(Tin &pix, Tw w) w 242 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.x = (TBout)(pix.x * w); w 243 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.y = (TBout)(pix.y * w); w 244 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.z = (TBout)(pix.z * w); w 249 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static __host__ __device__ Tout _pixScale_CN(Tin &pix, Tw w) w 253 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.x = (TBout)(pix.x * w); w 254 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.y = (TBout)(pix.y * w); w 255 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.z = (TBout)(pix.z * w); w 256 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.w = (TBout)(pix.w * w); w 260 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp template<typename Tin, typename Tout, typename Tw> static __host__ __device__ Tout _pixScale(Tin &pix, Tw w) w 262 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp return __pixScale_CN<Tin, Tout, Tw, NC(Tin)>::_pixScale_CN(pix, w); w 293 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.w = pix1.w + pix2.w; w 320 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp return Tout(SQR(pix1.x - pix2.x) + SQR(pix1.y - pix2.y) + SQR(pix1.z - pix2.z) + SQR(pix1.w - pix2.w)); w 75 modules/cudaobjdetect/src/cuda/lbp.hpp float delta = eps * (::min(r1.z, r2.z) + ::min(r1.w, r2.w)) * 0.5f; w 78 modules/cudaobjdetect/src/cuda/lbp.hpp && ::abs(r1.x + r1.z - r2.x - r2.z) <= delta && ::abs(r1.y + r1.w - r2.y - r2.w) <= delta; w 7 modules/cudastereo/src/cuda/stereocsbp.hpp int h, int w, int level, int nr_plane, int ndisp, int channels, float data_weight, float max_data_term, int min_disp, bool use_local_init_data_cost, cudaStream_t stream); w 11 modules/cudastereo/src/cuda/stereocsbp.hpp int rows, int cols, int h, int w, int h2, int level, int nr_plane, int channels, float data_weight, float max_data_term, w 19 modules/cudastereo/src/cuda/stereocsbp.hpp int h, int w, int nr_plane, int h2, int w2, int nr_plane2, cudaStream_t stream); w 23 modules/cudastereo/src/cuda/stereocsbp.hpp const T* selected_disp_pyr_cur, size_t msg_step, int h, int w, int nr_plane, int iters, int max_disc_term, float disc_single_jump, cudaStream_t stream); w 119 modules/cudawarping/test/interpolation.hpp const float w = bicubicCoeff(x - cx) * bicubicCoeff(y - cy); w 120 modules/cudawarping/test/interpolation.hpp sum += w * readVal<T>(src, (int) floorf(cy), (int) floorf(cx), c, border_type, borderVal); w 121 modules/cudawarping/test/interpolation.hpp wsum += w; w 81 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp vec.w = val; w 91 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp return vec.w; w 158 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int a = src.w; w 198 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.w = (src & 0x8000) * 0xffu; w 235 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.w = 255; w 165 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp bytes.w = (in & 0xff000000) >> 24; w 183 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp const uchar4 d = int_to_uchar4(data.w); w 190 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp result[3] = result[2] + a.w; w 195 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp result[7] = result[6] + b.w; w 200 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp result[11] = result[10] + c.w; w 205 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp result[15] = result[14] + d.w; w 147 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp return tie(val.x, val.y, val.z, val.w); w 237 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicAdd(ptr + 3, val.w); w 245 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicMin(ptr + 3, val.w); w 253 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicMax(ptr + 3, val.w); w 91 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp blockReduce<BLOCK_SIZE>(smem_tuple(smem[0], smem[1], smem[2], smem[3]), tie(myVal.x, myVal.y, myVal.z, myVal.w), threadIdx.x, make_tuple(op, op, op, op)); w 263 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst4(y, x) = src_value.w; w 139 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.w = op(src.w); w 152 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.w = op(src1.w, src2.w); w 200 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp const float w = bicubicCoeff(x - cx) * bicubicCoeff(y - cy); w 202 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp sum = sum + static_cast<work_elem_type>(w) * src_reg; w 203 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp wsum += w; w 95 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<VecD>::make(saturate_cast<D>(v.x), saturate_cast<D>(v.y), saturate_cast<D>(v.z), saturate_cast<D>(v.w)); w 153 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(op (a.x), op (a.y), op (a.z), op (a.w)); \ w 197 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(func (a.x), func (a.y), func (a.z), func (a.w)); \ w 412 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(a.x op b.x, a.y op b.y, a.z op b.z, a.w op b.w); \ w 575 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(a.x op s, a.y op s, a.z op s, a.w op s); \ w 579 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(s op b.x, s op b.y, s op b.z, s op b.w); \ w 782 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(func (a.x, b.x), func (a.y, b.y), func (a.z, b.z), func (a.w, b.w)); \ w 852 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(func ((output_type) a.x, (output_type) s), func ((output_type) a.y, (output_type) s), func ((output_type) a.z, (output_type) s), func ((output_type) a.w, (output_type) s)); \ w 856 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(func ((output_type) s, (output_type) b.x), func ((output_type) s, (output_type) b.y), func ((output_type) s, (output_type) b.z), func ((output_type) s, (output_type) b.w)); \ w 128 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp __host__ __device__ __forceinline__ static type ## 4 make(type x, type y, type z, type w) {return make_ ## type ## 4(x, y, z, w);} \ w 179 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp __host__ __device__ __forceinline__ static char4 make(schar x, schar y, schar z, schar w) {return make_char4(x, y, z, w);} w 135 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.w, srcLane, width) \ w 226 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.w, delta, width) \ w 317 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.w, delta, width) \ w 408 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.w, laneMask, width) \ w 7603 modules/features2d/src/agast.cpp size_t w = lastRowCorner_ind; w 7605 modules/features2d/src/agast.cpp while(nmsFlags[w] != -1) w 7606 modules/features2d/src/agast.cpp w = nmsFlags[w]; w 7608 modules/features2d/src/agast.cpp if(keypoints[curr_idx].response < keypoints[w].response) w 7609 modules/features2d/src/agast.cpp nmsFlags[curr_idx] = (int)w; w 7611 modules/features2d/src/agast.cpp nmsFlags[w] = (int)curr_idx; w 88 modules/features2d/src/evaluation.cpp double w = 1./z; w 89 modules/features2d/src/evaluation.cpp return Point2f( (float)((H(0,0)*pt.x + H(0,1)*pt.y + H(0,2))*w), (float)((H(1,0)*pt.x + H(1,1)*pt.y + H(1,2))*w) ); w 324 modules/features2d/src/kaze/nldiffusion_functions.cpp float w = 10.0f / 3.0f; w 325 modules/features2d/src/kaze/nldiffusion_functions.cpp float norm = 1.0f / (2.0f*scale*(w + 2.0f)); w 333 modules/features2d/src/kaze/nldiffusion_functions.cpp kerI[0] = norm, kerI[ksize / 2] = w*norm, kerI[ksize - 1] = norm; w 103 modules/flann/include/opencv2/flann/lsh_table.h int w = 20; w 104 modules/flann/include/opencv2/flann/lsh_table.h out << "Lsh Table Stats:\n" << std::setw(w) << std::setiosflags(std::ios::right) << "N buckets : " w 105 modules/flann/include/opencv2/flann/lsh_table.h << stats.n_buckets_ << "\n" << std::setw(w) << std::setiosflags(std::ios::right) << "mean size : " w 106 modules/flann/include/opencv2/flann/lsh_table.h << std::setiosflags(std::ios::left) << stats.bucket_size_mean_ << "\n" << std::setw(w) w 107 modules/flann/include/opencv2/flann/lsh_table.h << std::setiosflags(std::ios::right) << "median size : " << stats.bucket_size_median_ << "\n" << std::setw(w) w 109 modules/flann/include/opencv2/flann/lsh_table.h << stats.bucket_size_min_ << "\n" << std::setw(w) << std::setiosflags(std::ios::right) << "max size : " w 113 modules/flann/include/opencv2/flann/lsh_table.h out << std::endl << std::setw(w) << std::setiosflags(std::ios::right) << "histogram : " w 385 modules/highgui/src/window_QT.cpp CvWindow* w = (CvWindow*) temp; w 386 modules/highgui/src/window_QT.cpp if (w->objectName() == name) w 388 modules/highgui/src/window_QT.cpp window = w; w 428 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(nameWinQt); w 430 modules/highgui/src/window_QT.cpp if (!w) w 433 modules/highgui/src/window_QT.cpp if (w->param_gui_mode == CV_GUI_NORMAL) w 434 modules/highgui/src/window_QT.cpp return (CvTrackbar*) icvFindBarByName(w->myBarLayout, nameQt, type_CvTrackbar); w 436 modules/highgui/src/window_QT.cpp if (w->param_gui_mode == CV_GUI_EXPANDED) w 438 modules/highgui/src/window_QT.cpp CvBar* result = icvFindBarByName(w->myBarLayout, nameQt, type_CvTrackbar); w 676 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(QLatin1String(window_name)); w 678 modules/highgui/src/window_QT.cpp if (!w) w 681 modules/highgui/src/window_QT.cpp w->setMouseCallBack(on_mouse, param); w 839 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 841 modules/highgui/src/window_QT.cpp if (w) w 842 modules/highgui/src/window_QT.cpp w->writeSettings(); w 848 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 850 modules/highgui/src/window_QT.cpp if (w) w 851 modules/highgui/src/window_QT.cpp w->readSettings(); w 857 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 859 modules/highgui/src/window_QT.cpp if (!w) w 862 modules/highgui/src/window_QT.cpp return w->getRatio(); w 868 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName( name.toLatin1().data() ); w 870 modules/highgui/src/window_QT.cpp if (!w) w 875 modules/highgui/src/window_QT.cpp w->setRatio(flags); w 881 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 883 modules/highgui/src/window_QT.cpp if (!w) w 886 modules/highgui/src/window_QT.cpp return (double) w->getPropWindow(); w 892 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 894 modules/highgui/src/window_QT.cpp if (!w) w 899 modules/highgui/src/window_QT.cpp w->setPropWindow(flags); w 904 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 906 modules/highgui/src/window_QT.cpp if (!w) w 909 modules/highgui/src/window_QT.cpp w = icvFindWindowByName(name); w 912 modules/highgui/src/window_QT.cpp if (!w) w 915 modules/highgui/src/window_QT.cpp w->setWindowTitle(title); w 921 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 923 modules/highgui/src/window_QT.cpp if (!w) w 926 modules/highgui/src/window_QT.cpp return w->isFullScreen() ? CV_WINDOW_FULLSCREEN : CV_WINDOW_NORMAL; w 932 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 934 modules/highgui/src/window_QT.cpp if (!w) w 939 modules/highgui/src/window_QT.cpp w->toggleFullScreen(flags); w 967 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 969 modules/highgui/src/window_QT.cpp if (w) w 970 modules/highgui/src/window_QT.cpp w->displayInfo(text, delayms); w 976 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 978 modules/highgui/src/window_QT.cpp if (w) w 979 modules/highgui/src/window_QT.cpp w->displayStatusBar(text, delayms); w 985 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 987 modules/highgui/src/window_QT.cpp if (!w) //as observed in the previous implementation (W32, GTK or Carbon), create a new window is the pointer returned is null w 990 modules/highgui/src/window_QT.cpp w = icvFindWindowByName(name); w 993 modules/highgui/src/window_QT.cpp if (!w || !arr) w 996 modules/highgui/src/window_QT.cpp if (w->isOpenGl()) w 1007 modules/highgui/src/window_QT.cpp w->updateImage(arr); w 1010 modules/highgui/src/window_QT.cpp if (w->isHidden()) w 1011 modules/highgui/src/window_QT.cpp w->show(); w 1018 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 1020 modules/highgui/src/window_QT.cpp if (w) w 1022 modules/highgui/src/window_QT.cpp w->close(); w 1028 modules/highgui/src/window_QT.cpp delete w; w 1069 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 1071 modules/highgui/src/window_QT.cpp if (w) w 1072 modules/highgui/src/window_QT.cpp w->move(x, y); w 1078 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 1080 modules/highgui/src/window_QT.cpp if (w) w 1082 modules/highgui/src/window_QT.cpp w->showNormal(); w 1083 modules/highgui/src/window_QT.cpp w->setViewportSize(QSize(width, height)); w 1098 modules/highgui/src/window_QT.cpp CvWindow* w = (CvWindow*) widget; w 1101 modules/highgui/src/window_QT.cpp w->enablePropertiesButton(); w 1139 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w; w 1143 modules/highgui/src/window_QT.cpp w = icvFindWindowByName(window_name); w 1145 modules/highgui/src/window_QT.cpp if (!w) w 1165 modules/highgui/src/window_QT.cpp CvWindow::addSlider2(w, bar_name, (int*)value, count, (CvTrackbarCallback2) on_change, userdata); w 1172 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w; w 1176 modules/highgui/src/window_QT.cpp w = icvFindWindowByName(window_name); w 1178 modules/highgui/src/window_QT.cpp if (!w) w 1198 modules/highgui/src/window_QT.cpp CvWindow::addSlider(w, bar_name, (int*)value, count, (CvTrackbarCallback) on_change); w 1210 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 1212 modules/highgui/src/window_QT.cpp if (w) w 1213 modules/highgui/src/window_QT.cpp w->setOpenGlDrawCallback((CvOpenGlDrawCallback) callback, userdata); w 1218 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 1220 modules/highgui/src/window_QT.cpp if (w) w 1221 modules/highgui/src/window_QT.cpp w->makeCurrentOpenGlContext(); w 1226 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 1228 modules/highgui/src/window_QT.cpp if (w) w 1229 modules/highgui/src/window_QT.cpp w->updateGl(); w 1236 modules/highgui/src/window_QT.cpp QPointer<CvWindow> w = icvFindWindowByName(name); w 1238 modules/highgui/src/window_QT.cpp if (w) w 1239 modules/highgui/src/window_QT.cpp result = (double) w->isOpenGl(); w 1806 modules/highgui/src/window_QT.cpp void CvWindow::addSlider(CvWindow* w, QString name, int* value, int count, CvTrackbarCallback on_change) w 1808 modules/highgui/src/window_QT.cpp QPointer<CvTrackbar> t = new CvTrackbar(w, name, value, count, on_change); w 1813 modules/highgui/src/window_QT.cpp if (w) w 1815 modules/highgui/src/window_QT.cpp myLayout = w->myBarLayout; w 1830 modules/highgui/src/window_QT.cpp void CvWindow::addSlider2(CvWindow* w, QString name, int* value, int count, CvTrackbarCallback2 on_change, void* userdata) w 1832 modules/highgui/src/window_QT.cpp QPointer<CvTrackbar> t = new CvTrackbar(w, name, value, count, on_change, userdata); w 1837 modules/highgui/src/window_QT.cpp if (w) w 1839 modules/highgui/src/window_QT.cpp myLayout = w->myBarLayout; w 3153 modules/highgui/src/window_QT.cpp void OpenGlViewPort::resizeGL(int w, int h) w 3155 modules/highgui/src/window_QT.cpp glViewport(0, 0, w, h); w 311 modules/highgui/src/window_QT.h static void addSlider(CvWindow* w, QString name, int* value, int count, CvTrackbarCallback on_change CV_DEFAULT(NULL)); w 312 modules/highgui/src/window_QT.h static void addSlider2(CvWindow* w, QString name, int* value, int count, CvTrackbarCallback2 on_change CV_DEFAULT(NULL), void* userdata CV_DEFAULT(0)); w 437 modules/highgui/src/window_QT.h void resizeGL(int w, int h); w 497 modules/imgcodecs/src/grfmt_jpeg2000.cpp int w = _img.cols, h = _img.rows, ncmpts = _img.channels(); w 498 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_matrix_t *row = jas_matrix_create( 1, w ); w 507 modules/imgcodecs/src/grfmt_jpeg2000.cpp for( int x = 0; x < w; x++) w 509 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_image_writecmpt( img, i, 0, y, w, 1, row ); w 521 modules/imgcodecs/src/grfmt_jpeg2000.cpp int w = _img.cols, h = _img.rows, ncmpts = _img.channels(); w 522 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_matrix_t *row = jas_matrix_create( 1, w ); w 531 modules/imgcodecs/src/grfmt_jpeg2000.cpp for( int x = 0; x < w; x++) w 533 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_image_writecmpt( img, i, 0, y, w, 1, row ); w 6441 modules/imgproc/src/color.cpp const int w = src_.cols; w 6451 modules/imgproc/src/color.cpp uchar* u = dst_->ptr<uchar>(h + i/2) + (i % 2) * (w/2); w 6452 modules/imgproc/src/color.cpp uchar* v = dst_->ptr<uchar>(h + (i + h/2)/2) + ((i + h/2) % 2) * (w/2); w 6455 modules/imgproc/src/color.cpp for( int j = 0, k = 0; j < w * cn; j += 2 * cn, k++ ) w 181 modules/imgproc/src/featureselect.cpp int w = imgsize.width, h = imgsize.height; w 184 modules/imgproc/src/featureselect.cpp const int grid_width = (w + cell_size - 1) / cell_size; w 320 modules/imgproc/src/featureselect.cpp int w = image.cols; w 324 modules/imgproc/src/featureselect.cpp const int grid_width = (w + cell_size - 1) / cell_size; w 4061 modules/imgproc/src/filter.cpp int w = isolated ? sz.width : wholeSize.width; w 4063 modules/imgproc/src/filter.cpp if (w < ksize.width || h < ksize.height) w 4137 modules/imgproc/src/filter.cpp int w = isolated ? sz.width : wholeSize.width; w 4138 modules/imgproc/src/filter.cpp bool extra_extrapolation = h < requiredTop || h < requiredBottom || w < requiredLeft || w < requiredRight; w 4140 modules/imgproc/src/filter.cpp if ((w < ksize.width) || (h < ksize.height)) w 53 modules/imgproc/src/gcgraph.hpp void addEdges( int i, int j, TWeight w, TWeight revw ); w 114 modules/imgproc/src/gcgraph.hpp void GCGraph<TWeight>::addEdges( int i, int j, TWeight w, TWeight revw ) w 118 modules/imgproc/src/gcgraph.hpp CV_Assert( w>=0 && revw>=0 ); w 127 modules/imgproc/src/gcgraph.hpp fromI.weight = w; w 484 modules/imgproc/src/grabcut.cpp double w = leftW.at<double>(p); w 485 modules/imgproc/src/grabcut.cpp graph.addEdges( vtxIdx, vtxIdx-1, w, w ); w 489 modules/imgproc/src/grabcut.cpp double w = upleftW.at<double>(p); w 490 modules/imgproc/src/grabcut.cpp graph.addEdges( vtxIdx, vtxIdx-img.cols-1, w, w ); w 494 modules/imgproc/src/grabcut.cpp double w = upW.at<double>(p); w 495 modules/imgproc/src/grabcut.cpp graph.addEdges( vtxIdx, vtxIdx-img.cols, w, w ); w 499 modules/imgproc/src/grabcut.cpp double w = uprightW.at<double>(p); w 500 modules/imgproc/src/grabcut.cpp graph.addEdges( vtxIdx, vtxIdx-img.cols+1, w, w ); w 231 modules/imgproc/src/hough.cpp int w = img.cols; w 241 modules/imgproc/src/hough.cpp int rn = cvFloor( std::sqrt( (double)w * w + (double)h * h ) * irho ); w 258 modules/imgproc/src/hough.cpp for( col = 0; col < w; col++ ) w 268 modules/imgproc/src/hough.cpp for( col = 0; col < w; col++ ) w 1811 modules/imgproc/src/imgwarp.cpp int operator() (const uchar* S, uchar* D, int w) const w 1820 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 16; dx += 16, S0 += 32, S1 += 32, D += 16) w 1837 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 8; dx += 8, S0 += 16, S1 += 16, D += 8) w 1871 modules/imgproc/src/imgwarp.cpp int operator() (const ushort * S, ushort * D, int w) const w 1880 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 8; dx += 8, S0 += 16, S1 += 16, D += 8) w 1897 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 4, S0 += 8, S1 += 8, D += 4) w 1921 modules/imgproc/src/imgwarp.cpp int operator() (const short * S, short * D, int w) const w 1930 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 8; dx += 8, S0 += 16, S1 += 16, D += 8) w 1947 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 4, S0 += 8, S1 += 8, D += 4) w 1971 modules/imgproc/src/imgwarp.cpp int operator() (const float * S, float * D, int w) const w 1983 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 4, S0 += 8, S1 += 8, D += 4) w 1995 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 4, S0 += 8, S1 += 8, D += 4) w 2024 modules/imgproc/src/imgwarp.cpp int operator() (const uchar* S, uchar* D, int w) const w 2038 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 8; dx += 8, S0 += 16, S1 += 16, D += 8) w 2052 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 11; dx += 6, S0 += 12, S1 += 12, D += 6) w 2080 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 8; dx += 8, S0 += 16, S1 += 16, D += 8) w 2123 modules/imgproc/src/imgwarp.cpp int operator() (const ushort* S, ushort* D, int w) const w 2139 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 4, S0 += 8, S1 += 8, D += 4) w 2154 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 3, S0 += 6, S1 += 6, D += 3) w 2173 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 4, S0 += 8, S1 += 8, D += 4) w 2211 modules/imgproc/src/imgwarp.cpp int operator() (const short* S, short* D, int w) const w 2225 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 4, S0 += 8, S1 += 8, D += 4) w 2242 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 3, S0 += 6, S1 += 6, D += 3) w 2261 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 4, S0 += 8, S1 += 8, D += 4) w 2297 modules/imgproc/src/imgwarp.cpp int operator() (const float * S, float * D, int w) const w 2310 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 4, S0 += 8, S1 += 8, D += 4) w 2325 modules/imgproc/src/imgwarp.cpp for ( ; dx <= w - 4; dx += 4, S0 += 8, S1 += 8, D += 4) w 2361 modules/imgproc/src/imgwarp.cpp int operator() (const T* S, T* D, int w) const w 2367 modules/imgproc/src/imgwarp.cpp int dx = vecOp(S, D, w); w 2370 modules/imgproc/src/imgwarp.cpp for( ; dx < w; ++dx ) w 2376 modules/imgproc/src/imgwarp.cpp for( ; dx < w; dx += 3 ) w 2386 modules/imgproc/src/imgwarp.cpp for( ; dx < w; dx += 4 ) w 2436 modules/imgproc/src/imgwarp.cpp int w = sy0 + scale_y <= ssize.height ? dwidth1 : 0; w 2445 modules/imgproc/src/imgwarp.cpp dx = vop(src.template ptr<T>(sy0), D, w); w 2446 modules/imgproc/src/imgwarp.cpp for( ; dx < w; dx++ ) w 3859 modules/imgproc/src/imgwarp.cpp const AT* w = wtab + FXY[dx]*4; w 3861 modules/imgproc/src/imgwarp.cpp *D = castOp(WT(S[0]*w[0] + S[1]*w[1] + S[sstep]*w[2] + S[sstep+1]*w[3])); w 3868 modules/imgproc/src/imgwarp.cpp const AT* w = wtab + FXY[dx]*4; w 3870 modules/imgproc/src/imgwarp.cpp WT t0 = S[0]*w[0] + S[2]*w[1] + S[sstep]*w[2] + S[sstep+2]*w[3]; w 3871 modules/imgproc/src/imgwarp.cpp WT t1 = S[1]*w[0] + S[3]*w[1] + S[sstep+1]*w[2] + S[sstep+3]*w[3]; w 3878 modules/imgproc/src/imgwarp.cpp const AT* w = wtab + FXY[dx]*4; w 3880 modules/imgproc/src/imgwarp.cpp WT t0 = S[0]*w[0] + S[3]*w[1] + S[sstep]*w[2] + S[sstep+3]*w[3]; w 3881 modules/imgproc/src/imgwarp.cpp WT t1 = S[1]*w[0] + S[4]*w[1] + S[sstep+1]*w[2] + S[sstep+4]*w[3]; w 3882 modules/imgproc/src/imgwarp.cpp WT t2 = S[2]*w[0] + S[5]*w[1] + S[sstep+2]*w[2] + S[sstep+5]*w[3]; w 3889 modules/imgproc/src/imgwarp.cpp const AT* w = wtab + FXY[dx]*4; w 3891 modules/imgproc/src/imgwarp.cpp WT t0 = S[0]*w[0] + S[4]*w[1] + S[sstep]*w[2] + S[sstep+4]*w[3]; w 3892 modules/imgproc/src/imgwarp.cpp WT t1 = S[1]*w[0] + S[5]*w[1] + S[sstep+1]*w[2] + S[sstep+5]*w[3]; w 3894 modules/imgproc/src/imgwarp.cpp t0 = S[2]*w[0] + S[6]*w[1] + S[sstep+2]*w[2] + S[sstep+6]*w[3]; w 3895 modules/imgproc/src/imgwarp.cpp t1 = S[3]*w[0] + S[7]*w[1] + S[sstep+3]*w[2] + S[sstep+7]*w[3]; w 3902 modules/imgproc/src/imgwarp.cpp const AT* w = wtab + FXY[dx]*4; w 3906 modules/imgproc/src/imgwarp.cpp WT t0 = S[k]*w[0] + S[k+cn]*w[1] + S[sstep+k]*w[2] + S[sstep+k+cn]*w[3]; w 3934 modules/imgproc/src/imgwarp.cpp const AT* w = wtab + FXY[dx]*4; w 3957 modules/imgproc/src/imgwarp.cpp D[0] = castOp(WT(v0*w[0] + v1*w[1] + v2*w[2] + v3*w[3])); w 3975 modules/imgproc/src/imgwarp.cpp const AT* w = wtab + FXY[dx]*4; w 4003 modules/imgproc/src/imgwarp.cpp D[k] = castOp(WT(v0[k]*w[0] + v1[k]*w[1] + v2[k]*w[2] + v3[k]*w[3])); w 4049 modules/imgproc/src/imgwarp.cpp const AT* w = wtab + FXY[dx]*16; w 4056 modules/imgproc/src/imgwarp.cpp WT sum = S[0]*w[0] + S[cn]*w[1] + S[cn*2]*w[2] + S[cn*3]*w[3]; w 4058 modules/imgproc/src/imgwarp.cpp sum += S[0]*w[4] + S[cn]*w[5] + S[cn*2]*w[6] + S[cn*3]*w[7]; w 4060 modules/imgproc/src/imgwarp.cpp sum += S[0]*w[8] + S[cn]*w[9] + S[cn*2]*w[10] + S[cn*3]*w[11]; w 4062 modules/imgproc/src/imgwarp.cpp sum += S[0]*w[12] + S[cn]*w[13] + S[cn*2]*w[14] + S[cn*3]*w[15]; w 4090 modules/imgproc/src/imgwarp.cpp for( k = 0; k < cn; k++, S0++, w -= 16 ) w 4093 modules/imgproc/src/imgwarp.cpp for( i = 0; i < 4; i++, w += 4 ) w 4100 modules/imgproc/src/imgwarp.cpp sum += (S[x[0]] - cv)*w[0]; w 4102 modules/imgproc/src/imgwarp.cpp sum += (S[x[1]] - cv)*w[1]; w 4104 modules/imgproc/src/imgwarp.cpp sum += (S[x[2]] - cv)*w[2]; w 4106 modules/imgproc/src/imgwarp.cpp sum += (S[x[3]] - cv)*w[3]; w 4154 modules/imgproc/src/imgwarp.cpp const AT* w = wtab + FXY[dx]*64; w 4162 modules/imgproc/src/imgwarp.cpp for( int r = 0; r < 8; r++, S += sstep, w += 8 ) w 4163 modules/imgproc/src/imgwarp.cpp sum += S[0]*w[0] + S[cn]*w[1] + S[cn*2]*w[2] + S[cn*3]*w[3] + w 4164 modules/imgproc/src/imgwarp.cpp S[cn*4]*w[4] + S[cn*5]*w[5] + S[cn*6]*w[6] + S[cn*7]*w[7]; w 4165 modules/imgproc/src/imgwarp.cpp w -= 64; w 4193 modules/imgproc/src/imgwarp.cpp for( k = 0; k < cn; k++, S0++, w -= 64 ) w 4196 modules/imgproc/src/imgwarp.cpp for( i = 0; i < 8; i++, w += 8 ) w 4203 modules/imgproc/src/imgwarp.cpp sum += (S1[x[0]] - cv)*w[0]; w 4205 modules/imgproc/src/imgwarp.cpp sum += (S1[x[1]] - cv)*w[1]; w 4207 modules/imgproc/src/imgwarp.cpp sum += (S1[x[2]] - cv)*w[2]; w 4209 modules/imgproc/src/imgwarp.cpp sum += (S1[x[3]] - cv)*w[3]; w 4211 modules/imgproc/src/imgwarp.cpp sum += (S1[x[4]] - cv)*w[4]; w 4213 modules/imgproc/src/imgwarp.cpp sum += (S1[x[5]] - cv)*w[5]; w 4215 modules/imgproc/src/imgwarp.cpp sum += (S1[x[6]] - cv)*w[6]; w 4217 modules/imgproc/src/imgwarp.cpp sum += (S1[x[7]] - cv)*w[7]; w 50 modules/imgproc/src/linefit.cpp double x = 0, y = 0, x2 = 0, y2 = 0, xy = 0, w = 0; w 66 modules/imgproc/src/linefit.cpp w = (float) count; w 77 modules/imgproc/src/linefit.cpp w += weights[i]; w 81 modules/imgproc/src/linefit.cpp x /= w; w 82 modules/imgproc/src/linefit.cpp y /= w; w 83 modules/imgproc/src/linefit.cpp x2 /= w; w 84 modules/imgproc/src/linefit.cpp y2 /= w; w 85 modules/imgproc/src/linefit.cpp xy /= w; w 120 modules/imgproc/src/linefit.cpp float w = weights[i]; w 123 modules/imgproc/src/linefit.cpp x2 += x * x * w; w 124 modules/imgproc/src/linefit.cpp xy += x * y * w; w 125 modules/imgproc/src/linefit.cpp xz += x * z * w; w 126 modules/imgproc/src/linefit.cpp y2 += y * y * w; w 127 modules/imgproc/src/linefit.cpp yz += y * z * w; w 128 modules/imgproc/src/linefit.cpp z2 += z * z * w; w 129 modules/imgproc/src/linefit.cpp x0 += x * w; w 130 modules/imgproc/src/linefit.cpp y0 += y * w; w 131 modules/imgproc/src/linefit.cpp z0 += z * w; w 132 modules/imgproc/src/linefit.cpp w0 += w; w 250 modules/imgproc/src/linefit.cpp static void weightL1( float *d, int count, float *w ) w 257 modules/imgproc/src/linefit.cpp w[i] = (float)(1. / MAX(t, eps)); w 261 modules/imgproc/src/linefit.cpp static void weightL12( float *d, int count, float *w ) w 267 modules/imgproc/src/linefit.cpp w[i] = 1.0f / (float) std::sqrt( 1 + (double) (d[i] * d[i] * 0.5) ); w 272 modules/imgproc/src/linefit.cpp static void weightHuber( float *d, int count, float *w, float _c ) w 280 modules/imgproc/src/linefit.cpp w[i] = 1.0f; w 282 modules/imgproc/src/linefit.cpp w[i] = c/d[i]; w 287 modules/imgproc/src/linefit.cpp static void weightFair( float *d, int count, float *w, float _c ) w 294 modules/imgproc/src/linefit.cpp w[i] = 1 / (1 + d[i] * c); w 298 modules/imgproc/src/linefit.cpp static void weightWelsch( float *d, int count, float *w, float _c ) w 305 modules/imgproc/src/linefit.cpp w[i] = (float) std::exp( -d[i] * d[i] * c * c ); w 363 modules/imgproc/src/linefit.cpp float *w = wr, *r = w + count; w 369 modules/imgproc/src/linefit.cpp w[i] = 0.f; w 374 modules/imgproc/src/linefit.cpp if( w[j] < FLT_EPSILON ) w 376 modules/imgproc/src/linefit.cpp w[j] = 1.f; w 381 modules/imgproc/src/linefit.cpp fitLine2D_wods( points, count, w, _line ); w 414 modules/imgproc/src/linefit.cpp calc_weights( r, count, w ); w 416 modules/imgproc/src/linefit.cpp calc_weights_param( r, count, w, _param ); w 419 modules/imgproc/src/linefit.cpp sum_w += w[j]; w 425 modules/imgproc/src/linefit.cpp w[j] = (float)(w[j]*sum_w); w 430 modules/imgproc/src/linefit.cpp w[j] = 1.f; w 437 modules/imgproc/src/linefit.cpp fitLine2D_wods( points, count, w, _line ); w 498 modules/imgproc/src/linefit.cpp float *w = buf, *r = w + count; w 504 modules/imgproc/src/linefit.cpp w[i] = 0.f; w 509 modules/imgproc/src/linefit.cpp if( w[j] < FLT_EPSILON ) w 511 modules/imgproc/src/linefit.cpp w[j] = 1.f; w 516 modules/imgproc/src/linefit.cpp fitLine3D_wods( points, count, w, _line ); w 556 modules/imgproc/src/linefit.cpp calc_weights( r, count, w ); w 558 modules/imgproc/src/linefit.cpp calc_weights_param( r, count, w, _param ); w 561 modules/imgproc/src/linefit.cpp sum_w += w[j]; w 567 modules/imgproc/src/linefit.cpp w[j] = (float)(w[j]*sum_w); w 572 modules/imgproc/src/linefit.cpp w[j] = 1.f; w 579 modules/imgproc/src/linefit.cpp fitLine3D_wods( points, count, w, _line ); w 422 modules/imgproc/src/lsd.cpp std::vector<double> w, p, n; w 430 modules/imgproc/src/lsd.cpp flsd(lines, w, p, n); w 433 modules/imgproc/src/lsd.cpp if(w_needed) Mat(w).copyTo(_width); w 720 modules/imgproc/src/lsd.cpp double w = -regdx * dy + regdy * dx; w 724 modules/imgproc/src/lsd.cpp if(w > w_max) w_max = w; w 725 modules/imgproc/src/lsd.cpp else if(w < w_min) w_min = w; w 1385 modules/imgproc/src/morph.cpp int w = isolated ? size.width : wholeSize.width; w 1386 modules/imgproc/src/morph.cpp if (w < ksize.width || h < ksize.height) w 1071 modules/imgproc/src/smooth.cpp int w = isolated ? size.width : wholeSize.width; w 1083 modules/imgproc/src/smooth.cpp if (w < ksize.width || h < ksize.height) w 1151 modules/imgproc/src/smooth.cpp if (ksize.width > BLOCK_SIZE_X || w < ksize.width || h < ksize.height) w 2821 modules/imgproc/src/smooth.cpp float w = space_weight[k]*color_weight[std::abs(val - val0)]; w 2822 modules/imgproc/src/smooth.cpp sum += val*w; w 2823 modules/imgproc/src/smooth.cpp wsum += w; w 2894 modules/imgproc/src/smooth.cpp float w = space_weight[k]*color_weight[std::abs(b - b0) + w 2896 modules/imgproc/src/smooth.cpp sum_b += b*w; sum_g += g*w; sum_r += r*w; w 2897 modules/imgproc/src/smooth.cpp wsum += w; w 3215 modules/imgproc/src/smooth.cpp float w = space_weight[k]*(expLUT[idx] + alpha*(expLUT[idx+1] - expLUT[idx])); w 3216 modules/imgproc/src/smooth.cpp sum += val*w; w 3217 modules/imgproc/src/smooth.cpp wsum += w; w 3296 modules/imgproc/src/smooth.cpp float w = space_weight[k]*(expLUT[idx] + alpha*(expLUT[idx+1] - expLUT[idx])); w 3297 modules/imgproc/src/smooth.cpp sum_b += b*w; sum_g += g*w; sum_r += r*w; w 3298 modules/imgproc/src/smooth.cpp wsum += w; w 141 modules/imgproc/src/undistort.cpp double w = 1./_w, x = _x*w, y = _y*w; w 198 modules/imgproc/test/test_bilateral_filter.cpp float w = space_weight[k]*(expLUT[idx] + alpha*(expLUT[idx+1] - expLUT[idx])); w 199 modules/imgproc/test/test_bilateral_filter.cpp sum += val*w; w 200 modules/imgproc/test/test_bilateral_filter.cpp wsum += w; w 220 modules/imgproc/test/test_bilateral_filter.cpp float w = space_weight[k]*(expLUT[idx] + alpha*(expLUT[idx+1] - expLUT[idx])); w 221 modules/imgproc/test/test_bilateral_filter.cpp sum_b += b*w; sum_g += g*w; sum_r += r*w; w 222 modules/imgproc/test/test_bilateral_filter.cpp wsum += w; w 467 modules/imgproc/test/test_contours.cpp int n = 64, n2 = n*n, scale = 10, w = (n + 2)*scale; w 469 modules/imgproc/test/test_contours.cpp Mat img(w, w, CV_8U); w 1382 modules/imgproc/test/test_imgwarp.cpp int w = src->width; w 1384 modules/imgproc/test/test_imgwarp.cpp cv2DRotationMatrix(cvPoint2D32f(w*0.5f, h*0.5f), 45.0, 1.0, &M); w 453 modules/imgproc/test/test_imgwarp_strict.cpp double w = std::min(static_cast<double>(x + 1), b) - std::max(static_cast<double>(x), a); w 454 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(w >= 0); w 455 modules/imgproc/test/test_imgwarp_strict.cpp return w; w 495 modules/imgproc/test/test_imgwarp_strict.cpp double w = wx * wy; w 496 modules/imgproc/test/test_imgwarp_strict.cpp xyD[r] += static_cast<float>(yS[sx * cn + r] * w); w 497 modules/imgproc/test/test_imgwarp_strict.cpp area += w; w 559 modules/imgproc/test/test_imgwarp_strict.cpp float w[8]; w 560 modules/imgproc/test/test_imgwarp_strict.cpp inter_func(static_cast<float>(fsx), w); w 566 modules/imgproc/test/test_imgwarp_strict.cpp xyD[r] += w[k] * xyS[k * cn + r]; w 892 modules/imgproc/test/test_imgwarp_strict.cpp float ix[8], w[16]; w 908 modules/imgproc/test/test_imgwarp_strict.cpp inter_func((yMy[dx] & (INTER_TAB_SIZE - 1)) / static_cast<float>(INTER_TAB_SIZE), w); w 909 modules/imgproc/test/test_imgwarp_strict.cpp inter_func(((yMy[dx] >> INTER_BITS) & (INTER_TAB_SIZE - 1)) / static_cast<float>(INTER_TAB_SIZE), w + ksize); w 924 modules/imgproc/test/test_imgwarp_strict.cpp ix[y] += w[i] * xyS[i * cn + r]; w 928 modules/imgproc/test/test_imgwarp_strict.cpp xyD[r] += w[ksize + i] * ix[i]; w 951 modules/imgproc/test/test_imgwarp_strict.cpp ix[i] += saturate_cast<float>((ar_x[j] >= 0 ? yS[ar_x[j] + r] : borderValue[r]) * w[j]); w 955 modules/imgproc/test/test_imgwarp_strict.cpp ix[i] += saturate_cast<float>(borderValue[r] * w[j]); w 958 modules/imgproc/test/test_imgwarp_strict.cpp xyD[r] += saturate_cast<float>(w[ksize + i] * ix[i]); w 181 modules/ml/src/ann_mlp.cpp double* w = weights[i].ptr<double>(); w 190 modules/ml/src/ann_mlp.cpp w[k*n2 + j] = val; w 198 modules/ml/src/ann_mlp.cpp w[k*n2 + j] *= s; w 199 modules/ml/src/ann_mlp.cpp w[n1*n2 + j] *= G*(-1+j*2./n2); w 296 modules/ml/src/ann_mlp.cpp Mat w = weights[j].rowRange(0, layer_in.cols); w 297 modules/ml/src/ann_mlp.cpp gemm(layer_in, w, 1, noArray(), 0, layer_out); w 320 modules/ml/src/ann_mlp.cpp const double* w = weights[0].ptr<double>(); w 329 modules/ml/src/ann_mlp.cpp dst[j] = src[j]*w[j*2] + w[j*2+1]; w 339 modules/ml/src/ann_mlp.cpp dst[j] = src[j]*w[j*2] + w[j*2+1]; w 347 modules/ml/src/ann_mlp.cpp const double* w = weights[layer_count()].ptr<double>(); w 356 modules/ml/src/ann_mlp.cpp dst[j] = (float)(src[j]*w[j*2] + w[j*2+1]); w 366 modules/ml/src/ann_mlp.cpp dst[j] = src[j]*w[j*2] + w[j*2+1]; w 371 modules/ml/src/ann_mlp.cpp void calc_activ_func( Mat& sums, const Mat& w ) const w 373 modules/ml/src/ann_mlp.cpp const double* bias = w.ptr<double>(w.rows-1); w 455 modules/ml/src/ann_mlp.cpp void calc_activ_func_deriv( Mat& _xf, Mat& _df, const Mat& w ) const w 457 modules/ml/src/ann_mlp.cpp const double* bias = w.ptr<double>(w.rows-1); w 793 modules/ml/src/ann_mlp.cpp double* w = weights[0].ptr<double>(); w 795 modules/ml/src/ann_mlp.cpp x[0][j] = (itype == CV_32F ? (double)x0data_f[j] : x0data_d[j])*w[j*2] + w[j*2 + 1]; w 812 modules/ml/src/ann_mlp.cpp w = weights[l_count+1].ptr<double>(); w 822 modules/ml/src/ann_mlp.cpp double t = (otype == CV_32F ? (double)udata_f[k] : udata_d[k])*w[k*2] + w[k*2+1] - x[l_count-1][k]; w 898 modules/ml/src/ann_mlp.cpp const double* w = ann->weights[0].ptr<double>(); w 909 modules/ml/src/ann_mlp.cpp xdata[j] = (itype == CV_32F ? (double)x0data_f[j] : x0data_d[j])*w[j*2] + w[j*2+1]; w 926 modules/ml/src/ann_mlp.cpp w = ann->weights[l_count+1].ptr<double>(); w 941 modules/ml/src/ann_mlp.cpp double t = (otype == CV_32F ? (double)udata_f[j] : udata_d[j])*w[j*2] + w[j*2+1] - xdata[j]; w 1260 modules/ml/src/ann_mlp.cpp FileNode w = fn["input_scale"]; w 1261 modules/ml/src/ann_mlp.cpp w.readRaw("d", weights[0].ptr(), weights[0].total()*esz); w 1263 modules/ml/src/ann_mlp.cpp w = fn["output_scale"]; w 1264 modules/ml/src/ann_mlp.cpp w.readRaw("d", weights[l_count].ptr(), weights[l_count].total()*esz); w 1266 modules/ml/src/ann_mlp.cpp w = fn["inv_output_scale"]; w 1267 modules/ml/src/ann_mlp.cpp w.readRaw("d", weights[l_count+1].ptr(), weights[l_count+1].total()*esz); w 92 modules/ml/src/boost.cpp sumResult.assign(w->sidx.size(), 0.); w 97 modules/ml/src/boost.cpp int i, n = (int)w->cat_responses.size(); w 98 modules/ml/src/boost.cpp w->ord_responses.resize(n); w 106 modules/ml/src/boost.cpp w->ord_responses[i] = w->cat_responses[i] > 0 ? b : a; w 114 modules/ml/src/boost.cpp int i, n = (int)w->sidx.size(); w 117 modules/ml/src/boost.cpp sumw += w->sample_weights[w->sidx[i]]; w 130 modules/ml/src/boost.cpp double& wval = w->sample_weights[w->sidx[i]]; w 173 modules/ml/src/boost.cpp WNode* node = &w->wnodes[nidx]; w 189 modules/ml/src/boost.cpp vector<int> sidx = w->sidx; w 204 modules/ml/src/boost.cpp int i, n = (int)w->sidx.size(); w 216 modules/ml/src/boost.cpp w->data->getSample(varIdx, w->sidx[i], sbuf ); w 232 modules/ml/src/boost.cpp int si = w->sidx[i]; w 233 modules/ml/src/boost.cpp double wval = w->sample_weights[si]; w 235 modules/ml/src/boost.cpp err += wval*(result[i] != w->cat_responses[si]); w 246 modules/ml/src/boost.cpp int si = w->sidx[i]; w 247 modules/ml/src/boost.cpp double wval = w->sample_weights[si]; w 248 modules/ml/src/boost.cpp if( result[i] != w->cat_responses[si] ) w 251 modules/ml/src/boost.cpp w->sample_weights[si] = wval; w 267 modules/ml/src/boost.cpp int si = w->sidx[i]; w 268 modules/ml/src/boost.cpp CV_Assert( std::abs(w->ord_responses[si]) == 1 ); w 269 modules/ml/src/boost.cpp double wval = w->sample_weights[si]*std::exp(-result[i]*w->ord_responses[si]); w 271 modules/ml/src/boost.cpp w->sample_weights[si] = wval; w 290 modules/ml/src/boost.cpp int si = w->sidx[i]; w 294 modules/ml/src/boost.cpp w->sample_weights[si] = wval; w 296 modules/ml/src/boost.cpp if( w->ord_responses[si] > 0 ) w 299 modules/ml/src/boost.cpp w->ord_responses[si] = std::min(z, lb_z_max); w 304 modules/ml/src/boost.cpp w->ord_responses[si] = -std::min(z, lb_z_max); w 333 modules/ml/src/boost.cpp result[i] = w->sample_weights[w->sidx[i]]; w 353 modules/ml/src/boost.cpp int si = w->sidx[i]; w 354 modules/ml/src/boost.cpp if( w->sample_weights[si] >= threshold ) w 377 modules/ml/src/em.cpp double maxSingularVal = svd.w.at<double>(0); w 382 modules/ml/src/em.cpp covsEigenValues[clusterIndex] = svd.w; w 386 modules/ml/src/em.cpp covsEigenValues[clusterIndex] = svd.w; w 597 modules/ml/src/em.cpp double w = invCovsEigenValues[clusterIndex].at<double>(covMatType != COV_MAT_SPHERICAL ? di : 0); w 599 modules/ml/src/em.cpp Lval += w * val * val; w 732 modules/ml/src/em.cpp covsEigenValues[clusterIndex] = svd.w; w 136 modules/ml/src/nbayes.cpp Mat& w = inv_eigen_values[cls]; w 174 modules/ml/src/nbayes.cpp SVD::compute(cov, w, cov_rotate_mats[cls], noArray()); w 176 modules/ml/src/nbayes.cpp cv::max(w, min_variation, w); w 178 modules/ml/src/nbayes.cpp det *= w.at<double>(j); w 180 modules/ml/src/nbayes.cpp divide(1., w, w); w 256 modules/ml/src/nbayes.cpp const Mat& w = inv_eigen_values->at(i); w 269 modules/ml/src/nbayes.cpp cur += d*d*w.ptr<double>()[j]; w 363 modules/ml/src/precomp.hpp Ptr<WorkData> w; w 109 modules/ml/src/rtrees.cpp int nvars = w->data->getNVars(); w 131 modules/ml/src/rtrees.cpp int i, j, k, vi, vi_, n = (int)w->sidx.size(); w 142 modules/ml/src/rtrees.cpp int nvars = w->data->getNVars(); w 143 modules/ml/src/rtrees.cpp int nallvars = w->data->getNAllVars(); w 146 modules/ml/src/rtrees.cpp Mat samples = w->data->getSamples(); w 155 modules/ml/src/rtrees.cpp if( w->data->getLayout() == COL_SAMPLE ) w 162 modules/ml/src/rtrees.cpp double val = std::abs(w->ord_responses[w->sidx[i]]); w 178 modules/ml/src/rtrees.cpp sidx[i] = w->sidx[j]; w 204 modules/ml/src/rtrees.cpp sample = Mat( nallvars, 1, CV_32F, psamples + sstep0*w->sidx[j], sstep1*sizeof(psamples[0]) ); w 211 modules/ml/src/rtrees.cpp double true_val = w->ord_responses[w->sidx[j]]; w 226 modules/ml/src/rtrees.cpp int diff = best_class != w->cat_responses[w->sidx[j]]; w 254 modules/ml/src/rtrees.cpp sample0 = Mat( nallvars, 1, CV_32F, psamples + sstep0*w->sidx[j], sstep1*sizeof(psamples[0]) ); w 257 modules/ml/src/rtrees.cpp sample.at<float>(vi) = psamples[sstep0*w->sidx[vj] + sstep1*vi]; w 262 modules/ml/src/rtrees.cpp val = (val - w->ord_responses[w->sidx[j]])/max_response; w 266 modules/ml/src/rtrees.cpp ncorrect_responses_permuted += cvRound(val) == w->cat_responses[w->sidx[j]]; w 133 modules/ml/src/tree.cpp w.release(); w 140 modules/ml/src/tree.cpp w = makePtr<WorkData>(data); w 159 modules/ml/src/tree.cpp w->maxSubsetSize = 0; w 163 modules/ml/src/tree.cpp w->maxSubsetSize = std::max(w->maxSubsetSize, getCatCount(varIdx[i])); w 165 modules/ml/src/tree.cpp w->maxSubsetSize = std::max((w->maxSubsetSize + 31)/32, 1); w 167 modules/ml/src/tree.cpp data->getSampleWeights().copyTo(w->sample_weights); w 173 modules/ml/src/tree.cpp data->getNormCatResponses().copyTo(w->cat_responses); w 188 modules/ml/src/tree.cpp int nsamples = (int)w->cat_responses.size(); w 190 modules/ml/src/tree.cpp CV_Assert( (int)w->sample_weights.size() == nsamples ); w 194 modules/ml/src/tree.cpp int ci = w->cat_responses[i]; w 196 modules/ml/src/tree.cpp w->sample_weights[i] *= cw[ci]; w 201 modules/ml/src/tree.cpp data->getResponses().copyTo(w->ord_responses); w 221 modules/ml/src/tree.cpp w.release(); w 227 modules/ml/src/tree.cpp bool ok = addTree( w->sidx ) >= 0; w 228 modules/ml/src/tree.cpp w.release(); w 240 modules/ml/src/tree.cpp size_t n = (params.getMaxDepth() > 0 ? (1 << params.getMaxDepth()) : 1024) + w->wnodes.size(); w 242 modules/ml/src/tree.cpp w->wnodes.reserve(n); w 243 modules/ml/src/tree.cpp w->wsplits.reserve(n); w 244 modules/ml/src/tree.cpp w->wsubsets.reserve(n*w->maxSubsetSize); w 245 modules/ml/src/tree.cpp w->wnodes.clear(); w 246 modules/ml/src/tree.cpp w->wsplits.clear(); w 247 modules/ml/src/tree.cpp w->wsubsets.clear(); w 253 modules/ml/src/tree.cpp w->cv_Tn.resize(n*cv_n); w 254 modules/ml/src/tree.cpp w->cv_node_error.resize(n*cv_n); w 255 modules/ml/src/tree.cpp w->cv_node_risk.resize(n*cv_n); w 267 modules/ml/src/tree.cpp const WNode& wnode = w->wnodes[w_nidx]; w 277 modules/ml/src/tree.cpp const WSplit& wsplit = w->wsplits[wsplit_idx]; w 295 modules/ml/src/tree.cpp memcpy(&subsets[split.subsetOfs], &w->wsubsets[wsplit.subsetOfs], ssize*sizeof(int)); w 305 modules/ml/src/tree.cpp int w_pidx = w->wnodes[w_nidx].parent; w 306 modules/ml/src/tree.cpp if( w->wnodes[w_pidx].left == w_nidx ) w 312 modules/ml/src/tree.cpp CV_Assert(w->wnodes[w_pidx].right == w_nidx); w 326 modules/ml/src/tree.cpp while( w_pidx >= 0 && w->wnodes[w_pidx].right == w_nidx ) w 329 modules/ml/src/tree.cpp w_pidx = w->wnodes[w_pidx].parent; w 338 modules/ml/src/tree.cpp w_nidx = w->wnodes[w_pidx].right; w 353 modules/ml/src/tree.cpp w->wnodes.push_back(WNode()); w 354 modules/ml/src/tree.cpp int nidx = (int)(w->wnodes.size() - 1); w 355 modules/ml/src/tree.cpp WNode& node = w->wnodes.back(); w 358 modules/ml/src/tree.cpp node.depth = parent >= 0 ? w->wnodes[parent].depth + 1 : 0; w 363 modules/ml/src/tree.cpp w->cv_Tn.resize((nidx+1)*nfolds); w 364 modules/ml/src/tree.cpp w->cv_node_error.resize((nidx+1)*nfolds); w 365 modules/ml/src/tree.cpp w->cv_node_risk.resize((nidx+1)*nfolds); w 378 modules/ml/src/tree.cpp const int* responses = &w->cat_responses[0]; w 406 modules/ml/src/tree.cpp w->wnodes[nidx].left = left; w 407 modules/ml/src/tree.cpp w->wnodes[nidx].right = right; w 408 modules/ml/src/tree.cpp CV_Assert( w->wnodes[nidx].left > 0 && w->wnodes[nidx].right > 0 ); w 419 modules/ml/src/tree.cpp AutoBuffer<int> buf(w->maxSubsetSize*2); w 420 modules/ml/src/tree.cpp int *subset = buf, *best_subset = subset + w->maxSubsetSize; w 452 modules/ml/src/tree.cpp int i, prevsz = (int)w->wsubsets.size(), ssize = getSubsetSize(best_vi); w 453 modules/ml/src/tree.cpp w->wsubsets.resize(prevsz + ssize); w 455 modules/ml/src/tree.cpp w->wsubsets[prevsz + i] = best_subset[i]; w 457 modules/ml/src/tree.cpp w->wsplits.push_back(best_split); w 458 modules/ml/src/tree.cpp splitidx = (int)(w->wsplits.size()-1); w 466 modules/ml/src/tree.cpp WNode* node = &w->wnodes[nidx]; w 474 modules/ml/src/tree.cpp size_t sz = w->cv_Tn.size(); w 475 modules/ml/src/tree.cpp w->cv_Tn.resize(sz + cv_n); w 476 modules/ml/src/tree.cpp w->cv_node_risk.resize(sz + cv_n); w 477 modules/ml/src/tree.cpp w->cv_node_error.resize(sz + cv_n); w 505 modules/ml/src/tree.cpp cls_count[w->cat_responses[si]] += w->sample_weights[si]; w 517 modules/ml/src/tree.cpp j = w->cv_labels[si]; k = w->cat_responses[si]; w 518 modules/ml/src/tree.cpp cv_cls_count[j*m + k] += w->sample_weights[si]; w 560 modules/ml/src/tree.cpp w->cv_Tn[nidx*cv_n + j] = INT_MAX; w 561 modules/ml/src/tree.cpp w->cv_node_risk[nidx*cv_n + j] = sum - max_val; w 562 modules/ml/src/tree.cpp w->cv_node_error[nidx*cv_n + j] = sum_k - max_val_k; w 586 modules/ml/src/tree.cpp double wval = w->sample_weights[si]; w 587 modules/ml/src/tree.cpp double t = w->ord_responses[si]; w 607 modules/ml/src/tree.cpp j = w->cv_labels[si]; w 608 modules/ml/src/tree.cpp double wval = w->sample_weights[si]; w 609 modules/ml/src/tree.cpp double t = w->ord_responses[si]; w 628 modules/ml/src/tree.cpp w->cv_node_risk[nidx*cv_n + j] = s2i - r*r*ci; w 629 modules/ml/src/tree.cpp w->cv_node_error[nidx*cv_n + j] = s2 - 2*r*s + c*r*r; w 630 modules/ml/src/tree.cpp w->cv_Tn[nidx*cv_n + j] = INT_MAX; w 647 modules/ml/src/tree.cpp const int* responses = &w->cat_responses[0]; w 648 modules/ml/src/tree.cpp const double* weights = &w->sample_weights[0]; w 659 modules/ml/src/tree.cpp w->data->getValues( vi, _sidx, values ); w 827 modules/ml/src/tree.cpp w->data->getNormCatValues(vi, _sidx, labels); w 828 modules/ml/src/tree.cpp const int* responses = &w->cat_responses[0]; w 829 modules/ml/src/tree.cpp const double* weights = &w->sample_weights[0]; w 989 modules/ml/src/tree.cpp const double* weights = &w->sample_weights[0]; w 996 modules/ml/src/tree.cpp w->data->getValues(vi, _sidx, values); w 997 modules/ml/src/tree.cpp const double* responses = &w->ord_responses[0]; w 1049 modules/ml/src/tree.cpp const double* weights = &w->sample_weights[0]; w 1050 modules/ml/src/tree.cpp const double* responses = &w->ord_responses[0]; w 1060 modules/ml/src/tree.cpp w->data->getNormCatValues(vi, _sidx, cat_labels); w 1135 modules/ml/src/tree.cpp WSplit split = w->wsplits[splitidx]; w 1145 modules/ml/src/tree.cpp const double* weights = &w->sample_weights[0]; w 1151 modules/ml/src/tree.cpp w->data->getValues(vi, _sidx, values); w 1170 modules/ml/src/tree.cpp const int* subset = &w->wsubsets[split.subsetOfs]; w 1172 modules/ml/src/tree.cpp w->data->getNormCatValues(vi, _sidx, cat_labels); w 1202 modules/ml/src/tree.cpp int ti, tree_count = 0, j, cv_n = params.getCVFolds(), n = w->wnodes[root].sample_count; w 1241 modules/ml/src/tree.cpp err_jk.at<double>(j, tk) = w->wnodes[root].tree_error; w 1277 modules/ml/src/tree.cpp node = &w->wnodes[nidx]; w 1278 modules/ml/src/tree.cpp double t = fold >= 0 ? w->cv_Tn[nidx*cv_n + fold] : node->Tn; w 1286 modules/ml/src/tree.cpp node->tree_risk = w->cv_node_risk[nidx*cv_n + fold]; w 1287 modules/ml/src/tree.cpp node->tree_error = w->cv_node_error[nidx*cv_n + fold]; w 1294 modules/ml/src/tree.cpp for( pidx = node->parent; pidx >= 0 && w->wnodes[pidx].right == nidx; w 1295 modules/ml/src/tree.cpp nidx = pidx, pidx = w->wnodes[pidx].parent ) w 1297 modules/ml/src/tree.cpp node = &w->wnodes[nidx]; w 1298 modules/ml/src/tree.cpp parent = &w->wnodes[pidx]; w 1303 modules/ml/src/tree.cpp parent->alpha = ((fold >= 0 ? w->cv_node_risk[pidx*cv_n + fold] : parent->node_risk) w 1311 modules/ml/src/tree.cpp node = &w->wnodes[nidx]; w 1312 modules/ml/src/tree.cpp parent = &w->wnodes[pidx]; w 1325 modules/ml/src/tree.cpp WNode* node = &w->wnodes[root]; w 1333 modules/ml/src/tree.cpp node = &w->wnodes[nidx]; w 1334 modules/ml/src/tree.cpp double t = fold >= 0 ? w->cv_Tn[nidx*cv_n + fold] : node->Tn; w 1340 modules/ml/src/tree.cpp w->cv_Tn[nidx*cv_n + fold] = T; w 1350 modules/ml/src/tree.cpp for( pidx = node->parent; pidx >= 0 && w->wnodes[pidx].right == nidx; w 1351 modules/ml/src/tree.cpp nidx = pidx, pidx = w->wnodes[pidx].parent ) w 1357 modules/ml/src/tree.cpp nidx = w->wnodes[pidx].right; w 252 modules/objdetect/src/cascadedetect.cpp double w = (weightsV[i])*std::exp(-((aPt-bPt).dot(aPt-bPt))/2)/std::sqrt(sPt.dot(Point3d(1,1,1))); w 254 modules/objdetect/src/cascadedetect.cpp resPoint += w*aPt; w 256 modules/objdetect/src/cascadedetect.cpp ratPoint.x += w/sPt.x; w 257 modules/objdetect/src/cascadedetect.cpp ratPoint.y += w/sPt.y; w 258 modules/objdetect/src/cascadedetect.cpp ratPoint.z += w/sPt.z; w 916 modules/objdetect/src/detection_based_tracker.cpp double w=0, h=0; w 921 modules/objdetect/src/detection_based_tracker.cpp w += lastPositions[k].width * weightsSizesSmoothing[j]; w 925 modules/objdetect/src/detection_based_tracker.cpp w /= sum; w 928 modules/objdetect/src/detection_based_tracker.cpp w=lastPositions[N-1].width; w 963 modules/objdetect/src/detection_based_tracker.cpp Point2f tl=center-Point2f((float)w*0.5f,(float)h*0.5f); w 964 modules/objdetect/src/detection_based_tracker.cpp Rect res(cvRound(tl.x), cvRound(tl.y), cvRound(w), cvRound(h)); w 806 modules/objdetect/src/hog.cpp float w = pk.gradWeight*pk.histWeights[0]; w 811 modules/objdetect/src/hog.cpp float t0 = hist[h0] + a[0]*w; w 812 modules/objdetect/src/hog.cpp float t1 = hist[h1] + a[1]*w; w 847 modules/objdetect/src/hog.cpp float w, t0, t1, a0 = a[0], a1 = a[1]; w 852 modules/objdetect/src/hog.cpp w = pk.gradWeight*pk.histWeights[0]; w 853 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; w 854 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; w 858 modules/objdetect/src/hog.cpp w = pk.gradWeight*pk.histWeights[1]; w 859 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; w 860 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; w 926 modules/objdetect/src/hog.cpp float w, t0, t1, a0 = a[0], a1 = a[1]; w 931 modules/objdetect/src/hog.cpp w = pk.gradWeight*pk.histWeights[0]; w 932 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; w 933 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; w 937 modules/objdetect/src/hog.cpp w = pk.gradWeight*pk.histWeights[1]; w 938 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; w 939 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; w 943 modules/objdetect/src/hog.cpp w = pk.gradWeight*pk.histWeights[2]; w 944 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; w 945 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; w 949 modules/objdetect/src/hog.cpp w = pk.gradWeight*pk.histWeights[3]; w 950 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; w 951 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; w 868 modules/objdetect/test/test_cascadeandhog.cpp float w = pk.gradWeight*pk.histWeights[0]; w 872 modules/objdetect/test/test_cascadeandhog.cpp float t0 = hist[h0] + a[0]*w; w 873 modules/objdetect/test/test_cascadeandhog.cpp float t1 = hist[h1] + a[1]*w; w 881 modules/objdetect/test/test_cascadeandhog.cpp float w, t0, t1, a0 = a[0], a1 = a[1]; w 886 modules/objdetect/test/test_cascadeandhog.cpp w = pk.gradWeight*pk.histWeights[0]; w 887 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; w 888 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; w 892 modules/objdetect/test/test_cascadeandhog.cpp w = pk.gradWeight*pk.histWeights[1]; w 893 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; w 894 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; w 902 modules/objdetect/test/test_cascadeandhog.cpp float w, t0, t1, a0 = a[0], a1 = a[1]; w 907 modules/objdetect/test/test_cascadeandhog.cpp w = pk.gradWeight*pk.histWeights[0]; w 908 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; w 909 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; w 913 modules/objdetect/test/test_cascadeandhog.cpp w = pk.gradWeight*pk.histWeights[1]; w 914 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; w 915 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; w 919 modules/objdetect/test/test_cascadeandhog.cpp w = pk.gradWeight*pk.histWeights[2]; w 920 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; w 921 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; w 925 modules/objdetect/test/test_cascadeandhog.cpp w = pk.gradWeight*pk.histWeights[3]; w 926 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; w 927 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; w 110 modules/photo/src/calibrate.cpp A.at<float>(eq, val) = w.at<float>(val); w 111 modules/photo/src/calibrate.cpp A.at<float>(eq, LDR_SIZE + (int)i) = -w.at<float>(val); w 112 modules/photo/src/calibrate.cpp B.at<float>(eq, 0) = w.at<float>(val) * log(times.at<float>((int)j)); w 120 modules/photo/src/calibrate.cpp A.at<float>(eq, i) = lambda * w.at<float>(i + 1); w 121 modules/photo/src/calibrate.cpp A.at<float>(eq, i + 1) = -2 * lambda * w.at<float>(i + 1); w 122 modules/photo/src/calibrate.cpp A.at<float>(eq, i + 2) = lambda * w.at<float>(i + 1); w 165 modules/photo/src/calibrate.cpp Mat w; w 139 modules/photo/src/contrast_preserve.hpp int w=img.size().width; w 144 modules/photo/src/contrast_preserve.hpp dest.at<float>(i,w-1)=0.0; w 149 modules/photo/src/contrast_preserve.hpp int w=img.size().width; w 153 modules/photo/src/contrast_preserve.hpp for(int j=0;j<w;j++) w 231 modules/photo/src/contrast_preserve.hpp int w = img.size().width; w 233 modules/photo/src/contrast_preserve.hpp if((h + w) > 800) w 235 modules/photo/src/contrast_preserve.hpp sizefactor = (double)800/(h+w); w 236 modules/photo/src/contrast_preserve.hpp resize(img,img,Size(round_num(h*sizefactor),round_num(w*sizefactor))); w 306 modules/photo/src/contrast_preserve.hpp int w = img.size().width; w 309 modules/photo/src/contrast_preserve.hpp if((h + w) > 800) w 311 modules/photo/src/contrast_preserve.hpp sizefactor = (double)800/(h+w); w 312 modules/photo/src/contrast_preserve.hpp resize(img,img,Size(round_num(h*sizefactor),round_num(w*sizefactor))); w 316 modules/photo/src/contrast_preserve.hpp w = img.size().width; w 332 modules/photo/src/contrast_preserve.hpp for(int j=0;j<w;j++) w 396 modules/photo/src/contrast_preserve.hpp int w=img.size().width; w 409 modules/photo/src/contrast_preserve.hpp for(int j=0;j<w;j++) w 421 modules/photo/src/contrast_preserve.hpp for(int j =0;j<w;j++) w 137 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp double w = std::exp(-dist*dist / (h[0]*h[0] * pixelInfo<T>::channels)); w 138 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp if (std::isnan(w)) w = 1.0; // Handle h = 0.0 w 141 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp WT weight = (WT)cvRound(fixed_point_mult * w); w 259 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp double w = std::exp(-dist / (h[0]*h[0] * pixelInfo<T>::channels)); w 260 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp if (std::isnan(w)) w = 1.0; // Handle h = 0.0 w 263 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp WT weight = (WT)cvRound(fixed_point_mult * w); w 64 modules/photo/src/hdr_common.cpp Mat w(LDR_SIZE, 1, CV_32F); w 67 modules/photo/src/hdr_common.cpp w.at<float>(i) = i < half ? i + 1.0f : LDR_SIZE - i; w 69 modules/photo/src/hdr_common.cpp return w; w 307 modules/photo/src/inpaint.cpp float Ia=0,Jx=0,Jy=0,s=1.0e-20f,w,dst,lev,dir,sat; w 350 modules/photo/src/inpaint.cpp w = (float)fabs(dst*lev*dir); w 378 modules/photo/src/inpaint.cpp Ia += (float)w * (float)(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)); w 379 modules/photo/src/inpaint.cpp Jx -= (float)w * (float)(gradI.x*r.x); w 380 modules/photo/src/inpaint.cpp Jy -= (float)w * (float)(gradI.y*r.y); w 381 modules/photo/src/inpaint.cpp s += w; w 419 modules/photo/src/inpaint.cpp float Ia=0,Jx=0,Jy=0,s=1.0e-20f,w,dst,lev,dir,sat; w 462 modules/photo/src/inpaint.cpp w = (float)fabs(dst*lev*dir); w 490 modules/photo/src/inpaint.cpp Ia += (float)w * (float)(CV_MAT_ELEM(*out,uchar,km,lm)); w 491 modules/photo/src/inpaint.cpp Jx -= (float)w * (float)(gradI.x*r.x); w 492 modules/photo/src/inpaint.cpp Jy -= (float)w * (float)(gradI.y*r.y); w 493 modules/photo/src/inpaint.cpp s += w; w 539 modules/photo/src/inpaint.cpp float Ia=0,s=1.0e-20f,w,dst,dir; w 590 modules/photo/src/inpaint.cpp w = dst*dir; w 591 modules/photo/src/inpaint.cpp Ia += (float)w * (float)(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)); w 592 modules/photo/src/inpaint.cpp s += w; w 627 modules/photo/src/inpaint.cpp float Ia=0,s=1.0e-20f,w,dst,dir; w 678 modules/photo/src/inpaint.cpp w = dst*dir; w 679 modules/photo/src/inpaint.cpp Ia += (float)w * (float)(CV_MAT_ELEM(*out,uchar,km,lm)); w 680 modules/photo/src/inpaint.cpp s += w; w 98 modules/photo/src/merge.cpp Mat w = Mat::zeros(size, CV_32F); w 101 modules/photo/src/merge.cpp w += splitted[c]; w 103 modules/photo/src/merge.cpp w /= channels; w 109 modules/photo/src/merge.cpp result_split[c] += w.mul(splitted[c] - exp_values.at<float>((int)i)); w 111 modules/photo/src/merge.cpp weight_sum += w; w 326 modules/photo/src/merge.cpp Mat im, w; w 327 modules/photo/src/merge.cpp LUT(images[i], weight, w); w 330 modules/photo/src/merge.cpp result += times.at<float>((int)i) * w.mul(im); w 331 modules/photo/src/merge.cpp wsum += times.at<float>((int)i) * times.at<float>((int)i) * w; w 59 modules/photo/src/npr.cpp int w = I.size().width; w 61 modules/photo/src/npr.cpp Mat res = Mat(h,w,CV_32FC3); w 81 modules/photo/src/npr.cpp int w = I.size().width; w 87 modules/photo/src/npr.cpp Mat res = Mat(h,w,CV_32FC1); w 105 modules/photo/src/npr.cpp Mat detail = Mat(h,w,CV_32FC1); w 153 modules/photo/src/npr.cpp int w = img.size().width; w 155 modules/photo/src/npr.cpp Mat res = Mat(h,w,CV_32FC3); w 156 modules/photo/src/npr.cpp Mat magnitude = Mat(h,w,CV_32FC1); w 163 modules/photo/src/npr.cpp Mat stylized = Mat(h,w,CV_32FC3); w 105 modules/photo/src/npr.hpp int w = img.cols; w 110 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 120 modules/photo/src/npr.hpp int w = img.cols; w 125 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 137 modules/photo/src/npr.hpp int w = img.cols; w 142 modules/photo/src/npr.hpp Mat magXR = Mat(h, w, CV_32FC1); w 143 modules/photo/src/npr.hpp Mat magYR = Mat(h, w, CV_32FC1); w 145 modules/photo/src/npr.hpp Mat magXG = Mat(h, w, CV_32FC1); w 146 modules/photo/src/npr.hpp Mat magYG = Mat(h, w, CV_32FC1); w 148 modules/photo/src/npr.hpp Mat magXB = Mat(h, w, CV_32FC1); w 149 modules/photo/src/npr.hpp Mat magYB = Mat(h, w, CV_32FC1); w 160 modules/photo/src/npr.hpp Mat mag1 = Mat(h,w,CV_32FC1); w 161 modules/photo/src/npr.hpp Mat mag2 = Mat(h,w,CV_32FC1); w 162 modules/photo/src/npr.hpp Mat mag3 = Mat(h,w,CV_32FC1); w 175 modules/photo/src/npr.hpp int w = output.cols; w 180 modules/photo/src/npr.hpp Mat temp = Mat(h,w,CV_32FC3); w 183 modules/photo/src/npr.hpp Mat V = Mat(h,w,CV_32FC1); w 186 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 191 modules/photo/src/npr.hpp for(int j =1; j < w; j++) w 203 modules/photo/src/npr.hpp for(int j =w-2; j >= 0; j--) w 219 modules/photo/src/npr.hpp int w = output.cols; w 220 modules/photo/src/npr.hpp Mat lower_pos = Mat(h,w,CV_32FC1); w 221 modules/photo/src/npr.hpp Mat upper_pos = Mat(h,w,CV_32FC1); w 226 modules/photo/src/npr.hpp lower_idx = Mat::zeros(h,w,CV_32FC1); w 227 modules/photo/src/npr.hpp upper_idx = Mat::zeros(h,w,CV_32FC1); w 229 modules/photo/src/npr.hpp Mat domain_row = Mat::zeros(1,w+1,CV_32FC1); w 233 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 235 modules/photo/src/npr.hpp domain_row.at<float>(0,w) = (float) myinf; w 237 modules/photo/src/npr.hpp Mat lower_pos_row = Mat::zeros(1,w,CV_32FC1); w 238 modules/photo/src/npr.hpp Mat upper_pos_row = Mat::zeros(1,w,CV_32FC1); w 240 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 246 modules/photo/src/npr.hpp Mat temp_lower_idx = Mat::zeros(1,w,CV_32FC1); w 247 modules/photo/src/npr.hpp Mat temp_upper_idx = Mat::zeros(1,w,CV_32FC1); w 249 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 257 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 267 modules/photo/src/npr.hpp for(int j=1;j<w;j++) w 270 modules/photo/src/npr.hpp for(int k=(int) temp_lower_idx.at<float>(0,j-1);k<w+1;k++) w 283 modules/photo/src/npr.hpp for(int k=(int) temp_upper_idx.at<float>(0,j-1);k<w+1;k++) w 298 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 310 modules/photo/src/npr.hpp int w = output.cols; w 315 modules/photo/src/npr.hpp Mat box_filter = Mat::zeros(h,w+1,CV_32FC3); w 322 modules/photo/src/npr.hpp for(int j = 2; j < w+1; j++) w 329 modules/photo/src/npr.hpp Mat indices = Mat::zeros(h,w,CV_32FC1); w 330 modules/photo/src/npr.hpp Mat final = Mat::zeros(h,w,CV_32FC3); w 333 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 336 modules/photo/src/npr.hpp Mat a = Mat::zeros(h,w,CV_32FC1); w 337 modules/photo/src/npr.hpp Mat b = Mat::zeros(h,w,CV_32FC1); w 342 modules/photo/src/npr.hpp Mat flag = Mat::ones(h,w,CV_32FC1); w 346 modules/photo/src/npr.hpp multiply(flag - 1,h*(w+1),temp1); w 350 modules/photo/src/npr.hpp multiply(flag - 1,h*(w+1),temp1); w 360 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 363 modules/photo/src/npr.hpp r = (int) b.at<float>(i,j)/(h*(w+1)); w 364 modules/photo/src/npr.hpp rem = (int) b.at<float>(i,j) - r*h*(w+1); w 370 modules/photo/src/npr.hpp q=w; w 379 modules/photo/src/npr.hpp r1 = (int) a.at<float>(i,j)/(h*(w+1)); w 380 modules/photo/src/npr.hpp rem1 = (int) a.at<float>(i,j) - r1*h*(w+1); w 400 modules/photo/src/npr.hpp int w = img.size().width; w 405 modules/photo/src/npr.hpp Mat derivx = Mat::zeros(h,w-1,CV_32FC3); w 406 modules/photo/src/npr.hpp Mat derivy = Mat::zeros(h-1,w,CV_32FC3); w 411 modules/photo/src/npr.hpp Mat distx = Mat::zeros(h,w,CV_32FC1); w 412 modules/photo/src/npr.hpp Mat disty = Mat::zeros(h,w,CV_32FC1); w 417 modules/photo/src/npr.hpp for(int j = 0,k=1; j < w-1; j++,k++) w 425 modules/photo/src/npr.hpp for(int j = 0; j < w; j++) w 434 modules/photo/src/npr.hpp horiz = Mat(h,w,CV_32FC1); w 435 modules/photo/src/npr.hpp vert = Mat(h,w,CV_32FC1); w 437 modules/photo/src/npr.hpp Mat final = Mat(h,w,CV_32FC3); w 446 modules/photo/src/npr.hpp O = Mat(h,w,CV_32FC3); w 449 modules/photo/src/npr.hpp O_t = Mat(w,h,CV_32FC3); w 454 modules/photo/src/npr.hpp ct_H = Mat(h,w,CV_32FC1); w 455 modules/photo/src/npr.hpp ct_V = Mat(h,w,CV_32FC1); w 460 modules/photo/src/npr.hpp for(int j = 1; j < w; j++) w 466 modules/photo/src/npr.hpp for(int j = 0; j < w; j++) w 482 modules/photo/src/npr.hpp int w = img.size().width; w 509 modules/photo/src/npr.hpp Mat temp = Mat(h,w,CV_32FC1); w 510 modules/photo/src/npr.hpp Mat temp1 = Mat(w,h,CV_32FC1); w 539 modules/photo/src/npr.hpp int w = img.size().width; w 543 modules/photo/src/npr.hpp Mat color_sketch = Mat(h,w,CV_32FC3); w 552 modules/photo/src/npr.hpp Mat penx = Mat(h,w,CV_32FC1); w 554 modules/photo/src/npr.hpp Mat pen_res = Mat::zeros(h,w,CV_32FC1); w 555 modules/photo/src/npr.hpp Mat peny = Mat(w,h,CV_32FC1); w 578 modules/photo/src/npr.hpp for(int j=0;j<w;j++) w 60 modules/photo/src/seamless_cloning.cpp int w = mask.size().width; w 74 modules/photo/src/seamless_cloning.cpp for(int j=0;j<w;j++) w 161 modules/photo/src/seamless_cloning_impl.cpp const int w = img.cols; w 170 modules/photo/src/seamless_cloning_impl.cpp for(int i = 0 ; i < w-2; i++) w 183 modules/photo/src/seamless_cloning_impl.cpp for(int i = 0 ; i < w ; ++i) w 195 modules/photo/src/seamless_cloning_impl.cpp for(int i = 1 ; i < w-1 ; ++i) w 209 modules/photo/src/seamless_cloning_impl.cpp resLinePtr[w-1] = imgLinePtr[w-1]; w 215 modules/photo/src/seamless_cloning_impl.cpp for(int i = 0 ; i < w ; ++i) w 221 modules/photo/src/seamless_cloning_impl.cpp const int w = img.cols; w 236 modules/photo/src/seamless_cloning_impl.cpp Mat mod_diff = boundary_points(Rect(1, 1, w-2, h-2)); w 252 modules/photo/src/seamless_cloning_impl.cpp const int w = destination.cols; w 253 modules/photo/src/seamless_cloning_impl.cpp filter_X.resize(w - 2); w 254 modules/photo/src/seamless_cloning_impl.cpp for(int i = 0 ; i < w-2 ; ++i) w 255 modules/photo/src/seamless_cloning_impl.cpp filter_X[i] = 2.0f * std::cos(static_cast<float>(CV_PI) * (i + 1) / (w - 1)); w 342 modules/photo/src/seamless_cloning_impl.cpp const int w = destination.cols; w 345 modules/photo/src/seamless_cloning_impl.cpp const int n_elem_in_line = w * channel; w 253 modules/shape/src/aff_trans.cpp Mat singVals=mysvd.w; w 275 modules/shape/src/tps_trans.cpp Mat w(tpsParameters, Rect(0,0,2,tpsParameters.rows-3)); w 276 modules/shape/src/tps_trans.cpp Mat Q=w.t()*matK*w; w 252 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float w = y_ / sqrtf(x_ * x_ + y_ * y_ + z_ * z_); w 253 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp v = scale * (static_cast<float>(CV_PI) - acosf(w == w ? w : 0)); w 524 modules/stitching/src/blenders.cpp int w = weight_row[x] + 1; w 525 modules/stitching/src/blenders.cpp row[x].x = static_cast<short>((row[x].x << 8) / w); w 526 modules/stitching/src/blenders.cpp row[x].y = static_cast<short>((row[x].y << 8) / w); w 527 modules/stitching/src/blenders.cpp row[x].z = static_cast<short>((row[x].z << 8) / w); w 172 modules/stitching/src/stitcher.cpp Ptr<detail::RotationWarper> w = warper_->create(float(warped_image_scale_ * seam_work_aspect_)); w 182 modules/stitching/src/stitcher.cpp corners[i] = w->warp(seam_est_imgs_[i], K, cameras_[i].R, INTER_LINEAR, BORDER_CONSTANT, images_warped[i]); w 185 modules/stitching/src/stitcher.cpp w->warp(masks[i], K, cameras_[i].R, INTER_NEAREST, BORDER_CONSTANT, masks_warped[i]); w 241 modules/stitching/src/stitcher.cpp w = warper_->create((float)warped_image_scale_); w 261 modules/stitching/src/stitcher.cpp Rect roi = w->warpRoi(sz, K, cameras_[i].R); w 288 modules/stitching/src/stitcher.cpp w->warp(img, K, cameras_[img_idx].R, INTER_LINEAR, BORDER_CONSTANT, img_warped); w 297 modules/stitching/src/stitcher.cpp w->warp(mask, K, cameras_[img_idx].R, INTER_NEAREST, BORDER_CONSTANT, mask_warped); w 26 modules/video/misc/java/test/VideoTest.java private int w; w 34 modules/video/misc/java/test/VideoTest.java w = (int)(rgbLena.cols() / 2); w 37 modules/video/misc/java/test/VideoTest.java subLena1 = rgbLena.submat(shift1, h + shift1, shift1, w + shift1); w 38 modules/video/misc/java/test/VideoTest.java subLena2 = rgbLena.submat(shift2, h + shift2, shift2, w + shift2); w 79 modules/video/src/ecc.cpp const int w = src1.cols; w 104 modules/video/src/ecc.cpp dst.colRange(0, w) = src1Divided_.mul(src3);//1 w 106 modules/video/src/ecc.cpp dst.colRange(w,2*w) = src2Divided_.mul(src3);//2 w 109 modules/video/src/ecc.cpp dst.colRange(2*w,3*w) = temp_.mul(src3);//3 w 114 modules/video/src/ecc.cpp dst.colRange(3*w, 4*w) = src1Divided_.mul(src4);//4 w 116 modules/video/src/ecc.cpp dst.colRange(4*w, 5*w) = src2Divided_.mul(src4);//5 w 118 modules/video/src/ecc.cpp dst.colRange(5*w, 6*w) = temp_.mul(src4);//6 w 120 modules/video/src/ecc.cpp src1Divided_.copyTo(dst.colRange(6*w, 7*w));//7 w 122 modules/video/src/ecc.cpp src2Divided_.copyTo(dst.colRange(7*w, 8*w));//8 w 145 modules/video/src/ecc.cpp const int w = src1.cols; w 155 modules/video/src/ecc.cpp dst.colRange(0, w) = (src1.mul(hatX))+(src2.mul(hatY));//1 w 157 modules/video/src/ecc.cpp src1.copyTo(dst.colRange(w, 2*w));//2 w 158 modules/video/src/ecc.cpp src2.copyTo(dst.colRange(2*w, 3*w));//3 w 177 modules/video/src/ecc.cpp const int w = src1.cols; w 181 modules/video/src/ecc.cpp dst.colRange(0,w) = src1.mul(src3);//1 w 182 modules/video/src/ecc.cpp dst.colRange(w,2*w) = src2.mul(src3);//2 w 183 modules/video/src/ecc.cpp dst.colRange(2*w,3*w) = src1.mul(src4);//3 w 184 modules/video/src/ecc.cpp dst.colRange(3*w,4*w) = src2.mul(src4);//4 w 185 modules/video/src/ecc.cpp src1.copyTo(dst.colRange(4*w,5*w));//5 w 186 modules/video/src/ecc.cpp src2.copyTo(dst.colRange(5*w,6*w));//6 w 199 modules/video/src/ecc.cpp const int w = src1.cols; w 202 modules/video/src/ecc.cpp src1.copyTo(dst.colRange(0, w)); w 203 modules/video/src/ecc.cpp src2.copyTo(dst.colRange(w, 2*w)); w 221 modules/video/src/ecc.cpp int w; w 226 modules/video/src/ecc.cpp w = src2.cols; w 228 modules/video/src/ecc.cpp dstPtr[i] = (float) src2.dot(src1.colRange(i*w,(i+1)*w)); w 234 modules/video/src/ecc.cpp w = src2.cols/dst.cols; w 238 modules/video/src/ecc.cpp mat = Mat(src1.colRange(i*w, (i+1)*w)); w 242 modules/video/src/ecc.cpp dstPtr[i*dst.cols+j] = (float) mat.dot(src2.colRange(j*w, (j+1)*w)); w 425 modules/videoio/src/cap_dshow.cpp void setSize(int w, int h); w 507 modules/videoio/src/cap_dshow.cpp bool setupDevice(int deviceID, int w, int h); w 508 modules/videoio/src/cap_dshow.cpp bool setupDeviceFourcc(int deviceID, int w, int h,int fourcc); w 513 modules/videoio/src/cap_dshow.cpp bool setupDevice(int deviceID, int w, int h, int connection); w 573 modules/videoio/src/cap_dshow.cpp void setAttemptCaptureSize(int deviceID, int w, int h,GUID mediaType=MEDIASUBTYPE_RGB24); w 804 modules/videoio/src/cap_dshow.cpp void videoDevice::setSize(int w, int h){ w 810 modules/videoio/src/cap_dshow.cpp width = w; w 812 modules/videoio/src/cap_dshow.cpp videoSize = w*h*3; w 1203 modules/videoio/src/cap_dshow.cpp bool videoInput::setupDevice(int deviceNumber, int w, int h){ w 1206 modules/videoio/src/cap_dshow.cpp setAttemptCaptureSize(deviceNumber,w,h); w 1218 modules/videoio/src/cap_dshow.cpp bool videoInput::setupDeviceFourcc(int deviceNumber, int w, int h,int fourcc){ w 1224 modules/videoio/src/cap_dshow.cpp setAttemptCaptureSize(deviceNumber,w,h,*mediaType); w 1227 modules/videoio/src/cap_dshow.cpp setAttemptCaptureSize(deviceNumber,w,h); w 1239 modules/videoio/src/cap_dshow.cpp bool videoInput::setupDevice(int deviceNumber, int w, int h, int _connection){ w 1242 modules/videoio/src/cap_dshow.cpp setAttemptCaptureSize(deviceNumber,w,h); w 2041 modules/videoio/src/cap_dshow.cpp void videoInput::setAttemptCaptureSize(int id, int w, int h,GUID mediaType){ w 2043 modules/videoio/src/cap_dshow.cpp VDList[id]->tryWidth = w; w 1132 modules/videoio/src/cap_ffmpeg_impl.hpp int w, int h, int bitrate, w 1191 modules/videoio/src/cap_ffmpeg_impl.hpp c->width = w; w 1922 modules/videoio/src/cap_ffmpeg_impl.hpp static AVStream* addVideoStream(AVFormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, PixelFormat pixel_format); w 1969 modules/videoio/src/cap_ffmpeg_impl.hpp AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, PixelFormat pixel_format) w 1999 modules/videoio/src/cap_ffmpeg_impl.hpp c->width = w; w 712 modules/videoio/src/cap_giganetix.cpp INT64 w, wmax, val = (INT64)value; w 713 modules/videoio/src/cap_giganetix.cpp if((b_ret = m_device->GetIntegerNodeValue ("Width", w))) w 715 modules/videoio/src/cap_giganetix.cpp b_ret = m_device->SetIntegerNodeValue ("OffsetX", (val + w) > wmax ? (wmax - w) : val); w 362 modules/videoio/src/cap_libv4l.cpp static int icvSetVideoSize( CvCaptureCAM_V4L* capture, int w, int h); w 1497 modules/videoio/src/cap_libv4l.cpp static int icvSetVideoSize( CvCaptureCAM_V4L* capture, int w, int h) { w 1511 modules/videoio/src/cap_libv4l.cpp cropWidth = w*8; w 1515 modules/videoio/src/cap_libv4l.cpp cropWidth = w*16; w 1519 modules/videoio/src/cap_libv4l.cpp cropWidth = w*24; w 1539 modules/videoio/src/cap_libv4l.cpp capture->form.fmt.pix.width = w; w 1585 modules/videoio/src/cap_libv4l.cpp if (w>capture->capability.maxwidth) { w 1586 modules/videoio/src/cap_libv4l.cpp w=capture->capability.maxwidth; w 1592 modules/videoio/src/cap_libv4l.cpp capture->captureWindow.width=w; w 570 modules/videoio/src/cap_msmf.cpp bool setupDevice(unsigned int w, unsigned int h, unsigned int idealFramerate = 0); w 715 modules/videoio/src/cap_msmf.cpp bool setupDevice(int deviceID, unsigned int w, unsigned int h, unsigned int idealFramerate = 30); w 2735 modules/videoio/src/cap_msmf.cpp bool videoDevice::setupDevice(unsigned int w, unsigned int h, unsigned int idealFramerate) w 2737 modules/videoio/src/cap_msmf.cpp unsigned int id = findType(w * h, idealFramerate); w 3058 modules/videoio/src/cap_msmf.cpp bool videoInput::setupDevice(int deviceID, unsigned int w, unsigned int h, unsigned int idealFramerate) w 3071 modules/videoio/src/cap_msmf.cpp bool out = VD->setupDevice(w, h, idealFramerate); w 3702 modules/videoio/src/cap_msmf.cpp const int w = (int)VI.getWidth(index); w 3704 modules/videoio/src/cap_msmf.cpp if( !frame || w != frame->width || h != frame->height ) w 3708 modules/videoio/src/cap_msmf.cpp frame = cvCreateImage( cvSize(w,h), 8, 3 ); w 359 modules/videoio/src/cap_v4l.cpp static int icvSetVideoSize( CvCaptureCAM_V4L* capture, int w, int h); w 2485 modules/videoio/src/cap_v4l.cpp static int icvSetVideoSize( CvCaptureCAM_V4L* capture, int w, int h) { w 2516 modules/videoio/src/cap_v4l.cpp capture->form.fmt.pix.width = w; w 2563 modules/videoio/src/cap_v4l.cpp if (w>capture->capability.maxwidth) { w 2564 modules/videoio/src/cap_v4l.cpp w=capture->capability.maxwidth; w 2570 modules/videoio/src/cap_v4l.cpp capture->captureWindow.width=w; w 48 modules/videoio/src/cap_vfw.cpp #define capSendMessage(hwnd,m,w,l) (IsWindow(hwnd)?SendMessage(hwnd,m,w,l):0) w 82 modules/videoio/src/cap_winrt_video.cpp bool Video::initGrabber(int device, int w, int h) { w 86 modules/videoio/src/cap_winrt_video.cpp width = w; w 38 modules/videoio/src/cap_winrt_video.hpp bool initGrabber(int device, int w, int h); w 111 modules/videostab/src/deblurring.cpp float w = bRatio * sensitivity_ / w 113 modules/videostab/src/deblurring.cpp bSum_(y,x) += w * p1.x; w 114 modules/videostab/src/deblurring.cpp gSum_(y,x) += w * p1.y; w 115 modules/videostab/src/deblurring.cpp rSum_(y,x) += w * p1.z; w 116 modules/videostab/src/deblurring.cpp wSum_(y,x) += w; w 298 modules/videostab/src/inpainting.cpp float w = 1.f / (std::sqrt(distColor * (dx*dx + dy*dy)) + eps); w 300 modules/videostab/src/inpainting.cpp uEst += w * (flowX(qy0,qx0) - dudx*dx - dudy*dy); w 301 modules/videostab/src/inpainting.cpp vEst += w * (flowY(qy0,qx0) - dvdx*dx - dvdy*dy); w 302 modules/videostab/src/inpainting.cpp wSum += w; w 151 modules/videostab/src/motion_stabilizing.cpp double w = frameSize_.width, h = frameSize_.height; w 152 modules/videostab/src/motion_stabilizing.cpp double tw = w * trimRatio_, th = h * trimRatio_; w 253 modules/videostab/src/motion_stabilizing.cpp const Point2d pt[] = {Point2d(0,0), Point2d(w,0), Point2d(w,h), Point2d(0,h)}; w 601 modules/videostab/src/motion_stabilizing.cpp static inline bool isGoodMotion(const float M[], float w, float h, float dx, float dy) w 603 modules/videostab/src/motion_stabilizing.cpp Point2f pt[4] = {Point2f(0,0), Point2f(w,0), Point2f(w,h), Point2f(0,h)}; w 617 modules/videostab/src/motion_stabilizing.cpp pt[1] = Point2f(w - dx, dy); w 618 modules/videostab/src/motion_stabilizing.cpp pt[2] = Point2f(w - dx, h - dy); w 643 modules/videostab/src/motion_stabilizing.cpp const float w = static_cast<float>(size.width); w 645 modules/videostab/src/motion_stabilizing.cpp const float dx = floor(w * trimRatio); w 655 modules/videostab/src/motion_stabilizing.cpp if (isGoodMotion(curM, w, h, dx, dy)) w 663 modules/videostab/src/motion_stabilizing.cpp if (isGoodMotion(curM, w, h, dx, dy)) w 678 modules/videostab/src/motion_stabilizing.cpp const float w = static_cast<float>(size.width); w 682 modules/videostab/src/motion_stabilizing.cpp Point2f pt[4] = {Point2f(0,0), Point2f(w,0), Point2f(w,h), Point2f(0,h)}; w 699 modules/videostab/src/motion_stabilizing.cpp float dx = floor(w * t); w 702 modules/videostab/src/motion_stabilizing.cpp pt[1] = Point2f(w - dx, dy); w 703 modules/videostab/src/motion_stabilizing.cpp pt[2] = Point2f(w - dx, h - dy); w 20 samples/cpp/contours2.cpp const int w = 500; w 28 samples/cpp/contours2.cpp Mat cnt_img = Mat::zeros(w, w, CV_8UC3); w 38 samples/cpp/contours2.cpp Mat img = Mat::zeros(w, w, CV_8UC1); w 284 samples/cpp/stereo_calib.cpp int w, h; w 288 samples/cpp/stereo_calib.cpp w = cvRound(imageSize.width*sf); w 290 samples/cpp/stereo_calib.cpp canvas.create(h, w*2, CV_8UC3); w 295 samples/cpp/stereo_calib.cpp w = cvRound(imageSize.width*sf); w 297 samples/cpp/stereo_calib.cpp canvas.create(h*2, w, CV_8UC3); w 307 samples/cpp/stereo_calib.cpp Mat canvasPart = !isVerticalStereo ? canvas(Rect(w*k, 0, w, h)) : canvas(Rect(0, h*k, w, h)); w 77 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp int w = 400; int h = 400; w 78 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp int bin_w = cvRound( (double) w / histSize ); w 79 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp Mat histImg = Mat::zeros( w, h, CV_8UC3 ); w 31 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Mat atom_image = Mat::zeros( w, w, CV_8UC3 ); w 32 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Mat rook_image = Mat::zeros( w, w, CV_8UC3 ); w 44 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp MyFilledCircle( atom_image, Point( w/2, w/2) ); w 54 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Point( 0, 7*w/8 ), w 55 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Point( w, w), w 61 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp MyLine( rook_image, Point( 0, 15*w/16 ), Point( w, 15*w/16 ) ); w 62 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp MyLine( rook_image, Point( w/4, 7*w/8 ), Point( w/4, w ) ); w 63 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp MyLine( rook_image, Point( w/2, 7*w/8 ), Point( w/2, w ) ); w 64 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp MyLine( rook_image, Point( 3*w/4, 7*w/8 ), Point( 3*w/4, w ) ); w 70 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp moveWindow( rook_window, w, 200 ); w 88 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Point( w/2, w/2 ), w 89 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Size( w/4, w/16 ), w 109 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp w/32, w 125 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][0] = Point( w/4, 7*w/8 ); w 126 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][1] = Point( 3*w/4, 7*w/8 ); w 127 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][2] = Point( 3*w/4, 13*w/16 ); w 128 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][3] = Point( 11*w/16, 13*w/16 ); w 129 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][4] = Point( 19*w/32, 3*w/8 ); w 130 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][5] = Point( 3*w/4, 3*w/8 ); w 131 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][6] = Point( 3*w/4, w/8 ); w 132 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][7] = Point( 26*w/40, w/8 ); w 133 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][8] = Point( 26*w/40, w/4 ); w 134 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][9] = Point( 22*w/40, w/4 ); w 135 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][10] = Point( 22*w/40, w/8 ); w 136 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][11] = Point( 18*w/40, w/8 ); w 137 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][12] = Point( 18*w/40, w/4 ); w 138 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][13] = Point( 14*w/40, w/4 ); w 139 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][14] = Point( 14*w/40, w/8 ); w 140 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][15] = Point( w/4, w/8 ); w 141 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][16] = Point( w/4, 3*w/8 ); w 142 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][17] = Point( 13*w/32, 3*w/8 ); w 143 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][18] = Point( 5*w/16, 13*w/16 ); w 144 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp rook_points[0][19] = Point( w/4, 13*w/16 );