y 48 3rdparty/include/dshow/dsound.h float y; y 966 3rdparty/include/dshow/dsound.h STDMETHOD(SetPosition)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; y 968 3rdparty/include/dshow/dsound.h STDMETHOD(SetVelocity)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; y 1055 3rdparty/include/dshow/dsound.h STDMETHOD(SetConeOrientation)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; y 1060 3rdparty/include/dshow/dsound.h STDMETHOD(SetPosition)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; y 1061 3rdparty/include/dshow/dsound.h STDMETHOD(SetVelocity)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; y 1385 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int y, int type, int height); y 3129 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int y; ///< top left corner of pict, undefined when pict is not set y 30 3rdparty/include/ffmpeg_/libavutil/attributes.h # define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y) y 32 3rdparty/include/ffmpeg_/libavutil/attributes.h # define AV_GCC_VERSION_AT_LEAST(x,y) 0 y 162 3rdparty/include/ffmpeg_/libavutil/pixdesc.h const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component); y 179 3rdparty/include/ffmpeg_/libavutil/pixdesc.h const AVPixFmtDescriptor *desc, int x, int y, int c, int w); y 483 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_char x, y; }; y 496 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_char x, y, z, w; }; y 515 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_char x, y, z, w; }; y 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; }; y 558 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uchar x, y; }; y 571 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uchar x, y, z, w; }; y 590 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uchar x, y, z, w; }; y 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; }; y 633 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_short x, y; }; y 646 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_short x, y, z, w; }; y 665 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_short x, y, z, w; }; y 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; }; y 708 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ushort x, y; }; y 721 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ushort x, y, z, w; }; y 740 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ushort x, y, z, w; }; y 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; }; y 782 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_int x, y; }; y 795 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_int x, y, z, w; }; y 814 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_int x, y, z, w; }; y 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; }; y 857 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uint x, y; }; y 870 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uint x, y, z, w; }; y 889 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_uint x, y, z, w; }; y 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; }; y 931 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_long x, y; }; y 944 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_long x, y, z, w; }; y 963 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_long x, y, z, w; }; y 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; }; y 1006 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ulong x, y; }; y 1019 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ulong x, y, z, w; }; y 1038 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_ulong x, y, z, w; }; y 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; }; y 1082 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_float x, y; }; y 1095 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_float x, y, z, w; }; y 1114 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_float x, y, z, w; }; y 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; }; y 1157 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_double x, y; }; y 1170 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_double x, y, z, w; }; y 1189 3rdparty/include/opencl/1.2/CL/cl_platform.h __extension__ struct{ cl_double x, y, z, w; }; y 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; }; y 1168 3rdparty/libjasper/jas_cm.c shapmat->mat[1][i] = cols[i]->data.xyz.y / 65536.0; y 1181 3rdparty/libjasper/jas_cm.c mat[1][i] = cols[i]->data.xyz.y / 65536.0; y 144 3rdparty/libjasper/jas_icc.c static long jas_iccpadtomult(long x, long y); y 641 3rdparty/libjasper/jas_icc.c jas_iccgetsint32(in, &xyz->y) || y 662 3rdparty/libjasper/jas_icc.c jas_iccputuint32(out, xyz->y); y 947 3rdparty/libjasper/jas_icc.c jas_iccputuint32(out, xyz->y) || y 964 3rdparty/libjasper/jas_icc.c fprintf(out, "(%f, %f, %f)\n", xyz->x / 65536.0, xyz->y / 65536.0, xyz->z / 65536.0); y 1675 3rdparty/libjasper/jas_icc.c static long jas_iccpadtomult(long x, long y) y 1677 3rdparty/libjasper/jas_icc.c return ((x + y - 1) / y) * y; y 1682 3rdparty/libjasper/jas_icc.c long y; y 1683 3rdparty/libjasper/jas_icc.c y = 1; y 1685 3rdparty/libjasper/jas_icc.c y *= x; y 1686 3rdparty/libjasper/jas_icc.c return y; y 89 3rdparty/libjasper/jas_image.c #define FLOORDIV(x, y) ((x) / (y)) y 109 3rdparty/libjasper/jas_image.c static long uptomult(long x, long y); y 110 3rdparty/libjasper/jas_image.c static long downtomult(long x, long y); y 405 3rdparty/libjasper/jas_image.c jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, y 423 3rdparty/libjasper/jas_image.c if (x >= cmpt->width_ || y >= cmpt->height_ || y 425 3rdparty/libjasper/jas_image.c y + height > cmpt->height_) { y 439 3rdparty/libjasper/jas_image.c if (jas_stream_seek(cmpt->stream_, (cmpt->width_ * (y + i) + x) y 458 3rdparty/libjasper/jas_image.c int jas_image_writecmpt(jas_image_t *image, int cmptno, jas_image_coord_t x, jas_image_coord_t y, jas_image_coord_t width, y 476 3rdparty/libjasper/jas_image.c if (x >= cmpt->width_ || y >= cmpt->height_ || y 478 3rdparty/libjasper/jas_image.c y + height > cmpt->height_) { y 490 3rdparty/libjasper/jas_image.c if (jas_stream_seek(cmpt->stream_, (cmpt->width_ * (y + i) + x) y 737 3rdparty/libjasper/jas_image.c int_fast32_t y; y 759 3rdparty/libjasper/jas_image.c y = cmpt->tly_ + cmpt->vstep_ * (cmpt->height_ - 1) + 1; y 760 3rdparty/libjasper/jas_image.c if (image->bry_ < y) { y 761 3rdparty/libjasper/jas_image.c image->bry_ = y; y 887 3rdparty/libjasper/jas_image.c int jas_image_readcmptsample(jas_image_t *image, int cmptno, int x, int y) y 896 3rdparty/libjasper/jas_image.c if (jas_stream_seek(cmpt->stream_, (cmpt->width_ * y + x) * cmpt->cps_, y 910 3rdparty/libjasper/jas_image.c void jas_image_writecmptsample(jas_image_t *image, int cmptno, int x, int y, y 920 3rdparty/libjasper/jas_image.c if (jas_stream_seek(cmpt->stream_, (cmpt->width_ * y + x) * cmpt->cps_, y 967 3rdparty/libjasper/jas_image.c jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, y 979 3rdparty/libjasper/jas_image.c if (x < 0 || x >= cmpt->width_ || y < 0 || y >= cmpt->height_ || y 981 3rdparty/libjasper/jas_image.c y + height > cmpt->height_) y 986 3rdparty/libjasper/jas_image.c if (jas_stream_seek(cmpt->stream_, (cmpt->width_ * (y + i) + x) y 1002 3rdparty/libjasper/jas_image.c jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, y 1014 3rdparty/libjasper/jas_image.c if (x < 0 || x >= cmpt->width_ || y < 0 || y >= cmpt->height_ || y 1016 3rdparty/libjasper/jas_image.c y + height > cmpt->height_) y 1021 3rdparty/libjasper/jas_image.c if (jas_stream_seek(cmpt->stream_, (cmpt->width_ * (y + i) + x) y 1062 3rdparty/libjasper/jas_image.c jas_image_coord_t y; y 1088 3rdparty/libjasper/jas_image.c y = newcmpt->tly_ + newcmpt->vstep_ * i; y 1092 3rdparty/libjasper/jas_image.c ay = downtomult(y - oldcmpt->tly_, oldcmpt->vstep_) + oldcmpt->tly_; y 1096 3rdparty/libjasper/jas_image.c by = uptomult(y - oldcmpt->tly_, oldcmpt->vstep_) + oldcmpt->tly_; y 1099 3rdparty/libjasper/jas_image.c d0 = (ax - x) * (ax - x) + (ay - y) * (ay - y); y 1100 3rdparty/libjasper/jas_image.c d1 = (bx - x) * (bx - x) + (ay - y) * (ay - y); y 1101 3rdparty/libjasper/jas_image.c d2 = (bx - x) * (bx - x) + (by - y) * (by - y); y 1102 3rdparty/libjasper/jas_image.c d3 = (ax - x) * (ax - x) + (by - y) * (by - y); y 1257 3rdparty/libjasper/jas_image.c static long downtomult(long x, long y) y 1260 3rdparty/libjasper/jas_image.c return (x / y) * y; y 1263 3rdparty/libjasper/jas_image.c static long uptomult(long x, long y) y 1266 3rdparty/libjasper/jas_image.c return ((x + y - 1) / y) * y; y 164 3rdparty/libjasper/jas_seq.c jas_matrix_t *y; y 167 3rdparty/libjasper/jas_seq.c y = jas_seq2d_create(jas_seq2d_xstart(x), jas_seq2d_ystart(x), jas_seq2d_xend(x), y 169 3rdparty/libjasper/jas_seq.c assert(y); y 172 3rdparty/libjasper/jas_seq.c *jas_matrix_getref(y, i, j) = jas_matrix_get(x, i, j); y 175 3rdparty/libjasper/jas_seq.c return y; y 180 3rdparty/libjasper/jas_seq.c jas_matrix_t *y; y 183 3rdparty/libjasper/jas_seq.c y = jas_matrix_create(x->numrows_, x->numcols_); y 186 3rdparty/libjasper/jas_seq.c *jas_matrix_getref(y, i, j) = jas_matrix_get(x, i, j); y 189 3rdparty/libjasper/jas_seq.c return y; y 142 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_ADD_FAST(fix_t, fracbits, x, y) ((x) + (y)) y 145 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_ADD_OFLOW(fix_t, fracbits, x, y) \ y 147 3rdparty/libjasper/jasper/jas_fix.h (((y) >= 0) ? ((x) + (y) >= 0 || JAS_FIX_OFLOW(), (x) + (y)) : \ y 148 3rdparty/libjasper/jasper/jas_fix.h ((x) + (y))) : \ y 149 3rdparty/libjasper/jasper/jas_fix.h (((y) >= 0) ? ((x) + (y)) : ((x) + (y) < 0 || JAS_FIX_OFLOW(), \ y 150 3rdparty/libjasper/jasper/jas_fix.h (x) + (y))) y 161 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_MUL_FAST(fix_t, fracbits, bigfix_t, x, y) \ y 162 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, (JAS_CAST(bigfix_t, x) * JAS_CAST(bigfix_t, y)) >> \ y 167 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_MUL_OFLOW(fix_t, fracbits, bigfix_t, x, y) \ y 168 3rdparty/libjasper/jasper/jas_fix.h ((JAS_CAST(bigfix_t, x) * JAS_CAST(bigfix_t, y) >> (fracbits)) == \ y 169 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, (JAS_CAST(bigfix_t, x) * JAS_CAST(bigfix_t, y) >> \ y 171 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, (JAS_CAST(bigfix_t, x) * JAS_CAST(bigfix_t, y) >> \ y 183 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_MULBYINT_FAST(fix_t, fracbits, x, y) \ y 184 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, ((x) * (y))) y 188 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_MULBYINT_OFLOW(fix_t, fracbits, x, y) \ y 189 3rdparty/libjasper/jasper/jas_fix.h JAS_FIX_MULBYINT_FAST(fix_t, fracbits, x, y) y 200 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_DIV_FAST(fix_t, fracbits, bigfix_t, x, y) \ y 201 3rdparty/libjasper/jasper/jas_fix.h JAS_CAST(fix_t, (JAS_CAST(bigfix_t, x) << (fracbits)) / (y)) y 205 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_DIV_UFLOW(fix_t, fracbits, bigfix_t, x, y) \ y 206 3rdparty/libjasper/jasper/jas_fix.h JAS_FIX_DIV_FAST(fix_t, fracbits, bigfix_t, x, y) y 264 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_SUB(fix_t, fracbits, x, y) \ y 265 3rdparty/libjasper/jasper/jas_fix.h JAS_FIX_ADD(fix_t, fracbits, x, JAS_FIX_NEG(fix_t, fracbits, y)) y 268 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_PLUSEQ(fix_t, fracbits, x, y) \ y 269 3rdparty/libjasper/jasper/jas_fix.h ((x) = JAS_FIX_ADD(fix_t, fracbits, x, y)) y 272 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_MINUSEQ(fix_t, fracbits, x, y) \ y 273 3rdparty/libjasper/jasper/jas_fix.h ((x) = JAS_FIX_SUB(fix_t, fracbits, x, y)) y 276 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_MULEQ(fix_t, fracbits, bigfix_t, x, y) \ y 277 3rdparty/libjasper/jasper/jas_fix.h ((x) = JAS_FIX_MUL(fix_t, fracbits, bigfix_t, x, y)) y 300 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_CMP(fix_t, fracbits, x, y) \ y 301 3rdparty/libjasper/jasper/jas_fix.h ((x) > (y) ? 1 : (((x) == (y)) ? 0 : (-1))) y 304 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_LT(fix_t, fracbits, x, y) \ y 305 3rdparty/libjasper/jasper/jas_fix.h ((x) < (y)) y 308 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_LTE(fix_t, fracbits, x, y) \ y 309 3rdparty/libjasper/jasper/jas_fix.h ((x) <= (y)) y 312 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_GT(fix_t, fracbits, x, y) \ y 313 3rdparty/libjasper/jasper/jas_fix.h ((x) > (y)) y 316 3rdparty/libjasper/jasper/jas_fix.h #define JAS_FIX_GTE(fix_t, fracbits, x, y) \ y 317 3rdparty/libjasper/jasper/jas_fix.h ((x) >= (y)) y 239 3rdparty/libjasper/jasper/jas_icc.h jas_iccs15fixed16_t y; y 417 3rdparty/libjasper/jasper/jas_image.h jas_image_coord_t x, jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, y 422 3rdparty/libjasper/jasper/jas_image.h jas_image_coord_t x, jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, y 447 3rdparty/libjasper/jasper/jas_image.h int jas_image_readcmptsample(jas_image_t *image, int cmptno, int x, int y); y 448 3rdparty/libjasper/jasper/jas_image.h void jas_image_writecmptsample(jas_image_t *image, int cmptno, int x, int y, y 489 3rdparty/libjasper/jasper/jas_image.h jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, y 492 3rdparty/libjasper/jasper/jas_image.h jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, y 96 3rdparty/libjasper/jasper/jas_math.h #define JAS_MIN(x, y) \ y 97 3rdparty/libjasper/jasper/jas_math.h (((x) < (y)) ? (x) : (y)) y 100 3rdparty/libjasper/jasper/jas_math.h #define JAS_MAX(x, y) \ y 101 3rdparty/libjasper/jasper/jas_math.h (((x) > (y)) ? (x) : (y)) y 105 3rdparty/libjasper/jasper/jas_math.h #define JAS_MOD(x, y) \ y 106 3rdparty/libjasper/jasper/jas_math.h (((x) < 0) ? (((-x) % (y)) ? ((y) - ((-(x)) % (y))) : (0)) : ((x) % (y))) y 258 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_getref(s, x, y) \ y 259 3rdparty/libjasper/jasper/jas_seq.h (jas_matrix_getref(s, (y) - (s)->ystart_, (x) - (s)->xstart_)) y 260 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_get(s, x, y) \ y 261 3rdparty/libjasper/jasper/jas_seq.h (jas_matrix_get(s, (y) - (s)->ystart_, (x) - (s)->xstart_)) y 268 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_setshift(s, x, y) \ y 269 3rdparty/libjasper/jasper/jas_seq.h ((s)->xstart_ = (x), (s)->ystart_ = (y), \ y 1128 3rdparty/libjasper/jpc_enc.c uint_fast32_t y; y 1217 3rdparty/libjasper/jpc_enc.c for (y = 0; y < JAS_CAST(uint_fast32_t, jas_matrix_numrows(band->data)); ++y) { y 1219 3rdparty/libjasper/jpc_enc.c mag = abs(jas_matrix_get(band->data, y, x)); y 113 3rdparty/libjasper/jpc_fix.h #define jpc_fix_add(x, y) JAS_FIX_ADD(jpc_fix_t, JPC_FIX_FRACBITS, x, y) y 114 3rdparty/libjasper/jpc_fix.h #define jpc_fix_sub(x, y) JAS_FIX_SUB(jpc_fix_t, JPC_FIX_FRACBITS, x, y) y 115 3rdparty/libjasper/jpc_fix.h #define jpc_fix_mul(x, y) \ y 116 3rdparty/libjasper/jpc_fix.h JAS_FIX_MUL(jpc_fix_t, JPC_FIX_FRACBITS, jpc_fix_big_t, x, y) y 117 3rdparty/libjasper/jpc_fix.h #define jpc_fix_mulbyint(x, y) \ y 118 3rdparty/libjasper/jpc_fix.h JAS_FIX_MULBYINT(jpc_fix_t, JPC_FIX_FRACBITS, x, y) y 119 3rdparty/libjasper/jpc_fix.h #define jpc_fix_div(x, y) \ y 120 3rdparty/libjasper/jpc_fix.h JAS_FIX_DIV(jpc_fix_t, JPC_FIX_FRACBITS, jpc_fix_big_t, x, y) y 125 3rdparty/libjasper/jpc_fix.h #define jpc_fix_pluseq(x, y) JAS_FIX_PLUSEQ(jpc_fix_t, JPC_FIX_FRACBITS, x, y) y 126 3rdparty/libjasper/jpc_fix.h #define jpc_fix_minuseq(x, y) JAS_FIX_MINUSEQ(jpc_fix_t, JPC_FIX_FRACBITS, x, y) y 127 3rdparty/libjasper/jpc_fix.h #define jpc_fix_muleq(x, y) \ y 128 3rdparty/libjasper/jpc_fix.h JAS_FIX_MULEQ(jpc_fix_t, JPC_FIX_FRACBITS, jpc_fix_big_t, x, y) y 142 3rdparty/libjasper/jpc_fix.h #define jpc_fix_add3(x, y, z) jpc_fix_add(jpc_fix_add(x, y), z) y 91 3rdparty/libjasper/jpc_math.c int y; y 96 3rdparty/libjasper/jpc_math.c y = 0; y 99 3rdparty/libjasper/jpc_math.c ++y; y 101 3rdparty/libjasper/jpc_math.c return y; y 76 3rdparty/libjasper/jpc_math.h #define JPC_FLOORDIV(x, y) ((x) / (y)) y 79 3rdparty/libjasper/jpc_math.h #define JPC_CEILDIV(x, y) (((x) + (y) - 1) / (y)) y 82 3rdparty/libjasper/jpc_math.h #define JPC_FLOORDIVPOW2(x, y) ((x) >> (y)) y 85 3rdparty/libjasper/jpc_math.h #define JPC_CEILDIVPOW2(x, y) (((x) + (1 << (y)) - 1) >> (y)) y 112 3rdparty/libjasper/jpc_mct.c int y; y 118 3rdparty/libjasper/jpc_mct.c y = (r + (g << 1) + b) >> 2; y 121 3rdparty/libjasper/jpc_mct.c *c0p++ = y; y 155 3rdparty/libjasper/jpc_mct.c int y; y 158 3rdparty/libjasper/jpc_mct.c y = *c0p; y 161 3rdparty/libjasper/jpc_mct.c g = y - ((u + v) >> 2); y 180 3rdparty/libjasper/jpc_mct.c jpc_fix_t y; y 199 3rdparty/libjasper/jpc_mct.c y = jpc_fix_add3(jpc_fix_mul(jpc_dbltofix(0.299), r), jpc_fix_mul(jpc_dbltofix(0.587), g), y 205 3rdparty/libjasper/jpc_mct.c *c0p++ = y; y 221 3rdparty/libjasper/jpc_mct.c jpc_fix_t y; y 237 3rdparty/libjasper/jpc_mct.c y = *c0p; y 240 3rdparty/libjasper/jpc_mct.c r = jpc_fix_add(y, jpc_fix_mul(jpc_dbltofix(1.402), v)); y 241 3rdparty/libjasper/jpc_mct.c g = jpc_fix_add3(y, jpc_fix_mul(jpc_dbltofix(-0.34413), u), y 243 3rdparty/libjasper/jpc_mct.c b = jpc_fix_add(y, jpc_fix_mul(jpc_dbltofix(1.772), u)); y 287 3rdparty/libjasper/jpc_t1cod.c jpc_fix_t y; y 289 3rdparty/libjasper/jpc_t1cod.c y = jpc_getsignmsedec_macro(x, bitpos); y 290 3rdparty/libjasper/jpc_t1cod.c return y; y 265 3rdparty/libjasper/jpc_t2cod.c for (pi->y = pi->ystart; pi->y < pi->yend; pi->y += y 266 3rdparty/libjasper/jpc_t2cod.c pi->ystep - (pi->y % pi->ystep)) { y 287 3rdparty/libjasper/jpc_t2cod.c ((pi->y == pi->ystart && ((try0 << r) % (1 << rpy))) y 288 3rdparty/libjasper/jpc_t2cod.c || !(pi->y % (1 << rpy)))) { y 292 3rdparty/libjasper/jpc_t2cod.c prcvind = JPC_FLOORDIVPOW2(JPC_CEILDIV(pi->y, pi->picomp->vsamp y 359 3rdparty/libjasper/jpc_t2cod.c for (pi->y = pi->ystart; pi->y < pi->yend; pi->y += pi->ystep - y 360 3rdparty/libjasper/jpc_t2cod.c (pi->y % pi->ystep)) { y 382 3rdparty/libjasper/jpc_t2cod.c ((pi->y == pi->ystart && ((try0 << r) % (1 << rpy))) || y 383 3rdparty/libjasper/jpc_t2cod.c !(pi->y % (pi->picomp->vsamp << rpy)))) { y 387 3rdparty/libjasper/jpc_t2cod.c prcvind = JPC_FLOORDIVPOW2(JPC_CEILDIV(pi->y, pi->picomp->vsamp y 448 3rdparty/libjasper/jpc_t2cod.c for (pi->y = pi->ystart; pi->y < pi->yend; y 449 3rdparty/libjasper/jpc_t2cod.c pi->y += pi->ystep - (pi->y % pi->ystep)) { y 466 3rdparty/libjasper/jpc_t2cod.c ((pi->y == pi->ystart && ((try0 << r) % (1 << rpy))) || y 467 3rdparty/libjasper/jpc_t2cod.c !(pi->y % (pi->picomp->vsamp << rpy)))) { y 471 3rdparty/libjasper/jpc_t2cod.c prcvind = JPC_FLOORDIVPOW2(JPC_CEILDIV(pi->y, pi->picomp->vsamp y 177 3rdparty/libjasper/jpc_t2cod.h int y; y 544 3rdparty/libjasper/jpc_t2dec.c pi->y = 0; y 634 3rdparty/libjasper/jpc_t2enc.c pi->y = 0; y 167 3rdparty/libjasper/jpc_util.c jas_seq_t *jpc_seq_conv(jas_seq_t *x, jas_seq_t *y) y 176 3rdparty/libjasper/jpc_util.c z = jas_seq_create(jas_seq_start(x) + jas_seq_start(y), y 177 3rdparty/libjasper/jpc_util.c jas_seq_end(x) + jas_seq_end(y) - 1); y 181 3rdparty/libjasper/jpc_util.c for (j = jas_seq_start(y); j < jas_seq_end(y); j++) { y 188 3rdparty/libjasper/jpc_util.c s = jpc_fix_add(s, jpc_fix_mul(jas_seq_get(y, j), v)); y 146 3rdparty/libjpeg/jdcolor.c register int y, cb, cr; y 166 3rdparty/libjpeg/jdcolor.c y = GETJSAMPLE(inptr0[col]); y 170 3rdparty/libjpeg/jdcolor.c outptr[RGB_RED] = range_limit[y + Crrtab[cr]]; y 171 3rdparty/libjpeg/jdcolor.c outptr[RGB_GREEN] = range_limit[y + y 174 3rdparty/libjpeg/jdcolor.c outptr[RGB_BLUE] = range_limit[y + Cbbtab[cb]]; y 445 3rdparty/libjpeg/jdcolor.c register int y, cb, cr; y 466 3rdparty/libjpeg/jdcolor.c y = GETJSAMPLE(inptr0[col]); y 470 3rdparty/libjpeg/jdcolor.c outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ y 471 3rdparty/libjpeg/jdcolor.c outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ y 474 3rdparty/libjpeg/jdcolor.c outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */ y 231 3rdparty/libjpeg/jdmerge.c register int y, cred, cgreen, cblue; y 257 3rdparty/libjpeg/jdmerge.c y = GETJSAMPLE(*inptr0++); y 258 3rdparty/libjpeg/jdmerge.c outptr[RGB_RED] = range_limit[y + cred]; y 259 3rdparty/libjpeg/jdmerge.c outptr[RGB_GREEN] = range_limit[y + cgreen]; y 260 3rdparty/libjpeg/jdmerge.c outptr[RGB_BLUE] = range_limit[y + cblue]; y 262 3rdparty/libjpeg/jdmerge.c y = GETJSAMPLE(*inptr0++); y 263 3rdparty/libjpeg/jdmerge.c outptr[RGB_RED] = range_limit[y + cred]; y 264 3rdparty/libjpeg/jdmerge.c outptr[RGB_GREEN] = range_limit[y + cgreen]; y 265 3rdparty/libjpeg/jdmerge.c outptr[RGB_BLUE] = range_limit[y + cblue]; y 275 3rdparty/libjpeg/jdmerge.c y = GETJSAMPLE(*inptr0); y 276 3rdparty/libjpeg/jdmerge.c outptr[RGB_RED] = range_limit[y + cred]; y 277 3rdparty/libjpeg/jdmerge.c outptr[RGB_GREEN] = range_limit[y + cgreen]; y 278 3rdparty/libjpeg/jdmerge.c outptr[RGB_BLUE] = range_limit[y + cblue]; y 293 3rdparty/libjpeg/jdmerge.c register int y, cred, cgreen, cblue; y 321 3rdparty/libjpeg/jdmerge.c y = GETJSAMPLE(*inptr00++); y 322 3rdparty/libjpeg/jdmerge.c outptr0[RGB_RED] = range_limit[y + cred]; y 323 3rdparty/libjpeg/jdmerge.c outptr0[RGB_GREEN] = range_limit[y + cgreen]; y 324 3rdparty/libjpeg/jdmerge.c outptr0[RGB_BLUE] = range_limit[y + cblue]; y 326 3rdparty/libjpeg/jdmerge.c y = GETJSAMPLE(*inptr00++); y 327 3rdparty/libjpeg/jdmerge.c outptr0[RGB_RED] = range_limit[y + cred]; y 328 3rdparty/libjpeg/jdmerge.c outptr0[RGB_GREEN] = range_limit[y + cgreen]; y 329 3rdparty/libjpeg/jdmerge.c outptr0[RGB_BLUE] = range_limit[y + cblue]; y 331 3rdparty/libjpeg/jdmerge.c y = GETJSAMPLE(*inptr01++); y 332 3rdparty/libjpeg/jdmerge.c outptr1[RGB_RED] = range_limit[y + cred]; y 333 3rdparty/libjpeg/jdmerge.c outptr1[RGB_GREEN] = range_limit[y + cgreen]; y 334 3rdparty/libjpeg/jdmerge.c outptr1[RGB_BLUE] = range_limit[y + cblue]; y 336 3rdparty/libjpeg/jdmerge.c y = GETJSAMPLE(*inptr01++); y 337 3rdparty/libjpeg/jdmerge.c outptr1[RGB_RED] = range_limit[y + cred]; y 338 3rdparty/libjpeg/jdmerge.c outptr1[RGB_GREEN] = range_limit[y + cgreen]; y 339 3rdparty/libjpeg/jdmerge.c outptr1[RGB_BLUE] = range_limit[y + cblue]; y 349 3rdparty/libjpeg/jdmerge.c y = GETJSAMPLE(*inptr00); y 350 3rdparty/libjpeg/jdmerge.c outptr0[RGB_RED] = range_limit[y + cred]; y 351 3rdparty/libjpeg/jdmerge.c outptr0[RGB_GREEN] = range_limit[y + cgreen]; y 352 3rdparty/libjpeg/jdmerge.c outptr0[RGB_BLUE] = range_limit[y + cblue]; y 353 3rdparty/libjpeg/jdmerge.c y = GETJSAMPLE(*inptr01); y 354 3rdparty/libjpeg/jdmerge.c outptr1[RGB_RED] = range_limit[y + cred]; y 355 3rdparty/libjpeg/jdmerge.c outptr1[RGB_GREEN] = range_limit[y + cgreen]; y 356 3rdparty/libjpeg/jdmerge.c outptr1[RGB_BLUE] = range_limit[y + cblue]; y 2140 3rdparty/libpng/png.c long lo, hi, x, y; y 2149 3rdparty/libpng/png.c y = ((lo >> 16) & 0xffff) + x; y 2151 3rdparty/libpng/png.c lo = (lo & 0xffff) | ((y & 0xffff) << 16); y 2152 3rdparty/libpng/png.c hi = (y >> 16) & 0xffff; y 2548 3rdparty/libpng/png.h #define PNG_ROW_IN_INTERLACE_PASS(y, pass) \ y 2549 3rdparty/libpng/png.h ((PNG_PASS_MASK(pass,0) >> ((y)&7)) & 1) y 593 3rdparty/libtiff/tif_getimage.c uint32 col, row, y, rowstoread; y 612 3rdparty/libtiff/tif_getimage.c y = h - 1; y 616 3rdparty/libtiff/tif_getimage.c y = 0; y 643 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w+col, col, y, y 648 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w+col, col, y, tw, nrow, 0, toskew, buf + pos); y 652 3rdparty/libtiff/tif_getimage.c y += (flip & FLIP_VERTICALLY ? -(int32) nrow : (int32) nrow); y 686 3rdparty/libtiff/tif_getimage.c uint32 col, row, y, rowstoread; y 723 3rdparty/libtiff/tif_getimage.c y = h - 1; y 727 3rdparty/libtiff/tif_getimage.c y = 0; y 792 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w+col, col, y, y 796 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w+col, col, y, y 801 3rdparty/libtiff/tif_getimage.c y += (flip & FLIP_VERTICALLY ?-(int32) nrow : (int32) nrow); y 835 3rdparty/libtiff/tif_getimage.c uint32 row, y, nrow, nrowsub, rowstoread; y 854 3rdparty/libtiff/tif_getimage.c y = h - 1; y 857 3rdparty/libtiff/tif_getimage.c y = 0; y 883 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w, 0, y, w, nrow, fromskew, toskew, buf + pos); y 884 3rdparty/libtiff/tif_getimage.c y += (flip & FLIP_VERTICALLY ? -(int32) nrow : (int32) nrow); y 920 3rdparty/libtiff/tif_getimage.c uint32 row, y, nrow, rowstoread; y 949 3rdparty/libtiff/tif_getimage.c y = h - 1; y 953 3rdparty/libtiff/tif_getimage.c y = 0; y 1014 3rdparty/libtiff/tif_getimage.c (*put)(img, raster+y*w, 0, y, w, nrow, fromskew, toskew, p0 + pos, p1 + pos, y 1016 3rdparty/libtiff/tif_getimage.c y += (flip & FLIP_VERTICALLY ? -(int32) nrow : (int32) nrow); y 1114 3rdparty/libtiff/tif_getimage.c uint32 x, uint32 y, \ y 1128 3rdparty/libtiff/tif_getimage.c (void) y; y 1147 3rdparty/libtiff/tif_getimage.c (void) x; (void) y; y 1164 3rdparty/libtiff/tif_getimage.c (void) x; (void) y; y 1181 3rdparty/libtiff/tif_getimage.c (void) x; (void) y; y 1199 3rdparty/libtiff/tif_getimage.c (void) y; y 1219 3rdparty/libtiff/tif_getimage.c (void) y; y 1239 3rdparty/libtiff/tif_getimage.c (void) y; y 1263 3rdparty/libtiff/tif_getimage.c (void) x; (void) y; y 1280 3rdparty/libtiff/tif_getimage.c (void) x; (void) y; y 1297 3rdparty/libtiff/tif_getimage.c (void) x; (void) y; y 1314 3rdparty/libtiff/tif_getimage.c (void) x; (void) y; y 1333 3rdparty/libtiff/tif_getimage.c (void) x; (void) y; y 1351 3rdparty/libtiff/tif_getimage.c (void) y; y 1377 3rdparty/libtiff/tif_getimage.c (void) y; y 1399 3rdparty/libtiff/tif_getimage.c (void) y; y 1422 3rdparty/libtiff/tif_getimage.c (void) y; y 1451 3rdparty/libtiff/tif_getimage.c (void) x; (void) y; y 1477 3rdparty/libtiff/tif_getimage.c (void) y; y 1497 3rdparty/libtiff/tif_getimage.c uint32 x, uint32 y, \ y 1508 3rdparty/libtiff/tif_getimage.c (void) img; (void) x; (void) y; (void) a; y 1521 3rdparty/libtiff/tif_getimage.c (void) img; (void) x; (void) y; y 1534 3rdparty/libtiff/tif_getimage.c (void) img; (void) y; y 1554 3rdparty/libtiff/tif_getimage.c (void) img; (void) y; y 1579 3rdparty/libtiff/tif_getimage.c (void) img; (void) y; (void) a; y 1599 3rdparty/libtiff/tif_getimage.c (void) img; (void) y; y 1620 3rdparty/libtiff/tif_getimage.c (void) img; (void) y; y 1644 3rdparty/libtiff/tif_getimage.c (void) y; y 1684 3rdparty/libtiff/tif_getimage.c uint32 x, uint32 y, y 1699 3rdparty/libtiff/tif_getimage.c (void) y; y 1758 3rdparty/libtiff/tif_getimage.c (void) y; y 1853 3rdparty/libtiff/tif_getimage.c (void) y; y 1928 3rdparty/libtiff/tif_getimage.c (void) y; y 1974 3rdparty/libtiff/tif_getimage.c (void) y; y 2030 3rdparty/libtiff/tif_getimage.c (void) y; y 2068 3rdparty/libtiff/tif_getimage.c (void) y; y 2104 3rdparty/libtiff/tif_getimage.c (void) y; y 2126 3rdparty/libtiff/tif_getimage.c (void) y; y 918 3rdparty/libtiff/tif_luv.c double L, u, v, s, x, y; y 932 3rdparty/libtiff/tif_luv.c y = 4.*v * s; y 934 3rdparty/libtiff/tif_luv.c XYZ[0] = (float)(x/y * L); y 936 3rdparty/libtiff/tif_luv.c XYZ[2] = (float)((1.-x-y)/y * L); y 1058 3rdparty/libtiff/tif_luv.c double L, u, v, s, x, y; y 1070 3rdparty/libtiff/tif_luv.c y = 4.*v * s; y 1072 3rdparty/libtiff/tif_luv.c XYZ[0] = (float)(x/y * L); y 1074 3rdparty/libtiff/tif_luv.c XYZ[2] = (float)((1.-x-y)/y * L); y 637 3rdparty/libtiff/tif_read.c TIFFReadTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s) y 639 3rdparty/libtiff/tif_read.c if (!TIFFCheckRead(tif, 1) || !TIFFCheckTile(tif, x, y, z, s)) y 642 3rdparty/libtiff/tif_read.c TIFFComputeTile(tif, x, y, z, s), buf, (tmsize_t)(-1))); y 38 3rdparty/libtiff/tif_tile.c TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) y 62 3rdparty/libtiff/tif_tile.c xpt*(y/dy) + y 65 3rdparty/libtiff/tif_tile.c tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx; y 75 3rdparty/libtiff/tif_tile.c TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) y 86 3rdparty/libtiff/tif_tile.c if (y >= td->td_imagelength) { y 89 3rdparty/libtiff/tif_tile.c (unsigned long) y, y 313 3rdparty/libtiff/tif_write.c TIFFWriteTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s) y 315 3rdparty/libtiff/tif_write.c if (!TIFFCheckTile(tif, x, y, z, s)) y 324 3rdparty/libtiff/tif_write.c TIFFComputeTile(tif, x, y, z, s), buf, (tmsize_t)(-1))); y 452 3rdparty/libtiff/tiffio.h extern uint32 TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s); y 453 3rdparty/libtiff/tiffio.h extern int TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s); y 455 3rdparty/libtiff/tiffio.h extern tmsize_t TIFFReadTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s); y 456 3rdparty/libtiff/tiffio.h extern tmsize_t TIFFWriteTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s); y 244 3rdparty/libtiff/tiffiop.h #define TIFFhowmany_32(x, y) (((uint32)x < (0xffffffff - (uint32)(y-1))) ? \ y 245 3rdparty/libtiff/tiffiop.h ((((uint32)(x))+(((uint32)(y))-1))/((uint32)(y))) : \ y 248 3rdparty/libtiff/tiffiop.h #define TIFFroundup_32(x, y) (TIFFhowmany_32(x,y)*(y)) y 249 3rdparty/libtiff/tiffiop.h #define TIFFhowmany_64(x, y) ((((uint64)(x))+(((uint64)(y))-1))/((uint64)(y))) y 251 3rdparty/libtiff/tiffiop.h #define TIFFroundup_64(x, y) (TIFFhowmany_64(x,y)*(y)) y 59 3rdparty/libwebp/dec/buffer.c ok &= (buf->y != NULL); y 114 3rdparty/libwebp/dec/buffer.c buf->y = output; y 149 3rdparty/libwebp/dec/buffer.c const int y = options->crop_top & ~1; y 150 3rdparty/libwebp/dec/buffer.c if (x < 0 || y < 0 || cw <= 0 || ch <= 0 || x + cw > w || y + ch > h) { y 58 3rdparty/libwebp/dec/decode_vp8.h const uint8_t* y, *u, *v; // rows to copy (in yuv420 format) y 187 3rdparty/libwebp/dec/frame.c io->y = ydst; y 191 3rdparty/libwebp/dec/frame.c io->y = dec->cache_y_ + y_offset; y 219 3rdparty/libwebp/dec/frame.c io->y += dec->cache_y_stride_ * delta_y; y 227 3rdparty/libwebp/dec/frame.c io->y += io->crop_left; y 513 3rdparty/libwebp/dec/frame.c io->y = dec->cache_y_; y 674 3rdparty/libwebp/dec/idec.c idec->output_.u.YUVA.y = luma; y 818 3rdparty/libwebp/dec/idec.c return src->u.YUVA.y; y 31 3rdparty/libwebp/dec/io.c uint8_t* const y_dst = buf->y + io->mb_y * buf->y_stride; y 40 3rdparty/libwebp/dec/io.c memcpy(y_dst + j * buf->y_stride, io->y + j * io->y_stride, mb_w); y 54 3rdparty/libwebp/dec/io.c const uint8_t* y_src = io->y; y 83 3rdparty/libwebp/dec/io.c const uint8_t* y_src = io->y; y 110 3rdparty/libwebp/dec/io.c const uint8_t* cur_y = io->y; y 115 3rdparty/libwebp/dec/io.c int y = io->mb_y; y 120 3rdparty/libwebp/dec/io.c if (y == 0) { y 130 3rdparty/libwebp/dec/io.c for (; y + 2 < y_end; y += 2) { y 296 3rdparty/libwebp/dec/io.c const int num_lines_out = Rescale(io->y, io->y_stride, mb_h, &p->scaler_y); y 333 3rdparty/libwebp/dec/io.c buf->y, out_width, out_height, buf->y_stride, 1, y 392 3rdparty/libwebp/dec/io.c io->y + j * io->y_stride, io->y_stride); y 353 3rdparty/libwebp/dec/tree.c int y; y 354 3rdparty/libwebp/dec/tree.c for (y = 0; y < 4; ++y) { y 355 3rdparty/libwebp/dec/tree.c int ymode = left[y]; y 381 3rdparty/libwebp/dec/tree.c left[y] = ymode; y 563 3rdparty/libwebp/dec/vp8.c int x, y, ch; y 583 3rdparty/libwebp/dec/vp8.c for (y = 0; y < 4; ++y) { y 584 3rdparty/libwebp/dec/vp8.c int l = lnz.i8[y]; y 594 3rdparty/libwebp/dec/vp8.c lnz.i8[y] = l; y 595 3rdparty/libwebp/dec/vp8.c non_zero_dc |= PACK(nz_dc, 24 - y * 4); y 596 3rdparty/libwebp/dec/vp8.c non_zero_ac |= PACK(nz_ac, 24 - y * 4); y 604 3rdparty/libwebp/dec/vp8.c for (y = 0; y < 2; ++y) { y 605 3rdparty/libwebp/dec/vp8.c int l = lnz.i8[ch + y]; y 612 3rdparty/libwebp/dec/vp8.c nz_dc.i8[y * 2 + x] = (dst[0] != 0); y 613 3rdparty/libwebp/dec/vp8.c nz_ac.i8[y * 2 + x] = (nz > 1); y 616 3rdparty/libwebp/dec/vp8.c lnz.i8[ch + y] = l; y 462 3rdparty/libwebp/dec/vp8l.c uint8_t* const y = buf->y + y_pos * buf->y_stride; y 465 3rdparty/libwebp/dec/vp8l.c y[i] = VP8RGBToY((p >> 16) & 0xff, (p >> 8) & 0xff, (p >> 0) & 0xff); y 593 3rdparty/libwebp/dec/vp8l.c const uint32_t* const image, int xsize, int bits, int x, int y) { y 595 3rdparty/libwebp/dec/vp8l.c return image[xsize * (y >> bits) + (x >> bits)]; y 599 3rdparty/libwebp/dec/vp8l.c int x, int y) { y 601 3rdparty/libwebp/dec/vp8l.c hdr->huffman_subsample_bits_, x, y); y 544 3rdparty/libwebp/dec/webp.c output.u.YUVA.y = luma; y 588 3rdparty/libwebp/dec/webp.c return WebPIsRGBMode(mode) ? output.u.RGBA.rgba : output.u.YUVA.y; y 736 3rdparty/libwebp/dec/webp.c int x = 0, y = 0, w = W, h = H; y 744 3rdparty/libwebp/dec/webp.c y = options->crop_top; y 747 3rdparty/libwebp/dec/webp.c y &= ~1; // TODO(later): only for YUV420, not YUV422. y 749 3rdparty/libwebp/dec/webp.c if (x < 0 || y < 0 || w <= 0 || h <= 0 || x + w > W || y + h > H) { y 754 3rdparty/libwebp/dec/webp.c io->crop_top = y; y 756 3rdparty/libwebp/dec/webp.c io->crop_bottom = y + h; y 61 3rdparty/libwebp/dsp/dec.c #define STORE(x, y, v) \ y 62 3rdparty/libwebp/dsp/dec.c dst[x + y * BPS] = clip_8b(dst[x + y * BPS] + ((v) >> 3)) y 174 3rdparty/libwebp/dsp/dec.c #define DST(x, y) dst[(x) + (y) * BPS] y 179 3rdparty/libwebp/dsp/dec.c int y; y 180 3rdparty/libwebp/dsp/dec.c for (y = 0; y < size; ++y) { y 182 3rdparty/libwebp/dsp/dsp.h typedef void (*WebPYUV444Converter)(const uint8_t* y, y 87 3rdparty/libwebp/dsp/enc.c #define STORE(x, y, v) \ y 88 3rdparty/libwebp/dsp/enc.c dst[(x) + (y) * BPS] = clip_8b(ref[(x) + (y) * BPS] + ((v) >> 3)) y 227 3rdparty/libwebp/dsp/enc.c #define DST(x, y) dst[(x) + (y) * BPS] y 260 3rdparty/libwebp/dsp/enc.c int y; y 264 3rdparty/libwebp/dsp/enc.c for (y = 0; y < size; ++y) { y 265 3rdparty/libwebp/dsp/enc.c const uint8_t* const clip_table = clip + left[y]; y 500 3rdparty/libwebp/dsp/enc.c int x, y; y 502 3rdparty/libwebp/dsp/enc.c for (y = 0; y < 4; ++y) { y 503 3rdparty/libwebp/dsp/enc.c const uint8_t* const clip_table = clip + top[-2 - y]; y 536 3rdparty/libwebp/dsp/enc.c int y, x; y 537 3rdparty/libwebp/dsp/enc.c for (y = 0; y < h; ++y) { y 613 3rdparty/libwebp/dsp/enc.c int x, y; y 614 3rdparty/libwebp/dsp/enc.c for (y = 0; y < 16 * BPS; y += 4 * BPS) { y 616 3rdparty/libwebp/dsp/enc.c D += Disto4x4(a + x + y, b + x + y, w); y 659 3rdparty/libwebp/dsp/enc.c int y; y 660 3rdparty/libwebp/dsp/enc.c for (y = 0; y < size; ++y) { y 608 3rdparty/libwebp/dsp/enc_neon.c int x, y; y 609 3rdparty/libwebp/dsp/enc_neon.c for (y = 0; y < 16 * BPS; y += 4 * BPS) { y 611 3rdparty/libwebp/dsp/enc_neon.c D += Disto4x4(a + x + y, b + x + y, w); y 798 3rdparty/libwebp/dsp/enc_sse2.c int x, y; y 799 3rdparty/libwebp/dsp/enc_sse2.c for (y = 0; y < 16 * BPS; y += 4 * BPS) { y 801 3rdparty/libwebp/dsp/enc_sse2.c D += Disto4x4SSE2(a + x + y, b + x + y, w); y 542 3rdparty/libwebp/dsp/lossless.c int y; y 544 3rdparty/libwebp/dsp/lossless.c for (y = 0; y < ymax; ++y) { y 546 3rdparty/libwebp/dsp/lossless.c const int row = row_start + y; y 591 3rdparty/libwebp/dsp/lossless.c int y; y 592 3rdparty/libwebp/dsp/lossless.c for (y = 0; y < ymax; ++y) { y 594 3rdparty/libwebp/dsp/lossless.c const int row = row_start + y; y 637 3rdparty/libwebp/dsp/lossless.c int y; y 648 3rdparty/libwebp/dsp/lossless.c for (y = 0; y < max_tile_size; ++y) { y 651 3rdparty/libwebp/dsp/lossless.c int all_y = tile_y_offset + y; y 685 3rdparty/libwebp/dsp/lossless.c int y = y_start; y 689 3rdparty/libwebp/dsp/lossless.c transform->data_ + (y >> transform->bits_) * tiles_per_row; y 691 3rdparty/libwebp/dsp/lossless.c while (y < y_end) { y 711 3rdparty/libwebp/dsp/lossless.c ++y; y 712 3rdparty/libwebp/dsp/lossless.c if ((y & mask) == 0) { // Use the same mask, since tiles are squares. y 979 3rdparty/libwebp/dsp/lossless.c int y; y 991 3rdparty/libwebp/dsp/lossless.c for (y = tile_y; y < yscan; ++y) { y 992 3rdparty/libwebp/dsp/lossless.c int ix = y * xsize + tile_x; y 1017 3rdparty/libwebp/dsp/lossless.c int y; y 1044 3rdparty/libwebp/dsp/lossless.c for (y = 0; y < max_tile_size; ++y) { y 1047 3rdparty/libwebp/dsp/lossless.c int all_y = tile_y_offset + y; y 1078 3rdparty/libwebp/dsp/lossless.c int y = y_start; y 1080 3rdparty/libwebp/dsp/lossless.c transform->data_ + (y >> transform->bits_) * tiles_per_row; y 1082 3rdparty/libwebp/dsp/lossless.c while (y < y_end) { y 1092 3rdparty/libwebp/dsp/lossless.c ++y; y 1093 3rdparty/libwebp/dsp/lossless.c if ((y & mask) == 0) pred_row += tiles_per_row;; y 1102 3rdparty/libwebp/dsp/lossless.c int y; \ y 1110 3rdparty/libwebp/dsp/lossless.c for (y = y_start; y < y_end; ++y) { \ y 1124 3rdparty/libwebp/dsp/lossless.c for (y = y_start; y < y_end; ++y) { \ y 207 3rdparty/libwebp/dsp/upsampling.c static void FUNC_NAME(const uint8_t* y, const uint8_t* u, const uint8_t* v, \ y 210 3rdparty/libwebp/dsp/upsampling.c for (i = 0; i < len; ++i) FUNC(y[i], u[i], v[i], &dst[i * XSTEP]); \ y 100 3rdparty/libwebp/dsp/upsampling_neon.c uint8x8_t y = vld1_u8(src_y + (cur_x) + i); \ y 103 3rdparty/libwebp/dsp/upsampling_neon.c int16x8_t yy = vreinterpretq_s16_u16(vsubl_u8(y, u16)); \ y 147 3rdparty/libwebp/dsp/upsampling_neon.c y = vqmovun_s16(vcombine_s16(vrshrn_n_s32(rl, 16), \ y 153 3rdparty/libwebp/dsp/upsampling_neon.c STR_ ## FMT(out + off, y, u, v); \ y 183 3rdparty/libwebp/dsp/upsampling_neon.c int y = src_y[(cur_x) + i]; \ y 186 3rdparty/libwebp/dsp/upsampling_neon.c VP8YuvTo ## FMT(y, u, v, rgb + off); \ y 73 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToRgb(uint8_t y, uint8_t u, uint8_t v, y 78 3rdparty/libwebp/dsp/yuv.h rgb[0] = VP8kClip[y + r_off - YUV_RANGE_MIN]; y 79 3rdparty/libwebp/dsp/yuv.h rgb[1] = VP8kClip[y + g_off - YUV_RANGE_MIN]; y 80 3rdparty/libwebp/dsp/yuv.h rgb[2] = VP8kClip[y + b_off - YUV_RANGE_MIN]; y 83 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToBgr(uint8_t y, uint8_t u, uint8_t v, y 88 3rdparty/libwebp/dsp/yuv.h bgr[0] = VP8kClip[y + b_off - YUV_RANGE_MIN]; y 89 3rdparty/libwebp/dsp/yuv.h bgr[1] = VP8kClip[y + g_off - YUV_RANGE_MIN]; y 90 3rdparty/libwebp/dsp/yuv.h bgr[2] = VP8kClip[y + r_off - YUV_RANGE_MIN]; y 93 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToRgb565(uint8_t y, uint8_t u, uint8_t v, y 98 3rdparty/libwebp/dsp/yuv.h const uint8_t rg = ((VP8kClip[y + r_off - YUV_RANGE_MIN] & 0xf8) | y 99 3rdparty/libwebp/dsp/yuv.h (VP8kClip[y + g_off - YUV_RANGE_MIN] >> 5)); y 100 3rdparty/libwebp/dsp/yuv.h const uint8_t gb = (((VP8kClip[y + g_off - YUV_RANGE_MIN] << 3) & 0xe0) | y 101 3rdparty/libwebp/dsp/yuv.h (VP8kClip[y + b_off - YUV_RANGE_MIN] >> 3)); y 111 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToRgba4444(uint8_t y, uint8_t u, uint8_t v, y 116 3rdparty/libwebp/dsp/yuv.h const uint8_t rg = ((VP8kClip4Bits[y + r_off - YUV_RANGE_MIN] << 4) | y 117 3rdparty/libwebp/dsp/yuv.h VP8kClip4Bits[y + g_off - YUV_RANGE_MIN]); y 118 3rdparty/libwebp/dsp/yuv.h const uint8_t ba = (VP8kClip4Bits[y + b_off - YUV_RANGE_MIN] << 4) | 0x0f; y 150 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE int VP8YUVToR(int y, int v) { y 151 3rdparty/libwebp/dsp/yuv.h return kYScale * y + kVToR * v + kRCst; y 154 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE int VP8YUVToG(int y, int u, int v) { y 155 3rdparty/libwebp/dsp/yuv.h return kYScale * y - kUToG * u - kVToG * v + kGCst; y 158 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE int VP8YUVToB(int y, int u) { y 159 3rdparty/libwebp/dsp/yuv.h return kYScale * y + kUToB * u + kBCst; y 162 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToRgb(uint8_t y, uint8_t u, uint8_t v, y 164 3rdparty/libwebp/dsp/yuv.h rgb[0] = VP8Clip8(VP8YUVToR(y, v)); y 165 3rdparty/libwebp/dsp/yuv.h rgb[1] = VP8Clip8(VP8YUVToG(y, u, v)); y 166 3rdparty/libwebp/dsp/yuv.h rgb[2] = VP8Clip8(VP8YUVToB(y, u)); y 169 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToBgr(uint8_t y, uint8_t u, uint8_t v, y 171 3rdparty/libwebp/dsp/yuv.h bgr[0] = VP8Clip8(VP8YUVToB(y, u)); y 172 3rdparty/libwebp/dsp/yuv.h bgr[1] = VP8Clip8(VP8YUVToG(y, u, v)); y 173 3rdparty/libwebp/dsp/yuv.h bgr[2] = VP8Clip8(VP8YUVToR(y, v)); y 176 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToRgb565(uint8_t y, uint8_t u, uint8_t v, y 178 3rdparty/libwebp/dsp/yuv.h const int r = VP8Clip8(VP8YUVToR(y, u)); y 179 3rdparty/libwebp/dsp/yuv.h const int g = VP8ClipN(VP8YUVToG(y, u, v), 6); y 180 3rdparty/libwebp/dsp/yuv.h const int b = VP8ClipN(VP8YUVToB(y, v), 5); y 192 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToRgba4444(uint8_t y, uint8_t u, uint8_t v, y 194 3rdparty/libwebp/dsp/yuv.h const int r = VP8Clip8(VP8YUVToR(y, u)); y 195 3rdparty/libwebp/dsp/yuv.h const int g = VP8ClipN(VP8YUVToG(y, u, v), 4); y 196 3rdparty/libwebp/dsp/yuv.h const int b = VP8Clip8(VP8YUVToB(y, v)); y 210 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToArgb(uint8_t y, uint8_t u, uint8_t v, y 213 3rdparty/libwebp/dsp/yuv.h VP8YuvToRgb(y, u, v, argb + 1); y 216 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToBgra(uint8_t y, uint8_t u, uint8_t v, y 218 3rdparty/libwebp/dsp/yuv.h VP8YuvToBgr(y, u, v, bgra); y 222 3rdparty/libwebp/dsp/yuv.h static WEBP_INLINE void VP8YuvToRgba(uint8_t y, uint8_t u, uint8_t v, y 224 3rdparty/libwebp/dsp/yuv.h VP8YuvToRgb(y, u, v, rgba); y 33 3rdparty/libwebp/enc/analysis.c int n, x, y; y 41 3rdparty/libwebp/enc/analysis.c for (y = 1; y < h - 1; ++y) { y 44 3rdparty/libwebp/enc/analysis.c const VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; y 60 3rdparty/libwebp/enc/analysis.c tmp[x + y * w] = majority_seg; y 63 3rdparty/libwebp/enc/analysis.c for (y = 1; y < h - 1; ++y) { y 65 3rdparty/libwebp/enc/analysis.c VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; y 66 3rdparty/libwebp/enc/analysis.c mb->segment_ = tmp[x + y * w]; y 202 3rdparty/libwebp/enc/backward_references.c const uint32_t y = distance / xsize; y 209 3rdparty/libwebp/enc/backward_references.c val -= y * y + x * x; y 258 3rdparty/libwebp/enc/filter.c int x, y; y 261 3rdparty/libwebp/enc/filter.c for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { y 311 3rdparty/libwebp/enc/filter.c int x, y; y 312 3rdparty/libwebp/enc/filter.c for (y = 0; y < H; ++y) { y 314 3rdparty/libwebp/enc/filter.c VP8SSIMAccumulate(src1, stride1, src2, stride2, x, y, W, H, stats); y 320 3rdparty/libwebp/enc/filter.c int x, y; y 325 3rdparty/libwebp/enc/filter.c for (y = 3; y < 13; y++) { y 326 3rdparty/libwebp/enc/filter.c VP8SSIMAccumulate(yuv1 + Y_OFF, BPS, yuv2 + Y_OFF, BPS, x, y, 16, 16, &s); y 330 3rdparty/libwebp/enc/filter.c for (y = 1; y < 7; y++) { y 331 3rdparty/libwebp/enc/filter.c VP8SSIMAccumulate(yuv1 + U_OFF, BPS, yuv2 + U_OFF, BPS, x, y, 8, 8, &s); y 332 3rdparty/libwebp/enc/filter.c VP8SSIMAccumulate(yuv1 + V_OFF, BPS, yuv2 + V_OFF, BPS, x, y, 8, 8, &s); y 332 3rdparty/libwebp/enc/frame.c const int x = (it->i4_ & 3), y = (it->i4_ >> 2); y 339 3rdparty/libwebp/enc/frame.c ctx = it->top_nz_[x] + it->left_nz_[y]; y 348 3rdparty/libwebp/enc/frame.c int x, y; y 360 3rdparty/libwebp/enc/frame.c for (y = 0; y < 4; ++y) { y 362 3rdparty/libwebp/enc/frame.c const int ctx = it->top_nz_[x] + it->left_nz_[y]; y 363 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_ac_levels[x + y * 4], &res); y 365 3rdparty/libwebp/enc/frame.c it->top_nz_[x] = it->left_nz_[y] = (res.last >= 0); y 374 3rdparty/libwebp/enc/frame.c int ch, x, y; y 381 3rdparty/libwebp/enc/frame.c for (y = 0; y < 2; ++y) { y 383 3rdparty/libwebp/enc/frame.c const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; y 384 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->uv_levels[ch * 2 + x + y * 2], &res); y 386 3rdparty/libwebp/enc/frame.c it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = (res.last >= 0); y 470 3rdparty/libwebp/enc/frame.c int x, y, ch; y 491 3rdparty/libwebp/enc/frame.c for (y = 0; y < 4; ++y) { y 493 3rdparty/libwebp/enc/frame.c const int ctx = it->top_nz_[x] + it->left_nz_[y]; y 494 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_ac_levels[x + y * 4], &res); y 495 3rdparty/libwebp/enc/frame.c it->top_nz_[x] = it->left_nz_[y] = PutCoeffs(bw, ctx, &res); y 503 3rdparty/libwebp/enc/frame.c for (y = 0; y < 2; ++y) { y 505 3rdparty/libwebp/enc/frame.c const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; y 506 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->uv_levels[ch * 2 + x + y * 2], &res); y 507 3rdparty/libwebp/enc/frame.c it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = y 524 3rdparty/libwebp/enc/frame.c int x, y, ch; y 541 3rdparty/libwebp/enc/frame.c for (y = 0; y < 4; ++y) { y 543 3rdparty/libwebp/enc/frame.c const int ctx = it->top_nz_[x] + it->left_nz_[y]; y 544 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_ac_levels[x + y * 4], &res); y 545 3rdparty/libwebp/enc/frame.c it->top_nz_[x] = it->left_nz_[y] = RecordCoeffs(ctx, &res); y 552 3rdparty/libwebp/enc/frame.c for (y = 0; y < 2; ++y) { y 554 3rdparty/libwebp/enc/frame.c const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; y 555 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->uv_levels[ch * 2 + x + y * 2], &res); y 556 3rdparty/libwebp/enc/frame.c it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = y 572 3rdparty/libwebp/enc/frame.c int x, y, ch; y 591 3rdparty/libwebp/enc/frame.c for (y = 0; y < 4; ++y) { y 593 3rdparty/libwebp/enc/frame.c const int ctx = it->top_nz_[x] + it->left_nz_[y]; y 594 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_ac_levels[x + y * 4], &res); y 595 3rdparty/libwebp/enc/frame.c it->top_nz_[x] = it->left_nz_[y] = y 605 3rdparty/libwebp/enc/frame.c for (y = 0; y < 2; ++y) { y 607 3rdparty/libwebp/enc/frame.c const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; y 608 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->uv_levels[ch * 2 + x + y * 2], &res); y 609 3rdparty/libwebp/enc/frame.c it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = y 626 3rdparty/libwebp/enc/frame.c int y; y 627 3rdparty/libwebp/enc/frame.c for (y = 0; y < size; ++y) { y 339 3rdparty/libwebp/enc/histogram.c int x = 0, y = 0; y 345 3rdparty/libwebp/enc/histogram.c const int ix = (y >> histo_bits) * histo_xsize + (x >> histo_bits); y 350 3rdparty/libwebp/enc/histogram.c ++y; y 108 3rdparty/libwebp/enc/iterator.c const int x = it->x_, y = it->y_; y 110 3rdparty/libwebp/enc/iterator.c const uint8_t* const ysrc = pic->y + (y * pic->y_stride + x) * 16; y 111 3rdparty/libwebp/enc/iterator.c const uint8_t* const usrc = pic->u + (y * pic->uv_stride + x) * 8; y 112 3rdparty/libwebp/enc/iterator.c const uint8_t* const vsrc = pic->v + (y * pic->uv_stride + x) * 8; y 117 3rdparty/libwebp/enc/iterator.c int h = (pic->height - y * 16); y 148 3rdparty/libwebp/enc/iterator.c const int x = it->x_, y = it->y_; y 153 3rdparty/libwebp/enc/iterator.c uint8_t* const ydst = pic->y + (y * pic->y_stride + x) * 16; y 154 3rdparty/libwebp/enc/iterator.c uint8_t* const udst = pic->u + (y * pic->uv_stride + x) * 8; y 155 3rdparty/libwebp/enc/iterator.c uint8_t* const vdst = pic->v + (y * pic->uv_stride + x) * 8; y 157 3rdparty/libwebp/enc/iterator.c int h = (pic->height - y * 16); y 251 3rdparty/libwebp/enc/iterator.c const int x = it->x_, y = it->y_; y 268 3rdparty/libwebp/enc/iterator.c if (y < enc->mb_h_ - 1) { // top y 294 3rdparty/libwebp/enc/iterator.c int y; y 295 3rdparty/libwebp/enc/iterator.c for (y = 0; y < 4; ++y) { y 304 3rdparty/libwebp/enc/iterator.c int y; y 305 3rdparty/libwebp/enc/iterator.c for (y = 4; y > 0; --y) { y 103 3rdparty/libwebp/enc/picture.c picture->y = mem; y 151 3rdparty/libwebp/enc/picture.c picture->y = picture->u = picture->v = picture->a = NULL; y 240 3rdparty/libwebp/enc/picture.c CopyPlane(src->y, src->y_stride, y 241 3rdparty/libwebp/enc/picture.c dst->y, dst->y_stride, dst->width, dst->height); y 292 3rdparty/libwebp/enc/picture.c dst->y = src->y + top * src->y_stride + left; y 335 3rdparty/libwebp/enc/picture.c CopyPlane(pic->y + y_offset, pic->y_stride, y 336 3rdparty/libwebp/enc/picture.c tmp.y, tmp.y_stride, width, height); y 383 3rdparty/libwebp/enc/picture.c int y = 0; y 391 3rdparty/libwebp/enc/picture.c while (y < src_height) { y 392 3rdparty/libwebp/enc/picture.c y += WebPRescalerImport(&rescaler, src_height - y, y 393 3rdparty/libwebp/enc/picture.c src + y * src_stride, src_stride); y 429 3rdparty/libwebp/enc/picture.c RescalePlane(pic->y, prev_width, prev_height, pic->y_stride, y 430 3rdparty/libwebp/enc/picture.c tmp.y, width, height, tmp.y_stride, work, 1); y 539 3rdparty/libwebp/enc/picture.c int x, y; y 542 3rdparty/libwebp/enc/picture.c for (y = 0; y < picture->height; ++y) { y 561 3rdparty/libwebp/enc/picture.c #define RGB_TO_UV(x, y, SUM) { \ y 562 3rdparty/libwebp/enc/picture.c const int src = (2 * (step * (x) + (y) * rgb_stride)); \ y 563 3rdparty/libwebp/enc/picture.c const int dst = (x) + (y) * picture->uv_stride; \ y 571 3rdparty/libwebp/enc/picture.c #define RGB_TO_UV0(x_in, x_out, y, SUM) { \ y 572 3rdparty/libwebp/enc/picture.c const int src = (step * (x_in) + (y) * rgb_stride); \ y 573 3rdparty/libwebp/enc/picture.c const int dst = (x_out) + (y) * picture->uv0_stride; \ y 582 3rdparty/libwebp/enc/picture.c int y; y 585 3rdparty/libwebp/enc/picture.c for (y = 0; y < uv_height; ++y) { y 586 3rdparty/libwebp/enc/picture.c memset(picture->u + y * picture->uv_stride, 128, uv_width); y 587 3rdparty/libwebp/enc/picture.c memset(picture->v + y * picture->uv_stride, 128, uv_width); y 599 3rdparty/libwebp/enc/picture.c int x, y; y 612 3rdparty/libwebp/enc/picture.c for (y = 0; y < height; ++y) { y 614 3rdparty/libwebp/enc/picture.c const int offset = step * x + y * rgb_stride; y 615 3rdparty/libwebp/enc/picture.c picture->y[x + y * picture->y_stride] = y 622 3rdparty/libwebp/enc/picture.c for (y = 0; y < (height >> 1); ++y) { y 624 3rdparty/libwebp/enc/picture.c RGB_TO_UV(x, y, SUM4); y 627 3rdparty/libwebp/enc/picture.c RGB_TO_UV(x, y, SUM2V); y 632 3rdparty/libwebp/enc/picture.c RGB_TO_UV(x, y, SUM2H); y 635 3rdparty/libwebp/enc/picture.c RGB_TO_UV(x, y, SUM1); y 642 3rdparty/libwebp/enc/picture.c for (y = 0; y < height; ++y) { y 644 3rdparty/libwebp/enc/picture.c RGB_TO_UV0(2 * x, x, y, SUM2H); y 647 3rdparty/libwebp/enc/picture.c RGB_TO_UV0(2 * x, x, y, SUM1); y 651 3rdparty/libwebp/enc/picture.c for (y = 0; y < height; ++y) { y 653 3rdparty/libwebp/enc/picture.c RGB_TO_UV0(x, x, y, SUM1); y 664 3rdparty/libwebp/enc/picture.c for (y = 0; y < height; ++y) { y 666 3rdparty/libwebp/enc/picture.c picture->a[x + y * picture->a_stride] = y 667 3rdparty/libwebp/enc/picture.c a_ptr[step * x + y * rgb_stride]; y 696 3rdparty/libwebp/enc/picture.c int x, y; y 697 3rdparty/libwebp/enc/picture.c for (y = 0; y < height; ++y) { y 699 3rdparty/libwebp/enc/picture.c const int offset = step * x + y * rgb_stride; y 705 3rdparty/libwebp/enc/picture.c picture->argb[x + y * picture->argb_stride] = argb; y 709 3rdparty/libwebp/enc/picture.c int x, y; y 711 3rdparty/libwebp/enc/picture.c for (y = 0; y < height; ++y) { y 713 3rdparty/libwebp/enc/picture.c const int offset = step * x + y * rgb_stride; y 718 3rdparty/libwebp/enc/picture.c picture->argb[x + y * picture->argb_stride] = argb; y 765 3rdparty/libwebp/enc/picture.c if (picture->memory_ == NULL || picture->y == NULL || y 780 3rdparty/libwebp/enc/picture.c int y; y 785 3rdparty/libwebp/enc/picture.c const uint8_t *cur_u = picture->u, *cur_v = picture->v, *cur_y = picture->y; y 793 3rdparty/libwebp/enc/picture.c for (y = 1; y + 1 < height; y += 2) { y 809 3rdparty/libwebp/enc/picture.c for (y = 0; y < height; ++y) { y 810 3rdparty/libwebp/enc/picture.c uint32_t* const argb_dst = picture->argb + y * picture->argb_stride; y 811 3rdparty/libwebp/enc/picture.c const uint8_t* const src = picture->a + y * picture->a_stride; y 856 3rdparty/libwebp/enc/picture.c int y, x; y 857 3rdparty/libwebp/enc/picture.c for (y = 0; y < size; ++y) { y 869 3rdparty/libwebp/enc/picture.c int y; y 870 3rdparty/libwebp/enc/picture.c for (y = 0; y < size; ++y) { y 877 3rdparty/libwebp/enc/picture.c int x, y, w, h; y 888 3rdparty/libwebp/enc/picture.c for (y = 0; y < h; ++y) { y 891 3rdparty/libwebp/enc/picture.c const int off_a = (y * pic->a_stride + x) * SIZE; y 892 3rdparty/libwebp/enc/picture.c const int off_y = (y * pic->y_stride + x) * SIZE; y 893 3rdparty/libwebp/enc/picture.c const int off_uv = (y * pic->uv_stride + x) * SIZE2; y 896 3rdparty/libwebp/enc/picture.c values[0] = pic->y[off_y]; y 901 3rdparty/libwebp/enc/picture.c flatten(pic->y + off_y, values[0], pic->y_stride, SIZE); y 927 3rdparty/libwebp/enc/picture.c int x, y; y 929 3rdparty/libwebp/enc/picture.c for (y = 0; y < h; ++y) { y 930 3rdparty/libwebp/enc/picture.c const int y_0 = (y - RADIUS < 0) ? 0 : y - RADIUS; y 931 3rdparty/libwebp/enc/picture.c const int y_1 = (y + RADIUS + 1 >= h) ? h : y + RADIUS + 1; y 936 3rdparty/libwebp/enc/picture.c const double value = (double)ref[y * ref_stride + x]; y 970 3rdparty/libwebp/enc/picture.c src->y == NULL || ref->y == NULL || y 993 3rdparty/libwebp/enc/picture.c sse[0] = AccumulateLSIM(src->y, src->y_stride, y 994 3rdparty/libwebp/enc/picture.c ref->y, ref->y_stride, src->width, src->height); y 1018 3rdparty/libwebp/enc/picture.c VP8SSIMAccumulatePlane(src->y, src->y_stride, y 1019 3rdparty/libwebp/enc/picture.c ref->y, ref->y_stride, y 666 3rdparty/libwebp/enc/quant.c int x, y; y 668 3rdparty/libwebp/enc/quant.c for (y = 0, n = 0; y < 4; ++y) { y 670 3rdparty/libwebp/enc/quant.c const int ctx = it->top_nz_[x] + it->left_nz_[y]; y 674 3rdparty/libwebp/enc/quant.c it->top_nz_[x] = it->left_nz_[y] = non_zero; y 706 3rdparty/libwebp/enc/quant.c const int x = it->i4_ & 3, y = it->i4_ >> 2; y 707 3rdparty/libwebp/enc/quant.c const int ctx = it->top_nz_[x] + it->left_nz_[y]; y 731 3rdparty/libwebp/enc/quant.c int ch, x, y; y 733 3rdparty/libwebp/enc/quant.c for (y = 0; y < 2; ++y) { y 735 3rdparty/libwebp/enc/quant.c const int ctx = it->top_nz_[4 + ch + x] + it->left_nz_[4 + ch + y]; y 739 3rdparty/libwebp/enc/quant.c it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = non_zero; y 815 3rdparty/libwebp/enc/quant.c const int x = (it->i4_ & 3), y = it->i4_ >> 2; y 816 3rdparty/libwebp/enc/quant.c const int left = (x == 0) ? it->preds_[y * preds_w - 1] : modes[it->i4_ - 1]; y 817 3rdparty/libwebp/enc/quant.c const int top = (y == 0) ? it->preds_[-preds_w + x] : modes[it->i4_ - 4]; y 336 3rdparty/libwebp/enc/tree.c int x, y; y 337 3rdparty/libwebp/enc/tree.c for (y = 0; y < 4; ++y) { y 51 3rdparty/libwebp/enc/vp8l.c int i, x, y, key; y 61 3rdparty/libwebp/enc/vp8l.c for (y = 0; y < height; ++y) { y 109 3rdparty/libwebp/enc/vp8l.c int x, y; y 121 3rdparty/libwebp/enc/vp8l.c for (y = 0; y < height; ++y) { y 430 3rdparty/libwebp/enc/vp8l.c int y = 0; y 436 3rdparty/libwebp/enc/vp8l.c (y >> histo_bits) * histo_xsize + y 466 3rdparty/libwebp/enc/vp8l.c ++y; y 820 3rdparty/libwebp/enc/vp8l.c int i, x, y; y 835 3rdparty/libwebp/enc/vp8l.c for (y = 0; y < height; ++y) { y 848 3rdparty/libwebp/enc/vp8l.c for (y = 0; y < height; ++y) { y 1007 3rdparty/libwebp/enc/vp8l.c int y; y 1010 3rdparty/libwebp/enc/vp8l.c for (y = 0; y < height; ++y) { y 1011 3rdparty/libwebp/enc/vp8l.c memcpy(enc->argb_ + y * width, y 1012 3rdparty/libwebp/enc/vp8l.c picture->argb + y * picture->argb_stride, y 378 3rdparty/libwebp/enc/webpenc.c if (pic->y == NULL || pic->u == NULL || pic->v == NULL) { y 25 3rdparty/libwebp/utils/rescaler.c #define MULT_FIX(x, y) (((int64_t)(x) * (y) + (1 << (RFIX - 1))) >> RFIX) y 184 3rdparty/libwebp/webp/decode.h uint8_t* y, *u, *v, *a; // pointer to luma, chroma U/V, alpha samples y 282 3rdparty/libwebp/webp/encode.h uint8_t *y, *u, *v; // pointers to luma/chroma planes. y 62 3rdparty/openexr/Half/toFloat.cpp halfToFloat (unsigned short y) y 65 3rdparty/openexr/Half/toFloat.cpp int s = (y >> 15) & 0x00000001; y 66 3rdparty/openexr/Half/toFloat.cpp int e = (y >> 10) & 0x0000001f; y 67 3rdparty/openexr/Half/toFloat.cpp int m = y & 0x000003ff; y 438 3rdparty/openexr/IlmImf/ImfAcesFile.cpp float fy = fileNeutral.y; y 442 3rdparty/openexr/IlmImf/ImfAcesFile.cpp float ay = acesNeutral.y; y 522 3rdparty/openexr/IlmImf/ImfAcesFile.cpp for (int y = minY; y <= maxY; ++y) y 526 3rdparty/openexr/IlmImf/ImfAcesFile.cpp _data->fbYStride * y; y 67 3rdparty/openexr/IlmImf/ImfAttribute.cpp operator () (const char *x, const char *y) const y 69 3rdparty/openexr/IlmImf/ImfAttribute.cpp return strcmp (x, y) < 0; y 537 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp _maxY = dataWindow.max.y; y 655 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int minY = range.min.y; y 656 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int maxY = min (range.max.y, _maxY); y 685 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp for (int y = minY; y <= maxY; ++y) y 691 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (modp (y, cd.ys) != 0) y 720 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp for (int y = minY; y <= maxY; ++y) y 730 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (modp (y, cd.ys) != 0) y 788 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp for (int y = 0; y < cd.ny; y += 4) y 798 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp unsigned short *row0 = cd.start + y * cd.nx; y 803 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (y + 3 >= cd.ny) y 805 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (y + 1 >= cd.ny) y 808 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (y + 2 >= cd.ny) y 888 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int minY = range.min.y; y 889 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int maxY = min (range.max.y, _maxY); y 935 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp for (int y = 0; y < cd.ny; y += 4) y 937 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp unsigned short *row0 = cd.start + y * cd.nx; y 972 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (y + 3 < cd.ny) y 983 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (y + 1 < cd.ny) y 986 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (y + 2 < cd.ny) y 1002 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp for (int y = minY; y <= maxY; ++y) y 1008 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (modp (y, cd.ys) != 0) y 1031 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp for (int y = minY; y <= maxY; ++y) y 1041 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (modp (y, cd.ys) != 0) y 63 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::write <StreamIO> (os, _value.min.y); y 65 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::write <StreamIO> (os, _value.max.y); y 74 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::read <StreamIO> (is, _value.min.y); y 76 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::read <StreamIO> (is, _value.max.y); y 93 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::write <StreamIO> (os, _value.min.y); y 95 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::write <StreamIO> (os, _value.max.y); y 104 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::read <StreamIO> (is, _value.min.y); y 106 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::read <StreamIO> (is, _value.max.y); y 239 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMin = dw.min.y; y 241 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMax = dw.max.y; y 261 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMin = dw.min.y; y 263 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMax = dw.max.y; y 282 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp ImfHeaderSetScreenWindowCenter (ImfHeader *hdr, float x, float y) y 284 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp header(hdr)->screenWindowCenter() = V2f (x, y); y 289 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp ImfHeaderScreenWindowCenter (const ImfHeader *hdr, float *x, float *y) y 293 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *y = swc.y; y 555 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMin = box.min.y; y 557 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMax = box.max.y; y 611 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMin = box.min.y; y 613 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMax = box.max.y; y 628 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp int x, int y) y 632 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp V2i v (x, y); y 652 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp int *x, int *y) y 660 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *y = v.y; y 675 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp float x, float y) y 679 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp V2f v (x, y); y 699 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp float *x, float *y) y 707 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *y = v.y; y 722 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp int x, int y, int z) y 726 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp V3i v (x, y, z); y 746 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp int *x, int *y, int *z) y 754 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *y = v.y; y 770 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp float x, float y, float z) y 774 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp V3f v (x, y, z); y 794 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp float *x, float *y, float *z) y 802 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *y = v.y; y 182 3rdparty/openexr/IlmImf/ImfCRgbaFile.h float x, float y); y 185 3rdparty/openexr/IlmImf/ImfCRgbaFile.h float *x, float *y); y 256 3rdparty/openexr/IlmImf/ImfCRgbaFile.h int x, int y); y 260 3rdparty/openexr/IlmImf/ImfCRgbaFile.h int *x, int *y); y 264 3rdparty/openexr/IlmImf/ImfCRgbaFile.h float x, float y); y 268 3rdparty/openexr/IlmImf/ImfCRgbaFile.h float *x, float *y); y 272 3rdparty/openexr/IlmImf/ImfCRgbaFile.h int x, int y, int z); y 276 3rdparty/openexr/IlmImf/ImfCRgbaFile.h int *x, int *y, int *z); y 280 3rdparty/openexr/IlmImf/ImfCRgbaFile.h float x, float y, float z); y 284 3rdparty/openexr/IlmImf/ImfCRgbaFile.h float *x, float *y, float *z); y 417 3rdparty/openexr/IlmImf/ImfChannelList.h const ChannelList::ConstIterator &y) y 419 3rdparty/openexr/IlmImf/ImfChannelList.h return x._i == y._i; y 425 3rdparty/openexr/IlmImf/ImfChannelList.h const ChannelList::ConstIterator &y) y 427 3rdparty/openexr/IlmImf/ImfChannelList.h return !(x == y); y 77 3rdparty/openexr/IlmImf/ImfChromaticities.cpp float X = chroma.white.x * Y / chroma.white.y; y 78 3rdparty/openexr/IlmImf/ImfChromaticities.cpp float Z = (1 - chroma.white.x - chroma.white.y) * Y / chroma.white.y; y 84 3rdparty/openexr/IlmImf/ImfChromaticities.cpp float d = chroma.red.x * (chroma.blue.y - chroma.green.y) + y 85 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.blue.x * (chroma.green.y - chroma.red.y) + y 86 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.green.x * (chroma.red.y - chroma.blue.y); y 88 3rdparty/openexr/IlmImf/ImfChromaticities.cpp float Sr = (X * (chroma.blue.y - chroma.green.y) - y 89 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.green.x * (Y * (chroma.blue.y - 1) + y 90 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.blue.y * (X + Z)) + y 91 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.blue.x * (Y * (chroma.green.y - 1) + y 92 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.green.y * (X + Z))) / d; y 94 3rdparty/openexr/IlmImf/ImfChromaticities.cpp float Sg = (X * (chroma.red.y - chroma.blue.y) + y 95 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.red.x * (Y * (chroma.blue.y - 1) + y 96 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.blue.y * (X + Z)) - y 97 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.blue.x * (Y * (chroma.red.y - 1) + y 98 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.red.y * (X + Z))) / d; y 100 3rdparty/openexr/IlmImf/ImfChromaticities.cpp float Sb = (X * (chroma.green.y - chroma.red.y) - y 101 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.red.x * (Y * (chroma.green.y - 1) + y 102 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.green.y * (X + Z)) + y 103 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.green.x * (Y * (chroma.red.y - 1) + y 104 3rdparty/openexr/IlmImf/ImfChromaticities.cpp chroma.red.y * (X + Z))) / d; y 113 3rdparty/openexr/IlmImf/ImfChromaticities.cpp M[0][1] = Sr * chroma.red.y; y 114 3rdparty/openexr/IlmImf/ImfChromaticities.cpp M[0][2] = Sr * (1 - chroma.red.x - chroma.red.y); y 117 3rdparty/openexr/IlmImf/ImfChromaticities.cpp M[1][1] = Sg * chroma.green.y; y 118 3rdparty/openexr/IlmImf/ImfChromaticities.cpp M[1][2] = Sg * (1 - chroma.green.x - chroma.green.y); y 121 3rdparty/openexr/IlmImf/ImfChromaticities.cpp M[2][1] = Sb * chroma.blue.y; y 122 3rdparty/openexr/IlmImf/ImfChromaticities.cpp M[2][2] = Sb * (1 - chroma.blue.x - chroma.blue.y); y 61 3rdparty/openexr/IlmImf/ImfChromaticitiesAttribute.cpp Xdr::write <StreamIO> (os, _value.red.y); y 63 3rdparty/openexr/IlmImf/ImfChromaticitiesAttribute.cpp Xdr::write <StreamIO> (os, _value.green.y); y 65 3rdparty/openexr/IlmImf/ImfChromaticitiesAttribute.cpp Xdr::write <StreamIO> (os, _value.blue.y); y 67 3rdparty/openexr/IlmImf/ImfChromaticitiesAttribute.cpp Xdr::write <StreamIO> (os, _value.white.y); y 76 3rdparty/openexr/IlmImf/ImfChromaticitiesAttribute.cpp Xdr::read <StreamIO> (is, _value.red.y); y 78 3rdparty/openexr/IlmImf/ImfChromaticitiesAttribute.cpp Xdr::read <StreamIO> (is, _value.green.y); y 80 3rdparty/openexr/IlmImf/ImfChromaticitiesAttribute.cpp Xdr::read <StreamIO> (is, _value.blue.y); y 82 3rdparty/openexr/IlmImf/ImfChromaticitiesAttribute.cpp Xdr::read <StreamIO> (is, _value.white.y); y 75 3rdparty/openexr/IlmImf/ImfCompressor.cpp return compress (inPtr, inSize, range.min.y, outPtr); y 85 3rdparty/openexr/IlmImf/ImfCompressor.cpp return uncompress (inPtr, inSize, range.min.y, outPtr); y 58 3rdparty/openexr/IlmImf/ImfEnvmap.cpp float latitude = (r < abs (dir.y))? y 59 3rdparty/openexr/IlmImf/ImfEnvmap.cpp acos (r / dir.length()) * sign (dir.y): y 60 3rdparty/openexr/IlmImf/ImfEnvmap.cpp asin (dir.y / dir.length()); y 73 3rdparty/openexr/IlmImf/ImfEnvmap.cpp if (dataWindow.max.y > dataWindow.min.y) y 76 3rdparty/openexr/IlmImf/ImfEnvmap.cpp ((pixelPosition.y - dataWindow.min.y) / y 77 3rdparty/openexr/IlmImf/ImfEnvmap.cpp (dataWindow.max.y - dataWindow.min.y) - 0.5f); y 102 3rdparty/openexr/IlmImf/ImfEnvmap.cpp float x = latLong.y / (-2 * M_PI) + 0.5f; y 103 3rdparty/openexr/IlmImf/ImfEnvmap.cpp float y = latLong.x / -M_PI + 0.5f; y 106 3rdparty/openexr/IlmImf/ImfEnvmap.cpp y * (dataWindow.max.y - dataWindow.min.y) + dataWindow.min.y); y 122 3rdparty/openexr/IlmImf/ImfEnvmap.cpp return V3f (sin (ll.y) * cos (ll.x), y 124 3rdparty/openexr/IlmImf/ImfEnvmap.cpp cos (ll.y) * cos (ll.x)); y 136 3rdparty/openexr/IlmImf/ImfEnvmap.cpp (dataWindow.max.y - dataWindow.min.y + 1) / 6); y 147 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dwf.min.y = int (face) * sof; y 150 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dwf.max.y = dwf.min.y + sof - 1; y 166 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.x = dwf.min.x + positionInFace.y; y 167 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.max.y - positionInFace.x; y 172 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.x = dwf.max.x - positionInFace.y; y 173 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.max.y - positionInFace.x; y 179 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.max.y - positionInFace.y; y 185 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.min.y + positionInFace.y; y 191 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.max.y - positionInFace.y; y 197 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.max.y - positionInFace.y; y 213 3rdparty/openexr/IlmImf/ImfEnvmap.cpp float absy = abs (direction.y); y 229 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pif.x = (direction.y / absx + 1) / 2 * (sof - 1); y 230 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pif.y = (direction.z / absx + 1) / 2 * (sof - 1); y 240 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pif.y = (direction.z / absy + 1) / 2 * (sof - 1); y 242 3rdparty/openexr/IlmImf/ImfEnvmap.cpp if (direction.y > 0) y 250 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pif.y = (direction.y / absz + 1) / 2 * (sof - 1); y 270 3rdparty/openexr/IlmImf/ImfEnvmap.cpp positionInFace.y / (sof - 1) * 2 - 1); y 284 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dir.y = pos.x; y 285 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dir.z = pos.y; y 291 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dir.y = pos.x; y 292 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dir.z = pos.y; y 298 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dir.y = 1; y 299 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dir.z = pos.y; y 305 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dir.y = -1; y 306 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dir.z = pos.y; y 312 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dir.y = pos.y; y 319 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dir.y = pos.y; y 367 3rdparty/openexr/IlmImf/ImfFrameBuffer.h const FrameBuffer::ConstIterator &y) y 369 3rdparty/openexr/IlmImf/ImfFrameBuffer.h return x._i == y._i; y 375 3rdparty/openexr/IlmImf/ImfFrameBuffer.h const FrameBuffer::ConstIterator &y) y 377 3rdparty/openexr/IlmImf/ImfFrameBuffer.h return !(x == y); y 622 3rdparty/openexr/IlmImf/ImfHeader.cpp displayWindow.min.y > displayWindow.max.y || y 624 3rdparty/openexr/IlmImf/ImfHeader.cpp displayWindow.min.y <= -(INT_MAX / 2) || y 626 3rdparty/openexr/IlmImf/ImfHeader.cpp displayWindow.max.y >= (INT_MAX / 2)) y 634 3rdparty/openexr/IlmImf/ImfHeader.cpp dataWindow.min.y > dataWindow.max.y || y 636 3rdparty/openexr/IlmImf/ImfHeader.cpp dataWindow.min.y <= -(INT_MAX / 2) || y 638 3rdparty/openexr/IlmImf/ImfHeader.cpp dataWindow.max.y >= (INT_MAX / 2)) y 651 3rdparty/openexr/IlmImf/ImfHeader.cpp maxImageHeight < dataWindow.max.y - dataWindow.min.y + 1) y 836 3rdparty/openexr/IlmImf/ImfHeader.cpp if (dataWindow.min.y % i.channel().ySampling) y 853 3rdparty/openexr/IlmImf/ImfHeader.cpp if ((dataWindow.max.y - dataWindow.min.y + 1) % y 530 3rdparty/openexr/IlmImf/ImfHeader.h operator == (const Header::ConstIterator &x, const Header::ConstIterator &y) y 532 3rdparty/openexr/IlmImf/ImfHeader.h return x._i == y._i; y 537 3rdparty/openexr/IlmImf/ImfHeader.h operator != (const Header::ConstIterator &x, const Header::ConstIterator &y) y 539 3rdparty/openexr/IlmImf/ImfHeader.h return !(x == y); y 233 3rdparty/openexr/IlmImf/ImfInputFile.cpp int minYThisRow = std::max (minY, tileRange.min.y); y 234 3rdparty/openexr/IlmImf/ImfInputFile.cpp int maxYThisRow = std::min (maxY, tileRange.max.y); y 271 3rdparty/openexr/IlmImf/ImfInputFile.cpp for (int y = yStart; y 272 3rdparty/openexr/IlmImf/ImfInputFile.cpp y <= maxYThisRow; y 273 3rdparty/openexr/IlmImf/ImfInputFile.cpp y += toSlice.ySampling) y 281 3rdparty/openexr/IlmImf/ImfInputFile.cpp (y - tileRange.min.y) * fromSlice.yStride + y 285 3rdparty/openexr/IlmImf/ImfInputFile.cpp divp (y, toSlice.ySampling) * toSlice.yStride + y 374 3rdparty/openexr/IlmImf/ImfInputFile.cpp _data->minY = dataWindow.min.y; y 375 3rdparty/openexr/IlmImf/ImfInputFile.cpp _data->maxY = dataWindow.max.y; y 69 3rdparty/openexr/IlmImf/ImfLut.cpp assert (dataWindow.min.y % data.ySampling == 0); y 71 3rdparty/openexr/IlmImf/ImfLut.cpp assert ((dataWindow.max.y - dataWindow.min.y + 1) % data.ySampling == 0); y 74 3rdparty/openexr/IlmImf/ImfLut.cpp (dataWindow.min.y / data.ySampling); y 76 3rdparty/openexr/IlmImf/ImfLut.cpp for (int y = dataWindow.min.y; y 77 3rdparty/openexr/IlmImf/ImfLut.cpp y <= dataWindow.max.y; y 78 3rdparty/openexr/IlmImf/ImfLut.cpp y += data.ySampling) y 124 3rdparty/openexr/IlmImf/ImfLut.cpp base += dataWindow.min.y * yStride; y 126 3rdparty/openexr/IlmImf/ImfLut.cpp for (int y = dataWindow.min.y; y <= dataWindow.max.y; ++y) y 107 3rdparty/openexr/IlmImf/ImfMisc.cpp bytesPerLine.resize (dataWindow.max.y - dataWindow.min.y + 1); y 117 3rdparty/openexr/IlmImf/ImfMisc.cpp for (int y = dataWindow.min.y, i = 0; y <= dataWindow.max.y; ++y, ++i) y 118 3rdparty/openexr/IlmImf/ImfMisc.cpp if (modp (y, c.channel().ySampling) == 0) y 124 3rdparty/openexr/IlmImf/ImfMisc.cpp for (int y = dataWindow.min.y, i = 0; y <= dataWindow.max.y; ++y, ++i) y 153 3rdparty/openexr/IlmImf/ImfMisc.cpp lineBufferMinY (int y, int minY, int linesInLineBuffer) y 155 3rdparty/openexr/IlmImf/ImfMisc.cpp return ((y - minY) / linesInLineBuffer) * linesInLineBuffer + minY; y 160 3rdparty/openexr/IlmImf/ImfMisc.cpp lineBufferMaxY (int y, int minY, int linesInLineBuffer) y 162 3rdparty/openexr/IlmImf/ImfMisc.cpp return lineBufferMinY (y, minY, linesInLineBuffer) + linesInLineBuffer - 1; y 103 3rdparty/openexr/IlmImf/ImfMisc.h int lineBufferMinY (int y, int minY, int linesInLineBuffer); y 104 3rdparty/openexr/IlmImf/ImfMisc.h int lineBufferMaxY (int y, int minY, int linesInLineBuffer); y 91 3rdparty/openexr/IlmImf/ImfName.h bool operator == (const Name &x, const Name &y); y 92 3rdparty/openexr/IlmImf/ImfName.h bool operator != (const Name &x, const Name &y); y 93 3rdparty/openexr/IlmImf/ImfName.h bool operator < (const Name &x, const Name &y); y 124 3rdparty/openexr/IlmImf/ImfName.h operator == (const Name &x, const Name &y) y 126 3rdparty/openexr/IlmImf/ImfName.h return strcmp (*x, *y) == 0; y 131 3rdparty/openexr/IlmImf/ImfName.h operator != (const Name &x, const Name &y) y 133 3rdparty/openexr/IlmImf/ImfName.h return !(x == y); y 138 3rdparty/openexr/IlmImf/ImfName.h operator < (const Name &x, const Name &y) y 140 3rdparty/openexr/IlmImf/ImfName.h return strcmp (*x, *y) < 0; y 351 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (int y = startY; y != endY; y += step) y 358 3rdparty/openexr/IlmImf/ImfOutputFile.cpp char *writePtr = lineBuffer + ofd->offsetInLineBuffer[y - ofd->minY]; y 375 3rdparty/openexr/IlmImf/ImfOutputFile.cpp if (modp (y, slice.ySampling) != 0) y 497 3rdparty/openexr/IlmImf/ImfOutputFile.cpp int y; y 499 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (y = yStart; y != yStop; y += dy) y 507 3rdparty/openexr/IlmImf/ImfOutputFile.cpp _ofd->offsetInLineBuffer[y - _ofd->minY]; y 521 3rdparty/openexr/IlmImf/ImfOutputFile.cpp if (modp (y, slice.ySampling) != 0) y 555 3rdparty/openexr/IlmImf/ImfOutputFile.cpp divp (y, slice.ySampling) * y 573 3rdparty/openexr/IlmImf/ImfOutputFile.cpp _ofd->offsetInLineBuffer[y - _ofd->minY]) == y 574 3rdparty/openexr/IlmImf/ImfOutputFile.cpp (int) _ofd->bytesPerLine[y - _ofd->minY]); y 585 3rdparty/openexr/IlmImf/ImfOutputFile.cpp if (y >= _lineBuffer->minY && y <= _lineBuffer->maxY) y 715 3rdparty/openexr/IlmImf/ImfOutputFile.cpp dataWindow.min.y: dataWindow.max.y; y 717 3rdparty/openexr/IlmImf/ImfOutputFile.cpp _data->missingScanLines = dataWindow.max.y - dataWindow.min.y + 1; y 721 3rdparty/openexr/IlmImf/ImfOutputFile.cpp _data->minY = dataWindow.min.y; y 722 3rdparty/openexr/IlmImf/ImfOutputFile.cpp _data->maxY = dataWindow.max.y; y 743 3rdparty/openexr/IlmImf/ImfOutputFile.cpp int lineOffsetSize = (dataWindow.max.y - dataWindow.min.y + y 1189 3rdparty/openexr/IlmImf/ImfOutputFile.cpp if (_data->missingScanLines != dataWindow.max.y - dataWindow.min.y + 1) y 1268 3rdparty/openexr/IlmImf/ImfOutputFile.cpp OutputFile::breakScanLine (int y, int offset, int length, char c) y 1273 3rdparty/openexr/IlmImf/ImfOutputFile.cpp _data->lineOffsets[(y - _data->minY) / _data->linesInBuffer]; y 1276 3rdparty/openexr/IlmImf/ImfOutputFile.cpp THROW (Iex::ArgExc, "Cannot overwrite scan line " << y << ". " y 223 3rdparty/openexr/IlmImf/ImfOutputFile.h void breakScanLine (int y, int offset, int length, char c); y 218 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp _maxY = dataWindow.max.y; y 334 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int minY = range.min.y; y 335 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int maxY = range.max.y; y 370 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp for (int y = minY; y <= maxY; ++y) y 376 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp if (modp (y, cd.ys) != 0) y 393 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp for (int y = minY; y <= maxY; ++y) y 399 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp if (modp (y, cd.ys) != 0) y 510 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int minY = range.min.y; y 511 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int maxY = range.max.y; y 612 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp for (int y = minY; y <= maxY; ++y) y 618 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp if (modp (y, cd.ys) != 0) y 635 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp for (int y = minY; y <= maxY; ++y) y 641 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp if (modp (y, cd.ys) != 0) y 115 3rdparty/openexr/IlmImf/ImfPreviewImage.h PreviewRgba & pixel (unsigned int x, unsigned int y) y 116 3rdparty/openexr/IlmImf/ImfPreviewImage.h {return _pixels[y * _width + x];} y 118 3rdparty/openexr/IlmImf/ImfPreviewImage.h const PreviewRgba & pixel (unsigned int x, unsigned int y) const y 119 3rdparty/openexr/IlmImf/ImfPreviewImage.h {return _pixels[y * _width + x];} y 205 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp _maxY = dataWindow.max.y; y 292 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp int minY = range.min.y; y 293 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp int maxY = min (range.max.y, _maxY); y 297 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp for (int y = minY; y <= maxY; ++y) y 305 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp if (modp (y, c.ySampling) != 0) y 436 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp int minY = range.min.y; y 437 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp int maxY = min (range.max.y, _maxY); y 442 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp for (int y = minY; y <= maxY; ++y) y 450 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp if (modp (y, c.ySampling) != 0) y 250 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _height = dw.max.y - dw.min.y + 1; y 256 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _currentScanLine = dw.min.y; y 258 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _currentScanLine = dw.max.y; y 800 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp RgbaOutputFile::breakScanLine (int y, int offset, int length, char c) y 802 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _outputFile->breakScanLine (y, offset, length, c); y 825 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp void readYCAScanLine (int y, Rgba buf[]); y 858 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _yMin = dw.min.y; y 859 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _yMax = dw.max.y; y 861 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _height = dw.max.y - dw.min.y + 1; y 862 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _currentScanLine = dw.min.y - N - 2; y 957 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp for (int y = minY; y <= maxY; ++y) y 958 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp readPixels (y); y 962 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp for (int y = maxY; y >= minY; --y) y 963 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp readPixels (y); y 1110 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp RgbaInputFile::FromYca::readYCAScanLine (int y, Rgba *buf) y 1116 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp if (y < _yMin) y 1117 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp y = _yMin; y 1118 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp else if (y > _yMax) y 1119 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp y = _yMax - 1; y 1125 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _inputFile.readPixels (y); y 1141 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp if (y & 1) y 210 3rdparty/openexr/IlmImf/ImfRgbaFile.h void breakScanLine (int y, y 108 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp out.g = in.r * yw.x + in.g * yw.y + in.b * yw.z; y 389 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp float g = (Y - r * yw.x - b * yw.z) / yw.y; y 425 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp float Yin = in.r * yw.x + in.g * yw.y + in.b * yw.z; y 426 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp float Yout = out.r * yw.x + out.g * yw.y + out.b * yw.z; y 256 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp int y; y 257 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp Xdr::read <StreamIO> (is, y); y 501 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp for (int y = yStart; y != yStop; y += dy) y 510 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp _ifd->offsetInLineBuffer[y - _ifd->minY]; y 525 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp if (modp (y, slice.ySampling) != 0) y 557 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp divp (y, slice.ySampling) * y 679 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp _data->minY = dataWindow.min.y; y 680 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp _data->maxY = dataWindow.max.y; y 708 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp int lineOffsetSize = (dataWindow.max.y - dataWindow.min.y + y 462 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp (tileRange.max.y - tileRange.min.y + 1); y 504 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp for (int y = tileRange.min.y; y <= tileRange.max.y; ++y) y 520 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp int yOffset = slice.yTileCoords * tileRange.min.y; y 543 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp (y - yOffset) * slice.yStride + y 730 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp _data->minY = dataWindow.min.y; y 731 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp _data->maxY = dataWindow.max.y; y 137 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp int y = 0; y 141 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp y += 1; y 145 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp return y; y 156 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp int y = 0; y 164 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp y += 1; y 168 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp return y + r; y 608 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp for (int y = 0; y < numScanLines; ++y) y 716 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp int numScanLines = tileRange.max.y - tileRange.min.y + 1; y 723 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp for (int y = tileRange.min.y; y <= tileRange.max.y; ++y) y 739 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp int yOffset = slice.yTileCoords * tileRange.min.y; y 762 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp (y - yOffset) * slice.yStride + y 910 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp _data->minY = dataWindow.min.y; y 911 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp _data->maxY = dataWindow.max.y; y 229 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp for (int y = dw.min.y, y1 = 0; y <= dw.max.y; ++y, ++y1) y 232 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp _buf[y1][x1] = _fbBase[x * _fbXStride + y * _fbYStride]; y 244 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp (char *) &_buf[-dw.min.y][-dw.min.x].g, // base y 249 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp (char *) &_buf[-dw.min.y][-dw.min.x].a, // base y 753 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp for (int y = dw.min.y, y1 = 0; y <= dw.max.y; ++y, ++y1) y 765 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp _fbBase[x * _fbXStride + y * _fbYStride] = _buf[y1][x1]; y 67 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::write <StreamIO> (os, _value.y); y 76 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::read <StreamIO> (is, _value.y); y 93 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::write <StreamIO> (os, _value.y); y 102 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::read <StreamIO> (is, _value.y); y 119 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::write <StreamIO> (os, _value.y); y 128 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::read <StreamIO> (is, _value.y); y 145 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::write <StreamIO> (os, _value.y); y 155 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::read <StreamIO> (is, _value.y); y 173 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::write <StreamIO> (os, _value.y); y 183 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::read <StreamIO> (is, _value.y); y 201 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::write <StreamIO> (os, _value.y); y 211 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp Xdr::read <StreamIO> (is, _value.y); y 141 3rdparty/openexr/Imath/ImathBoxAlgo.h (d1.y < d2.y)? d1.y: d2.y, y 144 3rdparty/openexr/Imath/ImathBoxAlgo.h if (d.x < d.y && d.x < d.z) y 148 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (d.y < d.z) y 150 3rdparty/openexr/Imath/ImathBoxAlgo.h q.y = (d1.y < d2.y)? box.min.y: box.max.y; y 517 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); y 526 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); y 552 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); y 561 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); y 575 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.dir.y >= 0) y 577 3rdparty/openexr/Imath/ImathBoxAlgo.h T d1 = b.max.y - r.pos.y; y 578 3rdparty/openexr/Imath/ImathBoxAlgo.h T d2 = b.min.y - r.pos.y; y 580 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.dir.y > 1 || y 581 3rdparty/openexr/Imath/ImathBoxAlgo.h (abs (d1) < TMAX * r.dir.y && y 582 3rdparty/openexr/Imath/ImathBoxAlgo.h abs (d2) < TMAX * r.dir.y)) y 584 3rdparty/openexr/Imath/ImathBoxAlgo.h T t1 = d1 / r.dir.y; y 585 3rdparty/openexr/Imath/ImathBoxAlgo.h T t2 = d2 / r.dir.y; y 592 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = b.max.y; y 601 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = b.min.y; y 605 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (r.pos.y < b.min.y || r.pos.y > b.max.y) y 612 3rdparty/openexr/Imath/ImathBoxAlgo.h T d1 = b.min.y - r.pos.y; y 613 3rdparty/openexr/Imath/ImathBoxAlgo.h T d2 = b.max.y - r.pos.y; y 615 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.dir.y < -1 || y 616 3rdparty/openexr/Imath/ImathBoxAlgo.h (abs (d1) < -TMAX * r.dir.y && y 617 3rdparty/openexr/Imath/ImathBoxAlgo.h abs (d2) < -TMAX * r.dir.y)) y 619 3rdparty/openexr/Imath/ImathBoxAlgo.h T t1 = d1 / r.dir.y; y 620 3rdparty/openexr/Imath/ImathBoxAlgo.h T t2 = d2 / r.dir.y; y 627 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = b.min.y; y 636 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = b.max.y; y 640 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (r.pos.y < b.min.y || r.pos.y > b.max.y) y 667 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); y 676 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); y 702 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); y 711 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); y 819 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); y 849 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); y 864 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.dir.y > 0) y 866 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.y > b.max.y) y 869 3rdparty/openexr/Imath/ImathBoxAlgo.h T d = b.max.y - r.pos.y; y 871 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.dir.y > 1 || d < TMAX * r.dir.y) y 873 3rdparty/openexr/Imath/ImathBoxAlgo.h T t = d / r.dir.y; y 879 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.y <= b.min.y) y 881 3rdparty/openexr/Imath/ImathBoxAlgo.h T d = b.min.y - r.pos.y; y 882 3rdparty/openexr/Imath/ImathBoxAlgo.h T t = (r.dir.y > 1 || d < TMAX * r.dir.y)? d / r.dir.y: TMAX; y 889 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = b.min.y; y 894 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (r.dir.y < 0) y 896 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.y < b.min.y) y 899 3rdparty/openexr/Imath/ImathBoxAlgo.h T d = b.min.y - r.pos.y; y 901 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.dir.y < -1 || d > TMAX * r.dir.y) y 903 3rdparty/openexr/Imath/ImathBoxAlgo.h T t = d / r.dir.y; y 909 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.y >= b.max.y) y 911 3rdparty/openexr/Imath/ImathBoxAlgo.h T d = b.max.y - r.pos.y; y 912 3rdparty/openexr/Imath/ImathBoxAlgo.h T t = (r.dir.y < -1 || d > TMAX * r.dir.y)? d / r.dir.y: TMAX; y 919 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = b.max.y; y 926 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.y < b.min.y || r.pos.y > b.max.y) y 959 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); y 989 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); y 473 3rdparty/openexr/Imath/ImathColor.h Color4<T>::Color4 (T x, T y, T z, T w) y 476 3rdparty/openexr/Imath/ImathColor.h g = y; y 516 3rdparty/openexr/Imath/ImathColor.h Color4<T>::setValue (S x, S y, S z, S w) y 519 3rdparty/openexr/Imath/ImathColor.h g = T (y); y 538 3rdparty/openexr/Imath/ImathColor.h Color4<T>::getValue (S &x, S &y, S &z, S &w) const y 541 3rdparty/openexr/Imath/ImathColor.h y = S (g); y 51 3rdparty/openexr/Imath/ImathColorAlgo.cpp double sat = hsv.y; y 54 3rdparty/openexr/Imath/ImathColorAlgo.cpp double x = 0.0, y = 0.0, z = 0.0; y 67 3rdparty/openexr/Imath/ImathColorAlgo.cpp case 0: x = val; y = t; z = p; break; y 68 3rdparty/openexr/Imath/ImathColorAlgo.cpp case 1: x = q; y = val; z = p; break; y 69 3rdparty/openexr/Imath/ImathColorAlgo.cpp case 2: x = p; y = val; z = t; break; y 70 3rdparty/openexr/Imath/ImathColorAlgo.cpp case 3: x = p; y = q; z = val; break; y 71 3rdparty/openexr/Imath/ImathColorAlgo.cpp case 4: x = t; y = p; z = val; break; y 72 3rdparty/openexr/Imath/ImathColorAlgo.cpp case 5: x = val; y = p; z = q; break; y 75 3rdparty/openexr/Imath/ImathColorAlgo.cpp return Vec3<double>(x,y,z); y 116 3rdparty/openexr/Imath/ImathColorAlgo.cpp const double &y = c.y; y 119 3rdparty/openexr/Imath/ImathColorAlgo.cpp double max = (x > y) ? ((x > z) ? x : z) : ((y > z) ? y : z); y 120 3rdparty/openexr/Imath/ImathColorAlgo.cpp double min = (x < y) ? ((x < z) ? x : z) : ((y < z) ? y : z); y 132 3rdparty/openexr/Imath/ImathColorAlgo.cpp if (x == max) h = (y - z) / range; y 133 3rdparty/openexr/Imath/ImathColorAlgo.cpp else if (y == max) h = 2 + (z - x) / range; y 134 3rdparty/openexr/Imath/ImathColorAlgo.cpp else h = 4 + (x - y) / range; y 77 3rdparty/openexr/Imath/ImathColorAlgo.h hsv.y / double(limits<T>::max()), y 81 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.y * limits<T>::max()), y 86 3rdparty/openexr/Imath/ImathColorAlgo.h Vec3<double> v = Vec3<double>(hsv.x, hsv.y, hsv.z); y 88 3rdparty/openexr/Imath/ImathColorAlgo.h return Vec3<T>((T) c.x, (T) c.y, (T) c.z); y 125 3rdparty/openexr/Imath/ImathColorAlgo.h rgb.y / double(limits<T>::max()), y 129 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.y * limits<T>::max()), y 134 3rdparty/openexr/Imath/ImathColorAlgo.h Vec3<double> v = Vec3<double>(rgb.x, rgb.y, rgb.z); y 136 3rdparty/openexr/Imath/ImathColorAlgo.h return Vec3<T>((T) c.x, (T) c.y, (T) c.z); y 172 3rdparty/openexr/Imath/ImathColorAlgo.h float y = c.y / float(limits<T>::max()); y 174 3rdparty/openexr/Imath/ImathColorAlgo.h return rgb2packed( V3f(x,y,z) ); y 179 3rdparty/openexr/Imath/ImathColorAlgo.h (((PackedColor) (c.y * 255)) << 8) | y 219 3rdparty/openexr/Imath/ImathColorAlgo.h out.y = ((packed & 0xFF00) >> 8) * f; y 226 3rdparty/openexr/Imath/ImathColorAlgo.h out.y = ((packed & 0xFF00) >> 8) * f; y 148 3rdparty/openexr/Imath/ImathEuler.h using Vec3<T>::y; y 381 3rdparty/openexr/Imath/ImathEuler.h (*this)[j] = v.y; y 422 3rdparty/openexr/Imath/ImathEuler.h else { x = v.x; y = v.y; z = v.z; } y 446 3rdparty/openexr/Imath/ImathEuler.h else { x = xi; y = yi; z = zi; } y 504 3rdparty/openexr/Imath/ImathEuler.h y = Math<T>::atan2 (sy, N[i][i]); y 536 3rdparty/openexr/Imath/ImathEuler.h y = Math<T>::atan2 (-N[i][k], cy); y 583 3rdparty/openexr/Imath/ImathEuler.h y = Math<T>::atan2 (sy, N[i][i]); y 612 3rdparty/openexr/Imath/ImathEuler.h y = Math<T>::atan2 (-N[i][k], cy); y 636 3rdparty/openexr/Imath/ImathEuler.h else angles = Vec3<T>(z,y,x); y 641 3rdparty/openexr/Imath/ImathEuler.h T cj = Math<T>::cos(angles.y); y 644 3rdparty/openexr/Imath/ImathEuler.h T sj = Math<T>::sin(angles.y); y 679 3rdparty/openexr/Imath/ImathEuler.h else angles = Vec3<T>(z,y,x); y 684 3rdparty/openexr/Imath/ImathEuler.h T cj = Math<T>::cos(angles.y); y 687 3rdparty/openexr/Imath/ImathEuler.h T sj = Math<T>::sin(angles.y); y 721 3rdparty/openexr/Imath/ImathEuler.h else angles = Vec3<T>(z,y,x); y 723 3rdparty/openexr/Imath/ImathEuler.h if ( !_parityEven ) angles.y = -angles.y; y 726 3rdparty/openexr/Imath/ImathEuler.h T tj = angles.y*0.5; y 809 3rdparty/openexr/Imath/ImathEuler.h y = euler.y; y 822 3rdparty/openexr/Imath/ImathEuler.h y = v.y; y 840 3rdparty/openexr/Imath/ImathEuler.h << euler.y << " " y 285 3rdparty/openexr/Imath/ImathFrustum.h _top = ur.y; y 286 3rdparty/openexr/Imath/ImathFrustum.h _bottom = ll.y; y 457 3rdparty/openexr/Imath/ImathFrustum.h return Frustum<T>(_nearPlane, _farPlane, bl.x, tr.x, tr.y, bl.y, _orthographic); y 465 3rdparty/openexr/Imath/ImathFrustum.h _bottom + (_top-_bottom) * (1.f+s.y) / 2.f ); y 473 3rdparty/openexr/Imath/ImathFrustum.h T bottomPlusTop = _bottom - T (2) * p.y + _top; y 495 3rdparty/openexr/Imath/ImathFrustum.h return Line3<T>( Vec3<T>(point.x,point.y, 0.0), y 496 3rdparty/openexr/Imath/ImathFrustum.h Vec3<T>(point.x,point.y,-_nearPlane)); y 498 3rdparty/openexr/Imath/ImathFrustum.h return Line3<T>( Vec3<T>(0, 0, 0), Vec3<T>(point.x,point.y,-_nearPlane)); y 505 3rdparty/openexr/Imath/ImathFrustum.h return localToScreen( Vec2<T>( point.x, point.y ) ); y 508 3rdparty/openexr/Imath/ImathFrustum.h point.y * _nearPlane / -point.z ) ); y 206 3rdparty/openexr/Imath/ImathFrustumTest.h planeNormY[i] = Vec3<T>(frustumPlanes[index + 0].normal.y, y 207 3rdparty/openexr/Imath/ImathFrustumTest.h frustumPlanes[index + 1].normal.y, y 208 3rdparty/openexr/Imath/ImathFrustumTest.h frustumPlanes[index + 2].normal.y); y 214 3rdparty/openexr/Imath/ImathFrustumTest.h Imath::abs(planeNormX[i].y), y 217 3rdparty/openexr/Imath/ImathFrustumTest.h Imath::abs(planeNormY[i].y), y 220 3rdparty/openexr/Imath/ImathFrustumTest.h Imath::abs(planeNormZ[i].y), y 246 3rdparty/openexr/Imath/ImathFrustumTest.h + planeNormY[0] * center.y y 251 3rdparty/openexr/Imath/ImathFrustumTest.h if (d0.x >= 0 || d0.y >= 0 || d0.z >= 0) y 255 3rdparty/openexr/Imath/ImathFrustumTest.h + planeNormY[1] * center.y y 260 3rdparty/openexr/Imath/ImathFrustumTest.h if (d1.x >= 0 || d1.y >= 0 || d1.z >= 0) y 280 3rdparty/openexr/Imath/ImathFrustumTest.h + planeNormY[0] * center.y y 285 3rdparty/openexr/Imath/ImathFrustumTest.h if (d0.x >= 0 || d0.y >= 0 || d0.z >= 0) y 289 3rdparty/openexr/Imath/ImathFrustumTest.h + planeNormY[1] * center.y y 294 3rdparty/openexr/Imath/ImathFrustumTest.h if (d1.x >= 0 || d1.y >= 0 || d1.z >= 0) y 314 3rdparty/openexr/Imath/ImathFrustumTest.h + planeNormY[0] * center.y y 317 3rdparty/openexr/Imath/ImathFrustumTest.h - planeNormAbsY[0] * extent.y y 321 3rdparty/openexr/Imath/ImathFrustumTest.h if (d0.x >= 0 || d0.y >= 0 || d0.z >= 0) y 325 3rdparty/openexr/Imath/ImathFrustumTest.h + planeNormY[1] * center.y y 328 3rdparty/openexr/Imath/ImathFrustumTest.h - planeNormAbsY[1] * extent.y y 332 3rdparty/openexr/Imath/ImathFrustumTest.h if (d1.x >= 0 || d1.y >= 0 || d1.z >= 0) y 352 3rdparty/openexr/Imath/ImathFrustumTest.h + planeNormY[0] * center.y y 355 3rdparty/openexr/Imath/ImathFrustumTest.h + planeNormAbsY[0] * extent.y y 359 3rdparty/openexr/Imath/ImathFrustumTest.h if (d0.x >= 0 || d0.y >= 0 || d0.z >= 0) y 363 3rdparty/openexr/Imath/ImathFrustumTest.h + planeNormY[1] * center.y y 366 3rdparty/openexr/Imath/ImathFrustumTest.h + planeNormAbsY[1] * extent.y y 370 3rdparty/openexr/Imath/ImathFrustumTest.h if (d1.x >= 0 || d1.y >= 0 || d1.z >= 0) y 386 3rdparty/openexr/Imath/ImathFrustumTest.h + (planeNormY[0] * vec.y) y 390 3rdparty/openexr/Imath/ImathFrustumTest.h if (d0.x >= 0 || d0.y >= 0 || d0.z >= 0) y 394 3rdparty/openexr/Imath/ImathFrustumTest.h + (planeNormY[1] * vec.y) y 398 3rdparty/openexr/Imath/ImathFrustumTest.h if (d1.x >= 0 || d1.y >= 0 || d1.z >= 0) y 178 3rdparty/openexr/Imath/ImathFun.h divs (int x, int y) y 180 3rdparty/openexr/Imath/ImathFun.h return (x >= 0)? ((y >= 0)? ( x / y): -( x / -y)): y 181 3rdparty/openexr/Imath/ImathFun.h ((y >= 0)? -(-x / y): (-x / -y)); y 186 3rdparty/openexr/Imath/ImathFun.h mods (int x, int y) y 188 3rdparty/openexr/Imath/ImathFun.h return (x >= 0)? ((y >= 0)? ( x % y): ( x % -y)): y 189 3rdparty/openexr/Imath/ImathFun.h ((y >= 0)? -(-x % y): -(-x % -y)); y 202 3rdparty/openexr/Imath/ImathFun.h divp (int x, int y) y 204 3rdparty/openexr/Imath/ImathFun.h return (x >= 0)? ((y >= 0)? ( x / y): -( x / -y)): y 205 3rdparty/openexr/Imath/ImathFun.h ((y >= 0)? -((y-1-x) / y): ((-y-1-x) / -y)); y 210 3rdparty/openexr/Imath/ImathFun.h modp (int x, int y) y 212 3rdparty/openexr/Imath/ImathFun.h return x - y * divp (x, y); y 46 3rdparty/openexr/Imath/ImathGL.h inline void glVertex ( const Imath::V3f &v ) { glVertex3f(v.x,v.y,v.z); } y 47 3rdparty/openexr/Imath/ImathGL.h inline void glVertex ( const Imath::V2f &v ) { glVertex2f(v.x,v.y); } y 48 3rdparty/openexr/Imath/ImathGL.h inline void glNormal ( const Imath::V3f &n ) { glNormal3f(n.x,n.y,n.z); } y 49 3rdparty/openexr/Imath/ImathGL.h inline void glColor ( const Imath::V3f &c ) { glColor3f(c.x,c.y,c.z); } y 50 3rdparty/openexr/Imath/ImathGL.h inline void glTranslate ( const Imath::V3f &t ) { glTranslatef(t.x,t.y,t.z); } y 54 3rdparty/openexr/Imath/ImathGL.h glTexCoord2f(t.x,t.y); y 49 3rdparty/openexr/Imath/ImathGLU.h gluLookAt(pos.x, pos.y, pos.z, y 50 3rdparty/openexr/Imath/ImathGLU.h interest.x, interest.y, interest.z, y 51 3rdparty/openexr/Imath/ImathGLU.h up.x, up.y, up.z); y 216 3rdparty/openexr/Imath/ImathLineAlgo.h barycentric.y = 1 - barycentric.x - barycentric.z; y 218 3rdparty/openexr/Imath/ImathLineAlgo.h if (barycentric.y < 0) y 274 3rdparty/openexr/Imath/ImathLineAlgo.h Vec3<T> y = (x % l.dir).normalize(); y 279 3rdparty/openexr/Imath/ImathLineAlgo.h Vec3<T> r = q + x * radius * cosangle + y * radius * sinangle; y 96 3rdparty/openexr/Imath/ImathMath.h static T atan2 (T x, T y) {return ::atan2 (double(x), double(y));} y 113 3rdparty/openexr/Imath/ImathMath.h static T pow (T x, T y) {return ::pow (double(x), double(y));} y 118 3rdparty/openexr/Imath/ImathMath.h static T fmod (T x, T y) {return ::fmod (double(x), double(y));} y 119 3rdparty/openexr/Imath/ImathMath.h static T hypot (T x, T y) {return ::hypot (double(x), double(y));} y 129 3rdparty/openexr/Imath/ImathMath.h static float atan2 (float x, float y) {return ::atan2f (x, y);} y 139 3rdparty/openexr/Imath/ImathMath.h static float modf (float x, float *y) {return ::modff (x, y);} y 140 3rdparty/openexr/Imath/ImathMath.h static float pow (float x, float y) {return ::powf (x, y);} y 145 3rdparty/openexr/Imath/ImathMath.h static float fmod (float x, float y) {return ::fmodf (x, y);} y 147 3rdparty/openexr/Imath/ImathMath.h static float hypot (float x, float y) {return ::hypotf (x, y);} y 149 3rdparty/openexr/Imath/ImathMath.h static float hypot (float x, float y) {return ::sqrtf(x*x + y*y);} y 1349 3rdparty/openexr/Imath/ImathMatrix.h dst.y = b / w; y 1363 3rdparty/openexr/Imath/ImathMatrix.h dst.y = b; y 2588 3rdparty/openexr/Imath/ImathMatrix.h dst.y = b / w; y 2603 3rdparty/openexr/Imath/ImathMatrix.h dst.y = b; y 3331 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + m[2][0]); y 3332 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + m[2][1]); y 3333 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][2] + v.y * m[1][2] + m[2][2]); y 3336 3rdparty/openexr/Imath/ImathMatrix.h v.y = y / w; y 3345 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + m[2][0]); y 3346 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + m[2][1]); y 3347 3rdparty/openexr/Imath/ImathMatrix.h S w = S(v.x * m[0][2] + v.y * m[1][2] + m[2][2]); y 3349 3rdparty/openexr/Imath/ImathMatrix.h return Vec2<S> (x / w, y / w); y 3357 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0]); y 3358 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1]); y 3359 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2]); y 3362 3rdparty/openexr/Imath/ImathMatrix.h v.y = y; y 3372 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0]); y 3373 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1]); y 3374 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2]); y 3376 3rdparty/openexr/Imath/ImathMatrix.h return Vec3<S> (x, y, z); y 3384 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0] + m[3][0]); y 3385 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1] + m[3][1]); y 3386 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2] + m[3][2]); y 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]); y 3390 3rdparty/openexr/Imath/ImathMatrix.h v.y = y / w; y 3400 3rdparty/openexr/Imath/ImathMatrix.h S x = S(v.x * m[0][0] + v.y * m[1][0] + v.z * m[2][0] + m[3][0]); y 3401 3rdparty/openexr/Imath/ImathMatrix.h S y = S(v.x * m[0][1] + v.y * m[1][1] + v.z * m[2][1] + m[3][1]); y 3402 3rdparty/openexr/Imath/ImathMatrix.h S z = S(v.x * m[0][2] + v.y * m[1][2] + v.z * m[2][2] + m[3][2]); y 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]); y 3405 3rdparty/openexr/Imath/ImathMatrix.h return Vec3<S> (x / w, y / w, z / w); y 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]); y 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]); y 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]); y 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]); y 3419 3rdparty/openexr/Imath/ImathMatrix.h v.y = y; y 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]); y 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]); y 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]); y 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]); y 3435 3rdparty/openexr/Imath/ImathMatrix.h return Vec4<S> (x, y, z, w); y 86 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const double y = val - _correction; y 87 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const double t = _total + y; y 88 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp _correction = (t - _total) - y; y 241 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp translate.x, translate.y, translate.z, T(1)); y 328 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T y = A[k][j]; y 340 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T mu_2 = x - y; y 351 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp mu_2 = x + y; y 361 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp mu_1 = s * (x + y) + c * (z - w); // = r - p y 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); y 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); y 469 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T y = A[k][j]; y 481 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T mu_2 = x - y; y 492 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp mu_2 = x + y; y 502 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp mu_1 = s * (x + y) + c * (z - w); // = r - p y 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); y 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); y 717 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp S.y = A[1][1]; y 977 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T y = A[j][k]; y 984 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T mu2 = 2 * y; y 1000 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T h = t * y; y 1035 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T y = A[j][k]; y 1039 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T mu2 = T(2) * y; y 1055 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T h = t * y; y 538 3rdparty/openexr/Imath/ImathMatrixAlgo.h scl.y = row[1].length (); y 539 3rdparty/openexr/Imath/ImathMatrixAlgo.h if (! checkForZeroScaleInRow (scl.y, row[1], exc)) y 543 3rdparty/openexr/Imath/ImathMatrixAlgo.h row[1] /= scl.y; y 544 3rdparty/openexr/Imath/ImathMatrixAlgo.h shr[0] /= scl.y; y 632 3rdparty/openexr/Imath/ImathMatrixAlgo.h rot.y = Math<T>::atan2 (-N[0][2], cy); y 679 3rdparty/openexr/Imath/ImathMatrixAlgo.h rot.y = -Math<T>::atan2 (-N[2][0], cy); y 705 3rdparty/openexr/Imath/ImathMatrixAlgo.h quat.v.y = (mat[2][0] - mat[0][2]) * s; y 729 3rdparty/openexr/Imath/ImathMatrixAlgo.h quat.v.y = q[1]; y 756 3rdparty/openexr/Imath/ImathMatrixAlgo.h t.y = mat[3][1]; y 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, y 820 3rdparty/openexr/Imath/ImathMatrixAlgo.h a.y*b.x, a.y*b.y, a.y*b.z, a.x*b.w, y 821 3rdparty/openexr/Imath/ImathMatrixAlgo.h a.z*b.x, a.z*b.y, a.z*b.z, a.x*b.w, y 822 3rdparty/openexr/Imath/ImathMatrixAlgo.h a.w*b.x, a.w*b.y, a.w*b.z, a.w*b.w); y 954 3rdparty/openexr/Imath/ImathMatrixAlgo.h Vec3<T> y = (normal % x).normalize(); y 955 3rdparty/openexr/Imath/ImathMatrixAlgo.h Vec3<T> z = (x % y).normalize(); y 963 3rdparty/openexr/Imath/ImathMatrixAlgo.h L[1][0] = y[0]; y 964 3rdparty/openexr/Imath/ImathMatrixAlgo.h L[1][1] = y[1]; y 965 3rdparty/openexr/Imath/ImathMatrixAlgo.h L[1][2] = y[2]; y 1211 3rdparty/openexr/Imath/ImathMatrixAlgo.h scl.y = row[1].length (); y 1212 3rdparty/openexr/Imath/ImathMatrixAlgo.h if (! checkForZeroScaleInRow (scl.y, row[1], exc)) y 1216 3rdparty/openexr/Imath/ImathMatrixAlgo.h row[1] /= scl.y; y 1217 3rdparty/openexr/Imath/ImathMatrixAlgo.h shr /= scl.y; y 1285 3rdparty/openexr/Imath/ImathMatrixAlgo.h t.y = mat[2][1]; y 1317 3rdparty/openexr/Imath/ImathMatrixAlgo.h return Matrix33<T> (a.x*b.x, a.x*b.y, a.x*b.z, y 1318 3rdparty/openexr/Imath/ImathMatrixAlgo.h a.y*b.x, a.y*b.y, a.y*b.z, y 1319 3rdparty/openexr/Imath/ImathMatrixAlgo.h a.z*b.x, a.z*b.y, a.z*b.z ); y 469 3rdparty/openexr/Imath/ImathQuat.h return r * q.r + v.x * q.v.x + v.y * q.v.y + v.z * q.v.z; y 645 3rdparty/openexr/Imath/ImathQuat.h return Quat<T> ((T) 0, v.x * k, v.y * k, v.z * k); y 670 3rdparty/openexr/Imath/ImathQuat.h return Quat<T> (costheta, v.x * k, v.y * k, v.z * k); y 762 3rdparty/openexr/Imath/ImathQuat.h if (f02.x <= f02.y && f02.x <= f02.z) y 764 3rdparty/openexr/Imath/ImathQuat.h else if (f02.y <= f02.z) y 811 3rdparty/openexr/Imath/ImathQuat.h return Matrix33<T> (1 - 2 * (v.y * v.y + v.z * v.z), y 812 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.x * v.y + v.z * r), y 813 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.z * v.x - v.y * r), y 815 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.x * v.y - v.z * r), y 817 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.y * v.z + v.x * r), y 819 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.z * v.x + v.y * r), y 820 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.y * v.z - v.x * r), y 821 3rdparty/openexr/Imath/ImathQuat.h 1 - 2 * (v.y * v.y + v.x * v.x)); y 828 3rdparty/openexr/Imath/ImathQuat.h return Matrix44<T> (1 - 2 * (v.y * v.y + v.z * v.z), y 829 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.x * v.y + v.z * r), y 830 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.z * v.x - v.y * r), y 832 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.x * v.y - v.z * r), y 834 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.y * v.z + v.x * r), y 836 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.z * v.x + v.y * r), y 837 3rdparty/openexr/Imath/ImathQuat.h 2 * (v.y * v.z - v.x * r), y 838 3rdparty/openexr/Imath/ImathQuat.h 1 - 2 * (v.y * v.y + v.x * v.x), y 869 3rdparty/openexr/Imath/ImathQuat.h << " " << q.v.y y 374 3rdparty/openexr/Imath/ImathRandom.h float y; // numbers, we make these variables singe-precision y 380 3rdparty/openexr/Imath/ImathRandom.h y = float (rand.nextf (-1, 1)); y 381 3rdparty/openexr/Imath/ImathRandom.h length2 = x * x + y * y; y 291 3rdparty/openexr/Imath/ImathShear.h xz = v.y; y 304 3rdparty/openexr/Imath/ImathShear.h xz = T (v.y); y 367 3rdparty/openexr/Imath/ImathShear.h xz = T (v.y); y 150 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0)) y 178 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0)) y 219 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0)) y 247 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0)) y 288 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0)) y 316 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0)) y 357 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0)) y 385 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0)) y 426 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0) && (w == 0)) y 454 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0) && (w == 0)) y 495 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0) && (w == 0)) y 523 3rdparty/openexr/Imath/ImathVec.cpp if ((x == 0) && (y == 0) && (z == 0) && (w == 0)) y 76 3rdparty/openexr/Imath/ImathVec.h T x, y; y 274 3rdparty/openexr/Imath/ImathVec.h T x, y, z; y 487 3rdparty/openexr/Imath/ImathVec.h T x, y, z, w; y 876 3rdparty/openexr/Imath/ImathVec.h x = y = a; y 884 3rdparty/openexr/Imath/ImathVec.h y = b; y 892 3rdparty/openexr/Imath/ImathVec.h y = v.y; y 901 3rdparty/openexr/Imath/ImathVec.h y = T (v.y); y 909 3rdparty/openexr/Imath/ImathVec.h y = v.y; y 919 3rdparty/openexr/Imath/ImathVec.h y = T (b); y 928 3rdparty/openexr/Imath/ImathVec.h y = T (v.y); y 937 3rdparty/openexr/Imath/ImathVec.h b = S (y); y 946 3rdparty/openexr/Imath/ImathVec.h v.y = S (y); y 968 3rdparty/openexr/Imath/ImathVec.h return x == v.x && y == v.y; y 976 3rdparty/openexr/Imath/ImathVec.h return x != v.x || y != v.y; y 1005 3rdparty/openexr/Imath/ImathVec.h return x * v.x + y * v.y; y 1019 3rdparty/openexr/Imath/ImathVec.h return x * v.y - y * v.x; y 1027 3rdparty/openexr/Imath/ImathVec.h return x * v.y - y * v.x; y 1035 3rdparty/openexr/Imath/ImathVec.h y += v.y; y 1043 3rdparty/openexr/Imath/ImathVec.h return Vec2 (x + v.x, y + v.y); y 1051 3rdparty/openexr/Imath/ImathVec.h y -= v.y; y 1059 3rdparty/openexr/Imath/ImathVec.h return Vec2 (x - v.x, y - v.y); y 1066 3rdparty/openexr/Imath/ImathVec.h return Vec2 (-x, -y); y 1074 3rdparty/openexr/Imath/ImathVec.h y = -y; y 1083 3rdparty/openexr/Imath/ImathVec.h y *= v.y; y 1092 3rdparty/openexr/Imath/ImathVec.h y *= a; y 1100 3rdparty/openexr/Imath/ImathVec.h return Vec2 (x * v.x, y * v.y); y 1107 3rdparty/openexr/Imath/ImathVec.h return Vec2 (x * a, y * a); y 1115 3rdparty/openexr/Imath/ImathVec.h y /= v.y; y 1124 3rdparty/openexr/Imath/ImathVec.h y /= a; y 1132 3rdparty/openexr/Imath/ImathVec.h return Vec2 (x / v.x, y / v.y); y 1139 3rdparty/openexr/Imath/ImathVec.h return Vec2 (x / a, y / a); y 1147 3rdparty/openexr/Imath/ImathVec.h T absY = (y >= T (0))? y: -y; y 1203 3rdparty/openexr/Imath/ImathVec.h y /= l; y 1219 3rdparty/openexr/Imath/ImathVec.h y /= l; y 1230 3rdparty/openexr/Imath/ImathVec.h y /= l; y 1243 3rdparty/openexr/Imath/ImathVec.h return Vec2 (x / l, y / l); y 1255 3rdparty/openexr/Imath/ImathVec.h return Vec2 (x / l, y / l); y 1264 3rdparty/openexr/Imath/ImathVec.h return Vec2 (x / l, y / l); y 1297 3rdparty/openexr/Imath/ImathVec.h x = y = z = a; y 1305 3rdparty/openexr/Imath/ImathVec.h y = b; y 1314 3rdparty/openexr/Imath/ImathVec.h y = v.y; y 1324 3rdparty/openexr/Imath/ImathVec.h y = T (v.y); y 1333 3rdparty/openexr/Imath/ImathVec.h y = v.y; y 1344 3rdparty/openexr/Imath/ImathVec.h y = T (v.y / v.w); y 1353 3rdparty/openexr/Imath/ImathVec.h T vy = T (v.y); y 1368 3rdparty/openexr/Imath/ImathVec.h y = vy / vw; y 1378 3rdparty/openexr/Imath/ImathVec.h y = T (b); y 1388 3rdparty/openexr/Imath/ImathVec.h y = T (v.y); y 1398 3rdparty/openexr/Imath/ImathVec.h b = S (y); y 1408 3rdparty/openexr/Imath/ImathVec.h v.y = S (y); y 1431 3rdparty/openexr/Imath/ImathVec.h return x == v.x && y == v.y && z == v.z; y 1439 3rdparty/openexr/Imath/ImathVec.h return x != v.x || y != v.y || z != v.z; y 1468 3rdparty/openexr/Imath/ImathVec.h return x * v.x + y * v.y + z * v.z; y 1482 3rdparty/openexr/Imath/ImathVec.h return Vec3 (y * v.z - z * v.y, y 1484 3rdparty/openexr/Imath/ImathVec.h x * v.y - y * v.x); y 1491 3rdparty/openexr/Imath/ImathVec.h T a = y * v.z - z * v.y; y 1493 3rdparty/openexr/Imath/ImathVec.h T c = x * v.y - y * v.x; y 1495 3rdparty/openexr/Imath/ImathVec.h y = b; y 1504 3rdparty/openexr/Imath/ImathVec.h return Vec3 (y * v.z - z * v.y, y 1506 3rdparty/openexr/Imath/ImathVec.h x * v.y - y * v.x); y 1514 3rdparty/openexr/Imath/ImathVec.h y += v.y; y 1523 3rdparty/openexr/Imath/ImathVec.h return Vec3 (x + v.x, y + v.y, z + v.z); y 1531 3rdparty/openexr/Imath/ImathVec.h y -= v.y; y 1540 3rdparty/openexr/Imath/ImathVec.h return Vec3 (x - v.x, y - v.y, z - v.z); y 1547 3rdparty/openexr/Imath/ImathVec.h return Vec3 (-x, -y, -z); y 1555 3rdparty/openexr/Imath/ImathVec.h y = -y; y 1565 3rdparty/openexr/Imath/ImathVec.h y *= v.y; y 1575 3rdparty/openexr/Imath/ImathVec.h y *= a; y 1584 3rdparty/openexr/Imath/ImathVec.h return Vec3 (x * v.x, y * v.y, z * v.z); y 1591 3rdparty/openexr/Imath/ImathVec.h return Vec3 (x * a, y * a, z * a); y 1599 3rdparty/openexr/Imath/ImathVec.h y /= v.y; y 1609 3rdparty/openexr/Imath/ImathVec.h y /= a; y 1618 3rdparty/openexr/Imath/ImathVec.h return Vec3 (x / v.x, y / v.y, z / v.z); y 1625 3rdparty/openexr/Imath/ImathVec.h return Vec3 (x / a, y / a, z / a); y 1633 3rdparty/openexr/Imath/ImathVec.h T absY = (y >= T (0))? y: -y; y 1694 3rdparty/openexr/Imath/ImathVec.h y /= l; y 1711 3rdparty/openexr/Imath/ImathVec.h y /= l; y 1723 3rdparty/openexr/Imath/ImathVec.h y /= l; y 1737 3rdparty/openexr/Imath/ImathVec.h return Vec3 (x / l, y / l, z / l); y 1749 3rdparty/openexr/Imath/ImathVec.h return Vec3 (x / l, y / l, z / l); y 1758 3rdparty/openexr/Imath/ImathVec.h return Vec3 (x / l, y / l, z / l); y 1791 3rdparty/openexr/Imath/ImathVec.h x = y = z = w = a; y 1799 3rdparty/openexr/Imath/ImathVec.h y = b; y 1809 3rdparty/openexr/Imath/ImathVec.h y = v.y; y 1820 3rdparty/openexr/Imath/ImathVec.h y = T (v.y); y 1830 3rdparty/openexr/Imath/ImathVec.h y = v.y; y 1842 3rdparty/openexr/Imath/ImathVec.h y = T (v.y); y 1852 3rdparty/openexr/Imath/ImathVec.h return x == v.x && y == v.y && z == v.z && w == v.w; y 1860 3rdparty/openexr/Imath/ImathVec.h return x != v.x || y != v.y || z != v.z || w != v.w; y 1889 3rdparty/openexr/Imath/ImathVec.h return x * v.x + y * v.y + z * v.z + w * v.w; y 1905 3rdparty/openexr/Imath/ImathVec.h y += v.y; y 1915 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x + v.x, y + v.y, z + v.z, w + v.w); y 1923 3rdparty/openexr/Imath/ImathVec.h y -= v.y; y 1933 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x - v.x, y - v.y, z - v.z, w - v.w); y 1940 3rdparty/openexr/Imath/ImathVec.h return Vec4 (-x, -y, -z, -w); y 1948 3rdparty/openexr/Imath/ImathVec.h y = -y; y 1959 3rdparty/openexr/Imath/ImathVec.h y *= v.y; y 1970 3rdparty/openexr/Imath/ImathVec.h y *= a; y 1980 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x * v.x, y * v.y, z * v.z, w * v.w); y 1987 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x * a, y * a, z * a, w * a); y 1995 3rdparty/openexr/Imath/ImathVec.h y /= v.y; y 2006 3rdparty/openexr/Imath/ImathVec.h y /= a; y 2016 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x / v.x, y / v.y, z / v.z, w / v.w); y 2023 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x / a, y / a, z / a, w / a); y 2031 3rdparty/openexr/Imath/ImathVec.h T absY = (y >= T (0))? y: -y; y 2098 3rdparty/openexr/Imath/ImathVec.h y /= l; y 2116 3rdparty/openexr/Imath/ImathVec.h y /= l; y 2129 3rdparty/openexr/Imath/ImathVec.h y /= l; y 2144 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x / l, y / l, z / l, w / l); y 2156 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x / l, y / l, z / l, w / l); y 2165 3rdparty/openexr/Imath/ImathVec.h return Vec4 (x / l, y / l, z / l, w / l); y 2176 3rdparty/openexr/Imath/ImathVec.h return s << '(' << v.x << ' ' << v.y << ')'; y 2183 3rdparty/openexr/Imath/ImathVec.h return s << '(' << v.x << ' ' << v.y << ' ' << v.z << ')'; y 2190 3rdparty/openexr/Imath/ImathVec.h return s << '(' << v.x << ' ' << v.y << ' ' << v.z << ' ' << v.w << ')'; y 2202 3rdparty/openexr/Imath/ImathVec.h return Vec2<T> (a * v.x, a * v.y); y 2209 3rdparty/openexr/Imath/ImathVec.h return Vec3<T> (a * v.x, a * v.y, a * v.z); y 2216 3rdparty/openexr/Imath/ImathVec.h return Vec4<T> (a * v.x, a * v.y, a * v.z, a * v.w); y 36 apps/annotation/opencv_annotation.cpp void on_mouse(int event, int x, int y, int , void * ) y 44 apps/annotation/opencv_annotation.cpp roi_y0 = y; y 48 apps/annotation/opencv_annotation.cpp roi_y1 = y; y 58 apps/annotation/opencv_annotation.cpp rectangle(current_view, Point(roi_x0,roi_y0), Point(x,y), Scalar(0,0,255)); y 386 apps/createsamples/utility.cpp int x, y; y 397 apps/createsamples/utility.cpp for( y = iy_min; y <= iy_max; ++y ) y 405 apps/createsamples/utility.cpp double div = (c[2][0] * x + c[2][1] * y + c[2][2]); y 406 apps/createsamples/utility.cpp double src_x = (c[0][0] * x + c[0][1] * y + c[0][2]) / div; y 407 apps/createsamples/utility.cpp double src_y = (c[1][0] * x + c[1][1] * y + c[1][2]) / div; y 444 apps/createsamples/utility.cpp ((uchar*)(dst_data + y * dst_step))[x] = (uchar) (i0 + (i1 - i0)*delta_y); y 740 apps/createsamples/utility.cpp cr.y = data->dy; y 748 apps/createsamples/utility.cpp cr.y = (int) MIN( quad[0][1], quad[1][1] ); y 750 apps/createsamples/utility.cpp cr.height = (int) (MAX( quad[2][1], quad[3][1] ) + 0.5F ) - cr.y; y 757 apps/createsamples/utility.cpp cr.y -= (int) ( yshift * cr.height ); y 763 apps/createsamples/utility.cpp cr.y -= (int) ( 0.5 * randscale * cr.height ); y 770 apps/createsamples/utility.cpp roi.y = (int) (-0.5F * (scale * bgimg->rows - cr.height) + cr.y); y 1012 apps/createsamples/utility.cpp offset.y = round / data->winsize.width; y 1015 apps/createsamples/utility.cpp offset.y = MIN( offset.y, img->height - data->winsize.height ); y 1018 apps/createsamples/utility.cpp offset.x >= 0 && offset.y >= 0 ) y 1050 apps/createsamples/utility.cpp ((float) data->winsize.height + reader->point.y) / ((float) reader->src.rows) ); y 1094 apps/createsamples/utility.cpp cvSetData( &mat, (void*) (reader->img.data.ptr + reader->point.y * reader->img.step y 1106 apps/createsamples/utility.cpp if( (int) ( reader->point.y + (1.0F + reader->stepfactor ) * data->winsize.height ) y 1109 apps/createsamples/utility.cpp reader->point.y += (int) (reader->stepfactor * data->winsize.height); y 1113 apps/createsamples/utility.cpp reader->point.y = reader->offset.y; y 1338 apps/createsamples/utility.cpp int x, y, width, height; y 1378 apps/createsamples/utility.cpp y = (int) ((0.1+0.8 * rand()/RAND_MAX) * (cvbgreader->src.rows - height)); y 1380 apps/createsamples/utility.cpp cvGetSubArr( &cvbgreader->src, &win, cvRect( x, y ,width, height ) ); y 1391 apps/createsamples/utility.cpp (i + 1), x, y, width, height ); y 1396 apps/createsamples/utility.cpp filename, 1, x, y, width, height ); y 1432 apps/createsamples/utility.cpp int x, y, width, height; y 1517 apps/createsamples/utility.cpp error = ( fscanf( info, "%d %d %d %d", &x, &y, &width, &height ) != 4 ); y 1519 apps/createsamples/utility.cpp cvSetImageROI( src, cvRect( x, y, width, height ) ); y 69 apps/traincascade/HOGfeatures.cpp int x, y, t, w, h; y 78 apps/traincascade/HOGfeatures.cpp for (y = 0; y <= winSize.height - h; y += blockStep.height) y 80 apps/traincascade/HOGfeatures.cpp features.push_back(Feature(offset, x, y, t, t)); y 87 apps/traincascade/HOGfeatures.cpp for (y = 0; y <= winSize.height - h; y += blockStep.height) y 89 apps/traincascade/HOGfeatures.cpp features.push_back(Feature(offset, x, y, t, 2*t)); y 96 apps/traincascade/HOGfeatures.cpp for (y = 0; y <= winSize.height - h; y += blockStep.height) y 98 apps/traincascade/HOGfeatures.cpp features.push_back(Feature(offset, x, y, 2*t, t)); y 114 apps/traincascade/HOGfeatures.cpp CvHOGEvaluator::Feature::Feature( int offset, int x, int y, int cellW, int cellH ) y 116 apps/traincascade/HOGfeatures.cpp rect[0] = Rect(x, y, cellW, cellH); //cell0 y 117 apps/traincascade/HOGfeatures.cpp rect[1] = Rect(x+cellW, y, cellW, cellH); //cell1 y 118 apps/traincascade/HOGfeatures.cpp rect[2] = Rect(x, y+cellH, cellW, cellH); //cell2 y 119 apps/traincascade/HOGfeatures.cpp rect[3] = Rect(x+cellW, y+cellH, cellW, cellH); //cell3 y 132 apps/traincascade/HOGfeatures.cpp fs << "[:" << rect[i].x << rect[i].y << rect[i].width << rect[i].height << "]"; y 152 apps/traincascade/HOGfeatures.cpp fs << CC_RECT << "[:" << rect[0].x << rect[0].y << y 160 apps/traincascade/HOGfeatures.cpp int x, y, binIdx; y 175 apps/traincascade/HOGfeatures.cpp for( y = -1; y < gradSize.height + 1; y++ ) y 176 apps/traincascade/HOGfeatures.cpp ymap[y] = borderInterpolate(y, gradSize.height, borderType); y 188 apps/traincascade/HOGfeatures.cpp for( y = 0; y < gradSize.height; y++ ) y 190 apps/traincascade/HOGfeatures.cpp const uchar* currPtr = img.ptr(ymap[y]); y 191 apps/traincascade/HOGfeatures.cpp const uchar* prevPtr = img.ptr(ymap[y-1]); y 192 apps/traincascade/HOGfeatures.cpp const uchar* nextPtr = img.ptr(ymap[y+1]); y 193 apps/traincascade/HOGfeatures.cpp float* gradPtr = grad.ptr<float>(y); y 194 apps/traincascade/HOGfeatures.cpp uchar* qanglePtr = qangle.ptr(y); y 235 apps/traincascade/HOGfeatures.cpp for( y = 0; y < qangle.rows; y++ ) y 34 apps/traincascade/HOGfeatures.h Feature( int offset, int x, int y, int cellW, int cellH ); y 35 apps/traincascade/HOGfeatures.h float calc( const std::vector<cv::Mat> &_hists, const cv::Mat &_normSum, size_t y, int featComponent ) const; y 60 apps/traincascade/HOGfeatures.h inline float CvHOGEvaluator::Feature::calc( const std::vector<cv::Mat>& _hists, const cv::Mat& _normSum, size_t y, int featComponent ) const y 68 apps/traincascade/HOGfeatures.h const float *phist = _hists[binIdx].ptr<float>((int)y); y 71 apps/traincascade/HOGfeatures.h const float *pnormSum = _normSum.ptr<float>((int)y); y 126 apps/traincascade/haarfeatures.cpp for( int y = 0; y < winSize.height; y++ ) y 133 apps/traincascade/haarfeatures.cpp if ( (x+dx*2 <= winSize.width) && (y+dy <= winSize.height) ) y 136 apps/traincascade/haarfeatures.cpp x, y, dx*2, dy, -1, y 137 apps/traincascade/haarfeatures.cpp x+dx, y, dx , dy, +2 ) ); y 140 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width) && (y+dy*2 <= winSize.height) ) y 143 apps/traincascade/haarfeatures.cpp x, y, dx, dy*2, -1, y 144 apps/traincascade/haarfeatures.cpp x, y+dy, dx, dy, +2 ) ); y 147 apps/traincascade/haarfeatures.cpp if ( (x+dx*3 <= winSize.width) && (y+dy <= winSize.height) ) y 150 apps/traincascade/haarfeatures.cpp x, y, dx*3, dy, -1, y 151 apps/traincascade/haarfeatures.cpp x+dx, y, dx , dy, +3 ) ); y 154 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width) && (y+dy*3 <= winSize.height) ) y 157 apps/traincascade/haarfeatures.cpp x, y, dx, dy*3, -1, y 158 apps/traincascade/haarfeatures.cpp x, y+dy, dx, dy, +3 ) ); y 163 apps/traincascade/haarfeatures.cpp if ( (x+dx*4 <= winSize.width) && (y+dy <= winSize.height) ) y 166 apps/traincascade/haarfeatures.cpp x, y, dx*4, dy, -1, y 167 apps/traincascade/haarfeatures.cpp x+dx, y, dx*2, dy, +2 ) ); y 170 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width ) && (y+dy*4 <= winSize.height) ) y 173 apps/traincascade/haarfeatures.cpp x, y, dx, dy*4, -1, y 174 apps/traincascade/haarfeatures.cpp x, y+dy, dx, dy*2, +2 ) ); y 178 apps/traincascade/haarfeatures.cpp if ( (x+dx*2 <= winSize.width) && (y+dy*2 <= winSize.height) ) y 181 apps/traincascade/haarfeatures.cpp x, y, dx*2, dy*2, -1, y 182 apps/traincascade/haarfeatures.cpp x, y, dx, dy, +2, y 183 apps/traincascade/haarfeatures.cpp x+dx, y+dy, dx, dy, +2 ) ); y 187 apps/traincascade/haarfeatures.cpp if ( (x+dx*3 <= winSize.width) && (y+dy*3 <= winSize.height) ) y 190 apps/traincascade/haarfeatures.cpp x , y , dx*3, dy*3, -1, y 191 apps/traincascade/haarfeatures.cpp x+dx, y+dy, dx , dy , +9) ); y 197 apps/traincascade/haarfeatures.cpp if ( (x+2*dx <= winSize.width) && (y+2*dx+dy <= winSize.height) && (x-dy>= 0) ) y 200 apps/traincascade/haarfeatures.cpp x, y, dx*2, dy, -1, y 201 apps/traincascade/haarfeatures.cpp x, y, dx, dy, +2 ) ); y 204 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width) && (y+dx+2*dy <= winSize.height) && (x-2*dy>= 0) ) y 207 apps/traincascade/haarfeatures.cpp x, y, dx, 2*dy, -1, y 208 apps/traincascade/haarfeatures.cpp x, y, dx, dy, +2 ) ); y 211 apps/traincascade/haarfeatures.cpp if ( (x+3*dx <= winSize.width) && (y+3*dx+dy <= winSize.height) && (x-dy>= 0) ) y 214 apps/traincascade/haarfeatures.cpp x, y, dx*3, dy, -1, y 215 apps/traincascade/haarfeatures.cpp x+dx, y+dx, dx, dy, +3 ) ); y 218 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width) && (y+dx+3*dy <= winSize.height) && (x-3*dy>= 0) ) y 221 apps/traincascade/haarfeatures.cpp x, y, dx, 3*dy, -1, y 222 apps/traincascade/haarfeatures.cpp x-dy, y+dy, dx, dy, +3 ) ); y 225 apps/traincascade/haarfeatures.cpp if ( (x+4*dx <= winSize.width) && (y+4*dx+dy <= winSize.height) && (x-dy>= 0) ) y 228 apps/traincascade/haarfeatures.cpp x, y, dx*4, dy, -1, y 229 apps/traincascade/haarfeatures.cpp x+dx, y+dx, dx*2, dy, +2 ) ); y 232 apps/traincascade/haarfeatures.cpp if ( (x+dx <= winSize.width) && (y+dx+4*dy <= winSize.height) && (x-4*dy>= 0) ) y 235 apps/traincascade/haarfeatures.cpp x, y, dx, 4*dy, -1, y 236 apps/traincascade/haarfeatures.cpp x-dy, y+dy, dx, 2*dy, +2 ) ); y 261 apps/traincascade/haarfeatures.cpp rect[0].r.y = y0; y 267 apps/traincascade/haarfeatures.cpp rect[1].r.y = y1; y 273 apps/traincascade/haarfeatures.cpp rect[2].r.y = y2; y 303 apps/traincascade/haarfeatures.cpp fs << "[:" << rect[ri].r.x << rect[ri].r.y << y 51 apps/traincascade/haarfeatures.h float calc( const cv::Mat &sum, const cv::Mat &tilted, size_t y) const; y 79 apps/traincascade/haarfeatures.h inline float CvHaarEvaluator::Feature::calc( const cv::Mat &_sum, const cv::Mat &_tilted, size_t y) const y 81 apps/traincascade/haarfeatures.h const int* img = tilted ? _tilted.ptr<int>((int)y) : _sum.ptr<int>((int)y); y 66 apps/traincascade/imagestorage.cpp _offset.y = std::min( (int)round / winSize.width, src.rows - winSize.height ); y 68 apps/traincascade/imagestorage.cpp && _offset.x >= 0 && _offset.y >= 0 ) y 76 apps/traincascade/imagestorage.cpp ((float)winSize.height + point.y) / ((float)src.rows) ); y 95 apps/traincascade/imagestorage.cpp (void*)(img.ptr(point.y) + point.x * img.elemSize()), img.step ); y 103 apps/traincascade/imagestorage.cpp if( (int)( point.y + (1.0F + stepFactor ) * winSize.height ) < img.rows ) y 104 apps/traincascade/imagestorage.cpp point.y += (int)(stepFactor * winSize.height); y 107 apps/traincascade/imagestorage.cpp point.y = offset.y; y 39 apps/traincascade/lbpfeatures.cpp for( int y = 0; y < winSize.height; y++ ) y 42 apps/traincascade/lbpfeatures.cpp if ( (x+3*w <= winSize.width) && (y+3*h <= winSize.height) ) y 43 apps/traincascade/lbpfeatures.cpp features.push_back( Feature(offset, x, y, w, h ) ); y 52 apps/traincascade/lbpfeatures.cpp CvLBPEvaluator::Feature::Feature( int offset, int x, int y, int _blockWidth, int _blockHeight ) y 54 apps/traincascade/lbpfeatures.cpp Rect tr = rect = cvRect(x, y, _blockWidth, _blockHeight); y 58 apps/traincascade/lbpfeatures.cpp tr.y +=2*rect.height; y 66 apps/traincascade/lbpfeatures.cpp fs << CC_RECT << "[:" << rect.x << rect.y << rect.width << rect.height << "]"; y 30 apps/traincascade/lbpfeatures.h Feature( int offset, int x, int y, int _block_w, int _block_h ); y 31 apps/traincascade/lbpfeatures.h uchar calc( const cv::Mat& _sum, size_t y ) const; y 42 apps/traincascade/lbpfeatures.h inline uchar CvLBPEvaluator::Feature::calc(const cv::Mat &_sum, size_t y) const y 44 apps/traincascade/lbpfeatures.h const int* psum = _sum.ptr<int>((int)y); y 372 apps/traincascade/old_ml.hpp CvSVMSolver( int count, int var_count, const float** samples, schar* y, y 376 apps/traincascade/old_ml.hpp virtual bool create( int count, int var_count, const float** samples, schar* y, y 385 apps/traincascade/old_ml.hpp virtual bool solve_c_svc( int count, int var_count, const float** samples, schar* y, y 388 apps/traincascade/old_ml.hpp virtual bool solve_nu_svc( int count, int var_count, const float** samples, schar* y, y 395 apps/traincascade/old_ml.hpp virtual bool solve_eps_svr( int count, int var_count, const float** samples, const float* y, y 399 apps/traincascade/old_ml.hpp virtual bool solve_nu_svr( int count, int var_count, const float** samples, const float* y, y 424 apps/traincascade/old_ml.hpp schar* y; y 11 apps/traincascade/traincascade_features.h (p0) = (rect).x + (step) * (rect).y; \ y 13 apps/traincascade/traincascade_features.h (p1) = (rect).x + (rect).width + (step) * (rect).y; \ y 15 apps/traincascade/traincascade_features.h (p2) = (rect).x + (step) * ((rect).y + (rect).height); \ y 17 apps/traincascade/traincascade_features.h (p3) = (rect).x + (rect).width + (step) * ((rect).y + (rect).height); y 21 apps/traincascade/traincascade_features.h (p0) = (rect).x + (step) * (rect).y; \ y 23 apps/traincascade/traincascade_features.h (p1) = (rect).x - (rect).height + (step) * ((rect).y + (rect).height);\ y 25 apps/traincascade/traincascade_features.h (p2) = (rect).x + (rect).width + (step) * ((rect).y + (rect).width); \ y 28 apps/traincascade/traincascade_features.h + (step) * ((rect).y + (rect).width + (rect).height); y 247 modules/calib3d/misc/java/test/Calib3dTest.java double y = Math.random() * 100 - 50; y 248 modules/calib3d/misc/java/test/Calib3dTest.java pts.put(i, 0, x, y); //add(new Point(x, y)); y 284 modules/calib3d/misc/java/test/Calib3dTest.java double y = Math.random() * 100 - 50; y 285 modules/calib3d/misc/java/test/Calib3dTest.java originalPoints.put(i, 0, x, y); y 286 modules/calib3d/misc/java/test/Calib3dTest.java transformedPoints.put(i, 0, y, x); y 515 modules/calib3d/misc/java/test/Calib3dTest.java double y = Math.random() * 100 - 50; y 516 modules/calib3d/misc/java/test/Calib3dTest.java points2d.put(i, 0, x, y); //add(new Point(x, y)); y 517 modules/calib3d/misc/java/test/Calib3dTest.java points3d.put(i, 0, 0, y, x); // add(new Point3(0, y, x)); y 126 modules/calib3d/src/calibinit.cpp float dy = neighbors[i]->pt.y - pt.y; y 213 modules/calib3d/src/calibinit.cpp CV_MAT_ELEM( *xy, float, i*2+1, 3 ) = CV_MAT_ELEM( *xy, float, i*2, 1 ) = pts2[j].y; y 218 modules/calib3d/src/calibinit.cpp CV_MAT_ELEM( *uv, float, i*2+1, 0 ) = pts1[j].y; y 391 modules/calib3d/src/calibinit.cpp pt2.y = (pt1.y + pt2.y)/2; y 448 modules/calib3d/src/calibinit.cpp pt2.y = (pt1.y + pt2.y)/2; y 516 modules/calib3d/src/calibinit.cpp out_corners[k].y <= BORDER || out_corners[k].y > img->rows - BORDER ) y 526 modules/calib3d/src/calibinit.cpp double dy0 = out_corners[last_row].y - out_corners[0].y; y 594 modules/calib3d/src/calibinit.cpp float prevt = 0, dx0 = b.x - a.x, dy0 = b.y - a.y; y 601 modules/calib3d/src/calibinit.cpp float t = ((c.x - a.x)*dx0 + (c.y - a.y)*dy0)/(dx0*dx0 + dy0*dy0); y 888 modules/calib3d/src/calibinit.cpp float dy = pt.y - quad->corners[j]->pt.y; y 897 modules/calib3d/src/calibinit.cpp corner->pt.y += dy; y 1070 modules/calib3d/src/calibinit.cpp quad->corners[tc]->pt.y == corner->pt.y) y 1122 modules/calib3d/src/calibinit.cpp ci.y += pt.y; y 1126 modules/calib3d/src/calibinit.cpp ci.y *= 0.25f; y 1130 modules/calib3d/src/calibinit.cpp center.y += ci.y; y 1133 modules/calib3d/src/calibinit.cpp center.y /= quad_count; y 1467 modules/calib3d/src/calibinit.cpp if( (p1.x - p0.x)*(p2.y - p1.y) - (p1.y - p0.y)*(p2.x - p1.x) < 0 ) y 1549 modules/calib3d/src/calibinit.cpp dy = pt.y - quads[k].corners[j]->pt.y; y 1587 modules/calib3d/src/calibinit.cpp dy = closest_corner->pt.y - cur_quad->corners[j]->pt.y; y 1617 modules/calib3d/src/calibinit.cpp dy = closest_corner->pt.y - q->corners[j]->pt.y; y 1630 modules/calib3d/src/calibinit.cpp closest_corner->pt.y = (pt.y + closest_corner->pt.y) * 0.5f; y 1721 modules/calib3d/src/calibinit.cpp dy = pt[0].y - pt[2].y; y 1725 modules/calib3d/src/calibinit.cpp dy = pt[1].y - pt[3].y; y 1732 modules/calib3d/src/calibinit.cpp dy = pt[0].y - pt[1].y; y 1735 modules/calib3d/src/calibinit.cpp dy = pt[1].y - pt[2].y; y 1785 modules/calib3d/src/calibinit.cpp float dy = q->corners[i]->pt.y - q->corners[(i+1)&3]->pt.y; y 1848 modules/calib3d/src/calibinit.cpp pt.y = cvRound(corners[i].y*(1 << shift)); y 1849 modules/calib3d/src/calibinit.cpp cvLine( image, cvPoint( pt.x - r, pt.y - r ), y 1850 modules/calib3d/src/calibinit.cpp cvPoint( pt.x + r, pt.y + r ), color, 1, line_type, shift ); y 1851 modules/calib3d/src/calibinit.cpp cvLine( image, cvPoint( pt.x - r, pt.y + r), y 1852 modules/calib3d/src/calibinit.cpp cvPoint( pt.x + r, pt.y - r), color, 1, line_type, shift ); y 1858 modules/calib3d/src/calibinit.cpp int x, y; y 1872 modules/calib3d/src/calibinit.cpp for( y = 0, i = 0; y < pattern_size.height; y++ ) y 1874 modules/calib3d/src/calibinit.cpp CvScalar color = line_colors[y % line_max]; y 1886 modules/calib3d/src/calibinit.cpp pt.y = cvRound(corners[i].y*(1 << shift)); y 1891 modules/calib3d/src/calibinit.cpp cvLine( image, cvPoint(pt.x - r, pt.y - r), y 1892 modules/calib3d/src/calibinit.cpp cvPoint(pt.x + r, pt.y + r), color, 1, line_type, shift ); y 1893 modules/calib3d/src/calibinit.cpp cvLine( image, cvPoint(pt.x - r, pt.y + r), y 1894 modules/calib3d/src/calibinit.cpp cvPoint(pt.x + r, pt.y - r), color, 1, line_type, shift ); y 751 modules/calib3d/src/calibration.cpp double X = M[i].x, Y = M[i].y, Z = M[i].z; y 753 modules/calib3d/src/calibration.cpp double y = R[3]*X + R[4]*Y + R[5]*Z + t[1]; y 759 modules/calib3d/src/calibration.cpp x *= z; y *= z; y 761 modules/calib3d/src/calibration.cpp r2 = x*x + y*y; y 764 modules/calib3d/src/calibration.cpp a1 = 2*x*y; y 766 modules/calib3d/src/calibration.cpp a3 = r2 + 2*y*y; y 770 modules/calib3d/src/calibration.cpp yd = y*cdist*icdist2 + k[2]*a3 + k[3]*a1 + k[10]*r2+k[11]*r4; y 773 modules/calib3d/src/calibration.cpp m[i].y = yd*fy + cy; y 806 modules/calib3d/src/calibration.cpp dpdk_p[dpdk_step] = fy*y*icdist2*r2; y 807 modules/calib3d/src/calibration.cpp dpdk_p[dpdk_step+1] = fy*y*icdist2*r4; y 817 modules/calib3d/src/calibration.cpp dpdk_p[dpdk_step+4] = fy*y*icdist2*r6; y 822 modules/calib3d/src/calibration.cpp dpdk_p[dpdk_step+5] = fy*y*cdist*(-icdist2)*icdist2*r2; y 824 modules/calib3d/src/calibration.cpp dpdk_p[dpdk_step+6] = fy*y*cdist*(-icdist2)*icdist2*r4; y 826 modules/calib3d/src/calibration.cpp dpdk_p[dpdk_step+7] = fy*y*cdist*(-icdist2)*icdist2*r6; y 846 modules/calib3d/src/calibration.cpp double dxdt[] = { z, 0, -x*z }, dydt[] = { 0, z, -y*z }; y 849 modules/calib3d/src/calibration.cpp double dr2dt = 2*x*dxdt[j] + 2*y*dydt[j]; y 852 modules/calib3d/src/calibration.cpp double da1dt = 2*(x*dydt[j] + y*dxdt[j]); y 855 modules/calib3d/src/calibration.cpp double dmydt = fy*(dydt[j]*cdist*icdist2 + y*dcdist_dt*icdist2 + y*cdist*dicdist2_dt + y 856 modules/calib3d/src/calibration.cpp k[2]*(dr2dt + 2*y*dydt[j]) + k[3]*da1dt + k[10]*dr2dt + 2*r2*k[11]*dr2dt); y 886 modules/calib3d/src/calibration.cpp double dydr = z*(dy0dr[j] - y*dz0dr[j]); y 887 modules/calib3d/src/calibration.cpp double dr2dr = 2*x*dxdr + 2*y*dydr; y 890 modules/calib3d/src/calibration.cpp double da1dr = 2*(x*dydr + y*dxdr); y 893 modules/calib3d/src/calibration.cpp double dmydr = fy*(dydr*cdist*icdist2 + y*dcdist_dr*icdist2 + y*cdist*dicdist2_dr + y 894 modules/calib3d/src/calibration.cpp k[2]*(dr2dr + 2*y*dydr) + k[3]*da1dr + k[10]*dr2dr + 2*r2*k[11]*dr2dr); y 1063 modules/calib3d/src/calibration.cpp double x = -mn[i].x, y = -mn[i].y; y 1065 modules/calib3d/src/calibration.cpp L[1] = L[17] = M[i].y; y 1071 modules/calib3d/src/calibration.cpp L[9] = x*M[i].y; y 1074 modules/calib3d/src/calibration.cpp L[20] = y*M[i].x; y 1075 modules/calib3d/src/calibration.cpp L[21] = y*M[i].y; y 1076 modules/calib3d/src/calibration.cpp L[22] = y*M[i].z; y 1077 modules/calib3d/src/calibration.cpp L[23] = y; y 2102 modules/calib3d/src/calibration.cpp int x, y, k; y 2106 modules/calib3d/src/calibration.cpp for( y = k = 0; y < N; y++ ) y 2109 modules/calib3d/src/calibration.cpp (float)y*imgSize.height/(N-1)); y 2117 modules/calib3d/src/calibration.cpp for( y = k = 0; y < N; y++ ) y 2123 modules/calib3d/src/calibration.cpp oY0 = MIN(oY0, p.y); y 2124 modules/calib3d/src/calibration.cpp oY1 = MAX(oY1, p.y); y 2130 modules/calib3d/src/calibration.cpp if( y == 0 ) y 2131 modules/calib3d/src/calibration.cpp iY0 = MAX(iY0, p.y); y 2132 modules/calib3d/src/calibration.cpp if( y == N-1 ) y 2133 modules/calib3d/src/calibration.cpp iY1 = MIN(iY1, p.y); y 2218 modules/calib3d/src/calibration.cpp _pts[i].y = (float)(j*(ny-1)); y 2233 modules/calib3d/src/calibration.cpp cc_new[k].y = (ny-1)/2 - avg.val[1]; y 2245 modules/calib3d/src/calibration.cpp cc_new[0].y = cc_new[1].y = (cc_new[0].y + cc_new[1].y)*0.5; y 2248 modules/calib3d/src/calibration.cpp cc_new[0].y = cc_new[1].y = (cc_new[0].y + cc_new[1].y)*0.5; y 2255 modules/calib3d/src/calibration.cpp _pp[1][2] = cc_new[0].y; y 2260 modules/calib3d/src/calibration.cpp _pp[1][2] = cc_new[1].y; y 2272 modules/calib3d/src/calibration.cpp double cy1_0 = cc_new[0].y; y 2274 modules/calib3d/src/calibration.cpp double cy2_0 = cc_new[1].y; y 2283 modules/calib3d/src/calibration.cpp double s0 = std::max(std::max(std::max((double)cx1/(cx1_0 - inner1.x), (double)cy1/(cy1_0 - inner1.y)), y 2285 modules/calib3d/src/calibration.cpp (double)(newImgSize.height - cy1)/(inner1.y + inner1.height - cy1_0)); y 2286 modules/calib3d/src/calibration.cpp s0 = std::max(std::max(std::max(std::max((double)cx2/(cx2_0 - inner2.x), (double)cy2/(cy2_0 - inner2.y)), y 2288 modules/calib3d/src/calibration.cpp (double)(newImgSize.height - cy2)/(inner2.y + inner2.height - cy2_0)), y 2291 modules/calib3d/src/calibration.cpp double s1 = std::min(std::min(std::min((double)cx1/(cx1_0 - outer1.x), (double)cy1/(cy1_0 - outer1.y)), y 2293 modules/calib3d/src/calibration.cpp (double)(newImgSize.height - cy1)/(outer1.y + outer1.height - cy1_0)); y 2294 modules/calib3d/src/calibration.cpp s1 = std::min(std::min(std::min(std::min((double)cx2/(cx2_0 - outer2.x), (double)cy2/(cy2_0 - outer2.y)), y 2296 modules/calib3d/src/calibration.cpp (double)(newImgSize.height - cy2)/(outer2.y + outer2.height - cy2_0)), y 2320 modules/calib3d/src/calibration.cpp cvCeil((inner1.y - cy1_0)*s + cy1), y 2328 modules/calib3d/src/calibration.cpp cvCeil((inner2.y - cy2_0)*s + cy2), y 2339 modules/calib3d/src/calibration.cpp 0, 1, 0, -cc_new[0].y, y 2342 modules/calib3d/src/calibration.cpp (idx == 0 ? cc_new[0].x - cc_new[1].x : cc_new[0].y - cc_new[1].y)/_t[idx] y 2370 modules/calib3d/src/calibration.cpp double s0 = std::max(std::max(std::max((double)cx/(cx0 - inner.x), (double)cy/(cy0 - inner.y)), y 2372 modules/calib3d/src/calibration.cpp (double)cy/(inner.y + inner.height - cy0)); y 2373 modules/calib3d/src/calibration.cpp double s1 = std::min(std::min(std::min((double)cx/(cx0 - outer.x), (double)cy/(cy0 - outer.y)), y 2375 modules/calib3d/src/calibration.cpp (double)cy/(outer.y + outer.height - cy0)); y 2386 modules/calib3d/src/calibration.cpp (float)((inner.y - cy0)*s + cy), y 2389 modules/calib3d/src/calibration.cpp cv::Rect r(cvCeil(inner.x), cvCeil(inner.y), cvFloor(inner.width), cvFloor(inner.height)); y 2404 modules/calib3d/src/calibration.cpp double cy0 = -fy0 * inner.y; y 2410 modules/calib3d/src/calibration.cpp double cy1 = -fy1 * outer.y; y 2499 modules/calib3d/src/calibration.cpp m1[i].y*lines2[i].y + y 2502 modules/calib3d/src/calibration.cpp m2[i].y*lines1[i].y + y 2662 modules/calib3d/src/calibration.cpp for( int y = 0; y < disparity.rows; y++ ) y 2665 modules/calib3d/src/calibration.cpp double qx = q[0][1]*y + q[0][3], qy = q[1][1]*y + q[1][3]; y 2666 modules/calib3d/src/calibration.cpp double qz = q[2][1]*y + q[2][3], qw = q[3][1]*y + q[3][3]; y 2670 modules/calib3d/src/calibration.cpp const uchar* sptr0 = disparity.ptr<uchar>(y); y 2676 modules/calib3d/src/calibration.cpp const short* sptr0 = disparity.ptr<short>(y); y 2682 modules/calib3d/src/calibration.cpp const int* sptr0 = disparity.ptr<int>(y); y 2687 modules/calib3d/src/calibration.cpp sptr = (float*)disparity.ptr<float>(y); y 2690 modules/calib3d/src/calibration.cpp dptr = _3dImage.ptr<float>(y); y 2709 modules/calib3d/src/calibration.cpp short* dptr0 = _3dImage.ptr<short>(y); y 2718 modules/calib3d/src/calibration.cpp int* dptr0 = _3dImage.ptr<int>(y); y 2886 modules/calib3d/src/calibration.cpp eulerAngles->y = acos(_Qy[0][0]) * (_Qy[2][0] >= 0 ? 1 : -1) * (180.0 / CV_PI); y 3522 modules/calib3d/src/calibration.cpp double y1 = imgpt3[i].y, y2 = imgpt1[i].y; y 111 modules/calib3d/src/circlesgrid.cpp int minIdx = std::min(minLoc.x, minLoc.y); y 112 modules/calib3d/src/circlesgrid.cpp int maxIdx = std::max(minLoc.x, minLoc.y); y 118 modules/calib3d/src/circlesgrid.cpp cv::min(dists.row(minLoc.x), dists.row(minLoc.y), tmpRow); y 256 modules/calib3d/src/circlesgrid.cpp if(abs(maxLoc.x - maxLoc.y) == diffBetweenFalseLines) y 260 modules/calib3d/src/circlesgrid.cpp cosAngles.row(maxLoc.y).setTo(0.0f); y 261 modules/calib3d/src/circlesgrid.cpp cosAngles.col(maxLoc.y).setTo(0.0f); y 267 modules/calib3d/src/circlesgrid.cpp line(linesImage, corners[maxLoc.y], corners[(maxLoc.y + 1) % n], Scalar(255)); y 272 modules/calib3d/src/circlesgrid.cpp int maxIdx = std::max(maxLoc.x, maxLoc.y); y 273 modules/calib3d/src/circlesgrid.cpp int minIdx = std::min(maxLoc.x, maxLoc.y); y 311 modules/calib3d/src/circlesgrid.cpp float crossProduct = centerToCorners[0].x * centerToCorners[1].y - centerToCorners[0].y * centerToCorners[1].x; y 373 modules/calib3d/src/circlesgrid.cpp int i = trueIndices[idx].y; y 1272 modules/calib3d/src/circlesgrid.cpp Path path = Path(maxLoc.x, maxLoc.y, cvRound(maxVal)); y 1273 modules/calib3d/src/circlesgrid.cpp CV_Assert(maxLoc.x >= 0 && maxLoc.y >= 0) y 1276 modules/calib3d/src/circlesgrid.cpp size_t id2 = static_cast<size_t> (maxLoc.y); y 1305 modules/calib3d/src/circlesgrid.cpp || (bestGraphIdx == 1 && keypoints[bestPath.lastVertex].y < keypoints[bestPath.firstVertex].y); y 1414 modules/calib3d/src/circlesgrid.cpp if (pos.y < 0 || pos.x < 0) y 1416 modules/calib3d/src/circlesgrid.cpp return (static_cast<size_t> (pos.y) < points->size() && static_cast<size_t> (pos.x) < points->at(pos.y).size()); y 1437 modules/calib3d/src/circlesgrid.cpp outHoles.push_back(keypoints[largeHoles->at(largePos.y)[largePos.x]]); y 1445 modules/calib3d/src/circlesgrid.cpp outHoles.push_back(keypoints[smallHoles->at(smallPos.y)[smallPos.x]]); y 1456 modules/calib3d/src/circlesgrid.cpp return a.x * b.y - a.y * b.x; y 28 modules/calib3d/src/dls.h p.at<double>(1,i) = opoints.at<OpointType>(i).y; y 38 modules/calib3d/src/dls.h std::pow(ipoints.at<IpointType>(i).y, 2) + (double)1; y 42 modules/calib3d/src/dls.h z.at<double>(1,i) = ipoints.at<IpointType>(i).y / sr; y 168 modules/calib3d/src/dls.h double p = 0, q = 0, r = 0, s = 0, z = 0, t, w, x, y; y 286 modules/calib3d/src/dls.h y = 0.0; y 289 modules/calib3d/src/dls.h y = H[n1 - 1][n1 - 1]; y 301 modules/calib3d/src/dls.h x = y = 0.75 * s; y 308 modules/calib3d/src/dls.h s = (y - x) / 2.0; y 312 modules/calib3d/src/dls.h if (y < x) { y 315 modules/calib3d/src/dls.h s = x - w / ((y - x) / 2.0 + s); y 320 modules/calib3d/src/dls.h x = y = w = 0.964; y 331 modules/calib3d/src/dls.h s = y - z; y 387 modules/calib3d/src/dls.h y = q / s; y 401 modules/calib3d/src/dls.h H[k + 1][j] = H[k + 1][j] - p * y; y 407 modules/calib3d/src/dls.h p = x * H[i][k] + y * H[i][k + 1]; y 419 modules/calib3d/src/dls.h p = x * V[i][k] + y * V[i][k + 1]; y 469 modules/calib3d/src/dls.h y = H[i + 1][i]; y 476 modules/calib3d/src/dls.h H[i + 1][n1] = (-s - y * t) / z; y 531 modules/calib3d/src/dls.h y = H[i + 1][i]; y 536 modules/calib3d/src/dls.h + std::abs(y) + std::abs(z)); y 548 modules/calib3d/src/dls.h cdiv(-r - y * H[i][n1 - 1], -s - y * H[i][n1], z, y 34 modules/calib3d/src/epnp.h pws[3 * i + 1] = opoints.at<OpointType>(i).y; y 38 modules/calib3d/src/epnp.h us[2 * i + 1] = ipoints.at<IpointType>(i).y*fv + vc; y 461 modules/calib3d/src/fisheye.cpp double x = _x/_w, y = _y/_w; y 463 modules/calib3d/src/fisheye.cpp double r = sqrt(x*x + y*y); y 471 modules/calib3d/src/fisheye.cpp double v = f[1]*y*scale + c[1]; y 670 modules/calib3d/src/fisheye.cpp cc_new[0].y = cc_new[1].y = (cc_new[0].y + cc_new[1].y)*0.5; y 673 modules/calib3d/src/fisheye.cpp 0, fc_new, cc_new[0].y, 0, y 677 modules/calib3d/src/fisheye.cpp 0, fc_new, cc_new[1].y, 0, y 682 modules/calib3d/src/fisheye.cpp 0, 1, 0, -cc_new[0].y, y 386 modules/calib3d/src/five-point.cpp Vec3d x1(x1ptr[i].x, x1ptr[i].y, 1.); y 387 modules/calib3d/src/five-point.cpp Vec3d x2(x2ptr[i].x, x2ptr[i].y, 1.); y 426 modules/calib3d/src/five-point.cpp points1.at<double>(i, 1) = (points1.at<double>(i, 1) - pp.y)*ifocal; y 428 modules/calib3d/src/five-point.cpp points2.at<double>(i, 1) = (points2.at<double>(i, 1) - pp.y)*ifocal; y 467 modules/calib3d/src/five-point.cpp points1.col(1) = (points1.col(1) - pp.y) / focal; y 468 modules/calib3d/src/five-point.cpp points2.col(1) = (points2.col(1) - pp.y) / focal; y 60 modules/calib3d/src/fundam.cpp double dy1 = ptr[j].y - ptr[i].y; y 64 modules/calib3d/src/fundam.cpp double dy2 = ptr[k].y - ptr[i].y; y 101 modules/calib3d/src/fundam.cpp Matx33d A(src[t[0]].x, src[t[0]].y, 1., src[t[1]].x, src[t[1]].y, 1., src[t[2]].x, src[t[2]].y, 1.); y 102 modules/calib3d/src/fundam.cpp Matx33d B(dst[t[0]].x, dst[t[0]].y, 1., dst[t[1]].x, dst[t[1]].y, 1., dst[t[2]].x, dst[t[2]].y, 1.); y 130 modules/calib3d/src/fundam.cpp cm.x += m[i].x; cm.y += m[i].y; y 131 modules/calib3d/src/fundam.cpp cM.x += M[i].x; cM.y += M[i].y; y 135 modules/calib3d/src/fundam.cpp cm.y /= count; y 137 modules/calib3d/src/fundam.cpp cM.y /= count; y 142 modules/calib3d/src/fundam.cpp sm.y += fabs(m[i].y - cm.y); y 144 modules/calib3d/src/fundam.cpp sM.y += fabs(M[i].y - cM.y); y 147 modules/calib3d/src/fundam.cpp if( fabs(sm.x) < DBL_EPSILON || fabs(sm.y) < DBL_EPSILON || y 148 modules/calib3d/src/fundam.cpp fabs(sM.x) < DBL_EPSILON || fabs(sM.y) < DBL_EPSILON ) y 150 modules/calib3d/src/fundam.cpp sm.x = count/sm.x; sm.y = count/sm.y; y 151 modules/calib3d/src/fundam.cpp sM.x = count/sM.x; sM.y = count/sM.y; y 153 modules/calib3d/src/fundam.cpp double invHnorm[9] = { 1./sm.x, 0, cm.x, 0, 1./sm.y, cm.y, 0, 0, 1 }; y 154 modules/calib3d/src/fundam.cpp double Hnorm2[9] = { sM.x, 0, -cM.x*sM.x, 0, sM.y, -cM.y*sM.y, 0, 0, 1 }; y 161 modules/calib3d/src/fundam.cpp double x = (m[i].x - cm.x)*sm.x, y = (m[i].y - cm.y)*sm.y; y 162 modules/calib3d/src/fundam.cpp double X = (M[i].x - cM.x)*sM.x, Y = (M[i].y - cM.y)*sM.y; y 164 modules/calib3d/src/fundam.cpp double Ly[] = { 0, 0, 0, X, Y, 1, -y*X, -y*Y, -y }; y 194 modules/calib3d/src/fundam.cpp float ww = 1.f/(Hf[6]*M[i].x + Hf[7]*M[i].y + 1.f); y 195 modules/calib3d/src/fundam.cpp float dx = (Hf[0]*M[i].x + Hf[1]*M[i].y + Hf[2])*ww - m[i].x; y 196 modules/calib3d/src/fundam.cpp float dy = (Hf[3]*M[i].x + Hf[4]*M[i].y + Hf[5])*ww - m[i].y; y 233 modules/calib3d/src/fundam.cpp double Mx = M[i].x, My = M[i].y; y 239 modules/calib3d/src/fundam.cpp errptr[i*2+1] = yi - m[i].y; y 459 modules/calib3d/src/fundam.cpp double x0 = m1[i].x, y0 = m1[i].y; y 460 modules/calib3d/src/fundam.cpp double x1 = m2[i].x, y1 = m2[i].y; y 568 modules/calib3d/src/fundam.cpp double x = m1[i].x, y = m1[i].y; y 569 modules/calib3d/src/fundam.cpp m1c.x += x; m1c.y += y; y 571 modules/calib3d/src/fundam.cpp x = m2[i].x, y = m2[i].y; y 572 modules/calib3d/src/fundam.cpp m2c.x += x; m2c.y += y; y 579 modules/calib3d/src/fundam.cpp m1c.x *= t; m1c.y *= t; y 580 modules/calib3d/src/fundam.cpp m2c.x *= t; m2c.y *= t; y 584 modules/calib3d/src/fundam.cpp double x = m1[i].x - m1c.x, y = m1[i].y - m1c.y; y 585 modules/calib3d/src/fundam.cpp scale1 += std::sqrt(x*x + y*y); y 587 modules/calib3d/src/fundam.cpp x = m2[i].x - m2c.x, y = m2[i].y - m2c.y; y 588 modules/calib3d/src/fundam.cpp scale2 += std::sqrt(x*x + y*y); y 608 modules/calib3d/src/fundam.cpp double y1 = (m1[i].y - m1c.y)*scale1; y 610 modules/calib3d/src/fundam.cpp double y2 = (m2[i].y - m2c.y)*scale2; y 649 modules/calib3d/src/fundam.cpp double tt1[] = { scale1, 0, -scale1*m1c.x, 0, scale1, -scale1*m1c.y, 0, 0, 1 }; y 650 modules/calib3d/src/fundam.cpp double tt2[] = { scale2, 0, -scale2*m2c.x, 0, scale2, -scale2*m2c.y, 0, 0, 1 }; y 705 modules/calib3d/src/fundam.cpp a = F[0]*m1[i].x + F[1]*m1[i].y + F[2]; y 706 modules/calib3d/src/fundam.cpp b = F[3]*m1[i].x + F[4]*m1[i].y + F[5]; y 707 modules/calib3d/src/fundam.cpp c = F[6]*m1[i].x + F[7]*m1[i].y + F[8]; y 710 modules/calib3d/src/fundam.cpp d2 = m2[i].x*a + m2[i].y*b + c; y 712 modules/calib3d/src/fundam.cpp a = F[0]*m2[i].x + F[3]*m2[i].y + F[6]; y 713 modules/calib3d/src/fundam.cpp b = F[1]*m2[i].x + F[4]*m2[i].y + F[7]; y 714 modules/calib3d/src/fundam.cpp c = F[2]*m2[i].x + F[5]*m2[i].y + F[8]; y 717 modules/calib3d/src/fundam.cpp d1 = m1[i].x*a + m1[i].y*b + c; y 842 modules/calib3d/src/fundam.cpp Point2f pt = depth == CV_32F ? ptsf[i] : Point2f((float)ptsi[i].x, (float)ptsi[i].y); y 843 modules/calib3d/src/fundam.cpp double a = f[0]*pt.x + f[1]*pt.y + f[2]; y 844 modules/calib3d/src/fundam.cpp double b = f[3]*pt.x + f[4]*pt.y + f[5]; y 845 modules/calib3d/src/fundam.cpp double c = f[6]*pt.x + f[7]*pt.y + f[8]; y 859 modules/calib3d/src/fundam.cpp double a = f[0]*pt.x + f[1]*pt.y + f[2]; y 860 modules/calib3d/src/fundam.cpp double b = f[3]*pt.x + f[4]*pt.y + f[5]; y 861 modules/calib3d/src/fundam.cpp double c = f[6]*pt.x + f[7]*pt.y + f[8]; y 904 modules/calib3d/src/fundam.cpp dptr[i] = Point2f(sptr[i].x*scale, sptr[i].y*scale); y 927 modules/calib3d/src/fundam.cpp dptr[i] = Point2f(sptr[i].x*scale, sptr[i].y*scale); y 950 modules/calib3d/src/fundam.cpp dptr[i] = Point2d(sptr[i].x*scale, sptr[i].y*scale); y 1001 modules/calib3d/src/fundam.cpp dptr[i] = Point3i(sptr[i].x, sptr[i].y, 1); y 1008 modules/calib3d/src/fundam.cpp dptr[i] = Vec4i(sptr[i].x, sptr[i].y, sptr[i].z, 1); y 1018 modules/calib3d/src/fundam.cpp dptr[i] = Point3f(sptr[i].x, sptr[i].y, 1.f); y 1025 modules/calib3d/src/fundam.cpp dptr[i] = Vec4f(sptr[i].x, sptr[i].y, sptr[i].z, 1.f); y 1035 modules/calib3d/src/fundam.cpp dptr[i] = Point3d(sptr[i].x, sptr[i].y, 1.); y 1042 modules/calib3d/src/fundam.cpp dptr[i] = Vec4d(sptr[i].x, sptr[i].y, sptr[i].z, 1.); y 61 modules/calib3d/src/opencl/stereobm.cl __local int * bestDisp, __local int * bestCost, int d, int x, int y, int cols, int rows) y 74 modules/calib3d/src/opencl/stereobm.cl if( *bestCost != FILTERED && x < cols - WSZ2 - MIN_DISP && y < rows - WSZ2 && d == best_disp) y 88 modules/calib3d/src/opencl/stereobm.cl short calcCostBorder(__global const uchar * leftptr, __global const uchar * rightptr, int x, int y, int nthread, y 93 modules/calib3d/src/opencl/stereobm.cl int idx = mad24(y + WSZ2 * (2 * nthread - 1), cols, x + WSZ2 * (1 - 2 * nthread)); y 122 modules/calib3d/src/opencl/stereobm.cl short calcCostInside(__global const uchar * leftptr, __global const uchar * rightptr, int x, int y, y 126 modules/calib3d/src/opencl/stereobm.cl int idx = mad24(y - WSZ2 - 1, cols, x - WSZ2 - 1); y 171 modules/calib3d/src/opencl/stereobm.cl int x = gx + shiftX, y = gy + shiftY, lx = 0, ly = 0; y 177 modules/calib3d/src/opencl/stereobm.cl if (x < cols - WSZ2 - MIN_DISP && y < rows - WSZ2) y 184 modules/calib3d/src/opencl/stereobm.cl int idx = mad24(y - WSZ2, cols, x - WSZ2 + i); y 202 modules/calib3d/src/opencl/stereobm.cl int idx = mad24(y - WSZ2 + i, cols, x - WSZ2); y 228 modules/calib3d/src/opencl/stereobm.cl calcDisp(cost, disp, uniquenessRatio, best_disp + 1, best_cost + 1, disp_idx, x, y, cols, rows); y 237 modules/calib3d/src/opencl/stereobm.cl y = (ly < BLOCK_SIZE_Y) ? gy + shiftY + ly : rows; y 247 modules/calib3d/src/opencl/stereobm.cl if (x < cols - WSZ2 - MIN_DISP && y < rows - WSZ2) y 250 modules/calib3d/src/opencl/stereobm.cl calcCostBorder(leftptr, rightptr, x, y, nthread, costbuf, &head, cols, disp_idx, cost[2*nthread-1]) : y 251 modules/calib3d/src/opencl/stereobm.cl calcCostInside(leftptr, rightptr, x, y, cols, disp_idx, cost[0], cost[1], cost[-1]); y 263 modules/calib3d/src/opencl/stereobm.cl calcDisp(cost, disp, uniquenessRatio, best_disp + nthread, best_cost + nthread, disp_idx, x, y, cols, rows); y 291 modules/calib3d/src/opencl/stereobm.cl int y = get_global_id(1); y 293 modules/calib3d/src/opencl/stereobm.cl if(x < cols && y < rows) y 295 modules/calib3d/src/opencl/stereobm.cl int cov1 = input[ max(y-1, 0) * cols + x] * 1 + y 296 modules/calib3d/src/opencl/stereobm.cl input[y * cols + max(x-1,0)] * 1 + input[ y * cols + x] * 4 + input[y * cols + min(x+1, cols-1)] * 1 + y 297 modules/calib3d/src/opencl/stereobm.cl input[min(y+1, rows-1) * cols + x] * 1; y 301 modules/calib3d/src/opencl/stereobm.cl cov2 += input[clamp(y+i, 0, rows-1) * cols + clamp(x+j, 0, cols-1)]; y 305 modules/calib3d/src/opencl/stereobm.cl output[y * cols + x] = res; y 319 modules/calib3d/src/opencl/stereobm.cl int y = get_global_id(1); y 320 modules/calib3d/src/opencl/stereobm.cl if(x < cols && y < rows) y 322 modules/calib3d/src/opencl/stereobm.cl if (0 < x && !((y == rows-1) & (rows%2==1) ) ) y 324 modules/calib3d/src/opencl/stereobm.cl int cov = input[ ((y > 0) ? y-1 : y+1) * cols + (x-1)] * (-1) + input[ ((y > 0) ? y-1 : y+1) * cols + ((x<cols-1) ? x+1 : x-1)] * (1) + y 325 modules/calib3d/src/opencl/stereobm.cl input[ (y) * cols + (x-1)] * (-2) + input[ (y) * cols + ((x<cols-1) ? x+1 : x-1)] * (2) + y 326 modules/calib3d/src/opencl/stereobm.cl input[((y<rows-1)?(y+1):(y-1))* cols + (x-1)] * (-1) + input[((y<rows-1)?(y+1):(y-1))* cols + ((x<cols-1) ? x+1 : x-1)] * (1); y 329 modules/calib3d/src/opencl/stereobm.cl output[y * cols + x] = cov; y 332 modules/calib3d/src/opencl/stereobm.cl output[y * cols + x] = prefilterCap; y 241 modules/calib3d/src/p3p.cpp double y = inv_b0 * b1; y 242 modules/calib3d/src/p3p.cpp double v = x2 + y*y - x*y*r; y 249 modules/calib3d/src/p3p.cpp double Y = y * Z; y 41 modules/calib3d/src/p3p.h points[i*5+1] = ipoints.at<IpointType>(i).y*fy + cy; y 43 modules/calib3d/src/p3p.h points[i*5+3] = opoints.at<OpointType>(i).y; y 100 modules/calib3d/src/posit.cpp pObject->obj_vecs[N + i] = points[i + 1].y - points[0].y; y 155 modules/calib3d/src/posit.cpp imgVectors[N + i] = imagePoints[i + 1].y - imagePoints[0].y; y 179 modules/calib3d/src/posit.cpp imgVectors[N + i] = imagePoints[i + 1].y * tmp - imagePoints[0].y; y 241 modules/calib3d/src/posit.cpp translation[1] = imagePoints[0].y * invScale; y 422 modules/calib3d/src/ptsetreg.cpp Bdata[i*3+1] = to[i].y; y 429 modules/calib3d/src/ptsetreg.cpp aptr[1] = from[i].y; y 461 modules/calib3d/src/ptsetreg.cpp double a = F[0]*f.x + F[1]*f.y + F[ 2]*f.z + F[ 3] - t.x; y 462 modules/calib3d/src/ptsetreg.cpp double b = F[4]*f.x + F[5]*f.y + F[ 6]*f.z + F[ 7] - t.y; y 463 modules/calib3d/src/ptsetreg.cpp double c = F[8]*f.x + F[9]*f.y + F[10]*f.z + F[11] - t.z; y 487 modules/calib3d/src/ptsetreg.cpp float n1 = d1.x*d1.x + d1.y*d1.y; y 492 modules/calib3d/src/ptsetreg.cpp float denom = (d2.x*d2.x + d2.y*d2.y)*n1; y 493 modules/calib3d/src/ptsetreg.cpp float num = d1.x*d2.x + d1.y*d2.y; y 67 modules/calib3d/src/quadsubpix.cpp double dist = norm(Point2f((float)contours[i][j].x, (float)contours[i][j].y) - point); y 88 modules/calib3d/src/quadsubpix.cpp float det = dir2.x*dir1.y - dir2.y*dir1.x; y 91 modules/calib3d/src/quadsubpix.cpp float alpha = (dir2.x*offset.y - dir2.y*offset.x)/det; y 179 modules/calib3d/src/quadsubpix.cpp Rect roi(cvRound(corners[i].x - region_size.width), cvRound(corners[i].y - region_size.height), y 152 modules/calib3d/src/rho.cpp uint64_t y = prng.s[1]; y 155 modules/calib3d/src/rho.cpp x ^= y ^ (y >> 26); // c y 156 modules/calib3d/src/rho.cpp prng.s[0] = y; y 158 modules/calib3d/src/rho.cpp uint64_t s = x + y; y 1262 modules/calib3d/src/rho.cpp typedef struct{float x,y;} MyPt2f; y 1288 modules/calib3d/src/rho.cpp pkdPts[0].y == pkdPts[1].y || pkdPts[1].y == pkdPts[2].y || y 1289 modules/calib3d/src/rho.cpp pkdPts[2].y == pkdPts[3].y || pkdPts[0].y == pkdPts[2].y || y 1290 modules/calib3d/src/rho.cpp pkdPts[1].y == pkdPts[3].y || pkdPts[0].y == pkdPts[3].y){ y 1296 modules/calib3d/src/rho.cpp float cross0s0 = pkdPts[0].y-pkdPts[1].y; y 1298 modules/calib3d/src/rho.cpp float cross0s2 = pkdPts[0].x*pkdPts[1].y-pkdPts[0].y*pkdPts[1].x; y 1299 modules/calib3d/src/rho.cpp float dots0 = cross0s0*pkdPts[2].x + cross0s1*pkdPts[2].y + cross0s2; y 1300 modules/calib3d/src/rho.cpp float cross0d0 = pkdPts[4].y-pkdPts[5].y; y 1302 modules/calib3d/src/rho.cpp float cross0d2 = pkdPts[4].x*pkdPts[5].y-pkdPts[4].y*pkdPts[5].x; y 1303 modules/calib3d/src/rho.cpp float dotd0 = cross0d0*pkdPts[6].x + cross0d1*pkdPts[6].y + cross0d2; y 1311 modules/calib3d/src/rho.cpp float dots1 = cross1s0*pkdPts[3].x + cross1s1*pkdPts[3].y + cross1s2; y 1315 modules/calib3d/src/rho.cpp float dotd1 = cross1d0*pkdPts[7].x + cross1d1*pkdPts[7].y + cross1d2; y 1320 modules/calib3d/src/rho.cpp float cross2s0 = pkdPts[2].y-pkdPts[3].y; y 1322 modules/calib3d/src/rho.cpp float cross2s2 = pkdPts[2].x*pkdPts[3].y-pkdPts[2].y*pkdPts[3].x; y 1323 modules/calib3d/src/rho.cpp float dots2 = cross2s0*pkdPts[0].x + cross2s1*pkdPts[0].y + cross2s2; y 1324 modules/calib3d/src/rho.cpp float cross2d0 = pkdPts[6].y-pkdPts[7].y; y 1326 modules/calib3d/src/rho.cpp float cross2d2 = pkdPts[6].x*pkdPts[7].y-pkdPts[6].y*pkdPts[7].x; y 1327 modules/calib3d/src/rho.cpp float dotd2 = cross2d0*pkdPts[4].x + cross2d1*pkdPts[4].y + cross2d2; y 1335 modules/calib3d/src/rho.cpp float dots3 = cross3s0*pkdPts[1].x + cross3s1*pkdPts[1].y + cross3s2; y 1339 modules/calib3d/src/rho.cpp float dotd3 = cross3d0*pkdPts[5].x + cross3d1*pkdPts[5].y + cross3d2; y 1420 modules/calib3d/src/rho.cpp float x=src[i*2],y=src[i*2+1]; y 1423 modules/calib3d/src/rho.cpp float reprojX=H[0]*x+H[1]*y+H[2]; /* ( X_1 ) ( H_11 H_12 H_13 ) (x_1) */ y 1424 modules/calib3d/src/rho.cpp float reprojY=H[3]*x+H[4]*y+H[5]; /* ( X_2 ) = ( H_21 H_22 H_23 ) (x_2) */ y 1425 modules/calib3d/src/rho.cpp float reprojZ=H[6]*x+H[7]*y+1.0f; /* ( X_3 ) ( H_31 H_32 H_33=1.0 ) (x_3 = 1.0) */ y 2221 modules/calib3d/src/rho.cpp float y = src[2*i+1]; y 2224 modules/calib3d/src/rho.cpp float W = (H[6]*x + H[7]*y + 1.0f); y 2227 modules/calib3d/src/rho.cpp float reprojX = (H[0]*x + H[1]*y + H[2]) * iW; y 2228 modules/calib3d/src/rho.cpp float reprojY = (H[3]*x + H[4]*y + H[5]) * iW; y 2238 modules/calib3d/src/rho.cpp float dxh12 = y * iW; y 2244 modules/calib3d/src/rho.cpp float dxh32 = -reprojX*y * iW; y 2250 modules/calib3d/src/rho.cpp float dyh22 = y * iW; y 2253 modules/calib3d/src/rho.cpp float dyh32 = -reprojY*y * iW; y 112 modules/calib3d/src/stereobm.cpp int x, y, wsz2 = winsize/2; y 129 modules/calib3d/src/stereobm.cpp for( y = 1; y < wsz2; y++ ) y 132 modules/calib3d/src/stereobm.cpp vsum[x] = (ushort)(vsum[x] + sptr[srcstep*y + x]); y 135 modules/calib3d/src/stereobm.cpp for( y = 0; y < size.height; y++ ) y 137 modules/calib3d/src/stereobm.cpp const uchar* top = sptr + srcstep*MAX(y-wsz2-1,0); y 138 modules/calib3d/src/stereobm.cpp const uchar* bottom = sptr + srcstep*MIN(y+wsz2,size.height-1); y 139 modules/calib3d/src/stereobm.cpp const uchar* prev = sptr + srcstep*MAX(y-1,0); y 140 modules/calib3d/src/stereobm.cpp const uchar* curr = sptr + srcstep*y; y 141 modules/calib3d/src/stereobm.cpp const uchar* next = sptr + srcstep*MIN(y+1,size.height-1); y 142 modules/calib3d/src/stereobm.cpp uchar* dptr = dst.ptr<uchar>(y); y 193 modules/calib3d/src/stereobm.cpp int x, y; y 206 modules/calib3d/src/stereobm.cpp for( y = 0; y < size.height-1; y += 2 ) y 208 modules/calib3d/src/stereobm.cpp const uchar* srow1 = src.ptr<uchar>(y); y 209 modules/calib3d/src/stereobm.cpp const uchar* srow0 = y > 0 ? srow1 - src.step : size.height > 1 ? srow1 + src.step : srow1; y 210 modules/calib3d/src/stereobm.cpp const uchar* srow2 = y < size.height-1 ? srow1 + src.step : size.height > 1 ? srow1 - src.step : srow1; y 211 modules/calib3d/src/stereobm.cpp const uchar* srow3 = y < size.height-2 ? srow1 + src.step*2 : srow1; y 212 modules/calib3d/src/stereobm.cpp uchar* dptr0 = dst.ptr<uchar>(y); y 302 modules/calib3d/src/stereobm.cpp for( ; y < size.height; y++ ) y 304 modules/calib3d/src/stereobm.cpp uchar* dptr = dst.ptr<uchar>(y); y 324 modules/calib3d/src/stereobm.cpp int x, y, d; y 372 modules/calib3d/src/stereobm.cpp for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep ) y 388 modules/calib3d/src/stereobm.cpp htext[y] += tab[lval]; y 393 modules/calib3d/src/stereobm.cpp for( y = 0; y < height; y++ ) y 396 modules/calib3d/src/stereobm.cpp dptr[y*dstep + x] = FILTERED; y 398 modules/calib3d/src/stereobm.cpp dptr[y*dstep + x] = FILTERED; y 413 modules/calib3d/src/stereobm.cpp for( y = -dy0; y < height + dy1; y++, cbuf += ndisp, cbuf_sub += ndisp, y 433 modules/calib3d/src/stereobm.cpp htext[y] += tab[lval] - tab[lptr_sub[0]]; y 437 modules/calib3d/src/stereobm.cpp for( y = dy1; y <= wsz2; y++ ) y 438 modules/calib3d/src/stereobm.cpp htext[height+y] = htext[height+dy1-1]; y 439 modules/calib3d/src/stereobm.cpp for( y = -wsz2-1; y < -dy0; y++ ) y 440 modules/calib3d/src/stereobm.cpp htext[y] = htext[-dy0]; y 447 modules/calib3d/src/stereobm.cpp for( y = 1 - dy0; y < wsz2; y++, hsad += ndisp ) y 460 modules/calib3d/src/stereobm.cpp for( y = -wsz2-1; y < wsz2; y++ ) y 461 modules/calib3d/src/stereobm.cpp tsum += htext[y]; y 464 modules/calib3d/src/stereobm.cpp for( y = 0; y < height; y++ ) y 467 modules/calib3d/src/stereobm.cpp hsad = hsad0 + MIN(y + wsz2, height+dy1-1)*ndisp; y 468 modules/calib3d/src/stereobm.cpp hsad_sub = hsad0 + MAX(y - wsz2 - 1, -dy0)*ndisp; y 503 modules/calib3d/src/stereobm.cpp tsum += htext[y + wsz2] - htext[y - wsz2 - 1]; y 506 modules/calib3d/src/stereobm.cpp dptr[y*dstep] = FILTERED; y 548 modules/calib3d/src/stereobm.cpp dptr[y*dstep] = FILTERED; y 557 modules/calib3d/src/stereobm.cpp dptr[y*dstep] = (short)(((ndisp - mind - 1 + mindisp)*256 + (d != 0 ? (p-n)*256/d : 0) + 15) >> 4); y 560 modules/calib3d/src/stereobm.cpp dptr[y*dstep] = (short)((ndisp - mind - 1 + mindisp)*16); y 561 modules/calib3d/src/stereobm.cpp costptr[y*coststep] = sad[mind]; y 574 modules/calib3d/src/stereobm.cpp int x, y, d; y 628 modules/calib3d/src/stereobm.cpp for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep ) y 654 modules/calib3d/src/stereobm.cpp htext[y] += tab[lval]; y 659 modules/calib3d/src/stereobm.cpp for( y = 0; y < height; y++ ) y 662 modules/calib3d/src/stereobm.cpp dptr[y*dstep + x] = FILTERED; y 664 modules/calib3d/src/stereobm.cpp dptr[y*dstep + x] = FILTERED; y 679 modules/calib3d/src/stereobm.cpp for( y = -dy0; y < height + dy1; y++, cbuf += ndisp, cbuf_sub += ndisp, y 708 modules/calib3d/src/stereobm.cpp htext[y] += tab[lval] - tab[lptr_sub[0]]; y 712 modules/calib3d/src/stereobm.cpp for( y = dy1; y <= wsz2; y++ ) y 713 modules/calib3d/src/stereobm.cpp htext[height+y] = htext[height+dy1-1]; y 714 modules/calib3d/src/stereobm.cpp for( y = -wsz2-1; y < -dy0; y++ ) y 715 modules/calib3d/src/stereobm.cpp htext[y] = htext[-dy0]; y 722 modules/calib3d/src/stereobm.cpp for( y = 1 - dy0; y < wsz2; y++, hsad += ndisp ) y 742 modules/calib3d/src/stereobm.cpp for( y = -wsz2-1; y < wsz2; y++ ) y 743 modules/calib3d/src/stereobm.cpp tsum += htext[y]; y 746 modules/calib3d/src/stereobm.cpp for( y = 0; y < height; y++ ) y 749 modules/calib3d/src/stereobm.cpp hsad = hsad0 + MIN(y + wsz2, height+dy1-1)*ndisp; y 750 modules/calib3d/src/stereobm.cpp hsad_sub = hsad0 + MAX(y - wsz2 - 1, -dy0)*ndisp; y 818 modules/calib3d/src/stereobm.cpp tsum += htext[y + wsz2] - htext[y - wsz2 - 1]; y 821 modules/calib3d/src/stereobm.cpp dptr[y*dstep] = FILTERED; y 835 modules/calib3d/src/stereobm.cpp dptr[y*dstep] = FILTERED; y 845 modules/calib3d/src/stereobm.cpp dptr[y*dstep] = (short)(((ndisp - mind - 1 + mindisp)*256 + (d != 0 ? (p-n)*256/d : 0) + 15) >> 4); y 846 modules/calib3d/src/stereobm.cpp costptr[y*coststep] = sad[mind]; y 972 modules/calib3d/src/stereobm.cpp int row0 = roi.y; y 973 modules/calib3d/src/stereobm.cpp int row1 = roi.y + roi.height; y 122 modules/calib3d/src/stereosgbm.cpp static void calcPixelCostBT( const Mat& img1, const Mat& img2, int y, y 131 modules/calib3d/src/stereosgbm.cpp const PixType *row1 = img1.ptr<PixType>(y), *row2 = img2.ptr<PixType>(y); y 142 modules/calib3d/src/stereosgbm.cpp int n1 = y > 0 ? -(int)img1.step : 0, s1 = y < img1.rows-1 ? (int)img1.step : 0; y 143 modules/calib3d/src/stereosgbm.cpp int n2 = y > 0 ? -(int)img2.step : 0, s2 = y < img2.rows-1 ? (int)img2.step : 0; y 434 modules/calib3d/src/stereosgbm.cpp for( int y = y1; y != y2; y += dy ) y 437 modules/calib3d/src/stereosgbm.cpp DispType* disp1ptr = disp1.ptr<DispType>(y); y 438 modules/calib3d/src/stereosgbm.cpp CostType* C = Cbuf + (!fullDP ? 0 : y*costBufSize); y 439 modules/calib3d/src/stereosgbm.cpp CostType* S = Sbuf + (!fullDP ? 0 : y*costBufSize); y 443 modules/calib3d/src/stereosgbm.cpp int dy1 = y == 0 ? 0 : y + SH2, dy2 = y == 0 ? SH2 : dy1; y 461 modules/calib3d/src/stereosgbm.cpp if( y > 0 ) y 463 modules/calib3d/src/stereosgbm.cpp const CostType* hsumSub = hsumBuf + (std::max(y - SH2 - 1, 0) % hsumBufNRows)*costBufSize; y 464 modules/calib3d/src/stereosgbm.cpp const CostType* Cprev = !fullDP || y == 0 ? C : C - costBufSize; y 512 modules/calib3d/src/stereosgbm.cpp if( y == 0 ) y 966 modules/calib3d/src/stereosgbm.cpp int ymin = std::max(roi1.y, roi2.y) + SW2; y 967 modules/calib3d/src/stereosgbm.cpp int ymax = std::min(roi1.y + roi1.height, roi2.y + roi2.height) - SW2; y 1026 modules/calib3d/src/stereosgbm.cpp T* dpp = &img.at<T>(p.y, p.x); y 1028 modules/calib3d/src/stereosgbm.cpp int* lpp = labels + width*p.y + p.x; y 1030 modules/calib3d/src/stereosgbm.cpp if( p.y < height-1 && !lpp[+width] && dpp[+dstep] != newVal && std::abs(dp - dpp[+dstep]) <= maxDiff ) y 1033 modules/calib3d/src/stereosgbm.cpp *ws++ = Point2s(p.x, p.y+1); y 1036 modules/calib3d/src/stereosgbm.cpp if( p.y > 0 && !lpp[-width] && dpp[-dstep] != newVal && std::abs(dp - dpp[-dstep]) <= maxDiff ) y 1039 modules/calib3d/src/stereosgbm.cpp *ws++ = Point2s(p.x, p.y-1); y 1045 modules/calib3d/src/stereosgbm.cpp *ws++ = Point2s(p.x+1, p.y); y 1051 modules/calib3d/src/stereosgbm.cpp *ws++ = Point2s(p.x-1, p.y); y 1143 modules/calib3d/src/stereosgbm.cpp for( int y = 0; y < rows; y++ ) y 1145 modules/calib3d/src/stereosgbm.cpp short* dptr = disp.ptr<short>(y); y 1155 modules/calib3d/src/stereosgbm.cpp const short* cptr = cost.ptr<short>(y); y 1171 modules/calib3d/src/stereosgbm.cpp const int* cptr = cost.ptr<int>(y); y 99 modules/calib3d/src/triangulate.cpp double x,y; y 101 modules/calib3d/src/triangulate.cpp y = cvmGet(projPoints[j],1,i); y 105 modules/calib3d/src/triangulate.cpp matrA(j*2+1, k) = y * cvmGet(projMatrs[j],2,k) - cvmGet(projMatrs[j],1,k); y 146 modules/calib3d/src/triangulate.cpp float x,y; y 149 modules/calib3d/src/triangulate.cpp y = (float)cvmGet(projPoints[currCamera],1,i); y 157 modules/calib3d/src/triangulate.cpp deltaY = (float)fabs(y-yr); y 77 modules/calib3d/src/upnp.h pws[3 * i + 1] = opoints.at<OpointType>(i).y; y 81 modules/calib3d/src/upnp.h us[2 * i + 1] = ipoints.at<IpointType>(i).y; y 83 modules/calib3d/test/test_affine3d_estimator.cpp return Point3f( (float)(p.x * F[0] + p.y * F[1] + p.z * F[2] + F[3]), y 84 modules/calib3d/test/test_affine3d_estimator.cpp (float)(p.x * F[4] + p.y * F[5] + p.z * F[6] + F[7]), y 85 modules/calib3d/test/test_affine3d_estimator.cpp (float)(p.x * F[8] + p.y * F[9] + p.z * F[10] + F[11]) ); y 127 modules/calib3d/test/test_affine3d_estimator.cpp return Point3f( p.x + l * (float)rng, p.y + l * (float)rng, p.z + l * (float)rng); y 437 modules/calib3d/test/test_cameracalibration.cpp double x,y,z; y 438 modules/calib3d/test/test_cameracalibration.cpp values_read = fscanf(file,"%lf %lf %lf\n",&x,&y,&z); y 442 modules/calib3d/test/test_cameracalibration.cpp (objectPoints+i)->y = y; y 454 modules/calib3d/test/test_cameracalibration.cpp double x,y; y 455 modules/calib3d/test/test_cameracalibration.cpp values_read = fscanf(file,"%lf %lf\n",&x,&y); y 459 modules/calib3d/test/test_cameracalibration.cpp (imagePoints+i)->y = y; y 559 modules/calib3d/test/test_cameracalibration.cpp ry = reprojectPoints[i].y; y 561 modules/calib3d/test/test_cameracalibration.cpp dy = ry - imagePoints[i].y; y 761 modules/calib3d/test/test_cameracalibration.cpp oIt->x = (float)op->x, oIt->y = (float)op->y, oIt->z = (float)op->z; y 762 modules/calib3d/test/test_cameracalibration.cpp iIt->x = (float)ip->x, iIt->y = (float)ip->y; y 815 modules/calib3d/test/test_cameracalibration.cpp _imagePoints[i] = cvPoint2D64f( it->x, it->y ); y 884 modules/calib3d/test/test_cameracalibration.cpp goodPrincipalPoint.y = cy / ny; y 946 modules/calib3d/test/test_cameracalibration.cpp principalPoint.y = pp.y; y 994 modules/calib3d/test/test_cameracalibration.cpp dfdx.at<double>(fi+1, xi ) = 0.5 * ((double)(rIt->y - lIt->y)) / eps; y 1052 modules/calib3d/test/test_cameracalibration.cpp for( int y = 0; y < objPoints.rows; y++ ) y 1054 modules/calib3d/test/test_cameracalibration.cpp Mat point(1, 3, CV_32FC1, objPoints.ptr(y) ); y 1077 modules/calib3d/test/test_cameracalibration.cpp double z = p.x*rmat(2,0) + p.y*rmat(2,1) + p.z*rmat(2,2) + tvec(0,2), y 1078 modules/calib3d/test/test_cameracalibration.cpp x = (p.x*rmat(0,0) + p.y*rmat(0,1) + p.z*rmat(0,2) + tvec(0,0)) / z, y 1079 modules/calib3d/test/test_cameracalibration.cpp y = (p.x*rmat(1,0) + p.y*rmat(1,1) + p.z*rmat(1,2) + tvec(0,1)) / z, y 1080 modules/calib3d/test/test_cameracalibration.cpp r2 = x*x + y*y, y 1083 modules/calib3d/test/test_cameracalibration.cpp double a1 = 2*x*y, y 1085 modules/calib3d/test/test_cameracalibration.cpp a3 = r2 + 2*y*y, y 1089 modules/calib3d/test/test_cameracalibration.cpp validImgPoint.y = static_cast<float>((double)cameraMatrix(1,1)*(y*cdist + (double)distCoeffs(0,2)*a3 + distCoeffs(0,3)*a1) y 1093 modules/calib3d/test/test_cameracalibration.cpp fabs(it->y - validImgPoint.y) > imgPointErr ) y 1334 modules/calib3d/test/test_cameracalibration.cpp int x, y, k; y 1338 modules/calib3d/test/test_cameracalibration.cpp for( y = 0; y < N; y++ ) y 1340 modules/calib3d/test/test_cameracalibration.cpp pts.push_back(Point2f((float)x*imgsize.width/(N-1), (float)y*imgsize.height/(N-1))); y 1345 modules/calib3d/test/test_cameracalibration.cpp upts[k].y < -imgsize.height*eps || upts[k].y > imgsize.height*(1+eps) ) y 1348 modules/calib3d/test/test_cameracalibration.cpp test_case_idx, pts[k].x, pts[k].y, upts[k].x, upts[k].y); y 1358 modules/calib3d/test/test_cameracalibration.cpp if(roi.x < 0 || roi.y < 0 || roi.x + roi.width > imgsize.width || roi.y + roi.height > imgsize.height) y 1361 modules/calib3d/test/test_cameracalibration.cpp test_case_idx, roi.x, roi.y, roi.width, roi.height); y 1603 modules/calib3d/test/test_cameracalibration.cpp _imgpt1.at<Point2f>(pi,0) = Point2f( pit1->x, pit1->y ); y 1604 modules/calib3d/test/test_cameracalibration.cpp _imgpt2.at<Point2f>(pi,0) = Point2f( pit2->x, pit2->y ); y 1633 modules/calib3d/test/test_cameracalibration.cpp double diff_c = verticalStereo ? abs(temp[0][j].x - temp[1][j].x) : abs(temp[0][j].y - temp[1][j].y); y 1635 modules/calib3d/test/test_cameracalibration.cpp double diff_uc = verticalStereo ? abs(d.x) : abs(d.y); y 71 modules/calib3d/test/test_cameracalibration_artificial.cpp Vec3d ex(p10.x - p00.x, p10.y - p00.y, p10.z - p00.z); y 72 modules/calib3d/test/test_cameracalibration_artificial.cpp Vec3d ey(p01.x - p00.x, p01.y - p00.y, p01.z - p00.z); y 197 modules/calib3d/test/test_chessboardgenerator.cpp p.y = p.z * tan(av); y 220 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect1 = pts2d[0].x < bg.cols && pts2d[0].y < bg.rows && pts2d[0].x > 0 && pts2d[0].y > 0; y 221 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect2 = pts2d[1].x < bg.cols && pts2d[1].y < bg.rows && pts2d[1].x > 0 && pts2d[1].y > 0; y 222 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect3 = pts2d[2].x < bg.cols && pts2d[2].y < bg.rows && pts2d[2].x > 0 && pts2d[2].y > 0; y 223 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect4 = pts2d[3].x < bg.cols && pts2d[3].y < bg.rows && pts2d[3].x > 0 && pts2d[3].y > 0; y 262 modules/calib3d/test/test_chessboardgenerator.cpp p.y = p.z * tan(av); y 285 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect1 = pts2d[0].x < bg.cols && pts2d[0].y < bg.rows && pts2d[0].x > 0 && pts2d[0].y > 0; y 286 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect2 = pts2d[1].x < bg.cols && pts2d[1].y < bg.rows && pts2d[1].x > 0 && pts2d[1].y > 0; y 287 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect3 = pts2d[2].x < bg.cols && pts2d[2].y < bg.rows && pts2d[2].x > 0 && pts2d[2].y > 0; y 288 modules/calib3d/test/test_chessboardgenerator.cpp bool inrect4 = pts2d[3].x < bg.cols && pts2d[3].y < bg.rows && pts2d[3].x > 0 && pts2d[3].y > 0; y 112 modules/calib3d/test/test_chesscorners.cpp double dy = fabs( v[j].y - u_data[j1].y ); y 80 modules/calib3d/test/test_fisheye.cpp for(int y = 0, k = 0; y < N; ++y) y 83 modules/calib3d/test/test_fisheye.cpp cv::Vec2d point(x*cols/(N-1.f), y*rows/(N-1.f)); y 428 modules/calib3d/test/test_fundam.cpp double y = s[sstep2]; y 432 modules/calib3d/test/test_fundam.cpp d[dstep2] = y; y 450 modules/calib3d/test/test_fundam.cpp double y = s[sstep2]; y 455 modules/calib3d/test/test_fundam.cpp d[dstep2] = y*w; y 504 modules/calib3d/test/test_fundam.cpp v += noise.at<Point2d>(i).y*s; y 1032 modules/calib3d/test/test_fundam.cpp double y1 = p1.at<Point2d>(i).y; y 1034 modules/calib3d/test/test_fundam.cpp double y2 = p2.at<Point2d>(i).y; y 1368 modules/calib3d/test/test_fundam.cpp double y1 = p1.at<Point2d>(i).y; y 1370 modules/calib3d/test/test_fundam.cpp double y2 = p2.at<Point2d>(i).y; y 110 modules/calib3d/test/test_posit.cpp obj_points[0].x = 0; obj_points[0].y = 0; obj_points[0].z = 0; y 111 modules/calib3d/test/test_posit.cpp obj_points[1].x = 10; obj_points[1].y = 0; obj_points[1].z = 0; y 112 modules/calib3d/test/test_posit.cpp obj_points[2].x = 10; obj_points[2].y = 10; obj_points[2].z = 0; y 113 modules/calib3d/test/test_posit.cpp obj_points[3].x = 0; obj_points[3].y = 10; obj_points[3].z = 0; y 114 modules/calib3d/test/test_posit.cpp obj_points[4].x = 0; obj_points[4].y = 0; obj_points[4].z = 10; y 115 modules/calib3d/test/test_posit.cpp obj_points[5].x = 10; obj_points[5].y = 0; obj_points[5].z = 10; y 116 modules/calib3d/test/test_posit.cpp obj_points[6].x = 10; obj_points[6].y = 10; obj_points[6].z = 10; y 117 modules/calib3d/test/test_posit.cpp obj_points[7].x = 0; obj_points[7].y = 10; obj_points[7].z = 10; y 175 modules/calib3d/test/test_posit.cpp img_points[i].y = flFocalLength * vec[1] / vec[2]; y 136 modules/calib3d/test/test_reproject_image_to_3d.cpp for(int y = 0; y < disp.rows; ++y) y 139 modules/calib3d/test/test_reproject_image_to_3d.cpp InT d = disp(y, x); y 143 modules/calib3d/test/test_reproject_image_to_3d.cpp static_cast<double>(y), y 151 modules/calib3d/test/test_reproject_image_to_3d.cpp out3d_t pixel_out = _3dImg(y, x); y 155 modules/calib3d/test/test_reproject_image_to_3d.cpp if (handleMissingValues && y == disp.rows/2 && x == disp.cols/2) y 170 modules/calib3d/test/test_reproject_image_to_3d.cpp caseId, x, y, err, t, res(0,0), res(1,0), res(2,0), res(3,0), y 75 modules/calib3d/test/test_solvepnp_ransac.cpp p.y *= delta.y; y 287 modules/calib3d/test/test_undistort.cpp points[i].y = cvtest::randReal(rng)*img_size.height; y 425 modules/calib3d/test/test_undistort.cpp points[2*i+1] = dst_points[i].y; y 526 modules/calib3d/test/test_undistort.cpp double y = (_src->data.db[2*i+1]-__P->data.db[5+movement])/__P->data.db[4+movement]; y 529 modules/calib3d/test/test_undistort.cpp double w1 = x*inverse.data.db[6]+y*inverse.data.db[7]+inverse.data.db[8]; y 530 modules/calib3d/test/test_undistort.cpp double _x = (x*inverse.data.db[0]+y*inverse.data.db[1]+inverse.data.db[2])/w1; y 531 modules/calib3d/test/test_undistort.cpp double _y = (x*inverse.data.db[3]+y*inverse.data.db[4]+inverse.data.db[5])/w1; y 711 modules/calib3d/test/test_undistort.cpp points[i].y = cvtest::randReal(rng)*img_size.height; y 824 modules/calib3d/test/test_undistort.cpp int v = saturate_cast<int>(sptr[i].y); y 826 modules/calib3d/test/test_undistort.cpp points[i].y = _map2.data.fl[v*_map2.cols + u]; y 38 modules/calib3d/test/test_undistort_points.cpp p.y *= delta.y; y 1423 modules/core/include/opencv2/core.hpp OutputArray x, OutputArray y, bool angleInDegrees = false); y 1443 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void cartToPolar(InputArray x, InputArray y, y 1463 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void phase(InputArray x, InputArray y, OutputArray angle, y 1477 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void magnitude(InputArray x, InputArray y, OutputArray magnitude); y 456 modules/core/include/opencv2/core/affine.hpp r.x = m.val[0] * v.x + m.val[1] * v.y + m.val[ 2] * v.z + m.val[ 3]; y 457 modules/core/include/opencv2/core/affine.hpp r.y = m.val[4] * v.x + m.val[5] * v.y + m.val[ 6] * v.z + m.val[ 7]; y 458 modules/core/include/opencv2/core/affine.hpp r.z = m.val[8] * v.x + m.val[9] * v.y + m.val[10] * v.z + m.val[11]; y 574 modules/core/include/opencv2/core/base.hpp CV_EXPORTS_W float fastAtan2(float y, float x); y 1184 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvCartToPolar( const CvArr* x, const CvArr* y, y 1192 modules/core/include/opencv2/core/core_c.h CvArr* x, CvArr* y, y 1210 modules/core/include/opencv2/core/core_c.h CVAPI(float) cvFastArctan( float y, float x ); y 211 modules/core/include/opencv2/core/cuda.hpp uchar* ptr(int y = 0); y 212 modules/core/include/opencv2/core/cuda.hpp const uchar* ptr(int y = 0) const; y 215 modules/core/include/opencv2/core/cuda.hpp template<typename _Tp> _Tp* ptr(int y = 0); y 216 modules/core/include/opencv2/core/cuda.hpp template<typename _Tp> const _Tp* ptr(int y = 0) const; y 222 modules/core/include/opencv2/core/cuda.hpp GpuMat row(int y) const; y 207 modules/core/include/opencv2/core/cuda.inl.hpp uchar* GpuMat::ptr(int y) y 209 modules/core/include/opencv2/core/cuda.inl.hpp CV_DbgAssert( (unsigned)y < (unsigned)rows ); y 210 modules/core/include/opencv2/core/cuda.inl.hpp return data + step * y; y 214 modules/core/include/opencv2/core/cuda.inl.hpp const uchar* GpuMat::ptr(int y) const y 216 modules/core/include/opencv2/core/cuda.inl.hpp CV_DbgAssert( (unsigned)y < (unsigned)rows ); y 217 modules/core/include/opencv2/core/cuda.inl.hpp return data + step * y; y 221 modules/core/include/opencv2/core/cuda.inl.hpp _Tp* GpuMat::ptr(int y) y 223 modules/core/include/opencv2/core/cuda.inl.hpp return (_Tp*)ptr(y); y 227 modules/core/include/opencv2/core/cuda.inl.hpp const _Tp* GpuMat::ptr(int y) const y 229 modules/core/include/opencv2/core/cuda.inl.hpp return (const _Tp*)ptr(y); y 245 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat GpuMat::row(int y) const y 247 modules/core/include/opencv2/core/cuda.inl.hpp return GpuMat(*this, Range(y, y+1), Range::all()); y 63 modules/core/include/opencv2/core/cuda/block.hpp return blockDim.x * blockDim.y * blockDim.z; y 73 modules/core/include/opencv2/core/cuda/block.hpp return threadIdx.z * blockDim.x * blockDim.y + threadIdx.y * blockDim.x + threadIdx.x; y 92 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at_low(int y, const T* data, size_t step) const y 94 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return y >= 0 ? saturate_cast<D>(*(const T*)((const char*)data + y * step)) : val; y 97 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at_high(int y, const T* data, size_t step) const y 99 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return y < height ? saturate_cast<D>(*(const T*)((const char*)data + y * step)) : val; y 102 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at(int y, const T* data, size_t step) const y 104 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (y >= 0 && y < height) ? saturate_cast<D>(*(const T*)((const char*)data + y * step)) : val; y 119 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at(int y, int x, const T* data, size_t step) const y 121 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(((const T*)((const uchar*)data + y * step))[x]) : val; y 124 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename Ptr2D> __device__ __forceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const y 126 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(src(y, x)) : val; y 184 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_low(int y) const y 186 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::max(y, 0); y 189 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_high(int y) const y 191 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::min(y, last_row); y 194 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row(int y) const y 196 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return idx_row_low(idx_row_high(y)); y 199 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at_low(int y, const T* data, size_t step) const y 201 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const T*)((const char*)data + idx_row_low(y) * step)); y 204 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at_high(int y, const T* data, size_t step) const y 206 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const T*)((const char*)data + idx_row_high(y) * step)); y 209 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at(int y, const T* data, size_t step) const y 211 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const T*)((const char*)data + idx_row(y) * step)); y 224 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_low(int y) const y 226 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::max(y, 0); y 229 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_high(int y) const y 231 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::min(y, last_row); y 234 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row(int y) const y 236 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return idx_row_low(idx_row_high(y)); y 254 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at(int y, int x, const T* data, size_t step) const y 256 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(((const T*)((const char*)data + idx_row(y) * step))[idx_col(x)]); y 259 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename Ptr2D> __device__ __forceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const y 261 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(src(idx_row(y), idx_col(x))); y 318 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_low(int y) const y 320 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(y) % (last_row + 1); y 323 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_high(int y) const y 325 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(last_row - ::abs(last_row - y)) % (last_row + 1); y 328 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row(int y) const y 330 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return idx_row_low(idx_row_high(y)); y 333 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at_low(int y, const T* data, size_t step) const y 335 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const D*)((const char*)data + idx_row_low(y) * step)); y 338 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at_high(int y, const T* data, size_t step) const y 340 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const D*)((const char*)data + idx_row_high(y) * step)); y 343 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at(int y, const T* data, size_t step) const y 345 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const D*)((const char*)data + idx_row(y) * step)); y 358 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_low(int y) const y 360 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(y) % (last_row + 1); y 363 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_high(int y) const y 365 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(last_row - ::abs(last_row - y)) % (last_row + 1); y 368 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row(int y) const y 370 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return idx_row_low(idx_row_high(y)); y 388 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at(int y, int x, const T* data, size_t step) const y 390 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(((const T*)((const char*)data + idx_row(y) * step))[idx_col(x)]); y 393 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename Ptr2D> __device__ __forceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const y 395 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(src(idx_row(y), idx_col(x))); y 452 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_low(int y) const y 454 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (::abs(y) - (y < 0)) % (last_row + 1); y 457 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_high(int y) const y 459 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(last_row - ::abs(last_row - y) + (y > last_row)) % (last_row + 1); y 462 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row(int y) const y 464 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return idx_row_high(::abs(y) - (y < 0)); y 467 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at_low(int y, const T* data, size_t step) const y 469 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const D*)((const char*)data + idx_row_low(y) * step)); y 472 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at_high(int y, const T* data, size_t step) const y 474 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const D*)((const char*)data + idx_row_high(y) * step)); y 477 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at(int y, const T* data, size_t step) const y 479 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const D*)((const char*)data + idx_row(y) * step)); y 492 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_low(int y) const y 494 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (::abs(y) - (y < 0)) % (last_row + 1); y 497 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_high(int y) const y 499 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return /*::abs*/(last_row - ::abs(last_row - y) + (y > last_row)) /*% (last_row + 1)*/; y 502 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row(int y) const y 504 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return idx_row_low(idx_row_high(y)); y 522 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at(int y, int x, const T* data, size_t step) const y 524 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(((const T*)((const char*)data + idx_row(y) * step))[idx_col(x)]); y 527 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename Ptr2D> __device__ __forceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const y 529 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(src(idx_row(y), idx_col(x))); y 586 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_low(int y) const y 588 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (y >= 0) * y + (y < 0) * (y - ((y - height + 1) / height) * height); y 591 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_high(int y) const y 593 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (y < height) * y + (y >= height) * (y % height); y 596 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row(int y) const y 598 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return idx_row_high(idx_row_low(y)); y 601 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at_low(int y, const T* data, size_t step) const y 603 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const D*)((const char*)data + idx_row_low(y) * step)); y 606 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at_high(int y, const T* data, size_t step) const y 608 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const D*)((const char*)data + idx_row_high(y) * step)); y 611 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at(int y, const T* data, size_t step) const y 613 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(*(const D*)((const char*)data + idx_row(y) * step)); y 633 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_low(int y) const y 635 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (y >= 0) * y + (y < 0) * (y - ((y - height + 1) / height) * height); y 638 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row_high(int y) const y 640 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (y < height) * y + (y >= height) * (y % height); y 643 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ int idx_row(int y) const y 645 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return idx_row_high(idx_row_low(y)); y 663 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename T> __device__ __forceinline__ D at(int y, int x, const T* data, size_t step) const y 665 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(((const T*)((const char*)data + idx_row(y) * step))[idx_col(x)]); y 668 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename Ptr2D> __device__ __forceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const y 670 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(src(idx_row(y), idx_col(x))); y 687 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ elem_type operator ()(index_type y, index_type x) const y 689 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return b.at(y, x, ptr); y 708 modules/core/include/opencv2/core/cuda/border_interpolate.hpp __device__ __forceinline__ D operator ()(index_type y, index_type x) const y 710 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(src(y, x)) : val; y 118 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = src.y; y 167 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return (ushort)(((&src.x)[bidx] >> 3) | ((src.y & ~3) << 3) | (((&src.x)[bidx^2] & ~7) << 8)); y 183 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return (ushort)(((&src.x)[bidx] >> 3) | ((src.y & ~7) << 2) | (((&src.x)[bidx^2] & ~7) << 7)); y 240 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = (src >> 2) & ~7; y 260 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = (src >> 3) & ~3; y 322 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.z = dst.y = dst.x = src; y 509 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = saturate_cast<T>(Cr); y 516 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = (src[bidx^2] - dst.x) * c_RGB2YUVCoeffs_f[3] + ColorChannel<float>::half(); y 554 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp + (src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[1], yuv_shift); y 556 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = src.x + CV_DESCALE((src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[0], yuv_shift); y 566 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int y = 0xff & (src >> 8); y 572 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp + (y - ColorChannel<uchar>::half()) * c_YUV2RGBCoeffs_i[1], yuv_shift); y 574 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = x + CV_DESCALE((y - ColorChannel<uchar>::half()) * c_YUV2RGBCoeffs_i[0], yuv_shift); y 590 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp + (src.y - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[1]; y 592 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx^2] = src.x + (src.y - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[0]; y 648 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = saturate_cast<T>(Cr); y 672 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = (src[bidx^2] - dst.x) * c_RGB2YCrCbCoeffs_f[3] + ColorChannel<float>::half(); y 719 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int g = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[2] + (src.y - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[1], yuv_shift); y 720 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = src.x + CV_DESCALE((src.y - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[0], yuv_shift); y 730 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int y = 0xff & (src >> 8); y 734 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int g = x + CV_DESCALE((z - ColorChannel<uchar>::half()) * c_YCrCb2RGBCoeffs_i[2] + (y - ColorChannel<uchar>::half()) * c_YCrCb2RGBCoeffs_i[1], yuv_shift); y 735 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = x + CV_DESCALE((y - ColorChannel<uchar>::half()) * c_YCrCb2RGBCoeffs_i[0], yuv_shift); y 749 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[1] = src.x + (src.z - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[2] + (src.y - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[1]; y 750 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx^2] = src.x + (src.y - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[0]; y 801 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = saturate_cast<T>(CV_DESCALE(src[bidx^2] * c_RGB2XYZ_D65i[3] + src[1] * c_RGB2XYZ_D65i[4] + src[bidx] * c_RGB2XYZ_D65i[5], xyz_shift)); y 811 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const uint y = saturate_cast<uchar>(CV_DESCALE(r * c_RGB2XYZ_D65i[3] + g * c_RGB2XYZ_D65i[4] + b * c_RGB2XYZ_D65i[5], xyz_shift)); y 817 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= y << 8; y 826 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = src[bidx^2] * c_RGB2XYZ_D65f[3] + src[1] * c_RGB2XYZ_D65f[4] + src[bidx] * c_RGB2XYZ_D65f[5]; y 873 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx^2] = saturate_cast<D>(CV_DESCALE(src.x * c_XYZ2sRGB_D65i[0] + src.y * c_XYZ2sRGB_D65i[1] + src.z * c_XYZ2sRGB_D65i[2], xyz_shift)); y 874 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[1] = saturate_cast<D>(CV_DESCALE(src.x * c_XYZ2sRGB_D65i[3] + src.y * c_XYZ2sRGB_D65i[4] + src.z * c_XYZ2sRGB_D65i[5], xyz_shift)); y 875 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx] = saturate_cast<D>(CV_DESCALE(src.x * c_XYZ2sRGB_D65i[6] + src.y * c_XYZ2sRGB_D65i[7] + src.z * c_XYZ2sRGB_D65i[8], xyz_shift)); y 881 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int y = 0xff & (src >> 8); y 884 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const uint r = saturate_cast<uchar>(CV_DESCALE(x * c_XYZ2sRGB_D65i[0] + y * c_XYZ2sRGB_D65i[1] + z * c_XYZ2sRGB_D65i[2], xyz_shift)); y 885 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const uint g = saturate_cast<uchar>(CV_DESCALE(x * c_XYZ2sRGB_D65i[3] + y * c_XYZ2sRGB_D65i[4] + z * c_XYZ2sRGB_D65i[5], xyz_shift)); y 886 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const uint b = saturate_cast<uchar>(CV_DESCALE(x * c_XYZ2sRGB_D65i[6] + y * c_XYZ2sRGB_D65i[7] + z * c_XYZ2sRGB_D65i[8], xyz_shift)); y 899 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx^2] = src.x * c_XYZ2sRGB_D65f[0] + src.y * c_XYZ2sRGB_D65f[1] + src.z * c_XYZ2sRGB_D65f[2]; y 900 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[1] = src.x * c_XYZ2sRGB_D65f[3] + src.y * c_XYZ2sRGB_D65f[4] + src.z * c_XYZ2sRGB_D65f[5]; y 901 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx] = src.x * c_XYZ2sRGB_D65f[6] + src.y * c_XYZ2sRGB_D65f[7] + src.z * c_XYZ2sRGB_D65f[8]; y 974 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = (uchar)s; y 1039 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = s; y 1111 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float h = src.x, s = src.y, v = src.z; y 1153 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = src.y * (1.f / 255.f); y 1159 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[1] = saturate_cast<uchar>(buf.y * 255.f); y 1168 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = ((src >> 8) & 0xff) * (1.f/255.f); y 1176 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= saturate_cast<uchar>(buf.y * 255.f) << 8; y 1278 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = l; y 1287 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = src[1] * (1.f / 255.f); y 1293 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = saturate_cast<uchar>(buf.y*255.f); y 1302 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = (0xff & (src >> 8)) * (1.f / 255.f); y 1310 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= saturate_cast<uchar>(buf.y * 255.f) << 8; y 1384 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float h = src.x, l = src.y, s = src.z; y 1426 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = src.y * (1.f / 255.f); y 1432 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[1] = saturate_cast<uchar>(buf.y * 255.f); y 1441 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = (0xff & (src >> 8)) * (1.f / 255.f); y 1449 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= saturate_cast<uchar>(buf.y * 255.f) << 8; y 1545 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int G = src.y; y 1570 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = saturate_cast<uchar>(a); y 1591 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float G = src.y; y 1614 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = a; y 1684 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float X = src.y / 500.0f + fy; y 1709 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = G; y 1720 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.y = src.y - 128; y 1726 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = saturate_cast<uchar>(dstf.y * 255.f); y 1788 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float G = src.y; y 1810 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = u; y 1820 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.y = src.y * (1.f / 255.f); y 1826 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = saturate_cast<uchar>(dstf.y * 0.72033898305084743f + 96.525423728813564f); y 1883 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float u = src.y; y 1909 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = G; y 1920 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.y = src.y * 1.388235294117647f - 134.f; y 1926 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = saturate_cast<uchar>(dstf.y * 255.f); y 77 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, UnOp& op, int x_shifted, int y) y 79 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted)) y 84 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, BinOp& op, int x_shifted, int y) y 86 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted)) y 93 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, UnOp& op, int x_shifted, int y) y 95 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted)) y 97 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 1)) y 98 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.y = op(src.y); y 102 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, BinOp& op, int x_shifted, int y) y 104 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted)) y 106 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 1)) y 107 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.y = op(src1.y, src2.y); y 113 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, const UnOp& op, int x_shifted, int y) y 115 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted)) y 117 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 1)) y 118 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.y = op(src.y); y 119 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 2)) y 124 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, const BinOp& op, int x_shifted, int y) y 126 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted)) y 128 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 1)) y 129 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.y = op(src1.y, src2.y); y 130 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 2)) y 137 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, const UnOp& op, int x_shifted, int y) y 139 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted)) y 141 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 1)) y 142 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.y = op(src.y); y 143 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 2)) y 145 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 3)) y 150 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, const BinOp& op, int x_shifted, int y) y 152 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted)) y 154 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 1)) y 155 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.y = op(src1.y, src2.y); y 156 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 2)) y 158 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 3)) y 165 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, const UnOp& op, int x_shifted, int y) y 167 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted)) y 169 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 1)) y 171 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 2)) y 173 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 3)) y 175 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 4)) y 177 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 5)) y 179 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 6)) y 181 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 7)) y 186 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, const BinOp& op, int x_shifted, int y) y 188 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted)) y 190 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 1)) y 192 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 2)) y 194 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 3)) y 196 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 4)) y 198 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 5)) y 200 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 6)) y 202 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, x_shifted + 7)) y 215 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const int y = threadIdx.y + blockIdx.y * blockDim.y; y 218 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (y < src_.rows) y 220 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const T* src = src_.ptr(y); y 221 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp D* dst = dst_.ptr(y); y 228 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp OpUnroller<ft::smart_shift>::unroll(src_n_el, dst_n_el, mask, op, x_shifted, y); y 236 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, real_x)) y 247 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const int y = blockDim.y * blockIdx.y + threadIdx.y; y 249 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (x < src.cols && y < src.rows && mask(y, x)) y 251 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.ptr(y)[x] = op(src.ptr(y)[x]); y 265 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const int y = threadIdx.y + blockIdx.y * blockDim.y; y 268 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (y < src1_.rows) y 270 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const T1* src1 = src1_.ptr(y); y 271 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const T2* src2 = src2_.ptr(y); y 272 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp D* dst = dst_.ptr(y); y 280 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp OpUnroller<ft::smart_shift>::unroll(src1_n_el, src2_n_el, dst_n_el, mask, op, x_shifted, y); y 288 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (mask(y, real_x)) y 300 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const int y = blockDim.y * blockIdx.y + threadIdx.y; y 302 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (x < src1.cols && y < src1.rows && mask(y, x)) y 304 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const T1 src1_data = src1.ptr(y)[x]; y 305 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const T2 src2_data = src2.ptr(y)[x]; y 306 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.ptr(y)[x] = op(src1_data, src2_data); y 319 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const dim3 grid(divUp(src.cols, threads.x), divUp(src.rows, threads.y), 1); y 334 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const dim3 grid(divUp(src1.cols, threads.x), divUp(src1.rows, threads.y), 1); y 360 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const dim3 grid(divUp(src.cols, threads.x * ft::smart_shift), divUp(src.rows, threads.y), 1); y 385 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const dim3 grid(divUp(src1.cols, threads.x * ft::smart_shift), divUp(src1.rows, threads.y), 1); y 71 modules/core/include/opencv2/core/cuda/filters.hpp __device__ __forceinline__ elem_type operator ()(float y, float x) const y 73 modules/core/include/opencv2/core/cuda/filters.hpp return src(__float2int_rz(y), __float2int_rz(x)); y 90 modules/core/include/opencv2/core/cuda/filters.hpp __device__ __forceinline__ elem_type operator ()(float y, float x) const y 97 modules/core/include/opencv2/core/cuda/filters.hpp const int y1 = __float2int_rd(y); y 102 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src_reg * ((x2 - x) * (y2 - y)); y 105 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src_reg * ((x - x1) * (y2 - y)); y 108 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src_reg * ((x2 - x) * (y - y1)); y 111 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src_reg * ((x - x1) * (y - y1)); y 149 modules/core/include/opencv2/core/cuda/filters.hpp __device__ elem_type operator ()(float y, float x) const y 154 modules/core/include/opencv2/core/cuda/filters.hpp const float ymin = ::ceilf(y - 2.0f); y 155 modules/core/include/opencv2/core/cuda/filters.hpp const float ymax = ::floorf(y + 2.0f); y 164 modules/core/include/opencv2/core/cuda/filters.hpp const float w = bicubicCoeff(x - cx) * bicubicCoeff(y - cy); y 186 modules/core/include/opencv2/core/cuda/filters.hpp __device__ __forceinline__ elem_type operator ()(float y, float x) const y 194 modules/core/include/opencv2/core/cuda/filters.hpp float fsy1 = y * scale_y; y 224 modules/core/include/opencv2/core/cuda/filters.hpp __device__ __forceinline__ elem_type operator ()(float y, float x) const y 232 modules/core/include/opencv2/core/cuda/filters.hpp float fsy1 = y * scale_y; y 658 modules/core/include/opencv2/core/cuda/functional.hpp typename TypeTraits<typename Predicate::second_argument_type>::ParameterType y) const y 660 modules/core/include/opencv2/core/cuda/functional.hpp return !pred(x,y); y 80 modules/core/include/opencv2/core/cuda/utility.hpp __device__ __forceinline__ bool operator()(int y, int x) const y 82 modules/core/include/opencv2/core/cuda/utility.hpp return mask.ptr(y)[x] != 0; y 95 modules/core/include/opencv2/core/cuda/utility.hpp __device__ __forceinline__ bool operator()(int y, int x) const y 97 modules/core/include/opencv2/core/cuda/utility.hpp return mask.ptr(y)[x / channels] != 0; y 121 modules/core/include/opencv2/core/cuda/utility.hpp __device__ __forceinline__ bool operator()(int y, int x) const y 124 modules/core/include/opencv2/core/cuda/utility.hpp return curMask.data == 0 || (ForceGlob<uchar>::Load(curMask.ptr(y), x, val), (val != 0)); y 76 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<VecD>::make(saturate_cast<D>(v.x), saturate_cast<D>(v.y)); y 84 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)); y 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)); y 147 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(op (a.x), op (a.y)); \ y 151 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::make(op (a.x), op (a.y), op (a.z)); \ y 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)); \ y 191 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(func (a.x), func (a.y)); \ y 195 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::make(func (a.x), func (a.y), func (a.z)); \ y 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)); \ y 393 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(a.x op b.x, a.y op b.y); \ y 397 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::make(a.x op b.x, a.y op b.y, a.z op b.z); \ y 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); \ y 548 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(a.x op s, a.y op s); \ y 552 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(s op b.x, s op b.y); \ y 556 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::make(a.x op s, a.y op s, a.z op s); \ y 560 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::make(s op b.x, s op b.y, s op b.z); \ y 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); \ y 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); \ y 763 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(func (a.x, b.x), func (a.y, b.y)); \ y 767 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::make(func (a.x, b.x), func (a.y, b.y), func (a.z, b.z)); \ y 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)); \ y 825 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(func ((output_type) a.x, (output_type) s), func ((output_type) a.y, (output_type) s)); \ y 829 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(func ((output_type) s, (output_type) b.x), func ((output_type) s, (output_type) b.y)); \ y 833 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::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)); \ y 837 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::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)); \ y 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)); \ y 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)); \ y 190 modules/core/include/opencv2/core/cuda/vec_traits.hpp static __device__ __host__ __forceinline__ type ## 2 make(type x, type y) {return make_ ## type ## 2(x, y);} \ y 198 modules/core/include/opencv2/core/cuda/vec_traits.hpp static __device__ __host__ __forceinline__ type ## 3 make(type x, type y, type z) {return make_ ## type ## 3(x, y, z);} \ y 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);} \ y 257 modules/core/include/opencv2/core/cuda/vec_traits.hpp static __device__ __host__ __forceinline__ char2 make(schar x, schar y) {return make_char2(x, y);} y 265 modules/core/include/opencv2/core/cuda/vec_traits.hpp static __device__ __host__ __forceinline__ char3 make(schar x, schar y, schar z) {return make_char3(x, y, z);} y 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);} y 102 modules/core/include/opencv2/core/cuda_types.hpp __CV_CUDA_HOST_DEVICE__ T* ptr(int y = 0) { return ( T*)( ( char*)DevPtr<T>::data + y * step); } y 103 modules/core/include/opencv2/core/cuda_types.hpp __CV_CUDA_HOST_DEVICE__ const T* ptr(int y = 0) const { return (const T*)( (const char*)DevPtr<T>::data + y * step); } y 105 modules/core/include/opencv2/core/cuda_types.hpp __CV_CUDA_HOST_DEVICE__ T& operator ()(int y, int x) { return ptr(y)[x]; } y 106 modules/core/include/opencv2/core/cuda_types.hpp __CV_CUDA_HOST_DEVICE__ const T& operator ()(int y, int x) const { return ptr(y)[x]; } y 209 modules/core/include/opencv2/core/cvstd.inl.hpp out << "[" << p.x << ", " << p.y << "]"; y 216 modules/core/include/opencv2/core/cvstd.inl.hpp out << "[" << p.x << ", " << p.y << ", " << p.z << "]"; y 258 modules/core/include/opencv2/core/cvstd.inl.hpp return out << "[" << rect.width << " x " << rect.height << " from (" << rect.x << ", " << rect.y << ")]"; y 985 modules/core/include/opencv2/core/mat.hpp Mat row(int y) const; y 2019 modules/core/include/opencv2/core/mat.hpp Mat_ row(int y) const; y 2051 modules/core/include/opencv2/core/mat.hpp _Tp* operator [](int y); y 2052 modules/core/include/opencv2/core/mat.hpp const _Tp* operator [](int y) const; y 2164 modules/core/include/opencv2/core/mat.hpp UMat row(int y) const; y 3263 modules/core/include/opencv2/core/mat.hpp MatExpr row(int y) const; y 519 modules/core/include/opencv2/core/mat.inl.hpp ((_Tp*)data)[1] = pt.y; y 538 modules/core/include/opencv2/core/mat.inl.hpp ((_Tp*)data)[1] = pt.y; y 589 modules/core/include/opencv2/core/mat.inl.hpp Mat Mat::row(int y) const y 591 modules/core/include/opencv2/core/mat.inl.hpp return Mat(*this, Range(y, y + 1), Range::all()); y 758 modules/core/include/opencv2/core/mat.inl.hpp uchar* Mat::ptr(int y) y 760 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); y 761 modules/core/include/opencv2/core/mat.inl.hpp return data + step.p[0] * y; y 765 modules/core/include/opencv2/core/mat.inl.hpp const uchar* Mat::ptr(int y) const y 767 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); y 768 modules/core/include/opencv2/core/mat.inl.hpp return data + step.p[0] * y; y 772 modules/core/include/opencv2/core/mat.inl.hpp _Tp* Mat::ptr(int y) y 774 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); y 775 modules/core/include/opencv2/core/mat.inl.hpp return (_Tp*)(data + step.p[0] * y); y 779 modules/core/include/opencv2/core/mat.inl.hpp const _Tp* Mat::ptr(int y) const y 781 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && data && (unsigned)y < (unsigned)size.p[0]) ); y 782 modules/core/include/opencv2/core/mat.inl.hpp return (const _Tp*)(data + step.p[0] * y); y 910 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && (unsigned)pt.y < (unsigned)size.p[0] && y 913 modules/core/include/opencv2/core/mat.inl.hpp return ((_Tp*)(data + step.p[0] * pt.y))[pt.x]; y 919 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && (unsigned)pt.y < (unsigned)size.p[0] && y 922 modules/core/include/opencv2/core/mat.inl.hpp return ((const _Tp*)(data + step.p[0] * pt.y))[pt.x]; y 1381 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp> Mat_<_Tp>::row(int y) const y 1383 modules/core/include/opencv2/core/mat.inl.hpp return Mat_(*this, Range(y, y+1), Range::all()); y 1476 modules/core/include/opencv2/core/mat.inl.hpp _Tp* Mat_<_Tp>::operator [](int y) y 1478 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( 0 <= y && y < rows ); y 1479 modules/core/include/opencv2/core/mat.inl.hpp return (_Tp*)(data + y*step.p[0]); y 1483 modules/core/include/opencv2/core/mat.inl.hpp const _Tp* Mat_<_Tp>::operator [](int y) const y 1485 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( 0 <= y && y < rows ); y 1486 modules/core/include/opencv2/core/mat.inl.hpp return (const _Tp*)(data + y*step.p[0]); y 1513 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)pt.y < (unsigned)size.p[0] && y 1516 modules/core/include/opencv2/core/mat.inl.hpp return ((_Tp*)(data + step.p[0] * pt.y))[pt.x]; y 1523 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)pt.y < (unsigned)size.p[0] && y 1526 modules/core/include/opencv2/core/mat.inl.hpp return ((const _Tp*)(data + step.p[0] * pt.y))[pt.x]; y 2180 modules/core/include/opencv2/core/mat.inl.hpp int idx[] = {_pt.y, _pt.x}; y 2430 modules/core/include/opencv2/core/mat.inl.hpp int y = (int)(ofs / m->cols); y 2431 modules/core/include/opencv2/core/mat.inl.hpp int x = (int)(ofs - (ptrdiff_t)y * m->cols); y 2432 modules/core/include/opencv2/core/mat.inl.hpp return Point(x, y); y 2437 modules/core/include/opencv2/core/mat.inl.hpp int y = (int)(ofs / m->step); y 2438 modules/core/include/opencv2/core/mat.inl.hpp int x = (int)((ofs - y * m->step)/sizeof(_Tp)); y 2439 modules/core/include/opencv2/core/mat.inl.hpp return Point(x, y); y 3232 modules/core/include/opencv2/core/mat.inl.hpp UMat UMat::row(int y) const y 3234 modules/core/include/opencv2/core/mat.inl.hpp return UMat(*this, Range(y, y + 1), Range::all()); y 733 modules/core/include/opencv2/core/persistence.hpp value.start = temp.x; value.end = temp.y; y 859 modules/core/include/opencv2/core/persistence.hpp write(fs, pt.y); y 866 modules/core/include/opencv2/core/persistence.hpp write(fs, pt.y); y 888 modules/core/include/opencv2/core/persistence.hpp write(fs, r.y); y 175 modules/core/include/opencv2/core/types.hpp _Tp x, y; //< the point coordinates y 243 modules/core/include/opencv2/core/types.hpp _Tp x, y, z; //< the point coordinates y 403 modules/core/include/opencv2/core/types.hpp _Tp x, y, width, height; //< the top-left corner, as well as width and height of the rectangle y 655 modules/core/include/opencv2/core/types.hpp CV_WRAP KeyPoint(float x, float y, float _size, float _angle=-1, float _response=0, int _octave=0, int _class_id=-1); y 1071 modules/core/include/opencv2/core/types.hpp : x(pt.x), y(pt.y) {} y 1084 modules/core/include/opencv2/core/types.hpp x = pt.x; y = pt.y; y 1091 modules/core/include/opencv2/core/types.hpp return Point_<_Tp2>(saturate_cast<_Tp2>(x), saturate_cast<_Tp2>(y)); y 1097 modules/core/include/opencv2/core/types.hpp return Vec<_Tp, 2>(x, y); y 1103 modules/core/include/opencv2/core/types.hpp return saturate_cast<_Tp>(x*pt.x + y*pt.y); y 1109 modules/core/include/opencv2/core/types.hpp return (double)x*pt.x + (double)y*pt.y; y 1115 modules/core/include/opencv2/core/types.hpp return (double)x*pt.y - (double)y*pt.x; y 1129 modules/core/include/opencv2/core/types.hpp a.y += b.y; y 1137 modules/core/include/opencv2/core/types.hpp a.y -= b.y; y 1145 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y * b); y 1153 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y * b); y 1161 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y * b); y 1169 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y / b); y 1177 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y / b); y 1185 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y / b); y 1192 modules/core/include/opencv2/core/types.hpp return std::sqrt((double)pt.x*pt.x + (double)pt.y*pt.y); y 1198 modules/core/include/opencv2/core/types.hpp return a.x == b.x && a.y == b.y; y 1204 modules/core/include/opencv2/core/types.hpp return a.x != b.x || a.y != b.y; y 1210 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>( saturate_cast<_Tp>(a.x + b.x), saturate_cast<_Tp>(a.y + b.y) ); y 1216 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>( saturate_cast<_Tp>(a.x - b.x), saturate_cast<_Tp>(a.y - b.y) ); y 1222 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>( saturate_cast<_Tp>(-a.x), saturate_cast<_Tp>(-a.y) ); y 1228 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>( saturate_cast<_Tp>(a.x*b), saturate_cast<_Tp>(a.y*b) ); y 1234 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>( saturate_cast<_Tp>(b.x*a), saturate_cast<_Tp>(b.y*a) ); y 1240 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>( saturate_cast<_Tp>(a.x*b), saturate_cast<_Tp>(a.y*b) ); y 1246 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>( saturate_cast<_Tp>(b.x*a), saturate_cast<_Tp>(b.y*a) ); y 1252 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>( saturate_cast<_Tp>(a.x*b), saturate_cast<_Tp>(a.y*b) ); y 1258 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>( saturate_cast<_Tp>(b.x*a), saturate_cast<_Tp>(b.y*a) ); y 1264 modules/core/include/opencv2/core/types.hpp Matx<_Tp, 2, 1> tmp = a * Vec<_Tp,2>(b.x, b.y); y 1271 modules/core/include/opencv2/core/types.hpp Matx<_Tp, 3, 1> tmp = a * Vec<_Tp,3>(b.x, b.y, 1); y 1305 modules/core/include/opencv2/core/types.hpp : x(0), y(0), z(0) {} y 1309 modules/core/include/opencv2/core/types.hpp : x(_x), y(_y), z(_z) {} y 1313 modules/core/include/opencv2/core/types.hpp : x(pt.x), y(pt.y), z(pt.z) {} y 1317 modules/core/include/opencv2/core/types.hpp : x(pt.x), y(pt.y), z(_Tp()) {} y 1321 modules/core/include/opencv2/core/types.hpp : x(v[0]), y(v[1]), z(v[2]) {} y 1326 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp2>(saturate_cast<_Tp2>(x), saturate_cast<_Tp2>(y), saturate_cast<_Tp2>(z)); y 1332 modules/core/include/opencv2/core/types.hpp return Vec<_Tp, 3>(x, y, z); y 1338 modules/core/include/opencv2/core/types.hpp x = pt.x; y = pt.y; z = pt.z; y 1345 modules/core/include/opencv2/core/types.hpp return saturate_cast<_Tp>(x*pt.x + y*pt.y + z*pt.z); y 1351 modules/core/include/opencv2/core/types.hpp return (double)x*pt.x + (double)y*pt.y + (double)z*pt.z; y 1357 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp>(y*pt.z - z*pt.y, z*pt.x - x*pt.z, x*pt.y - y*pt.x); y 1365 modules/core/include/opencv2/core/types.hpp a.y += b.y; y 1374 modules/core/include/opencv2/core/types.hpp a.y -= b.y; y 1383 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y * b); y 1392 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y * b); y 1401 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y * b); y 1410 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y / b); y 1419 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y / b); y 1428 modules/core/include/opencv2/core/types.hpp a.y = saturate_cast<_Tp>(a.y / b); y 1436 modules/core/include/opencv2/core/types.hpp return std::sqrt((double)pt.x*pt.x + (double)pt.y*pt.y + (double)pt.z*pt.z); y 1442 modules/core/include/opencv2/core/types.hpp return a.x == b.x && a.y == b.y && a.z == b.z; y 1448 modules/core/include/opencv2/core/types.hpp return a.x != b.x || a.y != b.y || a.z != b.z; y 1454 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp>( saturate_cast<_Tp>(a.x + b.x), saturate_cast<_Tp>(a.y + b.y), saturate_cast<_Tp>(a.z + b.z)); y 1460 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp>( saturate_cast<_Tp>(a.x - b.x), saturate_cast<_Tp>(a.y - b.y), saturate_cast<_Tp>(a.z - b.z)); y 1466 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp>( saturate_cast<_Tp>(-a.x), saturate_cast<_Tp>(-a.y), saturate_cast<_Tp>(-a.z) ); y 1472 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp>( saturate_cast<_Tp>(a.x*b), saturate_cast<_Tp>(a.y*b), saturate_cast<_Tp>(a.z*b) ); y 1478 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp>( saturate_cast<_Tp>(b.x * a), saturate_cast<_Tp>(b.y * a), saturate_cast<_Tp>(b.z * a) ); y 1484 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp>( saturate_cast<_Tp>(a.x * b), saturate_cast<_Tp>(a.y * b), saturate_cast<_Tp>(a.z * b) ); y 1490 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp>( saturate_cast<_Tp>(b.x * a), saturate_cast<_Tp>(b.y * a), saturate_cast<_Tp>(b.z * a) ); y 1496 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp>( saturate_cast<_Tp>(a.x * b), saturate_cast<_Tp>(a.y * b), saturate_cast<_Tp>(a.z * b) ); y 1502 modules/core/include/opencv2/core/types.hpp return Point3_<_Tp>( saturate_cast<_Tp>(b.x * a), saturate_cast<_Tp>(b.y * a), saturate_cast<_Tp>(b.z * a) ); y 1508 modules/core/include/opencv2/core/types.hpp Matx<_Tp, 3, 1> tmp = a * Vec<_Tp,3>(b.x, b.y, b.z); y 1515 modules/core/include/opencv2/core/types.hpp return a * Matx<_Tp, 4, 1>(b.x, b.y, b.z, 1); y 1560 modules/core/include/opencv2/core/types.hpp : width(pt.x), height(pt.y) {} y 1663 modules/core/include/opencv2/core/types.hpp : x(0), y(0), width(0), height(0) {} y 1667 modules/core/include/opencv2/core/types.hpp : x(_x), y(_y), width(_width), height(_height) {} y 1671 modules/core/include/opencv2/core/types.hpp : x(r.x), y(r.y), width(r.width), height(r.height) {} y 1675 modules/core/include/opencv2/core/types.hpp : x(org.x), y(org.y), width(sz.width), height(sz.height) {} y 1681 modules/core/include/opencv2/core/types.hpp y = std::min(pt1.y, pt2.y); y 1683 modules/core/include/opencv2/core/types.hpp height = std::max(pt1.y, pt2.y) - y; y 1690 modules/core/include/opencv2/core/types.hpp y = r.y; y 1699 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>(x,y); y 1705 modules/core/include/opencv2/core/types.hpp return Point_<_Tp>(x + width, y + height); y 1723 modules/core/include/opencv2/core/types.hpp return Rect_<_Tp2>(saturate_cast<_Tp2>(x), saturate_cast<_Tp2>(y), saturate_cast<_Tp2>(width), saturate_cast<_Tp2>(height)); y 1729 modules/core/include/opencv2/core/types.hpp return x <= pt.x && pt.x < x + width && y <= pt.y && pt.y < y + height; y 1737 modules/core/include/opencv2/core/types.hpp a.y += b.y; y 1745 modules/core/include/opencv2/core/types.hpp a.y -= b.y; y 1769 modules/core/include/opencv2/core/types.hpp _Tp y1 = std::max(a.y, b.y); y 1771 modules/core/include/opencv2/core/types.hpp a.height = std::min(a.y + a.height, b.y + b.height) - y1; y 1773 modules/core/include/opencv2/core/types.hpp a.y = y1; y 1783 modules/core/include/opencv2/core/types.hpp _Tp y1 = std::min(a.y, b.y); y 1785 modules/core/include/opencv2/core/types.hpp a.height = std::max(a.y + a.height, b.y + b.height) - y1; y 1787 modules/core/include/opencv2/core/types.hpp a.y = y1; y 1794 modules/core/include/opencv2/core/types.hpp return a.x == b.x && a.y == b.y && a.width == b.width && a.height == b.height; y 1800 modules/core/include/opencv2/core/types.hpp return a.x != b.x || a.y != b.y || a.width != b.width || a.height != b.height; y 1806 modules/core/include/opencv2/core/types.hpp return Rect_<_Tp>( a.x + b.x, a.y + b.y, a.width, a.height ); y 1812 modules/core/include/opencv2/core/types.hpp return Rect_<_Tp>( a.x - b.x, a.y - b.y, a.width, a.height ); y 1818 modules/core/include/opencv2/core/types.hpp return Rect_<_Tp>( a.x, a.y, a.width + b.width, a.height + b.height ); y 2187 modules/core/include/opencv2/core/types.hpp KeyPoint::KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave, int _class_id) y 2188 modules/core/include/opencv2/core/types.hpp : pt(x, y), size(_size), angle(_angle), response(_response), octave(_octave), class_id(_class_id) {} y 781 modules/core/include/opencv2/core/types_c.h int y; y 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) {} y 788 modules/core/include/opencv2/core/types_c.h CvRect(const cv::Rect_<_Tp>& r): x(cv::saturate_cast<int>(r.x)), y(cv::saturate_cast<int>(r.y)), width(cv::saturate_cast<int>(r.width)), height(cv::saturate_cast<int>(r.height)) {} y 790 modules/core/include/opencv2/core/types_c.h operator cv::Rect_<_Tp>() const { return cv::Rect_<_Tp>((_Tp)x, (_Tp)y, (_Tp)width, (_Tp)height); } y 796 modules/core/include/opencv2/core/types_c.h CV_INLINE CvRect cvRect( int x, int y, int width, int height ) y 801 modules/core/include/opencv2/core/types_c.h r.y = y; y 813 modules/core/include/opencv2/core/types_c.h roi.yOffset = rect.y; y 869 modules/core/include/opencv2/core/types_c.h int y; y 872 modules/core/include/opencv2/core/types_c.h CvPoint(int _x = 0, int _y = 0): x(_x), y(_y) {} y 874 modules/core/include/opencv2/core/types_c.h CvPoint(const cv::Point_<_Tp>& pt): x((int)pt.x), y((int)pt.y) {} y 876 modules/core/include/opencv2/core/types_c.h operator cv::Point_<_Tp>() const { return cv::Point_<_Tp>(cv::saturate_cast<_Tp>(x), cv::saturate_cast<_Tp>(y)); } y 882 modules/core/include/opencv2/core/types_c.h CV_INLINE CvPoint cvPoint( int x, int y ) y 887 modules/core/include/opencv2/core/types_c.h p.y = y; y 896 modules/core/include/opencv2/core/types_c.h float y; y 899 modules/core/include/opencv2/core/types_c.h CvPoint2D32f(float _x = 0, float _y = 0): x(_x), y(_y) {} y 901 modules/core/include/opencv2/core/types_c.h CvPoint2D32f(const cv::Point_<_Tp>& pt): x((float)pt.x), y((float)pt.y) {} y 903 modules/core/include/opencv2/core/types_c.h operator cv::Point_<_Tp>() const { return cv::Point_<_Tp>(cv::saturate_cast<_Tp>(x), cv::saturate_cast<_Tp>(y)); } y 909 modules/core/include/opencv2/core/types_c.h CV_INLINE CvPoint2D32f cvPoint2D32f( double x, double y ) y 914 modules/core/include/opencv2/core/types_c.h p.y = (float)y; y 922 modules/core/include/opencv2/core/types_c.h return cvPoint2D32f( (float)point.x, (float)point.y ); y 930 modules/core/include/opencv2/core/types_c.h ipt.y = cvRound(point.y); y 939 modules/core/include/opencv2/core/types_c.h float y; y 943 modules/core/include/opencv2/core/types_c.h CvPoint3D32f(float _x = 0, float _y = 0, float _z = 0): x(_x), y(_y), z(_z) {} y 945 modules/core/include/opencv2/core/types_c.h CvPoint3D32f(const cv::Point3_<_Tp>& pt): x((float)pt.x), y((float)pt.y), z((float)pt.z) {} y 947 modules/core/include/opencv2/core/types_c.h operator cv::Point3_<_Tp>() const { return cv::Point3_<_Tp>(cv::saturate_cast<_Tp>(x), cv::saturate_cast<_Tp>(y), cv::saturate_cast<_Tp>(z)); } y 953 modules/core/include/opencv2/core/types_c.h CV_INLINE CvPoint3D32f cvPoint3D32f( double x, double y, double z ) y 958 modules/core/include/opencv2/core/types_c.h p.y = (float)y; y 968 modules/core/include/opencv2/core/types_c.h double y; y 973 modules/core/include/opencv2/core/types_c.h CV_INLINE CvPoint2D64f cvPoint2D64f( double x, double y ) y 978 modules/core/include/opencv2/core/types_c.h p.y = y; y 987 modules/core/include/opencv2/core/types_c.h double y; y 993 modules/core/include/opencv2/core/types_c.h CV_INLINE CvPoint3D64f cvPoint3D64f( double x, double y, double z ) y 998 modules/core/include/opencv2/core/types_c.h p.y = y; y 1627 modules/core/include/opencv2/core/types_c.h (reader).pt.y += (reader).deltas[(int)(reader).code][1]; \ y 36 modules/core/misc/java/src/java/core+KeyPoint.java public KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave, int _class_id) y 38 modules/core/misc/java/src/java/core+KeyPoint.java pt = new Point(x, y); y 53 modules/core/misc/java/src/java/core+KeyPoint.java public KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave) y 55 modules/core/misc/java/src/java/core+KeyPoint.java this(x, y, _size, _angle, _response, _octave, -1); y 59 modules/core/misc/java/src/java/core+KeyPoint.java public KeyPoint(float x, float y, float _size, float _angle, float _response) y 61 modules/core/misc/java/src/java/core+KeyPoint.java this(x, y, _size, _angle, _response, 0, -1); y 65 modules/core/misc/java/src/java/core+KeyPoint.java public KeyPoint(float x, float y, float _size, float _angle) y 67 modules/core/misc/java/src/java/core+KeyPoint.java this(x, y, _size, _angle, 0, 0, -1); y 71 modules/core/misc/java/src/java/core+KeyPoint.java public KeyPoint(float x, float y, float _size) y 73 modules/core/misc/java/src/java/core+KeyPoint.java this(x, y, _size, -1, 0, 0, -1); y 111 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(m.nativeObj, roi.y, roi.y + roi.height, roi.x, roi.x + roi.width); y 569 modules/core/misc/java/src/java/core+Mat.java if(ofs!=null){ ofs.x = ofs_out[0]; ofs.y = ofs_out[1]; } y 674 modules/core/misc/java/src/java/core+Mat.java public Mat row(int y) y 677 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_row(nativeObj, y)); y 839 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_submat(nativeObj, roi.x, roi.y, roi.width, roi.height)); y 1242 modules/core/misc/java/src/java/core+Mat.java private static native long n_row(long nativeObj, int y); y 54 modules/core/misc/java/src/java/core+MatOfKeyPoint.java buff[_channels*i+1] = (float) kp.pt.y; y 52 modules/core/misc/java/src/java/core+MatOfPoint.java buff[_channels*i+1] = (int) p.y; y 52 modules/core/misc/java/src/java/core+MatOfPoint2f.java buff[_channels*i+1] = (float) p.y; y 52 modules/core/misc/java/src/java/core+MatOfPoint3.java buff[_channels*i+1] = (int) p.y; y 52 modules/core/misc/java/src/java/core+MatOfPoint3f.java buff[_channels*i+1] = (float) p.y; y 53 modules/core/misc/java/src/java/core+MatOfRect.java buff[_channels*i+1] = (int) r.y; y 6 modules/core/misc/java/src/java/core+Point.java public double x, y; y 8 modules/core/misc/java/src/java/core+Point.java public Point(double x, double y) { y 10 modules/core/misc/java/src/java/core+Point.java this.y = y; y 25 modules/core/misc/java/src/java/core+Point.java y = vals.length > 1 ? vals[1] : 0; y 28 modules/core/misc/java/src/java/core+Point.java y = 0; y 33 modules/core/misc/java/src/java/core+Point.java return new Point(x, y); y 37 modules/core/misc/java/src/java/core+Point.java return x * p.x + y * p.y; y 47 modules/core/misc/java/src/java/core+Point.java temp = Double.doubleToLongBits(y); y 57 modules/core/misc/java/src/java/core+Point.java return x == it.x && y == it.y; y 66 modules/core/misc/java/src/java/core+Point.java return "{" + x + ", " + y + "}"; y 6 modules/core/misc/java/src/java/core+Point3.java public double x, y, z; y 8 modules/core/misc/java/src/java/core+Point3.java public Point3(double x, double y, double z) { y 10 modules/core/misc/java/src/java/core+Point3.java this.y = y; y 20 modules/core/misc/java/src/java/core+Point3.java y = p.y; y 32 modules/core/misc/java/src/java/core+Point3.java y = vals.length > 1 ? vals[1] : 0; y 36 modules/core/misc/java/src/java/core+Point3.java y = 0; y 42 modules/core/misc/java/src/java/core+Point3.java return new Point3(x, y, z); y 46 modules/core/misc/java/src/java/core+Point3.java return x * p.x + y * p.y + z * p.z; y 50 modules/core/misc/java/src/java/core+Point3.java return new Point3(y * p.z - z * p.y, z * p.x - x * p.z, x * p.y - y * p.x); y 60 modules/core/misc/java/src/java/core+Point3.java temp = Double.doubleToLongBits(y); y 72 modules/core/misc/java/src/java/core+Point3.java return x == it.x && y == it.y && z == it.z; y 77 modules/core/misc/java/src/java/core+Point3.java return "{" + x + ", " + y + ", " + z + "}"; y 6 modules/core/misc/java/src/java/core+Rect.java public int x, y, width, height; y 8 modules/core/misc/java/src/java/core+Rect.java public Rect(int x, int y, int width, int height) { y 10 modules/core/misc/java/src/java/core+Rect.java this.y = y; y 21 modules/core/misc/java/src/java/core+Rect.java y = (int) (p1.y < p2.y ? p1.y : p2.y); y 23 modules/core/misc/java/src/java/core+Rect.java height = (int) (p1.y > p2.y ? p1.y : p2.y) - y; y 27 modules/core/misc/java/src/java/core+Rect.java this((int) p.x, (int) p.y, (int) s.width, (int) s.height); y 37 modules/core/misc/java/src/java/core+Rect.java y = vals.length > 1 ? (int) vals[1] : 0; y 42 modules/core/misc/java/src/java/core+Rect.java y = 0; y 49 modules/core/misc/java/src/java/core+Rect.java return new Rect(x, y, width, height); y 53 modules/core/misc/java/src/java/core+Rect.java return new Point(x, y); y 57 modules/core/misc/java/src/java/core+Rect.java return new Point(x + width, y + height); y 69 modules/core/misc/java/src/java/core+Rect.java return x <= p.x && p.x < x + width && y <= p.y && p.y < y + height; y 83 modules/core/misc/java/src/java/core+Rect.java temp = Double.doubleToLongBits(y); y 93 modules/core/misc/java/src/java/core+Rect.java return x == it.x && y == it.y && width == it.width && height == it.height; y 98 modules/core/misc/java/src/java/core+Rect.java return "{" + x + ", " + y + ", " + width + "x" + height + "}"; y 30 modules/core/misc/java/src/java/core+RotatedRect.java center.y = vals.length > 1 ? (double) vals[1] : 0; y 51 modules/core/misc/java/src/java/core+RotatedRect.java center.y + b * size.height - a * size.width); y 55 modules/core/misc/java/src/java/core+RotatedRect.java center.y - b * size.height - a * size.width); y 59 modules/core/misc/java/src/java/core+RotatedRect.java 2 * center.y - pt[0].y); y 63 modules/core/misc/java/src/java/core+RotatedRect.java 2 * center.y - pt[1].y); y 71 modules/core/misc/java/src/java/core+RotatedRect.java (int) Math.floor(Math.min(Math.min(Math.min(pt[0].y, pt[1].y), pt[2].y), pt[3].y)), y 73 modules/core/misc/java/src/java/core+RotatedRect.java (int) Math.ceil(Math.max(Math.max(Math.max(pt[0].y, pt[1].y), pt[2].y), pt[3].y))); y 75 modules/core/misc/java/src/java/core+RotatedRect.java r.height -= r.y - 1; y 90 modules/core/misc/java/src/java/core+RotatedRect.java temp = Double.doubleToLongBits(center.y); y 19 modules/core/misc/java/src/java/core+Size.java height = p.y; y 132 modules/core/misc/java/test/CoreTest.java Mat y = new Mat(1, 3, CvType.CV_32F) { y 139 modules/core/misc/java/test/CoreTest.java Core.cartToPolar(x, y, dst, dst_angle); y 161 modules/core/misc/java/test/CoreTest.java Mat y = new Mat(1, 3, CvType.CV_32F) { y 168 modules/core/misc/java/test/CoreTest.java Core.cartToPolar(x, y, dst, dst_angle, true); y 924 modules/core/misc/java/test/CoreTest.java Mat y = new Mat(1, 4, CvType.CV_32F); y 926 modules/core/misc/java/test/CoreTest.java y.put(0, 0, 4.0, 12.0, 40.0, 8.0); y 928 modules/core/misc/java/test/CoreTest.java Core.magnitude(x, y, dst); y 962 modules/core/misc/java/test/CoreTest.java Mat y = new Mat(1, 1, CvType.CV_32F); y 964 modules/core/misc/java/test/CoreTest.java y.put(0, 0, 4.0); y 966 modules/core/misc/java/test/CoreTest.java Core.max(x, y, dst); y 1046 modules/core/misc/java/test/CoreTest.java gray3.put((int) minLoc.y, (int) minLoc.x, minVal); y 1047 modules/core/misc/java/test/CoreTest.java gray3.put((int) maxLoc.y, (int) maxLoc.x, maxVal); y 1420 modules/core/misc/java/test/CoreTest.java private static double atan2deg(double y, double x) y 1422 modules/core/misc/java/test/CoreTest.java double res = Math.atan2(y, x); y 1428 modules/core/misc/java/test/CoreTest.java private static double atan2rad(double y, double x) y 1430 modules/core/misc/java/test/CoreTest.java double res = Math.atan2(y, x); y 1442 modules/core/misc/java/test/CoreTest.java Mat y = new Mat(1, 4, CvType.CV_32F) { y 1453 modules/core/misc/java/test/CoreTest.java Core.phase(x, y, dst); y 1464 modules/core/misc/java/test/CoreTest.java Mat y = new Mat(1, 4, CvType.CV_32F) { y 1475 modules/core/misc/java/test/CoreTest.java Core.phase(x, y, dst, true); y 1501 modules/core/misc/java/test/CoreTest.java Mat y = new Mat(1, 3, CvType.CV_32F) { y 1507 modules/core/misc/java/test/CoreTest.java assertMatEqual(y, yCoordinate, EPS); y 1531 modules/core/misc/java/test/CoreTest.java Mat y = new Mat(1, 3, CvType.CV_32F) { y 1537 modules/core/misc/java/test/CoreTest.java assertMatEqual(y, yCoordinate, EPS); y 16 modules/core/misc/java/test/KeyPointTest.java private float y; y 24 modules/core/misc/java/test/KeyPointTest.java y = 2.0f; y 38 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size); y 43 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, 10.0f); y 48 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f); y 53 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1); y 58 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1, 1); y 63 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, angle, response, octave, classId); y 54 modules/core/misc/java/test/Point3Test.java assertTrue(0 == p1.y); y 63 modules/core/misc/java/test/Point3Test.java assertTrue(2 == p1.y); y 71 modules/core/misc/java/test/Point3Test.java assertEquals(2., p1.y); y 80 modules/core/misc/java/test/Point3Test.java assertEquals(3., p1.y); y 89 modules/core/misc/java/test/Point3Test.java assertEquals(0., p1.y); y 96 modules/core/misc/java/test/Point3Test.java assertEquals(6., p1.y); y 56 modules/core/misc/java/test/PointTest.java assertEquals(0.0, p.y); y 64 modules/core/misc/java/test/PointTest.java assertEquals(4.0, p.y); y 72 modules/core/misc/java/test/PointTest.java assertEquals(5.0, p1.y); y 79 modules/core/misc/java/test/PointTest.java assertEquals(0.0, p1.y); y 84 modules/core/misc/java/test/PointTest.java assertEquals(10.0, p2.y); y 76 modules/core/misc/java/test/RectTest.java assertEquals(0, r.y); y 86 modules/core/misc/java/test/RectTest.java assertEquals(3, r.y); y 96 modules/core/misc/java/test/RectTest.java assertEquals(0, rect.y); y 108 modules/core/misc/java/test/RectTest.java assertEquals(3, r.y); y 119 modules/core/misc/java/test/RectTest.java assertEquals(4, r.y); y 129 modules/core/misc/java/test/RectTest.java assertEquals(0, r1.y); y 137 modules/core/misc/java/test/RectTest.java assertEquals(2, r.y); y 35 modules/core/misc/java/test/RotatedRectTest.java assertTrue((r.x == Math.floor(center.x - halfDiagonal)) && (r.y == Math.floor(center.y - halfDiagonal))); y 37 modules/core/misc/java/test/RotatedRectTest.java assertTrue((r.br().x >= Math.ceil(center.x + halfDiagonal)) && (r.br().y >= Math.ceil(center.y + halfDiagonal))); y 39 modules/core/misc/java/test/RotatedRectTest.java assertTrue((r.br().x - Math.ceil(center.x + halfDiagonal)) <= 1 && (r.br().y - Math.ceil(center.y + halfDiagonal)) <= 1); y 95 modules/core/misc/java/test/RotatedRectTest.java boolean is_p0_irrational = (100 * p[0].x != (int) (100 * p[0].x)) && (100 * p[0].y != (int) (100 * p[0].y)); y 96 modules/core/misc/java/test/RotatedRectTest.java boolean is_p1_irrational = (100 * p[1].x != (int) (100 * p[1].x)) && (100 * p[1].y != (int) (100 * p[1].y)); y 97 modules/core/misc/java/test/RotatedRectTest.java boolean is_p2_irrational = (100 * p[2].x != (int) (100 * p[2].x)) && (100 * p[2].y != (int) (100 * p[2].y)); y 98 modules/core/misc/java/test/RotatedRectTest.java boolean is_p3_irrational = (100 * p[3].x != (int) (100 * p[3].x)) && (100 * p[3].y != (int) (100 * p[3].y)); y 103 modules/core/misc/java/test/RotatedRectTest.java Math.abs((p[0].x + p[2].x) / 2 - center.x) + Math.abs((p[0].y + p[2].y) / 2 - center.y) < EPS); y 106 modules/core/misc/java/test/RotatedRectTest.java Math.abs((p[1].x + p[3].x) / 2 - center.x) + Math.abs((p[1].y + p[3].y) / 2 - center.y) < EPS); y 110 modules/core/misc/java/test/RotatedRectTest.java (p[1].y - p[0].y) * (p[2].y - p[1].y)) < EPS); y 114 modules/core/misc/java/test/RotatedRectTest.java (p[2].y - p[1].y) * (p[3].y - p[2].y)) < EPS); y 118 modules/core/misc/java/test/RotatedRectTest.java (p[3].y - p[2].y) * (p[0].y - p[3].y)) < EPS); y 122 modules/core/misc/java/test/RotatedRectTest.java (p[0].y - p[3].y) * (p[1].y - p[0].y)) < EPS); y 126 modules/core/misc/java/test/RotatedRectTest.java (p[1].y - p[0].y) * (p[1].y - p[0].y) - size.height * size.height) < EPS); y 130 modules/core/misc/java/test/RotatedRectTest.java (p[1].y - p[2].y) * (p[1].y - p[2].y) - size.width * size.width) < EPS); y 150 modules/core/misc/java/test/RotatedRectTest.java assertEquals(2.6, rr.center.y); y 386 modules/core/perf/opencl/perf_arithm.cpp int min_loc_x = min_loc.x, min_loc_y = min_loc.y, max_loc_x = max_loc.x, y 387 modules/core/perf/opencl/perf_arithm.cpp max_loc_y = max_loc.y; y 1009 modules/core/perf/opencl/perf_arithm.cpp for (int y = 0; y < srcSize.height; ++y) y 1011 modules/core/perf/opencl/perf_arithm.cpp float * const ptr = src_.ptr<float>(y); y 1013 modules/core/perf/opencl/perf_arithm.cpp ptr[x] = (x + y) % 2 == 0 ? std::numeric_limits<float>::quiet_NaN() : ptr[x]; y 12 modules/core/perf/perf_cvround.cpp for (int y = 0; y < dst.rows; ++y) y 14 modules/core/perf/perf_cvround.cpp const T * sptr = src.ptr<T>(y); y 15 modules/core/perf/perf_cvround.cpp int * dptr = dst.ptr<int>(y); y 1267 modules/core/src/array.cpp if( (rect.x|rect.y|rect.width|rect.height) < 0 ) y 1271 modules/core/src/array.cpp rect.y + rect.height > mat->rows ) y 1283 modules/core/src/array.cpp submat->data.ptr = mat->data.ptr + (size_t)rect.y*mat->step + y 1684 modules/core/src/array.cpp int y = idx/width, x = idx - y*width; y 1686 modules/core/src/array.cpp ptr = cvPtr2D( arr, y, x, _type ); y 1754 modules/core/src/array.cpp cvPtr2D( const CvArr* arr, int y, int x, int* _type ) y 1762 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)(mat->rows) || y 1770 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)y*mat->step + x*CV_ELEM_SIZE(type); y 1805 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)height || y 1809 modules/core/src/array.cpp ptr += y*img->widthStep + x*pix_size; y 1825 modules/core/src/array.cpp (unsigned)y >= (unsigned)(mat->dim[0].size) || y 1829 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)y*mat->dim[0].step + x*mat->dim[1].step; y 1835 modules/core/src/array.cpp int idx[] = { y, x }; y 1849 modules/core/src/array.cpp cvPtr3D( const CvArr* arr, int z, int y, int x, int* _type ) y 1858 modules/core/src/array.cpp (unsigned)y >= (unsigned)(mat->dim[1].size) || y 1863 modules/core/src/array.cpp (size_t)y*mat->dim[1].step + x*mat->dim[2].step; y 1870 modules/core/src/array.cpp int idx[] = { z, y, x }; y 1956 modules/core/src/array.cpp cvGet2D( const CvArr* arr, int y, int x ) y 1966 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)(mat->rows) || y 1971 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)y*mat->step + x*CV_ELEM_SIZE(type); y 1974 modules/core/src/array.cpp ptr = cvPtr2D( arr, y, x, &type ); y 1977 modules/core/src/array.cpp int idx[] = { y, x }; y 1990 modules/core/src/array.cpp cvGet3D( const CvArr* arr, int z, int y, int x ) y 1997 modules/core/src/array.cpp ptr = cvPtr3D( arr, z, y, x, &type ); y 2000 modules/core/src/array.cpp int idx[] = { z, y, x }; y 2071 modules/core/src/array.cpp cvGetReal2D( const CvArr* arr, int y, int x ) y 2081 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)(mat->rows) || y 2086 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)y*mat->step + x*CV_ELEM_SIZE(type); y 2089 modules/core/src/array.cpp ptr = cvPtr2D( arr, y, x, &type ); y 2092 modules/core/src/array.cpp int idx[] = { y, x }; y 2110 modules/core/src/array.cpp cvGetReal3D( const CvArr* arr, int z, int y, int x ) y 2117 modules/core/src/array.cpp ptr = cvPtr3D( arr, z, y, x, &type ); y 2120 modules/core/src/array.cpp int idx[] = { z, y, x }; y 2194 modules/core/src/array.cpp cvSet2D( CvArr* arr, int y, int x, CvScalar scalar ) y 2203 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)(mat->rows) || y 2208 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)y*mat->step + x*CV_ELEM_SIZE(type); y 2211 modules/core/src/array.cpp ptr = cvPtr2D( arr, y, x, &type ); y 2214 modules/core/src/array.cpp int idx[] = { y, x }; y 2223 modules/core/src/array.cpp cvSet3D( CvArr* arr, int z, int y, int x, CvScalar scalar ) y 2229 modules/core/src/array.cpp ptr = cvPtr3D( arr, z, y, x, &type ); y 2232 modules/core/src/array.cpp int idx[] = { z, y, x }; y 2289 modules/core/src/array.cpp cvSetReal2D( CvArr* arr, int y, int x, double value ) y 2298 modules/core/src/array.cpp if( (unsigned)y >= (unsigned)(mat->rows) || y 2303 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)y*mat->step + x*CV_ELEM_SIZE(type); y 2307 modules/core/src/array.cpp ptr = cvPtr2D( arr, y, x, &type ); y 2311 modules/core/src/array.cpp int idx[] = { y, x }; y 2323 modules/core/src/array.cpp cvSetReal3D( CvArr* arr, int z, int y, int x, double value ) y 2329 modules/core/src/array.cpp ptr = cvPtr3D( arr, z, y, x, &type ); y 2332 modules/core/src/array.cpp int idx[] = { z, y, x }; y 3015 modules/core/src/array.cpp rect.x < image->width && rect.y < image->height && y 3017 modules/core/src/array.cpp rect.y + rect.height >= (int)(rect.height > 0) ); y 3020 modules/core/src/array.cpp rect.height += rect.y; y 3023 modules/core/src/array.cpp rect.y = std::max(rect.y, 0); y 3028 modules/core/src/array.cpp rect.height -= rect.y; y 3033 modules/core/src/array.cpp image->roi->yOffset = rect.y; y 3038 modules/core/src/array.cpp image->roi = icvCreateROI( 0, rect.x, rect.y, rect.width, rect.height ); y 616 modules/core/src/copy.cpp for( int y = 0; y < (size.height + 1)/2; y++, src0 += sstep, src1 -= sstep, y 884 modules/core/src/copy.cpp int x, y; y 887 modules/core/src/copy.cpp for( y = 0; y < ssize.height; y++ ) y 890 modules/core/src/copy.cpp memcpy( dst.ptr(y) + x, src.ptr(y), ssize.width ); y 893 modules/core/src/copy.cpp for( ; y < dsize.height; y++ ) y 894 modules/core/src/copy.cpp memcpy( dst.ptr(y), dst.ptr(y - ssize.height), dsize.width ); y 1115 modules/core/src/copy.cpp int dtop = std::min(ofs.y, top); y 1116 modules/core/src/copy.cpp int dbottom = std::min(wholeSize.height - src.rows - ofs.y, bottom); y 1163 modules/core/src/copy.cpp int dtop = std::min(ofs.y, top); y 1164 modules/core/src/copy.cpp int dbottom = std::min(wholeSize.height - src.rows - ofs.y, bottom); y 145 modules/core/src/cuda_gpu_mat.cpp step(m.step), data(m.data + roi.y*step), refcount(m.refcount), y 152 modules/core/src/cuda_gpu_mat.cpp CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows ); y 214 modules/core/src/cuda_gpu_mat.cpp ofs.x = ofs.y = 0; y 218 modules/core/src/cuda_gpu_mat.cpp ofs.y = static_cast<int>(delta1 / step); y 219 modules/core/src/cuda_gpu_mat.cpp ofs.x = static_cast<int>((delta1 - step * ofs.y) / esz); y 221 modules/core/src/cuda_gpu_mat.cpp CV_DbgAssert( data == datastart + ofs.y * step + ofs.x * esz ); y 226 modules/core/src/cuda_gpu_mat.cpp wholeSize.height = std::max(static_cast<int>((delta2 - minstep) / step + 1), ofs.y + rows); y 238 modules/core/src/cuda_gpu_mat.cpp int row1 = std::max(ofs.y - dtop, 0); y 239 modules/core/src/cuda_gpu_mat.cpp int row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); y 244 modules/core/src/cuda_gpu_mat.cpp data += (row1 - ofs.y) * step + (col1 - ofs.x) * esz; y 275 modules/core/src/downhill_simplex.cpp Mat coord_sum(1, ndim, CV_64F), buf(1, ndim, CV_64F), y(1, ndim+1, CV_64F); y 276 modules/core/src/downhill_simplex.cpp double* y_ = y.ptr<double>(); y 324 modules/core/src/downhill_simplex.cpp print_matrix(y); y 376 modules/core/src/downhill_simplex.cpp replacePoint(p, coord_sum, y, ihi, alpha, y_alpha); y 387 modules/core/src/downhill_simplex.cpp replacePoint(p, coord_sum, y, ihi, gamma, y_gamma); y 436 modules/core/src/downhill_simplex.cpp void replacePoint( Mat& p, Mat& coord_sum, Mat& y, int ihi, double alpha_, double ytry ) y 447 modules/core/src/downhill_simplex.cpp y.at<double>(ihi) = ytry; y 813 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_Scissor(GLint x, GLint y, GLsizei width, GLsizei height) y 816 modules/core/src/gl_core_3_1.cpp Scissor(x, y, width, height); y 975 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_ReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) y 978 modules/core/src/gl_core_3_1.cpp ReadPixels(x, y, width, height, format, type, pixels); y 1059 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_Viewport(GLint x, GLint y, GLsizei width, GLsizei height) y 1062 modules/core/src/gl_core_3_1.cpp Viewport(x, y, width, height); y 1089 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) y 1092 modules/core/src/gl_core_3_1.cpp CopyTexImage1D(target, level, internalformat, x, y, width, border); y 1095 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) y 1098 modules/core/src/gl_core_3_1.cpp CopyTexImage2D(target, level, internalformat, x, y, width, height, border); y 1101 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) y 1104 modules/core/src/gl_core_3_1.cpp CopyTexSubImage1D(target, level, xoffset, x, y, width); y 1107 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) y 1110 modules/core/src/gl_core_3_1.cpp CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); y 1187 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) y 1190 modules/core/src/gl_core_3_1.cpp CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); y 2069 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_VertexAttribI2i(GLuint index, GLint x, GLint y) y 2072 modules/core/src/gl_core_3_1.cpp VertexAttribI2i(index, x, y); y 2075 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_VertexAttribI3i(GLuint index, GLint x, GLint y, GLint z) y 2078 modules/core/src/gl_core_3_1.cpp VertexAttribI3i(index, x, y, z); y 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) y 2084 modules/core/src/gl_core_3_1.cpp VertexAttribI4i(index, x, y, z, w); y 2093 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_VertexAttribI2ui(GLuint index, GLuint x, GLuint y) y 2096 modules/core/src/gl_core_3_1.cpp VertexAttribI2ui(index, x, y); y 2099 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_VertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z) y 2102 modules/core/src/gl_core_3_1.cpp VertexAttribI3ui(index, x, y, z); y 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) y 2108 modules/core/src/gl_core_3_1.cpp VertexAttribI4ui(index, x, y, z, w); y 1075 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *Scissor)(GLint x, GLint y, GLsizei width, GLsizei height); y 1102 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); y 1116 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *Viewport)(GLint x, GLint y, GLsizei width, GLsizei height); y 1121 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); y 1122 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); y 1123 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); y 1124 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); y 1139 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); y 1301 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexAttribI2i)(GLuint index, GLint x, GLint y); y 1302 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexAttribI3i)(GLuint index, GLint x, GLint y, GLint z); y 1303 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexAttribI4i)(GLuint index, GLint x, GLint y, GLint z, GLint w); y 1305 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexAttribI2ui)(GLuint index, GLuint x, GLuint y); y 1306 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexAttribI3ui)(GLuint index, GLuint x, GLuint y, GLuint z); y 1307 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexAttribI4ui)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); y 160 modules/core/src/lapack.cpp _Tp y = (_Tp)((W[l] - W[k])*0.5); y 161 modules/core/src/lapack.cpp _Tp t = std::abs(y) + hypot(p, y); y 165 modules/core/src/lapack.cpp if( y < 0 ) y 584 modules/core/src/lapack.cpp const T2* a, int inca, T3* y, int dy ) y 587 modules/core/src/lapack.cpp for( i = 0; i < m; i++, x += dx, y += dy ) y 594 modules/core/src/lapack.cpp T3 t0 = (T3)(y[j] + s*x[j]); y 595 modules/core/src/lapack.cpp T3 t1 = (T3)(y[j+1] + s*x[j+1]); y 596 modules/core/src/lapack.cpp y[j] = t0; y 597 modules/core/src/lapack.cpp y[j+1] = t1; y 598 modules/core/src/lapack.cpp t0 = (T3)(y[j+2] + s*x[j+2]); y 599 modules/core/src/lapack.cpp t1 = (T3)(y[j+3] + s*x[j+3]); y 600 modules/core/src/lapack.cpp y[j+2] = t0; y 601 modules/core/src/lapack.cpp y[j+3] = t1; y 605 modules/core/src/lapack.cpp y[j] = (T3)(y[j] + s*x[j]); y 725 modules/core/src/lapack.cpp #define Mf(y, x) ((float*)(m + y*step))[x] y 726 modules/core/src/lapack.cpp #define Md(y, x) ((double*)(m + y*step))[x] y 787 modules/core/src/lapack.cpp #define Sf( y, x ) ((float*)(srcdata + y*srcstep))[x] y 788 modules/core/src/lapack.cpp #define Sd( y, x ) ((double*)(srcdata + y*srcstep))[x] y 789 modules/core/src/lapack.cpp #define Df( y, x ) ((float*)(dstdata + y*dststep))[x] y 790 modules/core/src/lapack.cpp #define Dd( y, x ) ((double*)(dstdata + y*dststep))[x] y 1070 modules/core/src/lapack.cpp #define bf(y) ((float*)(bdata + y*src2step))[0] y 1071 modules/core/src/lapack.cpp #define bd(y) ((double*)(bdata + y*src2step))[0] y 1510 modules/core/src/lapack.cpp #define Mf(y, x) ((float*)(m + y*step))[x] y 1511 modules/core/src/lapack.cpp #define Md(y, x) ((double*)(m + y*step))[x] y 330 modules/core/src/lda.cpp double p = 0, q = 0, r = 0, s = 0, z = 0, t, w, x, y; y 448 modules/core/src/lda.cpp y = 0.0; y 451 modules/core/src/lda.cpp y = H[n1 - 1][n1 - 1]; y 463 modules/core/src/lda.cpp x = y = 0.75 * s; y 470 modules/core/src/lda.cpp s = (y - x) / 2.0; y 474 modules/core/src/lda.cpp if (y < x) { y 477 modules/core/src/lda.cpp s = x - w / ((y - x) / 2.0 + s); y 482 modules/core/src/lda.cpp x = y = w = 0.964; y 493 modules/core/src/lda.cpp s = y - z; y 549 modules/core/src/lda.cpp y = q / s; y 563 modules/core/src/lda.cpp H[k + 1][j] = H[k + 1][j] - p * y; y 569 modules/core/src/lda.cpp p = x * H[i][k] + y * H[i][k + 1]; y 581 modules/core/src/lda.cpp p = x * V[i][k] + y * V[i][k + 1]; y 631 modules/core/src/lda.cpp y = H[i + 1][i]; y 638 modules/core/src/lda.cpp H[i + 1][n1] = (-s - y * t) / z; y 693 modules/core/src/lda.cpp y = H[i + 1][i]; y 698 modules/core/src/lda.cpp + std::abs(y) + std::abs(z)); y 710 modules/core/src/lda.cpp cdiv(-r - y * H[i][n1 - 1], -s - y * H[i][n1], z, y 102 modules/core/src/mathfuncs.cpp float fastAtan2( float y, float x ) y 104 modules/core/src/mathfuncs.cpp float ax = std::abs(x), ay = std::abs(y); y 120 modules/core/src/mathfuncs.cpp if( y < 0 ) y 191 modules/core/src/mathfuncs.cpp const float *x = (const float*)ptrs[0], *y = (const float*)ptrs[1]; y 193 modules/core/src/mathfuncs.cpp hal::magnitude( x, y, mag, len ); y 197 modules/core/src/mathfuncs.cpp const double *x = (const double*)ptrs[0], *y = (const double*)ptrs[1]; y 199 modules/core/src/mathfuncs.cpp hal::magnitude( x, y, mag, len ); y 240 modules/core/src/mathfuncs.cpp const float *x = (const float*)ptrs[0], *y = (const float*)ptrs[1]; y 242 modules/core/src/mathfuncs.cpp hal::fastAtan2( y, x, angle, len, angleInDegrees ); y 246 modules/core/src/mathfuncs.cpp const double *x = (const double*)ptrs[0], *y = (const double*)ptrs[1]; y 257 modules/core/src/mathfuncs.cpp __m128 v_dst1 = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(y + k)), y 258 modules/core/src/mathfuncs.cpp _mm_cvtpd_ps(_mm_loadu_pd(y + k + 2))); y 269 modules/core/src/mathfuncs.cpp buf[1][k] = (float)y[k]; y 374 modules/core/src/mathfuncs.cpp const float *x = (const float*)ptrs[0], *y = (const float*)ptrs[1]; y 376 modules/core/src/mathfuncs.cpp hal::magnitude( x, y, mag, len ); y 377 modules/core/src/mathfuncs.cpp hal::fastAtan2( y, x, angle, len, angleInDegrees ); y 381 modules/core/src/mathfuncs.cpp const double *x = (const double*)ptrs[0], *y = (const double*)ptrs[1]; y 384 modules/core/src/mathfuncs.cpp hal::magnitude(x, y, (double*)ptrs[2], len); y 394 modules/core/src/mathfuncs.cpp __m128 v_dst1 = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(y + k)), y 395 modules/core/src/mathfuncs.cpp _mm_cvtpd_ps(_mm_loadu_pd(y + k + 2))); y 406 modules/core/src/mathfuncs.cpp buf[1][k] = (float)y[k]; y 682 modules/core/src/mathfuncs.cpp float *x = (float*)ptrs[2], *y = (float*)ptrs[3]; y 684 modules/core/src/mathfuncs.cpp SinCos_32f( angle, y, x, len, angleInDegrees ); y 694 modules/core/src/mathfuncs.cpp vst1q_f32(y + k, vmulq_f32(vld1q_f32(y + k), v_m)); y 703 modules/core/src/mathfuncs.cpp _mm_storeu_ps(y + k, _mm_mul_ps(_mm_loadu_ps(y + k), v_m)); y 711 modules/core/src/mathfuncs.cpp x[k] *= m; y[k] *= m; y 718 modules/core/src/mathfuncs.cpp double *x = (double*)ptrs[2], *y = (double*)ptrs[3]; y 728 modules/core/src/mathfuncs.cpp x[k] = buf[0][k]*m; y[k] = buf[1][k]*m; y 733 modules/core/src/mathfuncs.cpp std::memcpy(y, buf[1], sizeof(float) * len); y 751 modules/core/src/mathfuncs.cpp static void Exp_32f_ipp(const float *x, float *y, int n) y 755 modules/core/src/mathfuncs.cpp if (0 <= ippsExp_32f_A21(x, y, n)) y 762 modules/core/src/mathfuncs.cpp hal::exp(x, y, n); y 765 modules/core/src/mathfuncs.cpp static void Exp_64f_ipp(const double *x, double *y, int n) y 769 modules/core/src/mathfuncs.cpp if (0 <= ippsExp_64f_A50(x, y, n)) y 776 modules/core/src/mathfuncs.cpp hal::exp(x, y, n); y 819 modules/core/src/mathfuncs.cpp static void Log_32f_ipp(const float *x, float *y, int n) y 823 modules/core/src/mathfuncs.cpp if (0 <= ippsLn_32f_A21(x, y, n)) y 830 modules/core/src/mathfuncs.cpp hal::log(x, y, n); y 833 modules/core/src/mathfuncs.cpp static void Log_64f_ipp(const double *x, double *y, int n) y 837 modules/core/src/mathfuncs.cpp if (0 <= ippsLn_64f_A50(x, y, n)) y 844 modules/core/src/mathfuncs.cpp hal::log(x, y, n); y 1466 modules/core/src/mathfuncs.cpp float* y = (float*)ptrs[1]; y 1471 modules/core/src/mathfuncs.cpp Log_32f(x, y, bsz); y 1473 modules/core/src/mathfuncs.cpp y[k] = (float)(y[k]*power); y 1474 modules/core/src/mathfuncs.cpp Exp_32f(y, y, bsz); y 1482 modules/core/src/mathfuncs.cpp y[k] = inf32.f; y 1485 modules/core/src/mathfuncs.cpp y[k] = nan32.f; y 1493 modules/core/src/mathfuncs.cpp double* y = (double*)ptrs[1]; y 1498 modules/core/src/mathfuncs.cpp Log_64f(x, y, bsz); y 1500 modules/core/src/mathfuncs.cpp y[k] *= power; y 1501 modules/core/src/mathfuncs.cpp Exp_64f(y, y, bsz); y 1510 modules/core/src/mathfuncs.cpp y[k] = inf64.f; y 1513 modules/core/src/mathfuncs.cpp y[k] = nan64.f; y 1589 modules/core/src/mathfuncs.cpp bad_pt.y = j ; y 1715 modules/core/src/mathfuncs.cpp ("the value at (%d, %d)=%g is out of range", badPt.x, badPt.y, badValue)); y 1801 modules/core/src/mathfuncs.cpp CV_IMPL float cvFastArctan(float y, float x) { return cv::fastAtan2(y, x); } y 2031 modules/core/src/matmul.cpp T x = src[i], y = src[i + 1]; y 2032 modules/core/src/matmul.cpp double w = x*m[6] + y*m[7] + m[8]; y 2037 modules/core/src/matmul.cpp dst[i] = (T)((x*m[0] + y*m[1] + m[2])*w); y 2038 modules/core/src/matmul.cpp dst[i+1] = (T)((x*m[3] + y*m[4] + m[5])*w); y 2048 modules/core/src/matmul.cpp T x = src[i], y = src[i + 1], z = src[i + 2]; y 2049 modules/core/src/matmul.cpp double w = x*m[12] + y*m[13] + z*m[14] + m[15]; y 2054 modules/core/src/matmul.cpp dst[i] = (T)((x*m[0] + y*m[1] + z*m[2] + m[3]) * w); y 2055 modules/core/src/matmul.cpp dst[i+1] = (T)((x*m[4] + y*m[5] + z*m[6] + m[7]) * w); y 2056 modules/core/src/matmul.cpp dst[i+2] = (T)((x*m[8] + y*m[9] + z*m[10] + m[11]) * w); y 2066 modules/core/src/matmul.cpp T x = src[0], y = src[1], z = src[2]; y 2067 modules/core/src/matmul.cpp double w = x*m[8] + y*m[9] + z*m[10] + m[11]; y 2072 modules/core/src/matmul.cpp dst[0] = (T)((x*m[0] + y*m[1] + z*m[2] + m[3])*w); y 2073 modules/core/src/matmul.cpp dst[1] = (T)((x*m[4] + y*m[5] + z*m[6] + m[7])*w); y 603 modules/core/src/matop.cpp MatExpr MatExpr::row(int y) const y 606 modules/core/src/matop.cpp op->roi(*this, Range(y, y+1), Range::all(), e); y 634 modules/core/src/matop.cpp op->roi(*this, Range(roi.y, roi.y + roi.height), Range(roi.x, roi.x + roi.width), e); y 484 modules/core/src/matrix.cpp data(m.data + roi.y*m.step[0]), y 495 modules/core/src/matrix.cpp 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows ); y 891 modules/core/src/matrix.cpp ofs.x = ofs.y = 0; y 894 modules/core/src/matrix.cpp ofs.y = (int)(delta1/step[0]); y 895 modules/core/src/matrix.cpp ofs.x = (int)((delta1 - step[0]*ofs.y)/esz); y 896 modules/core/src/matrix.cpp CV_DbgAssert( data == datastart + ofs.y*step[0] + ofs.x*esz ); y 900 modules/core/src/matrix.cpp wholeSize.height = std::max(wholeSize.height, ofs.y + rows); y 911 modules/core/src/matrix.cpp int row1 = std::max(ofs.y - dtop, 0), row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); y 913 modules/core/src/matrix.cpp data += (row1 - ofs.y)*step + (col1 - ofs.x)*esz; y 3319 modules/core/src/matrix.cpp for( int y = 0; y < size.height; y++ ) y 3321 modules/core/src/matrix.cpp const T* src = srcmat.ptr<T>(y); y 3322 modules/core/src/matrix.cpp ST* dst = dstmat.ptr<ST>(y); y 3420 modules/core/src/matrix.cpp for (int y = 0; y < size.height; ++y) y 3421 modules/core/src/matrix.cpp if (ippFunc(srcmat.ptr(y), sstep, roisize, dstmat.ptr<Ipp64f>(y)) < 0) y 3424 modules/core/src/matrix.cpp cv::Mat dstroi = dstmat.rowRange(y, y + 1); y 3425 modules/core/src/matrix.cpp func(srcmat.rowRange(y, y + 1), dstroi); y 3432 modules/core/src/matrix.cpp for (int y = 0; y < size.height; ++y) y 3433 modules/core/src/matrix.cpp if (ippFuncHint(srcmat.ptr(y), sstep, roisize, dstmat.ptr<Ipp64f>(y), ippAlgHintAccurate) < 0) y 3436 modules/core/src/matrix.cpp cv::Mat dstroi = dstmat.rowRange(y, y + 1); y 3437 modules/core/src/matrix.cpp func(srcmat.rowRange(y, y + 1), dstroi); y 3479 modules/core/src/matrix.cpp for (int y = 0; y < size.height; ++y) \ y 3480 modules/core/src/matrix.cpp if (ippi##optype##_##favor##_C1R(srcmat.ptr<IppType>(y), sstep, roisize, dstmat.ptr<IppType>(y)) < 0) \ y 3483 modules/core/src/matrix.cpp cv::Mat dstroi = dstmat.rowRange(y, y + 1); \ y 3484 modules/core/src/matrix.cpp cv::reduceC_ < type1, type2, cv::Op##optype < type2 > >(srcmat.rowRange(y, y + 1), dstroi); \ y 4455 modules/core/src/matrix.cpp int y = (int)(ofs/m->step[0]); y 4456 modules/core/src/matrix.cpp return Point((int)((ofs - y*m->step[0])/elemSize), y); y 4481 modules/core/src/matrix.cpp ptrdiff_t y = ofs/m->step[0]; y 4482 modules/core/src/matrix.cpp return y*m->cols + (ofs - y*m->step[0])/elemSize; y 4509 modules/core/src/matrix.cpp ptrdiff_t ofs0, y; y 4513 modules/core/src/matrix.cpp y = ofs0/m->step[0]; y 4514 modules/core/src/matrix.cpp ofs += y*m->cols + (ofs0 - y*m->step[0])/elemSize; y 4516 modules/core/src/matrix.cpp y = ofs/m->cols; y 4517 modules/core/src/matrix.cpp int y1 = std::min(std::max((int)y, 0), m->rows-1); y 4520 modules/core/src/matrix.cpp ptr = y < 0 ? sliceStart : y >= m->rows ? sliceEnd : y 4521 modules/core/src/matrix.cpp sliceStart + (ofs - y*m->cols)*elemSize; y 5374 modules/core/src/matrix.cpp pt[0].y = center.y + b*size.height - a*size.width; y 5376 modules/core/src/matrix.cpp pt[1].y = center.y - b*size.height - a*size.width; y 5378 modules/core/src/matrix.cpp pt[2].y = 2*center.y - pt[0].y; y 5380 modules/core/src/matrix.cpp pt[3].y = 2*center.y - pt[1].y; y 5388 modules/core/src/matrix.cpp cvFloor(std::min(std::min(std::min(pt[0].y, pt[1].y), pt[2].y), pt[3].y)), y 5390 modules/core/src/matrix.cpp cvCeil(std::max(std::max(std::max(pt[0].y, pt[1].y), pt[2].y), pt[3].y))); y 5392 modules/core/src/matrix.cpp r.height -= r.y - 1; y 338 modules/core/src/opencl/arithm.cl dstT x = srcelem1, y = srcelem2; \ y 339 modules/core/src/opencl/arithm.cl dstT x2 = x * x, y2 = y * y; \ y 341 modules/core/src/opencl/arithm.cl dstT tmp = y >= 0 ? 0 : CV_PI * 2; \ y 343 modules/core/src/opencl/arithm.cl dstT tmp1 = y >= 0 ? CV_PI * 0.5f : CV_PI * 1.5f; \ y 344 modules/core/src/opencl/arithm.cl dstT cartToPolar = y2 <= x2 ? x * y / mad((dstT)(0.28f), y2, x2 + CV_EPSILON) + tmp : (tmp1 - x * y / mad((dstT)(0.28f), x2, y2 + CV_EPSILON)); \ y 351 modules/core/src/opencl/arithm.cl #define FROM_DEGREE y = radians(y) y 356 modules/core/src/opencl/arithm.cl dstT x = srcelem1, y = srcelem2, cosval; \ y 358 modules/core/src/opencl/arithm.cl storedst2(sincos(y, &cosval) * x); \ y 395 modules/core/src/opencl/arithm.cl #define srcelem2 (workT)(srcelem2_.x, srcelem2_.y, srcelem2_.z) y 419 modules/core/src/opencl/arithm.cl for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, dst_index += dststep) y 448 modules/core/src/opencl/arithm.cl for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, src2_index += srcstep2, y 471 modules/core/src/opencl/arithm.cl for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, dst_index += dststep) y 494 modules/core/src/opencl/arithm.cl for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, mask_index += maskstep, dst_index += dststep) y 66 modules/core/src/opencl/convert.cl for (int y = y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step, dst_index += dst_step) y 54 modules/core/src/opencl/copymakeborder.cl #define convertScalar(a) (T)(a.x, a.y, a.z) y 117 modules/core/src/opencl/copymakeborder.cl for (int y = y0, y1 = min(y0 + rowsPerWI, dst_rows); y < y1; ++y, dst_index += dst_step) y 125 modules/core/src/opencl/copymakeborder.cl for (int y = y0, y1 = min(y0 + rowsPerWI, dst_rows); y < y1; ++y, dst_index += dst_step) y 127 modules/core/src/opencl/copymakeborder.cl src_y = y - top; y 47 modules/core/src/opencl/copyset.cl int src_index = mad24(y, src_step, mad24(x, (int)sizeof(T1) * scn, src_offset)); \ y 48 modules/core/src/opencl/copyset.cl int dst_index = mad24(y, dst_step, mad24(x, (int)sizeof(T1) * scn, dst_offset)); \ y 59 modules/core/src/opencl/copyset.cl int y = get_global_id(1); y 61 modules/core/src/opencl/copyset.cl if (x < dst_cols && y < dst_rows) y 63 modules/core/src/opencl/copyset.cl mask += mad24(y, mask_step, mad24(x, mcn, mask_offset)); y 111 modules/core/src/opencl/copyset.cl #define value (dstT)(value_.x, value_.y, value_.z) y 127 modules/core/src/opencl/copyset.cl for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y) y 148 modules/core/src/opencl/copyset.cl for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, dst_index += dststep) y 25 modules/core/src/opencl/fft.cl return (CT)(fma(a.x, b.x, -a.y * b.y), fma(a.x, b.y, a.y * b.x)); y 30 modules/core/src/opencl/fft.cl return (CT)(a.y, -a.x); y 110 modules/core/src/opencl/fft.cl a4 = fft5_3 * (CT)(-a1.y - a3.y, a1.x + a3.x); y 111 modules/core/src/opencl/fft.cl b5 = (CT)(a4.x - fft5_5 * a1.y, a4.y + fft5_5 * a1.x); y 113 modules/core/src/opencl/fft.cl a4.x += fft5_4 * a3.y; y 114 modules/core/src/opencl/fft.cl a4.y -= fft5_4 * a3.x; y 349 modules/core/src/opencl/fft.cl a5 = (CT)(SQRT_2) * (CT)(a5.x + a5.y, -a5.x + a5.y); y 353 modules/core/src/opencl/fft.cl b7 = (CT)(SQRT_2) * (CT)(-b7.x + b7.y, -b7.x - b7.y); y 537 modules/core/src/opencl/fft.cl const int y = get_group_id(1); y 539 modules/core/src/opencl/fft.cl if (y < nz) y 551 modules/core/src/opencl/fft.cl __global const CT* src = (__global const CT*)(src_ptr + mad24(y, src_step, mad24(x, (int)(sizeof(CT)), src_offset))); y 556 modules/core/src/opencl/fft.cl __global const FT* src = (__global const FT*)(src_ptr + mad24(y, src_step, mad24(x, (int)sizeof(FT), src_offset))); y 573 modules/core/src/opencl/fft.cl __global CT* dst = (__global CT*)(dst_ptr + mad24(y, dst_step, dst_offset)); y 582 modules/core/src/opencl/fft.cl dst[dst_cols-i] = (CT)(SCALE_VAL(smem[i].x, scale), SCALE_VAL(-smem[i].y, scale)); y 590 modules/core/src/opencl/fft.cl __global FT* dst = (__global FT*)(dst_ptr + mad24(y, dst_step, dst_offset)); y 601 modules/core/src/opencl/fft.cl __global CT* dst = (__global CT*)(dst_ptr + mad24(y, dst_step, dst_offset)); y 603 modules/core/src/opencl/fft.cl __global FT* dst = (__global FT*)(dst_ptr + mad24(y, dst_step, dst_offset)); y 616 modules/core/src/opencl/fft.cl const int y = get_global_id(1); y 621 modules/core/src/opencl/fft.cl __global const uchar* src = src_ptr + mad24(y, src_step, mad24(x, (int)(sizeof(CT)), src_offset)); y 623 modules/core/src/opencl/fft.cl const int ind = y; y 629 modules/core/src/opencl/fft.cl smem[y+i*block_size] = *((__global const CT*)(src + i*block_size*src_step)); y 636 modules/core/src/opencl/fft.cl __global uchar* dst = dst_ptr + mad24(y, dst_step, mad24(x, (int)(sizeof(CT)), dst_offset)); y 639 modules/core/src/opencl/fft.cl *((__global CT*)(dst + i*block_size*dst_step)) = SCALE_VAL(smem[y + i*block_size], scale); y 645 modules/core/src/opencl/fft.cl __global uchar* dst = dst_ptr + mad24(y+1, dst_step, dst_offset); y 646 modules/core/src/opencl/fft.cl for (int i=y; i<dst_rows-1; i+=block_size, dst+=dst_step*block_size) y 648 modules/core/src/opencl/fft.cl if (y == 0) y 655 modules/core/src/opencl/fft.cl __global uchar* dst = dst_ptr + mad24(dst_cols-1, (int)sizeof(FT), mad24(y+1, dst_step, dst_offset)); y 656 modules/core/src/opencl/fft.cl for (int i=y; i<dst_rows-1; i+=block_size, dst+=dst_step*block_size) y 658 modules/core/src/opencl/fft.cl if (y == 0) y 663 modules/core/src/opencl/fft.cl __global uchar* dst = dst_ptr + mad24(x, (int)sizeof(FT)*2, mad24(y, dst_step, dst_offset - (int)sizeof(FT))); y 665 modules/core/src/opencl/fft.cl for (int i=y; i<dst_rows; i+=block_size, dst+=block_size*dst_step) y 677 modules/core/src/opencl/fft.cl const int y = get_group_id(1); y 685 modules/core/src/opencl/fft.cl if (y < nz) y 692 modules/core/src/opencl/fft.cl __global const CT* src = (__global const CT*)(src_ptr + mad24(y, src_step, mad24(x, (int)(sizeof(CT)), src_offset))); y 697 modules/core/src/opencl/fft.cl smem[x+i*block_size].y = -src[i*block_size].y; y 702 modules/core/src/opencl/fft.cl __global const CT* src = (__global const CT*)(src_ptr + mad24(y, src_step, mad24(2, (int)sizeof(FT), src_offset))); y 708 modules/core/src/opencl/fft.cl smem[i+1].y = -src[i].y; y 716 modules/core/src/opencl/fft.cl CT src = vload2(0, (__global const FT*)(src_ptr + mad24(y, src_step, mad24(2*i+1, (int)sizeof(FT), src_offset)))); y 719 modules/core/src/opencl/fft.cl smem[i+1].y = -src.y; y 727 modules/core/src/opencl/fft.cl smem[0].x = *(__global const FT*)(src_ptr + mad24(y, src_step, src_offset)); y 728 modules/core/src/opencl/fft.cl smem[0].y = 0.f; y 735 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE/2].x = *(__global const FT*)(src_ptr + mad24(y, src_step, mad24(LOCAL_SIZE-1, (int)sizeof(FT), src_offset))); y 737 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE/2].y = 0.f; y 748 modules/core/src/opencl/fft.cl __global CT* dst = (__global CT*)(dst_ptr + mad24(y, dst_step, mad24(x, (int)(sizeof(CT)), dst_offset))); y 753 modules/core/src/opencl/fft.cl dst[i*block_size].y = SCALE_VAL(-smem[x + i*block_size].y, scale); y 756 modules/core/src/opencl/fft.cl __global FT* dst = (__global FT*)(dst_ptr + mad24(y, dst_step, mad24(x, (int)(sizeof(FT)), dst_offset))); y 768 modules/core/src/opencl/fft.cl __global CT* dst = (__global CT*)(dst_ptr + mad24(y, dst_step, dst_offset)); y 770 modules/core/src/opencl/fft.cl __global FT* dst = (__global FT*)(dst_ptr + mad24(y, dst_step, dst_offset)); y 783 modules/core/src/opencl/fft.cl const int y = get_global_id(1); y 789 modules/core/src/opencl/fft.cl __global const uchar* src = src_ptr + mad24(y, src_step, mad24(x, (int)(sizeof(CT)), src_offset)); y 790 modules/core/src/opencl/fft.cl __global uchar* dst = dst_ptr + mad24(y, dst_step, mad24(x, (int)(sizeof(CT)), dst_offset)); y 792 modules/core/src/opencl/fft.cl const int ind = y; y 799 modules/core/src/opencl/fft.cl smem[y+i*block_size].x = temp.x; y 800 modules/core/src/opencl/fft.cl smem[y+i*block_size].y = -temp.y; y 812 modules/core/src/opencl/fft.cl res[0].x = smem[y + i*block_size].x; y 813 modules/core/src/opencl/fft.cl res[0].y = -smem[y + i*block_size].y; y 820 modules/core/src/opencl/fft.cl const int ind = y; y 830 modules/core/src/opencl/fft.cl __global const uchar* src = src_ptr + mad24(y, src_step, mad24(2*x-1, (int)sizeof(FT), src_offset)); y 835 modules/core/src/opencl/fft.cl smem[y+i*block_size].x = temp.x; y 836 modules/core/src/opencl/fft.cl smem[y+i*block_size].y = -temp.y; y 846 modules/core/src/opencl/fft.cl for (int i=y; i<(LOCAL_SIZE-1)/2; i+=block_size) y 849 modules/core/src/opencl/fft.cl smem[i+1].y = -src[(2*i+1)*step]; y 852 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE-i-1].y = src[(2*i+1)*step]; y 854 modules/core/src/opencl/fft.cl if (y==0) y 857 modules/core/src/opencl/fft.cl smem[0].y = 0.f; y 862 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE/2].y = 0.f; y 871 modules/core/src/opencl/fft.cl __global uchar* dst = dst_ptr + mad24(y, dst_step, mad24(x, (int)(sizeof(CT)), dst_offset)); y 877 modules/core/src/opencl/fft.cl res[0].x = smem[y + i*block_size].x; y 878 modules/core/src/opencl/fft.cl res[0].y = -smem[y + i*block_size].y; y 67 modules/core/src/opencl/flip.cl for (int y = y0, y1 = min(thread_rows, y0 + PIX_PER_WI_Y); y < y1; ++y) y 98 modules/core/src/opencl/flip.cl for (int y = y0, y1 = min(thread_rows, y0 + PIX_PER_WI_Y); y < y1; ++y) y 144 modules/core/src/opencl/flip.cl for (int y = y0, y1 = min(rows, y0 + PIX_PER_WI_Y); y < y1; ++y) y 19 modules/core/src/opencl/gemm.cl #define IND_A mad24(y, A_step, A_offset) y 29 modules/core/src/opencl/gemm.cl sum.x += fma(a.x, b.x, - a.y * b.y);\ y 30 modules/core/src/opencl/gemm.cl sum.y += fma(a.x, b.y, a.y * b.x);\ y 35 modules/core/src/opencl/gemm.cl sum.x += fma(a.x, b.x, - a.y * b.y);\ y 36 modules/core/src/opencl/gemm.cl sum.y += fma(a.x, b.y, a.y * b.x);\ y 37 modules/core/src/opencl/gemm.cl sum.z += fma(a.x, b.z, - a.y * b.w);\ y 38 modules/core/src/opencl/gemm.cl sum.w += fma(a.x, b.w, a.y * b.z);\ y 52 modules/core/src/opencl/gemm.cl int y = get_global_id(1); y 64 modules/core/src/opencl/gemm.cl if (x < D_cols && y < D_rows) y 82 modules/core/src/opencl/gemm.cl if (p * LOCAL_SIZE + lidx < n && y < D_rows) y 89 modules/core/src/opencl/gemm.cl if (x < D_cols && y < D_rows) y 102 modules/core/src/opencl/gemm.cl if (x < D_cols && y < D_rows) y 105 modules/core/src/opencl/gemm.cl __global WT* D = (__global WT*)(D_ptr + mad24(y, D_step, mad24(x, WTSIZE, D_offset))); y 74 modules/core/src/opencl/inrange.cl for (int y = y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y, src1_index += src1_step, dst_index += dst_step) y 88 modules/core/src/opencl/inrange.cl src2.y > src1.y || src3.y < src1.y || y 51 modules/core/src/opencl/lut.cl dst[1] = lut_l[idx.y]; \ y 78 modules/core/src/opencl/lut.cl dst[1] = lut_l[idx.y]; \ y 87 modules/core/src/opencl/lut.cl dst[1] = lut_l[idx.y]; \ y 95 modules/core/src/opencl/lut.cl dst[1] = lut_l[idx.y]; y 115 modules/core/src/opencl/lut.cl int y = get_global_id(1) << 2; y 125 modules/core/src/opencl/lut.cl if (x < cols && y < rows) y 127 modules/core/src/opencl/lut.cl int src_index = mad24(y, src_step, mad24(x, (int)sizeof(srcT) * dcn, src_offset)); y 128 modules/core/src/opencl/lut.cl int dst_index = mad24(y, dst_step, mad24(x, (int)sizeof(dstT) * dcn, dst_offset)); y 134 modules/core/src/opencl/lut.cl if (y < rows - 1) y 140 modules/core/src/opencl/lut.cl if (y < rows - 2) y 146 modules/core/src/opencl/lut.cl if (y < rows - 3) y 67 modules/core/src/opencl/mixchannels.cl for (int y = y0, y1 = min(y0 + rowsPerWI, rows); y < y1; ++y) y 48 modules/core/src/opencl/mulspectrums.cl return (float2)(mad(a.x, b.x, - a.y * b.y), mad(a.x, b.y, a.y * b.x)); y 53 modules/core/src/opencl/mulspectrums.cl return (float2)(a.x, - a.y); y 70 modules/core/src/opencl/mulspectrums.cl for (int y = y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y, y 50 modules/core/src/opencl/normalize.cl for (int y = y0, y1 = min(y0 + rowsPerWI, dst_rows); y < y1; y 51 modules/core/src/opencl/normalize.cl ++y, src_index += src_step, dst_index += dst_step, mask_index += mask_step) y 104 modules/core/src/opencl/reduce2.cl int y = get_global_id(1); y 106 modules/core/src/opencl/reduce2.cl if ((x < BUF_COLS) && (y < rows)) y 108 modules/core/src/opencl/reduce2.cl int src_index = mad24(y, src_step, mad24(x, (int)sizeof(srcT) * cn, src_offset)); y 132 modules/core/src/opencl/reduce2.cl if ((x < BUF_COLS / 2) && (y < rows)) y 141 modules/core/src/opencl/reduce2.cl if ((x == 0) && (y < rows)) y 143 modules/core/src/opencl/reduce2.cl int dst_index = mad24(y, dst_step, dst_offset); y 193 modules/core/src/opencl/reduce2.cl for (int y = 0; y < rows; ++y, src_index += src_step) y 213 modules/core/src/opencl/reduce2.cl int y = get_global_id(0); y 214 modules/core/src/opencl/reduce2.cl if (y < rows) y 216 modules/core/src/opencl/reduce2.cl int src_index = mad24(y, src_step, src_offset); y 217 modules/core/src/opencl/reduce2.cl int dst_index = mad24(y, dst_step, dst_offset); y 29 modules/core/src/opencl/repeat.cl for (int y = y0, y1 = min(src_rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step, dst_index0 += dst_step) y 53 modules/core/src/opencl/set_identity.cl #define scalar (T)(scalar_.x, scalar_.y, scalar_.z) y 68 modules/core/src/opencl/set_identity.cl for (int y = y0, i = 0, y1 = min(rows, y0 + rowsPerWI); i < rowsPerWI; ++y, ++i, src_index += src_step) y 69 modules/core/src/opencl/set_identity.cl if (y < y1) y 70 modules/core/src/opencl/set_identity.cl storepix(x == y ? scalar : (T)(0), srcptr + src_index); y 65 modules/core/src/opencl/split_merge.cl for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, dst_index += dst_step) y 93 modules/core/src/opencl/split_merge.cl for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step) y 84 modules/core/src/opencl/transpose.cl int y = mad24(groupId_y, TILE_DIM, ly); y 91 modules/core/src/opencl/transpose.cl if (x < src_cols && y < src_rows) y 93 modules/core/src/opencl/transpose.cl int index_src = mad24(y, src_step, mad24(x, TSIZE, src_offset)); y 97 modules/core/src/opencl/transpose.cl if (y + i < src_rows) y 124 modules/core/src/opencl/transpose.cl int y = get_global_id(1) * rowsPerWI; y 126 modules/core/src/opencl/transpose.cl if (x < y + rowsPerWI) y 128 modules/core/src/opencl/transpose.cl int src_index = mad24(y, src_step, mad24(x, TSIZE, src_offset)); y 129 modules/core/src/opencl/transpose.cl int dst_index = mad24(x, src_step, mad24(y, TSIZE, src_offset)); y 133 modules/core/src/opencl/transpose.cl for (int i = 0; i < rowsPerWI; ++i, ++y, src_index += src_step, dst_index += TSIZE) y 134 modules/core/src/opencl/transpose.cl if (y < src_rows && x < y) y 1448 modules/core/src/opengl.cpp wndRect.x, wndRect.y, 0.0f, y 1449 modules/core/src/opengl.cpp wndRect.x, (wndRect.y + wndRect.height), 0.0f, y 1450 modules/core/src/opengl.cpp wndRect.x + wndRect.width, (wndRect.y + wndRect.height), 0.0f, y 1451 modules/core/src/opengl.cpp wndRect.x + wndRect.width, wndRect.y, 0.0f y 1455 modules/core/src/opengl.cpp texRect.x, texRect.y, y 1456 modules/core/src/opengl.cpp texRect.x, texRect.y + texRect.height, y 1457 modules/core/src/opengl.cpp texRect.x + texRect.width, texRect.y + texRect.height, y 1458 modules/core/src/opengl.cpp texRect.x + texRect.width, texRect.y y 3506 modules/core/src/persistence.cpp int y; y 3525 modules/core/src/persistence.cpp for( y = 0; y < size.height; y++ ) y 3526 modules/core/src/persistence.cpp cvWriteRawData( fs, mat->data.ptr + (size_t)y*mat->step, size.width, dt ); y 3868 modules/core/src/persistence.cpp int y, depth; y 3907 modules/core/src/persistence.cpp for( y = 0; y < size.height; y++ ) y 3908 modules/core/src/persistence.cpp cvWriteRawData( fs, image->imageData + y*image->widthStep, size.width, dt ); y 3924 modules/core/src/persistence.cpp int y, width, height, elem_type, coi, depth; y 3955 modules/core/src/persistence.cpp roi.y = cvReadIntByName( fs, roi_node, "y", 0 ); y 3972 modules/core/src/persistence.cpp for( y = 0; y < height; y++ ) y 3975 modules/core/src/persistence.cpp image->imageData + y*image->widthStep, dt ); y 4034 modules/core/src/persistence.cpp cvWriteInt( fs, "y", point_seq->rect.y ); y 4047 modules/core/src/persistence.cpp cvWriteInt( fs, "y", chain->origin.y ); y 4299 modules/core/src/persistence.cpp point_seq->rect.y = cvReadIntByName( fs, rect_node, "y", 0 ); y 4308 modules/core/src/persistence.cpp chain->origin.y = cvReadIntByName( fs, origin_node, "y", 0 ); y 5575 modules/core/src/persistence.cpp cv::write(fs, kpt.pt.y); y 5592 modules/core/src/persistence.cpp it >> kpt.pt.x >> kpt.pt.y >> kpt.size >> kpt.angle >> kpt.response >> kpt.octave >> kpt.class_id; y 365 modules/core/src/rand.cpp float x, y; y 380 modules/core/src/rand.cpp y = (unsigned)temp*rng_flt; y 383 modules/core/src/rand.cpp y = (float)-std::log(y+FLT_MIN); y 385 modules/core/src/rand.cpp while( y + y < x*x ); y 390 modules/core/src/rand.cpp y = (unsigned)temp*rng_flt; y 392 modules/core/src/rand.cpp if( fn[iz] + y*(fn[iz - 1] - fn[iz]) < std::exp(-.5*x*x) ) y 911 modules/core/src/rand.cpp unsigned y = (state[kk] & UPPER_MASK) | (state[kk + 1] & LOWER_MASK); y 912 modules/core/src/rand.cpp state[kk] = state[kk + M] ^ (y >> 1) ^ mag01[y & 0x1U]; y 917 modules/core/src/rand.cpp unsigned y = (state[kk] & UPPER_MASK) | (state[kk + 1] & LOWER_MASK); y 918 modules/core/src/rand.cpp state[kk] = state[kk + (M - N)] ^ (y >> 1) ^ mag01[y & 0x1U]; y 921 modules/core/src/rand.cpp unsigned y = (state[N - 1] & UPPER_MASK) | (state[0] & LOWER_MASK); y 922 modules/core/src/rand.cpp state[N - 1] = state[M - 1] ^ (y >> 1) ^ mag01[y & 0x1U]; y 927 modules/core/src/rand.cpp unsigned y = state[mti++]; y 930 modules/core/src/rand.cpp y ^= (y >> 11); y 931 modules/core/src/rand.cpp y ^= (y << 7) & 0x9d2c5680U; y 932 modules/core/src/rand.cpp y ^= (y << 15) & 0xefc60000U; y 933 modules/core/src/rand.cpp y ^= (y >> 18); y 935 modules/core/src/rand.cpp return y; y 2231 modules/core/src/stat.cpp if( !minp.x && !minp.y && !maxp.x && !maxp.y && !mask.ptr()[0] ) y 2235 modules/core/src/stat.cpp size_t minidx = minp.y * cols + minp.x + 1; y 2240 modules/core/src/stat.cpp size_t maxidx = maxp.y * cols + maxp.x + 1; y 2276 modules/core/src/stat.cpp size_t minidx = minp.y * cols + minp.x + 1; y 2281 modules/core/src/stat.cpp size_t maxidx = maxp.y * cols + maxp.x + 1; y 2342 modules/core/src/stat.cpp std::swap(minLoc->x, minLoc->y); y 2344 modules/core/src/stat.cpp std::swap(maxLoc->x, maxLoc->y); y 54 modules/core/src/types.cpp u.f = pt.y; _Val = (scale * _Val) ^ u.u; y 354 modules/core/src/umatrix.cpp allocator(m.allocator), usageFlags(m.usageFlags), u(m.u), offset(m.offset + roi.y*m.step[0]), size(&rows) y 363 modules/core/src/umatrix.cpp 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows ); y 445 modules/core/src/umatrix.cpp ofs.x = ofs.y = 0; y 448 modules/core/src/umatrix.cpp ofs.y = (int)(delta1/step[0]); y 449 modules/core/src/umatrix.cpp ofs.x = (int)((delta1 - step[0]*ofs.y)/esz); y 450 modules/core/src/umatrix.cpp CV_DbgAssert( offset == (size_t)(ofs.y*step[0] + ofs.x*esz) ); y 454 modules/core/src/umatrix.cpp wholeSize.height = std::max(wholeSize.height, ofs.y + rows); y 466 modules/core/src/umatrix.cpp int row1 = std::max(ofs.y - dtop, 0), row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); y 468 modules/core/src/umatrix.cpp offset += (row1 - ofs.y)*step + (col1 - ofs.x)*esz; y 1660 modules/core/test/ocl/test_arithm.cpp for (int y = 0; y < roiSize.height; ++y) y 1662 modules/core/test/ocl/test_arithm.cpp float * const ptr = src_roi.ptr<float>(y); y 1075 modules/core/test/test_arithm.cpp Mat mag, angle, x, y; y 1078 modules/core/test/test_arithm.cpp cv::polarToCart(mag, angle, x, y, angleInDegrees); y 1080 modules/core/test/test_arithm.cpp Mat msrc[] = {mag, angle, x, y}; y 399 modules/core/test/test_io.cpp const UserDefinedType &y) { y 400 modules/core/test/test_io.cpp return (x.a == y.a) && (x.b == y.b); y 379 modules/core/test/test_mat.cpp mval, mloc.y, mloc.x, rPCA.eigenvectors.at<float>(mloc.y, mloc.x), y 380 modules/core/test/test_mat.cpp subEvec.at<float>(mloc.y, mloc.x)); y 657 modules/core/test/test_mat.cpp pixel.y = idx[1]; y 715 modules/core/test/test_mat.cpp if (pixel.x != i0 || pixel.y != i1 || pixel.z != i2) { y 718 modules/core/test/test_mat.cpp "First error detected at (%d, %d, %d).\n", pixel.x, pixel.y, pixel.z); y 724 modules/core/test/test_mat.cpp total += pixel.y; y 944 modules/core/test/test_mat.cpp for(int y = 0; y < m.rows; y++) y 948 modules/core/test/test_mat.cpp const ElemType* mElem = &m.at<ElemType>(y,x*mChannels); y 953 modules/core/test/test_mat.cpp const ElemType* mvElem = &mv[i].at<ElemType>(y,x*(int)mvChannel); y 2365 modules/core/test/test_math.cpp y(axisCount + 1, dim, CV_32FC1); y 2370 modules/core/test/test_math.cpp y.row(0).setTo(Scalar(0)); y 2374 modules/core/test/test_math.cpp y.row(1).setTo(Scalar(0)); y 2378 modules/core/test/test_math.cpp y.row(2).setTo(Scalar(scale)); y 2382 modules/core/test/test_math.cpp y.row(3).setTo(Scalar(scale)); y 2386 modules/core/test/test_math.cpp y.row(4).setTo(Scalar(scale)); y 2390 modules/core/test/test_math.cpp y.row(5).setTo(Scalar(0)); y 2394 modules/core/test/test_math.cpp y.row(6).setTo(Scalar(-scale)); y 2398 modules/core/test/test_math.cpp y.row(7).setTo(Scalar(-scale)); y 2402 modules/core/test/test_math.cpp y.row(8).setTo(Scalar(-scale)); y 2406 modules/core/test/test_math.cpp phase(x, y, resInRad, false); y 2407 modules/core/test/test_math.cpp phase(x, y, resInDeg, true); y 2496 modules/core/test/test_math.cpp ASSERT_EQ(bad_pt.y, 1); y 2511 modules/core/test/test_math.cpp ASSERT_EQ(bad_pt.y, 0); y 2526 modules/core/test/test_math.cpp ASSERT_EQ(bad_pt.y, 0); y 118 modules/core/test/test_operations.cpp for( int y = 0; y < sz.height; y++ ) y 121 modules/core/test/test_operations.cpp m(y,x) = value; y 861 modules/core/test/test_operations.cpp Vec3f res2 = mat*Vec3f(res.x, res.y, res.z); y 864 modules/core/test/test_operations.cpp if(res.y != 5.0) throw test_excep(); y 80 modules/core/test/test_rotatedrect.cpp c = Point2f( (float) ((double) b.x + d * perp[0]), (float) ((double) b.y + d * perp[1]) ); y 135 modules/core/test/test_umat.cpp roi.y &= ~align_mask; y 420 modules/core/test/test_umat.cpp roi_shift_y = std::max(0, roi.y-adjTop); y 714 modules/core/test/test_umat.cpp for (int y = 0; y < m.rows; ++y) y 716 modules/core/test/test_umat.cpp uchar * const ptr = m.ptr<uchar>(y); y 718 modules/core/test/test_umat.cpp ptr[x] = (uchar)(x + y * 2); y 375 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void magnitude(InputArray x, InputArray y, OutputArray magnitude, Stream& stream = Stream::Null()); y 385 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void magnitudeSqr(InputArray x, InputArray y, OutputArray magnitude, Stream& stream = Stream::Null()); y 397 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void phase(InputArray x, InputArray y, OutputArray angle, bool angleInDegrees = false, Stream& stream = Stream::Null()); y 410 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void cartToPolar(InputArray x, InputArray y, OutputArray magnitude, OutputArray angle, bool angleInDegrees = false, Stream& stream = Stream::Null()); y 421 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void polarToCart(InputArray magnitude, InputArray angle, OutputArray x, OutputArray y, bool angleInDegrees = false, Stream& stream = Stream::Null()); y 1442 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat y; y 1444 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::polarToCart(d_magnitude, d_angle, x, y, angleInDegrees); y 1447 modules/cudaarithm/perf/perf_element_operations.cpp CUDA_SANITY_CHECK(y); y 1452 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat y; y 1454 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::polarToCart(magnitude, angle, x, y, angleInDegrees); y 1457 modules/cudaarithm/perf/perf_element_operations.cpp CPU_SANITY_CHECK(y); y 499 modules/cudaarithm/src/arithm.cpp for (int y = 0; y < result.rows; y += block_size.height) y 504 modules/cudaarithm/src/arithm.cpp std::min(y + dft_size.height, image.rows) - y); y 505 modules/cudaarithm/src/arithm.cpp GpuMat image_roi(image_roi_size, CV_32F, (void*)(image.ptr<float>(y) + x), y 518 modules/cudaarithm/src/arithm.cpp std::min(y + block_size.height, result.rows) - y); y 520 modules/cudaarithm/src/arithm.cpp (void*)(result.ptr<float>(y) + x), result.step); y 203 modules/cudaarithm/src/reductions.cpp nppRect.y = rect.y; y 779 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < h_dst.rows; ++y) y 781 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4b* mat1_row = mat1.ptr<cv::Vec4b>(y); y 782 modules/cudaarithm/test/test_element_operations.cpp const float* mat2_row = mat2.ptr<float>(y); y 783 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4b* dst_row = h_dst.ptr<cv::Vec4b>(y); y 816 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < h_dst.rows; ++y) y 818 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4s* mat1_row = mat1.ptr<cv::Vec4s>(y); y 819 modules/cudaarithm/test/test_element_operations.cpp const float* mat2_row = mat2.ptr<float>(y); y 820 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4s* dst_row = h_dst.ptr<cv::Vec4s>(y); y 1146 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < h_dst.rows; ++y) y 1148 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4b* mat1_row = mat1.ptr<cv::Vec4b>(y); y 1149 modules/cudaarithm/test/test_element_operations.cpp const float* mat2_row = mat2.ptr<float>(y); y 1150 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4b* dst_row = h_dst.ptr<cv::Vec4b>(y); y 1183 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < h_dst.rows; ++y) y 1185 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4s* mat1_row = mat1.ptr<cv::Vec4s>(y); y 1186 modules/cudaarithm/test/test_element_operations.cpp const float* mat2_row = mat2.ptr<float>(y); y 1187 modules/cudaarithm/test/test_element_operations.cpp const cv::Vec4s* dst_row = h_dst.ptr<cv::Vec4s>(y); y 1562 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) y 1565 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = static_cast<T>(std::sqrt(static_cast<float>(src.at<T>(y, x)))); y 1632 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) y 1635 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = static_cast<T>(std::log(static_cast<float>(src.at<T>(y, x)))); y 1702 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) y 1705 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = cv::saturate_cast<T>(static_cast<int>(std::exp(static_cast<float>(src.at<T>(y, x))))); y 1712 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) y 1715 modules/cudaarithm/test/test_element_operations.cpp dst.at<float>(y, x) = std::exp(static_cast<float>(src.at<float>(y, x))); y 1908 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) y 1914 modules/cudaarithm/test/test_element_operations.cpp T src_val = src.at<T>(y, x * cn + c); y 1916 modules/cudaarithm/test/test_element_operations.cpp dst.at<uchar>(y, x * cn + c) = static_cast<uchar>(static_cast<int>(op(src_val, sc_val)) * 255); y 2153 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) y 2158 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x * cn + c) = src.at<T>(y, x * cn + c) >> val.val[c]; y 2233 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) y 2238 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x * cn + c) = src.at<T>(y, x * cn + c) << val.val[c]; y 2630 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); y 2633 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::magnitude(loadMat(x, useRoi), loadMat(y, useRoi), dst); y 2636 modules/cudaarithm/test/test_element_operations.cpp cv::magnitude(x, y, dst_gold); y 2644 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); y 2647 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::magnitudeSqr(loadMat(x, useRoi), loadMat(y, useRoi), dst); y 2650 modules/cudaarithm/test/test_element_operations.cpp cv::magnitude(x, y, dst_gold); y 2690 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); y 2693 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::phase(loadMat(x, useRoi), loadMat(y, useRoi), dst, angleInDegrees); y 2696 modules/cudaarithm/test/test_element_operations.cpp cv::phase(x, y, dst_gold, angleInDegrees); y 2731 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); y 2735 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::cartToPolar(loadMat(x, useRoi), loadMat(y, useRoi), mag, angle, angleInDegrees); y 2739 modules/cudaarithm/test/test_element_operations.cpp cv::cartToPolar(x, y, mag_gold, angle_gold, angleInDegrees); y 2778 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat y = createMat(size, CV_32FC1, useRoi); y 2779 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::polarToCart(loadMat(magnitude, useRoi), loadMat(angle, useRoi), x, y, angleInDegrees); y 2786 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(y_gold, y, 1e-4); y 188 modules/cudaarithm/test/test_reductions.cpp for (int y = 0; y < src.rows; ++y) y 193 modules/cudaarithm/test/test_reductions.cpp sum[c] += std::abs(src.at<T>(y, x * cn + c)); y 225 modules/cudaarithm/test/test_reductions.cpp for (int y = 0; y < src.rows; ++y) y 231 modules/cudaarithm/test/test_reductions.cpp const T val = src.at<T>(y, x * cn + c); y 515 modules/cudaarithm/test/test_reductions.cpp EXPECT_EQ(src.at<T>(loc_gold.y, loc_gold.x), src.at<T>(loc.y, loc.x)); y 196 modules/cudafeatures2d/src/fast.cpp KeyPoint kp(loc_row[i].x, loc_row[i].y, static_cast<float>(FEATURE_SIZE), -1, response_row[i]); y 69 modules/cudafeatures2d/src/orb.cpp void mergeLocation_gpu(const short2* loc, float* x, float* y, int npoints, float scale, cudaStream_t stream); y 452 modules/cudafeatures2d/src/orb.cpp if (pattern_x_ptr[tupleSize * i + k1] == pt.x && pattern_y_ptr[tupleSize * i + k1] == pt.y) y 458 modules/cudafeatures2d/src/orb.cpp pattern_y_ptr[tupleSize * i + k] = pt.y; y 475 modules/cudafeatures2d/src/orb.cpp pattern[i].y = rng.uniform(-patchSize / 2, patchSize / 2 + 1); y 559 modules/cudafeatures2d/src/orb.cpp pattern_y_ptr[i] = pattern0[i].y; y 843 modules/cudafeatures2d/src/orb.cpp kp.pt.y = y_ptr[i]; y 83 modules/cudafilters/src/cuda/column_filter.hpp const int yStart = blockIdx.y * (BLOCK_DIM_Y * PATCH_PER_BLOCK) + threadIdx.y; y 85 modules/cudafilters/src/cuda/column_filter.hpp if (blockIdx.y > 0) y 90 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(src(yStart - (HALO_SIZE - j) * BLOCK_DIM_Y, x)); y 97 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(brd.at_low(yStart - (HALO_SIZE - j) * BLOCK_DIM_Y, src_col, src.step)); y 100 modules/cudafilters/src/cuda/column_filter.hpp if (blockIdx.y + 2 < gridDim.y) y 105 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + HALO_SIZE * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(src(yStart + j * BLOCK_DIM_Y, x)); y 110 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + (PATCH_PER_BLOCK + HALO_SIZE) * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(src(yStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_Y, x)); y 117 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + HALO_SIZE * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(brd.at_high(yStart + j * BLOCK_DIM_Y, src_col, src.step)); y 122 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + (PATCH_PER_BLOCK + HALO_SIZE) * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(brd.at_high(yStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_Y, src_col, src.step)); y 130 modules/cudafilters/src/cuda/column_filter.hpp const int y = yStart + j * BLOCK_DIM_Y; y 132 modules/cudafilters/src/cuda/column_filter.hpp if (y < src.rows) y 138 modules/cudafilters/src/cuda/column_filter.hpp sum = sum + smem[threadIdx.y + HALO_SIZE * BLOCK_DIM_Y + j * BLOCK_DIM_Y - anchor + k][threadIdx.x] * c_kernel[k]; y 140 modules/cudafilters/src/cuda/column_filter.hpp dst(y, x) = saturate_cast<D>(sum); y 76 modules/cudafilters/src/cuda/row_filter.hpp const int y = blockIdx.y * BLOCK_DIM_Y + threadIdx.y; y 78 modules/cudafilters/src/cuda/row_filter.hpp if (y >= src.rows) y 81 modules/cudafilters/src/cuda/row_filter.hpp const T* src_row = src.ptr(y); y 90 modules/cudafilters/src/cuda/row_filter.hpp smem[threadIdx.y][threadIdx.x + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart - (HALO_SIZE - j) * BLOCK_DIM_X]); y 97 modules/cudafilters/src/cuda/row_filter.hpp smem[threadIdx.y][threadIdx.x + j * BLOCK_DIM_X] = saturate_cast<sum_t>(brd.at_low(xStart - (HALO_SIZE - j) * BLOCK_DIM_X, src_row)); y 105 modules/cudafilters/src/cuda/row_filter.hpp smem[threadIdx.y][threadIdx.x + HALO_SIZE * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart + j * BLOCK_DIM_X]); y 110 modules/cudafilters/src/cuda/row_filter.hpp smem[threadIdx.y][threadIdx.x + (PATCH_PER_BLOCK + HALO_SIZE) * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_X]); y 117 modules/cudafilters/src/cuda/row_filter.hpp smem[threadIdx.y][threadIdx.x + HALO_SIZE * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(brd.at_high(xStart + j * BLOCK_DIM_X, src_row)); y 122 modules/cudafilters/src/cuda/row_filter.hpp smem[threadIdx.y][threadIdx.x + (PATCH_PER_BLOCK + HALO_SIZE) * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(brd.at_high(xStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_X, src_row)); y 138 modules/cudafilters/src/cuda/row_filter.hpp sum = sum + smem[threadIdx.y][threadIdx.x + HALO_SIZE * BLOCK_DIM_X + j * BLOCK_DIM_X - anchor + k] * c_kernel[k]; y 140 modules/cudafilters/src/cuda/row_filter.hpp dst(y, x) = saturate_cast<D>(sum); y 87 modules/cudafilters/src/filtering.cpp normalizeAnchor(anchor.y, ksize.height); y 154 modules/cudafilters/src/filtering.cpp oAnchor.y = anchor_.y; y 267 modules/cudafilters/src/filtering.cpp func_(srcWhole, ofs.x, ofs.y, dst, kernel_.ptr<float>(), y 268 modules/cudafilters/src/filtering.cpp kernel_.cols, kernel_.rows, anchor_.x, anchor_.y, y 390 modules/cudafilters/src/filtering.cpp normalizeAnchor(anchor_.y, columnKernel_.cols); y 417 modules/cudafilters/src/filtering.cpp columnFilter_(buf_, dst, columnKernel_.ptr<float>(), columnKernel_.cols, anchor_.y, columnBorderMode_, cc, stream); y 547 modules/cudafilters/src/filtering.cpp anchor_ = Point(anchor_.x * iters_, anchor_.y * iters_); y 600 modules/cudafilters/src/filtering.cpp oAnchor.y = anchor_.y; y 853 modules/cudafilters/src/filtering.cpp oAnchor.y = anchor_.y; y 305 modules/cudaimgproc/perf/perf_hough.cpp pos.y = rng.uniform(0, image.rows - obj.rows); y 153 modules/cudaimgproc/src/canny.cpp canny::calcMagnitude(srcWhole, ofs.x, ofs.y, dx_, dy_, mag_, L2gradient_, StreamAccessor::getStream(stream)); y 2150 modules/cudaimgproc/src/color.cpp cv::cuda::device::MHCdemosaic<3>(srcWhole, make_int2(ofs.x, ofs.y), dst, firstRed, StreamAccessor::getStream(stream)); y 2152 modules/cudaimgproc/src/color.cpp cv::cuda::device::MHCdemosaic<4>(srcWhole, make_int2(ofs.x, ofs.y), dst, firstRed, StreamAccessor::getStream(stream)); y 2177 modules/cudaimgproc/src/color.cpp cv::cuda::device::MHCdemosaic<1>(srcWhole, make_int2(ofs.x, ofs.y), dst, firstRed, StreamAccessor::getStream(stream)); y 371 modules/cudaimgproc/src/generalized_hough.cpp Point2f p(oldPosBuf_[ind].x, oldPosBuf_[ind].y); y 376 modules/cudaimgproc/src/generalized_hough.cpp const int yCell = static_cast<int>(p.y / cellSize); y 510 modules/cudaimgproc/src/generalized_hough.cpp r_table_, r_sizes_.ptr<int>(), make_short2(templCenter_.x, templCenter_.y), levels_); y 835 modules/cudaimgproc/src/generalized_hough.cpp features.sizes.ptr<int>(), maxBufferSize_, (float)xi_, (float)angleEpsilon_, levels_, make_float2((float)center.x, (float)center.y), (float)maxDist); y 154 modules/cudaimgproc/src/gftt.cpp int y_cell = static_cast<int>(p.y / cell_size); y 178 modules/cudaimgproc/src/gftt.cpp float dy = p.y - m[j].y; y 234 modules/cudaimgproc/src/hough_circles.cpp temp[1] = oldBuf[i].y; y 244 modules/cudaimgproc/src/hough_circles.cpp p.y = sortBuf[i][1]; y 249 modules/cudaimgproc/src/hough_circles.cpp int yCell = static_cast<int>(p.y / cellSize); y 271 modules/cudaimgproc/src/hough_circles.cpp float dy = (float)(p.y - m[j].y); y 199 modules/cudaimgproc/src/mssegmentation.cpp inline int pix(int y, int x, int ncols) y 201 modules/cudaimgproc/src/mssegmentation.cpp return y * ncols + x; y 255 modules/cudaimgproc/src/mssegmentation.cpp for (int y = 0; y < nrows - 1; ++y) y 257 modules/cudaimgproc/src/mssegmentation.cpp Vec4b* ry = rmap.ptr<Vec4b>(y); y 258 modules/cudaimgproc/src/mssegmentation.cpp Vec4b* ryp = rmap.ptr<Vec4b>(y + 1); y 259 modules/cudaimgproc/src/mssegmentation.cpp Vec2s* spy = spmap.ptr<Vec2s>(y); y 260 modules/cudaimgproc/src/mssegmentation.cpp Vec2s* spyp = spmap.ptr<Vec2s>(y + 1); y 289 modules/cudaimgproc/src/mssegmentation.cpp g.addEdge(pix(y, x, ncols), pix(y, x + 1, ncols), SegmLinkVal(dr[0], dsp[0])); y 290 modules/cudaimgproc/src/mssegmentation.cpp g.addEdge(pix(y, x, ncols), pix(y + 1, x, ncols), SegmLinkVal(dr[1], dsp[1])); y 291 modules/cudaimgproc/src/mssegmentation.cpp g.addEdge(pix(y, x, ncols), pix(y + 1, x + 1, ncols), SegmLinkVal(dr[2], dsp[2])); y 292 modules/cudaimgproc/src/mssegmentation.cpp g.addEdge(pix(y, x + 1, ncols), pix(y + 1, x, ncols), SegmLinkVal(dr[3], dsp[3])); y 295 modules/cudaimgproc/src/mssegmentation.cpp for (int y = 0; y < nrows - 1; ++y) y 297 modules/cudaimgproc/src/mssegmentation.cpp r1 = rmap.at<Vec4b>(y, ncols - 1); y 298 modules/cudaimgproc/src/mssegmentation.cpp r2[0] = rmap.at<Vec4b>(y + 1, ncols - 1); y 299 modules/cudaimgproc/src/mssegmentation.cpp sp1 = spmap.at<Vec2s>(y, ncols - 1); y 300 modules/cudaimgproc/src/mssegmentation.cpp sp2[0] = spmap.at<Vec2s>(y + 1, ncols - 1); y 303 modules/cudaimgproc/src/mssegmentation.cpp g.addEdge(pix(y, ncols - 1, ncols), pix(y + 1, ncols - 1, ncols), SegmLinkVal(dr[0], dsp[0])); y 360 modules/cudaimgproc/src/mssegmentation.cpp for (int y = 0; y < nrows; ++y) y 362 modules/cudaimgproc/src/mssegmentation.cpp Vec4b* h_srcy = h_src.ptr<Vec4b>(y); y 365 modules/cudaimgproc/src/mssegmentation.cpp int parent = comps.find(pix(y, x, ncols)); y 378 modules/cudaimgproc/src/mssegmentation.cpp for (int y = 0; y < nrows; ++y) y 380 modules/cudaimgproc/src/mssegmentation.cpp Vec4b* dsty = dst.ptr<Vec4b>(y); y 383 modules/cudaimgproc/src/mssegmentation.cpp int parent = comps.find(pix(y, x, ncols)); y 61 modules/cudaimgproc/test/test_blend.cpp for (int y = 0; y < img1.rows; ++y) y 63 modules/cudaimgproc/test/test_blend.cpp const float* weights1_row = weights1.ptr<float>(y); y 64 modules/cudaimgproc/test/test_blend.cpp const float* weights2_row = weights2.ptr<float>(y); y 65 modules/cudaimgproc/test/test_blend.cpp const T* img1_row = img1.ptr<T>(y); y 66 modules/cudaimgproc/test/test_blend.cpp const T* img2_row = img2.ptr<T>(y); y 67 modules/cudaimgproc/test/test_blend.cpp T* result_gold_row = result_gold.ptr<T>(y); y 2312 modules/cudaimgproc/test/test_color.cpp for (int y = 0; y < src.rows; ++y) y 2316 modules/cudaimgproc/test/test_color.cpp cv::Vec3b pix = src(y, x); y 2320 modules/cudaimgproc/test/test_color.cpp alternate.y = (y + firstRed.y) % 2; y 2322 modules/cudaimgproc/test/test_color.cpp if (alternate.y == 0) y 2328 modules/cudaimgproc/test/test_color.cpp dst(y, x) = pix[2]; y 2334 modules/cudaimgproc/test/test_color.cpp dst(y, x) = pix[1]; y 2343 modules/cudaimgproc/test/test_color.cpp dst(y, x) = pix[1]; y 2349 modules/cudaimgproc/test/test_color.cpp dst(y, x) = pix[0]; y 101 modules/cudaimgproc/test/test_gftt.cpp bool eq = std::abs(a.x - b.x) < 1 && std::abs(a.y - b.y) < 1; y 75 modules/cudaimgproc/test/test_hough.cpp pt1.y = cvRound(y0 + 1000*(a)); y 77 modules/cudaimgproc/test/test_hough.cpp pt2.y = cvRound(y0 - 1000*(a)); y 209 modules/cudaimgproc/test/test_hough.cpp pos_gold[0] = cv::Point(templCenter.x + 10, templCenter.y + 10); y 210 modules/cudaimgproc/test/test_hough.cpp pos_gold[1] = cv::Point(2 * templCenter.x + 40, templCenter.y + 10); y 211 modules/cudaimgproc/test/test_hough.cpp pos_gold[2] = cv::Point(2 * templCenter.x + 40, 2 * templCenter.y + 40); y 216 modules/cudaimgproc/test/test_hough.cpp cv::Rect rec(pos_gold[i].x - templCenter.x, pos_gold[i].y - templCenter.y, templ.cols, templ.rows); y 244 modules/cudaimgproc/test/test_hough.cpp if (::fabs(p.x - gold.x) < 2 && ::fabs(p.y - gold.y) < 2) y 96 modules/cudaimgproc/test/test_match_template.cpp for (int y = 0; y < h_dst.rows; ++y) y 100 modules/cudaimgproc/test/test_match_template.cpp float gold_val = dst_gold.at<float>(y, x); y 101 modules/cudaimgproc/test/test_match_template.cpp float actual_val = dst_gold.at<float>(y, x); y 102 modules/cudaimgproc/test/test_match_template.cpp ASSERT_FLOAT_EQ(gold_val, actual_val) << y << ", " << x; y 155 modules/cudaimgproc/test/test_match_template.cpp for (int y = 0; y < h_dst.rows; ++y) y 159 modules/cudaimgproc/test/test_match_template.cpp float gold_val = dst_gold.at<float>(y, x); y 160 modules/cudaimgproc/test/test_match_template.cpp float actual_val = dst_gold.at<float>(y, x); y 161 modules/cudaimgproc/test/test_match_template.cpp ASSERT_FLOAT_EQ(gold_val, actual_val) << y << ", " << x; y 310 modules/cudaimgproc/test/test_match_template.cpp ASSERT_EQ(0, minLoc.y); y 334 modules/cudaimgproc/test/test_match_template.cpp ASSERT_EQ(0, minLoc.y); y 140 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp Ncv8u y; y 143 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvRect8u() : x(0), y(0), width(0), height(0) {}; y 144 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvRect8u(Ncv8u x_, Ncv8u y_, Ncv8u width_, Ncv8u height_) : x(x_), y(y_), width(width_), height(height_) {} y 151 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp Ncv32s y; ///< y-coordinate of upper left corner. y 154 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvRect32s() : x(0), y(0), width(0), height(0) {}; y 156 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp : x(x_), y(y_), width(width_), height(height_) {} y 163 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp Ncv32u y; ///< y-coordinate of upper left corner. y 166 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp __host__ __device__ NcvRect32u() : x(0), y(0), width(0), height(0) {}; y 168 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp : x(x_), y(y_), width(width_), height(height_) {} y 194 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp Ncv32s y; ///< Point Y. y 203 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp Ncv32u y; ///< Point Y. y 812 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp T& at(Ncv32u x, Ncv32u y) const y 814 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp NcvBool bOutRange = (x >= this->_width || y >= this->_height); y 820 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp return ((T *)((Ncv8u *)this->_ptr + y * this->_pitch))[x]; y 966 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(roi.x < mat.width() && roi.y < mat.height() && \ y 967 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp roi.x + roi.width <= mat.width() && roi.y + roi.height <= mat.height(), y 973 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp this->_ptr = &mat.at(roi.x, roi.y); y 88 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp ((NcvRect8u*)&(this->_ui2.x))->y = (Ncv8u)rectY; y 96 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp ((Ncv32f_a*)&(this->_ui2.y))[0] = weight; y 104 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp *rectY = tmpRect.y; y 111 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp return *(Ncv32f_a*)(&this->_ui2.y); y 229 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp this->_ui4.y = *(Ncv32u_a *)&t; y 252 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp return *(Ncv32f_a*)&this->_ui4.y; y 287 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp this->_ui2.y = (val << HaarStage64_Interpret_ShiftRootNodeOffset) | (this->_ui2.y & HaarStage64_Interpret_MaskRootNodes); y 297 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp this->_ui2.y = val | (this->_ui2.y & HaarStage64_Interpret_MaskRootNodeOffset); y 308 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp return (this->_ui2.y >> HaarStage64_Interpret_ShiftRootNodeOffset); y 313 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp return (this->_ui2.y & HaarStage64_Interpret_MaskRootNodes); y 56 modules/cudalegacy/perf/perf_labeling.cpp int y; y 60 modules/cudalegacy/perf/perf_labeling.cpp dot d; d.x = i; d.y = j; y 113 modules/cudalegacy/perf/perf_labeling.cpp int* dl = &dist_labels[p.y * pitch + p.x]; y 114 modules/cudalegacy/perf/perf_labeling.cpp unsigned char* sp = &source[p.y * image.step1() + p.x]; y 120 modules/cudalegacy/perf/perf_labeling.cpp *top++ = dot::make(p.x + 1, p.y); y 124 modules/cudalegacy/perf/perf_labeling.cpp *top++ = dot::make(p.x - 1, p.y); y 127 modules/cudalegacy/perf/perf_labeling.cpp if( p.y < (height - 1) && dl[+pitch] == -1 && inInt(sp[0], sp[+image.step1()])) y 128 modules/cudalegacy/perf/perf_labeling.cpp *top++ = dot::make(p.x, p.y + 1); y 131 modules/cudalegacy/perf/perf_labeling.cpp if( p.y > 0 && dl[-pitch] == -1 && inInt(sp[0], sp[-static_cast<int>(image.step1())])) y 132 modules/cudalegacy/perf/perf_labeling.cpp *top++ = dot::make(p.x, p.y - 1); y 726 modules/cudalegacy/src/NCV.cpp cv::Rect operator()(const NcvRect32u& nr) const { return cv::Rect(nr.x, nr.y, nr.width, nr.height); } y 731 modules/cudalegacy/src/NCV.cpp rect.y = nr.y; y 835 modules/cudalegacy/src/NCV.cpp for (Ncv32u each=rect.y; each<rect.y+rect.height && each<dstHeight; each++) y 842 modules/cudalegacy/src/NCV.cpp for (Ncv32u each=rect.y; each<rect.y+rect.height && each<dstHeight; each++) y 847 modules/cudalegacy/src/NCV.cpp if (rect.y < dstHeight) y 851 modules/cudalegacy/src/NCV.cpp h_dst[rect.y*dstStride+j] = color; y 854 modules/cudalegacy/src/NCV.cpp if (rect.y + rect.height - 1 < dstHeight) y 858 modules/cudalegacy/src/NCV.cpp h_dst[(rect.y+rect.height-1)*dstStride+j] = color; y 90 modules/cudalegacy/src/bm.cpp int x = -i - 1, y = x; y 96 modules/cudalegacy/src/bm.cpp ss[ssCount].y = (short) y; y 103 modules/cudalegacy/src/bm.cpp ss[ssCount].y = (short) ++y; y 110 modules/cudalegacy/src/bm.cpp ss[ssCount].y = (short) y; y 117 modules/cudalegacy/src/bm.cpp ss[ssCount].y = (short) --y; y 130 modules/cudalegacy/src/bm.cpp int y = -(i + 1); y 137 modules/cudalegacy/src/bm.cpp ss[ssCount].y = (short) y; y 141 modules/cudalegacy/src/bm.cpp y = -y; y 147 modules/cudalegacy/src/bm.cpp ss[ssCount].y = (short) y; y 160 modules/cudalegacy/src/bm.cpp int y = yupper; y 163 modules/cudalegacy/src/bm.cpp for (int j = -maxRange.height; j <= maxRange.height; ++j, ++ssCount, ++y) y 166 modules/cudalegacy/src/bm.cpp ss[ssCount].y = (short) y; y 169 modules/cudalegacy/src/bm.cpp y = yupper; y 173 modules/cudalegacy/src/bm.cpp for (int j = -maxRange.height; j <= maxRange.height; ++j, ++ssCount, ++y) y 176 modules/cudalegacy/src/bm.cpp ss[ssCount].y = (short) y; y 281 modules/cudalegacy/src/calib3d.cpp p_transf.x = rot[0] * p.x + rot[1] * p.y + rot[2] * p.z + transl[0]; y 282 modules/cudalegacy/src/calib3d.cpp p_transf.y = rot[3] * p.x + rot[4] * p.y + rot[5] * p.z + transl[1]; y 283 modules/cudalegacy/src/calib3d.cpp p_transf.z = rot[6] * p.x + rot[7] * p.y + rot[8] * p.z + transl[2]; y 285 modules/cudalegacy/src/calib3d.cpp p_proj.y = p_transf.y / p_transf.z; y 64 modules/cudalegacy/src/cuda/NCVColorConversion.hpp Ncv32f luma = 0.299f * pixIn.x + 0.587f * pixIn.y + 0.114f * pixIn.z; y 72 modules/cudalegacy/src/cuda/NCVColorConversion.hpp _TDemoteClampNN(pixIn.x, pixOut.y); y 136 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static inline __host__ __device__ uchar3 _pixMake(Ncv8u x, Ncv8u y, Ncv8u z) {return make_uchar3(x,y,z);} y 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);} y 139 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static inline __host__ __device__ ushort3 _pixMake(Ncv16u x, Ncv16u y, Ncv16u z) {return make_ushort3(x,y,z);} y 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);} y 142 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static inline __host__ __device__ uint3 _pixMake(Ncv32u x, Ncv32u y, Ncv32u z) {return make_uint3(x,y,z);} y 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);} y 145 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static inline __host__ __device__ float3 _pixMake(Ncv32f x, Ncv32f y, Ncv32f z) {return make_float3(x,y,z);} y 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);} y 148 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp static inline __host__ __device__ double3 _pixMake(Ncv64f x, Ncv64f y, Ncv64f z) {return make_double3(x,y,z);} y 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);} y 167 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp _TDemoteClampZ(pix.y, out.y); y 177 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp _TDemoteClampZ(pix.y, out.y); y 204 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp _TDemoteClampNN(pix.y, out.y); y 214 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp _TDemoteClampNN(pix.y, out.y); y 243 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.y = (TBout)(pix.y * w); y 254 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.y = (TBout)(pix.y * w); y 281 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.y = pix1.y + pix2.y; y 291 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp out.y = pix1.y + pix2.y; y 314 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp return Tout(SQR(pix1.x - pix2.x) + SQR(pix1.y - pix2.y) + SQR(pix1.z - pix2.z)); y 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)); y 113 modules/cudalegacy/test/TestDrawRects.cpp h_rects.ptr()[i].y = (Ncv32u)(((1.0 * h_rects.ptr()[i].y) / RAND_MAX) * (this->height-2)); y 115 modules/cudalegacy/test/TestDrawRects.cpp h_rects.ptr()[i].height = (Ncv32u)(((1.0 * h_rects.ptr()[i].height) / RAND_MAX) * (this->height+10 - h_rects.ptr()[i].y)); y 79 modules/cudalegacy/test/TestHypothesesFilter.cpp std::abs((Ncv32s)r1.y - (Ncv32s)r2.y) <= delta && y 81 modules/cudalegacy/test/TestHypothesesFilter.cpp std::abs((Ncv32s)r1.y + (Ncv32s)r1.height - (Ncv32s)r2.y - (Ncv32s)r2.height) <= delta; y 116 modules/cudalegacy/test/TestHypothesesFilter.cpp h_vecDst_groundTruth.ptr()[i].y = i * this->canvasHeight / this->numDstRects + this->canvasHeight / (this->numDstRects * 4); y 131 modules/cudalegacy/test/TestHypothesesFilter.cpp h_vecSrc.ptr()[srcSlotSize * i + j].y = y 132 modules/cudalegacy/test/TestHypothesesFilter.cpp h_vecDst_groundTruth.ptr()[i].y + y 146 modules/cudalegacy/test/TestHypothesesFilter.cpp h_vecSrc.ptr()[srcSlotSize * i + j].y = y 147 modules/cudalegacy/test/TestHypothesesFilter.cpp this->canvasHeight + h_vecDst_groundTruth.ptr()[i].y + y 65 modules/cudalegacy/test/TestRectStdDev.cpp strOut << "rect=[" << rect.x << ", " << rect.y << ", " << rect.width << ", " << rect.height << "]\n"; y 84 modules/cudalegacy/test/TestRectStdDev.cpp Ncv32s _normHeight = (Ncv32s)this->height - this->rect.y - this->rect.height + 1; y 89 modules/cudalegacy/test/test_calib3d.cpp rot.at<float>(0, 0) * p.x + rot.at<float>(0, 1) * p.y + rot.at<float>(0, 2) * p.z + tvec.at<float>(0, 0), y 90 modules/cudalegacy/test/test_calib3d.cpp rot.at<float>(1, 0) * p.x + rot.at<float>(1, 1) * p.y + rot.at<float>(1, 2) * p.z + tvec.at<float>(0, 1), y 91 modules/cudalegacy/test/test_calib3d.cpp rot.at<float>(2, 0) * p.x + rot.at<float>(2, 1) * p.y + rot.at<float>(2, 2) * p.z + tvec.at<float>(0, 2)); y 54 modules/cudalegacy/test/test_labeling.cpp int y; y 58 modules/cudalegacy/test/test_labeling.cpp dot d; d.x = i; d.y = j; y 106 modules/cudalegacy/test/test_labeling.cpp int* dl = &dist_labels[p.y * pitch + p.x]; y 107 modules/cudalegacy/test/test_labeling.cpp unsigned char* sp = &source[p.y * step1 + p.x]; y 113 modules/cudalegacy/test/test_labeling.cpp *top++ = dot::make(p.x + 1, p.y); y 117 modules/cudalegacy/test/test_labeling.cpp *top++ = dot::make(p.x - 1, p.y); y 120 modules/cudalegacy/test/test_labeling.cpp if( p.y < (height - 1) && dl[+pitch] == -1 && inInt(sp[0], sp[+step1])) y 121 modules/cudalegacy/test/test_labeling.cpp *top++ = dot::make(p.x, p.y + 1); y 124 modules/cudalegacy/test/test_labeling.cpp if( p.y > 0 && dl[-pitch] == -1 && inInt(sp[0], sp[-step1])) y 125 modules/cudalegacy/test/test_labeling.cpp *top++ = dot::make(p.x, p.y - 1); y 77 modules/cudaobjdetect/src/cuda/lbp.hpp return ::abs(r1.x - r2.x) <= delta && ::abs(r1.y - r2.y) <= delta y 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; y 324 modules/cudaobjdetect/src/hog.cpp int y = i / wins_per_img.width; y 325 modules/cudaobjdetect/src/hog.cpp int x = i - wins_per_img.width * y; y 327 modules/cudaobjdetect/src/hog.cpp hits.push_back(Point(x * win_stride_.width, y * win_stride_.height)); y 351 modules/cudaobjdetect/src/hog.cpp int y = i / wins_per_img.width; y 352 modules/cudaobjdetect/src/hog.cpp int x = i - wins_per_img.width * y; y 356 modules/cudaobjdetect/src/hog.cpp hits.push_back(Point(x * win_stride_.width, y * win_stride_.height)); y 213 modules/cudaobjdetect/test/test_objdetect.cpp for (int y = 0; y < blocks_per_win_y; ++y) y 216 modules/cudaobjdetect/test/test_objdetect.cpp ASSERT_EQ(l[(y * blocks_per_win_x + x) * block_hist_size + k], y 217 modules/cudaobjdetect/test/test_objdetect.cpp r[(x * blocks_per_win_y + y) * block_hist_size + k]); y 257 modules/cudaobjdetect/test/test_objdetect.cpp std::cout << r.x << " " << r.y << " " << r.width << " " << r.height << std::endl; y 353 modules/cudaobjdetect/test/test_objdetect.cpp std::cout << r.x << " " << r.y << " " << r.width << " " << r.height << std::endl; y 209 modules/cudaoptflow/src/farneback.cpp for (int y = -n; y <= n; y++) y 213 modules/cudaoptflow/src/farneback.cpp G(0,0) += g[y]*g[x]; y 214 modules/cudaoptflow/src/farneback.cpp G(1,1) += g[y]*g[x]*x*x; y 215 modules/cudaoptflow/src/farneback.cpp G(3,3) += g[y]*g[x]*x*x*x*x; y 216 modules/cudaoptflow/src/farneback.cpp G(5,5) += g[y]*g[x]*x*x*y*y; y 102 modules/cudaoptflow/src/pyrlk.cpp block.y = 8; y 107 modules/cudaoptflow/src/pyrlk.cpp block.y = deviceSupports(FEATURE_SET_COMPUTE_12) ? 16 : 8; y 111 modules/cudaoptflow/src/pyrlk.cpp patch.y = (winSize.height + block.y - 1) / block.y; y 133 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( patch.x > 0 && patch.x < 6 && patch.y > 0 && patch.y < 6 ); y 244 modules/cudaoptflow/test/test_optflow.cpp bool eq = std::abs(a.x - b.x) <= 1 && std::abs(a.y - b.y) <= 1; y 113 modules/cudastereo/src/disparity_bilateral_filter.cpp for (int y = 0; y <= half; ++y) y 115 modules/cudastereo/src/disparity_bilateral_filter.cpp float* row = cpu_table_space.ptr<float>(y); y 117 modules/cudastereo/src/disparity_bilateral_filter.cpp row[x] = exp(-sqrt(float(y * y) + float(x * x)) / dist_space); y 100 modules/cudawarping/src/remap.cpp func(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, xmap, ymap, y 105 modules/cudawarping/src/resize.cpp func(src, wholeSrc, ofs.y, ofs.x, dst, static_cast<float>(1.0 / fy), static_cast<float>(1.0 / fx), interpolation, StreamAccessor::getStream(stream)); y 161 modules/cudawarping/src/warp.cpp srcroi.y = 0; y 167 modules/cudawarping/src/warp.cpp dstroi.y = 0; y 243 modules/cudawarping/src/warp.cpp bool useNpp = borderMode == BORDER_CONSTANT && ofs.x == 0 && ofs.y == 0 && useNppTab[src.depth()][src.channels() - 1][interpolation]; y 317 modules/cudawarping/src/warp.cpp func(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, coeffs, y 382 modules/cudawarping/src/warp.cpp bool useNpp = borderMode == BORDER_CONSTANT && ofs.x == 0 && ofs.y == 0 && useNppTab[src.depth()][src.channels() - 1][interpolation]; y 456 modules/cudawarping/src/warp.cpp func(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, coeffs, y 490 modules/cudawarping/src/warp.cpp srcroi.x = srcroi.y = 0; y 494 modules/cudawarping/src/warp.cpp dstroi.x = dstroi.y = 0; y 49 modules/cudawarping/test/interpolation.hpp template <typename T> T readVal(const cv::Mat& src, int y, int x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) y 52 modules/cudawarping/test/interpolation.hpp return (y >= 0 && y < src.rows && x >= 0 && x < src.cols) ? src.at<T>(y, x * src.channels() + c) : cv::saturate_cast<T>(borderVal.val[c]); y 54 modules/cudawarping/test/interpolation.hpp return src.at<T>(cv::borderInterpolate(y, src.rows, border_type), cv::borderInterpolate(x, src.cols, border_type) * src.channels() + c); y 59 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) y 61 modules/cudawarping/test/interpolation.hpp return readVal<T>(src, int(y), int(x), c, border_type, borderVal); y 67 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) y 70 modules/cudawarping/test/interpolation.hpp int y1 = cvFloor(y); y 76 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y1, x1, c, border_type, borderVal) * ((x2 - x) * (y2 - y)); y 77 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y1, x2, c, border_type, borderVal) * ((x - x1) * (y2 - y)); y 78 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y2, x1, c, border_type, borderVal) * ((x2 - x) * (y - y1)); y 79 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y2, x2, c, border_type, borderVal) * ((x - x1) * (y - y1)); y 104 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) y 109 modules/cudawarping/test/interpolation.hpp const float ymin = ceilf(y - 2.0f); y 110 modules/cudawarping/test/interpolation.hpp const float ymax = floorf(y + 2.0f); y 119 modules/cudawarping/test/interpolation.hpp const float w = bicubicCoeff(x - cx) * bicubicCoeff(y - cy); y 62 modules/cudawarping/test/test_remap.cpp for (int y = 0; y < dsize.height; ++y) y 67 modules/cudawarping/test/test_remap.cpp dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ymap.at<float>(y, x), xmap.at<float>(y, x), c, borderType, borderVal); y 147 modules/cudawarping/test/test_remap.cpp for (int y = 0; y < size.height; ++y) y 151 modules/cudawarping/test/test_remap.cpp xmap.at<float>(y, x) = static_cast<float>(M[0][0] * x + M[0][1] * y + M[0][2]); y 152 modules/cudawarping/test/test_remap.cpp ymap.at<float>(y, x) = static_cast<float>(M[1][0] * x + M[1][1] * y + M[1][2]); y 66 modules/cudawarping/test/test_resize.cpp for (int y = 0; y < dsize.height; ++y) y 71 modules/cudawarping/test/test_resize.cpp dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, y * ify, x * ifx, c, cv::BORDER_REPLICATE); y 120 modules/cudawarping/test/test_warp_affine.cpp for (int y = 0; y < dsize.height; ++y) y 124 modules/cudawarping/test/test_warp_affine.cpp float xcoo = static_cast<float>(M.at<double>(0, 0) * x + M.at<double>(0, 1) * y + M.at<double>(0, 2)); y 125 modules/cudawarping/test/test_warp_affine.cpp float ycoo = static_cast<float>(M.at<double>(1, 0) * x + M.at<double>(1, 1) * y + M.at<double>(1, 2)); y 128 modules/cudawarping/test/test_warp_affine.cpp dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ycoo, xcoo, c, borderType, borderVal); y 121 modules/cudawarping/test/test_warp_perspective.cpp for (int y = 0; y < dsize.height; ++y) y 125 modules/cudawarping/test/test_warp_perspective.cpp float coeff = static_cast<float>(M.at<double>(2, 0) * x + M.at<double>(2, 1) * y + M.at<double>(2, 2)); y 127 modules/cudawarping/test/test_warp_perspective.cpp float xcoo = static_cast<float>((M.at<double>(0, 0) * x + M.at<double>(0, 1) * y + M.at<double>(0, 2)) / coeff); y 128 modules/cudawarping/test/test_warp_perspective.cpp float ycoo = static_cast<float>((M.at<double>(1, 0) * x + M.at<double>(1, 1) * y + M.at<double>(1, 2)) / coeff); y 131 modules/cudawarping/test/test_warp_perspective.cpp dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ycoo, xcoo, c, borderType, borderVal); y 60 modules/cudev/include/opencv2/cudev/block/block.hpp return (blockIdx.z * gridDim.y + blockIdx.y) * gridDim.x + blockIdx.x; y 65 modules/cudev/include/opencv2/cudev/block/block.hpp return blockDim.x * blockDim.y * blockDim.z; y 70 modules/cudev/include/opencv2/cudev/block/block.hpp return (threadIdx.z * blockDim.y + threadIdx.y) * blockDim.x + threadIdx.x; y 114 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = src.y; y 132 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; y 144 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; y 156 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; y 178 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = (src >> 2) & ~7; y 196 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = (src >> 2) & ~7; y 215 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = (src >> 3) & ~3; y 233 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = (src >> 3) & ~3; y 250 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.z = dst.y = dst.x = src; y 311 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; y 323 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; y 340 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; y 352 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<T>(Cr); y 365 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; y 371 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = (r - dst.x) * c_RGB2YUVCoeffs_f[3] + ColorChannel<float>::half(); y 389 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.x + CV_CUDEV_DESCALE((src.z - ColorChannel<T>::half()) * c_YUV2RGBCoeffs_i[2] + (src.y - ColorChannel<T>::half()) * c_YUV2RGBCoeffs_i[1], yuv_shift); y 390 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = src.x + CV_CUDEV_DESCALE((src.y - ColorChannel<T>::half()) * c_YUV2RGBCoeffs_i[0], yuv_shift); y 395 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<T>(g); y 409 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.x + (src.z - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[2] + (src.y - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[1]; y 410 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = src.x + (src.y - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[0]; y 415 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = g; y 434 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; y 446 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<T>(Cr); y 459 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; y 465 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = (r - dst.x) * c_RGB2YCrCbCoeffs_f[3] + ColorChannel<float>::half(); y 483 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.x + CV_CUDEV_DESCALE((src.z - ColorChannel<T>::half()) * c_YCrCb2RGBCoeffs_i[2] + (src.y - ColorChannel<T>::half()) * c_YCrCb2RGBCoeffs_i[1], yuv_shift); y 484 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = src.x + CV_CUDEV_DESCALE((src.y - ColorChannel<T>::half()) * c_YCrCb2RGBCoeffs_i[0], yuv_shift); y 489 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<T>(g); y 503 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.x + (src.z - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[2] + (src.y - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[1]; y 504 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = src.x + (src.y - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[0]; y 509 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = g; y 528 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; y 535 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<T>(CV_CUDEV_DESCALE(r * c_RGB2XYZ_D65i[3] + g * c_RGB2XYZ_D65i[4] + b * c_RGB2XYZ_D65i[5], xyz_shift)); y 547 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; y 553 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = r * c_RGB2XYZ_D65f[3] + g * c_RGB2XYZ_D65f[4] + b * c_RGB2XYZ_D65f[5]; y 570 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = CV_CUDEV_DESCALE(src.x * c_XYZ2sRGB_D65i[6] + src.y * c_XYZ2sRGB_D65i[7] + src.z * c_XYZ2sRGB_D65i[8], xyz_shift); y 571 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = CV_CUDEV_DESCALE(src.x * c_XYZ2sRGB_D65i[3] + src.y * c_XYZ2sRGB_D65i[4] + src.z * c_XYZ2sRGB_D65i[5], xyz_shift); y 572 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = CV_CUDEV_DESCALE(src.x * c_XYZ2sRGB_D65i[0] + src.y * c_XYZ2sRGB_D65i[1] + src.z * c_XYZ2sRGB_D65i[2], xyz_shift); y 577 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<T>(g); y 590 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float b = src.x * c_XYZ2sRGB_D65f[6] + src.y * c_XYZ2sRGB_D65f[7] + src.z * c_XYZ2sRGB_D65f[8]; y 591 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.x * c_XYZ2sRGB_D65f[3] + src.y * c_XYZ2sRGB_D65f[4] + src.z * c_XYZ2sRGB_D65f[5]; y 592 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = src.x * c_XYZ2sRGB_D65f[0] + src.y * c_XYZ2sRGB_D65f[1] + src.z * c_XYZ2sRGB_D65f[2]; y 597 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = g; y 622 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; y 646 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<uchar>(s); y 661 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; y 685 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = s; y 705 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float h = src.x, s = src.y, v = src.z; y 740 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = g; y 756 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y * (1.f / 255.f); y 765 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<uchar>(buf.y * 255.f); y 785 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; y 815 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = l; y 830 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y * (1.f / 255.f); y 839 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<uchar>(buf.y * 255.f); y 859 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float h = src.x, l = src.y, s = src.z; y 894 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = g; y 910 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y * (1.f / 255.f); y 919 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<uchar>(buf.y * 255.f); y 967 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp int G = src.y; y 994 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<uchar>(a); y 1010 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float G = src.y; y 1035 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = a; y 1069 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float X = src.y / 500.0f + fy; y 1096 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = G; y 1112 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y - 128; y 1121 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<uchar>(buf.y * 255.f); y 1145 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float G = src.y; y 1169 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = u; y 1184 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y * (1.f / 255.f); y 1193 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<uchar>(buf.y * 0.72033898305084743f + 96.525423728813564f); y 1214 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float u = src.y; y 1246 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = G; y 1262 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y * 1.388235294117647f - 134.f; y 1271 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<uchar>(buf.y * 255.f); y 632 modules/cudev/include/opencv2/cudev/functional/functional.hpp __device__ T operator ()(T x, T y) const y 635 modules/cudev/include/opencv2/cudev/functional/functional.hpp typename atan2_func<T>::result_type angle = f(y, x); y 795 modules/cudev/include/opencv2/cudev/functional/functional.hpp typename TypeTraits<typename Predicate::second_argument_type>::parameter_type y) const y 797 modules/cudev/include/opencv2/cudev/functional/functional.hpp return !pred(x, y); y 63 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 65 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp if (x >= cols || y >= rows || !mask(y, x)) y 68 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp dst(y, x) = saturate_cast<DstType>(src(y, x)); y 75 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 87 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp __device__ static void copy(const SrcPtrTuple& src, DstPtrTuple& dst, const int y, const int x) y 92 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp get<count - 1>(dst)(y, x) = saturate_cast<dst_type>(get<count - 1>(src)(y, x)); y 93 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp Unroll<count - 1>::copy(src, dst, y, x); y 108 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 110 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp if (x >= cols || y >= rows || !mask(y, x)) y 113 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp Unroll<tuple_size<SrcPtrTuple>::value>::copy(src, dst, y, x); y 120 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 62 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp const int y = blockIdx.x * blockDim.y + threadIdx.y; y 63 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp const int tid = threadIdx.y * blockDim.x + threadIdx.x; y 70 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp if (y < rows) y 74 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp if (mask(y, x)) y 76 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp const uint data = src(y, x); y 97 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp const dim3 grid(divUp(rows, block.y)); y 163 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp bytes.y = (in & 0x0000ff00) >> 8; y 181 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp const uchar4 b = int_to_uchar4(data.y); y 188 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp result[1] = result[0] + a.y; y 193 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp result[5] = result[4] + b.y; y 198 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp result[9] = result[8] + c.y; y 203 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp result[13] = result[12] + d.y; y 428 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp sums[threadIdx.x][threadIdx.y] = 0; y 433 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp int numBuckets = divUp(rows, blockDim.y); y 434 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp int y = threadIdx.y; y 438 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp T* p = integral.row(y) + tidx; y 440 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp T sum = (tidx < cols) && (y < rows) ? *p : 0; y 442 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp sums[threadIdx.x][threadIdx.y] = sum; y 450 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp const int k = threadIdx.x / 8 + threadIdx.y * 4; y 465 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp if (threadIdx.y > 0) y 466 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp sum += sums[threadIdx.x][threadIdx.y - 1]; y 469 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp stepSum += sums[threadIdx.x][blockDim.y - 1]; y 473 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp if ((tidx < cols) && (y < rows)) y 478 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp y += blockDim.y; y 484 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp volatile T* smem_row = &smem[0][0] + 64 * threadIdx.y; y 486 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp if (threadIdx.y == 0) y 498 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp const int curRowOffs = offsetY + threadIdx.y; y 505 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp smem[threadIdx.y + 0][threadIdx.x] = 0.0f; y 506 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp smem[threadIdx.y + 8][threadIdx.x] = 0.0f; y 507 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp smem[threadIdx.y + 16][threadIdx.x] = 0.0f; y 508 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp smem[threadIdx.y + 24][threadIdx.x] = 0.0f; y 515 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp smem[threadIdx.y + i * 8][threadIdx.x] = integral(curRowOffs + i * 8, x); y 523 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp curElems[0] = smem[threadIdx.x][threadIdx.y ]; y 524 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp curElems[1] = smem[threadIdx.x][threadIdx.y + 8]; y 525 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp curElems[2] = smem[threadIdx.x][threadIdx.y + 16]; y 526 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp curElems[3] = smem[threadIdx.x][threadIdx.y + 24]; y 535 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp curElems[0] += prevVals[threadIdx.y ]; y 536 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp curElems[1] += prevVals[threadIdx.y + 8]; y 537 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp curElems[2] += prevVals[threadIdx.y + 16]; y 538 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp curElems[3] += prevVals[threadIdx.y + 24]; y 544 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp prevVals[threadIdx.y ] += temp[0]; y 545 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp prevVals[threadIdx.y + 8] += temp[1]; y 546 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp prevVals[threadIdx.y + 16] += temp[2]; y 547 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp prevVals[threadIdx.y + 24] += temp[3]; y 550 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp smem[threadIdx.y ][threadIdx.x] = curElems[0]; y 551 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp smem[threadIdx.y + 8][threadIdx.x] = curElems[1]; y 552 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp smem[threadIdx.y + 16][threadIdx.x] = curElems[2]; y 553 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp smem[threadIdx.y + 24][threadIdx.x] = curElems[3]; y 565 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp integral(curRowOffs + i * 8, x) = smem[threadIdx.x][threadIdx.y + i * 8]; y 68 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp const int y0 = blockIdx.y * blockDim.y * patch_y + threadIdx.y; y 75 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp for (int i = 0, y = y0; i < patch_y && y < rows; ++i, y += blockDim.y) y 79 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp if (mask(y, x)) y 81 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp const ResType srcVal = src(y, x); y 86 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp myMinLoc = y * cols + x; y 92 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp myMaxLoc = y * cols + x; y 98 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp const int tid = threadIdx.y * blockDim.x + threadIdx.x; y 105 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp const int bid = blockIdx.y * gridDim.x + blockIdx.x; y 149 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp grid = dim3(divUp(cols, block.x * Policy::patch_size_x), divUp(rows, block.y * Policy::patch_size_y)); y 152 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp grid.y = ::min(grid.y, block.y); y 162 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp const int patch_y = divUp(divUp(rows, grid.y), block.y); y 167 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp minMaxLoc_pass_2<Policy::block_size_x * Policy::block_size_y><<<1, Policy::block_size_x * Policy::block_size_y, 0, stream>>>(minVal, maxVal, minLoc, maxLoc, grid.x * grid.y); y 71 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp const int y = blockIdx.y; y 73 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp const int src_y = 2 * y; y 181 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp dst(y, dst_x) = saturate_cast<DstType>(sum); y 69 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 74 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp if (threadIdx.x < 10 && threadIdx.y < 10) y 77 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp int srcy = static_cast<int>((blockIdx.y * blockDim.y) / 2 + threadIdx.y) - 1; y 85 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp s_srcPatch[threadIdx.y][threadIdx.x] = saturate_cast<work_type>(src(srcy, srcx)); y 94 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp const bool eveny = ((threadIdx.y & 1) == 0); y 99 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp sum = sum + (evenFlag * 0.0625f) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx - 2) >> 1)]; y 100 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx - 1) >> 1)]; y 101 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp sum = sum + (evenFlag * 0.375f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx ) >> 1)]; y 102 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx + 1) >> 1)]; y 103 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp sum = sum + (evenFlag * 0.0625f) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx + 2) >> 1)]; y 106 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp s_dstPatch[2 + threadIdx.y][threadIdx.x] = sum; y 108 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp if (threadIdx.y < 2) y 121 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp s_dstPatch[threadIdx.y][threadIdx.x] = sum; y 124 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp if (threadIdx.y > 13) y 137 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp s_dstPatch[4 + threadIdx.y][threadIdx.x] = sum; y 144 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp const int tidy = threadIdx.y; y 152 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp if (x < dst_cols && y < dst_rows) y 153 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp dst(y, x) = saturate_cast<DstType>(4.0f * sum); y 160 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp const dim3 grid(divUp(dst_cols, block.x), divUp(dst_rows, block.y)); y 100 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp return tie(val.x, val.y); y 123 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp return tie(val.x, val.y, val.z); y 147 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp return tie(val.x, val.y, val.z, val.w); y 186 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicAdd(ptr + 1, val.y); y 192 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicMin(ptr + 1, val.y); y 198 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicMax(ptr + 1, val.y); y 209 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicAdd(ptr + 1, val.y); y 216 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicMin(ptr + 1, val.y); y 223 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicMax(ptr + 1, val.y); y 235 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicAdd(ptr + 1, val.y); y 243 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicMin(ptr + 1, val.y); y 251 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp atomicMax(ptr + 1, val.y); y 395 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp const int y0 = blockIdx.y * blockDim.y * PATCH_Y + threadIdx.y; y 399 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp for (int i = 0, y = y0; i < PATCH_Y && y < rows; ++i, y += blockDim.y) y 403 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp if (mask(y, x)) y 405 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reductor.reduceVal(src(y, x)); y 410 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp const int tid = threadIdx.y * blockDim.x + threadIdx.x; y 419 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp const dim3 grid(divUp(cols, block.x * Policy::patch_size_x), divUp(rows, block.y * Policy::patch_size_y)); y 73 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp blockReduce<BLOCK_SIZE>(smem_tuple(smem[0], smem[1]), tie(myVal.x, myVal.y), threadIdx.x, make_tuple(op, op)); y 82 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp blockReduce<BLOCK_SIZE>(smem_tuple(smem[0], smem[1], smem[2]), tie(myVal.x, myVal.y, myVal.z), threadIdx.x, make_tuple(op, op, op)); y 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)); y 104 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp const int y = blockIdx.x; y 112 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp if (mask(y, x)) y 114 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp myVal = op(myVal, saturate_cast<work_type>(src(y, x))); y 121 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp dst[y] = saturate_cast<ResType>(Reductor::result(myVal, cols)); y 72 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp for (int y = threadIdx.y; y < rows; y += BLOCK_SIZE_Y) y 74 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp if (mask(y, x)) y 76 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp myVal = op(myVal, saturate_cast<work_type>(src(y, x))); y 81 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp smem[threadIdx.x * BLOCK_SIZE_Y + threadIdx.y] = myVal; y 85 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp volatile work_type* srow = smem + threadIdx.y * BLOCK_SIZE_X; y 95 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp if (threadIdx.y == 0 && x < cols) y 68 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 70 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) y 73 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst(y, x) = VecTraits<DstType>::make( y 74 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp saturate_cast<dst_elem_type>(src1(y, x)), y 75 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp saturate_cast<dst_elem_type>(src2(y, x)) y 83 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 98 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 100 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) y 103 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst(y, x) = VecTraits<DstType>::make( y 104 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp saturate_cast<dst_elem_type>(src1(y, x)), y 105 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp saturate_cast<dst_elem_type>(src2(y, x)), y 106 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp saturate_cast<dst_elem_type>(src3(y, x)) y 114 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 129 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 131 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) y 134 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst(y, x) = VecTraits<DstType>::make( y 135 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp saturate_cast<dst_elem_type>(src1(y, x)), y 136 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp saturate_cast<dst_elem_type>(src2(y, x)), y 137 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp saturate_cast<dst_elem_type>(src3(y, x)), y 138 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp saturate_cast<dst_elem_type>(src4(y, x)) y 146 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 192 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 194 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) y 197 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const src_type src_value = src(y, x); y 199 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst1(y, x) = src_value.x; y 200 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst2(y, x) = src_value.y; y 207 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 222 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 224 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) y 227 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const src_type src_value = src(y, x); y 229 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst1(y, x) = src_value.x; y 230 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst2(y, x) = src_value.y; y 231 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst3(y, x) = src_value.z; y 238 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 253 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 255 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp if (x >= cols || y >= rows || !mask(y, x)) y 258 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const src_type src_value = src(y, x); y 260 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst1(y, x) = src_value.x; y 261 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst2(y, x) = src_value.y; y 262 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst3(y, x) = src_value.z; y 263 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp dst4(y, x) = src_value.w; y 270 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 67 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T& src, D& dst, const UnOp& op, const MaskPtr& mask, int x_shifted, int y) y 69 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted)) y 74 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr& mask, int x_shifted, int y) y 76 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted)) y 84 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T& src, D& dst, const UnOp& op, const MaskPtr& mask, int x_shifted, int y) y 86 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted)) y 88 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 1)) y 89 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.y = op(src.y); y 93 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr& mask, int x_shifted, int y) y 95 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted)) y 97 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 1)) y 98 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.y = op(src1.y, src2.y); y 105 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T& src, D& dst, const UnOp& op, const MaskPtr& mask, int x_shifted, int y) y 107 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted)) y 109 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 1)) y 110 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.y = op(src.y); y 111 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 2)) y 116 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr& mask, int x_shifted, int y) y 118 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted)) y 120 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 1)) y 121 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.y = op(src1.y, src2.y); y 122 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 2)) y 130 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T& src, D& dst, const UnOp& op, const MaskPtr& mask, int x_shifted, int y) y 132 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted)) y 134 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 1)) y 135 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.y = op(src.y); y 136 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 2)) y 138 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 3)) y 143 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr& mask, int x_shifted, int y) y 145 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted)) y 147 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 1)) y 148 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.y = op(src1.y, src2.y); y 149 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 2)) y 151 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, x_shifted + 3)) y 162 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 164 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (x >= cols || y >= rows || !mask(y, x)) y 167 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst(y, x) = saturate_cast<DstType>(op(src(y, x))); y 174 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 176 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (x >= cols || y >= rows || !mask(y, x)) y 179 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst(y, x) = saturate_cast<DstType>(op(src1(y, x), src2(y, x))); y 191 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 194 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (y < rows) y 196 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const SrcType* src = src_.row(y); y 197 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp DstType* dst = dst_.row(y); y 204 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp OpUnroller<SHIFT>::unroll(src_n_el, dst_n_el, op, mask, x_shifted, y); y 212 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, real_x)) y 227 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 230 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (y < rows) y 232 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const SrcType1* src1 = src1_.row(y); y 233 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const SrcType2* src2 = src2_.row(y); y 234 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp DstType* dst = dst_.row(y); y 242 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp OpUnroller<SHIFT>::unroll(src1_n_el, src2_n_el, dst_n_el, op, mask, x_shifted, y); y 250 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (mask(y, real_x)) y 267 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 280 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 315 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const dim3 grid(divUp(cols, block.x * Policy::shift), divUp(rows, block.y)); y 337 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const dim3 grid(divUp(cols, block.x * Policy::shift), divUp(rows, block.y)); y 376 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ static void transform(const SrcVal& srcVal, DstPtrTuple& dst, const OpTuple& op, int y, int x) y 381 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp get<count - 1>(dst)(y, x) = saturate_cast<dst_type>(get<count - 1>(op)(srcVal)); y 382 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp Unroll<count - 1>::transform(srcVal, dst, op, y, x); y 397 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const int y = blockIdx.y * blockDim.y + threadIdx.y; y 399 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp if (x >= cols || y >= rows || !mask(y, x)) y 402 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp typename PtrTraits<SrcPtr>::value_type srcVal = src(y, x); y 404 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp Unroll<tuple_size<DstPtrTuple>::value>::transform(srcVal, dst, op, y, x); y 411 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 68 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp if (gridDim.x == gridDim.y) y 71 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp blockIdx_x = (blockIdx.x + blockIdx.y) % gridDim.x; y 75 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp int bid = blockIdx.x + gridDim.x * blockIdx.y; y 76 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp blockIdx_y = bid % gridDim.y; y 77 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp blockIdx_x = ((bid / gridDim.y) + blockIdx_y) % gridDim.x; y 81 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp int yIndex = blockIdx_y * TILE_DIM + threadIdx.y; y 89 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp tile[threadIdx.y + i][threadIdx.x] = src(yIndex + i, xIndex); y 97 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp yIndex = blockIdx_x * TILE_DIM + threadIdx.y; y 105 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp dst(yIndex + i, xIndex) = saturate_cast<DstType>(tile[threadIdx.x][threadIdx.y + i]); y 115 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp const dim3 grid(divUp(cols, block.x), divUp(rows, block.y)); y 220 modules/cudev/include/opencv2/cudev/grid/reduce.hpp valBuf.create(2, grid.x * grid.y); y 221 modules/cudev/include/opencv2/cudev/grid/reduce.hpp locBuf.create(2, grid.x * grid.y); y 239 modules/cudev/include/opencv2/cudev/grid/reduce.hpp valBuf.create(2, grid.x * grid.y); y 240 modules/cudev/include/opencv2/cudev/grid/reduce.hpp locBuf.create(2, grid.x * grid.y); y 68 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const y 70 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp return src(y, x + 1) - src(y, x - 1); y 108 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const y 110 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp return src(y + 1, x) - src(y - 1, x); y 148 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __device__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const y 152 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x - 1), src(y - 1, x + 1), y 153 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y , x - 1), src(y , x + 1), y 154 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x - 1), src(y + 1, x + 1), y 195 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __device__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const y 199 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x - 1), src(y - 1, x), src(y - 1, x + 1), y 200 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x - 1), src(y + 1, x), src(y + 1, x + 1) y 241 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __device__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const y 245 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x - 1), src(y - 1, x + 1), y 246 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y , x - 1), src(y , x + 1), y 247 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x - 1), src(y + 1, x + 1), y 288 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __device__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const y 292 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x - 1), src(y - 1, x), src(y - 1, x + 1), y 293 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x - 1), src(y + 1, x), src(y + 1, x + 1) y 336 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __device__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const y 340 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x), y 341 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y, x - 1), src(y , x), src(y, x + 1), y 342 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x) y 356 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __device__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const y 360 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x - 1), src(y - 1, x + 1), y 361 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y, x), y 362 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x - 1), src(y + 1, x + 1) y 202 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ GpuMat_<T> GpuMat_<T>::row(int y) const y 204 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp return GpuMat_(*this, Range(y, y+1), Range::all()); y 303 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ T* GpuMat_<T>::operator [](int y) y 305 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp return (T*)ptr(y); y 309 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ const T* GpuMat_<T>::operator [](int y) const y 311 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp return (const T*)ptr(y); y 69 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const y 71 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return (x >= 0 && x < cols && y >= 0 && y < rows) ? src(y, x) : val; y 102 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp __device__ __forceinline__ int idx_row(int y) const y 104 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return BrdImpl::idx_low(BrdImpl::idx_high(y, rows), rows); y 112 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const y 114 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return src(idx_row(y), idx_col(x)); y 72 modules/cudev/include/opencv2/cudev/ptr2d/glob.hpp __device__ __forceinline__ T* row(int y) { return ( T*)( ( uchar*)data + y * step); } y 73 modules/cudev/include/opencv2/cudev/ptr2d/glob.hpp __device__ __forceinline__ const T* row(int y) const { return (const T*)( (const uchar*)data + y * step); } y 75 modules/cudev/include/opencv2/cudev/ptr2d/glob.hpp __device__ __forceinline__ T& operator ()(int y, int x) { return row(y)[x]; } y 76 modules/cudev/include/opencv2/cudev/ptr2d/glob.hpp __device__ __forceinline__ const T& operator ()(int y, int x) const { return row(y)[x]; } y 115 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ GpuMat_ row(int y) const; y 137 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ T* operator [](int y); y 138 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ const T* operator [](int y) const; y 70 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(float y, float x) const y 72 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp return src(__float2int_rn(y), __float2int_rn(x)); y 104 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp __device__ typename PtrTraits<SrcPtr>::value_type operator ()(float y, float x) const y 114 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp const int y1 = __float2int_rd(y); y 119 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + src_reg * static_cast<work_elem_type>((x2 - x) * (y2 - y)); y 122 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + src_reg * static_cast<work_elem_type>((x - x1) * (y2 - y)); y 125 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + src_reg * static_cast<work_elem_type>((x2 - x) * (y - y1)); y 128 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + src_reg * static_cast<work_elem_type>((x - x1) * (y - y1)); y 179 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp __device__ typename PtrTraits<SrcPtr>::value_type operator ()(float y, float x) const y 189 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp const float ymin = ::ceilf(y - 2.0f); y 190 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp const float ymax = ::floorf(y + 2.0f); y 200 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp const float w = bicubicCoeff(x - cx) * bicubicCoeff(y - cy); y 242 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp __device__ typename PtrTraits<SrcPtr>::value_type operator ()(float y, float x) const y 252 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp const int sy1 = __float2int_rd(y); y 302 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp __device__ typename PtrTraits<SrcPtr>::value_type operator ()(float y, float x) const y 315 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp const float fsy1 = y; y 68 modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp __device__ __forceinline__ typename PtrTraits<TablePtr>::value_type operator ()(typename PtrTraits<SrcPtr>::index_type y, typename PtrTraits<SrcPtr>::index_type x) const y 71 modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp return tbl(VecTraits<tbl_index_type>::all(0), src(y, x)); y 76 modules/cudev/include/opencv2/cudev/ptr2d/mask.hpp __device__ __forceinline__ value_type operator()(index_type y, index_type x) const y 78 modules/cudev/include/opencv2/cudev/ptr2d/mask.hpp return mask(y, x / channels); y 68 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(typename PtrTraits<MapPtr>::index_type y, typename PtrTraits<MapPtr>::index_type x) const y 70 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp const typename PtrTraits<MapPtr>::value_type coord = map(y, x); y 71 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp return src(coord.y, coord.x); y 84 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(typename PtrTraits<MapXPtr>::index_type y, typename PtrTraits<MapXPtr>::index_type x) const y 86 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp const typename PtrTraits<MapXPtr>::value_type nx = mapx(y, x); y 87 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp const typename PtrTraits<MapYPtr>::value_type ny = mapy(y, x); y 68 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(typename PtrTraits<SrcPtr>::index_type y, typename PtrTraits<SrcPtr>::index_type x) const y 70 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp const float yn = static_cast<float>(y * fy); y 107 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp __device__ __forceinline__ T operator ()(float y, float x) const y 111 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp return tex2D(CvCudevTextureRef<T>::ref, x, y); y 114 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp return tex2D<T>(texObj, x, y); y 192 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp __device__ __forceinline__ T operator ()(float y, float x) const y 196 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp return tex2D<T>(texObj, x, y); y 198 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp (void) y; y 69 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp __device__ __forceinline__ typename Op::result_type operator ()(typename PtrTraits<SrcPtr>::index_type y, typename PtrTraits<SrcPtr>::index_type x) const y 71 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp return op(src(y, x)); y 113 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp __device__ __forceinline__ typename Op::result_type operator ()(typename PtrTraits<Src1Ptr>::index_type y, typename PtrTraits<Src1Ptr>::index_type x) const y 115 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp return op(src1(y, x), src2(y, x)); y 68 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp __device__ __forceinline__ float2 operator ()(float y, float x) const y 70 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp const float xcoo = warpMat[0] * x + warpMat[1] * y + warpMat[2]; y 71 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp const float ycoo = warpMat[3] * x + warpMat[4] * y + warpMat[5]; y 114 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp __device__ __forceinline__ float2 operator ()(float y, float x) const y 116 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp const float coeff = 1.0f / (warpMat[6] * x + warpMat[7] * y + warpMat[8]); y 118 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp const float xcoo = coeff * (warpMat[0] * x + warpMat[1] * y + warpMat[2]); y 119 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp const float ycoo = coeff * (warpMat[3] * x + warpMat[4] * y + warpMat[5]); y 69 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp __device__ __forceinline__ value_type operator ()(index_type y, index_type x) const y 71 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp return make_tuple(cv::cudev::get<0>(*this)(y, x), cv::cudev::get<1>(*this)(y, x)); y 85 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp __device__ __forceinline__ value_type operator ()(index_type y, index_type x) const y 87 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp return make_tuple(cv::cudev::get<0>(*this)(y, x), cv::cudev::get<1>(*this)(y, x), cv::cudev::get<2>(*this)(y, x)); y 102 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp __device__ __forceinline__ value_type operator ()(index_type y, index_type x) const y 104 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp return make_tuple(cv::cudev::get<0>(*this)(y, x), cv::cudev::get<1>(*this)(y, x), cv::cudev::get<2>(*this)(y, x), cv::cudev::get<3>(*this)(y, x)); y 77 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<VecD>::make(saturate_cast<D>(v.x), saturate_cast<D>(v.y)); y 86 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)); y 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)); y 145 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(op (a.x), op (a.y)); \ y 149 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::make(op (a.x), op (a.y), op (a.z)); \ y 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)); \ y 189 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(func (a.x), func (a.y)); \ y 193 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::make(func (a.x), func (a.y), func (a.z)); \ y 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)); \ y 404 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(a.x op b.x, a.y op b.y); \ y 408 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::make(a.x op b.x, a.y op b.y, a.z op b.z); \ y 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); \ y 559 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(a.x op s, a.y op s); \ y 563 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(s op b.x, s op b.y); \ y 567 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::make(a.x op s, a.y op s, a.z op s); \ y 571 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::make(s op b.x, s op b.y, s op b.z); \ y 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); \ y 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); \ y 774 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(func (a.x, b.x), func (a.y, b.y)); \ y 778 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::make(func (a.x, b.x), func (a.y, b.y), func (a.z, b.z)); \ y 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)); \ y 836 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(func ((output_type) a.x, (output_type) s), func ((output_type) a.y, (output_type) s)); \ y 840 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(func ((output_type) s, (output_type) b.x), func ((output_type) s, (output_type) b.y)); \ y 844 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::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)); \ y 848 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::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)); \ y 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)); \ y 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)); \ y 112 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp __host__ __device__ __forceinline__ static type ## 2 make(type x, type y) {return make_ ## type ## 2(x, y);} \ y 120 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp __host__ __device__ __forceinline__ static type ## 3 make(type x, type y, type z) {return make_ ## type ## 3(x, y, z);} \ y 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);} \ y 163 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp __host__ __device__ __forceinline__ static char2 make(schar x, schar y) {return make_char2(x, y);} y 171 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp __host__ __device__ __forceinline__ static char3 make(schar x, schar y, schar z) {return make_char3(x, y, z);} y 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);} y 118 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.y, srcLane, width) \ y 125 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.y, srcLane, width), \ y 133 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl(val.y, srcLane, width), \ y 209 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.y, delta, width) \ y 216 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.y, delta, width), \ y 224 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_up(val.y, delta, width), \ y 300 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.y, delta, width) \ y 307 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.y, delta, width), \ y 315 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_down(val.y, delta, width), \ y 391 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.y, laneMask, width) \ y 398 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.y, laneMask, width), \ y 406 modules/cudev/include/opencv2/cudev/warp/shuffle.hpp shfl_xor(val.y, laneMask, width), \ y 73 modules/cudev/include/opencv2/cudev/warp/warp.hpp const uint tid = (threadIdx.z * blockDim.y + threadIdx.y) * blockDim.x + threadIdx.x; y 32 modules/features2d/misc/java/src/cpp/features2d_converters.cpp mat.at< Vec<float, 7> >(i, 0) = Vec<float, 7>(kp.pt.x, kp.pt.y, kp.size, kp.angle, kp.response, (float)kp.octave, (float)kp.class_id); y 68 modules/features2d/src/agast.cpp register int x, y; y 89 modules/features2d/src/agast.cpp for(y = 1; y < ysizeB; y++) y 101 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; y 437 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; y 792 modules/features2d/src/agast.cpp keypoints.push_back(KeyPoint(Point2f((float)x, (float)y), 1.0f)); y 809 modules/features2d/src/agast.cpp keypoints.push_back(KeyPoint(Point2f((float)x, (float)y), 1.0f)); y 828 modules/features2d/src/agast.cpp register int x, y; y 853 modules/features2d/src/agast.cpp for(y = 3; y < ysizeB; y++) y 865 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; y 2047 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; y 3236 modules/features2d/src/agast.cpp keypoints.push_back(KeyPoint(Point2f((float)x, (float)y), 1.0f)); y 3253 modules/features2d/src/agast.cpp keypoints.push_back(KeyPoint(Point2f((float)x, (float)y), 1.0f)); y 3272 modules/features2d/src/agast.cpp register int x, y; y 3297 modules/features2d/src/agast.cpp for(y = 2; y < ysizeB; y++) y 3309 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; y 4347 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; y 5317 modules/features2d/src/agast.cpp keypoints.push_back(KeyPoint(Point2f((float)x, (float)y), 1.0f)); y 5334 modules/features2d/src/agast.cpp keypoints.push_back(KeyPoint(Point2f((float)x, (float)y), 1.0f)); y 5353 modules/features2d/src/agast.cpp register int x, y; y 5382 modules/features2d/src/agast.cpp for(y = 3; y < ysizeB; y++) y 5392 modules/features2d/src/agast.cpp register const unsigned char* const ptr = img.ptr() + y*width + x; y 7438 modules/features2d/src/agast.cpp keypoints.push_back(KeyPoint(Point2f((float)x, (float)y), 1.0f)); y 7542 modules/features2d/src/agast.cpp (&img.at<uchar>((int)kpt->pt.y, (int)kpt->pt.x), pixel_, threshold); y 7546 modules/features2d/src/agast.cpp (&img.at<uchar>((int)kpt->pt.y, (int)kpt->pt.x), pixel_, threshold); y 7550 modules/features2d/src/agast.cpp (&img.at<uchar>((int)kpt->pt.y, (int)kpt->pt.x), pixel_, threshold); y 7554 modules/features2d/src/agast.cpp (&img.at<uchar>((int)kpt->pt.y, (int)kpt->pt.x), pixel_, threshold); y 7583 modules/features2d/src/agast.cpp if(lastRow + 1 < currCorner->pt.y) y 7588 modules/features2d/src/agast.cpp if(next_lastRow != currCorner->pt.y) y 7590 modules/features2d/src/agast.cpp next_lastRow = (size_t) currCorner->pt.y; y 7593 modules/features2d/src/agast.cpp if(lastRow + 1 == currCorner->pt.y) y 7597 modules/features2d/src/agast.cpp && (keypoints[lastRowCorner_ind].pt.y == lastRow) ) y 7617 modules/features2d/src/agast.cpp if( (curr_idx != 0) && (keypoints[t].pt.y == currCorner->pt.y) y 275 modules/features2d/src/blobdetector.cpp if (binaryImage.at<uchar> (cvRound(center.location.y), cvRound(center.location.x)) != params.blobColor) y 105 modules/features2d/src/brisk.cpp float y; // x coordinate relative to center y 166 modules/features2d/src/brisk.cpp getAgastScore(int x, int y, int threshold) const; y 168 modules/features2d/src/brisk.cpp getAgastScore_5_8(int x, int y, int threshold) const; y 250 modules/features2d/src/brisk.cpp refine3D(const int layer, const int x_layer, const int y_layer, float& x, float& y, float& scale, bool& ismax) const; y 370 modules/features2d/src/brisk.cpp patternIterator->y = (float)(scaleList_[scale] * radiusList[ring] * sin(alpha + theta)); y 419 modules/features2d/src/brisk.cpp const float dy = patternPoints_[j].y - patternPoints_[i].y; y 458 modules/features2d/src/brisk.cpp const float yf = briskPoint.y + key_y; y 460 modules/features2d/src/brisk.cpp const int y = int(yf); y 473 modules/features2d/src/brisk.cpp const int r_y = (int)((yf - y) * 1024); y 476 modules/features2d/src/brisk.cpp const uchar* ptr = &image.at<uchar>(y, x); y 612 modules/features2d/src/brisk.cpp return (pt.x < minX) || (pt.x >= maxX) || (pt.y < minY) || (pt.y >= maxY); y 708 modules/features2d/src/brisk.cpp const float& y = kp.pt.y; y 715 modules/features2d/src/brisk.cpp *(pvalues++) = smoothedIntensity(image, _integral, x, y, scale, 0, i); y 772 modules/features2d/src/brisk.cpp *(pvalues++) = smoothedIntensity(image, _integral, x, y, scale, theta, i); y 891 modules/features2d/src/brisk.cpp if (!isMax2D(0, (int)point.x, (int)point.y)) y 896 modules/features2d/src/brisk.cpp int s_0_0 = l.getAgastScore(point.x - 1, point.y - 1, 1); y 897 modules/features2d/src/brisk.cpp int s_1_0 = l.getAgastScore(point.x, point.y - 1, 1); y 898 modules/features2d/src/brisk.cpp int s_2_0 = l.getAgastScore(point.x + 1, point.y - 1, 1); y 899 modules/features2d/src/brisk.cpp int s_2_1 = l.getAgastScore(point.x + 1, point.y, 1); y 900 modules/features2d/src/brisk.cpp int s_1_1 = l.getAgastScore(point.x, point.y, 1); y 901 modules/features2d/src/brisk.cpp int s_0_1 = l.getAgastScore(point.x - 1, point.y, 1); y 902 modules/features2d/src/brisk.cpp int s_0_2 = l.getAgastScore(point.x - 1, point.y + 1, 1); y 903 modules/features2d/src/brisk.cpp int s_1_2 = l.getAgastScore(point.x, point.y + 1, 1); y 904 modules/features2d/src/brisk.cpp int s_2_2 = l.getAgastScore(point.x + 1, point.y + 1, 1); y 909 modules/features2d/src/brisk.cpp keypoints.push_back(cv::KeyPoint(float(point.x) + delta_x, float(point.y) + delta_y, basicSize_, -1, max, 0)); y 916 modules/features2d/src/brisk.cpp float x, y, scale, score; y 927 modules/features2d/src/brisk.cpp if (!isMax2D(i, (int)point.x, (int)point.y)) y 932 modules/features2d/src/brisk.cpp getScoreMaxBelow(i, (int)point.x, (int)point.y, l.getAgastScore(point.x, point.y, safeThreshold_), ismax, dx, dy); y 937 modules/features2d/src/brisk.cpp int s_0_0 = l.getAgastScore(point.x - 1, point.y - 1, 1); y 938 modules/features2d/src/brisk.cpp int s_1_0 = l.getAgastScore(point.x, point.y - 1, 1); y 939 modules/features2d/src/brisk.cpp int s_2_0 = l.getAgastScore(point.x + 1, point.y - 1, 1); y 940 modules/features2d/src/brisk.cpp int s_2_1 = l.getAgastScore(point.x + 1, point.y, 1); y 941 modules/features2d/src/brisk.cpp int s_1_1 = l.getAgastScore(point.x, point.y, 1); y 942 modules/features2d/src/brisk.cpp int s_0_1 = l.getAgastScore(point.x - 1, point.y, 1); y 943 modules/features2d/src/brisk.cpp int s_0_2 = l.getAgastScore(point.x - 1, point.y + 1, 1); y 944 modules/features2d/src/brisk.cpp int s_1_2 = l.getAgastScore(point.x, point.y + 1, 1); y 945 modules/features2d/src/brisk.cpp int s_2_2 = l.getAgastScore(point.x + 1, point.y + 1, 1); y 952 modules/features2d/src/brisk.cpp (float(point.y) + delta_y) * l.scale() + l.offset(), basicSize_ * l.scale(), -1, max, i)); y 963 modules/features2d/src/brisk.cpp if (!isMax2D(i, (int)point.x, (int)point.y)) y 968 modules/features2d/src/brisk.cpp score = refine3D(i, (int)point.x, (int)point.y, x, y, scale, ismax); y 977 modules/features2d/src/brisk.cpp keypoints.push_back(cv::KeyPoint(x, y, basicSize_ * scale, -1, score, i)); y 1249 modules/features2d/src/brisk.cpp BriskScaleSpace::refine3D(const int layer, const int x_layer, const int y_layer, float& x, float& y, float& scale, y 1333 modules/features2d/src/brisk.cpp y = (r0 * delta_y_layer + r1 * delta_y_above + float(y_layer)) * thisLayer.scale() + thisLayer.offset(); y 1343 modules/features2d/src/brisk.cpp y = r0 * delta_y_layer + r_1 * delta_y_below + float(y_layer); y 1351 modules/features2d/src/brisk.cpp y = (r0 * delta_y_layer + r_1 * delta_y_below + float(y_layer)) * thisLayer.scale() + thisLayer.offset(); y 1386 modules/features2d/src/brisk.cpp y = (r0 * delta_y_layer + r1 * delta_y_above + float(y_layer)) * thisLayer.scale() + thisLayer.offset(); y 1394 modules/features2d/src/brisk.cpp y = (r0 * delta_y_layer + r_1 * delta_y_below + float(y_layer)) * thisLayer.scale() + thisLayer.offset(); y 1467 modules/features2d/src/brisk.cpp for (int y = (int)y_1 + 1; y <= int(y1); y++) y 1469 modules/features2d/src/brisk.cpp tmp_max = (float)layerAbove.getAgastScore(x_1, float(y), 1); y 1476 modules/features2d/src/brisk.cpp max_y = y; y 1480 modules/features2d/src/brisk.cpp tmp_max = (float)layerAbove.getAgastScore(x, y, 1); y 1487 modules/features2d/src/brisk.cpp max_y = y; y 1490 modules/features2d/src/brisk.cpp tmp_max = (float)layerAbove.getAgastScore(x1, float(y), 1); y 1497 modules/features2d/src/brisk.cpp max_y = y; y 1646 modules/features2d/src/brisk.cpp for (int y = (int)y_1 + 1; y <= int(y1); y++) y 1648 modules/features2d/src/brisk.cpp tmp_max = (float)layerBelow.getAgastScore(x_1, float(y), 1); y 1655 modules/features2d/src/brisk.cpp max_y = y; y 1659 modules/features2d/src/brisk.cpp tmp_max = (float)layerBelow.getAgastScore(x, y, 1); y 1665 modules/features2d/src/brisk.cpp * (layerBelow.getAgastScore(x - 1, y, 1) + layerBelow.getAgastScore(x + 1, y, 1) y 1666 modules/features2d/src/brisk.cpp + layerBelow.getAgastScore(x, y + 1, 1) + layerBelow.getAgastScore(x, y - 1, 1)) y 1667 modules/features2d/src/brisk.cpp + (layerBelow.getAgastScore(x + 1, y + 1, 1) + layerBelow.getAgastScore(x - 1, y + 1, 1) y 1668 modules/features2d/src/brisk.cpp + layerBelow.getAgastScore(x + 1, y - 1, 1) + layerBelow.getAgastScore(x - 1, y - 1, 1)); y 1679 modules/features2d/src/brisk.cpp max_y = y; y 1686 modules/features2d/src/brisk.cpp max_y = y; y 1689 modules/features2d/src/brisk.cpp tmp_max = (float)layerBelow.getAgastScore(x1, float(y), 1); y 1696 modules/features2d/src/brisk.cpp max_y = y; y 2114 modules/features2d/src/brisk.cpp scores_((int)keypoints[i].pt.y, (int)keypoints[i].pt.x) = saturate_cast<uchar>(keypoints[i].response); y 2118 modules/features2d/src/brisk.cpp BriskLayer::getAgastScore(int x, int y, int threshold) const y 2120 modules/features2d/src/brisk.cpp if (x < 3 || y < 3) y 2122 modules/features2d/src/brisk.cpp if (x >= img_.cols - 3 || y >= img_.rows - 3) y 2124 modules/features2d/src/brisk.cpp uchar& score = (uchar&)scores_(y, x); y 2129 modules/features2d/src/brisk.cpp score = (uchar)agast_cornerScore<AgastFeatureDetector::OAST_9_16>(&img_.at<uchar>(y, x), pixel_9_16_, threshold - 1); y 2136 modules/features2d/src/brisk.cpp BriskLayer::getAgastScore_5_8(int x, int y, int threshold) const y 2138 modules/features2d/src/brisk.cpp if (x < 2 || y < 2) y 2140 modules/features2d/src/brisk.cpp if (x >= img_.cols - 2 || y >= img_.rows - 2) y 2142 modules/features2d/src/brisk.cpp int score = agast_cornerScore<AgastFeatureDetector::AGAST_5_8>(&img_.at<uchar>(y, x), pixel_5_8_, threshold - 1); y 2157 modules/features2d/src/brisk.cpp const int y = int(yf); y 2158 modules/features2d/src/brisk.cpp const float ry1 = yf - float(y); y 2161 modules/features2d/src/brisk.cpp return (uchar)(rx * ry * getAgastScore(x, y, threshold_in) + rx1 * ry * getAgastScore(x + 1, y, threshold_in) y 2162 modules/features2d/src/brisk.cpp + rx * ry1 * getAgastScore(x, y + 1, threshold_in) + rx1 * ry1 * getAgastScore(x + 1, y + 1, threshold_in)); y 2171 modules/features2d/src/brisk.cpp for (int y = int(yf - halfscale); y <= int(yf + halfscale + 1.0f); y++) y 2173 modules/features2d/src/brisk.cpp getAgastScore(x, y, threshold_in); y 2188 modules/features2d/src/brisk.cpp const int y = cvFloor(yf); y 2201 modules/features2d/src/brisk.cpp const int r_y = (int)((yf - y) * 1024); y 2204 modules/features2d/src/brisk.cpp const uchar* ptr = image.ptr() + x + y * imagecols; y 56 modules/features2d/src/draw.cpp Point center( cvRound(p.pt.x * draw_multiplier), cvRound(p.pt.y * draw_multiplier) ); y 181 modules/features2d/src/draw.cpp dpt2 = Point2f( std::min(pt2.x+outImg1.size().width, float(outImg.size().width-1)), pt2.y ); y 184 modules/features2d/src/draw.cpp Point(cvRound(pt1.x*draw_multiplier), cvRound(pt1.y*draw_multiplier)), y 185 modules/features2d/src/draw.cpp Point(cvRound(dpt2.x*draw_multiplier), cvRound(dpt2.y*draw_multiplier)), y 85 modules/features2d/src/evaluation.cpp double z = H(2,0)*pt.x + H(2,1)*pt.y + H(2,2); y 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) ); y 97 modules/features2d/src/evaluation.cpp double p1 = H(0,0)*pt.x + H(0,1)*pt.y + H(0,2), y 98 modules/features2d/src/evaluation.cpp p2 = H(1,0)*pt.x + H(1,1)*pt.y + H(1,2), y 99 modules/features2d/src/evaluation.cpp p3 = H(2,0)*pt.x + H(2,1)*pt.y + H(2,2), y 233 modules/features2d/src/evaluation.cpp it->center.y + it->boundingBox.height < imgSize.height && y 234 modules/features2d/src/evaluation.cpp it->center.y - it->boundingBox.height > 0 ) y 268 modules/features2d/src/evaluation.cpp float ry2 = ry1 - diff.y; y 355 modules/features2d/src/evaluation.cpp int maxy = (int)ceil(( keypoint1a.boundingBox.height > (diff.y+keypoint2a.boundingBox.height)) ? y 356 modules/features2d/src/evaluation.cpp keypoint1a.boundingBox.height : (diff.y+keypoint2a.boundingBox.height)); y 357 modules/features2d/src/evaluation.cpp int miny = (int)floor((-keypoint1a.boundingBox.height < (diff.y-keypoint2a.boundingBox.height)) ? y 358 modules/features2d/src/evaluation.cpp -keypoint1a.boundingBox.height : (diff.y-keypoint2a.boundingBox.height)); y 447 modules/features2d/src/evaluation.cpp int y = overlaps[i].i1; y 449 modules/features2d/src/evaluation.cpp thresholdedOverlapMask->at<uchar>(y,x) = 1; y 534 modules/features2d/src/evaluation.cpp recall = recallPrecisionCurve[nearestPointIndex].y; y 256 modules/features2d/src/fast.cpp bool operator ()(const pt& a, const pt& b) const { return a.y < b.y || (a.y == b.y && a.x < b.x); } y 297 modules/features2d/src/fast.cpp keypoints.push_back(KeyPoint((float)pt[i].x, (float)pt[i].y, 7.f, -1, 1.f)); y 324 modules/features2d/src/fast.cpp keypoints.push_back(KeyPoint((float)pt2[i].x, (float)pt2[i].y, 7.f, -1, (float)pt2[i].z)); y 306 modules/features2d/src/kaze/AKAZEFeatures.cpp point.pt.y = static_cast<float>(ix); y 314 modules/features2d/src/kaze/AKAZEFeatures.cpp float disty = point.pt.y*ratio - kpts_aux[ik].pt.y; y 335 modules/features2d/src/kaze/AKAZEFeatures.cpp up_y = fRound(point.pt.y - smax*sigma_size_) - 1; y 336 modules/features2d/src/kaze/AKAZEFeatures.cpp down_y = fRound(point.pt.y + smax*sigma_size_) + 1; y 346 modules/features2d/src/kaze/AKAZEFeatures.cpp point.pt.y *= ratio; y 352 modules/features2d/src/kaze/AKAZEFeatures.cpp point.pt.y *= ratio; y 374 modules/features2d/src/kaze/AKAZEFeatures.cpp float disty = pt.pt.y - kpts_aux[j].pt.y; y 399 modules/features2d/src/kaze/AKAZEFeatures.cpp int x = 0, y = 0; y 407 modules/features2d/src/kaze/AKAZEFeatures.cpp y = fRound(kpts[i].pt.y / ratio); y 410 modules/features2d/src/kaze/AKAZEFeatures.cpp Dx = (0.5f)*(*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y)+x + 1) y 411 modules/features2d/src/kaze/AKAZEFeatures.cpp - *(evolution_[kpts[i].class_id].Ldet.ptr<float>(y)+x - 1)); y 412 modules/features2d/src/kaze/AKAZEFeatures.cpp Dy = (0.5f)*(*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y + 1) + x) y 413 modules/features2d/src/kaze/AKAZEFeatures.cpp - *(evolution_[kpts[i].class_id].Ldet.ptr<float>(y - 1) + x)); y 416 modules/features2d/src/kaze/AKAZEFeatures.cpp Dxx = (*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y)+x + 1) y 417 modules/features2d/src/kaze/AKAZEFeatures.cpp + *(evolution_[kpts[i].class_id].Ldet.ptr<float>(y)+x - 1) y 418 modules/features2d/src/kaze/AKAZEFeatures.cpp - 2.0f*(*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y)+x))); y 420 modules/features2d/src/kaze/AKAZEFeatures.cpp Dyy = (*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y + 1) + x) y 421 modules/features2d/src/kaze/AKAZEFeatures.cpp + *(evolution_[kpts[i].class_id].Ldet.ptr<float>(y - 1) + x) y 422 modules/features2d/src/kaze/AKAZEFeatures.cpp - 2.0f*(*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y)+x))); y 424 modules/features2d/src/kaze/AKAZEFeatures.cpp Dxy = (0.25f)*(*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y + 1) + x + 1) y 425 modules/features2d/src/kaze/AKAZEFeatures.cpp + (*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y - 1) + x - 1))) y 426 modules/features2d/src/kaze/AKAZEFeatures.cpp - (0.25f)*(*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y - 1) + x + 1) y 427 modules/features2d/src/kaze/AKAZEFeatures.cpp + (*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y + 1) + x - 1))); y 440 modules/features2d/src/kaze/AKAZEFeatures.cpp kpts[i].pt.y = y + dst(1); y 443 modules/features2d/src/kaze/AKAZEFeatures.cpp kpts[i].pt.y *= power; y 798 modules/features2d/src/kaze/AKAZEFeatures.cpp yf = kpt.pt.y / ratio; y 881 modules/features2d/src/kaze/AKAZEFeatures.cpp yf = kpt.pt.y / ratio; y 1005 modules/features2d/src/kaze/AKAZEFeatures.cpp yf = kpt.pt.y / ratio; y 1125 modules/features2d/src/kaze/AKAZEFeatures.cpp yf = kpt.pt.y / ratio; y 1408 modules/features2d/src/kaze/AKAZEFeatures.cpp float yf = kpt.pt.y / ratio; y 1446 modules/features2d/src/kaze/AKAZEFeatures.cpp float yf = kpt.pt.y / ratio; y 1539 modules/features2d/src/kaze/AKAZEFeatures.cpp float yf = kpt.pt.y / ratio; y 282 modules/features2d/src/kaze/KAZEFeatures.cpp point.pt.y = (float)ix; y 348 modules/features2d/src/kaze/KAZEFeatures.cpp dist = pow(kpts_par_[i][j].pt.x - kpts[ik].pt.x, 2) + pow(kpts_par_[i][j].pt.y - kpts[ik].pt.y, 2); y 368 modules/features2d/src/kaze/KAZEFeatures.cpp up_y = fRound(kpts_par_[i][j].pt.y - smax*kpts_par_[i][j].size); y 369 modules/features2d/src/kaze/KAZEFeatures.cpp down_y = fRound(kpts_par_[i][j].pt.y + smax*kpts_par_[i][j].size); y 400 modules/features2d/src/kaze/KAZEFeatures.cpp int x = 0, y = 0; y 412 modules/features2d/src/kaze/KAZEFeatures.cpp y = static_cast<int>(kpts_[i].pt.y); y 415 modules/features2d/src/kaze/KAZEFeatures.cpp Dx = (1.0f / (2.0f*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x + step) y 416 modules/features2d/src/kaze/KAZEFeatures.cpp - *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x - step)); y 417 modules/features2d/src/kaze/KAZEFeatures.cpp Dy = (1.0f / (2.0f*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y + step) + x) y 418 modules/features2d/src/kaze/KAZEFeatures.cpp - *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y - step) + x)); y 419 modules/features2d/src/kaze/KAZEFeatures.cpp Ds = 0.5f*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y)+x) y 420 modules/features2d/src/kaze/KAZEFeatures.cpp - *(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y)+x)); y 423 modules/features2d/src/kaze/KAZEFeatures.cpp Dxx = (1.0f / (step*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x + step) y 424 modules/features2d/src/kaze/KAZEFeatures.cpp + *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x - step) y 425 modules/features2d/src/kaze/KAZEFeatures.cpp - 2.0f*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x))); y 427 modules/features2d/src/kaze/KAZEFeatures.cpp Dyy = (1.0f / (step*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y + step) + x) y 428 modules/features2d/src/kaze/KAZEFeatures.cpp + *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y - step) + x) y 429 modules/features2d/src/kaze/KAZEFeatures.cpp - 2.0f*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x))); y 431 modules/features2d/src/kaze/KAZEFeatures.cpp Dss = *(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y)+x) y 432 modules/features2d/src/kaze/KAZEFeatures.cpp + *(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y)+x) y 433 modules/features2d/src/kaze/KAZEFeatures.cpp - 2.0f*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x)); y 435 modules/features2d/src/kaze/KAZEFeatures.cpp Dxy = (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y + step) + x + step) y 436 modules/features2d/src/kaze/KAZEFeatures.cpp + (*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y - step) + x - step))) y 437 modules/features2d/src/kaze/KAZEFeatures.cpp - (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y - step) + x + step) y 438 modules/features2d/src/kaze/KAZEFeatures.cpp + (*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y + step) + x - step))); y 440 modules/features2d/src/kaze/KAZEFeatures.cpp Dxs = (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y)+x + step) y 441 modules/features2d/src/kaze/KAZEFeatures.cpp + (*(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y)+x - step))) y 442 modules/features2d/src/kaze/KAZEFeatures.cpp - (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y)+x - step) y 443 modules/features2d/src/kaze/KAZEFeatures.cpp + (*(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y)+x + step))); y 445 modules/features2d/src/kaze/KAZEFeatures.cpp Dys = (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y + step) + x) y 446 modules/features2d/src/kaze/KAZEFeatures.cpp + (*(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y - step) + x))) y 447 modules/features2d/src/kaze/KAZEFeatures.cpp - (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y - step) + x) y 448 modules/features2d/src/kaze/KAZEFeatures.cpp + (*(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y + step) + x))); y 467 modules/features2d/src/kaze/KAZEFeatures.cpp kpts_[i].pt.y += *(dst.ptr<float>(1)); y 588 modules/features2d/src/kaze/KAZEFeatures.cpp yf = kpt.pt.y; y 677 modules/features2d/src/kaze/KAZEFeatures.cpp yf = kpt.pt.y; y 805 modules/features2d/src/kaze/KAZEFeatures.cpp yf = kpt.pt.y; y 936 modules/features2d/src/kaze/KAZEFeatures.cpp yf = kpt.pt.y; y 1088 modules/features2d/src/kaze/KAZEFeatures.cpp yf = kpt.pt.y; y 98 modules/features2d/src/kaze/nldiffusion_functions.cpp for (int y = 0; y < sz.height; y++) { y 100 modules/features2d/src/kaze/nldiffusion_functions.cpp const float* Lx_row = Lx.ptr<float>(y); y 101 modules/features2d/src/kaze/nldiffusion_functions.cpp const float* Ly_row = Ly.ptr<float>(y); y 102 modules/features2d/src/kaze/nldiffusion_functions.cpp float* dst_row = dst.ptr<float>(y); y 127 modules/features2d/src/kaze/nldiffusion_functions.cpp for(int y = 0; y < sz.height; y++) { y 128 modules/features2d/src/kaze/nldiffusion_functions.cpp const float *Lx_row = Lx.ptr<float>(y); y 129 modules/features2d/src/kaze/nldiffusion_functions.cpp const float *Ly_row = Ly.ptr<float>(y); y 130 modules/features2d/src/kaze/nldiffusion_functions.cpp float* dst_row = dst.ptr<float>(y); y 151 modules/features2d/src/kaze/nldiffusion_functions.cpp for (int y = 0; y < sz.height; y++) { y 153 modules/features2d/src/kaze/nldiffusion_functions.cpp const float* Lx_row = Lx.ptr<float>(y); y 154 modules/features2d/src/kaze/nldiffusion_functions.cpp const float* Ly_row = Ly.ptr<float>(y); y 155 modules/features2d/src/kaze/nldiffusion_functions.cpp float* dst_row = dst.ptr<float>(y); y 184 modules/features2d/src/kaze/nldiffusion_functions.cpp for (int y = 0; y < sz.height; y++) { y 186 modules/features2d/src/kaze/nldiffusion_functions.cpp const float* Lx_row = Lx.ptr<float>(y); y 187 modules/features2d/src/kaze/nldiffusion_functions.cpp const float* Ly_row = Ly.ptr<float>(y); y 188 modules/features2d/src/kaze/nldiffusion_functions.cpp float* dst_row = dst.ptr<float>(y); y 8 modules/features2d/src/kaze/utils.h inline float getAngle(float x, float y) { y 10 modules/features2d/src/kaze/utils.h if (x >= 0 && y >= 0) { y 11 modules/features2d/src/kaze/utils.h return atanf(y / x); y 14 modules/features2d/src/kaze/utils.h if (x < 0 && y >= 0) { y 15 modules/features2d/src/kaze/utils.h return static_cast<float>(CV_PI)-atanf(-y / x); y 18 modules/features2d/src/kaze/utils.h if (x < 0 && y < 0) { y 19 modules/features2d/src/kaze/utils.h return static_cast<float>(CV_PI)+atanf(y / x); y 22 modules/features2d/src/kaze/utils.h if (x >= 0 && y < 0) { y 23 modules/features2d/src/kaze/utils.h return static_cast<float>(2.0 * CV_PI) - atanf(-y / x); y 36 modules/features2d/src/kaze/utils.h inline float gaussian(float x, float y, float sigma) { y 37 modules/features2d/src/kaze/utils.h return expf(-(x*x + y*y) / (2.0f*sigma*sigma)); y 48 modules/features2d/src/kaze/utils.h inline void checkDescriptorLimits(int &x, int &y, int width, int height) { y 54 modules/features2d/src/kaze/utils.h if (y < 0) { y 55 modules/features2d/src/kaze/utils.h y = 0; y 62 modules/features2d/src/kaze/utils.h if (y > height - 1) { y 63 modules/features2d/src/kaze/utils.h y = height - 1; y 149 modules/features2d/src/keypoint.cpp return mask.at<uchar>( (int)(key_pt.pt.y + 0.5f), (int)(key_pt.pt.x + 0.5f) ) == 0; y 174 modules/features2d/src/keypoint.cpp if( kp1.pt.y != kp2.pt.y ) y 175 modules/features2d/src/keypoint.cpp return kp1.pt.y < kp2.pt.y; y 205 modules/features2d/src/keypoint.cpp if( kp1.pt.x != kp2.pt.x || kp1.pt.y != kp2.pt.y || y 225 modules/features2d/src/mser.cpp int y = pix/step; y 226 modules/features2d/src/mser.cpp int x = pix - y*step; y 230 modules/features2d/src/mser.cpp ymin = std::min(ymin, y); y 231 modules/features2d/src/mser.cpp ymax = std::max(ymax, y); y 233 modules/features2d/src/mser.cpp region[j] = Point(x, y); y 683 modules/features2d/src/mser.cpp static double ChiSquaredDistance( const uchar* x, const uchar* y ) y 685 modules/features2d/src/mser.cpp return (double)((x[0]-y[0])*(x[0]-y[0]))/(double)(x[0]+y[0]+1e-10)+ y 686 modules/features2d/src/mser.cpp (double)((x[1]-y[1])*(x[1]-y[1]))/(double)(x[1]+y[1]+1e-10)+ y 687 modules/features2d/src/mser.cpp (double)((x[2]-y[2])*(x[2]-y[2]))/(double)(x[2]+y[2]+1e-10); y 1004 modules/features2d/src/mser.cpp pt.y = (lpt->index)>>16; y 1007 modules/features2d/src/mser.cpp ymin = std::min(ymin, pt.y); y 1008 modules/features2d/src/mser.cpp ymax = std::max(ymax, pt.y); y 1075 modules/features2d/src/mser.cpp (mask.empty() || mask.at<uchar>(cvRound(rect.center.y), cvRound(rect.center.x)) != 0) ) y 81 modules/features2d/src/opencl/brute_force_match.cl # define DIST(x, y) {value_type d = fabs((x) - (y)); result += d.s0 + d.s1 + d.s2 + d.s3 + d.s4 + d.s5 + d.s6 + d.s7;} y 84 modules/features2d/src/opencl/brute_force_match.cl # define DIST(x, y) {value_type d = fabs((x) - (y)); result += d.s0 + d.s1 + d.s2 + d.s3;} y 87 modules/features2d/src/opencl/brute_force_match.cl # define DIST(x, y) result += fabs((x) - (y)) y 93 modules/features2d/src/opencl/brute_force_match.cl # define DIST(x, y) {value_type d = abs((x) - (y)); result += d.s0 + d.s1 + d.s2 + d.s3 + d.s4 + d.s5 + d.s6 + d.s7;} y 96 modules/features2d/src/opencl/brute_force_match.cl # define DIST(x, y) {value_type d = abs((x) - (y)); result += d.s0 + d.s1 + d.s2 + d.s3;} y 99 modules/features2d/src/opencl/brute_force_match.cl # define DIST(x, y) result += abs((x) - (y)) y 107 modules/features2d/src/opencl/brute_force_match.cl # define DIST(x, y) {value_type d = ((x) - (y)); result += dot(d.s0123, d.s0123) + dot(d.s4567, d.s4567);} y 110 modules/features2d/src/opencl/brute_force_match.cl # define DIST(x, y) {value_type d = ((x) - (y)); result += dot(d, d);} y 113 modules/features2d/src/opencl/brute_force_match.cl # define DIST(x, y) {value_type d = ((x) - (y)); result = mad(d, d, result);} y 125 modules/features2d/src/opencl/brute_force_match.cl # define DIST(x, y) result += popcount( (x) ^ (y) ) y 138 modules/features2d/src/opencl/fast.cl int y = kp_in[2 + 2*idx]; y 139 modules/features2d/src/opencl/fast.cl __global const uchar* img = _img + mad24(y, step, x + img_offset); y 144 modules/features2d/src/opencl/fast.cl (y < 4 || s > cornerScore(img-step, step)) != 2 ) y 147 modules/features2d/src/opencl/fast.cl (y >= rows - 4 || s > cornerScore(img+step, step)) + y 148 modules/features2d/src/opencl/fast.cl (x < 4 || y < 4 || s > cornerScore(img-step-1, step)) + y 149 modules/features2d/src/opencl/fast.cl (x >= cols - 4 || y < 4 || s > cornerScore(img-step+1, step)) + y 150 modules/features2d/src/opencl/fast.cl (x < 4 || y >= rows - 4 || s > cornerScore(img+step-1, step)) + y 151 modules/features2d/src/opencl/fast.cl (x >= cols - 4 || y >= rows - 4 || s > cornerScore(img+step+1, step)) == 6) y 157 modules/features2d/src/opencl/fast.cl kp_out[2 + 3*new_idx] = y; y 61 modules/features2d/src/opencl/orb.cl inline float fastAtan2( float y, float x ) y 63 modules/features2d/src/opencl/orb.cl float ax = fabs(x), ay = fabs(y); y 79 modules/features2d/src/opencl/orb.cl if( y < 0 ) y 153 modules/features2d/src/orb.cpp int y0 = cvRound(pts[ptidx].pt.y); y 156 modules/features2d/src/orb.cpp const uchar* ptr0 = ptr00 + (y0 - r + layerinfo[z].y)*step + x0 - r + layerinfo[z].x; y 184 modules/features2d/src/orb.cpp const uchar* center = &img.at<uchar>(cvRound(pts[ptidx].pt.y) + layer.y, cvRound(pts[ptidx].pt.x) + layer.x); y 231 modules/features2d/src/orb.cpp const uchar* center = &imagePyramid.at<uchar>(cvRound(kpt.pt.y*scale) + layer.y, y 233 modules/features2d/src/orb.cpp float x, y; y 240 modules/features2d/src/orb.cpp (x = pattern[idx].x*a - pattern[idx].y*b, \ y 241 modules/features2d/src/orb.cpp y = pattern[idx].x*b + pattern[idx].y*a, \ y 243 modules/features2d/src/orb.cpp iy = cvRound(y), \ y 247 modules/features2d/src/orb.cpp (x = pattern[idx].x*a - pattern[idx].y*b, \ y 248 modules/features2d/src/orb.cpp y = pattern[idx].x*b + pattern[idx].y*a, \ y 249 modules/features2d/src/orb.cpp ix = cvFloor(x), iy = cvFloor(y), \ y 250 modules/features2d/src/orb.cpp x -= ix, y -= iy, \ y 251 modules/features2d/src/orb.cpp cvRound(center[iy*step + ix]*(1-x)*(1-y) + center[(iy+1)*step + ix]*(1-x)*y + \ y 252 modules/features2d/src/orb.cpp center[iy*step + ix+1]*x*(1-y) + center[(iy+1)*step + ix+1]*x*y)) y 642 modules/features2d/src/orb.cpp pattern[i].y = rng.uniform(-patchSize/2, patchSize/2+1); y 734 modules/features2d/src/orb.cpp buf[i] = Vec3i(cvRound(src[i].pt.x), cvRound(src[i].pt.y), src[i].octave); y 757 modules/features2d/src/orb.cpp buf[i] = Vec4i(cvRound(src[i].pt.x*scale), cvRound(src[i].pt.y*scale), z, angle.i); y 1012 modules/features2d/src/orb.cpp level_ofs = Point(0, level_ofs.y + level_dy); y 1016 modules/features2d/src/orb.cpp Rect linfo(level_ofs.x + border, level_ofs.y + border, sz.width, sz.height); y 1018 modules/features2d/src/orb.cpp layerOfs[level] = linfo.y*bufSize.width + linfo.x; y 1021 modules/features2d/src/orb.cpp bufSize.height = level_ofs.y + level_dy; y 1035 modules/features2d/src/orb.cpp Rect wholeLinfo = Rect(linfo.x - border, linfo.y - border, wholeSize.width, wholeSize.height); y 126 modules/features2d/test/test_descriptors_regression.cpp for( int y = 0; y < validDescriptors.rows; y++ ) y 128 modules/features2d/test/test_descriptors_regression.cpp DistanceType dist = distance( validDescriptors.ptr<ValueType>(y), calcDescriptors.ptr<ValueType>(y), dimension ); y 94 modules/features2d/test/test_keypoints.cpp ts->printf(cvtest::TS::LOG, "KeyPoint::pt is out of image (x=%f, y=%f).\n", kp.pt.x, kp.pt.y); y 72 modules/features2d/test/test_orb.cpp int y = cvRound(kp->pt.y); y 75 modules/features2d/test/test_orb.cpp ASSERT_LE(0, y); y 77 modules/features2d/test/test_orb.cpp ASSERT_GT(image.rows, y); y 111 modules/features2d/test/test_rotation_and_scale_invariance.cpp dst[i] = KeyPoint(src[i].pt.x * scale, src[i].pt.y * scale, src[i].size * scale, src[i].angle); y 73 modules/flann/include/opencv2/flann/hdf5.h #define CHECK_ERROR(x,y) if ((x)<0) throw FLANNException((y)); y 88 modules/hal/include/opencv2/hal.hpp void fastAtan2(const float* y, const float* x, float* dst, int n, bool angleInDegrees); y 89 modules/hal/include/opencv2/hal.hpp void magnitude(const float* x, const float* y, float* dst, int n); y 90 modules/hal/include/opencv2/hal.hpp void magnitude(const double* x, const double* y, double* dst, int n); y 85 modules/hal/src/mathfuncs.cpp __m128 x = _mm_loadu_ps(X + i), y = _mm_loadu_ps(Y + i); y 86 modules/hal/src/mathfuncs.cpp __m128 ax = _mm_and_ps(x, absmask), ay = _mm_and_ps(y, absmask); y 104 modules/hal/src/mathfuncs.cpp mask = _mm_cmplt_ps(y, z); y 119 modules/hal/src/mathfuncs.cpp float32x4_t x = vld1q_f32(X + i), y = vld1q_f32(Y + i); y 120 modules/hal/src/mathfuncs.cpp float32x4_t ax = vabsq_f32(x), ay = vabsq_f32(y); y 131 modules/hal/src/mathfuncs.cpp a = vbslq_f32(vcltq_f32(y, z), vsubq_f32(_360, a), a); y 139 modules/hal/src/mathfuncs.cpp float x = X[i], y = Y[i]; y 140 modules/hal/src/mathfuncs.cpp float ax = std::abs(x), ay = std::abs(y); y 156 modules/hal/src/mathfuncs.cpp if( y < 0 ) y 163 modules/hal/src/mathfuncs.cpp void magnitude(const float* x, const float* y, float* mag, int len) y 168 modules/hal/src/mathfuncs.cpp IppStatus status = ippsMagnitude_32f(x, y, mag, len); y 184 modules/hal/src/mathfuncs.cpp v_float32x4 y0 = v_load(y + i), y1 = v_load(y + i + 4); y 194 modules/hal/src/mathfuncs.cpp float x0 = x[i], y0 = y[i]; y 199 modules/hal/src/mathfuncs.cpp void magnitude(const double* x, const double* y, double* mag, int len) y 204 modules/hal/src/mathfuncs.cpp IppStatus status = ippsMagnitude_64f(x, y, mag, len); y 220 modules/hal/src/mathfuncs.cpp v_float64x2 y0 = v_load(y + i), y1 = v_load(y + i + 2); y 230 modules/hal/src/mathfuncs.cpp double x0 = x[i], y0 = y[i]; y 444 modules/hal/src/mathfuncs.cpp void exp( const float *_x, float *y, int n ) y 472 modules/hal/src/mathfuncs.cpp bool y_aligned = (size_t)(void*)y % 16 == 0; y 553 modules/hal/src/mathfuncs.cpp _mm_store_ps(y + i, zf0); y 554 modules/hal/src/mathfuncs.cpp _mm_store_ps(y + i + 4, zf1); y 558 modules/hal/src/mathfuncs.cpp _mm_storeu_ps(y + i, zf0); y 559 modules/hal/src/mathfuncs.cpp _mm_storeu_ps(y + i + 4, zf1); y 614 modules/hal/src/mathfuncs.cpp y[i] = (float)x0; y 615 modules/hal/src/mathfuncs.cpp y[i + 1] = (float)x1; y 620 modules/hal/src/mathfuncs.cpp y[i + 2] = (float)x2; y 621 modules/hal/src/mathfuncs.cpp y[i + 3] = (float)x3; y 639 modules/hal/src/mathfuncs.cpp y[i] = (float)(buf[0].f * expTab[val0 & EXPTAB_MASK] * EXPPOLY(x0)); y 643 modules/hal/src/mathfuncs.cpp void exp( const double *_x, double *y, int n ) y 723 modules/hal/src/mathfuncs.cpp _mm_storeu_pd(y + i, zf0); y 724 modules/hal/src/mathfuncs.cpp _mm_storeu_pd(y + i + 2, zf1); y 782 modules/hal/src/mathfuncs.cpp y[i] = y0; y 783 modules/hal/src/mathfuncs.cpp y[i + 1] = y1; y 788 modules/hal/src/mathfuncs.cpp y[i + 2] = y2; y 789 modules/hal/src/mathfuncs.cpp y[i + 3] = y3; y 808 modules/hal/src/mathfuncs.cpp y[i] = buf[0].f * expTab[val0 & EXPTAB_MASK] * EXPPOLY( x0 ); y 1087 modules/hal/src/mathfuncs.cpp void log( const float *_x, float *y, int n ) y 1150 modules/hal/src/mathfuncs.cpp _mm_storeu_ps(y + i, yf0); y 1199 modules/hal/src/mathfuncs.cpp y[i] = (float) y0; y 1200 modules/hal/src/mathfuncs.cpp y[i + 1] = (float) y1; y 1207 modules/hal/src/mathfuncs.cpp y[i + 2] = (float) y2; y 1208 modules/hal/src/mathfuncs.cpp y[i + 3] = (float) y3; y 1227 modules/hal/src/mathfuncs.cpp y[i] = (float)y0; y 1231 modules/hal/src/mathfuncs.cpp void log( const double *x, double *y, int n ) y 1330 modules/hal/src/mathfuncs.cpp _mm_storeu_pd(y + i, yd0); y 1331 modules/hal/src/mathfuncs.cpp _mm_storeu_pd(y + i + 2, yd1); y 1389 modules/hal/src/mathfuncs.cpp y[i] = y0; y 1390 modules/hal/src/mathfuncs.cpp y[i + 1] = y1; y 1395 modules/hal/src/mathfuncs.cpp y[i + 2] = y2; y 1396 modules/hal/src/mathfuncs.cpp y[i + 3] = y3; y 1412 modules/hal/src/mathfuncs.cpp y[i] = y0; y 196 modules/highgui/include/opencv2/highgui.hpp typedef void (*MouseCallback)(int event, int x, int y, int flags, void* userdata); y 326 modules/highgui/include/opencv2/highgui.hpp CV_EXPORTS_W void moveWindow(const String& winname, int x, int y); y 138 modules/highgui/include/opencv2/highgui/highgui_c.h CVAPI(void) cvMoveWindow( const char* name, int x, int y ); y 199 modules/highgui/include/opencv2/highgui/highgui_c.h typedef void (CV_CDECL *CvMouseCallback )(int event, int x, int y, int flags, void* param); y 176 modules/highgui/src/window.cpp void cv::moveWindow( const String& winname, int x, int y ) y 178 modules/highgui/src/window.cpp cvMoveWindow( winname.c_str(), x, y ); y 121 modules/highgui/src/window_QT.cpp Q_ARG(QPoint, QPoint(org.x,org.y)), y 549 modules/highgui/src/window_QT.cpp CV_IMPL void cvMoveWindow(const char* name, int x, int y) y 558 modules/highgui/src/window_QT.cpp Q_ARG(int, y)); y 1067 modules/highgui/src/window_QT.cpp void GuiReceiver::moveWindow(QString name, int x, int y) y 1072 modules/highgui/src/window_QT.cpp w->move(x, y); y 2783 modules/highgui/src/window_QT.cpp param_matrixWorld.translate(delta.x(),delta.y()); y 2808 modules/highgui/src/window_QT.cpp matrixWorld_inv.map(center.x(),center.y(),&a,&b); y 2871 modules/highgui/src/window_QT.cpp matrixWorld_inv.map(pt.x(),pt.y(),&pfx,&pfy); y 2878 modules/highgui/src/window_QT.cpp mouseCoordinate.y(), flags, on_mouse_param ); y 2904 modules/highgui/src/window_QT.cpp mouseCoordinate.y()>=0 && y 2906 modules/highgui/src/window_QT.cpp mouseCoordinate.y()<image2Draw_qt.height()) y 2915 modules/highgui/src/window_QT.cpp .arg(mouseCoordinate.y())+ y 2927 modules/highgui/src/window_QT.cpp .arg(mouseCoordinate.y())+ y 2975 modules/highgui/src/window_QT.cpp pos_in_image.ry() = pos_in_image.y()/ratioY; y 2976 modules/highgui/src/window_QT.cpp QPoint point_in_image(pos_in_image.x() + 0.5f,pos_in_image.y() + 0.5f);// Add 0.5 for rounding y 2997 modules/highgui/src/window_QT.cpp painter->drawText(QRect(pos_in_view.x(),pos_in_view.y(),pixel_width,pixel_height/3), y 3002 modules/highgui/src/window_QT.cpp painter->drawText(QRect(pos_in_view.x(),pos_in_view.y()+pixel_height/3,pixel_width,pixel_height/3), y 3007 modules/highgui/src/window_QT.cpp painter->drawText(QRect(pos_in_view.x(),pos_in_view.y()+2*pixel_height/3,pixel_width,pixel_height/3), y 3015 modules/highgui/src/window_QT.cpp painter->drawText(QRect(pos_in_view.x(),pos_in_view.y(),pixel_width,pixel_height), y 3261 modules/highgui/src/window_QT.cpp mouseCallback(cv_event, pt.x(), pt.y(), flags, mouseData); y 125 modules/highgui/src/window_QT.h void moveWindow(QString name, int x, int y); y 446 modules/highgui/src/window_carbon.cpp CV_IMPL void cvMoveWindow( const char* name, int x, int y) y 462 modules/highgui/src/window_carbon.cpp MoveWindow(window->window, x, y, true); y 1034 modules/highgui/src/window_carbon.cpp ly = (int)point.y - window->trackbarheight - content.top + structure.top; /* minus la taille des trackbars */ y 171 modules/highgui/src/window_gtk.cpp attributes.y = allocation.y; y 176 modules/highgui/src/window_gtk.cpp attributes.y = widget->allocation.y; y 396 modules/highgui/src/window_gtk.cpp allocation->x, allocation->y, y 405 modules/highgui/src/window_gtk.cpp allocation->x, allocation->y, y 1356 modules/highgui/src/window_gtk.cpp CV_IMPL void cvMoveWindow( const char* name, int x, int y ) y 1373 modules/highgui/src/window_gtk.cpp gtk_window_move( GTK_WINDOW(window->frame), x, y ); y 1860 modules/highgui/src/window_gtk.cpp pt32f.y = cvRound(event_motion->y); y 1869 modules/highgui/src/window_gtk.cpp pt32f.y = cvRound(event_button->y); y 1908 modules/highgui/src/window_gtk.cpp pt.y = cvFloor( ((pt32f.y-y0)*image_widget->original_image->rows)/ y 1924 modules/highgui/src/window_gtk.cpp window->on_mouse( cv_event, pt.x, pt.y, flags, window->on_mouse_param ); y 312 modules/highgui/src/window_w32.cpp rect.x = rect.y = CW_USEDEFAULT; y 322 modules/highgui/src/window_w32.cpp RegQueryValueEx(hkey, "Top", NULL, &dwType, (BYTE*)&rect.y, &dwSize); y 328 modules/highgui/src/window_w32.cpp if( rect.y != (int)CW_USEDEFAULT && (rect.y < -200 || rect.y > 3000) ) y 329 modules/highgui/src/window_w32.cpp rect.y = 100; y 400 modules/highgui/src/window_w32.cpp RegSetValueEx(hkey, "Top", 0, REG_DWORD, (BYTE*)&rect.y, sizeof(rect.y)); y 456 modules/highgui/src/window_w32.cpp SetWindowPos(window->frame, HWND_TOP, position.x, position.y , position.width,position.height, SWP_NOZORDER | SWP_FRAMECHANGED); y 479 modules/highgui/src/window_w32.cpp position.x=mi.rcMonitor.left;position.y=mi.rcMonitor.top; y 483 modules/highgui/src/window_w32.cpp SetWindowPos(window->frame, HWND_TOP, position.x, position.y , position.width,position.height, SWP_NOZORDER | SWP_FRAMECHANGED); y 750 modules/highgui/src/window_w32.cpp rect.x, rect.y, rect.width, rect.height, 0, 0, hg_hinstance, 0 ); y 988 modules/highgui/src/window_w32.cpp p.y = rect->top; y 990 modules/highgui/src/window_w32.cpp OffsetRect( rect, p.x - rect->left, p.y - rect->top ); y 1286 modules/highgui/src/window_w32.cpp CV_IMPL void cvMoveWindow( const char* name, int x, int y ) y 1303 modules/highgui/src/window_w32.cpp MoveWindow( window->frame, x, y, rect.right - rect.left, rect.bottom - rect.top, TRUE); y 1336 modules/highgui/src/window_w32.cpp minmax->ptMinTrackSize.y = 100; y 1342 modules/highgui/src/window_w32.cpp minmax->ptMinTrackSize.y += window->toolbar.rows*(rect.bottom - rect.top); y 1390 modules/highgui/src/window_w32.cpp if (abs(pos->y - mi.rcMonitor.top) <= SNAP_DISTANCE) y 1391 modules/highgui/src/window_w32.cpp pos->y = mi.rcMonitor.top; // snap to top edge y 1393 modules/highgui/src/window_w32.cpp if (abs(pos->y + pos->cy - mi.rcMonitor.bottom) <= SNAP_DISTANCE) y 1394 modules/highgui/src/window_w32.cpp pos->y = mi.rcMonitor.bottom - pos->cy; // snap to bottom edge y 1420 modules/highgui/src/window_w32.cpp pt.y = GET_Y_LPARAM( lParam ); y 1430 modules/highgui/src/window_w32.cpp pt.y*size.cy/MAX(rect.bottom - rect.top,1), flags, y 1564 modules/highgui/src/window_w32.cpp pos->y = rect.top; y 1606 modules/highgui/src/window_w32.cpp pt.y = GET_Y_LPARAM( lParam ); y 1612 modules/highgui/src/window_w32.cpp window->on_mouse( event, pt.x, pt.y, flags, window->on_mouse_param ); y 1622 modules/highgui/src/window_w32.cpp pt.y*size.cy/MAX(rect.bottom - rect.top,1), flags, y 193 modules/imgcodecs/src/grfmt_bmp.cpp int y, width3 = m_width*nch; y 225 modules/imgcodecs/src/grfmt_bmp.cpp for( y = 0; y < m_height; y++, data += step ) y 239 modules/imgcodecs/src/grfmt_bmp.cpp for( y = 0; y < m_height; y++, data += step ) y 252 modules/imgcodecs/src/grfmt_bmp.cpp y = 0; y 294 modules/imgcodecs/src/grfmt_bmp.cpp int y_shift = m_height - y; y 306 modules/imgcodecs/src/grfmt_bmp.cpp y, m_height, x_shift3, y 310 modules/imgcodecs/src/grfmt_bmp.cpp y, m_height, x_shift3, y 313 modules/imgcodecs/src/grfmt_bmp.cpp if( y >= m_height ) y 327 modules/imgcodecs/src/grfmt_bmp.cpp for( y = 0; y < m_height; y++, data += step ) y 341 modules/imgcodecs/src/grfmt_bmp.cpp y = 0; y 350 modules/imgcodecs/src/grfmt_bmp.cpp int prev_y = y; y 358 modules/imgcodecs/src/grfmt_bmp.cpp y, m_height, len, y 362 modules/imgcodecs/src/grfmt_bmp.cpp y, m_height, len, y 365 modules/imgcodecs/src/grfmt_bmp.cpp line_end_flag = y - prev_y; y 369 modules/imgcodecs/src/grfmt_bmp.cpp int prev_y = y; y 380 modules/imgcodecs/src/grfmt_bmp.cpp line_end_flag = y - prev_y; y 385 modules/imgcodecs/src/grfmt_bmp.cpp int y_shift = m_height - y; y 397 modules/imgcodecs/src/grfmt_bmp.cpp if( y >= m_height ) y 402 modules/imgcodecs/src/grfmt_bmp.cpp y, m_height, x_shift3, y 406 modules/imgcodecs/src/grfmt_bmp.cpp y, m_height, x_shift3, y 409 modules/imgcodecs/src/grfmt_bmp.cpp if( y >= m_height ) y 414 modules/imgcodecs/src/grfmt_bmp.cpp if( y >= m_height ) y 425 modules/imgcodecs/src/grfmt_bmp.cpp for( y = 0; y < m_height; y++, data += step ) y 437 modules/imgcodecs/src/grfmt_bmp.cpp for( y = 0; y < m_height; y++, data += step ) y 449 modules/imgcodecs/src/grfmt_bmp.cpp for( y = 0; y < m_height; y++, data += step ) y 461 modules/imgcodecs/src/grfmt_bmp.cpp for( y = 0; y < m_height; y++, data += step ) y 554 modules/imgcodecs/src/grfmt_bmp.cpp for( int y = height - 1; y >= 0; y-- ) y 556 modules/imgcodecs/src/grfmt_bmp.cpp strm.putBytes( img.ptr(y), width ); y 120 modules/imgcodecs/src/grfmt_exr.cpp m_height = m_datawindow.max.y - m_datawindow.min.y + 1; y 224 modules/imgcodecs/src/grfmt_exr.cpp buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep, y 231 modules/imgcodecs/src/grfmt_exr.cpp buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 4, y 238 modules/imgcodecs/src/grfmt_exr.cpp buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 8, y 247 modules/imgcodecs/src/grfmt_exr.cpp buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep, y 250 modules/imgcodecs/src/grfmt_exr.cpp buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 4, y 253 modules/imgcodecs/src/grfmt_exr.cpp buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 8, y 263 modules/imgcodecs/src/grfmt_exr.cpp buffer - m_datawindow.min.x * 4 - m_datawindow.min.y * ystep, y 273 modules/imgcodecs/src/grfmt_exr.cpp buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep, y 280 modules/imgcodecs/src/grfmt_exr.cpp buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 4, y 287 modules/imgcodecs/src/grfmt_exr.cpp buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 8, y 301 modules/imgcodecs/src/grfmt_exr.cpp m_file->readPixels( m_datawindow.min.y, m_datawindow.max.y ); y 318 modules/imgcodecs/src/grfmt_exr.cpp int x, y; y 319 modules/imgcodecs/src/grfmt_exr.cpp for( y = m_datawindow.min.y; y <= m_datawindow.max.y; y++ ) y 321 modules/imgcodecs/src/grfmt_exr.cpp m_file->readPixels( y, y ); y 393 modules/imgcodecs/src/grfmt_exr.cpp for( int y = (m_height - 1) / ysample, yre = m_height - ysample; y >= 0; y--, yre -= ysample ) y 402 modules/imgcodecs/src/grfmt_exr.cpp data[(yre + i) * ystep + (xre + n) * xstep] = data[y * ystep + x * xstep]; y 404 modules/imgcodecs/src/grfmt_exr.cpp ((float *)data)[(yre + i) * ystep + (xre + n) * xstep] = ((float *)data)[y * ystep + x * xstep]; y 406 modules/imgcodecs/src/grfmt_exr.cpp ((unsigned *)data)[(yre + i) * ystep + (xre + n) * xstep] = ((unsigned *)data)[y * ystep + x * xstep]; y 437 modules/imgcodecs/src/grfmt_exr.cpp for( int y = m_height - ysample, yre = m_height - ysample; y >= 0; y -= ysample, yre -= ysample ) y 444 modules/imgcodecs/src/grfmt_exr.cpp data[(yre + i) * ystep + x * xstep] = data[y * ystep + x * xstep]; y 446 modules/imgcodecs/src/grfmt_exr.cpp ((float *)data)[(yre + i) * ystep + x * xstep] = ((float *)data)[y * ystep + x * xstep]; y 448 modules/imgcodecs/src/grfmt_exr.cpp ((unsigned *)data)[(yre + i) * ystep + x * xstep] = ((unsigned *)data)[y * ystep + x * xstep]; y 459 modules/imgcodecs/src/grfmt_exr.cpp for( int y = 0; y < numlines; y++ ) y 466 modules/imgcodecs/src/grfmt_exr.cpp b = ((uchar *)data)[y * step + x * 3]; y 467 modules/imgcodecs/src/grfmt_exr.cpp Y = ((uchar *)data)[y * step + x * 3 + 1]; y 468 modules/imgcodecs/src/grfmt_exr.cpp r = ((uchar *)data)[y * step + x * 3 + 2]; y 472 modules/imgcodecs/src/grfmt_exr.cpp b = data[y * step + x * 3]; y 473 modules/imgcodecs/src/grfmt_exr.cpp Y = data[y * step + x * 3 + 1]; y 474 modules/imgcodecs/src/grfmt_exr.cpp r = data[y * step + x * 3 + 2]; y 478 modules/imgcodecs/src/grfmt_exr.cpp b = ((unsigned *)data)[y * step + x * 3]; y 479 modules/imgcodecs/src/grfmt_exr.cpp Y = ((unsigned *)data)[y * step + x * 3 + 1]; y 480 modules/imgcodecs/src/grfmt_exr.cpp r = ((unsigned *)data)[y * step + x * 3 + 2]; y 488 modules/imgcodecs/src/grfmt_exr.cpp ((uchar *)data)[y * step + x * 3 + 0] = cv::saturate_cast<uchar>(b); y 489 modules/imgcodecs/src/grfmt_exr.cpp ((uchar *)data)[y * step + x * 3 + 1] = cv::saturate_cast<uchar>(Y); y 490 modules/imgcodecs/src/grfmt_exr.cpp ((uchar *)data)[y * step + x * 3 + 2] = cv::saturate_cast<uchar>(r); y 494 modules/imgcodecs/src/grfmt_exr.cpp data[y * step + x * 3] = (float)b; y 495 modules/imgcodecs/src/grfmt_exr.cpp data[y * step + x * 3 + 1] = (float)Y; y 496 modules/imgcodecs/src/grfmt_exr.cpp data[y * step + x * 3 + 2] = (float)r; y 501 modules/imgcodecs/src/grfmt_exr.cpp ((unsigned *)data)[y * step + x * 3 + 0] = (unsigned)MAX(t, 0); y 503 modules/imgcodecs/src/grfmt_exr.cpp ((unsigned *)data)[y * step + x * 3 + 1] = (unsigned)MAX(t, 0); y 505 modules/imgcodecs/src/grfmt_exr.cpp ((unsigned *)data)[y * step + x * 3 + 2] = (unsigned)MAX(t, 0); y 301 modules/imgcodecs/src/grfmt_gdal.cpp const int& y, y 306 modules/imgcodecs/src/grfmt_gdal.cpp write_pixel( pixelValue, gdalType, 1, image, y, x, c ); y 311 modules/imgcodecs/src/grfmt_gdal.cpp write_pixel( pixelValue, gdalType, 1, image, y, x, c ); y 323 modules/imgcodecs/src/grfmt_gdal.cpp write_pixel( r, gdalType, 4, image, y, x, 2 ); y 324 modules/imgcodecs/src/grfmt_gdal.cpp write_pixel( g, gdalType, 4, image, y, x, 1 ); y 325 modules/imgcodecs/src/grfmt_gdal.cpp write_pixel( b, gdalType, 4, image, y, x, 0 ); y 327 modules/imgcodecs/src/grfmt_gdal.cpp write_pixel( a, gdalType, 4, image, y, x, 1 ); y 333 modules/imgcodecs/src/grfmt_gdal.cpp write_pixel( pixelValue, gdalType, 1, image, y, x, c ); y 393 modules/imgcodecs/src/grfmt_gdal.cpp for( int y=0; y<nRows; y++ ){ y 396 modules/imgcodecs/src/grfmt_gdal.cpp band->RasterIO( GF_Read, 0, y, nCols, 1, scanline, nCols, 1, GDT_Float64, 0, 0); y 404 modules/imgcodecs/src/grfmt_gdal.cpp write_pixel( scanline[x], gdalType, nChannels, img, y, x, c ); y 407 modules/imgcodecs/src/grfmt_gdal.cpp write_ctable_pixel( scanline[x], gdalType, gdalColorTable, img, y, x, c ); y 99 modules/imgcodecs/src/grfmt_gdal.hpp const int& y, y 688 modules/imgcodecs/src/grfmt_jpeg.cpp for( int y = 0; y < height; y++ ) y 690 modules/imgcodecs/src/grfmt_jpeg.cpp uchar *data = img.data + img.step*y, *ptr = data; y 300 modules/imgcodecs/src/grfmt_jpeg2000.cpp int x, y, x1, y1, j; y 306 modules/imgcodecs/src/grfmt_jpeg2000.cpp for( y = 0; y < yend - ystart; ) y 308 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 ); y 309 modules/imgcodecs/src/grfmt_jpeg2000.cpp uchar* dst = data + (y - yoffset) * step - xoffset; y 340 modules/imgcodecs/src/grfmt_jpeg2000.cpp y1 = y + ystep; y 341 modules/imgcodecs/src/grfmt_jpeg2000.cpp for( ++y; y < y1; y++, dst += step ) y 364 modules/imgcodecs/src/grfmt_jpeg2000.cpp int x, y, x1, y1, j; y 370 modules/imgcodecs/src/grfmt_jpeg2000.cpp for( y = 0; y < yend - ystart; ) y 372 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 ); y 373 modules/imgcodecs/src/grfmt_jpeg2000.cpp ushort* dst = data + (y - yoffset) * step - xoffset; y 404 modules/imgcodecs/src/grfmt_jpeg2000.cpp y1 = y + ystep; y 405 modules/imgcodecs/src/grfmt_jpeg2000.cpp for( ++y; y < y1; y++, dst += step ) y 502 modules/imgcodecs/src/grfmt_jpeg2000.cpp for( int y = 0; y < h; y++ ) y 504 modules/imgcodecs/src/grfmt_jpeg2000.cpp const uchar* data = _img.ptr(y); y 509 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_image_writecmpt( img, i, 0, y, w, 1, row ); y 526 modules/imgcodecs/src/grfmt_jpeg2000.cpp for( int y = 0; y < h; y++ ) y 528 modules/imgcodecs/src/grfmt_jpeg2000.cpp const uchar* data = _img.ptr(y); y 533 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_image_writecmpt( img, i, 0, y, w, 1, row ); y 242 modules/imgcodecs/src/grfmt_png.cpp int y; y 283 modules/imgcodecs/src/grfmt_png.cpp for( y = 0; y < m_height; y++ ) y 284 modules/imgcodecs/src/grfmt_png.cpp buffer[y] = data + y*step; y 346 modules/imgcodecs/src/grfmt_png.cpp int y, width = img.cols, height = img.rows; y 427 modules/imgcodecs/src/grfmt_png.cpp for( y = 0; y < height; y++ ) y 428 modules/imgcodecs/src/grfmt_png.cpp buffer[y] = img.data + y*img.step; y 200 modules/imgcodecs/src/grfmt_pxm.cpp int i, x, y; y 232 modules/imgcodecs/src/grfmt_pxm.cpp for( y = 0; y < m_height; y++, data += step ) y 245 modules/imgcodecs/src/grfmt_pxm.cpp for( y = 0; y < m_height; y++, data += step ) y 261 modules/imgcodecs/src/grfmt_pxm.cpp for( y = 0; y < m_height; y++, data += step ) y 378 modules/imgcodecs/src/grfmt_pxm.cpp int x, y; y 419 modules/imgcodecs/src/grfmt_pxm.cpp for( y = 0; y < height; y++ ) y 421 modules/imgcodecs/src/grfmt_pxm.cpp const uchar* const data = img.ptr(y); y 165 modules/imgcodecs/src/grfmt_sunras.cpp int y; y 188 modules/imgcodecs/src/grfmt_sunras.cpp for( y = 0; y < m_height; y++, data += step ) y 202 modules/imgcodecs/src/grfmt_sunras.cpp y = 0; y 245 modules/imgcodecs/src/grfmt_sunras.cpp if( ++y >= m_height ) break; y 257 modules/imgcodecs/src/grfmt_sunras.cpp for( y = 0; y < m_height; y++, data += step ) y 270 modules/imgcodecs/src/grfmt_sunras.cpp y = 0; y 308 modules/imgcodecs/src/grfmt_sunras.cpp y, m_height, len, y 312 modules/imgcodecs/src/grfmt_sunras.cpp y, m_height, len, y 314 modules/imgcodecs/src/grfmt_sunras.cpp if( y >= m_height ) y 324 modules/imgcodecs/src/grfmt_sunras.cpp if( ++y >= m_height ) break; y 335 modules/imgcodecs/src/grfmt_sunras.cpp for( y = 0; y < m_height; y++, data += step ) y 354 modules/imgcodecs/src/grfmt_sunras.cpp for( y = 0; y < m_height; y++, data += step ) y 401 modules/imgcodecs/src/grfmt_sunras.cpp int y, width = img.cols, height = img.rows, channels = img.channels(); y 416 modules/imgcodecs/src/grfmt_sunras.cpp for( y = 0; y < height; y++ ) y 417 modules/imgcodecs/src/grfmt_sunras.cpp strm.putBytes( img.ptr(y), fileStep ); y 214 modules/imgcodecs/src/grfmt_tiff.cpp int x, y, i; y 258 modules/imgcodecs/src/grfmt_tiff.cpp for( y = 0; y < m_height; y += tile_height0, data += img.step*tile_height0 ) y 262 modules/imgcodecs/src/grfmt_tiff.cpp if( y + tile_height > m_height ) y 263 modules/imgcodecs/src/grfmt_tiff.cpp tile_height = m_height - y; y 278 modules/imgcodecs/src/grfmt_tiff.cpp ok = TIFFReadRGBAStrip( tif, y, (uint32*)buffer ); y 281 modules/imgcodecs/src/grfmt_tiff.cpp ok = TIFFReadRGBATile( tif, x, y, (uint32*)buffer ); y 602 modules/imgcodecs/src/grfmt_tiff.cpp for (int y = 0; y < height; ++y) y 608 modules/imgcodecs/src/grfmt_tiff.cpp memcpy(buffer, img.ptr(y), scanlineSize); y 615 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGR2RGB_8u_C3R( img.ptr(y), 0, buffer, 0, cvSize(width,1) ); y 617 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGR2RGB_16u_C3R( img.ptr<ushort>(y), 0, (ushort*)buffer, 0, cvSize(width,1) ); y 624 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGRA2RGBA_8u_C4R( img.ptr(y), 0, buffer, 0, cvSize(width,1) ); y 626 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGRA2RGBA_16u_C4R( img.ptr<ushort>(y), 0, (ushort*)buffer, 0, cvSize(width,1) ); y 637 modules/imgcodecs/src/grfmt_tiff.cpp int writeResult = TIFFWriteScanline(pTiffHandle, buffer, y, 0); y 742 modules/imgcodecs/src/grfmt_tiff.cpp int y = 0; y 751 modules/imgcodecs/src/grfmt_tiff.cpp int limit = y + rowsPerStrip; y 758 modules/imgcodecs/src/grfmt_tiff.cpp for( ; y < limit; y++ ) y 763 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGR2RGB_8u_C3R( img.ptr(y), 0, buffer, 0, cvSize(width,1) ); y 765 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGR2RGB_16u_C3R( img.ptr<ushort>(y), 0, (ushort*)buffer, 0, cvSize(width,1) ); y 772 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGRA2RGBA_8u_C4R( img.ptr(y), 0, buffer, 0, cvSize(width,1) ); y 774 modules/imgcodecs/src/grfmt_tiff.cpp icvCvt_BGRA2RGBA_16u_C4R( img.ptr<ushort>(y), 0, (ushort*)buffer, 0, cvSize(width,1) ); y 778 modules/imgcodecs/src/grfmt_tiff.cpp strm.putBytes( channels > 1 ? buffer : img.ptr(y), fileStep ); y 329 modules/imgcodecs/src/utils.cpp int c = cmyk[0], m = cmyk[1], y = cmyk[2], k = cmyk[3]; y 332 modules/imgcodecs/src/utils.cpp y = k - ((255 - y)*k>>8); y 333 modules/imgcodecs/src/utils.cpp bgr[2] = (uchar)c; bgr[1] = (uchar)m; bgr[0] = (uchar)y; y 349 modules/imgcodecs/src/utils.cpp int c = cmyk[0], m = cmyk[1], y = cmyk[2], k = cmyk[3]; y 352 modules/imgcodecs/src/utils.cpp y = k - ((255 - y)*k>>8); y 353 modules/imgcodecs/src/utils.cpp int t = descale( y*cB + m*cG + c*cR, SCALE ); y 403 modules/imgcodecs/src/utils.cpp int& y, int height, y 424 modules/imgcodecs/src/utils.cpp if( ++y >= height ) break; y 435 modules/imgcodecs/src/utils.cpp int& y, int height, y 456 modules/imgcodecs/src/utils.cpp if( ++y >= height ) break; y 112 modules/imgcodecs/src/utils.hpp int& y, int height, int count3, PaletteEntry clr ); y 114 modules/imgcodecs/src/utils.hpp int& y, int height, int count3, uchar clr ); y 286 modules/imgcodecs/test/test_drawing.cpp box.center.y = 200; y 337 modules/imgcodecs/test/test_drawing.cpp cvRectangle( &img, cvPoint( textOrg.x, textOrg.y + baseline), y 338 modules/imgcodecs/test/test_drawing.cpp cvPoint(textOrg.x + textSize.width, textOrg.y - textSize.height), cvScalar(0,0,255)); y 339 modules/imgcodecs/test/test_drawing.cpp cvLine( &img, cvPoint(textOrg.x, textOrg.y + font.thickness), y 340 modules/imgcodecs/test/test_drawing.cpp cvPoint(textOrg.x + textSize.width, textOrg.y + font.thickness), cvScalar(0, 0, 255)); y 353 modules/imgcodecs/test/test_drawing.cpp textOrg = cvPoint(textOrg.x,textOrg.y+textSize.height+dist); y 358 modules/imgcodecs/test/test_drawing.cpp textOrg = cvPoint(textOrg.x,textOrg.y+textSize.height+dist); y 363 modules/imgcodecs/test/test_drawing.cpp textOrg = cvPoint(textOrg.x,textOrg.y+textSize.height+dist); y 368 modules/imgcodecs/test/test_drawing.cpp textOrg = cvPoint(textOrg.x,textOrg.y+textSize.height+dist); y 373 modules/imgcodecs/test/test_drawing.cpp textOrg = cvPoint(textOrg.x,textOrg.y+textSize.height+dist + 180); y 378 modules/imgcodecs/test/test_drawing.cpp textOrg = cvPoint(textOrg.x,textOrg.y+textSize.height+dist); y 383 modules/imgcodecs/test/test_drawing.cpp textOrg = cvPoint(textOrg.x,textOrg.y+textSize.height+dist); y 389 modules/imgcodecs/test/test_drawing.cpp textOrg = cvPoint(textOrg.x,textOrg.y+textSize.height+dist); y 4227 modules/imgproc/include/opencv2/imgproc.hpp p.y = (int)((ptr - ptr0)/step); y 4228 modules/imgproc/include/opencv2/imgproc.hpp p.x = (int)(((ptr - ptr0) - p.y*step)/elemSize); y 588 modules/imgproc/misc/java/test/ImgprocTest.java MatOfPoint2f corners = new MatOfPoint2f(new Point(truthPosition.x + 1, truthPosition.y + 1)); y 49 modules/imgproc/src/_geom.h float dy = pt2.y - pt1.y; y 159 modules/imgproc/src/approx.cpp dy = array[i2].pt.y - array[i1].pt.y; y 165 modules/imgproc/src/approx.cpp dk_num = (pt0.x - array[i1].pt.x) * dy - (pt0.y - array[i1].pt.y) * dx; y 193 modules/imgproc/src/approx.cpp dy1 = array[i1].pt.y - pt0.y; y 195 modules/imgproc/src/approx.cpp dy2 = array[i2].pt.y - pt0.y; y 520 modules/imgproc/src/approx.cpp if( start_pt.x != end_pt.x || start_pt.y != end_pt.y ) y 550 modules/imgproc/src/approx.cpp dy = pt.y - start_pt.y; y 590 modules/imgproc/src/approx.cpp dy = end_pt.y - start_pt.y; y 597 modules/imgproc/src/approx.cpp dist = fabs((pt.y - start_pt.y) * dx - (pt.x - start_pt.x) * dy); y 646 modules/imgproc/src/approx.cpp dy = end_pt.y - start_pt.y; y 647 modules/imgproc/src/approx.cpp dist = fabs((pt.x - start_pt.x)*dy - (pt.y - start_pt.y)*dx); y 649 modules/imgproc/src/approx.cpp (pt.y - start_pt.y) * (end_pt.y - pt.y); y 66 modules/imgproc/src/blend.cpp for (int y = range.start; y < range.end; ++y) y 68 modules/imgproc/src/blend.cpp const float * const weights1_row = weights1->ptr<float>(y); y 69 modules/imgproc/src/blend.cpp const float * const weights2_row = weights2->ptr<float>(y); y 70 modules/imgproc/src/blend.cpp const T * const src1_row = src1->ptr<T>(y); y 71 modules/imgproc/src/blend.cpp const T * const src2_row = src2->ptr<T>(y); y 72 modules/imgproc/src/blend.cpp T * const dst_row = dst->ptr<T>(y); y 481 modules/imgproc/src/canny.cpp int y = std::abs(ys) << CANNY_SHIFT; y 485 modules/imgproc/src/canny.cpp if (y < tg22x) y 492 modules/imgproc/src/canny.cpp if (y > tg67x) y 884 modules/imgproc/src/canny.cpp int y = std::abs(ys) << CANNY_SHIFT; y 888 modules/imgproc/src/canny.cpp if (y < tg22x) y 895 modules/imgproc/src/canny.cpp if (y > tg67x) y 166 modules/imgproc/src/clahe.cpp tileROI.y = ty * tileSize_.height; y 285 modules/imgproc/src/clahe.cpp for (int y = range.start; y < range.end; ++y) y 287 modules/imgproc/src/clahe.cpp const T* srcRow = src_.ptr<T>(y); y 288 modules/imgproc/src/clahe.cpp T* dstRow = dst_.ptr<T>(y); y 290 modules/imgproc/src/clahe.cpp float tyf = y * inv_th - 0.5f; y 5260 modules/imgproc/src/color.cpp float y, fy; y 5263 modules/imgproc/src/color.cpp y = li / 903.3f; y 5264 modules/imgproc/src/color.cpp fy = 7.787f * y + 16.0f / 116.0f; y 5269 modules/imgproc/src/color.cpp y = fy * fy * fy; y 5282 modules/imgproc/src/color.cpp float ro = C0 * x + C1 * y + C2 * z; y 5283 modules/imgproc/src/color.cpp float go = C3 * x + C4 * y + C5 * z; y 5284 modules/imgproc/src/color.cpp float bo = C6 * x + C7 * y + C8 * z; y 6450 modules/imgproc/src/color.cpp uchar* y = dst_->ptr<uchar>(2*i); y 6469 modules/imgproc/src/color.cpp y[2*k + 0] = saturate_cast<uchar>(y00 >> ITUR_BT_601_SHIFT); y 6470 modules/imgproc/src/color.cpp y[2*k + 1] = saturate_cast<uchar>(y01 >> ITUR_BT_601_SHIFT); y 6471 modules/imgproc/src/color.cpp y[2*k + dst_->step + 0] = saturate_cast<uchar>(y10 >> ITUR_BT_601_SHIFT); y 6472 modules/imgproc/src/color.cpp y[2*k + dst_->step + 1] = saturate_cast<uchar>(y11 >> ITUR_BT_601_SHIFT); y 8420 modules/imgproc/src/color.cpp const uchar* y = src.ptr(); y 8421 modules/imgproc/src/color.cpp const uchar* uv = y + srcstep * dstSz.height; y 8425 modules/imgproc/src/color.cpp case 300: cvtYUV420sp2RGB<0, 0> (dst, srcstep, y, uv); break; y 8426 modules/imgproc/src/color.cpp case 301: cvtYUV420sp2RGB<0, 1> (dst, srcstep, y, uv); break; y 8427 modules/imgproc/src/color.cpp case 320: cvtYUV420sp2RGB<2, 0> (dst, srcstep, y, uv); break; y 8428 modules/imgproc/src/color.cpp case 321: cvtYUV420sp2RGB<2, 1> (dst, srcstep, y, uv); break; y 8429 modules/imgproc/src/color.cpp case 400: cvtYUV420sp2RGBA<0, 0>(dst, srcstep, y, uv); break; y 8430 modules/imgproc/src/color.cpp case 401: cvtYUV420sp2RGBA<0, 1>(dst, srcstep, y, uv); break; y 8431 modules/imgproc/src/color.cpp case 420: cvtYUV420sp2RGBA<2, 0>(dst, srcstep, y, uv); break; y 8432 modules/imgproc/src/color.cpp case 421: cvtYUV420sp2RGBA<2, 1>(dst, srcstep, y, uv); break; y 8455 modules/imgproc/src/color.cpp const uchar* y = src.ptr(); y 8456 modules/imgproc/src/color.cpp const uchar* u = y + srcstep * dstSz.height; y 8457 modules/imgproc/src/color.cpp const uchar* v = y + srcstep * (dstSz.height + dstSz.height/4) + (dstSz.width/2) * ((dstSz.height % 4)/2); y 8466 modules/imgproc/src/color.cpp case 30: cvtYUV420p2RGB<0>(dst, srcstep, y, u, v, ustepIdx, vstepIdx); break; y 8467 modules/imgproc/src/color.cpp case 32: cvtYUV420p2RGB<2>(dst, srcstep, y, u, v, ustepIdx, vstepIdx); break; y 8468 modules/imgproc/src/color.cpp case 40: cvtYUV420p2RGBA<0>(dst, srcstep, y, u, v, ustepIdx, vstepIdx); break; y 8469 modules/imgproc/src/color.cpp case 42: cvtYUV420p2RGBA<2>(dst, srcstep, y, u, v, ustepIdx, vstepIdx); break; y 63 modules/imgproc/src/connectedcomponents.cpp uint64 x, y; y 102 modules/imgproc/src/connectedcomponents.cpp integral.y += r; y 114 modules/imgproc/src/connectedcomponents.cpp centroid[1] = double(integral.y) / area; y 70 modules/imgproc/src/contours.cpp reader->deltas[i][1] = (schar) icvCodeDeltas[i].y; y 103 modules/imgproc/src/contours.cpp reader->pt.y = pt.y + icvCodeDeltas[code].y; y 221 modules/imgproc/src/contours.cpp scanner->pt.x = scanner->pt.y = 1; y 223 modules/imgproc/src/contours.cpp scanner->lnbd.y = 1; y 295 modules/imgproc/src/contours.cpp for( int y = 1; y < size.height - 1; y++, img += step ) y 587 modules/imgproc/src/contours.cpp pt.y += icvCodeDeltas[s].y; y 698 modules/imgproc/src/contours.cpp rect.y = rect.height = pt.y; y 766 modules/imgproc/src/contours.cpp if( pt.y < rect.y ) y 767 modules/imgproc/src/contours.cpp rect.y = pt.y; y 768 modules/imgproc/src/contours.cpp else if( pt.y > rect.height ) y 769 modules/imgproc/src/contours.cpp rect.height = pt.y; y 774 modules/imgproc/src/contours.cpp pt.y += icvCodeDeltas[s].y; y 784 modules/imgproc/src/contours.cpp rect.height -= rect.y - 1; y 888 modules/imgproc/src/contours.cpp rect.y = rect.height = pt.y; y 955 modules/imgproc/src/contours.cpp if( pt.y < rect.y ) y 956 modules/imgproc/src/contours.cpp rect.y = pt.y; y 957 modules/imgproc/src/contours.cpp else if( pt.y > rect.height ) y 958 modules/imgproc/src/contours.cpp rect.height = pt.y; y 963 modules/imgproc/src/contours.cpp pt.y += icvCodeDeltas[s].y; y 973 modules/imgproc/src/contours.cpp rect.height -= rect.y - 1; y 1002 modules/imgproc/src/contours.cpp int y = scanner->pt.y; y 1017 modules/imgproc/src/contours.cpp for( ; y < height; y++, img += step ) y 1068 modules/imgproc/src/contours.cpp if( mode == 0 && (is_hole || img0[lnbd.y * step + lnbd.x] > 0) ) y 1071 modules/imgproc/src/contours.cpp origin.y = y; y 1082 modules/imgproc/src/contours.cpp img0_i[lnbd.y * step_i + lnbd.x] : y 1083 modules/imgproc/src/contours.cpp (int)img0[lnbd.y * step + lnbd.x]) & 0x7f; y 1090 modules/imgproc/src/contours.cpp (unsigned) (lnbd.y - cur->rect.y) < (unsigned) cur->rect.height ) y 1095 modules/imgproc/src/contours.cpp icvTraceContour_32s( img0_i + par_info->origin.y * step_i + y 1099 modules/imgproc/src/contours.cpp icvTraceContour( img0 + par_info->origin.y * step + y 1144 modules/imgproc/src/contours.cpp origin.y + scanner->offset.y), y 1160 modules/imgproc/src/contours.cpp origin.y + scanner->offset.y), y 1172 modules/imgproc/src/contours.cpp origin.y + scanner->offset.y), y 1177 modules/imgproc/src/contours.cpp l_cinfo->rect.y -= scanner->offset.y; y 1217 modules/imgproc/src/contours.cpp scanner->pt.y = y; y 1235 modules/imgproc/src/contours.cpp lnbd.y = y + 1; y 1368 modules/imgproc/src/contours.cpp tmp.pt.y = 0; y 1407 modules/imgproc/src/contours.cpp tmp.pt.y = i; y 1673 modules/imgproc/src/contours.cpp if( offset.x != 0 || offset.y != 0 ) y 58 modules/imgproc/src/convhull.cpp array[start]->y == array[end]->y) ) y 73 modules/imgproc/src/convhull.cpp _Tp cury = array[pcur]->y; y 74 modules/imgproc/src/convhull.cpp _Tp nexty = array[pnext]->y; y 81 modules/imgproc/src/convhull.cpp _Tp ay = cury - array[pprev]->y; y 125 modules/imgproc/src/convhull.cpp { return p1->x < p2->x || (p1->x == p2->x && p1->y < p2->y); } y 164 modules/imgproc/src/convhull.cpp int y = pointer[i]->y; y 165 modules/imgproc/src/convhull.cpp if( pointer[miny_ind]->y > y ) y 167 modules/imgproc/src/convhull.cpp if( pointer[maxy_ind]->y < y ) y 176 modules/imgproc/src/convhull.cpp float y = pointerf[i]->y; y 177 modules/imgproc/src/convhull.cpp if( pointerf[miny_ind]->y > y ) y 179 modules/imgproc/src/convhull.cpp if( pointerf[maxy_ind]->y < y ) y 185 modules/imgproc/src/convhull.cpp pointer[0]->y == pointer[total-1]->y ) y 236 modules/imgproc/src/convhull.cpp pointer[check_idx]->y == pointer[stop_idx]->y) ) y 299 modules/imgproc/src/convhull.cpp double dy0 = pt1.y - pt0.y; y 316 modules/imgproc/src/convhull.cpp double dy = ptr[j].y - pt0.y; y 347 modules/imgproc/src/convhull.cpp _Tp dy0 = cur_pt.y - prev_pt.y; y 359 modules/imgproc/src/convhull.cpp dy = cur_pt.y - prev_pt.y; y 660 modules/imgproc/src/convhull.cpp dy0 = (double)hull_next->y - (double)hull_cur->y; y 680 modules/imgproc/src/convhull.cpp double dy = (double)cur->y - (double)hull_cur->y; y 201 modules/imgproc/src/corner.cpp double y = l1 - a; y 204 modules/imgproc/src/corner.cpp if( e + fabs(y) < 1e-4 ) y 206 modules/imgproc/src/corner.cpp y = b; y 209 modules/imgproc/src/corner.cpp if( e + fabs(y) < 1e-4 ) y 211 modules/imgproc/src/corner.cpp e = 1./(e + fabs(y) + FLT_EPSILON); y 212 modules/imgproc/src/corner.cpp x *= e, y *= e; y 216 modules/imgproc/src/corner.cpp double d = 1./std::sqrt(x*x + y*y + DBL_EPSILON); y 219 modules/imgproc/src/corner.cpp dst[6*j + 3] = (float)(y*d); y 222 modules/imgproc/src/corner.cpp y = l2 - a; y 225 modules/imgproc/src/corner.cpp if( e + fabs(y) < 1e-4 ) y 227 modules/imgproc/src/corner.cpp y = b; y 230 modules/imgproc/src/corner.cpp if( e + fabs(y) < 1e-4 ) y 232 modules/imgproc/src/corner.cpp e = 1./(e + fabs(y) + FLT_EPSILON); y 233 modules/imgproc/src/corner.cpp x *= e, y *= e; y 237 modules/imgproc/src/corner.cpp d = 1./std::sqrt(x*x + y*y + DBL_EPSILON); y 240 modules/imgproc/src/corner.cpp dst[6*j + 5] = (float)(y*d); y 71 modules/imgproc/src/cornersubpix.cpp float y = (float)(i - win.height)/win.height; y 72 modules/imgproc/src/cornersubpix.cpp float vy = std::exp(-y*y); y 139 modules/imgproc/src/cornersubpix.cpp cI2.y = (float)(cI.y - b*scale*bb1 + a*scale*bb2); y 140 modules/imgproc/src/cornersubpix.cpp err = (cI2.x - cI.x) * (cI2.x - cI.x) + (cI2.y - cI.y) * (cI2.y - cI.y); y 142 modules/imgproc/src/cornersubpix.cpp if( cI.x < 0 || cI.x >= src.cols || cI.y < 0 || cI.y >= src.rows ) y 149 modules/imgproc/src/cornersubpix.cpp if( fabs( cI.x - cT.x ) > win.width || fabs( cI.y - cT.y ) > win.height ) y 944 modules/imgproc/src/demosaicing.cpp for( int y = 2; y < size.height - 4; y++ ) y 946 modules/imgproc/src/demosaicing.cpp uchar* dstrow = dst + dststep*y + 6; y 949 modules/imgproc/src/demosaicing.cpp for( int dy = (y == 2 ? -1 : 1); dy <= 1; dy++ ) y 951 modules/imgproc/src/demosaicing.cpp ushort* brow = buf + ((y + dy - 1)%brows)*bufstep + 1; y 952 modules/imgproc/src/demosaicing.cpp srow = bayer + (y+dy)*bstep + 1; y 1026 modules/imgproc/src/demosaicing.cpp const ushort* brow0 = buf + ((y - 2) % brows)*bufstep + 2; y 1027 modules/imgproc/src/demosaicing.cpp const ushort* brow1 = buf + ((y - 1) % brows)*bufstep + 2; y 1028 modules/imgproc/src/demosaicing.cpp const ushort* brow2 = buf + (y % brows)*bufstep + 2; y 1030 modules/imgproc/src/demosaicing.cpp srow = bayer + y*bstep + 2; y 1447 modules/imgproc/src/demosaicing.cpp dst[dststep*y + 5 - i] = dst[dststep*y + 8 - i]; y 1448 modules/imgproc/src/demosaicing.cpp dst[dststep*y + (N - 2)*3 + i] = dst[dststep*y + (N - 3)*3 + i]; y 1497 modules/imgproc/src/demosaicing.cpp for (int y = range.start; y < range.end; ++y) y 216 modules/imgproc/src/deriv.cpp if (0 < offset.y) y 220 modules/imgproc/src/deriv.cpp if (offset.y + src.rows < size.height) y 919 modules/imgproc/src/deriv.cpp int y = fx->start(src), dsty = 0, dy = 0; y 921 modules/imgproc/src/deriv.cpp const uchar* sptr = src.ptr(y); y 610 modules/imgproc/src/distransform.cpp int x, y; y 631 modules/imgproc/src/distransform.cpp for( y = 1; y < height; y++ ) y 659 modules/imgproc/src/distransform.cpp for( y = height - 2; y >= 0; y-- ) y 89 modules/imgproc/src/drawing.cpp x1 = pt1.x; y1 = pt1.y; x2 = pt2.x; y2 = pt2.y; y 131 modules/imgproc/src/drawing.cpp pt1.y = (int)y1; y 133 modules/imgproc/src/drawing.cpp pt2.y = (int)y2; y 162 modules/imgproc/src/drawing.cpp (unsigned)pt1.y >= (unsigned)(img.rows) || y 163 modules/imgproc/src/drawing.cpp (unsigned)pt2.y >= (unsigned)(img.rows) ) y 177 modules/imgproc/src/drawing.cpp int dy = pt2.y - pt1.y; y 185 modules/imgproc/src/drawing.cpp pt1.y ^= (pt1.y ^ pt2.y) & s; y 193 modules/imgproc/src/drawing.cpp ptr = (uchar*)(img.data + pt1.y * istep + pt1.x * bt_pix0); y 307 modules/imgproc/src/drawing.cpp pt1.y -= XY_ONE*2; y 309 modules/imgproc/src/drawing.cpp pt2.y -= XY_ONE*2; y 319 modules/imgproc/src/drawing.cpp dy = pt2.y - pt1.y; y 333 modules/imgproc/src/drawing.cpp pt1.y ^= pt2.y & j; y 334 modules/imgproc/src/drawing.cpp pt2.y ^= pt1.y & j; y 335 modules/imgproc/src/drawing.cpp pt1.y ^= pt2.y & j; y 342 modules/imgproc/src/drawing.cpp pt1.y += (int) ((((int64) y_step) * j) >> XY_SHIFT) + (XY_ONE >> 1); y 357 modules/imgproc/src/drawing.cpp pt1.y ^= pt2.y & i; y 358 modules/imgproc/src/drawing.cpp pt2.y ^= pt1.y & i; y 359 modules/imgproc/src/drawing.cpp pt1.y ^= pt2.y & i; y 363 modules/imgproc/src/drawing.cpp pt2.y += XY_ONE; y 364 modules/imgproc/src/drawing.cpp ecount = (pt2.y >> XY_SHIFT) - (pt1.y >> XY_SHIFT); y 365 modules/imgproc/src/drawing.cpp j = -(pt1.y & (XY_ONE - 1)); y 371 modules/imgproc/src/drawing.cpp i = (pt1.y >> (XY_SHIFT - 7)) & 0x78; y 372 modules/imgproc/src/drawing.cpp j = (pt2.y >> (XY_SHIFT - 7)) & 0x78; y 413 modules/imgproc/src/drawing.cpp uchar *tptr = ptr + ((pt1.y >> XY_SHIFT) - 1) * step; y 417 modules/imgproc/src/drawing.cpp int a, dist = (pt1.y >> (XY_SHIFT - 5)) & 31; y 433 modules/imgproc/src/drawing.cpp pt1.y += y_step; y 441 modules/imgproc/src/drawing.cpp ptr += (pt1.y >> XY_SHIFT) * step; y 488 modules/imgproc/src/drawing.cpp uchar *tptr = ptr + ((pt1.y >> XY_SHIFT) - 1) * step; y 492 modules/imgproc/src/drawing.cpp int a, dist = (pt1.y >> (XY_SHIFT - 5)) & 31; y 508 modules/imgproc/src/drawing.cpp pt1.y += y_step; y 516 modules/imgproc/src/drawing.cpp ptr += (pt1.y >> XY_SHIFT) * step; y 571 modules/imgproc/src/drawing.cpp uchar *tptr = ptr + ((pt1.y >> XY_SHIFT) - 1) * step; y 575 modules/imgproc/src/drawing.cpp int a, dist = (pt1.y >> (XY_SHIFT - 5)) & 31; y 591 modules/imgproc/src/drawing.cpp pt1.y += y_step; y 599 modules/imgproc/src/drawing.cpp ptr += (pt1.y >> XY_SHIFT) * step; y 640 modules/imgproc/src/drawing.cpp int i, j, x, y; y 656 modules/imgproc/src/drawing.cpp dy = pt2.y - pt1.y; y 670 modules/imgproc/src/drawing.cpp pt1.y ^= pt2.y & j; y 671 modules/imgproc/src/drawing.cpp pt2.y ^= pt1.y & j; y 672 modules/imgproc/src/drawing.cpp pt1.y ^= pt2.y & j; y 685 modules/imgproc/src/drawing.cpp pt1.y ^= pt2.y & i; y 686 modules/imgproc/src/drawing.cpp pt2.y ^= pt1.y & i; y 687 modules/imgproc/src/drawing.cpp pt1.y ^= pt2.y & i; y 691 modules/imgproc/src/drawing.cpp ecount = (pt2.y - pt1.y) >> XY_SHIFT; y 695 modules/imgproc/src/drawing.cpp pt1.y += (XY_ONE >> 1); y 700 modules/imgproc/src/drawing.cpp x = (_x); y = (_y); \ y 702 modules/imgproc/src/drawing.cpp 0 <= y && y < size.height ) \ y 704 modules/imgproc/src/drawing.cpp tptr = ptr + y*step + x*3; \ y 711 modules/imgproc/src/drawing.cpp (pt2.y + (XY_ONE >> 1)) >> XY_SHIFT); y 719 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x, pt1.y >> XY_SHIFT); y 721 modules/imgproc/src/drawing.cpp pt1.y += y_step; y 727 modules/imgproc/src/drawing.cpp pt1.y >>= XY_SHIFT; y 731 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x >> XY_SHIFT, pt1.y); y 733 modules/imgproc/src/drawing.cpp pt1.y++; y 743 modules/imgproc/src/drawing.cpp x = (_x); y = (_y); \ y 745 modules/imgproc/src/drawing.cpp 0 <= y && y < size.height ) \ y 747 modules/imgproc/src/drawing.cpp tptr = ptr + y*step + x;\ y 752 modules/imgproc/src/drawing.cpp (pt2.y + (XY_ONE >> 1)) >> XY_SHIFT); y 760 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x, pt1.y >> XY_SHIFT); y 762 modules/imgproc/src/drawing.cpp pt1.y += y_step; y 768 modules/imgproc/src/drawing.cpp pt1.y >>= XY_SHIFT; y 772 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x >> XY_SHIFT, pt1.y); y 774 modules/imgproc/src/drawing.cpp pt1.y++; y 784 modules/imgproc/src/drawing.cpp x = (_x); y = (_y); \ y 786 modules/imgproc/src/drawing.cpp 0 <= y && y < size.height ) \ y 788 modules/imgproc/src/drawing.cpp tptr = ptr + y*step + x*pix_size;\ y 794 modules/imgproc/src/drawing.cpp (pt2.y + (XY_ONE >> 1)) >> XY_SHIFT); y 802 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x, pt1.y >> XY_SHIFT); y 804 modules/imgproc/src/drawing.cpp pt1.y += y_step; y 810 modules/imgproc/src/drawing.cpp pt1.y >>= XY_SHIFT; y 814 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x >> XY_SHIFT, pt1.y); y 816 modules/imgproc/src/drawing.cpp pt1.y++; y 927 modules/imgproc/src/drawing.cpp double cx = center.x, cy = center.y; y 962 modules/imgproc/src/drawing.cpp double x, y; y 970 modules/imgproc/src/drawing.cpp y = size_b * SinTable[angle]; y 972 modules/imgproc/src/drawing.cpp pt.x = cvRound( cx + x * alpha - y * beta ); y 973 modules/imgproc/src/drawing.cpp pt.y = cvRound( cy + x * beta + y * alpha ); y 1046 modules/imgproc/src/drawing.cpp int i, y, imin = 0, left = 0, right = 1, x1, x2; y 1062 modules/imgproc/src/drawing.cpp p0.y <<= XY_SHIFT - shift; y 1066 modules/imgproc/src/drawing.cpp ymin = ymax = v[0].y; y 1071 modules/imgproc/src/drawing.cpp if( p.y < ymin ) y 1073 modules/imgproc/src/drawing.cpp ymin = p.y; y 1077 modules/imgproc/src/drawing.cpp ymax = std::max( ymax, p.y ); y 1082 modules/imgproc/src/drawing.cpp p.y <<= XY_SHIFT - shift; y 1090 modules/imgproc/src/drawing.cpp pt0.y = p0.y >> XY_SHIFT; y 1092 modules/imgproc/src/drawing.cpp pt1.y = p.y >> XY_SHIFT; y 1114 modules/imgproc/src/drawing.cpp edge[0].ye = edge[1].ye = y = ymin; y 1118 modules/imgproc/src/drawing.cpp ptr += img.step*y; y 1122 modules/imgproc/src/drawing.cpp if( line_type < CV_AA || y < ymax || y == ymin ) y 1126 modules/imgproc/src/drawing.cpp if( y >= edge[i].ye ) y 1133 modules/imgproc/src/drawing.cpp ty = (v[idx].y + delta) >> shift; y 1134 modules/imgproc/src/drawing.cpp if( ty > y || edges == 0 ) y 1147 modules/imgproc/src/drawing.cpp if( y >= ye ) y 1151 modules/imgproc/src/drawing.cpp edge[i].dx = ((xe - xs)*2 + (ye - y)) / (2 * (ye - y)); y 1167 modules/imgproc/src/drawing.cpp if( y >= 0 ) y 1189 modules/imgproc/src/drawing.cpp while( ++y <= ymax ); y 1199 modules/imgproc/src/drawing.cpp int i, delta = offset.y + (shift ? 1 << (shift - 1) : 0); y 1202 modules/imgproc/src/drawing.cpp pt0.y = (pt0.y + delta) >> shift; y 1213 modules/imgproc/src/drawing.cpp pt1.y = (pt1.y + delta) >> shift; y 1217 modules/imgproc/src/drawing.cpp t0.y = pt0.y; t1.y = pt1.y; y 1225 modules/imgproc/src/drawing.cpp t0.y = pt0.y << XY_SHIFT; y 1226 modules/imgproc/src/drawing.cpp t1.y = pt1.y << XY_SHIFT; y 1230 modules/imgproc/src/drawing.cpp if( pt0.y == pt1.y ) y 1233 modules/imgproc/src/drawing.cpp if( pt0.y < pt1.y ) y 1235 modules/imgproc/src/drawing.cpp edge.y0 = pt0.y; y 1236 modules/imgproc/src/drawing.cpp edge.y1 = pt1.y; y 1241 modules/imgproc/src/drawing.cpp edge.y0 = pt1.y; y 1242 modules/imgproc/src/drawing.cpp edge.y1 = pt0.y; y 1245 modules/imgproc/src/drawing.cpp edge.dx = (pt1.x - pt0.x) / (pt1.y - pt0.y); y 1265 modules/imgproc/src/drawing.cpp int i, y, total = (int)edges.size(); y 1303 modules/imgproc/src/drawing.cpp for( y = e->y0; y < y_max; y++ ) y 1308 modules/imgproc/src/drawing.cpp int clipline = y < 0; y 1312 modules/imgproc/src/drawing.cpp while( last || e->y0 == y ) y 1314 modules/imgproc/src/drawing.cpp if( last && last->y1 == y ) y 1322 modules/imgproc/src/drawing.cpp if( last && (e->y0 > y || last->x < e->x) ) y 1344 modules/imgproc/src/drawing.cpp uchar *timg = img.ptr(y); y 1419 modules/imgproc/src/drawing.cpp center.y >= radius && center.y < size.height - radius; y 1427 modules/imgproc/src/drawing.cpp int y11 = center.y - dy, y12 = center.y + dy, y21 = center.y - dx, y22 = center.y + dx; y 1563 modules/imgproc/src/drawing.cpp p0.y <<= XY_SHIFT - shift; y 1565 modules/imgproc/src/drawing.cpp p1.y <<= XY_SHIFT - shift; y 1574 modules/imgproc/src/drawing.cpp p0.y = (p0.y + (XY_ONE>>1)) >> XY_SHIFT; y 1576 modules/imgproc/src/drawing.cpp p1.y = (p1.y + (XY_ONE>>1)) >> XY_SHIFT; y 1588 modules/imgproc/src/drawing.cpp double dx = (p0.x - p1.x)*INV_XY_ONE, dy = (p1.y - p0.y)*INV_XY_ONE; y 1597 modules/imgproc/src/drawing.cpp dp.y = cvRound( dx * r ); y 1600 modules/imgproc/src/drawing.cpp pt[0].y = p0.y + dp.y; y 1602 modules/imgproc/src/drawing.cpp pt[1].y = p0.y - dp.y; y 1604 modules/imgproc/src/drawing.cpp pt[2].y = p1.y - dp.y; y 1606 modules/imgproc/src/drawing.cpp pt[3].y = p1.y + dp.y; y 1619 modules/imgproc/src/drawing.cpp center.y = (p0.y + (XY_ONE>>1)) >> XY_SHIFT; y 1684 modules/imgproc/src/drawing.cpp const double angle = atan2( (double) pt1.y - pt2.y, (double) pt1.x - pt2.x ); y 1687 modules/imgproc/src/drawing.cpp cvRound(pt2.y + tipSize * sin(angle + CV_PI / 4))); y 1691 modules/imgproc/src/drawing.cpp p.y = cvRound(pt2.y + tipSize * sin(angle - CV_PI / 4)); y 1714 modules/imgproc/src/drawing.cpp pt[1].y = pt1.y; y 1717 modules/imgproc/src/drawing.cpp pt[3].y = pt2.y; y 1754 modules/imgproc/src/drawing.cpp center.y <<= XY_SHIFT - shift; y 1783 modules/imgproc/src/drawing.cpp center.y <<= XY_SHIFT - shift; y 1807 modules/imgproc/src/drawing.cpp cvRound(box.center.y*(1 << XY_SHIFT))); y 2109 modules/imgproc/src/drawing.cpp int view_y = (org.y << XY_SHIFT) + base_line*vscale; y 2123 modules/imgproc/src/drawing.cpp p.y = (uchar)ptr[1] - 'R'; y 2124 modules/imgproc/src/drawing.cpp int dx = p.y*hscale; y 2141 modules/imgproc/src/drawing.cpp p.y = (uchar)ptr[1] - 'R'; y 2143 modules/imgproc/src/drawing.cpp pts.push_back(Point(p.x*hscale + view_x, p.y*vscale + view_y)); y 2170 modules/imgproc/src/drawing.cpp p.y = (uchar)ptr[1] - 'R'; y 2171 modules/imgproc/src/drawing.cpp view_x += (p.y - p.x)*fontScale; y 2436 modules/imgproc/src/drawing.cpp pt.y += CodeDeltas[(int)code][1]; y 143 modules/imgproc/src/emd.cpp static float icvDistL2( const float *x, const float *y, void *user_param ); y 144 modules/imgproc/src/emd.cpp static float icvDistL1( const float *x, const float *y, void *user_param ); y 145 modules/imgproc/src/emd.cpp static float icvDistC( const float *x, const float *y, void *user_param ); y 1095 modules/imgproc/src/emd.cpp icvDistL1( const float *x, const float *y, void *user_param ) y 1102 modules/imgproc/src/emd.cpp double t = x[i] - y[i]; y 1110 modules/imgproc/src/emd.cpp icvDistL2( const float *x, const float *y, void *user_param ) y 1117 modules/imgproc/src/emd.cpp double t = x[i] - y[i]; y 1125 modules/imgproc/src/emd.cpp icvDistC( const float *x, const float *y, void *user_param ) y 1132 modules/imgproc/src/emd.cpp double t = fabs( x[i] - y[i] ); y 65 modules/imgproc/src/featureselect.cpp short y; y 196 modules/imgproc/src/featureselect.cpp int y_cell = c.y / cell_size; y 219 modules/imgproc/src/featureselect.cpp float dy = c.y - m[j].y; y 234 modules/imgproc/src/featureselect.cpp grid[y_cell*grid_width + x_cell].push_back(Point2f((float)c.x, (float)c.y)); y 236 modules/imgproc/src/featureselect.cpp corners.push_back(Point2f((float)c.x, (float)c.y)); y 250 modules/imgproc/src/featureselect.cpp corners.push_back(Point2f((float)c.x, (float)c.y)); y 299 modules/imgproc/src/featureselect.cpp for( int y = 1; y < imgsize.height - 1; y++ ) y 301 modules/imgproc/src/featureselect.cpp const float* eig_data = (const float*)eig.ptr(y); y 302 modules/imgproc/src/featureselect.cpp const float* tmp_data = (const float*)tmp.ptr(y); y 303 modules/imgproc/src/featureselect.cpp const uchar* mask_data = mask.data ? mask.ptr(y) : 0; y 334 modules/imgproc/src/featureselect.cpp int y = (int)(ofs / eig.step); y 335 modules/imgproc/src/featureselect.cpp int x = (int)((ofs - y*eig.step)/sizeof(float)); y 340 modules/imgproc/src/featureselect.cpp int y_cell = y / cell_size; y 363 modules/imgproc/src/featureselect.cpp float dy = y - m[j].y; y 378 modules/imgproc/src/featureselect.cpp grid[y_cell*grid_width + x_cell].push_back(Point2f((float)x, (float)y)); y 380 modules/imgproc/src/featureselect.cpp corners.push_back(Point2f((float)x, (float)y)); y 393 modules/imgproc/src/featureselect.cpp int y = (int)(ofs / eig.step); y 394 modules/imgproc/src/featureselect.cpp int x = (int)((ofs - y*eig.step)/sizeof(float)); y 396 modules/imgproc/src/featureselect.cpp corners.push_back(Point2f((float)x, (float)y)); y 139 modules/imgproc/src/filter.cpp 0 <= anchor.y && anchor.y < ksize.height ); y 167 modules/imgproc/src/filter.cpp CV_Assert( roi.x >= 0 && roi.y >= 0 && roi.width >= 0 && roi.height >= 0 && y 169 modules/imgproc/src/filter.cpp roi.y + roi.height <= wholeSize.height ); y 177 modules/imgproc/src/filter.cpp _maxBufRows = std::max(_maxBufRows, std::max(anchor.y, ksize.height-anchor.y-1)*2+1); y 252 modules/imgproc/src/filter.cpp startY = startY0 = std::max(roi.y - anchor.y, 0); y 253 modules/imgproc/src/filter.cpp endY = std::min(roi.y + roi.height + ksize.height - anchor.y - 1, wholeSize.height); y 271 modules/imgproc/src/filter.cpp CV_Assert( srcRoi.x >= 0 && srcRoi.y >= 0 && y 274 modules/imgproc/src/filter.cpp srcRoi.y + srcRoi.height <= src.rows ); y 282 modules/imgproc/src/filter.cpp return startY - ofs.y; y 307 modules/imgproc/src/filter.cpp int kheight = ksize.height, ay = anchor.y; y 322 modules/imgproc/src/filter.cpp int dcount = bufRows - ay - startY - rowCount + roi.y; y 368 modules/imgproc/src/filter.cpp int srcY = borderInterpolate(dstY + dy + i + roi.y - ay, y 408 modules/imgproc/src/filter.cpp CV_Assert( dstOfs.x >= 0 && dstOfs.y >= 0 && y 410 modules/imgproc/src/filter.cpp dstOfs.y + srcRoi.height <= dst.rows ); y 412 modules/imgproc/src/filter.cpp int y = start(src, srcRoi, isolated); y 413 modules/imgproc/src/filter.cpp proceed( src.ptr() + y*src.step + srcRoi.x*src.elemSize(), y 415 modules/imgproc/src/filter.cpp dst.ptr(dstOfs.y) + y 439 modules/imgproc/src/filter.cpp anchor.y*2 + 1 == _kernel.rows ) y 3791 modules/imgproc/src/filter.cpp if( _anchor.y < 0 ) y 3792 modules/imgproc/src/filter.cpp _anchor.y = csize/2; y 3796 modules/imgproc/src/filter.cpp _columnKernel.rows == 1 ? Point(_anchor.y, 0) : Point(0, _anchor.y)); y 3834 modules/imgproc/src/filter.cpp _bufType, _dstType, columnKernel, _anchor.y, ctype, _delta, bits ); y 3934 modules/imgproc/src/filter.cpp kp[k] = (const ST*)src[pt[k].y] + pt[k].x*cn; y 3996 modules/imgproc/src/filter.cpp for (int y = 0; y < kernel.rows; y++) y 3998 modules/imgproc/src/filter.cpp data[x * size_y_aligned + y] = _kernel.at<T>(y, x); y 3999 modules/imgproc/src/filter.cpp data[x * size_y_aligned + y + kernel.rows] = _kernel.at<T>(y, x); y 4019 modules/imgproc/src/filter.cpp if (anchor.y < 0) y 4020 modules/imgproc/src/filter.cpp anchor.y = ksize.height / 2; y 4103 modules/imgproc/src/filter.cpp cn, anchor.x, anchor.y, ksize.width, ksize.height, y 4132 modules/imgproc/src/filter.cpp int requiredTop = anchor.y; y 4134 modules/imgproc/src/filter.cpp int requiredBottom = ksize.height - 1 - anchor.y; y 4148 modules/imgproc/src/filter.cpp (int)BLOCK_SIZE, cn, anchor.x, anchor.y, y 4249 modules/imgproc/src/filter.cpp srcOffset.y, src.cols, src.rows, srcWholeSize.width, srcWholeSize.height, y 4254 modules/imgproc/src/filter.cpp srcOffset.y, src.cols, src.rows, srcWholeSize.width, srcWholeSize.height, y 4386 modules/imgproc/src/filter.cpp if (anchor.y < 0) y 4387 modules/imgproc/src/filter.cpp anchor.y = kernelY.cols >> 1; y 4392 modules/imgproc/src/filter.cpp kernelY.rows == 1 ? Point(anchor.y, 0) : Point(0, anchor.y)); y 4418 modules/imgproc/src/filter.cpp imgSize.height > optimizedSepFilterLocalHeight + anchor.y && y 4441 modules/imgproc/src/filter.cpp return ocl_sepColFilter2D(buf, dst, kernelY, delta, anchor.y, int_arithm); y 361 modules/imgproc/src/filterengine.hpp if( anchor.y == -1 ) y 362 modules/imgproc/src/filterengine.hpp anchor.y = ksize.height/2; y 54 modules/imgproc/src/floodfill.cpp ushort y; y 70 modules/imgproc/src/floodfill.cpp tail->y = (ushort)(Y); \ y 88 modules/imgproc/src/floodfill.cpp Y = tail->y; \ y 134 modules/imgproc/src/floodfill.cpp _Tp* img = image.ptr<_Tp>(seed.y); y 138 modules/imgproc/src/floodfill.cpp int XMin, XMax, YMin = seed.y, YMax = seed.y; y 156 modules/imgproc/src/floodfill.cpp ICV_PUSH( seed.y, L, R, R + 1, R, UP ); y 214 modules/imgproc/src/floodfill.cpp region->rect.y = YMin; y 288 modules/imgproc/src/floodfill.cpp _Tp* img = (_Tp*)(pImage + step*seed.y); y 290 modules/imgproc/src/floodfill.cpp _MTp* mask = (_MTp*)(pMask + maskStep*seed.y); y 293 modules/imgproc/src/floodfill.cpp int XMin, XMax, YMin = seed.y, YMax = seed.y; y 326 modules/imgproc/src/floodfill.cpp ICV_PUSH( seed.y, L, R, R + 1, R, UP ); y 446 modules/imgproc/src/floodfill.cpp region->rect.y = YMin; y 507 modules/imgproc/src/floodfill.cpp (unsigned)seedPoint.y >= (unsigned)size.height ) y 517 modules/imgproc/src/floodfill.cpp const uchar* seed_ptr = img.ptr(seedPoint.y) + elem_size*seedPoint.x; y 81 modules/imgproc/src/gabor.cpp for( int y = ymin; y <= ymax; y++ ) y 84 modules/imgproc/src/gabor.cpp double xr = x*c + y*s; y 85 modules/imgproc/src/gabor.cpp double yr = -x*s + y*c; y 89 modules/imgproc/src/gabor.cpp kernel.at<float>(ymax - y, xmax - x) = (float)v; y 91 modules/imgproc/src/gabor.cpp kernel.at<double>(ymax - y, xmax - x) = v; y 253 modules/imgproc/src/generalized_hough.cpp const int yCell = static_cast<int>(p.y / cellSize); y 390 modules/imgproc/src/generalized_hough.cpp for (int y = 0; y < templSize_.height; ++y) y 392 modules/imgproc/src/generalized_hough.cpp const uchar* edgesRow = templEdges_.ptr(y); y 393 modules/imgproc/src/generalized_hough.cpp const float* dxRow = templDx_.ptr<float>(y); y 394 modules/imgproc/src/generalized_hough.cpp const float* dyRow = templDy_.ptr<float>(y); y 398 modules/imgproc/src/generalized_hough.cpp const Point p(x, y); y 433 modules/imgproc/src/generalized_hough.cpp for (int y = 0; y < imageSize_.height; ++y) y 435 modules/imgproc/src/generalized_hough.cpp const uchar* edgesRow = imageEdges_.ptr(y); y 436 modules/imgproc/src/generalized_hough.cpp const float* dxRow = imageDx_.ptr<float>(y); y 437 modules/imgproc/src/generalized_hough.cpp const float* dyRow = imageDy_.ptr<float>(y); y 441 modules/imgproc/src/generalized_hough.cpp const Point p(x, y); y 455 modules/imgproc/src/generalized_hough.cpp c.y = cvRound(c.y * idp); y 457 modules/imgproc/src/generalized_hough.cpp if (c.x >= 0 && c.x < cols && c.y >= 0 && c.y < rows) y 458 modules/imgproc/src/generalized_hough.cpp ++hist_.at<int>(c.y + 1, c.x + 1); y 472 modules/imgproc/src/generalized_hough.cpp for(int y = 0; y < histRows; ++y) y 474 modules/imgproc/src/generalized_hough.cpp const int* prevRow = hist_.ptr<int>(y); y 475 modules/imgproc/src/generalized_hough.cpp const int* curRow = hist_.ptr<int>(y + 1); y 476 modules/imgproc/src/generalized_hough.cpp const int* nextRow = hist_.ptr<int>(y + 2); y 484 modules/imgproc/src/generalized_hough.cpp posOutBuf_.push_back(Vec4f(static_cast<float>(x * dp_), static_cast<float>(y * dp_), 1.0f, 0.0f)); y 713 modules/imgproc/src/generalized_hough.cpp f.alpha12 = clampAngle(fastAtan2((float)d.y, (float)d.x) - p1.theta); y 740 modules/imgproc/src/generalized_hough.cpp for (int y = 0; y < edges.rows; ++y) y 742 modules/imgproc/src/generalized_hough.cpp const uchar* edgesRow = edges.ptr(y); y 743 modules/imgproc/src/generalized_hough.cpp const float* dxRow = dx.ptr<float>(y); y 744 modules/imgproc/src/generalized_hough.cpp const float* dyRow = dy.ptr<float>(y); y 752 modules/imgproc/src/generalized_hough.cpp p.pos = Point2d(x, y); y 894 modules/imgproc/src/generalized_hough.cpp templF.r1 = Point2d(cosVal * templF.r1.x - sinVal * templF.r1.y, sinVal * templF.r1.x + cosVal * templF.r1.y); y 895 modules/imgproc/src/generalized_hough.cpp templF.r2 = Point2d(cosVal * templF.r2.x - sinVal * templF.r2.y, sinVal * templF.r2.x + cosVal * templF.r2.y); y 911 modules/imgproc/src/generalized_hough.cpp if (fabs(c1.x - c2.x) > 1 || fabs(c1.y - c2.y) > 1) y 914 modules/imgproc/src/generalized_hough.cpp if (c1.y >= 0 && c1.y < histRows && c1.x >= 0 && c1.x < histCols) y 915 modules/imgproc/src/generalized_hough.cpp ++DHist.at<int>(cvRound(c1.y) + 1, cvRound(c1.x) + 1); y 921 modules/imgproc/src/generalized_hough.cpp for(int y = 0; y < histRows; ++y) y 923 modules/imgproc/src/generalized_hough.cpp const int* prevRow = DHist.ptr<int>(y); y 924 modules/imgproc/src/generalized_hough.cpp const int* curRow = DHist.ptr<int>(y + 1); y 925 modules/imgproc/src/generalized_hough.cpp const int* nextRow = DHist.ptr<int>(y + 2); y 933 modules/imgproc/src/generalized_hough.cpp posOutBuf_.push_back(Vec4f(static_cast<float>(x * dp_), static_cast<float>(y * dp_), static_cast<float>(scale), static_cast<float>(angle))); y 64 modules/imgproc/src/geometry.cpp max_rect.y = a = rect1->y; y 65 modules/imgproc/src/geometry.cpp b = rect2->y; y 66 modules/imgproc/src/geometry.cpp if( max_rect.y > b ) y 67 modules/imgproc/src/geometry.cpp max_rect.y = b; y 74 modules/imgproc/src/geometry.cpp max_rect.height -= max_rect.y; y 105 modules/imgproc/src/geometry.cpp Point ip(cvRound(pt.x), cvRound(pt.y)); y 113 modules/imgproc/src/geometry.cpp if( !is_float && !measureDist && ip.x == pt.x && ip.y == pt.y ) y 124 modules/imgproc/src/geometry.cpp if( (v0.y <= ip.y && v.y <= ip.y) || y 125 modules/imgproc/src/geometry.cpp (v0.y > ip.y && v.y > ip.y) || y 128 modules/imgproc/src/geometry.cpp if( ip.y == v.y && (ip.x == v.x || (ip.y == v0.y && y 134 modules/imgproc/src/geometry.cpp dist = (ip.y - v0.y)*(v.x - v0.x) - (ip.x - v0.x)*(v.y - v0.y); y 137 modules/imgproc/src/geometry.cpp if( v.y < v0.y ) y 169 modules/imgproc/src/geometry.cpp if( (v0.y <= pt.y && v.y <= pt.y) || y 170 modules/imgproc/src/geometry.cpp (v0.y > pt.y && v.y > pt.y) || y 173 modules/imgproc/src/geometry.cpp if( pt.y == v.y && (pt.x == v.x || (pt.y == v0.y && y 179 modules/imgproc/src/geometry.cpp dist = (double)(pt.y - v0.y)*(v.x - v0.x) - (double)(pt.x - v0.x)*(v.y - v0.y); y 182 modules/imgproc/src/geometry.cpp if( v.y < v0.y ) y 201 modules/imgproc/src/geometry.cpp dx = v.x - v0.x; dy = v.y - v0.y; y 202 modules/imgproc/src/geometry.cpp dx1 = pt.x - v0.x; dy1 = pt.y - v0.y; y 203 modules/imgproc/src/geometry.cpp dx2 = pt.x - v.x; dy2 = pt.y - v.y; y 224 modules/imgproc/src/geometry.cpp if( (v0.y <= pt.y && v.y <= pt.y) || y 225 modules/imgproc/src/geometry.cpp (v0.y > pt.y && v.y > pt.y) || y 275 modules/imgproc/src/geometry.cpp double area2 = (b.x - a.x) * (double)(c.y - a.y) - (c.x - a.x ) * (double)(b.y - a.y); y 292 modules/imgproc/src/geometry.cpp return ((a.y <= c.y) && (c.y <= b.y)) || y 293 modules/imgproc/src/geometry.cpp ((a.y >= c.y) && (c.y >= b.y)); y 336 modules/imgproc/src/geometry.cpp denom = a.x * (double)( d.y - c.y ) + y 337 modules/imgproc/src/geometry.cpp b.x * (double)( c.y - d.y ) + y 338 modules/imgproc/src/geometry.cpp d.x * (double)( b.y - a.y ) + y 339 modules/imgproc/src/geometry.cpp c.x * (double)( a.y - b.y ); y 345 modules/imgproc/src/geometry.cpp num = a.x * (double)( d.y - c.y ) + y 346 modules/imgproc/src/geometry.cpp c.x * (double)( a.y - d.y ) + y 347 modules/imgproc/src/geometry.cpp d.x * (double)( c.y - a.y ); y 351 modules/imgproc/src/geometry.cpp num = -( a.x * (double)( c.y - b.y ) + y 352 modules/imgproc/src/geometry.cpp b.x * (double)( a.y - c.y ) + y 353 modules/imgproc/src/geometry.cpp c.x * (double)( b.y - a.y ) ); y 365 modules/imgproc/src/geometry.cpp p.y = (float)(a.y + s*(b.y - a.y)); y 492 modules/imgproc/src/geometry.cpp area += (double)prev.x*result0[i].y - (double)prev.y*result0[i].x; y 236 modules/imgproc/src/grabcut.cpp for( int y = 0; y < img.rows; y++ ) y 240 modules/imgproc/src/grabcut.cpp Vec3d color = img.at<Vec3b>(y,x); y 243 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y,x-1); y 246 modules/imgproc/src/grabcut.cpp if( y>0 && x>0 ) // upleft y 248 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x-1); y 251 modules/imgproc/src/grabcut.cpp if( y>0 ) // up y 253 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x); y 256 modules/imgproc/src/grabcut.cpp if( y>0 && x<img.cols-1) // upright y 258 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x+1); y 282 modules/imgproc/src/grabcut.cpp for( int y = 0; y < img.rows; y++ ) y 286 modules/imgproc/src/grabcut.cpp Vec3d color = img.at<Vec3b>(y,x); y 289 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y,x-1); y 290 modules/imgproc/src/grabcut.cpp leftW.at<double>(y,x) = gamma * exp(-beta*diff.dot(diff)); y 293 modules/imgproc/src/grabcut.cpp leftW.at<double>(y,x) = 0; y 294 modules/imgproc/src/grabcut.cpp if( x-1>=0 && y-1>=0 ) // upleft y 296 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x-1); y 297 modules/imgproc/src/grabcut.cpp upleftW.at<double>(y,x) = gammaDivSqrt2 * exp(-beta*diff.dot(diff)); y 300 modules/imgproc/src/grabcut.cpp upleftW.at<double>(y,x) = 0; y 301 modules/imgproc/src/grabcut.cpp if( y-1>=0 ) // up y 303 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x); y 304 modules/imgproc/src/grabcut.cpp upW.at<double>(y,x) = gamma * exp(-beta*diff.dot(diff)); y 307 modules/imgproc/src/grabcut.cpp upW.at<double>(y,x) = 0; y 308 modules/imgproc/src/grabcut.cpp if( x+1<img.cols && y-1>=0 ) // upright y 310 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x+1); y 311 modules/imgproc/src/grabcut.cpp uprightW.at<double>(y,x) = gammaDivSqrt2 * exp(-beta*diff.dot(diff)); y 314 modules/imgproc/src/grabcut.cpp uprightW.at<double>(y,x) = 0; y 330 modules/imgproc/src/grabcut.cpp for( int y = 0; y < mask.rows; y++ ) y 334 modules/imgproc/src/grabcut.cpp uchar val = mask.at<uchar>(y,x); y 351 modules/imgproc/src/grabcut.cpp rect.y = std::max(0, rect.y); y 353 modules/imgproc/src/grabcut.cpp rect.height = std::min(rect.height, imgSize.height-rect.y); y 369 modules/imgproc/src/grabcut.cpp for( p.y = 0; p.y < img.rows; p.y++ ) y 404 modules/imgproc/src/grabcut.cpp for( p.y = 0; p.y < img.rows; p.y++ ) y 425 modules/imgproc/src/grabcut.cpp for( p.y = 0; p.y < img.rows; p.y++ ) y 454 modules/imgproc/src/grabcut.cpp for( p.y = 0; p.y < img.rows; p.y++ ) y 487 modules/imgproc/src/grabcut.cpp if( p.x>0 && p.y>0 ) y 492 modules/imgproc/src/grabcut.cpp if( p.y>0 ) y 497 modules/imgproc/src/grabcut.cpp if( p.x<img.cols-1 && p.y>0 ) y 513 modules/imgproc/src/grabcut.cpp for( p.y = 0; p.y < mask.rows; p.y++ ) y 519 modules/imgproc/src/grabcut.cpp if( graph.inSourceSegment( p.y*mask.cols+p.x /*vertex index*/ ) ) y 2790 modules/imgproc/src/histogram.cpp *idx_min = minPt.y + minPt.x; y 2792 modules/imgproc/src/histogram.cpp *idx_max = maxPt.y + maxPt.x; y 2797 modules/imgproc/src/histogram.cpp idx_min[0] = minPt.y, idx_min[1] = minPt.x; y 2799 modules/imgproc/src/histogram.cpp idx_max[0] = maxPt.y, idx_max[1] = maxPt.x; y 2803 modules/imgproc/src/histogram.cpp int imin = minPt.y*mat.cols + minPt.x; y 2804 modules/imgproc/src/histogram.cpp int imax = maxPt.y*mat.cols + maxPt.x; y 3302 modules/imgproc/src/histogram.cpp int x, y; y 3346 modules/imgproc/src/histogram.cpp for( y = 0; y < size.height; y++ ) y 3352 modules/imgproc/src/histogram.cpp roi.yOffset = y; y 3357 modules/imgproc/src/histogram.cpp CV_MAT_ELEM( *dstmat, float, y, x ) = (float)result; y 262 modules/imgproc/src/hough.cpp int* x = &_x[0], *y = &_y[0]; y 281 modules/imgproc/src/hough.cpp y[fi] = row; y 352 modules/imgproc/src/hough.cpp yc = (float) y[index] + 0.5f; y 475 modules/imgproc/src/hough.cpp for( pt.y = 0; pt.y < height; pt.y++ ) y 477 modules/imgproc/src/hough.cpp const uchar* data = image.ptr(pt.y); y 478 modules/imgproc/src/hough.cpp uchar* mdata = mask.ptr(pt.y); y 503 modules/imgproc/src/hough.cpp int i = point.y, j = point.x, k, x0, y0, dx0, dy0, xflag; y 554 modules/imgproc/src/hough.cpp int gap = 0, x = x0, y = y0, dx = dx0, dy = dy0; y 561 modules/imgproc/src/hough.cpp for( ;; x += dx, y += dy ) y 569 modules/imgproc/src/hough.cpp i1 = y >> shift; y 574 modules/imgproc/src/hough.cpp i1 = y; y 589 modules/imgproc/src/hough.cpp line_end[k].y = i1; y 598 modules/imgproc/src/hough.cpp std::abs(line_end[1].y - line_end[0].y) >= lineLength; y 602 modules/imgproc/src/hough.cpp int x = x0, y = y0, dx = dx0, dy = dy0; y 609 modules/imgproc/src/hough.cpp for( ;; x += dx, y += dy ) y 617 modules/imgproc/src/hough.cpp i1 = y >> shift; y 622 modules/imgproc/src/hough.cpp i1 = y; y 646 modules/imgproc/src/hough.cpp if( i1 == line_end[k].y && j1 == line_end[k].x ) y 653 modules/imgproc/src/hough.cpp Vec4i lr(line_end[0].x, line_end[0].y, line_end[1].x, line_end[1].y); y 1013 modules/imgproc/src/hough.cpp int x, y, i, j, k, center_count, nz_count; y 1054 modules/imgproc/src/hough.cpp for( y = 0; y < rows; y++ ) y 1056 modules/imgproc/src/hough.cpp const uchar* edges_row = edges->data.ptr + y*edges->step; y 1057 modules/imgproc/src/hough.cpp const short* dx_row = (const short*)(dx->data.ptr + y*dx->step); y 1058 modules/imgproc/src/hough.cpp const short* dy_row = (const short*)(dy->data.ptr + y*dy->step); y 1078 modules/imgproc/src/hough.cpp y0 = cvRound((y*idp)*ONE); y 1097 modules/imgproc/src/hough.cpp pt.x = x; pt.y = y; y 1106 modules/imgproc/src/hough.cpp for( y = 1; y < arows - 1; y++ ) y 1110 modules/imgproc/src/hough.cpp int base = y*(acols+2) + x; y 1141 modules/imgproc/src/hough.cpp y = ofs/(acols+2); y 1142 modules/imgproc/src/hough.cpp x = ofs - (y)*(acols+2); y 1144 modules/imgproc/src/hough.cpp float cx = (float)((x + 0.5f)*dp), cy = (float)(( y + 0.5f )*dp); y 1165 modules/imgproc/src/hough.cpp _dx = cx - pt.x; _dy = cy - pt.y; y 182 modules/imgproc/src/imgwarp.cpp double y = -(x+3-i)*CV_PI*0.25; y 183 modules/imgproc/src/imgwarp.cpp coeffs[i] = (float)((cs[i][0]*s0 + cs[i][1]*c0)/(y*y)); y 339 modules/imgproc/src/imgwarp.cpp int y, x, pix_size = (int)src.elemSize(); y 341 modules/imgproc/src/imgwarp.cpp for( y = range.start; y < range.end; y++ ) y 343 modules/imgproc/src/imgwarp.cpp uchar* D = dst.data + dst.step*y; y 344 modules/imgproc/src/imgwarp.cpp int sy = std::min(cvFloor(y*ify), ssize.height-1); y 2810 modules/imgproc/src/imgwarp.cpp const Ipp8u* pSrc = src.ptr<Ipp8u>(srcOffset.y) + srcOffset.x * cn * itemSize; y 2811 modules/imgproc/src/imgwarp.cpp Ipp8u* pDst = dst.ptr<Ipp8u>(dstOffset.y) + dstOffset.x * cn * itemSize; y 4069 modules/imgproc/src/imgwarp.cpp int x[4], y[4]; y 4087 modules/imgproc/src/imgwarp.cpp y[i] = borderInterpolate(sy + i, ssize.height, borderType1); y 4095 modules/imgproc/src/imgwarp.cpp int yi = y[i]; y 4172 modules/imgproc/src/imgwarp.cpp int x[8], y[8]; y 4190 modules/imgproc/src/imgwarp.cpp y[i] = borderInterpolate(sy + i, ssize.height, borderType1); y 4198 modules/imgproc/src/imgwarp.cpp int yi = y[i]; y 4250 modules/imgproc/src/imgwarp.cpp int x, y, x1, y1; y 4263 modules/imgproc/src/imgwarp.cpp for( y = range.start; y < range.end; y += brows0 ) y 4267 modules/imgproc/src/imgwarp.cpp int brows = std::min(brows0, range.end - y); y 4269 modules/imgproc/src/imgwarp.cpp Mat dpart(*dst, Rect(x, y, bcols, brows)); y 4275 modules/imgproc/src/imgwarp.cpp bufxy = (*m1)(Rect(x, y, bcols, brows)); y 4281 modules/imgproc/src/imgwarp.cpp const short* sXY = m1->ptr<short>(y+y1) + x*2; y 4282 modules/imgproc/src/imgwarp.cpp const ushort* sA = m2->ptr<ushort>(y+y1) + x; y 4293 modules/imgproc/src/imgwarp.cpp (*m1)(Rect(x, y, bcols, brows)).convertTo(bufxy, bufxy.depth()); y 4299 modules/imgproc/src/imgwarp.cpp const float* sX = m1->ptr<float>(y+y1) + x; y 4300 modules/imgproc/src/imgwarp.cpp const float* sY = m2->ptr<float>(y+y1) + x; y 4345 modules/imgproc/src/imgwarp.cpp bufxy = (*m1)(Rect(x, y, bcols, brows)); y 4347 modules/imgproc/src/imgwarp.cpp const ushort* sA = m2->ptr<ushort>(y+y1) + x; y 4365 modules/imgproc/src/imgwarp.cpp const float* sX = m1->ptr<float>(y+y1) + x; y 4366 modules/imgproc/src/imgwarp.cpp const float* sY = m2->ptr<float>(y+y1) + x; y 4435 modules/imgproc/src/imgwarp.cpp const float* sXY = m1->ptr<float>(y+y1) + x*2; y 4839 modules/imgproc/src/imgwarp.cpp int x, y; y 4840 modules/imgproc/src/imgwarp.cpp for( y = 0; y < size.height; y++ ) y 4842 modules/imgproc/src/imgwarp.cpp const float* src1f = m1->ptr<float>(y); y 4843 modules/imgproc/src/imgwarp.cpp const float* src2f = m2->ptr<float>(y); y 4847 modules/imgproc/src/imgwarp.cpp float* dst1f = dstmap1.ptr<float>(y); y 4848 modules/imgproc/src/imgwarp.cpp float* dst2f = dstmap2.ptr<float>(y); y 5235 modules/imgproc/src/imgwarp.cpp int round_delta = interpolation == INTER_NEAREST ? AB_SCALE/2 : AB_SCALE/INTER_TAB_SIZE/2, x, y, x1, y1; y 5247 modules/imgproc/src/imgwarp.cpp for( y = range.start; y < range.end; y += bh0 ) y 5252 modules/imgproc/src/imgwarp.cpp int bh = std::min( bh0, range.end - y); y 5255 modules/imgproc/src/imgwarp.cpp Mat dpart(dst, Rect(x, y, bw, bh)); y 5260 modules/imgproc/src/imgwarp.cpp int X0 = saturate_cast<int>((M[1]*(y + y1) + M[2])*AB_SCALE) + round_delta; y 5261 modules/imgproc/src/imgwarp.cpp int Y0 = saturate_cast<int>((M[4]*(y + y1) + M[5])*AB_SCALE) + round_delta; y 5704 modules/imgproc/src/imgwarp.cpp int x, y, x1, y1, width = dst.cols, height = dst.rows; y 5724 modules/imgproc/src/imgwarp.cpp for( y = range.start; y < range.end; y += bh0 ) y 5729 modules/imgproc/src/imgwarp.cpp int bh = std::min( bh0, range.end - y); // height y 5732 modules/imgproc/src/imgwarp.cpp Mat dpart(dst, Rect(x, y, bw, bh)); y 5737 modules/imgproc/src/imgwarp.cpp double X0 = M[0]*x + M[1]*(y + y1) + M[2]; y 5738 modules/imgproc/src/imgwarp.cpp double Y0 = M[3]*x + M[4]*(y + y1) + M[5]; y 5739 modules/imgproc/src/imgwarp.cpp double W0 = M[6]*x + M[7]*(y + y1) + M[8]; y 6197 modules/imgproc/src/imgwarp.cpp m[2] = (1-alpha)*center.x - beta*center.y; y 6200 modules/imgproc/src/imgwarp.cpp m[5] = beta*center.x + (1-alpha)*center.y; y 6238 modules/imgproc/src/imgwarp.cpp a[i][1] = a[i+4][4] = src[i].y; y 6243 modules/imgproc/src/imgwarp.cpp a[i][7] = -src[i].y*dst[i].x; y 6244 modules/imgproc/src/imgwarp.cpp a[i+4][6] = -src[i].x*dst[i].y; y 6245 modules/imgproc/src/imgwarp.cpp a[i+4][7] = -src[i].y*dst[i].y; y 6247 modules/imgproc/src/imgwarp.cpp b[i+4] = dst[i].y; y 6286 modules/imgproc/src/imgwarp.cpp a[j+1] = a[k+4] = src[i].y; y 6291 modules/imgproc/src/imgwarp.cpp b[i*2+1] = dst[i].y; y 6505 modules/imgproc/src/imgwarp.cpp double y = r*sp + center.y; y 6508 modules/imgproc/src/imgwarp.cpp my[rho] = (float)y; y 6514 modules/imgproc/src/imgwarp.cpp int x, y; y 6528 modules/imgproc/src/imgwarp.cpp for( y = 0; y < dsize.height; y++ ) y 6530 modules/imgproc/src/imgwarp.cpp float* mx = (float*)(mapx->data.ptr + y*mapx->step); y 6531 modules/imgproc/src/imgwarp.cpp float* my = (float*)(mapy->data.ptr + y*mapy->step); y 6534 modules/imgproc/src/imgwarp.cpp bufy.data.fl[x] = (float)y - center.y; y 6626 modules/imgproc/src/imgwarp.cpp double y = r*sp + center.y; y 6629 modules/imgproc/src/imgwarp.cpp my[rho] = (float)y; y 6635 modules/imgproc/src/imgwarp.cpp int x, y; y 6651 modules/imgproc/src/imgwarp.cpp for( y = 0; y < dsize.height; y++ ) y 6653 modules/imgproc/src/imgwarp.cpp float* mx = (float*)(mapx->data.ptr + y*mapx->step); y 6654 modules/imgproc/src/imgwarp.cpp float* my = (float*)(mapy->data.ptr + y*mapy->step); y 6657 modules/imgproc/src/imgwarp.cpp bufy.data.fl[x] = (float)y - center.y; y 70 modules/imgproc/src/intersection.cpp if( fabs(pts1[i].x - pts2[i].x) > samePointEps || (fabs(pts1[i].y - pts2[i].y) > samePointEps) ) y 97 modules/imgproc/src/intersection.cpp vec1[i].y = pts1[(i+1)%4].y - pts1[i].y; y 100 modules/imgproc/src/intersection.cpp vec2[i].y = pts2[(i+1)%4].y - pts2[i].y; y 110 modules/imgproc/src/intersection.cpp float y21 = pts2[j].y - pts1[i].y; y 113 modules/imgproc/src/intersection.cpp float vy1 = vec1[i].y; y 116 modules/imgproc/src/intersection.cpp float vy2 = vec2[j].y; y 132 modules/imgproc/src/intersection.cpp float yi = pts1[i].y + vec1[i].y*t1; y 154 modules/imgproc/src/intersection.cpp float y = pts1[i].y; y 160 modules/imgproc/src/intersection.cpp float A = -vec2[j].y; y 162 modules/imgproc/src/intersection.cpp float C = -(A*pts2[j].x + B*pts2[j].y); y 164 modules/imgproc/src/intersection.cpp float s = A*x+ B*y+ C; y 192 modules/imgproc/src/intersection.cpp float y = pts2[i].y; y 198 modules/imgproc/src/intersection.cpp float A = -vec1[j].y; y 200 modules/imgproc/src/intersection.cpp float C = -(A*pts1[j].x + B*pts1[j].y); y 202 modules/imgproc/src/intersection.cpp float s = A*x + B*y + C; y 226 modules/imgproc/src/intersection.cpp float dy = intersection[i].y - intersection[j].y; y 50 modules/imgproc/src/linefit.cpp double x = 0, y = 0, x2 = 0, y2 = 0, xy = 0, w = 0; y 61 modules/imgproc/src/linefit.cpp y += points[i].y; y 63 modules/imgproc/src/linefit.cpp y2 += points[i].y * points[i].y; y 64 modules/imgproc/src/linefit.cpp xy += points[i].x * points[i].y; y 73 modules/imgproc/src/linefit.cpp y += weights[i] * points[i].y; y 75 modules/imgproc/src/linefit.cpp y2 += weights[i] * points[i].y * points[i].y; y 76 modules/imgproc/src/linefit.cpp xy += weights[i] * points[i].x * points[i].y; y 82 modules/imgproc/src/linefit.cpp y /= w; y 88 modules/imgproc/src/linefit.cpp dy2 = y2 - y * y; y 89 modules/imgproc/src/linefit.cpp dxy = xy - x * y; y 96 modules/imgproc/src/linefit.cpp line[3] = (float) y; y 118 modules/imgproc/src/linefit.cpp float y = points[i].y; y 124 modules/imgproc/src/linefit.cpp xy += x * y * w; y 126 modules/imgproc/src/linefit.cpp y2 += y * y * w; y 127 modules/imgproc/src/linefit.cpp yz += y * z * w; y 130 modules/imgproc/src/linefit.cpp y0 += y * w; y 140 modules/imgproc/src/linefit.cpp float y = points[i].y; y 144 modules/imgproc/src/linefit.cpp xy += x * y; y 146 modules/imgproc/src/linefit.cpp y2 += y * y; y 147 modules/imgproc/src/linefit.cpp yz += y * z; y 150 modules/imgproc/src/linefit.cpp y0 += y; y 211 modules/imgproc/src/linefit.cpp float x, y; y 214 modules/imgproc/src/linefit.cpp y = points[j].y - py; y 216 modules/imgproc/src/linefit.cpp dist[j] = (float) fabs( nx * x + ny * y ); y 232 modules/imgproc/src/linefit.cpp float x, y, z; y 236 modules/imgproc/src/linefit.cpp y = points[j].y - py; y 239 modules/imgproc/src/linefit.cpp p1 = vy * z - vz * y; y 241 modules/imgproc/src/linefit.cpp p3 = vx * y - vy * x; y 397 modules/imgproc/src/linefit.cpp float x, y, d; y 400 modules/imgproc/src/linefit.cpp y = (float) fabs( _line[3] - _lineprev[3] ); y 402 modules/imgproc/src/linefit.cpp d = x > y ? x : y; y 532 modules/imgproc/src/linefit.cpp float x, y, z, ax, ay, az, dx, dy, dz, d; y 535 modules/imgproc/src/linefit.cpp y = _line[4] - _lineprev[4]; y 540 modules/imgproc/src/linefit.cpp dx = (float) fabs( y * az - z * ay ); y 542 modules/imgproc/src/linefit.cpp dz = (float) fabs( x * ay - y * ax ); y 125 modules/imgproc/src/lsd.cpp if (a.p.x == b.p.x) return a.p.y < b.p.y; y 260 modules/imgproc/src/lsd.cpp int y; y 277 modules/imgproc/src/lsd.cpp double x, y; // center of the rectangle y 345 modules/imgproc/src/lsd.cpp const double& y, const double& reg_angle, const double& prec) const; y 478 modules/imgproc/src/lsd.cpp unsigned int adx = list[i].p.x + list[i].p.y * img_width; y 561 modules/imgproc/src/lsd.cpp for(int y = 0; y < img_height - 1; ++y) y 563 modules/imgproc/src/lsd.cpp for(int addr = y * img_width, addr_end = addr + img_width - 1; addr < addr_end; ++addr) y 593 modules/imgproc/src/lsd.cpp for(int y = 0; y < img_height - 1; ++y) y 595 modules/imgproc/src/lsd.cpp const double* norm = modgrad_data + y * img_width; y 611 modules/imgproc/src/lsd.cpp range_e[i]->p = Point(x, y); y 641 modules/imgproc/src/lsd.cpp reg[0].y = s.y; y 642 modules/imgproc/src/lsd.cpp int addr = s.x + s.y * img_width; y 657 modules/imgproc/src/lsd.cpp int yy_min = std::max(rpoint.y - 1, 0), yy_max = std::min(rpoint.y + 1, img_height - 1); y 670 modules/imgproc/src/lsd.cpp region_point.y = yy; y 691 modules/imgproc/src/lsd.cpp double x = 0, y = 0, sum = 0; y 697 modules/imgproc/src/lsd.cpp y += double(pnt.y) * weight; y 705 modules/imgproc/src/lsd.cpp y /= sum; y 707 modules/imgproc/src/lsd.cpp double theta = get_theta(reg, reg_size, x, y, reg_angle, prec); y 717 modules/imgproc/src/lsd.cpp double regdy = double(reg[i].y) - y; y 730 modules/imgproc/src/lsd.cpp rec.y1 = y + l_min * dy; y 732 modules/imgproc/src/lsd.cpp rec.y2 = y + l_max * dy; y 735 modules/imgproc/src/lsd.cpp rec.y = y; y 747 modules/imgproc/src/lsd.cpp const double& y, const double& reg_angle, const double& prec) const y 757 modules/imgproc/src/lsd.cpp const double& regy = reg[i].y; y 760 modules/imgproc/src/lsd.cpp double dy = regy - y; y 793 modules/imgproc/src/lsd.cpp double yc = double(reg[0].y); y 801 modules/imgproc/src/lsd.cpp if (dist(xc, yc, reg[i].x, reg[i].y) < rec.width) y 815 modules/imgproc/src/lsd.cpp region_grow(Point(reg[0].x, reg[0].y), reg, reg_size, reg_angle, tau); y 837 modules/imgproc/src/lsd.cpp double yc = double(reg[0].y); y 848 modules/imgproc/src/lsd.cpp if(distSq(xc, yc, double(reg[i].x), double(reg[i].y)) > radSq) y 986 modules/imgproc/src/lsd.cpp ordered_x[0].p.x = int(rec.x1 - dyhw); ordered_x[0].p.y = int(rec.y1 + dxhw); ordered_x[0].taken = false; y 987 modules/imgproc/src/lsd.cpp ordered_x[1].p.x = int(rec.x2 - dyhw); ordered_x[1].p.y = int(rec.y2 + dxhw); ordered_x[1].taken = false; y 988 modules/imgproc/src/lsd.cpp ordered_x[2].p.x = int(rec.x2 + dyhw); ordered_x[2].p.y = int(rec.y2 - dxhw); ordered_x[2].taken = false; y 989 modules/imgproc/src/lsd.cpp ordered_x[3].p.x = int(rec.x1 + dyhw); ordered_x[3].p.y = int(rec.y1 - dxhw); ordered_x[3].taken = false; y 996 modules/imgproc/src/lsd.cpp if(min_y->p.y > ordered_x[i].p.y) {min_y = &ordered_x[i]; } y 997 modules/imgproc/src/lsd.cpp if(max_y->p.y < ordered_x[i].p.y) {max_y = &ordered_x[i]; } y 1055 modules/imgproc/src/lsd.cpp double flstep = (min_y->p.y != leftmost->p.y) ? y 1056 modules/imgproc/src/lsd.cpp (min_y->p.x - leftmost->p.x) / (min_y->p.y - leftmost->p.y) : 0; //first left step y 1057 modules/imgproc/src/lsd.cpp double slstep = (leftmost->p.y != tailp->p.x) ? y 1058 modules/imgproc/src/lsd.cpp (leftmost->p.x - tailp->p.x) / (leftmost->p.y - tailp->p.x) : 0; //second left step y 1060 modules/imgproc/src/lsd.cpp double frstep = (min_y->p.y != rightmost->p.y) ? y 1061 modules/imgproc/src/lsd.cpp (min_y->p.x - rightmost->p.x) / (min_y->p.y - rightmost->p.y) : 0; //first right step y 1062 modules/imgproc/src/lsd.cpp double srstep = (rightmost->p.y != tailp->p.x) ? y 1063 modules/imgproc/src/lsd.cpp (rightmost->p.x - tailp->p.x) / (rightmost->p.y - tailp->p.x) : 0; //second right step y 1070 modules/imgproc/src/lsd.cpp int min_iter = min_y->p.y; y 1071 modules/imgproc/src/lsd.cpp int max_iter = max_y->p.y; y 1072 modules/imgproc/src/lsd.cpp for(int y = min_iter; y <= max_iter; ++y) y 1074 modules/imgproc/src/lsd.cpp if (y < 0 || y >= img_height) continue; y 1076 modules/imgproc/src/lsd.cpp int adx = y * img_width + int(left_x); y 1088 modules/imgproc/src/lsd.cpp if(y >= leftmost->p.y) { lstep = slstep; } y 1089 modules/imgproc/src/lsd.cpp if(y >= rightmost->p.y) { rstep = srstep; } y 1200 modules/imgproc/src/min_enclosing_triangle.cpp double y = b.y - a.y; y 1203 modules/imgproc/src/min_enclosing_triangle.cpp double angle = (std::atan2(y, x) * 180 / CV_PI); y 1288 modules/imgproc/src/min_enclosing_triangle.cpp double term2 = linePointB.y - a.y; y 1290 modules/imgproc/src/min_enclosing_triangle.cpp double term4 = linePointC.y - linePointB.y; y 1307 modules/imgproc/src/min_enclosing_triangle.cpp double yDiff = a.y - b.y; y 1323 modules/imgproc/src/min_enclosing_triangle.cpp double posTerm = (a.x * b.y) + (a.y * c.x) + (b.x * c.y); y 1324 modules/imgproc/src/min_enclosing_triangle.cpp double negTerm = (b.y * c.x) + (a.x * c.y) + (a.y * b.x); y 1338 modules/imgproc/src/min_enclosing_triangle.cpp double middleY = static_cast<double>((a.y + b.y) / 2); y 1372 modules/imgproc/src/min_enclosing_triangle.cpp intersection.y = static_cast<float>(((c2 * a1) - (c1 * a2)) / (det)); y 1406 modules/imgproc/src/min_enclosing_triangle.cpp double A1 = b1.y - a1.y; y 1408 modules/imgproc/src/min_enclosing_triangle.cpp double C1 = (a1.x * A1) + (a1.y * B1); y 1410 modules/imgproc/src/min_enclosing_triangle.cpp double A2 = b2.y - a2.y; y 1412 modules/imgproc/src/min_enclosing_triangle.cpp double C2 = (a2.x * A2) + (a2.y * B2); y 1418 modules/imgproc/src/min_enclosing_triangle.cpp intersection.y = static_cast<float>(((C2 * A1) - (C1 * A2)) / (det)); y 1442 modules/imgproc/src/min_enclosing_triangle.cpp a = q.y - p.y; y 1444 modules/imgproc/src/min_enclosing_triangle.cpp c = ((-p.y) * b) - (p.x * a); y 1460 modules/imgproc/src/min_enclosing_triangle.cpp double p1OnLine = (a1 * p1.x) + (b1 * p1.y) + c1; y 1461 modules/imgproc/src/min_enclosing_triangle.cpp double p2OnLine = (a1 * p2.x) + (b1 * p2.y) + c1; y 1514 modules/imgproc/src/min_enclosing_triangle.cpp return (almostEqual(point1.x, point2.x) && almostEqual(point1.y, point2.y)); y 112 modules/imgproc/src/moments.cpp yi_1 = ptsi[lpt-1].y; y 117 modules/imgproc/src/moments.cpp yi_1 = ptsf[lpt-1].y; y 128 modules/imgproc/src/moments.cpp yi = ptsi[i].y; y 133 modules/imgproc/src/moments.cpp yi = ptsf[i].y; y 400 modules/imgproc/src/moments.cpp int x, y; y 404 modules/imgproc/src/moments.cpp for( y = 0; y < size.height; y++ ) y 406 modules/imgproc/src/moments.cpp const T* ptr = img.ptr<T>(y); y 423 modules/imgproc/src/moments.cpp WT py = y * x0, sy = y*y; y 427 modules/imgproc/src/moments.cpp mom[7] += ((MT)x2) * y; // m21 y 430 modules/imgproc/src/moments.cpp mom[4] += x1 * y; // m11 y 511 modules/imgproc/src/moments.cpp double x = (i % xtiles)*TILE_SIZE, y = (i / xtiles)*TILE_SIZE; y 513 modules/imgproc/src/moments.cpp double xm = x * mom[0], ym = y * mom[0]; y 530 modules/imgproc/src/moments.cpp m.m11 += mom[4] + x * (mom[2] + ym) + y * mom[1]; y 533 modules/imgproc/src/moments.cpp m.m02 += mom[5] + y * (mom[2] * 2 + ym); y 539 modules/imgproc/src/moments.cpp m.m21 += mom[7] + x * (2 * (mom[4] + y * mom[1]) + x * (mom[2] + ym)) + y * mom[3]; y 542 modules/imgproc/src/moments.cpp m.m12 += mom[8] + y * (2 * (mom[4] + x * mom[2]) + y * (mom[1] + xm)) + x * mom[5]; y 545 modules/imgproc/src/moments.cpp m.m03 += mom[9] + y * (3. * mom[5] + y * (3. * mom[2] + ym)); y 661 modules/imgproc/src/moments.cpp for( int y = 0; y < size.height; y += TILE_SIZE ) y 664 modules/imgproc/src/moments.cpp tileSize.height = std::min(TILE_SIZE, size.height - y); y 669 modules/imgproc/src/moments.cpp Mat src(src0, cv::Rect(x, y, tileSize.width, tileSize.height)); y 688 modules/imgproc/src/moments.cpp double xm = x * mom[0], ym = y * mom[0]; y 705 modules/imgproc/src/moments.cpp m.m11 += mom[4] + x * (mom[2] + ym) + y * mom[1]; y 708 modules/imgproc/src/moments.cpp m.m02 += mom[5] + y * (mom[2] * 2 + ym); y 714 modules/imgproc/src/moments.cpp m.m21 += mom[7] + x * (2 * (mom[4] + y * mom[1]) + x * (mom[2] + ym)) + y * mom[3]; y 717 modules/imgproc/src/moments.cpp m.m12 += mom[8] + y * (2 * (mom[4] + x * mom[2]) + y * (mom[1] + xm)) + x * mom[5]; y 720 modules/imgproc/src/moments.cpp m.m03 += mom[9] + y * (3. * mom[5] + y * (3. * mom[2] + ym)); y 812 modules/imgproc/src/morph.cpp kp[k] = (const T*)src[pt[k].y] + pt[k].x*cn; y 999 modules/imgproc/src/morph.cpp columnFilter = getMorphologyColumnFilter(op, type, kernel.rows, anchor.y); y 1055 modules/imgproc/src/morph.cpp if( shape == MORPH_RECT || (shape == MORPH_CROSS && i == anchor.y) ) y 1158 modules/imgproc/src/morph.cpp if (((kernel.cols - 1) / 2 != anchor.x) || ((kernel.rows - 1) / 2 != anchor.y)) y 1187 modules/imgproc/src/morph.cpp IppiPoint point = {anchor.x, anchor.y}; y 1231 modules/imgproc/src/morph.cpp IppiPoint point = {anchor.x, anchor.y}; y 1278 modules/imgproc/src/morph.cpp int x, y; y 1279 modules/imgproc/src/morph.cpp for( y = 0; y < kernel.rows; y++ ) y 1281 modules/imgproc/src/morph.cpp if( kernel.at<uchar>(y, anchor.x) != 0 ) y 1285 modules/imgproc/src/morph.cpp if( kernel.at<uchar>(y,x) != 0 ) y 1291 modules/imgproc/src/morph.cpp if( kernel.at<uchar>(anchor.y, x) != 0 ) y 1293 modules/imgproc/src/morph.cpp for( y = 0; y < kernel.rows; y++ ) y 1295 modules/imgproc/src/morph.cpp if( kernel.at<uchar>(y,x) != 0 ) y 1324 modules/imgproc/src/morph.cpp anchor = Point(anchor.x*iterations, anchor.y*iterations); y 1359 modules/imgproc/src/morph.cpp if (anchor.y < 0) y 1360 modules/imgproc/src/morph.cpp anchor.y = ksize.height / 2; y 1424 modules/imgproc/src/morph.cpp for (int y = 0; y < kernel8u.rows; ++y) y 1426 modules/imgproc/src/morph.cpp if (kernel8u.at<uchar>(y, x) != 0) y 1427 modules/imgproc/src/morph.cpp processing += format("PROCESS(%d,%d)", y, x); y 1438 modules/imgproc/src/morph.cpp cn, anchor.x, anchor.y, ksize.width, ksize.height, y 1467 modules/imgproc/src/morph.cpp src.adjustROI(ofs.y, wholeSize.height - rows - ofs.y, ofs.x, wholeSize.width - cols - ofs.x); y 1470 modules/imgproc/src/morph.cpp src.adjustROI(-ofs.y, -wholeSize.height + rows + ofs.y, -ofs.x, -wholeSize.width + cols + ofs.x); y 1471 modules/imgproc/src/morph.cpp source.adjustROI(-ofs.y, -wholeSize.height + rows + ofs.y, -ofs.x, -wholeSize.width + cols + ofs.x); y 1523 modules/imgproc/src/morph.cpp anchor = Point(anchor.x*iterations, anchor.y*iterations); y 1575 modules/imgproc/src/morph.cpp for (int y = 0; y < kernel8u.rows; ++y) y 1577 modules/imgproc/src/morph.cpp if (kernel8u.at<uchar>(y, x) != 0) y 1578 modules/imgproc/src/morph.cpp processing += format("PROCESS(%d,%d)", y, x); y 1595 modules/imgproc/src/morph.cpp anchor.x, anchor.y, (int)localThreads[0], (int)localThreads[1], op2str[op], y 1621 modules/imgproc/src/morph.cpp ofs.x, ofs.y, src.cols, src.rows, wholecols, wholerows, y 1625 modules/imgproc/src/morph.cpp ofs.x, ofs.y, src.cols, src.rows, wholecols, wholerows); y 1640 modules/imgproc/src/morph.cpp src.adjustROI(ofs.y, wholesize.height - rows - ofs.y, ofs.x, wholesize.width - cols - ofs.x); y 1646 modules/imgproc/src/morph.cpp src.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); y 1647 modules/imgproc/src/morph.cpp source.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); y 1653 modules/imgproc/src/morph.cpp dst.adjustROI(ofs.y, wholesize.height - rows - ofs.y, ofs.x, wholesize.width - cols - ofs.x); y 1655 modules/imgproc/src/morph.cpp dst.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); y 1656 modules/imgproc/src/morph.cpp source.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); y 1662 modules/imgproc/src/morph.cpp ofs.x, ofs.y, source.cols, source.rows, wholesize.width, wholesize.height, y 1666 modules/imgproc/src/morph.cpp ofs.x, ofs.y, source.cols, source.rows, wholesize.width, wholesize.height); y 1689 modules/imgproc/src/morph.cpp anchor.x == ksize.width >> 1 && anchor.y == ksize.height >> 1, y 1706 modules/imgproc/src/morph.cpp anchor = Point(anchor.x*iterations, anchor.y*iterations); y 1836 modules/imgproc/src/morph.cpp anchor.x == ksize.width >> 1 && anchor.y == ksize.height >> 1 && y 35 modules/imgproc/src/opencl/accumulate.cl int y = get_global_id(1) * rowsPerWI; y 39 modules/imgproc/src/opencl/accumulate.cl int src_index = mad24(y, src_step, mad24(x, SRC_TSIZE, src_offset)); y 41 modules/imgproc/src/opencl/accumulate.cl int mask_index = mad24(y, mask_step, mask_offset + x); y 45 modules/imgproc/src/opencl/accumulate.cl int src2_index = mad24(y, src2_step, mad24(x, SRC_TSIZE, src2_offset)); y 47 modules/imgproc/src/opencl/accumulate.cl int dst_index = mad24(y, dst_step, mad24(x, DST_TSIZE, dst_offset)); y 51 modules/imgproc/src/opencl/accumulate.cl if (y < dst_rows) y 87 modules/imgproc/src/opencl/accumulate.cl ++y; y 48 modules/imgproc/src/opencl/bilateral.cl #define SUM(a) a.x + a.y y 50 modules/imgproc/src/opencl/bilateral.cl #define SUM(a) a.x + a.y + a.z y 52 modules/imgproc/src/opencl/bilateral.cl #define SUM(a) a.x + a.y + a.z + a.w y 64 modules/imgproc/src/opencl/bilateral.cl int y = get_global_id(1); y 66 modules/imgproc/src/opencl/bilateral.cl if (y < dst_rows && x < dst_cols) y 68 modules/imgproc/src/opencl/bilateral.cl int src_index = mad24(y + radius, src_step, mad24(x + radius, TSIZE, src_offset)); y 69 modules/imgproc/src/opencl/bilateral.cl int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); y 104 modules/imgproc/src/opencl/bilateral.cl int y = get_global_id(1); y 105 modules/imgproc/src/opencl/bilateral.cl if (y < dst_rows && x < dst_cols / 4 ) y 107 modules/imgproc/src/opencl/bilateral.cl int src_index = ((y + radius) * src_step) + x * 4 + (radius + src_offset); y 108 modules/imgproc/src/opencl/bilateral.cl int dst_index = (y * dst_step) + x * 4 + dst_offset ; y 63 modules/imgproc/src/opencl/blend_linear.cl int y = get_global_id(1); y 65 modules/imgproc/src/opencl/blend_linear.cl if (x < dst_cols && y < dst_rows) y 67 modules/imgproc/src/opencl/blend_linear.cl int src1_index = mad24(y, src1_step, src1_offset + x * cn * (int)sizeof(T)); y 68 modules/imgproc/src/opencl/blend_linear.cl int src2_index = mad24(y, src2_step, src2_offset + x * cn * (int)sizeof(T)); y 69 modules/imgproc/src/opencl/blend_linear.cl int weight1_index = mad24(y, weight1_step, weight1_offset + x * (int)sizeof(float)); y 70 modules/imgproc/src/opencl/blend_linear.cl int weight2_index = mad24(y, weight2_step, weight2_offset + x * (int)sizeof(float)); y 71 modules/imgproc/src/opencl/blend_linear.cl int dst_index = mad24(y, dst_step, dst_offset + x * cn * (int)sizeof(T)); y 64 modules/imgproc/src/opencl/boxFilter.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ y 67 modules/imgproc/src/opencl/boxFilter.cl y = max(min(y, maxY - 1), minY); \ y 70 modules/imgproc/src/opencl/boxFilter.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ y 76 modules/imgproc/src/opencl/boxFilter.cl if (y < minY) \ y 77 modules/imgproc/src/opencl/boxFilter.cl y -= ((y - maxY + 1) / maxY) * maxY; \ y 78 modules/imgproc/src/opencl/boxFilter.cl if (y >= maxY) \ y 79 modules/imgproc/src/opencl/boxFilter.cl y %= maxY; \ y 82 modules/imgproc/src/opencl/boxFilter.cl #define EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, delta) \ y 97 modules/imgproc/src/opencl/boxFilter.cl y = minY; \ y 101 modules/imgproc/src/opencl/boxFilter.cl if (y < minY) \ y 102 modules/imgproc/src/opencl/boxFilter.cl y = minY - (y - minY) - 1 + delta; \ y 104 modules/imgproc/src/opencl/boxFilter.cl y = maxY - 1 - (y - maxY) - delta; \ y 106 modules/imgproc/src/opencl/boxFilter.cl while (y >= maxY || y < minY); \ y 109 modules/imgproc/src/opencl/boxFilter.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, 0) y 111 modules/imgproc/src/opencl/boxFilter.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, 1) y 133 modules/imgproc/src/opencl/boxFilter.cl if (pos.x >= srcCoords.x1 && pos.y >= srcCoords.y1 && pos.x < srcCoords.x2 && pos.y < srcCoords.y2) y 135 modules/imgproc/src/opencl/boxFilter.cl if (pos.x >= 0 && pos.y >= 0 && pos.x < srcCoords.x2 && pos.y < srcCoords.y2) y 138 modules/imgproc/src/opencl/boxFilter.cl int src_index = mad24(pos.y, src_step, pos.x * SRCSIZE); y 148 modules/imgproc/src/opencl/boxFilter.cl int selected_col = pos.x, selected_row = pos.y; y 176 modules/imgproc/src/opencl/boxFilter.cl int y = get_global_id(1) * BLOCK_SIZE_Y; y 181 modules/imgproc/src/opencl/boxFilter.cl int2 srcPos = (int2)(srcCoords.x1 + x, srcCoords.y1 + y - ANCHOR_Y); y 184 modules/imgproc/src/opencl/boxFilter.cl for (int sy = 0; sy < KERNEL_SIZE_Y; sy++, srcPos.y++) y 195 modules/imgproc/src/opencl/boxFilter.cl int dst_index = mad24(y, dst_step, mad24(x, DSTSIZE, dst_offset)); y 199 modules/imgproc/src/opencl/boxFilter.cl for (int i = 0, stepY = min(rows - y, BLOCK_SIZE_Y); i < stepY; ++i) y 223 modules/imgproc/src/opencl/boxFilter.cl srcPos.y++; y 78 modules/imgproc/src/opencl/calc_back_project.cl int y = get_global_id(1); y 80 modules/imgproc/src/opencl/calc_back_project.cl if (x < dst_cols && y < dst_rows) y 82 modules/imgproc/src/opencl/calc_back_project.cl int src_index = mad24(y, src_step, src_offset + x * scn); y 83 modules/imgproc/src/opencl/calc_back_project.cl int dst_index = mad24(y, dst_step, dst_offset + x); y 120 modules/imgproc/src/opencl/calc_back_project.cl int y = get_global_id(1); y 122 modules/imgproc/src/opencl/calc_back_project.cl if (x < dst_cols && y < dst_rows) y 124 modules/imgproc/src/opencl/calc_back_project.cl int src1_index = mad24(y, src1_step, src1_offset + x * scn1); y 125 modules/imgproc/src/opencl/calc_back_project.cl int src2_index = mad24(y, src2_step, src2_offset + x * scn2); y 126 modules/imgproc/src/opencl/calc_back_project.cl int dst_index = mad24(y, dst_step, dst_offset + x); y 99 modules/imgproc/src/opencl/canny.cl res.y = dy; y 101 modules/imgproc/src/opencl/canny.cl res.z = max(magN.x, max(magN.y, magN.z)); y 102 modules/imgproc/src/opencl/canny.cl if (res.z == magN.y) y 104 modules/imgproc/src/opencl/canny.cl dx.x = dx.y; y 105 modules/imgproc/src/opencl/canny.cl dy.x = dy.y; y 113 modules/imgproc/src/opencl/canny.cl res.y = dy.x; y 135 modules/imgproc/src/opencl/canny.cl int y = clamp(start_y - 2 + (j / (GRP_SIZEX + 4)), 0, rows - 1); y 136 modules/imgproc/src/opencl/canny.cl smem[j] = loadpix(src + mad24(y, src_step, mad24(x, cn * (int)sizeof(TYPE), src_offset))); y 170 modules/imgproc/src/opencl/canny.cl int y = (int) res.y; y 224 modules/imgproc/src/opencl/canny.cl int a = (y / (float)x) * TG22; y 225 modules/imgproc/src/opencl/canny.cl int b = (y / (float)x) * TG67; y 234 modules/imgproc/src/opencl/canny.cl int dir3 = (a * b) & (((x ^ y) & 0x80000000) >> 31); // if a = 1, b = 1, dy ^ dx < 0 y 261 modules/imgproc/src/opencl/canny.cl #define dist(x, y) ((int)(x) * (x) + (int)(y) * (y)) y 263 modules/imgproc/src/opencl/canny.cl #define dist(x, y) (abs(x) + abs(y)) y 298 modules/imgproc/src/opencl/canny.cl int y = clamp(start_y - 1 + i / (GRP_SIZEX + 2), 0, rows - 1); y 300 modules/imgproc/src/opencl/canny.cl int dx_index = mad24(y, dx_step, mad24(x, cn * (int)sizeof(short), dx_offset)); y 301 modules/imgproc/src/opencl/canny.cl int dy_index = mad24(y, dy_step, mad24(x, cn * (int)sizeof(short), dy_offset)); y 340 modules/imgproc/src/opencl/canny.cl short y = (sigma[lidx + lidy * (GRP_SIZEX + 2)]).y; y 345 modules/imgproc/src/opencl/canny.cl int a = (y / (float)x) * TG22; y 346 modules/imgproc/src/opencl/canny.cl int b = (y / (float)x) * TG67; y 351 modules/imgproc/src/opencl/canny.cl int dir3 = (a * b) & (((x ^ y) & 0x80000000) >> 31); y 390 modules/imgproc/src/opencl/canny.cl int y = get_global_id(1) * PIX_PER_WI; y 403 modules/imgproc/src/opencl/canny.cl __global uchar* map = map_ptr + mad24(y, map_step, x * (int)sizeof(int)); y 408 modules/imgproc/src/opencl/canny.cl if (y < rows) y 413 modules/imgproc/src/opencl/canny.cl l_stack[atomic_inc(&l_counter)] = (ushort2)(x, y); y 416 modules/imgproc/src/opencl/canny.cl y++; y 442 modules/imgproc/src/opencl/canny.cl ushort posy = pos.y + move_dir[1][j]; y 477 modules/imgproc/src/opencl/canny.cl int y = get_global_id(1) * PIX_PER_WI; y 481 modules/imgproc/src/opencl/canny.cl int map_index = mad24(map_step, y, mad24(x, (int)sizeof(int), map_offset)); y 482 modules/imgproc/src/opencl/canny.cl int dst_index = mad24(dst_step, y, x + dst_offset); y 487 modules/imgproc/src/opencl/canny.cl if (y < rows) y 492 modules/imgproc/src/opencl/canny.cl y++; y 157 modules/imgproc/src/opencl/clahe.cl for (int i = get_local_id(1); i < tileSize.y; i += get_local_size(1)) y 159 modules/imgproc/src/opencl/clahe.cl __global const uchar* srcPtr = src + mad24(ty * tileSize.y + i, srcStep, tx * tileSize.x + src_offset); y 222 modules/imgproc/src/opencl/clahe.cl const int y = get_global_id(1); y 224 modules/imgproc/src/opencl/clahe.cl if (x >= cols || y >= rows) y 227 modules/imgproc/src/opencl/clahe.cl const float tyf = (convert_float(y) / tileSize.y) - 0.5f; y 241 modules/imgproc/src/opencl/clahe.cl const int srcVal = src[mad24(y, srcStep, x + src_offset)]; y 251 modules/imgproc/src/opencl/clahe.cl dst[mad24(y, dstStep, x + dst_offset)] = convert_uchar(clamp(ires, (uint)0, (uint)255)); y 57 modules/imgproc/src/opencl/covardata.cl int srcY = y + srcOffsetY - (kernel_border); \ y 97 modules/imgproc/src/opencl/covardata.cl int y = (int)get_global_id(1); y 102 modules/imgproc/src/opencl/covardata.cl if( x >= dstWidth || y >=dstHeight ) return; y 117 modules/imgproc/src/opencl/covardata.cl DSTX(x,y) = mad(10.0f, m3 - m1, 3.0f * (u3 - u1 + b3 - b1)) * scale; y 118 modules/imgproc/src/opencl/covardata.cl DSTY(x,y) = mad(10.0f, b2 - u2, 3.0f * (b1 - u1 + b3 - u3)) * scale; y 120 modules/imgproc/src/opencl/covardata.cl DSTX(x,y) = mad(2.0f, m3 - m1, u3 - u1 + b3 - b1) * scale; y 121 modules/imgproc/src/opencl/covardata.cl DSTY(x,y) = mad(2.0f, b2 - u2, b1 - u1 + b3 - u3) * scale; y 136 modules/imgproc/src/opencl/covardata.cl int y = (int)get_global_id(1); y 141 modules/imgproc/src/opencl/covardata.cl if( x >= dstWidth || y >=dstHeight ) return; y 173 modules/imgproc/src/opencl/covardata.cl DSTX(x,y) = scale * y 184 modules/imgproc/src/opencl/covardata.cl DSTY(x,y) = scale * y 207 modules/imgproc/src/opencl/covardata.cl int y = (int)get_global_id(1); y 212 modules/imgproc/src/opencl/covardata.cl if( x >= dstWidth || y >=dstHeight ) return; y 270 modules/imgproc/src/opencl/covardata.cl DSTX(x,y) = scale * y 293 modules/imgproc/src/opencl/covardata.cl DSTY(x,y) = scale * y 100 modules/imgproc/src/opencl/cvtcolor.cl #define G_COMP y y 104 modules/imgproc/src/opencl/cvtcolor.cl #define G_COMP y y 126 modules/imgproc/src/opencl/cvtcolor.cl #define __CAT(x, y) x##y y 127 modules/imgproc/src/opencl/cvtcolor.cl #define CAT(x, y) __CAT(x, y) y 138 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 142 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 143 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 148 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 158 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 171 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 175 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 176 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 181 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 194 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 212 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 216 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 217 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dt_offset)); y 222 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 246 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 262 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 266 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 267 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dt_offset)); y 272 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 277 modules/imgproc/src/opencl/cvtcolor.cl DATA_TYPE Y = src_pix.x, U = src_pix.y, V = src_pix.z; y 297 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 312 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 319 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows / 2 ) y 321 modules/imgproc/src/opencl/cvtcolor.cl __global const uchar* ysrc = srcptr + mad24(y << 1, src_step, (x << 1) + src_offset); y 322 modules/imgproc/src/opencl/cvtcolor.cl __global const uchar* usrc = srcptr + mad24(rows + y, src_step, (x << 1) + src_offset); y 323 modules/imgproc/src/opencl/cvtcolor.cl __global uchar* dst1 = dstptr + mad24(y << 1, dst_step, mad24(x, dcn<<1, dt_offset)); y 371 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 381 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 388 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows / 2 ) y 390 modules/imgproc/src/opencl/cvtcolor.cl __global const uchar* ysrc = srcptr + mad24(y << 1, src_step, (x << 1) + src_offset); y 391 modules/imgproc/src/opencl/cvtcolor.cl __global uchar* dst1 = dstptr + mad24(y << 1, dst_step, x * (dcn<<1) + dt_offset); y 401 modules/imgproc/src/opencl/cvtcolor.cl int u_ind = mad24(y, cols >> 1, x); y 405 modules/imgproc/src/opencl/cvtcolor.cl __global const uchar* usrc = srcptr + mad24(rows + (y>>1), src_step, src_offset + (y%2)*(cols >> 1) + x); y 406 modules/imgproc/src/opencl/cvtcolor.cl __global const uchar* vsrc = usrc + mad24(rows >> 2, src_step, rows % 4 ? vsteps[y%2] : 0); y 449 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 462 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 466 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y << 1, src_step, mad24(x << 1, scn, src_offset)); y 467 modules/imgproc/src/opencl/cvtcolor.cl int ydst_index = mad24(y << 1, dst_step, (x << 1) + dst_offset); y 475 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows / 3) y 482 modules/imgproc/src/opencl/cvtcolor.cl __global uchar* udst = dstptr + mad24(y_rows + (y>>1), dst_step, dst_offset + (y%2)*(cols >> 1) + x); y 483 modules/imgproc/src/opencl/cvtcolor.cl __global uchar* vdst = udst + mad24(y_rows >> 2, dst_step, y_rows % 4 ? vsteps[y%2] : 0); y 514 modules/imgproc/src/opencl/cvtcolor.cl y1.y = convert_uchar_sat(fma(coeffs[0], src_pix1[ scn+2-bidx], fma(coeffs[1], src_pix1[ scn+1], fma(coeffs[2], src_pix1[ scn+bidx], 16.5f)))); y 518 modules/imgproc/src/opencl/cvtcolor.cl y2.y = convert_uchar_sat(fma(coeffs[0], src_pix2[ scn+2-bidx], fma(coeffs[1], src_pix2[ scn+1], fma(coeffs[2], src_pix2[ scn+bidx], 16.5f)))); y 551 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 564 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 568 modules/imgproc/src/opencl/cvtcolor.cl __global const uchar* src = srcptr + mad24(y, src_step, (x << 2) + src_offset); y 569 modules/imgproc/src/opencl/cvtcolor.cl __global uchar* dst = dstptr + mad24(y, dst_step, mad24(x << 1, dcn, dst_offset)); y 574 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows ) y 610 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 627 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 631 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 632 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dt_offset)); y 637 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 661 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 677 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 681 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 682 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 687 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 693 modules/imgproc/src/opencl/cvtcolor.cl DATA_TYPE yp = src_pix.x, cr = src_pix.y, cb = src_pix.z; y 714 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 745 modules/imgproc/src/opencl/cvtcolor.cl DATA_TYPE r = src_pix.x, g = src_pix.y, b = src_pix.z; y 749 modules/imgproc/src/opencl/cvtcolor.cl float y = fma(r, coeffs[3], fma(g, coeffs[4], b * coeffs[5])); y 753 modules/imgproc/src/opencl/cvtcolor.cl int y = CV_DESCALE(mad24(r, coeffs[3], mad24(g, coeffs[4], b * coeffs[5])), xyz_shift); y 757 modules/imgproc/src/opencl/cvtcolor.cl dst[1] = SAT_CAST(y); y 789 modules/imgproc/src/opencl/cvtcolor.cl DATA_TYPE x = src_pix.x, y = src_pix.y, z = src_pix.z; y 792 modules/imgproc/src/opencl/cvtcolor.cl float b = fma(x, coeffs[0], fma(y, coeffs[1], z * coeffs[2])); y 793 modules/imgproc/src/opencl/cvtcolor.cl float g = fma(x, coeffs[3], fma(y, coeffs[4], z * coeffs[5])); y 794 modules/imgproc/src/opencl/cvtcolor.cl float r = fma(x, coeffs[6], fma(y, coeffs[7], z * coeffs[8])); y 796 modules/imgproc/src/opencl/cvtcolor.cl int b = CV_DESCALE(mad24(x, coeffs[0], mad24(y, coeffs[1], z * coeffs[2])), xyz_shift); y 797 modules/imgproc/src/opencl/cvtcolor.cl int g = CV_DESCALE(mad24(x, coeffs[3], mad24(y, coeffs[4], z * coeffs[5])), xyz_shift); y 798 modules/imgproc/src/opencl/cvtcolor.cl int r = CV_DESCALE(mad24(x, coeffs[6], mad24(y, coeffs[7], z * coeffs[8])), xyz_shift); y 830 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 834 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 835 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 840 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 848 modules/imgproc/src/opencl/cvtcolor.cl dst[1] = src_pix.y; y 852 modules/imgproc/src/opencl/cvtcolor.cl dst[1] = src_pix.y; y 864 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 879 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 883 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 884 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 889 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 911 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 924 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 928 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 929 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 934 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 947 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 962 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 966 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 967 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, dst_offset + x); y 972 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 981 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 994 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 998 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, src_offset + x); y 999 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1004 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1014 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1039 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1043 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1044 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1049 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1077 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1090 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1094 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1095 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1100 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1104 modules/imgproc/src/opencl/cvtcolor.cl float h = src_pix.x, s = src_pix.y*(1/255.f), v = src_pix.z*(1/255.f); y 1143 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1158 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1162 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1163 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1168 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1202 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1215 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1219 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1220 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1225 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1232 modules/imgproc/src/opencl/cvtcolor.cl float h = src_pix.x, s = src_pix.y, v = src_pix.z; y 1271 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1290 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1294 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1295 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1300 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1337 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1350 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1354 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1355 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1360 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1364 modules/imgproc/src/opencl/cvtcolor.cl float h = src_pix.x, l = src_pix.y*(1.f/255.f), s = src_pix.z*(1.f/255.f); y 1402 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1417 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1421 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1422 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1427 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1465 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1478 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1482 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1483 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1488 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1494 modules/imgproc/src/opencl/cvtcolor.cl float h = src_pix.x, l = src_pix.y, s = src_pix.z; y 1533 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1552 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1556 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, src_offset + (x << 2)); y 1557 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, dst_offset + (x << 2)); y 1562 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1568 modules/imgproc/src/opencl/cvtcolor.cl mad24(src_pix.y, src_pix.w, HALF_MAX) / MAX_NUM, y 1571 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1584 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1588 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, 4, src_offset)); y 1589 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, 4, dst_offset)); y 1594 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1604 modules/imgproc/src/opencl/cvtcolor.cl mad24(src_pix.y, MAX_NUM, v3_half) / v3, y 1607 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1641 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1645 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1646 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1651 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1661 modules/imgproc/src/opencl/cvtcolor.cl int R = gammaTab[src_pix.x], G = gammaTab[src_pix.y], B = gammaTab[src_pix.z]; y 1674 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1692 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1696 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1697 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1702 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1713 modules/imgproc/src/opencl/cvtcolor.cl float G = clamp(src_pix.y, 0.0f, 1.0f); y 1738 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1760 modules/imgproc/src/opencl/cvtcolor.cl float y, fy; y 1763 modules/imgproc/src/opencl/cvtcolor.cl y = li / 903.3f; y 1764 modules/imgproc/src/opencl/cvtcolor.cl fy = fma(7.787f, y, 16.0f / 116.0f); y 1769 modules/imgproc/src/opencl/cvtcolor.cl y = fy * fy * fy; y 1782 modules/imgproc/src/opencl/cvtcolor.cl float ro = clamp(fma(C0, x, fma(C1, y, C2 * z)), 0.0f, 1.0f); y 1783 modules/imgproc/src/opencl/cvtcolor.cl float go = clamp(fma(C3, x, fma(C4, y, C5 * z)), 0.0f, 1.0f); y 1784 modules/imgproc/src/opencl/cvtcolor.cl float bo = clamp(fma(C6, x, fma(C7, y, C8 * z)), 0.0f, 1.0f); y 1805 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1809 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1810 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1815 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1823 modules/imgproc/src/opencl/cvtcolor.cl srcbuf[1] = convert_float(src_pix.y - 128); y 1840 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1858 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1862 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1863 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1868 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1875 modules/imgproc/src/opencl/cvtcolor.cl srcbuf[0] = src_pix.x, srcbuf[1] = src_pix.y, srcbuf[2] = src_pix.z; y 1887 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1914 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1918 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1919 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1923 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 1950 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 1967 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 1971 modules/imgproc/src/opencl/cvtcolor.cl src += mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 1972 modules/imgproc/src/opencl/cvtcolor.cl dst += mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 1976 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 2001 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 2020 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 2024 modules/imgproc/src/opencl/cvtcolor.cl int src_index = mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 2025 modules/imgproc/src/opencl/cvtcolor.cl int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 2029 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 2064 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 2081 modules/imgproc/src/opencl/cvtcolor.cl int y = get_global_id(1) * PIX_PER_WI_Y; y 2085 modules/imgproc/src/opencl/cvtcolor.cl src += mad24(y, src_step, mad24(x, scnbytes, src_offset)); y 2086 modules/imgproc/src/opencl/cvtcolor.cl dst += mad24(y, dst_step, mad24(x, dcnbytes, dst_offset)); y 2090 modules/imgproc/src/opencl/cvtcolor.cl if (y < rows) y 2131 modules/imgproc/src/opencl/cvtcolor.cl ++y; y 175 modules/imgproc/src/opencl/filter2D.cl int y = get_global_id(1); y 189 modules/imgproc/src/opencl/filter2D.cl int srcY = srcOffsetY + y - ANCHOR_Y; y 191 modules/imgproc/src/opencl/filter2D.cl __global dstT *dst = (__global dstT *)(dstptr + mad24(y, dst_step, mad24(x, DSTSIZE, dst_offset))); // Pointer can be out of bounds! y 86 modules/imgproc/src/opencl/filter2DSmall.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ y 89 modules/imgproc/src/opencl/filter2DSmall.cl y = max(min(y, maxY - 1), minY); \ y 92 modules/imgproc/src/opencl/filter2DSmall.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ y 98 modules/imgproc/src/opencl/filter2DSmall.cl if (y < minY) \ y 99 modules/imgproc/src/opencl/filter2DSmall.cl y -= ((y - maxY + 1) / maxY) * maxY; \ y 100 modules/imgproc/src/opencl/filter2DSmall.cl if (y >= maxY) \ y 101 modules/imgproc/src/opencl/filter2DSmall.cl y %= maxY; \ y 104 modules/imgproc/src/opencl/filter2DSmall.cl #define EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, delta) \ y 119 modules/imgproc/src/opencl/filter2DSmall.cl y = minY; \ y 123 modules/imgproc/src/opencl/filter2DSmall.cl if (y < minY) \ y 124 modules/imgproc/src/opencl/filter2DSmall.cl y = minY - (y - minY) - 1 + delta; \ y 126 modules/imgproc/src/opencl/filter2DSmall.cl y = maxY - 1 - (y - maxY) - delta; \ y 128 modules/imgproc/src/opencl/filter2DSmall.cl while (y >= maxY || y < minY); \ y 131 modules/imgproc/src/opencl/filter2DSmall.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, 0) y 133 modules/imgproc/src/opencl/filter2DSmall.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, 1) y 139 modules/imgproc/src/opencl/filter2DSmall.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ y 141 modules/imgproc/src/opencl/filter2DSmall.cl int _row = y - ISOLATED_MIN(minY), _col = x - ISOLATED_MIN(minX); \ y 144 modules/imgproc/src/opencl/filter2DSmall.cl y = _row + ISOLATED_MIN(minY); \ y 182 modules/imgproc/src/opencl/filter2DSmall.cl return (coord.x < bounds.x1 || coord.y < bounds.y1 || coord.x + numPixels > bounds.x2 || coord.y >= bounds.y2); y 187 modules/imgproc/src/opencl/filter2DSmall.cl return (coord.x < 0 || coord.y < 0 || coord.x + numPixels > bounds.x2 || coord.y >= bounds.y2); y 198 modules/imgproc/src/opencl/filter2DSmall.cl int selected_row = coord.y; y 206 modules/imgproc/src/opencl/filter2DSmall.cl __global const uchar* ptr = srcptr + mul24(coord.y, srcstep) + y 217 modules/imgproc/src/opencl/filter2DSmall.cl __global const uchar* ptr = srcptr + mul24(pos.y, srcstep) + y 228 modules/imgproc/src/opencl/filter2DSmall.cl #define __CAT(x, y) x##y y 229 modules/imgproc/src/opencl/filter2DSmall.cl #define CAT(x, y) __CAT(x, y) y 253 modules/imgproc/src/opencl/filter2DSmall.cl (srcptr + mul24(pos.y, srcstep) + y 297 modules/imgproc/src/opencl/filter2DSmall.cl int y = startY + py; y 302 modules/imgproc/src/opencl/filter2DSmall.cl int2 srcPos = (int2)(srcCoords.x1 + x - ANCHOR_X, srcCoords.y1 + y - ANCHOR_Y); y 325 modules/imgproc/src/opencl/filter2DSmall.cl int y = startY + py; y 342 modules/imgproc/src/opencl/filter2DSmall.cl __global dstT* dstPtr = (__global dstT*)(dstptr + y * dst_step + dst_offset + x * DSTSIZE); // Pointer can be out of bounds! y 70 modules/imgproc/src/opencl/filterSepCol.cl int y = get_global_id(1); y 75 modules/imgproc/src/opencl/filterSepCol.cl int start_addr = mad24(y, src_step, x * SRCSIZE); y 116 modules/imgproc/src/opencl/filterSepCol.cl if (x < dst_cols && y < dst_rows) y 118 modules/imgproc/src/opencl/filterSepCol.cl start_addr = mad24(y, dst_step, mad24(DSTSIZE, x, dst_offset)); y 158 modules/imgproc/src/opencl/filterSepRow.cl int y = get_global_id(1); y 164 modules/imgproc/src/opencl/filterSepRow.cl int start_y = y + src_offset_y - radiusy; y 187 modules/imgproc/src/opencl/filterSepRow.cl temp[i].y = ELEM(start_x+i*LSIZE0*4+1, src_offset_x, src_offset_x + src_cols, 0, temp[i].y); y 196 modules/imgproc/src/opencl/filterSepRow.cl temp[i].y = ELEM(start_x+i*LSIZE0*4+1, 0, src_whole_cols, 0, temp[i].y); y 219 modules/imgproc/src/opencl/filterSepRow.cl EXTRAPOLATE(index[i].y, src_offset_x, src_offset_x + src_cols); y 224 modules/imgproc/src/opencl/filterSepRow.cl EXTRAPOLATE(index[i].y, 0, src_whole_cols); y 242 modules/imgproc/src/opencl/filterSepRow.cl temp[i].y = src[addr.y]; y 273 modules/imgproc/src/opencl/filterSepRow.cl start_addr = mad24(y, dst_step_in_pixel, x); y 276 modules/imgproc/src/opencl/filterSepRow.cl if ((x+3<dst_cols) & (y<dst_rows)) y 278 modules/imgproc/src/opencl/filterSepRow.cl else if ((x+2<dst_cols) && (y<dst_rows)) y 281 modules/imgproc/src/opencl/filterSepRow.cl dst[start_addr+1] = sum.y; y 284 modules/imgproc/src/opencl/filterSepRow.cl else if ((x+1<dst_cols) && (y<dst_rows)) y 287 modules/imgproc/src/opencl/filterSepRow.cl dst[start_addr+1] = sum.y; y 289 modules/imgproc/src/opencl/filterSepRow.cl else if (x<dst_cols && y<dst_rows) y 299 modules/imgproc/src/opencl/filterSepRow.cl int y = get_global_id(1); y 304 modules/imgproc/src/opencl/filterSepRow.cl int start_y = y + src_offset_y - radiusy; y 379 modules/imgproc/src/opencl/filterSepRow.cl if (x < dst_cols && y < dst_rows) y 381 modules/imgproc/src/opencl/filterSepRow.cl start_addr = mad24(y, dst_step, x * DSTSIZE); y 153 modules/imgproc/src/opencl/filterSep_singlePass.cl for (int y = 0; y < dst_rows; y+=BLK_Y) y 176 modules/imgproc/src/opencl/filterSep_singlePass.cl if ((x < dst_cols) && (y + liy < dst_rows)) y 196 modules/imgproc/src/opencl/filterSep_singlePass.cl storepix(convertToDstT(sum + (WT)(delta)), Dst + mad24(y + liy, dst_step, mad24(x, DSTSIZE, dst_offset))); y 207 modules/imgproc/src/opencl/filterSep_singlePass.cl int yb = y + liy + BLK_Y + srcOffsetY + RADIUSY; y 51 modules/imgproc/src/opencl/filterSmall.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ y 54 modules/imgproc/src/opencl/filterSmall.cl y = max(min(y, maxY - 1), minY); \ y 57 modules/imgproc/src/opencl/filterSmall.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ y 63 modules/imgproc/src/opencl/filterSmall.cl if (y < minY) \ y 64 modules/imgproc/src/opencl/filterSmall.cl y -= ((y - maxY + 1) / maxY) * maxY; \ y 65 modules/imgproc/src/opencl/filterSmall.cl if (y >= maxY) \ y 66 modules/imgproc/src/opencl/filterSmall.cl y %= maxY; \ y 69 modules/imgproc/src/opencl/filterSmall.cl #define EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, delta) \ y 84 modules/imgproc/src/opencl/filterSmall.cl y = minY; \ y 88 modules/imgproc/src/opencl/filterSmall.cl if (y < minY) \ y 89 modules/imgproc/src/opencl/filterSmall.cl y = minY - (y - minY) - 1 + delta; \ y 91 modules/imgproc/src/opencl/filterSmall.cl y = maxY - 1 - (y - maxY) - delta; \ y 93 modules/imgproc/src/opencl/filterSmall.cl while (y >= maxY || y < minY); \ y 96 modules/imgproc/src/opencl/filterSmall.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, 0) y 98 modules/imgproc/src/opencl/filterSmall.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, 1) y 104 modules/imgproc/src/opencl/filterSmall.cl #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ y 106 modules/imgproc/src/opencl/filterSmall.cl int _row = y - ISOLATED_MIN(minY), _col = x - ISOLATED_MIN(minX); \ y 109 modules/imgproc/src/opencl/filterSmall.cl y = _row + ISOLATED_MIN(minY); \ y 147 modules/imgproc/src/opencl/filterSmall.cl return coord.x < bounds.x1 || coord.y < bounds.y1 || coord.x + numPixels > bounds.x2 || coord.y >= bounds.y2; y 152 modules/imgproc/src/opencl/filterSmall.cl return coord.x < 0 || coord.y < 0 || coord.x + numPixels > bounds.x2 || coord.y >= bounds.y2; y 161 modules/imgproc/src/opencl/filterSmall.cl #define __CAT(x, y) x##y y 162 modules/imgproc/src/opencl/filterSmall.cl #define CAT(x, y) __CAT(x, y) y 174 modules/imgproc/src/opencl/filterSmall.cl (srcptr + mad24(pos.y, srcstep, pos.x * SRCSIZE)); y 309 modules/imgproc/src/opencl/filterSmall.cl int selected_row = coord.y; y 325 modules/imgproc/src/opencl/filterSmall.cl __global const uchar * ptr = srcptr + mad24(pos.y, srcstep, pos.x * SRCSIZE); y 355 modules/imgproc/src/opencl/filterSmall.cl int y = startY + py; y 360 modules/imgproc/src/opencl/filterSmall.cl int2 srcPos = (int2)(srcCoords.x1 + x - ANCHOR_X, srcCoords.y1 + y - ANCHOR_Y); y 392 modules/imgproc/src/opencl/filterSmall.cl int y = startY + py; y 398 modules/imgproc/src/opencl/filterSmall.cl int dst_index = mad24(y, dst_step, mad24(x, DSTSIZE, dst_offset)); y 405 modules/imgproc/src/opencl/filterSmall.cl int mat_index = mad24(y, mat_step, mad24(x, SRCSIZE, mat_offset)); y 119 modules/imgproc/src/opencl/gftt.cl int y = get_global_id(1); y 124 modules/imgproc/src/opencl/gftt.cl if (y < rows && x < cols y 126 modules/imgproc/src/opencl/gftt.cl && mask[mad24(y, mask_step, x + mask_offset)] y 130 modules/imgproc/src/opencl/gftt.cl ++x, ++y; y 131 modules/imgproc/src/opencl/gftt.cl float val = GET_SRC_32F(y, x); y 136 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y - 1, x - 1), maxVal); y 137 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y - 1, x ), maxVal); y 138 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y - 1, x + 1), maxVal); y 140 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y , x - 1), maxVal); y 141 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y , x + 1), maxVal); y 143 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y + 1, x - 1), maxVal); y 144 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y + 1, x ), maxVal); y 145 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y + 1, x + 1), maxVal); y 154 modules/imgproc/src/opencl/gftt.cl corners[ind].y = as_float(y | (x << 16)); y 16 modules/imgproc/src/opencl/hough_lines.cl int y = get_group_id(1); y 20 modules/imgproc/src/opencl/hough_lines.cl __global const uchar * src = src_ptr + mad24(y, src_step, src_offset); y 28 modules/imgproc/src/opencl/hough_lines.cl if (y < src_rows) y 30 modules/imgproc/src/opencl/hough_lines.cl y <<= 16; y 36 modules/imgproc/src/opencl/hough_lines.cl int val = y | i; y 81 modules/imgproc/src/opencl/hough_lines.cl const int y = (val >> 16) & 0xFFFF; y 83 modules/imgproc/src/opencl/hough_lines.cl int r = convert_int_rte(mad(x, cosVal, y * sinVal)) + shift; y 118 modules/imgproc/src/opencl/hough_lines.cl const int y = point >> 16; y 120 modules/imgproc/src/opencl/hough_lines.cl int r = convert_int_rte(mad(x, cosVal, y * sinVal)) + shift; y 145 modules/imgproc/src/opencl/hough_lines.cl int y = get_global_id(1); y 148 modules/imgproc/src/opencl/hough_lines.cl if (y < accum_rows-2) y 150 modules/imgproc/src/opencl/hough_lines.cl __global uchar* accum = accum_ptr + mad24(y+1, accum_step, mad24(x0+1, (int) sizeof(int), accum_offset)); y 166 modules/imgproc/src/opencl/hough_lines.cl float angle = y * theta; y 185 modules/imgproc/src/opencl/hough_lines.cl int y = get_global_id(1); y 187 modules/imgproc/src/opencl/hough_lines.cl if (y < accum_rows-2) y 189 modules/imgproc/src/opencl/hough_lines.cl __global uchar* accum = accum_ptr + mad24(y+1, accum_step, mad24(x+1, (int) sizeof(int), accum_offset)); y 206 modules/imgproc/src/opencl/hough_lines.cl const float angle = y * theta; y 221 modules/imgproc/src/opencl/hough_lines.cl pb[0].y = p0.y + a * dir.y; y 225 modules/imgproc/src/opencl/hough_lines.cl pb[1].y = p0.y + a * dir.y; y 228 modules/imgproc/src/opencl/hough_lines.cl if (dir.y != 0) y 230 modules/imgproc/src/opencl/hough_lines.cl a = -p0.y / dir.y; y 232 modules/imgproc/src/opencl/hough_lines.cl pb[2].y = 0; y 234 modules/imgproc/src/opencl/hough_lines.cl a = (src_rows - 1 - p0.y) / dir.y; y 236 modules/imgproc/src/opencl/hough_lines.cl pb[3].y = src_rows - 1; y 239 modules/imgproc/src/opencl/hough_lines.cl if (pb[0].x == 0 && (pb[0].y >= 0 && pb[0].y < src_rows)) y 245 modules/imgproc/src/opencl/hough_lines.cl else if (pb[1].x == src_cols - 1 && (pb[1].y >= 0 && pb[1].y < src_rows)) y 251 modules/imgproc/src/opencl/hough_lines.cl else if (pb[2].y == 0 && (pb[2].x >= 0 && pb[2].x < src_cols)) y 254 modules/imgproc/src/opencl/hough_lines.cl if (dir.y < 0) y 257 modules/imgproc/src/opencl/hough_lines.cl else if (pb[3].y == src_rows - 1 && (pb[3].x >= 0 && pb[3].x < src_cols)) y 260 modules/imgproc/src/opencl/hough_lines.cl if (dir.y > 0) y 264 modules/imgproc/src/opencl/hough_lines.cl dir /= max(fabs(dir.x), fabs(dir.y)); y 270 modules/imgproc/src/opencl/hough_lines.cl if (p0.x < 0 || p0.x >= src_cols || p0.y < 0 || p0.y >= src_rows) y 275 modules/imgproc/src/opencl/hough_lines.cl if (*(src_ptr + mad24(p0.y, src_step, p0.x + src_offset))) y 295 modules/imgproc/src/opencl/hough_lines.cl fabs(line_end[1].y - line_end[0].y) >= lineLength; y 301 modules/imgproc/src/opencl/hough_lines.cl lines[index] = (int4)(line_end[0].x, line_end[0].y, line_end[1].x, line_end[1].y); y 310 modules/imgproc/src/opencl/hough_lines.cl if (p0.x < 0 || p0.x >= src_cols || p0.y < 0 || p0.y >= src_rows) y 315 modules/imgproc/src/opencl/hough_lines.cl fabs(line_end[1].y - line_end[0].y) >= lineLength; y 321 modules/imgproc/src/opencl/hough_lines.cl lines[index] = (int4)(line_end[0].x, line_end[0].y, line_end[1].x, line_end[1].y); y 45 modules/imgproc/src/opencl/integral_sum.cl for (int y = 0; y < rows; y += LOCAL_SUM_SIZE) y 51 modules/imgproc/src/opencl/integral_sum.cl if ((x < cols) && (y + yin < rows)) y 68 modules/imgproc/src/opencl/integral_sum.cl int buf_index = mad24(buf_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumT), y + lid, buf_offset)); y 70 modules/imgproc/src/opencl/integral_sum.cl int buf_sq_index = mad24(buf_sq_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumSQT), y + lid, buf_sq_offset)); y 145 modules/imgproc/src/opencl/integral_sum.cl for (int y = 1; y < cols; y += LOCAL_SUM_SIZE) y 164 modules/imgproc/src/opencl/integral_sum.cl if (y + lid < cols) y 167 modules/imgproc/src/opencl/integral_sum.cl int dst_index = mad24(dst_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumT), y + lid, dst_offset)); y 169 modules/imgproc/src/opencl/integral_sum.cl int dst_sq_index = mad24(dst_sq_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumSQT), y + lid, dst_sq_offset)); y 19 modules/imgproc/src/opencl/laplacian5.cl int y = get_global_id(1); y 21 modules/imgproc/src/opencl/laplacian5.cl if (y < dst_rows && x < dst_cols) y 23 modules/imgproc/src/opencl/laplacian5.cl int src1_index = mad24(y, src1_step, mad24(x, (int)sizeof(srcT), src1_offset)); y 24 modules/imgproc/src/opencl/laplacian5.cl int src2_index = mad24(y, src2_step, mad24(x, (int)sizeof(srcT), src2_offset)); y 25 modules/imgproc/src/opencl/laplacian5.cl int dst_index = mad24(y, dst_step, mad24(x, (int)sizeof(dstT), dst_offset)); y 144 modules/imgproc/src/opencl/laplacian5.cl for (int y = 0; y < dst_rows; y+=BLK_Y) y 165 modules/imgproc/src/opencl/laplacian5.cl if ((x < dst_cols) && (y + liy < dst_rows)) y 176 modules/imgproc/src/opencl/laplacian5.cl storepix(convertToDT(sum), Dst + mad24(y + liy, dst_step, mad24(x, DSTSIZE, dst_offset))); y 187 modules/imgproc/src/opencl/laplacian5.cl int yb = y + liy + BLK_Y + srcOffsetY + RADIUS; y 40 modules/imgproc/src/opencl/match_template.cl #define SQSUMS_PTR(ox, oy) mad24(y + oy, src_sqsums_step, mad24(x + ox, cn, src_sqsums_offset)) y 41 modules/imgproc/src/opencl/match_template.cl #define SUMS_PTR(ox, oy) mad24(y + oy, src_sums_step, mad24(x + ox, cn, src_sums_offset)) y 42 modules/imgproc/src/opencl/match_template.cl #define SUMS(ox, oy) mad24(y+oy, src_sums_step, mad24(x+ox, (int)sizeof(T1)*cn, src_sums_offset)) y 43 modules/imgproc/src/opencl/match_template.cl #define SQ_SUMS(ox, oy) mad24(y+oy, src_sqsums_step, mad24(x+ox, (int)sizeof(T1)*cn, src_sqsums_offset)) y 68 modules/imgproc/src/opencl/match_template.cl #define convertToDT(value) (float)(value.x + value.y) y 70 modules/imgproc/src/opencl/match_template.cl #define convertToDT(value) (float)(value.x + value.y + value.z) y 72 modules/imgproc/src/opencl/match_template.cl #define convertToDT(value) (float)(value.x + value.y + value.z + value.w) y 125 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1)*PIX_PER_WI_Y; y 130 modules/imgproc/src/opencl/match_template.cl for (int cy=0; cy < PIX_PER_WI_Y && y < rows; ++cy, ++y) y 132 modules/imgproc/src/opencl/match_template.cl T1 image = *(__global const T1*)(img + mad24(y, img_step, mad24(x, (int)sizeof(T1)*cn, img_offset)));; y 133 modules/imgproc/src/opencl/match_template.cl int res_idx = mad24(y, res_step, mad24(x, (int)sizeof(float), res_offset)); y 148 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 150 modules/imgproc/src/opencl/match_template.cl if (y < dst_rows) y 156 modules/imgproc/src/opencl/match_template.cl int ind = mad24(y, src_step, mad24(x0, (int)sizeof(T1), src_offset)); y 174 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x0, (int)sizeof(float), dst_offset)); y 183 modules/imgproc/src/opencl/match_template.cl __global const T1 * src = (__global const T1 *)(srcptr + mad24(y, src_step, mad24(x0, (int)sizeof(T1), src_offset))); y 204 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x0, (int)sizeof(float), dst_offset)); y 218 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 220 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 228 modules/imgproc/src/opencl/match_template.cl T src = loadpix(srcptr + mad24(y+i, src_step, mad24(x+j, TSIZE, src_offset))); y 235 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 248 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 250 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 259 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 272 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 274 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 282 modules/imgproc/src/opencl/match_template.cl T src = loadpix(srcptr + mad24(y+i, src_step, mad24(x+j, TSIZE, src_offset))); y 291 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 303 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 305 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 316 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 329 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 331 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 342 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 357 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 359 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 361 modules/imgproc/src/opencl/match_template.cl __global const T* sum = (__global const T*)(src_sums + mad24(y, src_sums_step, mad24(x, (int)sizeof(T), src_sums_offset))); y 371 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 383 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 385 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 390 modules/imgproc/src/opencl/match_template.cl temp_sum.y = template_sum.y; y 400 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 412 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 414 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 416 modules/imgproc/src/opencl/match_template.cl __global const T* sum = (__global const T*)(src_sums + mad24(y, src_sums_step, mad24(x, (int)sizeof(T), src_sums_offset))); y 424 modules/imgproc/src/opencl/match_template.cl temp_sum.y = template_sum.y; y 433 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 452 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 458 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 462 modules/imgproc/src/opencl/match_template.cl __global const T* sum = (__global const T*)(src_sums + mad24(y, src_sums_step, mad24(x, (int)sizeof(T), src_sums_offset))); y 463 modules/imgproc/src/opencl/match_template.cl __global const T* sqsum = (__global const T*)(src_sqsums + mad24(y, src_sqsums_step, mad24(x, (int)sizeof(T), src_sqsums_offset))); y 473 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 487 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 489 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 496 modules/imgproc/src/opencl/match_template.cl temp_sum.y = template_sum.y; y 514 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 528 modules/imgproc/src/opencl/match_template.cl int y = get_global_id(1); y 530 modules/imgproc/src/opencl/match_template.cl if (x < dst_cols && y < dst_rows) y 536 modules/imgproc/src/opencl/match_template.cl __global const T* sum = (__global const T*)(src_sums + mad24(y, src_sums_step, mad24(x, (int)sizeof(T), src_sums_offset))); y 537 modules/imgproc/src/opencl/match_template.cl __global const T* sqsum = (__global const T*)(src_sqsums + mad24(y, src_sqsums_step, mad24(x, (int)sizeof(T), src_sqsums_offset))); y 544 modules/imgproc/src/opencl/match_template.cl temp_sum.y = template_sum.y; y 554 modules/imgproc/src/opencl/match_template.cl int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset)); y 287 modules/imgproc/src/opencl/medianFilter.cl int y = get_local_id(1); y 293 modules/imgproc/src/opencl/medianFilter.cl int dy = gy - y - 1; y 295 modules/imgproc/src/opencl/medianFilter.cl int id = min(mad24(x, 16, y), 9*18-1); y 311 modules/imgproc/src/opencl/medianFilter.cl T p0 = data[y][x], p1 = data[y][(x+1)], p2 = data[y][(x+2)]; y 312 modules/imgproc/src/opencl/medianFilter.cl T p3 = data[y+1][x], p4 = data[y+1][(x+1)], p5 = data[y+1][(x+2)]; y 313 modules/imgproc/src/opencl/medianFilter.cl T p6 = data[y+2][x], p7 = data[y+2][(x+1)], p8 = data[y+2][(x+2)]; y 334 modules/imgproc/src/opencl/medianFilter.cl int y = get_local_id(1); y 340 modules/imgproc/src/opencl/medianFilter.cl int dy = gy - y - 2; y 342 modules/imgproc/src/opencl/medianFilter.cl int id = min(mad24(x, 16, y), 10*20-1); y 358 modules/imgproc/src/opencl/medianFilter.cl T p0 = data[y][x], p1 = data[y][x+1], p2 = data[y][x+2], p3 = data[y][x+3], p4 = data[y][x+4]; y 359 modules/imgproc/src/opencl/medianFilter.cl T p5 = data[y+1][x], p6 = data[y+1][x+1], p7 = data[y+1][x+2], p8 = data[y+1][x+3], p9 = data[y+1][x+4]; y 360 modules/imgproc/src/opencl/medianFilter.cl T p10 = data[y+2][x], p11 = data[y+2][x+1], p12 = data[y+2][x+2], p13 = data[y+2][x+3], p14 = data[y+2][x+4]; y 361 modules/imgproc/src/opencl/medianFilter.cl T p15 = data[y+3][x], p16 = data[y+3][x+1], p17 = data[y+3][x+2], p18 = data[y+3][x+3], p19 = data[y+3][x+4]; y 362 modules/imgproc/src/opencl/medianFilter.cl T p20 = data[y+4][x], p21 = data[y+4][x+1], p22 = data[y+4][x+2], p23 = data[y+4][x+3], p24 = data[y+4][x+4]; y 13 modules/imgproc/src/opencl/moments.cl int x, y = get_local_id(1); y 15 modules/imgproc/src/opencl/moments.cl int ypix = y0*TILE_SIZE + y; y 143 modules/imgproc/src/opencl/moments.cl int sy = y*y; y 145 modules/imgproc/src/opencl/moments.cl mom[y][0] = S.s0; y 146 modules/imgproc/src/opencl/moments.cl mom[y][1] = S.s1; y 147 modules/imgproc/src/opencl/moments.cl mom[y][2] = y*S.s0; y 148 modules/imgproc/src/opencl/moments.cl mom[y][3] = S.s2; y 149 modules/imgproc/src/opencl/moments.cl mom[y][4] = y*S.s1; y 150 modules/imgproc/src/opencl/moments.cl mom[y][5] = sy*S.s0; y 151 modules/imgproc/src/opencl/moments.cl mom[y][6] = S.s3; y 152 modules/imgproc/src/opencl/moments.cl mom[y][7] = y*S.s2; y 153 modules/imgproc/src/opencl/moments.cl mom[y][8] = sy*S.s1; y 154 modules/imgproc/src/opencl/moments.cl mom[y][9] = y*sy*S.s0; y 157 modules/imgproc/src/opencl/moments.cl mom[y][0] = mom[y][1] = mom[y][2] = mom[y][3] = mom[y][4] = y 158 modules/imgproc/src/opencl/moments.cl mom[y][5] = mom[y][6] = mom[y][7] = mom[y][8] = mom[y][9] = 0; y 162 modules/imgproc/src/opencl/moments.cl if (y < d) \ y 164 modules/imgproc/src/opencl/moments.cl mom[y][0] += mom[y + d][0]; \ y 165 modules/imgproc/src/opencl/moments.cl mom[y][1] += mom[y + d][1]; \ y 166 modules/imgproc/src/opencl/moments.cl mom[y][2] += mom[y + d][2]; \ y 167 modules/imgproc/src/opencl/moments.cl mom[y][3] += mom[y + d][3]; \ y 168 modules/imgproc/src/opencl/moments.cl mom[y][4] += mom[y + d][4]; \ y 169 modules/imgproc/src/opencl/moments.cl mom[y][5] += mom[y + d][5]; \ y 170 modules/imgproc/src/opencl/moments.cl mom[y][6] += mom[y + d][6]; \ y 171 modules/imgproc/src/opencl/moments.cl mom[y][7] += mom[y + d][7]; \ y 172 modules/imgproc/src/opencl/moments.cl mom[y][8] += mom[y + d][8]; \ y 173 modules/imgproc/src/opencl/moments.cl mom[y][9] += mom[y + d][9]; \ y 182 modules/imgproc/src/opencl/moments.cl if (y < 10) y 185 modules/imgproc/src/opencl/moments.cl momout[y] = mom[0][y] + mom[1][y]; y 100 modules/imgproc/src/opencl/morph.cl #define PROCESS(y, x) \ y 101 modules/imgproc/src/opencl/morph.cl temp = LDS_DAT[mad24(l_y + y, width, l_x + x)]; \ y 120 modules/imgproc/src/opencl/morph.cl int x = get_group_id(0) * LSIZE0, y = get_group_id(1) * LSIZE1; y 123 modules/imgproc/src/opencl/morph.cl int start_y = y + src_offset_y - RADIUSY; y 55 modules/imgproc/src/opencl/precornerdetect.cl int y = get_global_id(1); y 57 modules/imgproc/src/opencl/precornerdetect.cl if (x < dst_cols && y < dst_rows) y 59 modules/imgproc/src/opencl/precornerdetect.cl int dx_index = mad24(dx_step, y, (int)sizeof(float) * x + dx_offset); y 60 modules/imgproc/src/opencl/precornerdetect.cl int dy_index = mad24(dy_step, y, (int)sizeof(float) * x + dy_offset); y 61 modules/imgproc/src/opencl/precornerdetect.cl int d2x_index = mad24(d2x_step, y, (int)sizeof(float) * x + d2x_offset); y 62 modules/imgproc/src/opencl/precornerdetect.cl int d2y_index = mad24(d2y_step, y, (int)sizeof(float) * x + d2y_offset); y 63 modules/imgproc/src/opencl/precornerdetect.cl int dxy_index = mad24(dxy_step, y, (int)sizeof(float) * x + dxy_offset); y 64 modules/imgproc/src/opencl/precornerdetect.cl int dst_index = mad24(dst_step, y, (int)sizeof(float) * x + dst_offset); y 87 modules/imgproc/src/opencl/pyr_down.cl #define MAD(x,y,z) fma((x),(y),(z)) y 89 modules/imgproc/src/opencl/pyr_down.cl #define MAD(x,y,z) mad((x),(y),(z)) y 135 modules/imgproc/src/opencl/pyr_down.cl const int y = 2*get_global_id(1); y 146 modules/imgproc/src/opencl/pyr_down.cl const int src_y = 2*y; y 225 modules/imgproc/src/opencl/pyr_down.cl for (int yin = y, y1 = min(dst_rows, y + 2); yin < y1; yin++) y 229 modules/imgproc/src/opencl/pyr_down.cl FT sum = dot(vload4(0, (__local float*) (&smem) + tid2 + (yin - y) * (LOCAL_SIZE + 4)), (float4)(co3, co2, co1, co2)); y 231 modules/imgproc/src/opencl/pyr_down.cl FT sum = dot(vload4(0, (__local double*) (&smem) + tid2 + (yin - y) * (LOCAL_SIZE + 4)), (double4)(co3, co2, co1, co2)); y 234 modules/imgproc/src/opencl/pyr_down.cl FT sum = co3 * smem[yin - y][2 + tid2 - 2]; y 235 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co2, smem[yin - y][2 + tid2 - 1], sum); y 236 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co1, smem[yin - y][2 + tid2 ], sum); y 237 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co2, smem[yin - y][2 + tid2 + 1], sum); y 239 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co3, smem[yin - y][2 + tid2 + 2], sum); y 249 modules/imgproc/src/opencl/pyr_down.cl for (int yin = y, y1 = min(dst_rows, y + 2); yin < y1; yin++) y 252 modules/imgproc/src/opencl/pyr_down.cl FT sum = co3* smem[yin - y][2 + tid4 + 2]; y 253 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co3, smem[yin - y][2 + tid4 - 2], sum); y 254 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co2, smem[yin - y][2 + tid4 - 1], sum); y 255 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co1, smem[yin - y][2 + tid4 ], sum); y 256 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co2, smem[yin - y][2 + tid4 + 1], sum); y 260 modules/imgproc/src/opencl/pyr_down.cl sum = co3* smem[yin - y][2 + tid4 + 4]; y 261 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co3, smem[yin - y][2 + tid4 ], sum); y 262 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co2, smem[yin - y][2 + tid4 + 1], sum); y 263 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co1, smem[yin - y][2 + tid4 + 2], sum); y 264 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co2, smem[yin - y][2 + tid4 + 3], sum); y 272 modules/imgproc/src/opencl/pyr_down.cl for (int yin = y, y1 = min(dst_rows, y + 2); yin < y1; yin++) y 274 modules/imgproc/src/opencl/pyr_down.cl FT sum = co3* smem[yin - y][2 + tid4 + 2]; y 275 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co3, smem[yin - y][2 + tid4 - 2], sum); y 276 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co2, smem[yin - y][2 + tid4 - 1], sum); y 277 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co1, smem[yin - y][2 + tid4 ], sum); y 278 modules/imgproc/src/opencl/pyr_down.cl sum = MAD(co2, smem[yin - y][2 + tid4 + 1], sum); y 79 modules/imgproc/src/opencl/pyr_up.cl const int y = get_global_id(1); y 126 modules/imgproc/src/opencl/pyr_up.cl if ((x < dst_cols) && (y < dst_rows)) y 127 modules/imgproc/src/opencl/pyr_up.cl storepix(convertToT(sum), dstData + y * dst_step + x * PIXSIZE); y 65 modules/imgproc/src/opencl/remap.cl #define convertScalar(a) (T)(a.x, a.y, a.z) y 85 modules/imgproc/src/opencl/remap.cl v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \ y 95 modules/imgproc/src/opencl/remap.cl if (v2.y < 0) \ y 96 modules/imgproc/src/opencl/remap.cl v2.y -= ((v2.y - src_rows + 1) / src_rows) * src_rows; \ y 97 modules/imgproc/src/opencl/remap.cl if( v2.y >= src_rows ) \ y 98 modules/imgproc/src/opencl/remap.cl v2.y %= src_rows; \ y 99 modules/imgproc/src/opencl/remap.cl v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \ y 123 modules/imgproc/src/opencl/remap.cl v2.y = 0; \ y 127 modules/imgproc/src/opencl/remap.cl if( v2.y < 0 ) \ y 128 modules/imgproc/src/opencl/remap.cl v2.y = -v2.y - 1 + delta; \ y 130 modules/imgproc/src/opencl/remap.cl v2.y = src_rows - 1 - (v2.y - src_rows) - delta; \ y 132 modules/imgproc/src/opencl/remap.cl while (v2.y >= src_rows || v2.y < 0); \ y 133 modules/imgproc/src/opencl/remap.cl v = convertToWT(loadpix((__global const T*)(srcptr + mad24(v2.y, src_step, v2.x * TSIZE + src_offset)))); \ y 150 modules/imgproc/src/opencl/remap.cl int y = get_global_id(1) * rowsPerWI; y 156 modules/imgproc/src/opencl/remap.cl int map1_index = mad24(y, map1_step, mad24(x, (int)sizeof(float), map1_offset)); y 157 modules/imgproc/src/opencl/remap.cl int map2_index = mad24(y, map2_step, mad24(x, (int)sizeof(float), map2_offset)); y 158 modules/imgproc/src/opencl/remap.cl int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); y 161 modules/imgproc/src/opencl/remap.cl for (int i = 0; i < rowsPerWI; ++i, ++y, y 163 modules/imgproc/src/opencl/remap.cl if (y < dst_rows) y 196 modules/imgproc/src/opencl/remap.cl int y = get_global_id(1) * rowsPerWI; y 201 modules/imgproc/src/opencl/remap.cl int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); y 202 modules/imgproc/src/opencl/remap.cl int map_index = mad24(y, map_step, mad24(x, (int)sizeof(float2), map_offset)); y 205 modules/imgproc/src/opencl/remap.cl for (int i = 0; i < rowsPerWI; ++i, ++y, y 207 modules/imgproc/src/opencl/remap.cl if (y < dst_rows) y 213 modules/imgproc/src/opencl/remap.cl int gx = gxy.x, gy = gxy.y; y 236 modules/imgproc/src/opencl/remap.cl int y = get_global_id(1) * rowsPerWI; y 241 modules/imgproc/src/opencl/remap.cl int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); y 242 modules/imgproc/src/opencl/remap.cl int map_index = mad24(y, map_step, mad24(x, (int)sizeof(short2), map_offset)); y 245 modules/imgproc/src/opencl/remap.cl for (int i = 0; i < rowsPerWI; ++i, ++y, y 247 modules/imgproc/src/opencl/remap.cl if (y < dst_rows) y 253 modules/imgproc/src/opencl/remap.cl int gx = gxy.x, gy = gxy.y; y 277 modules/imgproc/src/opencl/remap.cl int y = get_global_id(1) * rowsPerWI; y 282 modules/imgproc/src/opencl/remap.cl int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); y 283 modules/imgproc/src/opencl/remap.cl int map1_index = mad24(y, map1_step, mad24(x, (int)sizeof(short2), map1_offset)); y 284 modules/imgproc/src/opencl/remap.cl int map2_index = mad24(y, map2_step, mad24(x, (int)sizeof(ushort), map2_offset)); y 287 modules/imgproc/src/opencl/remap.cl for (int i = 0; i < rowsPerWI; ++i, ++y, y 289 modules/imgproc/src/opencl/remap.cl if (y < dst_rows) y 299 modules/imgproc/src/opencl/remap.cl int gx = gxy.x, gy = gxy.y; y 333 modules/imgproc/src/opencl/remap.cl int y = get_global_id(1) * rowsPerWI; y 338 modules/imgproc/src/opencl/remap.cl int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); y 339 modules/imgproc/src/opencl/remap.cl int map1_index = mad24(y, map1_step, mad24(x, (int)sizeof(short2), map1_offset)); y 340 modules/imgproc/src/opencl/remap.cl int map2_index = mad24(y, map2_step, mad24(x, (int)sizeof(ushort), map2_offset)); y 343 modules/imgproc/src/opencl/remap.cl for (int i = 0; i < rowsPerWI; ++i, ++y, y 345 modules/imgproc/src/opencl/remap.cl if (y < dst_rows) y 352 modules/imgproc/src/opencl/remap.cl int2 map_dataB = (int2)(map_dataA.x + 1, map_dataA.y); y 353 modules/imgproc/src/opencl/remap.cl int2 map_dataC = (int2)(map_dataA.x, map_dataA.y + 1); y 354 modules/imgproc/src/opencl/remap.cl int2 map_dataD = (int2)(map_dataA.x + 1, map_dataA.y + 1); y 361 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataA.x, map_dataA.y)) y 362 modules/imgproc/src/opencl/remap.cl a = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataA.y, src_step, map_dataA.x * TSIZE + src_offset)))); y 366 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataB.x, map_dataB.y)) y 367 modules/imgproc/src/opencl/remap.cl b = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataB.y, src_step, map_dataB.x * TSIZE + src_offset)))); y 371 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataC.x, map_dataC.y)) y 372 modules/imgproc/src/opencl/remap.cl c = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataC.y, src_step, map_dataC.x * TSIZE + src_offset)))); y 376 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataD.x, map_dataD.y)) y 377 modules/imgproc/src/opencl/remap.cl d = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataD.y, src_step, map_dataD.x * TSIZE + src_offset)))); y 381 modules/imgproc/src/opencl/remap.cl WT dst_data = a * (1 - u.x) * (1 - u.y) + y 382 modules/imgproc/src/opencl/remap.cl b * (u.x) * (1 - u.y) + y 383 modules/imgproc/src/opencl/remap.cl c * (1 - u.x) * (u.y) + y 384 modules/imgproc/src/opencl/remap.cl d * (u.x) * (u.y); y 397 modules/imgproc/src/opencl/remap.cl int y = get_global_id(1) * rowsPerWI; y 402 modules/imgproc/src/opencl/remap.cl int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); y 403 modules/imgproc/src/opencl/remap.cl int map1_index = mad24(y, map1_step, mad24(x, (int)sizeof(float), map1_offset)); y 404 modules/imgproc/src/opencl/remap.cl int map2_index = mad24(y, map2_step, mad24(x, (int)sizeof(float), map2_offset)); y 407 modules/imgproc/src/opencl/remap.cl for (int i = 0; i < rowsPerWI; ++i, ++y, y 409 modules/imgproc/src/opencl/remap.cl if (y < dst_rows) y 461 modules/imgproc/src/opencl/remap.cl int2 map_dataB = (int2)(map_dataA.x + 1, map_dataA.y); y 462 modules/imgproc/src/opencl/remap.cl int2 map_dataC = (int2)(map_dataA.x, map_dataA.y + 1); y 463 modules/imgproc/src/opencl/remap.cl int2 map_dataD = (int2)(map_dataA.x + 1, map_dataA.y + 1); y 470 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataA.x, map_dataA.y)) y 471 modules/imgproc/src/opencl/remap.cl a = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataA.y, src_step, map_dataA.x * TSIZE + src_offset)))); y 475 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataB.x, map_dataB.y)) y 476 modules/imgproc/src/opencl/remap.cl b = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataB.y, src_step, map_dataB.x * TSIZE + src_offset)))); y 480 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataC.x, map_dataC.y)) y 481 modules/imgproc/src/opencl/remap.cl c = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataC.y, src_step, map_dataC.x * TSIZE + src_offset)))); y 485 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataD.x, map_dataD.y)) y 486 modules/imgproc/src/opencl/remap.cl d = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataD.y, src_step, map_dataD.x * TSIZE + src_offset)))); y 490 modules/imgproc/src/opencl/remap.cl WT dst_data = a * (1 - u.x) * (1 - u.y) + y 491 modules/imgproc/src/opencl/remap.cl b * (u.x) * (1 - u.y) + y 492 modules/imgproc/src/opencl/remap.cl c * (1 - u.x) * (u.y) + y 493 modules/imgproc/src/opencl/remap.cl d * (u.x) * (u.y); y 506 modules/imgproc/src/opencl/remap.cl int y = get_global_id(1) * rowsPerWI; y 511 modules/imgproc/src/opencl/remap.cl int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset)); y 512 modules/imgproc/src/opencl/remap.cl int map_index = mad24(y, map_step, mad24(x, (int)sizeof(float2), map_offset)); y 515 modules/imgproc/src/opencl/remap.cl for (int i = 0; i < rowsPerWI; ++i, ++y, y 517 modules/imgproc/src/opencl/remap.cl if (y < dst_rows) y 524 modules/imgproc/src/opencl/remap.cl int2 map_dataB = (int2)(map_dataA.x + 1, map_dataA.y); y 525 modules/imgproc/src/opencl/remap.cl int2 map_dataC = (int2)(map_dataA.x, map_dataA.y + 1); y 526 modules/imgproc/src/opencl/remap.cl int2 map_dataD = (int2)(map_dataA.x + 1, map_dataA.y + 1); y 532 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataA.x, map_dataA.y)) y 533 modules/imgproc/src/opencl/remap.cl a = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataA.y, src_step, map_dataA.x * TSIZE + src_offset)))); y 537 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataB.x, map_dataB.y)) y 538 modules/imgproc/src/opencl/remap.cl b = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataB.y, src_step, map_dataB.x * TSIZE + src_offset)))); y 542 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataC.x, map_dataC.y)) y 543 modules/imgproc/src/opencl/remap.cl c = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataC.y, src_step, map_dataC.x * TSIZE + src_offset)))); y 547 modules/imgproc/src/opencl/remap.cl if (!NEED_EXTRAPOLATION(map_dataD.x, map_dataD.y)) y 548 modules/imgproc/src/opencl/remap.cl d = convertToWT(loadpix((__global const T *)(srcptr + mad24(map_dataD.y, src_step, map_dataD.x * TSIZE + src_offset)))); y 552 modules/imgproc/src/opencl/remap.cl WT dst_data = a * (1 - u.x) * (1 - u.y) + y 553 modules/imgproc/src/opencl/remap.cl b * (u.x) * (1 - u.y) + y 554 modules/imgproc/src/opencl/remap.cl c * (1 - u.x) * (u.y) + y 555 modules/imgproc/src/opencl/remap.cl d * (u.x) * (u.y); y 86 modules/imgproc/src/opencl/resize.cl #define __CAT(x, y) x##y y 87 modules/imgproc/src/opencl/resize.cl #define CAT(x, y) __CAT(x, y) y 179 modules/imgproc/src/opencl/resize.cl int x = floor(sx), y = floor(sy); y 181 modules/imgproc/src/opencl/resize.cl float u = sx - x, v = sy - y; y 185 modules/imgproc/src/opencl/resize.cl if ( y<0 ) y=0,v=0; y 186 modules/imgproc/src/opencl/resize.cl if ( y>=src_rows ) y=src_rows-1,v=0; y 188 modules/imgproc/src/opencl/resize.cl int y_ = INC(y, src_rows); y 200 modules/imgproc/src/opencl/resize.cl WT data0 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x, TSIZE, src_offset)))); y 201 modules/imgproc/src/opencl/resize.cl WT data1 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x_, TSIZE, src_offset)))); y 212 modules/imgproc/src/opencl/resize.cl WT data0 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x, TSIZE, src_offset)))); y 213 modules/imgproc/src/opencl/resize.cl WT data1 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x_, TSIZE, src_offset)))); y 265 modules/imgproc/src/opencl/resize.cl int y = min(sy + py, src_rows - 1); y 266 modules/imgproc/src/opencl/resize.cl int src_index = mad24(y, src_step, src_offset); y 81 modules/imgproc/src/opencl/warp_affine.cl #define scalar (T)(scalar_.x, scalar_.y, scalar_.z) y 83 modules/imgproc/src/opencl/warp_affine.cl #define scalar (WT)(scalar_.x, scalar_.y, scalar_.z) y 200 modules/imgproc/src/opencl/warp_affine.cl for (int y = 0; y < 2; y++) y 202 modules/imgproc/src/opencl/warp_affine.cl src_index = mad24(y, src_step, src_index0); y 203 modules/imgproc/src/opencl/warp_affine.cl if (sy + y >= 0 && sy + y < src_rows) y 224 modules/imgproc/src/opencl/warp_affine.cl sum = fma(xsum, coeffs_y[y], sum); y 227 modules/imgproc/src/opencl/warp_affine.cl sum = fma(scalar, coeffs_y[y], sum); y 289 modules/imgproc/src/opencl/warp_affine.cl for (int y = 0; y < 4; y++) y 291 modules/imgproc/src/opencl/warp_affine.cl if (sy+y >= 0 && sy+y < src_rows) y 295 modules/imgproc/src/opencl/warp_affine.cl v[mad24(y, 4, x)] = sx+x >= 0 && sx+x < src_cols ? y 296 modules/imgproc/src/opencl/warp_affine.cl convertToWT(loadpix(srcptr + mad24(sy+y, src_step, mad24(sx+x, pixsize, src_offset)))) : scalar; y 302 modules/imgproc/src/opencl/warp_affine.cl v[mad24(y, 4, x)] = scalar; y 341 modules/imgproc/src/opencl/warp_affine.cl for (int y = 0; y < 4; y++) y 343 modules/imgproc/src/opencl/warp_affine.cl src_index = mad24(y, src_step, src_index0); y 344 modules/imgproc/src/opencl/warp_affine.cl if (sy + y >= 0 && sy + y < src_rows) y 365 modules/imgproc/src/opencl/warp_affine.cl sum = fma(xsum, coeffs_y[y], sum); y 368 modules/imgproc/src/opencl/warp_affine.cl sum = fma(scalar, coeffs_y[y], sum); y 80 modules/imgproc/src/opencl/warp_perspective.cl #define scalar (T)(scalar_.x, scalar_.y, scalar_.z) y 82 modules/imgproc/src/opencl/warp_perspective.cl #define scalar (WT)(scalar_.x, scalar_.y, scalar_.z) y 203 modules/imgproc/src/opencl/warp_perspective.cl for (int y = 0; y < 4; y++) y 206 modules/imgproc/src/opencl/warp_perspective.cl v[mad24(y, 4, x)] = (sx+x >= 0 && sx+x < src_cols && sy+y >= 0 && sy+y < src_rows) ? y 207 modules/imgproc/src/opencl/warp_perspective.cl convertToWT(loadpix(srcptr + mad24(sy+y, src_step, src_offset + (sx+x) * pixsize))) : scalar; y 416 modules/imgproc/src/phasecorr.cpp int minr = peakLocation.y - (weightBoxSize.height >> 1); y 417 modules/imgproc/src/phasecorr.cpp int maxr = peakLocation.y + (weightBoxSize.height >> 1); y 449 modules/imgproc/src/phasecorr.cpp for(int y = minr; y <= maxr; y++) y 454 modules/imgproc/src/phasecorr.cpp centroid.y += (double)y*dataIn[x]; y 465 modules/imgproc/src/phasecorr.cpp for(int y = minr; y <= maxr; y++) y 470 modules/imgproc/src/phasecorr.cpp centroid.y += (double)y*dataIn[x]; y 484 modules/imgproc/src/phasecorr.cpp centroid.y /= sumIntensity; y 892 modules/imgproc/src/pyramids.cpp for( int y = 0; y < dsize.height; y++ ) y 894 modules/imgproc/src/pyramids.cpp T* dst = _dst.ptr<T>(y); y 898 modules/imgproc/src/pyramids.cpp for( ; sy <= y*2 + 2; sy++ ) y 964 modules/imgproc/src/pyramids.cpp rows[k] = buf + ((y*2 - PD_SZ/2 + k - sy0) % PD_SZ)*bufstep; y 1003 modules/imgproc/src/pyramids.cpp for( int y = 0; y < ssize.height; y++ ) y 1005 modules/imgproc/src/pyramids.cpp T* dst0 = _dst.ptr<T>(y*2); y 1006 modules/imgproc/src/pyramids.cpp T* dst1 = _dst.ptr<T>(std::min(y*2+1, dsize.height-1)); y 1010 modules/imgproc/src/pyramids.cpp for( ; sy <= y + 1; sy++ ) y 1048 modules/imgproc/src/pyramids.cpp rows[k] = buf + ((y - PU_SZ/2 + k - sy0) % PU_SZ)*bufstep; y 116 modules/imgproc/src/rotcalipers.cpp top_y = bottom_y = pt0.y; y 128 modules/imgproc/src/rotcalipers.cpp if( pt0.y > top_y ) y 129 modules/imgproc/src/rotcalipers.cpp top_y = pt0.y, top = i; y 131 modules/imgproc/src/rotcalipers.cpp if( pt0.y < bottom_y ) y 132 modules/imgproc/src/rotcalipers.cpp bottom_y = pt0.y, bottom = i; y 137 modules/imgproc/src/rotcalipers.cpp dy = pt.y - pt0.y; y 140 modules/imgproc/src/rotcalipers.cpp vect[i].y = (float)dy; y 149 modules/imgproc/src/rotcalipers.cpp double ay = vect[n-1].y; y 154 modules/imgproc/src/rotcalipers.cpp double by = vect[i].y; y 187 modules/imgproc/src/rotcalipers.cpp float dp0 = base_a * vect[seq[0]].x + base_b * vect[seq[0]].y; y 188 modules/imgproc/src/rotcalipers.cpp float dp1 = -base_b * vect[seq[1]].x + base_a * vect[seq[1]].y; y 189 modules/imgproc/src/rotcalipers.cpp float dp2 = -base_a * vect[seq[2]].x - base_b * vect[seq[2]].y; y 190 modules/imgproc/src/rotcalipers.cpp float dp3 = base_b * vect[seq[3]].x - base_a * vect[seq[3]].y; y 211 modules/imgproc/src/rotcalipers.cpp float lead_y = vect[pindex].y*inv_vect_length[pindex]; y 249 modules/imgproc/src/rotcalipers.cpp float dy = points[seq[opposite_el]].y - points[seq[main_element]].y; y 269 modules/imgproc/src/rotcalipers.cpp float dy = points[seq[1]].y - points[seq[3]].y; y 276 modules/imgproc/src/rotcalipers.cpp dy = points[seq[2]].y - points[seq[0]].y; y 314 modules/imgproc/src/rotcalipers.cpp float C1 = A1 * points[((int *) buf)[0]].x + points[((int *) buf)[0]].y * B1; y 315 modules/imgproc/src/rotcalipers.cpp float C2 = A2 * points[((int *) buf)[5]].x + points[((int *) buf)[5]].y * B2; y 365 modules/imgproc/src/rotcalipers.cpp box.center.y = out[0].y + (out[1].y + out[2].y)*0.5f; y 366 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt((double)out[1].x*out[1].x + (double)out[1].y*out[1].y); y 367 modules/imgproc/src/rotcalipers.cpp box.size.height = (float)std::sqrt((double)out[2].x*out[2].x + (double)out[2].y*out[2].y); y 368 modules/imgproc/src/rotcalipers.cpp box.angle = (float)atan2( (double)out[1].y, (double)out[1].x ); y 373 modules/imgproc/src/rotcalipers.cpp box.center.y = (hpoints[0].y + hpoints[1].y)*0.5f; y 375 modules/imgproc/src/rotcalipers.cpp double dy = hpoints[1].y - hpoints[0].y; y 80 modules/imgproc/src/samplers.cpp if( ip.y >= 0 ) y 82 modules/imgproc/src/samplers.cpp src += ip.y * src_step; y 83 modules/imgproc/src/samplers.cpp rect.y = 0; y 86 modules/imgproc/src/samplers.cpp rect.y = -ip.y; y 88 modules/imgproc/src/samplers.cpp if( ip.y < src_size.height - win_size.height ) y 92 modules/imgproc/src/samplers.cpp rect.height = src_size.height - ip.y - 1; y 141 modules/imgproc/src/samplers.cpp center.y -= (win_size.height-1)*0.5f; y 144 modules/imgproc/src/samplers.cpp ip.y = cvFloor( center.y ); y 147 modules/imgproc/src/samplers.cpp b = center.y - ip.y; y 159 modules/imgproc/src/samplers.cpp 0 <= ip.y && ip.y < src_size.height - win_size.height) y 162 modules/imgproc/src/samplers.cpp src += ip.y * src_step + ip.x*cn; y 193 modules/imgproc/src/samplers.cpp if( i < r.y || i >= r.height ) y 227 modules/imgproc/src/samplers.cpp center.y -= (win_size.height-1)*0.5f; y 230 modules/imgproc/src/samplers.cpp ip.y = cvFloor( center.y ); y 234 modules/imgproc/src/samplers.cpp 0 <= ip.y && ip.y + win_size.height < src_size.height && y 238 modules/imgproc/src/samplers.cpp float b = center.y - ip.y; y 250 modules/imgproc/src/samplers.cpp src += ip.y * src_step + ip.x; y 275 modules/imgproc/src/samplers.cpp int x, y, k; y 282 modules/imgproc/src/samplers.cpp for( y = 0; y < win_size.height; y++, dst += dst_step ) y 284 modules/imgproc/src/samplers.cpp double xs = A12*y + A13; y 285 modules/imgproc/src/samplers.cpp double ys = A22*y + A23; y 286 modules/imgproc/src/samplers.cpp double xe = A11*(win_size.width-1) + A12*y + A13; y 287 modules/imgproc/src/samplers.cpp double ye = A21*(win_size.width-1) + A22*y + A23; y 387 modules/imgproc/src/samplers.cpp IppiPoint_32f icenter = {center.x, center.y}; y 460 modules/imgproc/src/segmentation.cpp int x, y, count = 0; y 473 modules/imgproc/src/segmentation.cpp for( y = miny; y <= maxy; y++, ptr += sstep - (maxx-minx+1)*3 ) y 516 modules/imgproc/src/segmentation.cpp sy += y*row_count; y 67 modules/imgproc/src/shapedescr.cpp double y1 = (pt0.y + pt1.y) * 0.5; y 68 modules/imgproc/src/shapedescr.cpp double dx1 = pt1.y - pt0.y; y 69 modules/imgproc/src/shapedescr.cpp double y2 = (pt1.y + pt2.y) * 0.5; y 70 modules/imgproc/src/shapedescr.cpp double dx2 = pt2.y - pt1.y; y 76 modules/imgproc/src/shapedescr.cpp center->y = (float) (y2 + dy2 * t); y 81 modules/imgproc/src/shapedescr.cpp center->x = center->y = 0.f; y 90 modules/imgproc/src/shapedescr.cpp double dy = pt.y - center.y; y 136 modules/imgproc/src/shapedescr.cpp (pts[idxs[0]].y + pts[idxs[1]].y)*0.5f ); y 208 modules/imgproc/src/shapedescr.cpp _center.x = _center.y = 0.f; y 218 modules/imgproc/src/shapedescr.cpp Point2f pt = is_float ? ptsf[0] : Point2f((float)ptsi[0].x,(float)ptsi[0].y); y 223 modules/imgproc/src/shapedescr.cpp pt = is_float ? ptsf[i] : Point2f((float)ptsi[i].x, (float)ptsi[i].y); y 229 modules/imgproc/src/shapedescr.cpp if( pt.y < pts[2].y ) y 231 modules/imgproc/src/shapedescr.cpp if( pt.y > pts[3].y ) y 245 modules/imgproc/src/shapedescr.cpp pt = is_float ? ptsf[i] : Point2f((float)ptsi[i].x,(float)ptsi[i].y); y 281 modules/imgproc/src/shapedescr.cpp pt = is_float ? ptsf[i] : Point2f((float)ptsi[i].x,(float)ptsi[i].y); y 282 modules/imgproc/src/shapedescr.cpp float dx = center.x - pt.x, dy = center.y - pt.y; y 316 modules/imgproc/src/shapedescr.cpp Point2f prev = is_float ? ptf[last] : Point2f((float)pti[last].x,(float)pti[last].y); y 320 modules/imgproc/src/shapedescr.cpp Point2f p = is_float ? ptf[i] : Point2f((float)pti[i].x,(float)pti[i].y); y 321 modules/imgproc/src/shapedescr.cpp float dx = p.x - prev.x, dy = p.y - prev.y; y 352 modules/imgproc/src/shapedescr.cpp Point2f prev = is_float ? ptsf[npoints-1] : Point2f((float)ptsi[npoints-1].x, (float)ptsi[npoints-1].y); y 356 modules/imgproc/src/shapedescr.cpp Point2f p = is_float ? ptsf[i] : Point2f((float)ptsi[i].x, (float)ptsi[i].y); y 357 modules/imgproc/src/shapedescr.cpp a00 += (double)prev.x * p.y - (double)prev.y * p.x; y 399 modules/imgproc/src/shapedescr.cpp Point2f p = is_float ? ptsf[i] : Point2f((float)ptsi[i].x, (float)ptsi[i].y); y 403 modules/imgproc/src/shapedescr.cpp c.y /= n; y 407 modules/imgproc/src/shapedescr.cpp Point2f p = is_float ? ptsf[i] : Point2f((float)ptsi[i].x, (float)ptsi[i].y); y 412 modules/imgproc/src/shapedescr.cpp Ad[i*5 + 1] = -(double)p.y * p.y; y 413 modules/imgproc/src/shapedescr.cpp Ad[i*5 + 2] = -(double)p.x * p.y; y 415 modules/imgproc/src/shapedescr.cpp Ad[i*5 + 4] = p.y; y 438 modules/imgproc/src/shapedescr.cpp Point2f p = is_float ? ptsf[i] : Point2f((float)ptsi[i].x, (float)ptsi[i].y); y 442 modules/imgproc/src/shapedescr.cpp Ad[i * 3 + 1] = (p.y - rp[1]) * (p.y - rp[1]); y 443 modules/imgproc/src/shapedescr.cpp Ad[i * 3 + 2] = (p.x - rp[0]) * (p.y - rp[1]); y 461 modules/imgproc/src/shapedescr.cpp box.center.y = (float)rp[1] + c.y; y 545 modules/imgproc/src/shapedescr.cpp ymin = ymax = pt.y; y 557 modules/imgproc/src/shapedescr.cpp if( ymin > pt.y ) y 558 modules/imgproc/src/shapedescr.cpp ymin = pt.y; y 560 modules/imgproc/src/shapedescr.cpp if( ymax < pt.y ) y 561 modules/imgproc/src/shapedescr.cpp ymax = pt.y; y 569 modules/imgproc/src/shapedescr.cpp ymin = ymax = CV_TOGGLE_FLT(pt.y); y 575 modules/imgproc/src/shapedescr.cpp pt.y = CV_TOGGLE_FLT(pt.y); y 583 modules/imgproc/src/shapedescr.cpp if( ymin > pt.y ) y 584 modules/imgproc/src/shapedescr.cpp ymin = pt.y; y 586 modules/imgproc/src/shapedescr.cpp if( ymax < pt.y ) y 587 modules/imgproc/src/shapedescr.cpp ymax = pt.y; y 797 modules/imgproc/src/shapedescr.cpp nx = pt_s.y - pt_e.y; y 808 modules/imgproc/src/shapedescr.cpp yi_1 = (double) pt.y; y 817 modules/imgproc/src/shapedescr.cpp yi = (double) pt.y; y 820 modules/imgproc/src/shapedescr.cpp sk = nx * (xi - pt_s.x) + ny * (yi - pt_s.y); y 849 modules/imgproc/src/shapedescr.cpp t = ((yi_1 - pt_s.y) * du + dv * (pt_s.x - xi_1)) / y 856 modules/imgproc/src/shapedescr.cpp y_s = pt_s.y + t * dy; y 1003 modules/imgproc/src/shapedescr.cpp dy = (float)pt->y - (float)prev_pt->y; y 1011 modules/imgproc/src/shapedescr.cpp dy = pt->y - prev_pt->y; y 1048 modules/imgproc/src/smooth.cpp if (anchor.y < 0) y 1049 modules/imgproc/src/smooth.cpp anchor.y = ksize.height / 2; y 1122 modules/imgproc/src/smooth.cpp cn, anchor.x, anchor.y, ksize.width, ksize.height, y 1162 modules/imgproc/src/smooth.cpp anchor.x, anchor.y, ksize.width, ksize.height, borderMap[borderType], y 1300 modules/imgproc/src/smooth.cpp dstType, ksize.height, anchor.y, normalize ? 1./(ksize.width*ksize.height) : 1); y 1337 modules/imgproc/src/smooth.cpp ocvAnchor.y = anchor.y < 0 ? ksize.height / 2 : anchor.y; y 1339 modules/imgproc/src/smooth.cpp ippAnchor.y = ksize.height / 2 - (ksize.height % 2 == 0 ? 1 : 0); y 1522 modules/imgproc/src/smooth.cpp dstType, ksize.height, anchor.y, y 1757 modules/imgproc/src/smooth.cpp static inline void histogram_add_simd( const HT x[16], HT y[16] ) y 1760 modules/imgproc/src/smooth.cpp __m128i* ry = (__m128i*)y; y 1767 modules/imgproc/src/smooth.cpp static inline void histogram_sub_simd( const HT x[16], HT y[16] ) y 1770 modules/imgproc/src/smooth.cpp __m128i* ry = (__m128i*)y; y 1780 modules/imgproc/src/smooth.cpp static inline void histogram_add_simd( const HT x[16], HT y[16] ) y 1782 modules/imgproc/src/smooth.cpp vst1q_u16(y, vaddq_u16(vld1q_u16(x), vld1q_u16(y))); y 1783 modules/imgproc/src/smooth.cpp vst1q_u16(y + 8, vaddq_u16(vld1q_u16(x + 8), vld1q_u16(y + 8))); y 1786 modules/imgproc/src/smooth.cpp static inline void histogram_sub_simd( const HT x[16], HT y[16] ) y 1788 modules/imgproc/src/smooth.cpp vst1q_u16(y, vsubq_u16(vld1q_u16(x), vld1q_u16(y))); y 1789 modules/imgproc/src/smooth.cpp vst1q_u16(y + 8, vsubq_u16(vld1q_u16(x + 8), vld1q_u16(y + 8))); y 1797 modules/imgproc/src/smooth.cpp static inline void histogram_add( const HT x[16], HT y[16] ) y 1801 modules/imgproc/src/smooth.cpp y[i] = (HT)(y[i] + x[i]); y 1804 modules/imgproc/src/smooth.cpp static inline void histogram_sub( const HT x[16], HT y[16] ) y 1808 modules/imgproc/src/smooth.cpp y[i] = (HT)(y[i] - x[i]); y 1812 modules/imgproc/src/smooth.cpp HT y[16] ) y 1815 modules/imgproc/src/smooth.cpp y[i] = (HT)(y[i] + a * x[i]); y 2031 modules/imgproc/src/smooth.cpp int x, y; y 2068 modules/imgproc/src/smooth.cpp for( y = 0; y <= m/2; y++ ) y 2072 modules/imgproc/src/smooth.cpp if( y > 0 ) y 2084 modules/imgproc/src/smooth.cpp if( (src_step1 > 0 && y < size.height-1) || y 2085 modules/imgproc/src/smooth.cpp (src_step1 < 0 && size.height-y-1 > 0) ) y 2089 modules/imgproc/src/smooth.cpp for( y = 0; y < size.height; y++, dst_cur += dst_step1 ) y 2111 modules/imgproc/src/smooth.cpp if( y+1 == size.height ) y 2160 modules/imgproc/src/smooth.cpp if( y >= m/2 ) y 215 modules/imgproc/src/subdivision2d.cpp return ((double)b.x - a.x) * ((double)c.y - a.y) - ((double)b.y - a.y) * ((double)c.x - a.x); y 285 modules/imgproc/src/subdivision2d.cpp if( pt.x < topLeft.x || pt.y < topLeft.y || pt.x >= bottomRight.x || pt.y >= bottomRight.y ) y 358 modules/imgproc/src/subdivision2d.cpp t1 += fabs( pt.y - org_pt.y ); y 360 modules/imgproc/src/subdivision2d.cpp t2 += fabs( pt.y - dst_pt.y ); y 362 modules/imgproc/src/subdivision2d.cpp t3 += fabs( org_pt.y - dst_pt.y ); y 401 modules/imgproc/src/subdivision2d.cpp double val = ((double)a.x * a.x + (double)a.y * a.y) * triangleArea( b, c, pt ); y 402 modules/imgproc/src/subdivision2d.cpp val -= ((double)b.x * b.x + (double)b.y * b.y) * triangleArea( a, c, pt ); y 403 modules/imgproc/src/subdivision2d.cpp val += ((double)c.x * c.x + (double)c.y * c.y) * triangleArea( a, b, pt ); y 404 modules/imgproc/src/subdivision2d.cpp val -= ((double)pt.x * pt.x + (double)pt.y * pt.y) * triangleArea( a, b, c ); y 490 modules/imgproc/src/subdivision2d.cpp float ry = (float)rect.y; y 552 modules/imgproc/src/subdivision2d.cpp double b0 = dst0.y - org0.y; y 553 modules/imgproc/src/subdivision2d.cpp double c0 = -0.5*(a0 * (dst0.x + org0.x) + b0 * (dst0.y + org0.y)); y 556 modules/imgproc/src/subdivision2d.cpp double b1 = dst1.y - org1.y; y 557 modules/imgproc/src/subdivision2d.cpp double c1 = -0.5*(a1 * (dst1.x + org1.x) + b1 * (dst1.y + org1.y)); y 605 modules/imgproc/src/subdivision2d.cpp fabs( virt_point.y ) < FLT_MAX * 0.5 ) y 625 modules/imgproc/src/subdivision2d.cpp fabs( virt_point.y ) < FLT_MAX * 0.5 ) y 640 modules/imgproc/src/subdivision2d.cpp double cw_area = ((double)org.x - pt.x)*diff.y - ((double)org.y - pt.y)*diff.x; y 721 modules/imgproc/src/subdivision2d.cpp edgeList.push_back(Vec4f(org.x, org.y, dst.x, dst.y)); y 746 modules/imgproc/src/subdivision2d.cpp triangleList.push_back(Vec6f(a.x, a.y, b.x, b.y, c.x, c.y)); y 152 modules/imgproc/src/sumpixels.cpp int x, y, k; y 185 modules/imgproc/src/sumpixels.cpp for( y = 0; y < size.height; y++, src += srcstep - cn, sum += sumstep - cn ) y 200 modules/imgproc/src/sumpixels.cpp for( y = 0; y < size.height; y++, src += srcstep - cn, y 251 modules/imgproc/src/sumpixels.cpp for( y = 1; y < size.height; y++ ) y 201 modules/imgproc/src/templmatch.cpp for (int y = 0; y < result.rows; y += block_size.height) y 206 modules/imgproc/src/templmatch.cpp std::min(y + dft_size.height, image.rows) - y); y 207 modules/imgproc/src/templmatch.cpp Rect roi0(x, y, image_roi_size.width, image_roi_size.height); y 221 modules/imgproc/src/templmatch.cpp std::min(y + block_size.height, result.rows) - y); y 223 modules/imgproc/src/templmatch.cpp Rect roi1(x, y, result_roi_size.width, result_roi_size.height); y 738 modules/imgproc/src/templmatch.cpp img0.adjustROI(roiofs.y, wholeSize.height-img.rows-roiofs.y, y 747 modules/imgproc/src/templmatch.cpp int y = (i/tileCountX)*blocksize.height; y 750 modules/imgproc/src/templmatch.cpp std::min(blocksize.height, corr.rows - y)); y 752 modules/imgproc/src/templmatch.cpp int x0 = x - anchor.x + roiofs.x, y0 = y - anchor.y + roiofs.y; y 759 modules/imgproc/src/templmatch.cpp Mat cdst(corr, Rect(x, y, bsz.width, bsz.height)); y 141 modules/imgproc/src/undistort.cpp double w = 1./_w, x = _x*w, y = _y*w; y 142 modules/imgproc/src/undistort.cpp double x2 = x*x, y2 = y*y; y 143 modules/imgproc/src/undistort.cpp double r2 = x2 + y2, _2xy = 2*x*y; y 146 modules/imgproc/src/undistort.cpp double v = fy*(y*kr + p1*(r2 + 2*y2) + p2*_2xy + s3*r2+s4*r2*r2) + v0; y 201 modules/imgproc/src/undistort.cpp for( int y = 0; y < src.rows; y += stripe_size0 ) y 203 modules/imgproc/src/undistort.cpp int stripe_size = std::min( stripe_size0, src.rows - y ); y 204 modules/imgproc/src/undistort.cpp Ar(1, 2) = v0 - y; y 207 modules/imgproc/src/undistort.cpp dst_part = dst.rowRange(y, y + stripe_size); y 345 modules/imgproc/src/undistort.cpp double x, y, x0, y0; y 349 modules/imgproc/src/undistort.cpp y = srcf[i*sstep].y; y 354 modules/imgproc/src/undistort.cpp y = srcd[i*sstep].y; y 358 modules/imgproc/src/undistort.cpp y0 = y = (y - cy)*ify; y 363 modules/imgproc/src/undistort.cpp double r2 = x*x + y*y; y 365 modules/imgproc/src/undistort.cpp double deltaX = 2*k[2]*x*y + k[3]*(r2 + 2*x*x)+ k[8]*r2+k[9]*r2*r2; y 366 modules/imgproc/src/undistort.cpp double deltaY = k[2]*(r2 + 2*y*y) + 2*k[3]*x*y+ k[10]*r2+k[11]*r2*r2; y 368 modules/imgproc/src/undistort.cpp y = (y0 - deltaY)*icdist; y 371 modules/imgproc/src/undistort.cpp double xx = RR[0][0]*x + RR[0][1]*y + RR[0][2]; y 372 modules/imgproc/src/undistort.cpp double yy = RR[1][0]*x + RR[1][1]*y + RR[1][2]; y 373 modules/imgproc/src/undistort.cpp double ww = 1./(RR[2][0]*x + RR[2][1]*y + RR[2][2]); y 375 modules/imgproc/src/undistort.cpp y = yy*ww; y 380 modules/imgproc/src/undistort.cpp dstf[i*dstep].y = (float)y; y 385 modules/imgproc/src/undistort.cpp dstd[i*dstep].y = y; y 422 modules/imgproc/src/undistort.cpp double x = p.x, y = p.y; y 424 modules/imgproc/src/undistort.cpp double v = x*x + y*y + 1, iv = 1/v; y 429 modules/imgproc/src/undistort.cpp double kx = kv*x, ky = kv*y; y 434 modules/imgproc/src/undistort.cpp *J = Vec4d(kx*x + k, kx*y, ky*x, ky*y + k); y 435 modules/imgproc/src/undistort.cpp return Point2f((float)(x*k), (float)(y*k)); y 442 modules/imgproc/src/undistort.cpp double y1 = std::max(std::min(y*k*iR, 1.), -1.); y 448 modules/imgproc/src/undistort.cpp *J = Vec4d(fx1*(kx*x + k), fx1*ky*x, fy1*kx*y, fy1*(ky*y + k)); y 462 modules/imgproc/src/undistort.cpp Vec2d p(_p.x, _p.y), q(_p.x, _p.y), err; y 469 modules/imgproc/src/undistort.cpp err = Vec2d(p1.x, p1.y) - p; y 532 modules/imgproc/src/undistort.cpp if( ymin > q.y ) ymin = q.y; y 533 modules/imgproc/src/undistort.cpp if( ymax < q.y ) ymax = q.y; y 538 modules/imgproc/src/undistort.cpp dcenter.y = (dsize.height - 1)*0.5f; y 542 modules/imgproc/src/undistort.cpp double fx = cameraMatrix.at<double>(0,0), fy = cameraMatrix.at<double>(1,1), cx = scenter.x, cy = scenter.y; y 544 modules/imgproc/src/undistort.cpp for( int y = 0; y < dsize.height; y++ ) y 546 modules/imgproc/src/undistort.cpp Point2f* mxy = mapxy.ptr<Point2f>(y); y 549 modules/imgproc/src/undistort.cpp Point2f p = (Point2f((float)x, (float)y) - dcenter)*(1.f/scale); y 551 modules/imgproc/src/undistort.cpp if( q.x <= -FLT_MAX && q.y <= -FLT_MAX ) y 556 modules/imgproc/src/undistort.cpp double x2 = q.x*q.x, y2 = q.y*q.y; y 557 modules/imgproc/src/undistort.cpp double r2 = x2 + y2, _2xy = 2*q.x*q.y; y 560 modules/imgproc/src/undistort.cpp double v = fy*(q.y*kr + p1*(r2 + 2*y2) + p2*_2xy + s3*r2+ s4*r2*r2) + cy; y 84 modules/imgproc/src/utils.cpp int top = offset.y, bottom = dst.rows - src.rows - top; y 89 modules/imgproc/test/ocl/test_boxfilter.cpp anchor.y = randomInt(-1, ksize.height); y 96 modules/imgproc/test/ocl/test_filter2d.cpp anchor.y = randomInt(-1, kernel.size[1]); y 118 modules/imgproc/test/ocl/test_gftt.cpp bool eq = std::abs(a.x - b.x) < 1 && std::abs(a.y - b.y) < 1; y 144 modules/imgproc/test/ocl/test_histogram.cpp uimages_roi[i] = uimages[i](Rect(ofs.x, ofs.y, images_roi[i].cols, images_roi[i].rows)); y 96 modules/imgproc/test/ocl/test_sepfilter2D.cpp anchor.x = anchor.y = -1; y 137 modules/imgproc/test/test_approxpoly.cpp center.y = cvtest::randInt( rng ) % 1000; y 148 modules/imgproc/test/test_approxpoly.cpp pt.y = cvRound( center.x - radius*sin(angle*deg_to_rad)); y 154 modules/imgproc/test/test_approxpoly.cpp max_y = MAX( max_y, pt.y ); y 157 modules/imgproc/test/test_approxpoly.cpp min_y = MIN( min_y, pt.y ); y 195 modules/imgproc/test/test_approxpoly.cpp dy = (double)StartPt.y - (double)EndPt.y; y 202 modules/imgproc/test/test_approxpoly.cpp C = dy * (double)StartPt.x - dx * (double)StartPt.y; y 214 modules/imgproc/test/test_approxpoly.cpp if( StartPt.x == Pt.x && StartPt.y == Pt.y ) break; y 217 modules/imgproc/test/test_approxpoly.cpp if( flag ) dist = sin_a * Pt.y + cos_a * Pt.x - d; y 218 modules/imgproc/test/test_approxpoly.cpp else dist = sqrt( (double)(EndPt.y - Pt.y)*(EndPt.y - Pt.y) + (EndPt.x - Pt.x)*(EndPt.x - Pt.x) ); y 255 modules/imgproc/test/test_approxpoly.cpp if( StartPt.x == EndPt.x && StartPt.y == EndPt.y ) break; y 263 modules/imgproc/test/test_approxpoly.cpp EndPt.y = StartPt.y; y 88 modules/imgproc/test/test_boundingrect.cpp min_h = std::min<T>(src.at(i).y, min_h); y 89 modules/imgproc/test/test_boundingrect.cpp max_h = std::max<T>(src.at(i).y, max_h); y 126 modules/imgproc/test/test_boundingrect.cpp cout << "Right rect (x, y, w, h): [" << right.x << ", " << right.y << ", " << right.width << ", " << right.height << "]" << endl; y 127 modules/imgproc/test/test_boundingrect.cpp cout << "Result rect (x, y, w, h): [" << rect[i].x << ", " << rect[i].y << ", " << rect[i].width << ", " << rect[i].height << "]" << endl; y 139 modules/imgproc/test/test_canny.cpp cannyFollow( int x, int y, float lowThreshold, const Mat& mag, Mat& dst ) y 144 modules/imgproc/test/test_canny.cpp dst.at<uchar>(y, x) = (uchar)255; y 149 modules/imgproc/test/test_canny.cpp int y1 = y + ofs[i][1]; y 171 modules/imgproc/test/test_canny.cpp int x, y, width = src.cols, height = src.rows; y 180 modules/imgproc/test/test_canny.cpp for( y = 0; y < height; y++ ) y 184 modules/imgproc/test/test_canny.cpp int dxval = dx.at<short>(y, x), dyval = dy.at<short>(y, x); y 185 modules/imgproc/test/test_canny.cpp mag.at<float>(y, x) = use_true_gradient ? y 192 modules/imgproc/test/test_canny.cpp for( y = 0; y < height; y++ ) y 197 modules/imgproc/test/test_canny.cpp float a = mag.at<float>(y, x), b = 0, c = 0; y 203 modules/imgproc/test/test_canny.cpp int dxval = dx.at<short>(y, x); y 204 modules/imgproc/test/test_canny.cpp int dyval = dy.at<short>(y, x); y 210 modules/imgproc/test/test_canny.cpp y1 = y2 = y; x1 = x + 1; x2 = x - 1; y 214 modules/imgproc/test/test_canny.cpp y1 = y + 1; y2 = y - 1; x1 = x + 1; x2 = x - 1; y 218 modules/imgproc/test/test_canny.cpp y1 = y - 1; y2 = y + 1; x1 = x + 1; x2 = x - 1; y 223 modules/imgproc/test/test_canny.cpp x1 = x2 = x; y1 = y + 1; y2 = y - 1; y 232 modules/imgproc/test/test_canny.cpp if( (a > b || (a == b && ((x1 == x+1 && y1 == y) || (x1 == x && y1 == y+1)))) && a > c ) y 235 modules/imgproc/test/test_canny.cpp mag.at<float>(y, x) = -a; y 242 modules/imgproc/test/test_canny.cpp for( y = 0; y < height; y++ ) y 245 modules/imgproc/test/test_canny.cpp if( mag.at<float>(y, x) > highThreshold && !dst.at<uchar>(y, x) ) y 246 modules/imgproc/test/test_canny.cpp cannyFollow( x, y, lowThreshold, mag, dst ); y 190 modules/imgproc/test/test_color.cpp for( int y = 0; y < test_mat[REF_OUTPUT][0].rows; y++ ) y 192 modules/imgproc/test/test_color.cpp uchar* h0 = test_mat[REF_OUTPUT][0].ptr(y); y 193 modules/imgproc/test/test_color.cpp uchar* h = test_mat[OUTPUT][0].ptr(y); y 547 modules/imgproc/test/test_color.cpp double y = M[0]*r + M[1]*g + M[2]*b; y 550 modules/imgproc/test/test_color.cpp dst_row[j] = (float)y; y 571 modules/imgproc/test/test_color.cpp double y = src_row[j]; y 574 modules/imgproc/test/test_color.cpp double r = M[0]*y + M[1]*cr + M[2]*cb; y 575 modules/imgproc/test/test_color.cpp double g = M[3]*y + M[4]*cr + M[5]*cb; y 576 modules/imgproc/test/test_color.cpp double b = M[6]*y + M[7]*cr + M[8]*cb; y 942 modules/imgproc/test/test_color.cpp double y = M[3]*r + M[4]*g + M[5]*b; y 945 modules/imgproc/test/test_color.cpp dst_row[j+1] = (float)y; y 964 modules/imgproc/test/test_color.cpp double y = src_row[j+1]; y 966 modules/imgproc/test/test_color.cpp double r = M[0]*x + M[1]*y + M[2]*z; y 967 modules/imgproc/test/test_color.cpp double g = M[3]*x + M[4]*y + M[5]*z; y 968 modules/imgproc/test/test_color.cpp double b = M[6]*x + M[7]*y + M[8]*z; y 1748 modules/imgproc/test/test_color.cpp for (int y = 0; y < ssize.height; ++y) y 1751 modules/imgproc/test/test_color.cpp if ((x + y) % 2) y 1752 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[1]); y 1754 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[0]); y 1756 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[2]); y 1761 modules/imgproc/test/test_color.cpp for (int y = 0; y < ssize.height; ++y) y 1764 modules/imgproc/test/test_color.cpp if ((x + y) % 2 == 0) y 1765 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[1]); y 1767 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[0]); y 1769 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[2]); y 1774 modules/imgproc/test/test_color.cpp for (int y = 0; y < ssize.height; ++y) y 1777 modules/imgproc/test/test_color.cpp if ((x + y) % 2) y 1778 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[1]); y 1780 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[0]); y 1782 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[2]); y 1787 modules/imgproc/test/test_color.cpp for (int y = 0; y < ssize.height; ++y) y 1790 modules/imgproc/test/test_color.cpp if ((x + y) % 2 == 0) y 1791 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[1]); y 1793 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[0]); y 1795 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[2]); y 1902 modules/imgproc/test/test_color.cpp for (int y = 0; y < ssize.height && next; ++y) y 1904 modules/imgproc/test/test_color.cpp const float* rD = reference.ptr<float>(y); y 1905 modules/imgproc/test/test_color.cpp const float* D = actual.ptr<float>(y); y 1910 modules/imgproc/test/test_color.cpp ts->printf(cvtest::TS::SUMMARY, "Error in: (%d, %d)\n", x / cn, y); y 1914 modules/imgproc/test/test_color.cpp ts->printf(cvtest::TS::SUMMARY, "Src value: %f\n", src.ptr<float>(y)[x]); y 1921 modules/imgproc/test/test_color.cpp std::cout << "lab: " << lab(cv::Rect(y, x / cn, 1, 1)) << std::endl; y 1923 modules/imgproc/test/test_color.cpp std::cout << "src: " << src(cv::Rect(y, x / cn, 1, 1)) << std::endl; y 1972 modules/imgproc/test/test_color.cpp for (int y = 1; y < size.height; ++y) y 1974 modules/imgproc/test/test_color.cpp S = src.ptr<uchar>(y) + 1; y 1975 modules/imgproc/test/test_color.cpp D = dst.ptr<uchar>(y) + dcn; y 1989 modules/imgproc/test/test_color.cpp S = src.ptr<uchar>(y) + 2; y 1990 modules/imgproc/test/test_color.cpp D = dst.ptr<uchar>(y) + 2*dcn; y 2013 modules/imgproc/test/test_color.cpp S = src.ptr<uchar>(y) + 2; y 2014 modules/imgproc/test/test_color.cpp D = dst.ptr<uchar>(y) + 2*dcn; y 2026 modules/imgproc/test/test_color.cpp D = dst.ptr<uchar>(y + 1) - dcn; y 2059 modules/imgproc/test/test_color.cpp for (int y = 0; y < size.height && next; ++y) y 2061 modules/imgproc/test/test_color.cpp const T* A = actual.ptr<T>(y); y 2062 modules/imgproc/test/test_color.cpp const T* R = reference.ptr<T>(y); y 2070 modules/imgproc/test/test_color.cpp ts->printf(SUM, "(y, x): (%d, %d)\n", y, x / reference.channels()); y 2169 modules/imgproc/test/test_color.cpp for (int y = 0; y < ssize.height && next; ++y) y 2171 modules/imgproc/test/test_color.cpp const uchar* rD = reference.ptr<uchar>(y); y 2172 modules/imgproc/test/test_color.cpp const uchar* D = actual.ptr<uchar>(y); y 2177 modules/imgproc/test/test_color.cpp ts->printf(cvtest::TS::SUMMARY, "Error in: (%d, %d)\n", x / cn, y); y 2180 modules/imgproc/test/test_color.cpp ts->printf(cvtest::TS::SUMMARY, "Src value: %d\n", raw.ptr<uchar>(y)[x]); y 171 modules/imgproc/test/test_contours.cpp center.y = cvtest::randInt(rng) % size.height; y 365 modules/imgproc/test/test_contours.cpp if( pt1.x != pt2.x || pt1.y != pt2.y ) y 369 modules/imgproc/test/test_contours.cpp "in the approximated chain ((%d,%d) vs (%d,%d)", count3, i, pt1.x, pt1.y, pt2.x, pt2.y ); y 406 modules/imgproc/test/test_contours.cpp double y = 30.5/pow(2.0, -2.0); y 408 modules/imgproc/test/test_contours.cpp line(img, Point(int(x0), int(y)), Point(int(x1), int(y)), Scalar(0), 2, 4, 2); y 435 modules/imgproc/test/test_contours.cpp static void rot(int n, int *x, int *y, int rx, int ry) y 440 modules/imgproc/test/test_contours.cpp *y = n-1 - *y; y 445 modules/imgproc/test/test_contours.cpp *x = *y; y 446 modules/imgproc/test/test_contours.cpp *y = t; y 450 modules/imgproc/test/test_contours.cpp static void d2xy(int n, int d, int *x, int *y) y 453 modules/imgproc/test/test_contours.cpp *x = *y = 0; y 458 modules/imgproc/test/test_contours.cpp rot(s, x, y, rx, ry); y 460 modules/imgproc/test/test_contours.cpp *y += s * ry; y 476 modules/imgproc/test/test_contours.cpp d2xy(n2, i, &q.x, &q.y); y 78 modules/imgproc/test/test_convhull.cpp double dy = a.y - b.y; y 90 modules/imgproc/test/test_convhull.cpp dd = fabs((double)(pt.x - a.x)*(b.y - a.y) - (double)(pt.y - a.y)*(b.x - a.x))/dd; y 111 modules/imgproc/test/test_convhull.cpp dx = v.x - v0.x; dy = v.y - v0.y; y 112 modules/imgproc/test/test_convhull.cpp dx1 = pt.x - v0.x; dy1 = pt.y - v0.y; y 113 modules/imgproc/test/test_convhull.cpp dx2 = pt.x - v.x; dy2 = pt.y - v.y; y 141 modules/imgproc/test/test_convhull.cpp if( (v0.y <= pt.y && v.y <= pt.y) || y 142 modules/imgproc/test/test_convhull.cpp (v0.y > pt.y && v.y > pt.y) || y 167 modules/imgproc/test/test_convhull.cpp return cv::Point2f((a.x + b.x) / 2, (a.y + b.y) / 2); y 173 modules/imgproc/test/test_convhull.cpp double d1 = cvTsDist(CvPoint2D32f(x.x, x.y), CvPoint2D32f(a.x, a.y)); y 174 modules/imgproc/test/test_convhull.cpp double d2 = cvTsDist(CvPoint2D32f(x.x, x.y), CvPoint2D32f(b.x, b.y)); y 175 modules/imgproc/test/test_convhull.cpp double d3 = cvTsDist(CvPoint2D32f(a.x, a.y), CvPoint2D32f(b.x, b.y)); y 617 modules/imgproc/test/test_convhull.cpp float dx0 = pt1.x - pt0.x, dy0 = pt1.y - pt0.y; y 618 modules/imgproc/test/test_convhull.cpp float dx1 = pt2.x - pt1.x, dy1 = pt2.y - pt1.y; y 720 modules/imgproc/test/test_convhull.cpp double y0 = (box_pt[0].y + box_pt[2].y)*0.5; y 722 modules/imgproc/test/test_convhull.cpp double y1 = (box_pt[1].y + box_pt[3].y)*0.5; y 741 modules/imgproc/test/test_convhull.cpp cvCircle(img,cvPoint(cvRound(p[i].x*a+b),cvRound(p[i].y*c+d)), 3, CV_RGB(0,255,0), -1 ); y 743 modules/imgproc/test/test_convhull.cpp bp[i] = cvPoint(cvRound(box_pt[i].x*a+b),cvRound(box_pt[i].y*c+d)); y 851 modules/imgproc/test/test_convhull.cpp cvCircle(img,cvPoint(cvRound(p[i].x*a+b),cvRound(p[i].y*c+d)), 3, CV_RGB(0,255,0), -1 ); y 853 modules/imgproc/test/test_convhull.cpp bp[i] = cvPoint(cvRound(triangle[i].x*a+b),cvRound(triangle[i].y*c+d)); y 867 modules/imgproc/test/test_convhull.cpp if (cv::pointPolygonTest(triangle, cv::Point2f(convexPolygon[i].x, convexPolygon[i].y), true) < (-eps)) y 980 modules/imgproc/test/test_convhull.cpp cvCircle(img,cvPoint(cvRound(p[i].x*a+b),cvRound(p[i].y*a+d)), 3, CV_RGB(0,255,0), -1 ); y 981 modules/imgproc/test/test_convhull.cpp cvCircle( img, cvPoint(cvRound(center.x*a+b),cvRound(center.y*a+d)), y 1107 modules/imgproc/test/test_convhull.cpp double dx = pt.x - prev_pt.x, dy = pt.y - prev_pt.y; y 1166 modules/imgproc/test/test_convhull.cpp box0.center.y = (float)((low.val[1] + high.val[1])*0.5); y 1204 modules/imgproc/test/test_convhull.cpp double y = box0.size.width*0.5*(sin(angle) + (cvtest::randReal(rng)-0.5)*2*max_noise); y 1205 modules/imgproc/test/test_convhull.cpp p.x = (float)(box0.center.x + a*x + b*y); y 1206 modules/imgproc/test/test_convhull.cpp p.y = (float)(box0.center.y - b*x + a*y); y 1218 modules/imgproc/test/test_convhull.cpp pp->y = cvRound(p.y); y 1248 modules/imgproc/test/test_convhull.cpp cvIsNaN(box.center.y) || cvIsInf(box.center.y) || y 1254 modules/imgproc/test/test_convhull.cpp box.center.x, box.center.y, box.size.width, box.size.height, box.angle ); y 1266 modules/imgproc/test/test_convhull.cpp fabs(box.center.y - box0.center.y) > 3 || y 1272 modules/imgproc/test/test_convhull.cpp box.center.x, box.center.y, box.size.width, box.size.height, y 1273 modules/imgproc/test/test_convhull.cpp box0.center.x, box0.center.y, box0.size.width, box0.size.height ); y 1301 modules/imgproc/test/test_convhull.cpp box.center.y += (float)low_high_range*2; y 1308 modules/imgproc/test/test_convhull.cpp pt.y = cvRound(points2->data.fl[i*2+1] + low_high_range*2); y 1350 modules/imgproc/test/test_convhull.cpp fabs(e.center.y - 4) <= 1. && y 1395 modules/imgproc/test/test_convhull.cpp box0.center.y = (float)center.y; y 1678 modules/imgproc/test/test_convhull.cpp p.y = (float)(c0*s + s0*c + center.y); y 1691 modules/imgproc/test/test_convhull.cpp pp->y = cvRound(p.y); y 1741 modules/imgproc/test/test_convhull.cpp center.y = (float)(img_size.height*0.5 + (cvtest::randReal(rng)-0.5)*(img_size.height - max_sz*2)*0.8); y 1744 modules/imgproc/test/test_convhull.cpp 0 < center.y - max_sz && center.y + max_sz < img_size.height ); y 1870 modules/imgproc/test/test_convhull.cpp center.y = rng.uniform(cvCeil(max_r), cvFloor(480-max_r)); y 1878 modules/imgproc/test/test_convhull.cpp pt.y = cvRound(center.y - r*sin(phi)); y 180 modules/imgproc/test/test_cvtyuv.cpp uchar y = yuv.ptr<uchar>(row)[col]; y 184 modules/imgproc/test/test_cvtyuv.cpp return YUV(y, u, v); y 193 modules/imgproc/test/test_cvtyuv.cpp uchar y = yuv.ptr<uchar>(row)[col]; y 197 modules/imgproc/test/test_cvtyuv.cpp return YUV(y, u, v); y 206 modules/imgproc/test/test_cvtyuv.cpp uchar y = yuv.ptr<uchar>(row)[col]; y 210 modules/imgproc/test/test_cvtyuv.cpp return YUV(y, u, v); y 219 modules/imgproc/test/test_cvtyuv.cpp uchar y = yuv.ptr<uchar>(row)[col]; y 223 modules/imgproc/test/test_cvtyuv.cpp return YUV(y, u, v); y 231 modules/imgproc/test/test_cvtyuv.cpp uchar y = yuv.ptr<Vec2b>(row)[col][1]; y 235 modules/imgproc/test/test_cvtyuv.cpp return YUV(y, u, v); y 243 modules/imgproc/test/test_cvtyuv.cpp uchar y = yuv.ptr<Vec2b>(row)[col][0]; y 247 modules/imgproc/test/test_cvtyuv.cpp return YUV(y, u, v); y 255 modules/imgproc/test/test_cvtyuv.cpp uchar y = yuv.ptr<Vec2b>(row)[col][0]; y 259 modules/imgproc/test/test_cvtyuv.cpp return YUV(y, u, v); y 324 modules/imgproc/test/test_cvtyuv.cpp int y = std::max(0, yuv[0] - 16); y 327 modules/imgproc/test/test_cvtyuv.cpp uchar r = saturate_cast<uchar>(1.164f * y + 1.596f * v); y 328 modules/imgproc/test/test_cvtyuv.cpp uchar g = saturate_cast<uchar>(1.164f * y - 0.813f * v - 0.391f * u); y 329 modules/imgproc/test/test_cvtyuv.cpp uchar b = saturate_cast<uchar>(1.164f * y + 2.018f * u); y 353 modules/imgproc/test/test_cvtyuv.cpp uchar y = saturate_cast<uchar>((int)( 0.257f*r + 0.504f*g + 0.098f*b + 0.5f) + 16); y 357 modules/imgproc/test/test_cvtyuv.cpp return YUV(y, u, v); y 143 modules/imgproc/test/test_filter.cpp anchor.y = cvtest::randInt(rng) % aperture_size.height; y 245 modules/imgproc/test/test_filter.cpp eldata[anchor.y*aperture_size.width + anchor.x] = 1; y 250 modules/imgproc/test/test_filter.cpp anchor.x, anchor.y, shape, eldata.empty() ? 0 : &eldata[0] ); y 533 modules/imgproc/test/test_filter.cpp anchor.y = aperture_size.height / 2; y 590 modules/imgproc/test/test_filter.cpp anchor.y = aperture_size.height / 2; y 646 modules/imgproc/test/test_filter.cpp anchor.y = cvtest::randInt(rng)%(max_aperture_size/2+1); y 648 modules/imgproc/test/test_filter.cpp aperture_size.height = anchor.y*2 + 1; y 873 modules/imgproc/test/test_filter.cpp anchor.x = anchor.y = aperture_size.width / 2; y 1552 modules/imgproc/test/test_filter.cpp double y = _dy[j]; y 1554 modules/imgproc/test/test_filter.cpp corner[j] = (float)(denom*(x*x*_d2y[j] + y*y*_d2x[j] - 2*x*y*_dxy[j])); y 124 modules/imgproc/test/test_floodfill.cpp seed_pt.y = cvtest::randInt(rng) % sizes[INPUT_OUTPUT][0].height; y 202 modules/imgproc/test/test_floodfill.cpp odata[2] = comp.rect.y; y 222 modules/imgproc/test/test_floodfill.cpp odata[2] = rect.y; y 283 modules/imgproc/test/test_floodfill.cpp p0.mofs = seed_pt.y*mstep + seed_pt.x; y 284 modules/imgproc/test/test_floodfill.cpp p0.iofs = seed_pt.y*step + seed_pt.x*cn; y 403 modules/imgproc/test/test_floodfill.cpp r.y = r.height = seed_pt.y; y 473 modules/imgproc/test/test_floodfill.cpp if( r.y > i ) y 474 modules/imgproc/test/test_floodfill.cpp r.y = i; y 491 modules/imgproc/test/test_floodfill.cpp comp[2] = r.y; y 493 modules/imgproc/test/test_floodfill.cpp comp[4] = r.height - r.y + 1; y 1216 modules/imgproc/test/test_histograms.cpp int x, y, k, cdims; y 1243 modules/imgproc/test/test_histograms.cpp for( y = 0; y < img_size.height; y++ ) y 1245 modules/imgproc/test/test_histograms.cpp const uchar* mptr = _mask ? &CV_MAT_ELEM(mask, uchar, y, 0 ) : 0; y 1249 modules/imgproc/test/test_histograms.cpp plane[k].ptr = &CV_MAT_ELEM(images[k], uchar, y, 0 ) + channels[k]; y 1252 modules/imgproc/test/test_histograms.cpp plane[k].fl = &CV_MAT_ELEM(images[k], float, y, 0 ) + channels[k]; y 1449 modules/imgproc/test/test_histograms.cpp int x, y, k, cdims; y 1467 modules/imgproc/test/test_histograms.cpp for( y = 0; y < img_size.height; y++ ) y 1471 modules/imgproc/test/test_histograms.cpp plane[k].ptr = &CV_IMAGE_ELEM(images[k], uchar, y, 0 ) + channels[k]; y 1474 modules/imgproc/test/test_histograms.cpp plane[k].fl = &CV_IMAGE_ELEM(images[k], float, y, 0 ) + channels[k]; y 1523 modules/imgproc/test/test_histograms.cpp CV_IMAGE_ELEM( dst, uchar, y, x ) = saturate_cast<uchar>(t); y 1526 modules/imgproc/test/test_histograms.cpp CV_IMAGE_ELEM( dst, float, y, x ) = bin_val; y 1684 modules/imgproc/test/test_histograms.cpp int x, y; y 1702 modules/imgproc/test/test_histograms.cpp for( y = 0; y < size.height; y++ ) y 1709 modules/imgproc/test/test_histograms.cpp roi.yOffset = y; y 1716 modules/imgproc/test/test_histograms.cpp CV_IMAGE_ELEM( dst, float, y, x ) = (float)result; y 344 modules/imgproc/test/test_imgwarp.cpp int x, y, k; y 371 modules/imgproc/test/test_imgwarp.cpp for( y = 0; y < drows; y++ ) y 373 modules/imgproc/test/test_imgwarp.cpp uchar* dptr = dst.ptr(y); y 374 modules/imgproc/test/test_imgwarp.cpp const float* mx = mapx.ptr<float>(y); y 375 modules/imgproc/test/test_imgwarp.cpp const float* my = mapy.ptr<float>(y); y 376 modules/imgproc/test/test_imgwarp.cpp uchar* m = mask ? mask->ptr(y) : 0; y 523 modules/imgproc/test/test_imgwarp.cpp center.y = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.rows); y 555 modules/imgproc/test/test_imgwarp.cpp for( int y = 0; y < dst.rows; y++ ) y 558 modules/imgproc/test/test_imgwarp.cpp mapx.at<float>(y, x) = (float)(x*m[0] + y*m[1] + m[2]); y 559 modules/imgproc/test/test_imgwarp.cpp mapy.at<float>(y, x) = (float)(x*m[3] + y*m[4] + m[5]); y 647 modules/imgproc/test/test_imgwarp.cpp s[i].y += bufer[i*4+1]*src.rows/2; y 649 modules/imgproc/test/test_imgwarp.cpp d[i].y += bufer[i*4+3]*dst.rows/2; y 671 modules/imgproc/test/test_imgwarp.cpp for( int y = 0; y < dst.rows; y++ ) y 675 modules/imgproc/test/test_imgwarp.cpp double xs = x*m[0] + y*m[1] + m[2]; y 676 modules/imgproc/test/test_imgwarp.cpp double ys = x*m[3] + y*m[4] + m[5]; y 677 modules/imgproc/test/test_imgwarp.cpp double ds = x*m[6] + y*m[7] + m[8]; y 683 modules/imgproc/test/test_imgwarp.cpp mapx.at<float>(y, x) = (float)xs; y 684 modules/imgproc/test/test_imgwarp.cpp mapy.at<float>(y, x) = (float)ys; y 1110 modules/imgproc/test/test_imgwarp.cpp for( int y = 0; y < dst.rows; y++ ) y 1113 modules/imgproc/test/test_imgwarp.cpp float* d = dst.ptr<float>(y) + x*cn; y 1114 modules/imgproc/test/test_imgwarp.cpp float sx = (float)(a[0]*x + a[1]*y + a[2]); y 1115 modules/imgproc/test/test_imgwarp.cpp float sy = (float)(a[3]*x + a[4]*y + a[5]); y 1186 modules/imgproc/test/test_imgwarp.cpp center.y = (float)(cvtest::randReal(rng)*src_size.height); y 1234 modules/imgproc/test/test_imgwarp.cpp 0, 1, center.y - dst.rows*0.5 + 0.5 }; y 1333 modules/imgproc/test/test_imgwarp.cpp center.y = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.rows); y 1343 modules/imgproc/test/test_imgwarp.cpp a[2] = center.x - a[0]*center.x - a[1]*center.y; y 1344 modules/imgproc/test/test_imgwarp.cpp a[5] = center.y - a[3]*center.x - a[4]*center.y; y 1574 modules/imgproc/test/test_imgwarp.cpp for (int y = 0; y < dst.rows; ++y) y 1576 modules/imgproc/test/test_imgwarp.cpp const T * sptr0 = src.ptr<T>(y << 1); y 1577 modules/imgproc/test/test_imgwarp.cpp const T * sptr1 = src.ptr<T>((y << 1) + 1); y 1578 modules/imgproc/test/test_imgwarp.cpp T * dptr = dst.ptr<T>(y); y 164 modules/imgproc/test/test_imgwarp_strict.cpp int x, y; y 167 modules/imgproc/test/test_imgwarp_strict.cpp for (y = 0; y < ssize.height; y += cell_size) y 169 modules/imgproc/test/test_imgwarp_strict.cpp rectangle(src, Point(x, y), Point(x + std::min<int>(cell_size, ssize.width - x), y + y 170 modules/imgproc/test/test_imgwarp_strict.cpp std::min<int>(cell_size, ssize.height - y)), Scalar::all((x + y) % 2 ? 255: 0), CV_FILLED); y 175 modules/imgproc/test/test_imgwarp_strict.cpp for (y = cell_size; y < src.rows; y += cell_size) y 176 modules/imgproc/test/test_imgwarp_strict.cpp line(src, Point2i(0, y), Point2i(src.cols, y), Scalar::all(0), 1); y 405 modules/imgproc/test/test_imgwarp_strict.cpp double y = -(x+3-i)*CV_PI*0.25; y 406 modules/imgproc/test/test_imgwarp_strict.cpp coeffs[i] = (float)((cs[i][0]*s0 + cs[i][1]*c0)/(y*y)); y 740 modules/imgproc/test/test_imgwarp_strict.cpp for (int y = 0; y < mapx.rows; ++y) y 742 modules/imgproc/test/test_imgwarp_strict.cpp float * ptr = mapx.ptr<float>(y); y 918 modules/imgproc/test/test_imgwarp_strict.cpp for (int y = 0; y < ksize; ++y) y 920 modules/imgproc/test/test_imgwarp_strict.cpp const float* xyS = _src.ptr<float>(isy + y) + isx * cn; y 922 modules/imgproc/test/test_imgwarp_strict.cpp ix[y] = 0; y 924 modules/imgproc/test/test_imgwarp_strict.cpp ix[y] += w[i] * xyS[i * cn + r]; y 105 modules/imgproc/test/test_intersection.cpp rect1.center.y = 0; y 111 modules/imgproc/test/test_intersection.cpp rect2.center.y = 10; y 131 modules/imgproc/test/test_intersection.cpp rect1.center.y = 0; y 137 modules/imgproc/test/test_intersection.cpp rect2.center.y = 1; y 163 modules/imgproc/test/test_intersection.cpp double dy = vertices[i].y - possibleVertices[j].y; y 179 modules/imgproc/test/test_intersection.cpp rect1.center.y = 0; y 185 modules/imgproc/test/test_intersection.cpp rect2.center.y = 1; y 210 modules/imgproc/test/test_intersection.cpp double dy = vertices[i].y - possibleVertices[j].y; y 227 modules/imgproc/test/test_intersection.cpp rect1.center.y = 0; y 233 modules/imgproc/test/test_intersection.cpp rect2.center.y = 0; y 259 modules/imgproc/test/test_intersection.cpp double dy = vertices[i].y - possibleVertices[j].y; y 276 modules/imgproc/test/test_intersection.cpp rect1.center.y = 0; y 282 modules/imgproc/test/test_intersection.cpp rect2.center.y = 0; y 312 modules/imgproc/test/test_intersection.cpp double dy = vertices[i].y - possibleVertices[j].y; y 329 modules/imgproc/test/test_intersection.cpp rect1.center.y = 0; y 335 modules/imgproc/test/test_intersection.cpp rect2.center.y = 0; y 361 modules/imgproc/test/test_intersection.cpp double dy = vertices[i].y - possibleVertices[j].y; y 378 modules/imgproc/test/test_intersection.cpp rect1.center.y = 0; y 384 modules/imgproc/test/test_intersection.cpp rect2.center.y = 0; y 410 modules/imgproc/test/test_intersection.cpp double dy = vertices[i].y - possibleVertices[j].y; y 427 modules/imgproc/test/test_intersection.cpp rect1.center.y = 0; y 433 modules/imgproc/test/test_intersection.cpp rect2.center.y = 2; y 446 modules/imgproc/test/test_intersection.cpp double dy = vertices[0].y - 1; y 459 modules/imgproc/test/test_intersection.cpp rect1.center.y = 0; y 465 modules/imgproc/test/test_intersection.cpp rect2.center.y = 0; y 489 modules/imgproc/test/test_intersection.cpp double dy = vertices[i].y - possibleVertices[j].y; y 71 modules/imgproc/test/test_lsd.cpp int y = rng.uniform(10, img_size.width - 10); y 72 modules/imgproc/test/test_lsd.cpp Point p1(y, 10); y 73 modules/imgproc/test/test_lsd.cpp Point p2(y, img_size.height - 10); y 210 modules/imgproc/test/test_moments.cpp int i, y, x, cols = src.cols; y 215 modules/imgproc/test/test_moments.cpp for( y = 0; y < src.rows; y++ ) y 218 modules/imgproc/test/test_moments.cpp uchar* ptr = src.ptr(y); y 241 modules/imgproc/test/test_moments.cpp m.m01 += s0*y; y 242 modules/imgproc/test/test_moments.cpp m.m02 += (s0*y)*y; y 243 modules/imgproc/test/test_moments.cpp m.m03 += ((s0*y)*y)*y; y 246 modules/imgproc/test/test_moments.cpp m.m11 += s1*y; y 247 modules/imgproc/test/test_moments.cpp m.m12 += (s1*y)*y; y 250 modules/imgproc/test/test_moments.cpp m.m21 += s2*y; y 261 modules/imgproc/test/test_moments.cpp for( y = 0; y < src.rows; y++ ) y 263 modules/imgproc/test/test_moments.cpp double s0 = 0, s1 = 0, s2 = 0, s3 = 0, y1 = y - yc; y 264 modules/imgproc/test/test_moments.cpp uchar* ptr = src.ptr(y); y 81 modules/imgproc/test/test_pc.cpp if((expectedShiftX - phaseShift.x) >= 1 || (expectedShiftY - phaseShift.y) >= 1) y 89 modules/imgproc/test/test_watershed.cpp colors.push_back(exp.ptr(p->y)[p->x] - 1); y 299 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(msg, expected.y, actual.y); y 322 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.hypot(expected.pt.x - actual.pt.x, expected.pt.y - actual.pt.y) < eps); y 367 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(msg, expected.y, actual.y, eps); y 379 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(msg, expected.y, actual.y, eps); y 138 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java for(int y=0; y<size; y++) { y 139 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java int a = y; y 141 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java int color = Color.argb(a, 0, x, y); y 142 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java bmp.setPixel(x, y, color); y 143 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java mOrig.put(y, x, Color.red(color), Color.green(color), Color.blue(color), Color.alpha(color)); y 144 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java int colorUnPre = bmp.getPixel(x, y); y 145 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java mUnPre.put(y, x, Color.red(colorUnPre), Color.green(colorUnPre), Color.blue(colorUnPre), Color.alpha(colorUnPre)); y 1073 modules/java/generator/src/cpp/Mat.cpp jdouble tmp_wholeSize[2] = {wholeSize.width, wholeSize.height}; env->SetDoubleArrayRegion(wholeSize_out, 0, 2, tmp_wholeSize); jdouble tmp_ofs[2] = {ofs.x, ofs.y}; env->SetDoubleArrayRegion(ofs_out, 0, 2, tmp_ofs); y 1291 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jlong self, jint y); y 1294 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jlong self, jint y) y 1300 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = me->row( y ); y 45 modules/java/generator/src/java/utils+Converters.java buff[i * 2 + 1] = (int) p.y; y 57 modules/java/generator/src/java/utils+Converters.java buff[i * 2 + 1] = (float) p.y; y 69 modules/java/generator/src/java/utils+Converters.java buff[i * 2 + 1] = p.y; y 107 modules/java/generator/src/java/utils+Converters.java buff[i * 3 + 1] = (int) p.y; y 120 modules/java/generator/src/java/utils+Converters.java buff[i * 3 + 1] = (float) p.y; y 133 modules/java/generator/src/java/utils+Converters.java buff[i * 3 + 1] = p.y; y 411 modules/java/generator/src/java/utils+Converters.java buff[4 * i + 1] = r.y; y 447 modules/java/generator/src/java/utils+Converters.java buff[7 * i + 1] = kp.pt.y; y 329 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(msg, expected.y, actual.y); y 352 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.hypot(expected.pt.x - actual.pt.x, expected.pt.y - actual.pt.y) < eps); y 397 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(msg, expected.y, actual.y, eps); y 409 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(msg, expected.y, actual.y, eps); y 307 modules/ml/src/em.cpp for(int y = 0; y < probs.rows; y++) y 309 modules/ml/src/em.cpp Mat sampleProbs = probs.row(y); y 637 modules/ml/src/svm.cpp #define get_C(i) (C[y[i]>0]) y 648 modules/ml/src/svm.cpp const schar* y = &y_vec[0]; y 709 modules/ml/src/svm.cpp if( y[i] != y[j] ) y 811 modules/ml/src/svm.cpp const schar* y = &y_vec[0]; y 819 modules/ml/src/svm.cpp if( y[i] > 0 ) // y = +1 y 857 modules/ml/src/svm.cpp const schar* y = &y_vec[0]; y 863 modules/ml/src/svm.cpp double yG = y[i]*G[i]; y 867 modules/ml/src/svm.cpp if( y[i] > 0 ) y 874 modules/ml/src/svm.cpp if( y[i] < 0) y 907 modules/ml/src/svm.cpp const schar* y = &y_vec[0]; y 915 modules/ml/src/svm.cpp if( y[i] > 0 ) // y == +1 y 966 modules/ml/src/svm.cpp const schar* y = &y_vec[0]; y 973 modules/ml/src/svm.cpp if( y[i] > 0 ) y 129 modules/objdetect/include/opencv2/objdetect.hpp std::abs(r1.y - r2.y) <= delta && y 131 modules/objdetect/include/opencv2/objdetect.hpp std::abs(r1.y + r1.height - r2.y - r2.height) <= delta; y 64 modules/objdetect/perf/opencl/perf_hogdetect.cpp else if (a.y != b.y) y 65 modules/objdetect/perf/opencl/perf_hogdetect.cpp return a.y < b.y; y 86 modules/objdetect/src/cascadedetect.cpp rrects[cls].y += rectList[i].y; y 116 modules/objdetect/src/cascadedetect.cpp saturate_cast<int>(r.y*s), y 151 modules/objdetect/src/cascadedetect.cpp r1.y >= r2.y - dy && y 153 modules/objdetect/src/cascadedetect.cpp r1.y + r1.height <= r2.y + r2.height + dy && y 242 modules/objdetect/src/cascadedetect.cpp sPt.y *= std::exp(aPt.z); y 245 modules/objdetect/src/cascadedetect.cpp aPt.y /= sPt.y; y 249 modules/objdetect/src/cascadedetect.cpp bPt.y /= sPt.y; y 257 modules/objdetect/src/cascadedetect.cpp ratPoint.y += w/sPt.y; y 261 modules/objdetect/src/cascadedetect.cpp resPoint.y /= ratPoint.y; y 275 modules/objdetect/src/cascadedetect.cpp sPt.y *= std::exp(aPt.z); y 280 modules/objdetect/src/cascadedetect.cpp aPt.y /= sPt.y; y 307 modules/objdetect/src/cascadedetect.cpp ns.y *= std::exp(p2.z); y 310 modules/objdetect/src/cascadedetect.cpp p2.y /= ns.y; y 328 modules/objdetect/src/cascadedetect.cpp hits[i] = Point3d(hitCenter.x, hitCenter.y, std::log(scales[i])); y 347 modules/objdetect/src/cascadedetect.cpp hitCenter.y = resultHits[i].y; y 349 modules/objdetect/src/cascadedetect.cpp Rect resultRect( int(hitCenter.x-s.width/2), int(hitCenter.y-s.height/2), y 460 modules/objdetect/src/cascadedetect.cpp layer_ofs = Point(0, layer_ofs.y + layer_dy); y 463 modules/objdetect/src/cascadedetect.cpp s.layer_ofs = layer_ofs.y*sbufSize.width + layer_ofs.x; y 467 modules/objdetect/src/cascadedetect.cpp layer_ofs.y += layer_dy; y 468 modules/objdetect/src/cascadedetect.cpp sbufSize.height = std::max(sbufSize.height, layer_ofs.y); y 543 modules/objdetect/src/cascadedetect.cpp it2 >> rect[ri].r.x >> rect[ri].r.y >> y 686 modules/objdetect/src/cascadedetect.cpp if( pt.x < 0 || pt.y < 0 || y 688 modules/objdetect/src/cascadedetect.cpp pt.y + origWinSize.height >= s.szi.height ) y 747 modules/objdetect/src/cascadedetect.cpp it >> rect.x >> rect.y >> rect.width >> rect.height; y 838 modules/objdetect/src/cascadedetect.cpp tr.y += 2*h0; y 850 modules/objdetect/src/cascadedetect.cpp if( pt.x < 0 || pt.y < 0 || y 852 modules/objdetect/src/cascadedetect.cpp pt.y + origWinSize.height >= s.szi.height ) y 992 modules/objdetect/src/cascadedetect.cpp for( int y = y0; y < y1; y += yStep ) y 996 modules/objdetect/src/cascadedetect.cpp int result = classifier->runAt(evaluator, Point(x, y), scaleIdx, gypWeight); y 1005 modules/objdetect/src/cascadedetect.cpp cvRound(y*scalingFactor), y 1016 modules/objdetect/src/cascadedetect.cpp cvRound(y*scalingFactor), y 260 modules/objdetect/src/cascadedetect.hpp (p0) = sum + (rect).x + (step) * (rect).y, \ y 262 modules/objdetect/src/cascadedetect.hpp (p1) = sum + (rect).x + (rect).width + (step) * (rect).y, \ y 264 modules/objdetect/src/cascadedetect.hpp (p2) = sum + (rect).x + (step) * ((rect).y + (rect).height), \ y 266 modules/objdetect/src/cascadedetect.hpp (p3) = sum + (rect).x + (rect).width + (step) * ((rect).y + (rect).height) y 270 modules/objdetect/src/cascadedetect.hpp (p0) = tilted + (rect).x + (step) * (rect).y, \ y 272 modules/objdetect/src/cascadedetect.hpp (p1) = tilted + (rect).x - (rect).height + (step) * ((rect).y + (rect).height), \ y 274 modules/objdetect/src/cascadedetect.hpp (p2) = tilted + (rect).x + (rect).width + (step) * ((rect).y + (rect).width), \ y 277 modules/objdetect/src/cascadedetect.hpp + (step) * ((rect).y + (rect).width + (rect).height) y 286 modules/objdetect/src/cascadedetect.hpp (p0) = sum + (rect).x + (step) * (rect).y, \ y 288 modules/objdetect/src/cascadedetect.hpp (p1) = sum + (rect).x + (rect).width + (step) * (rect).y, \ y 290 modules/objdetect/src/cascadedetect.hpp (p2) = sum + (rect).x + (step) * ((rect).y + (rect).height), \ y 292 modules/objdetect/src/cascadedetect.hpp (p3) = sum + (rect).x + (rect).width + (step) * ((rect).y + (rect).height) y 296 modules/objdetect/src/cascadedetect.hpp (p0) = tilted + (rect).x + (step) * (rect).y, \ y 298 modules/objdetect/src/cascadedetect.hpp (p1) = tilted + (rect).x - (rect).height + (step) * ((rect).y + (rect).height), \ y 300 modules/objdetect/src/cascadedetect.hpp (p2) = tilted + (rect).x + (rect).width + (step) * ((rect).y + (rect).width), \ y 303 modules/objdetect/src/cascadedetect.hpp + (step) * ((rect).y + (rect).width + (rect).height) y 414 modules/objdetect/src/cascadedetect.hpp Feature( int x, int y, int _block_w, int _block_h ) : y 415 modules/objdetect/src/cascadedetect.hpp rect(x, y, _block_w, _block_h) {} y 165 modules/objdetect/src/cascadedetect_convert.cpp f.rect[k].r.y = (int)rnode[1]; y 252 modules/objdetect/src/cascadedetect_convert.cpp newfs << "[" << f.rect[j].r.x << f.rect[j].r.y << y 105 modules/objdetect/src/detection_based_tracker.cpp return cv::Point2f(r.x+((float)r.width)/2, r.y+((float)r.height)/2); y 114 modules/objdetect/src/detection_based_tracker.cpp int y=cvRound(m.y - height/2); y 116 modules/objdetect/src/detection_based_tracker.cpp return cv::Rect(x, y, cvRound(width), cvRound(height)); y 666 modules/objdetect/src/detection_based_tracker.cpp r.y += cvRound(shift.y); y 698 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::process: found a object with SIZE %d x %d, rect={%d, %d, %d x %d}", r.width, r.height, r.x, r.y, r.width, r.height); y 712 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::process: found a object with SIZE %d x %d, rect={%d, %d, %d x %d}", r.width, r.height, r.x, r.y, r.width, r.height); y 723 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::process: found a object with SIZE %d x %d, rect={%d, %d, %d x %d}, status = %d", r.width, r.height, r.x, r.y, r.width, r.height, (int)status); y 779 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::updateTrackedObjects: prevRect[%d]={%d, %d, %d x %d}", i, prevRect.x, prevRect.y, prevRect.width, prevRect.height); y 792 modules/objdetect/src/detection_based_tracker.cpp j, detectedObjects[j].x, detectedObjects[j].y, detectedObjects[j].width, detectedObjects[j].height); y 797 modules/objdetect/src/detection_based_tracker.cpp r.x, r.y, r.width, r.height); y 863 modules/objdetect/src/detection_based_tracker.cpp r.x, r.y, r.width, r.height); y 873 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::addObject: new object {%d, %d %dx%d}",location.x, location.y, location.width, location.height); y 964 modules/objdetect/src/detection_based_tracker.cpp Rect res(cvRound(tl.x), cvRound(tl.y), cvRound(w), cvRound(h)); y 965 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::calcTrackedObjectPositionToShow: Result for i=%d: {%d, %d, %d x %d}", i, res.x, res.y, res.width, res.height); y 243 modules/objdetect/src/haar.cpp if( r.width < 0 || r.height < 0 || r.y < 0 || y 247 modules/objdetect/src/haar.cpp (r.x < 0 || r.y + r.height > orig_window_size.height)) y 250 modules/objdetect/src/haar.cpp r.y + r.width + r.height > orig_window_size.height))) y 488 modules/objdetect/src/haar.cpp equRect.x = equRect.y = cvRound(scale); y 494 modules/objdetect/src/haar.cpp cascade->p0 = sum_elem_ptr(*sum, equRect.y, equRect.x); y 495 modules/objdetect/src/haar.cpp cascade->p1 = sum_elem_ptr(*sum, equRect.y, equRect.x + equRect.width ); y 496 modules/objdetect/src/haar.cpp cascade->p2 = sum_elem_ptr(*sum, equRect.y + equRect.height, equRect.x ); y 497 modules/objdetect/src/haar.cpp cascade->p3 = sum_elem_ptr(*sum, equRect.y + equRect.height, y 500 modules/objdetect/src/haar.cpp cascade->pq0 = sqsum_elem_ptr(*sqsum, equRect.y, equRect.x); y 501 modules/objdetect/src/haar.cpp cascade->pq1 = sqsum_elem_ptr(*sqsum, equRect.y, equRect.x + equRect.width ); y 502 modules/objdetect/src/haar.cpp cascade->pq2 = sqsum_elem_ptr(*sqsum, equRect.y + equRect.height, equRect.x ); y 503 modules/objdetect/src/haar.cpp cascade->pq3 = sqsum_elem_ptr(*sqsum, equRect.y + equRect.height, y 540 modules/objdetect/src/haar.cpp base_h = (int)CV_IMIN( (unsigned)base_h, (unsigned)(r[k].y - r[0].y-1) ); y 561 modules/objdetect/src/haar.cpp y0 = cvRound( r[0].y * scale ); y 582 modules/objdetect/src/haar.cpp tr.y = (r[k].y - r[0].y) * new_base_h / base_h + y0; y 587 modules/objdetect/src/haar.cpp tr.y = cvRound( r[k].y * scale ); y 610 modules/objdetect/src/haar.cpp hidfeature->rect[k].p0 = sum_elem_ptr(*sum, tr.y, tr.x); y 611 modules/objdetect/src/haar.cpp hidfeature->rect[k].p1 = sum_elem_ptr(*sum, tr.y, tr.x + tr.width); y 612 modules/objdetect/src/haar.cpp hidfeature->rect[k].p2 = sum_elem_ptr(*sum, tr.y + tr.height, tr.x); y 613 modules/objdetect/src/haar.cpp hidfeature->rect[k].p3 = sum_elem_ptr(*sum, tr.y + tr.height, tr.x + tr.width); y 617 modules/objdetect/src/haar.cpp hidfeature->rect[k].p2 = sum_elem_ptr(*tilted, tr.y + tr.width, tr.x + tr.width); y 618 modules/objdetect/src/haar.cpp hidfeature->rect[k].p3 = sum_elem_ptr(*tilted, tr.y + tr.width + tr.height, y 620 modules/objdetect/src/haar.cpp hidfeature->rect[k].p0 = sum_elem_ptr(*tilted, tr.y, tr.x); y 621 modules/objdetect/src/haar.cpp hidfeature->rect[k].p1 = sum_elem_ptr(*tilted, tr.y + tr.height, tr.x - tr.height); y 846 modules/objdetect/src/haar.cpp if( pt.x < 0 || pt.y < 0 || y 848 modules/objdetect/src/haar.cpp pt.y + _cascade->real_window_size.height >= cascade->sum.height ) y 851 modules/objdetect/src/haar.cpp p_offset = pt.y * (cascade->sum.step/sizeof(sumtype)) + pt.x; y 852 modules/objdetect/src/haar.cpp pq_offset = pt.y * (cascade->sqsum.step/sizeof(sqsumtype)) + pt.x; y 1315 modules/objdetect/src/haar.cpp int x, y, ystep = factor > 2 ? 1 : 2; y 1320 modules/objdetect/src/haar.cpp IppiRect iequRect = {equRect.x, equRect.y, equRect.width, equRect.height}; y 1331 modules/objdetect/src/haar.cpp for( y = y1; y < y2; y++ ) y 1333 modules/objdetect/src/haar.cpp uchar* mask1row = mask1->ptr(y); y 1336 modules/objdetect/src/haar.cpp if( y % ystep == 0 ) y 1357 modules/objdetect/src/haar.cpp for( y = y1; y < y2; y += ystep ) y 1359 modules/objdetect/src/haar.cpp uchar* mask1row = mask1->ptr(y); y 1364 modules/objdetect/src/haar.cpp vec->push_back(Rect(cvRound(x*factor), cvRound(y*factor), y 1376 modules/objdetect/src/haar.cpp for( y = y1; y < y2; y += ystep ) y 1380 modules/objdetect/src/haar.cpp int result = cvRunHaarClassifierCascadeSum( cascade, cvPoint(x,y), gypWeight, 0 ); y 1388 modules/objdetect/src/haar.cpp vec->push_back(Rect(cvRound(x*factor), cvRound(y*factor), y 1400 modules/objdetect/src/haar.cpp vec->push_back(Rect(cvRound(x*factor), cvRound(y*factor), y 1448 modules/objdetect/src/haar.cpp int ix, y = cvRound(iy*ystep), ixstep = 1; y 1455 modules/objdetect/src/haar.cpp int offset = y*sstep + x; y 1465 modules/objdetect/src/haar.cpp int result = cvRunHaarClassifierCascade( cascade, cvPoint(x, y), 0 ); y 1469 modules/objdetect/src/haar.cpp vec->push_back(Rect(x, y, winsize.width, winsize.height)); y 1690 modules/objdetect/src/haar.cpp equRect.y = cvRound(winSize.height*0.15); y 1694 modules/objdetect/src/haar.cpp p[0] = (int*)(sumcanny->data.ptr + equRect.y*sumcanny->step) + equRect.x; y 1695 modules/objdetect/src/haar.cpp p[1] = (int*)(sumcanny->data.ptr + equRect.y*sumcanny->step) y 1697 modules/objdetect/src/haar.cpp p[2] = (int*)(sumcanny->data.ptr + (equRect.y + equRect.height)*sumcanny->step) + equRect.x; y 1698 modules/objdetect/src/haar.cpp p[3] = (int*)(sumcanny->data.ptr + (equRect.y + equRect.height)*sumcanny->step) y 1701 modules/objdetect/src/haar.cpp pq[0] = (int*)(sum->data.ptr + equRect.y*sum->step) + equRect.x; y 1702 modules/objdetect/src/haar.cpp pq[1] = (int*)(sum->data.ptr + equRect.y*sum->step) y 1704 modules/objdetect/src/haar.cpp pq[2] = (int*)(sum->data.ptr + (equRect.y + equRect.height)*sum->step) + equRect.x; y 1705 modules/objdetect/src/haar.cpp pq[3] = (int*)(sum->data.ptr + (equRect.y + equRect.height)*sum->step) y 1712 modules/objdetect/src/haar.cpp startY = cvRound(scanROI.y / ystep); y 1713 modules/objdetect/src/haar.cpp endY = cvRound((scanROI.y + scanROI.height - winSize.height) / ystep); y 1748 modules/objdetect/src/haar.cpp scanROI.y = std::max(scanROI.y - dy, 0); y 1750 modules/objdetect/src/haar.cpp scanROI.height = std::min(scanROI.height + dy*2, img->rows-1-scanROI.y); y 1879 modules/objdetect/src/haar.cpp &r.x, &r.y, &r.width, &r.height, &band, y 2204 modules/objdetect/src/haar.cpp r.y = fn->data.i; y 2217 modules/objdetect/src/haar.cpp || r.y + fn->data.i > cascade->orig_window_size.height ) y 2448 modules/objdetect/src/haar.cpp cvWriteInt( fs, NULL, feature->rect[l].r.y ); y 239 modules/objdetect/src/hog.cpp int i, x, y; y 280 modules/objdetect/src/hog.cpp for( y = -1; y < gradsize.height + 1; y++ ) y 281 modules/objdetect/src/hog.cpp ymap[y] = borderInterpolate(y - paddingTL.height + roiofs.y, y 282 modules/objdetect/src/hog.cpp wholeSize.height, borderType) - roiofs.y; y 309 modules/objdetect/src/hog.cpp for( y = 0; y < gradsize.height; y++ ) y 311 modules/objdetect/src/hog.cpp const uchar* imgPtr = img.ptr(ymap[y]); y 314 modules/objdetect/src/hog.cpp const uchar* prevPtr = img.data + img.step*ymap[y-1]; y 315 modules/objdetect/src/hog.cpp const uchar* nextPtr = img.data + img.step*ymap[y+1]; y 317 modules/objdetect/src/hog.cpp float* gradPtr = grad.ptr<float>(y); y 318 modules/objdetect/src/hog.cpp uchar* qanglePtr = qangle.ptr(y); y 776 modules/objdetect/src/hog.cpp pt.y % cacheStride.height == 0 ); y 778 modules/objdetect/src/hog.cpp (pt.y/cacheStride.height) % blockCache.rows); y 779 modules/objdetect/src/hog.cpp if( pt.y != ymaxCached[cacheIdx.y] ) y 781 modules/objdetect/src/hog.cpp Mat_<uchar> cacheRow = blockCacheFlags.row(cacheIdx.y); y 783 modules/objdetect/src/hog.cpp ymaxCached[cacheIdx.y] = pt.y; y 786 modules/objdetect/src/hog.cpp blockHist = &blockCache[cacheIdx.y][cacheIdx.x*blockHistogramSize]; y 787 modules/objdetect/src/hog.cpp uchar& computedFlag = blockCacheFlags(cacheIdx.y, cacheIdx.x); y 794 modules/objdetect/src/hog.cpp const float* gradPtr = grad.ptr<float>(pt.y) + pt.x*2; y 795 modules/objdetect/src/hog.cpp const uchar* qanglePtr = qangle.ptr(pt.y) + pt.x*2; y 1065 modules/objdetect/src/hog.cpp int y = idx / nwindowsX; y 1066 modules/objdetect/src/hog.cpp int x = idx - nwindowsX*y; y 1067 modules/objdetect/src/hog.cpp return Rect( x*winStride.width, y*winStride.height, winSize.width, winSize.height ); y 1437 modules/objdetect/src/hog.cpp pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height ) y 1503 modules/objdetect/src/hog.cpp pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height ) y 1509 modules/objdetect/src/hog.cpp CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0); y 1607 modules/objdetect/src/hog.cpp cvRound(locations[j].y*scale), y 1782 modules/objdetect/src/hog.cpp int y = i / wins_per_img.width; y 1783 modules/objdetect/src/hog.cpp int x = i - wins_per_img.width * y; y 1786 modules/objdetect/src/hog.cpp hits.push_back(Point(x * win_stride.width, y * win_stride.height)); y 3311 modules/objdetect/src/hog.cpp cvRound(dets[j].y*scale), y 3369 modules/objdetect/src/hog.cpp pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height ) y 3548 modules/objdetect/src/hog.cpp rrects[cls].y += rectList[i].y; y 3561 modules/objdetect/src/hog.cpp cv::saturate_cast<double>(r.y*s), y 3590 modules/objdetect/src/hog.cpp r1.y >= r2.y - dy && y 3592 modules/objdetect/src/hog.cpp r1.y + r1.height <= r2.y + r2.height + dy && y 90 modules/objdetect/src/opencl/cascadedetect.cl int4 nofs0 = (int4)(mad24(normrect.y, sumstep, normrect.x), y 91 modules/objdetect/src/opencl/cascadedetect.cl mad24(normrect.y, sumstep, normrect.x + normrect.z), y 92 modules/objdetect/src/opencl/cascadedetect.cl mad24(normrect.y + normrect.w, sumstep, normrect.x), y 93 modules/objdetect/src/opencl/cascadedetect.cl mad24(normrect.y + normrect.w, sumstep, normrect.x + normrect.z)); y 99 modules/objdetect/src/opencl/cascadedetect.cl int4 nofs = (int4)(mad24(normrect.y, SUM_BUF_STEP, normrect.x), y 100 modules/objdetect/src/opencl/cascadedetect.cl mad24(normrect.y, SUM_BUF_STEP, normrect.x + normrect.z), y 101 modules/objdetect/src/opencl/cascadedetect.cl mad24(normrect.y + normrect.w, SUM_BUF_STEP, normrect.x), y 102 modules/objdetect/src/opencl/cascadedetect.cl mad24(normrect.y + normrect.w, SUM_BUF_STEP, normrect.x + normrect.z)); y 122 modules/objdetect/src/opencl/cascadedetect.cl int2 worksize = (int2)(max(s->szi_width - windowsize.x, 0), max(s->szi_height - windowsize.y, 0)); y 124 modules/objdetect/src/opencl/cascadedetect.cl (worksize.y + LOCAL_SIZE_Y-1)/LOCAL_SIZE_Y); y 125 modules/objdetect/src/opencl/cascadedetect.cl int totalTiles = ntiles.x*ntiles.y; y 135 modules/objdetect/src/opencl/cascadedetect.cl if( ix0 >= worksize.x || iy0 >= worksize.y ) y 149 modules/objdetect/src/opencl/cascadedetect.cl if( ix0 + ix < worksize.x && iy0 + iy < worksize.y ) y 164 modules/objdetect/src/opencl/cascadedetect.cl float sval = (psum[nofs.x] - psum[nofs.y] - psum[nofs.z] + psum[nofs.w])*invarea; y 165 modules/objdetect/src/opencl/cascadedetect.cl float sqval = (psqsum[nofs0.x] - psqsum[nofs0.y] - psqsum[nofs0.z] + psqsum[nofs0.w])*invarea; y 181 modules/objdetect/src/opencl/cascadedetect.cl sval = (psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w])*weight.x; y 183 modules/objdetect/src/opencl/cascadedetect.cl sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.y, sval); y 187 modules/objdetect/src/opencl/cascadedetect.cl sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.z, sval); y 190 modules/objdetect/src/opencl/cascadedetect.cl s += (sval < st.y*nf) ? st.z : st.w; y 205 modules/objdetect/src/opencl/cascadedetect.cl sval = (psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w])*weight.x; y 207 modules/objdetect/src/opencl/cascadedetect.cl sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.y, sval); y 211 modules/objdetect/src/opencl/cascadedetect.cl sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.z, sval); y 214 modules/objdetect/src/opencl/cascadedetect.cl idx = (sval < as_float(n.y)*nf) ? n.z : n.w; y 282 modules/objdetect/src/opencl/cascadedetect.cl float sval = (psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w])*weight.x; y 284 modules/objdetect/src/opencl/cascadedetect.cl sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.y, sval); y 289 modules/objdetect/src/opencl/cascadedetect.cl sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.z, sval); y 292 modules/objdetect/src/opencl/cascadedetect.cl partsum += (sval < st.y*nf) ? st.z : st.w; y 305 modules/objdetect/src/opencl/cascadedetect.cl float sval = (psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w])*weight.x; y 307 modules/objdetect/src/opencl/cascadedetect.cl sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.y, sval); y 311 modules/objdetect/src/opencl/cascadedetect.cl sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.z, sval); y 314 modules/objdetect/src/opencl/cascadedetect.cl idx = (sval < as_float(n.y)*nf) ? n.z : n.w; y 393 modules/objdetect/src/opencl/cascadedetect.cl int2 worksize = (int2)(max(s->szi_width - windowsize.x, 0), max(s->szi_height - windowsize.y, 0)); y 395 modules/objdetect/src/opencl/cascadedetect.cl (worksize.y/ystep + local_size_y-1)/local_size_y); y 396 modules/objdetect/src/opencl/cascadedetect.cl int totalTiles = ntiles.x*ntiles.y; y 403 modules/objdetect/src/opencl/cascadedetect.cl if( ix < worksize.x && iy < worksize.y ) y 491 modules/objdetect/src/opencl/cascadedetect.cl int2 worksize = (int2)(max(s->szi_width - windowsize.x, 0), max(s->szi_height - windowsize.y, 0)); y 493 modules/objdetect/src/opencl/cascadedetect.cl (worksize.y + LOCAL_SIZE_Y-1)/LOCAL_SIZE_Y); y 494 modules/objdetect/src/opencl/cascadedetect.cl int totalTiles = ntiles.x*ntiles.y; y 503 modules/objdetect/src/opencl/cascadedetect.cl if( ix0 >= worksize.x || iy0 >= worksize.y ) y 518 modules/objdetect/src/opencl/cascadedetect.cl if( ix0 + ix < worksize.x && iy0 + iy < worksize.y ) y 125 modules/objdetect/src/opencl/objdetect_hog.cl hist[bin.y * 48] += gaussian * interp_weight * vote.y; y 554 modules/objdetect/src/opencl/objdetect_hog.cl int y = block_idx / cnblocks_win_x; y 555 modules/objdetect/src/opencl/objdetect_hog.cl int x = block_idx - y * cnblocks_win_x; y 557 modules/objdetect/src/opencl/objdetect_hog.cl descriptor[(x * cnblocks_win_y + y) * cblock_hist_size + idx_in_block] = y 558 modules/objdetect/src/opencl/objdetect_hog.cl hist[(y * img_block_width + x) * cblock_hist_size + idx_in_block]; y 587 modules/objdetect/src/opencl/objdetect_hog.cl sh_row[tid + 1 + (NTHREADS + 2)] = val.y; y 594 modules/objdetect/src/opencl/objdetect_hog.cl sh_row[(NTHREADS + 2)] = val.y; y 602 modules/objdetect/src/opencl/objdetect_hog.cl sh_row[gSizeX + 1 + (NTHREADS + 2)] = val.y; y 638 modules/objdetect/src/opencl/objdetect_hog.cl if (mag0 < mag.y) y 640 modules/objdetect/src/opencl/objdetect_hog.cl best_dx = dx.y; y 641 modules/objdetect/src/opencl/objdetect_hog.cl best_dy = dy.y; y 642 modules/objdetect/src/opencl/objdetect_hog.cl mag0 = mag.y; y 288 modules/objdetect/test/test_cascadeandhog.cpp validationFS << it->x << it->y << it->width << it->height; y 326 modules/objdetect/test/test_cascadeandhog.cpp it2 >> r.x >> r.y >> r.width >> r.height; y 338 modules/objdetect/test/test_cascadeandhog.cpp Point2f cp1 = Point2f( cr->x + (float)cr->width/2.0f, cr->y + (float)cr->height/2.0f ); y 344 modules/objdetect/test/test_cascadeandhog.cpp Point2f cp2 = Point2f( vr->x + (float)vr->width/2.0f, vr->y + (float)vr->height/2.0f ); y 832 modules/objdetect/test/test_cascadeandhog.cpp (unsigned)pt.y <= (unsigned)(grad.rows - blockSize.height) ); y 837 modules/objdetect/test/test_cascadeandhog.cpp pt.y % cacheStride.height == 0 ); y 839 modules/objdetect/test/test_cascadeandhog.cpp (pt.y/cacheStride.height) % blockCache.rows); y 840 modules/objdetect/test/test_cascadeandhog.cpp if( pt.y != ymaxCached[cacheIdx.y] ) y 842 modules/objdetect/test/test_cascadeandhog.cpp Mat_<uchar> cacheRow = blockCacheFlags.row(cacheIdx.y); y 844 modules/objdetect/test/test_cascadeandhog.cpp ymaxCached[cacheIdx.y] = pt.y; y 847 modules/objdetect/test/test_cascadeandhog.cpp blockHist = &blockCache[cacheIdx.y][cacheIdx.x*blockHistogramSize]; y 848 modules/objdetect/test/test_cascadeandhog.cpp uchar& computedFlag = blockCacheFlags(cacheIdx.y, cacheIdx.x); y 855 modules/objdetect/test/test_cascadeandhog.cpp const float* gradPtr = grad.ptr<float>(pt.y) + pt.x*2; y 856 modules/objdetect/test/test_cascadeandhog.cpp const uchar* qanglePtr = qangle.ptr(pt.y) + pt.x*2; y 990 modules/objdetect/test/test_cascadeandhog.cpp int y = idx / nwindowsX; y 991 modules/objdetect/test/test_cascadeandhog.cpp int x = idx - nwindowsX*y; y 992 modules/objdetect/test/test_cascadeandhog.cpp return Rect( x*winStride.width, y*winStride.height, winSize.width, winSize.height ); y 1043 modules/objdetect/test/test_cascadeandhog.cpp pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height ) y 1049 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0); y 1145 modules/objdetect/test/test_cascadeandhog.cpp pt0.y < -padding.height || pt0.y > img.rows + padding.height - winSize.height ) y 1151 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0); y 1198 modules/objdetect/test/test_cascadeandhog.cpp int i, x, y; y 1220 modules/objdetect/test/test_cascadeandhog.cpp for( y = -1; y < gradsize.height + 1; y++ ) y 1221 modules/objdetect/test/test_cascadeandhog.cpp ymap[y] = borderInterpolate(y - paddingTL.height + roiofs.y, y 1222 modules/objdetect/test/test_cascadeandhog.cpp wholeSize.height, borderType) - roiofs.y; y 1235 modules/objdetect/test/test_cascadeandhog.cpp for( y = 0; y < gradsize.height; y++ ) y 1237 modules/objdetect/test/test_cascadeandhog.cpp const uchar* imgPtr = img.ptr(ymap[y]); y 1238 modules/objdetect/test/test_cascadeandhog.cpp const uchar* prevPtr = img.ptr(ymap[y-1]); y 1239 modules/objdetect/test/test_cascadeandhog.cpp const uchar* nextPtr = img.ptr(ymap[y+1]); y 1240 modules/objdetect/test/test_cascadeandhog.cpp float* gradPtr = (float*)grad.ptr(y); y 1241 modules/objdetect/test/test_cascadeandhog.cpp uchar* qanglePtr = (uchar*)qangle.ptr(y); y 98 modules/photo/src/align.cpp if(shifts[i].y > max.y) { y 99 modules/photo/src/align.cpp max.y = shifts[i].y; y 104 modules/photo/src/align.cpp if(shifts[i].y < min.y) { y 105 modules/photo/src/align.cpp min.y = shifts[i].y; y 169 modules/photo/src/align.cpp int height = src.rows - abs(shift.y); y 170 modules/photo/src/align.cpp Rect dst_rect(max(shift.x, 0), max(shift.y, 0), width, height); y 171 modules/photo/src/align.cpp Rect src_rect(max(-shift.x, 0), max(-shift.y, 0), width, height); y 226 modules/photo/src/align.cpp for(int y = 0; y < dst.rows; y ++) { y 92 modules/photo/src/calibrate.cpp for(int j = 0, y = step_y / 2; j < y_points; j++, y += step_y) { y 94 modules/photo/src/calibrate.cpp 0 <= y && y < images[0].rows ) y 95 modules/photo/src/calibrate.cpp sample_points.push_back(Point(x, y)); y 109 modules/photo/src/calibrate.cpp int val = images[j].ptr()[3*(sample_points[i].y * images[j].cols + sample_points[i].x) + channel]; y 83 modules/photo/src/denoise_tvl1.cpp int i, x, y, rows=observations[0].rows, cols=observations[0].cols,count; y 101 modules/photo/src/denoise_tvl1.cpp for( y = 0; y < rows; y++ ) y 103 modules/photo/src/denoise_tvl1.cpp const double* x_curr = X.ptr<double>(y); y 104 modules/photo/src/denoise_tvl1.cpp const double* x_next = X.ptr<double>(std::min(y+1, rows-1)); y 105 modules/photo/src/denoise_tvl1.cpp Point2d* p_curr = P.ptr<Point2d>(y); y 110 modules/photo/src/denoise_tvl1.cpp dy = (x_next[x] - x_curr[x])*currsigma + p_curr[x].y; y 113 modules/photo/src/denoise_tvl1.cpp p_curr[x].y = dy*m; y 115 modules/photo/src/denoise_tvl1.cpp dy = (x_next[x] - x_curr[x])*currsigma + p_curr[x].y; y 118 modules/photo/src/denoise_tvl1.cpp p_curr[x].y = dy*m; y 132 modules/photo/src/denoise_tvl1.cpp for( y = 0; y < rows; y++ ) y 134 modules/photo/src/denoise_tvl1.cpp double* x_curr = X.ptr<double>(y); y 135 modules/photo/src/denoise_tvl1.cpp const Point2d* p_curr = P.ptr<Point2d>(y); y 136 modules/photo/src/denoise_tvl1.cpp const Point2d* p_prev = P.ptr<Point2d>(std::max(y - 1, 0)); y 142 modules/photo/src/denoise_tvl1.cpp s=s+Rs[count](y,x); y 144 modules/photo/src/denoise_tvl1.cpp double x_new = x_curr[x] + tau*(p_curr[x].y - p_prev[x].y)-tau*s; y 153 modules/photo/src/denoise_tvl1.cpp s+=Rs[count](y,x); y 156 modules/photo/src/denoise_tvl1.cpp x_new = x_curr[x] + tau*(p_curr[x].x - p_curr[x-1].x + p_curr[x].y - p_prev[x].y)-tau*s; y 199 modules/photo/src/fast_nlmeans_denoising_invoker.hpp for (int y = 0; y < search_window_size; y++) y 201 modules/photo/src/fast_nlmeans_denoising_invoker.hpp int * dist_sums_row = dist_sums.row_ptr(y); y 202 modules/photo/src/fast_nlmeans_denoising_invoker.hpp int * col_dist_sums_row = col_dist_sums.row_ptr(first_col_num, y); y 203 modules/photo/src/fast_nlmeans_denoising_invoker.hpp int * up_col_dist_sums_row = up_col_dist_sums.row_ptr(j, y); y 205 modules/photo/src/fast_nlmeans_denoising_invoker.hpp const T * b_up_ptr = extended_src_.ptr<T>(start_by - template_window_half_size_ - 1 + y); y 206 modules/photo/src/fast_nlmeans_denoising_invoker.hpp const T * b_down_ptr = extended_src_.ptr<T>(start_by + template_window_half_size_ + y); y 232 modules/photo/src/fast_nlmeans_denoising_invoker.hpp for (int y = 0; y < search_window_size_; y++) y 234 modules/photo/src/fast_nlmeans_denoising_invoker.hpp const T* cur_row_ptr = extended_src_.ptr<T>(border_size_ + search_window_y + y); y 235 modules/photo/src/fast_nlmeans_denoising_invoker.hpp int* dist_sums_row = dist_sums.row_ptr(y); y 261 modules/photo/src/fast_nlmeans_denoising_invoker.hpp for (int y = 0; y < search_window_size_; y++) y 264 modules/photo/src/fast_nlmeans_denoising_invoker.hpp dist_sums[y][x] = 0; y 266 modules/photo/src/fast_nlmeans_denoising_invoker.hpp col_dist_sums[tx][y][x] = 0; y 268 modules/photo/src/fast_nlmeans_denoising_invoker.hpp int start_y = i + y - search_window_half_size_; y 278 modules/photo/src/fast_nlmeans_denoising_invoker.hpp dist_sums[y][x] += dist; y 279 modules/photo/src/fast_nlmeans_denoising_invoker.hpp col_dist_sums[tx + template_window_half_size_][y][x] += dist; y 282 modules/photo/src/fast_nlmeans_denoising_invoker.hpp up_col_dist_sums[j][y][x] = col_dist_sums[template_window_size_ - 1][y][x]; y 301 modules/photo/src/fast_nlmeans_denoising_invoker.hpp for (int y = 0; y < search_window_size_; y++) y 304 modules/photo/src/fast_nlmeans_denoising_invoker.hpp dist_sums[y][x] -= col_dist_sums[first_col_num][y][x]; y 306 modules/photo/src/fast_nlmeans_denoising_invoker.hpp col_dist_sums[new_last_col_num][y][x] = 0; y 307 modules/photo/src/fast_nlmeans_denoising_invoker.hpp int by = start_by + y; y 310 modules/photo/src/fast_nlmeans_denoising_invoker.hpp col_dist_sums[new_last_col_num][y][x] += D::template calcDist<T>(extended_src_, ay + ty, ax, by + ty, bx); y 312 modules/photo/src/fast_nlmeans_denoising_invoker.hpp dist_sums[y][x] += col_dist_sums[new_last_col_num][y][x]; y 313 modules/photo/src/fast_nlmeans_denoising_invoker.hpp up_col_dist_sums[j][y][x] = col_dist_sums[new_last_col_num][y][x]; y 218 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp for (int y = 0; y < search_window_size; y++) y 220 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp int* dist_sums_row = cur_dist_sums.row_ptr(y); y 222 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp int* col_dist_sums_row = cur_col_dist_sums.row_ptr(y); y 223 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp int* up_col_dist_sums_row = cur_up_col_dist_sums.row_ptr(y); y 225 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp const T* b_up_ptr = cur_extended_src.ptr<T>(start_by - template_window_half_size_ - 1 + y); y 226 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp const T* b_down_ptr = cur_extended_src.ptr<T>(start_by + template_window_half_size_ + y); y 255 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp for (int y = 0; y < search_window_size_; y++) y 257 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp const T* cur_row_ptr = esrc_d.ptr<T>(border_size_ + search_window_y + y); y 259 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp int* dist_sums_row = dist_sums.row_ptr(d, y); y 288 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp for (int y = 0; y < search_window_size_; y++) y 291 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp dist_sums[d][y][x] = 0; y 293 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp col_dist_sums[tx][d][y][x] = 0; y 295 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp int start_y = i + y - search_window_half_size_; y 298 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp int* dist_sums_ptr = &dist_sums[d][y][x]; y 299 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp int* col_dist_sums_ptr = &col_dist_sums[0][d][y][x]; y 315 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp up_col_dist_sums[j][d][y][x] = col_dist_sums[template_window_size_ - 1][d][y][x]; y 336 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp for (int y = 0; y < search_window_size_; y++) y 339 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp dist_sums[d][y][x] -= col_dist_sums[first_col_num][d][y][x]; y 341 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp col_dist_sums[new_last_col_num][d][y][x] = 0; y 342 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp int by = start_by + y; y 345 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp int* col_dist_sums_ptr = &col_dist_sums[new_last_col_num][d][y][x]; y 353 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp dist_sums[d][y][x] += col_dist_sums[new_last_col_num][d][y][x]; y 355 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp up_col_dist_sums[j][d][y][x] = col_dist_sums[new_last_col_num][d][y][x]; y 64 modules/photo/src/inpaint.cpp #define CV_MAT_3COLOR_ELEM(img,type,y,x,c) CV_MAT_ELEM(img,type,y,(x)*3+(c)) y 201 modules/photo/src/inpaint.cpp return v1.x*v2.x+v1.y*v2.y; y 205 modules/photo/src/inpaint.cpp return v1.x*v1.x+v1.y*v1.y; y 324 modules/photo/src/inpaint.cpp gradT.y=(float)((CV_MAT_ELEM(*t,float,i+1,j)-CV_MAT_ELEM(*t,float,i-1,j)))*0.5f; y 326 modules/photo/src/inpaint.cpp gradT.y=(float)((CV_MAT_ELEM(*t,float,i+1,j)-CV_MAT_ELEM(*t,float,i,j))); y 330 modules/photo/src/inpaint.cpp gradT.y=(float)((CV_MAT_ELEM(*t,float,i,j)-CV_MAT_ELEM(*t,float,i-1,j))); y 332 modules/photo/src/inpaint.cpp gradT.y=0; y 342 modules/photo/src/inpaint.cpp r.y = (float)(i-k); y 367 modules/photo/src/inpaint.cpp gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color)))*2.0f; y 369 modules/photo/src/inpaint.cpp gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))); y 373 modules/photo/src/inpaint.cpp gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color))); y 375 modules/photo/src/inpaint.cpp gradI.y=0; y 380 modules/photo/src/inpaint.cpp Jy -= (float)w * (float)(gradI.y*r.y); y 436 modules/photo/src/inpaint.cpp gradT.y=(float)((CV_MAT_ELEM(*t,float,i+1,j)-CV_MAT_ELEM(*t,float,i-1,j)))*0.5f; y 438 modules/photo/src/inpaint.cpp gradT.y=(float)((CV_MAT_ELEM(*t,float,i+1,j)-CV_MAT_ELEM(*t,float,i,j))); y 442 modules/photo/src/inpaint.cpp gradT.y=(float)((CV_MAT_ELEM(*t,float,i,j)-CV_MAT_ELEM(*t,float,i-1,j))); y 444 modules/photo/src/inpaint.cpp gradT.y=0; y 454 modules/photo/src/inpaint.cpp r.y = (float)(i-k); y 479 modules/photo/src/inpaint.cpp gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm)))*2.0f; y 481 modules/photo/src/inpaint.cpp gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km,lm))); y 485 modules/photo/src/inpaint.cpp gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm))); y 487 modules/photo/src/inpaint.cpp gradI.y=0; y 492 modules/photo/src/inpaint.cpp Jy -= (float)w * (float)(gradI.y*r.y); y 548 modules/photo/src/inpaint.cpp r.y=(float)(k-i); y 569 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))+ y 572 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)))*2.0f; y 576 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color)))*2.0f; y 578 modules/photo/src/inpaint.cpp gradI.y=0; y 636 modules/photo/src/inpaint.cpp r.y=(float)(i-k); y 657 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm))+ y 660 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm)))*2.0f; y 664 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lm)-CV_MAT_ELEM(*out,uchar,km,lm-1)))*2.0f; y 666 modules/photo/src/inpaint.cpp gradI.y=0; y 61 modules/photo/src/opencl/nlmeans.cl return retval.x + retval.y; y 63 modules/photo/src/opencl/nlmeans.cl return retval.x + retval.y + retval.z; y 65 modules/photo/src/opencl/nlmeans.cl return retval.x + retval.y + retval.z + retval.w; y 86 modules/photo/src/opencl/nlmeans.cl return retval.x + retval.y; y 88 modules/photo/src/opencl/nlmeans.cl return retval.x + retval.y + retval.z; y 90 modules/photo/src/opencl/nlmeans.cl return retval.x + retval.y + retval.z + retval.w; y 97 modules/photo/src/opencl/nlmeans.cl #define COND if (x == 0 && y == 0) y 100 modules/photo/src/opencl/nlmeans.cl __local int * dists, int y, int x, int id, y 103 modules/photo/src/opencl/nlmeans.cl y -= TEMPLATE_SIZE2; y 104 modules/photo/src/opencl/nlmeans.cl int sx = x - SEARCH_SIZE2, sy = y - SEARCH_SIZE2; y 113 modules/photo/src/opencl/nlmeans.cl __global const pixel_t * src_current = (__global const pixel_t *)(src + mad24(y, src_step, mad24(psz, x, src_offset))); y 145 modules/photo/src/opencl/nlmeans.cl __local int * dists, int y, int x0, int x, int id, int first, y 149 modules/photo/src/opencl/nlmeans.cl y -= TEMPLATE_SIZE2; y 150 modules/photo/src/opencl/nlmeans.cl int sx = x - SEARCH_SIZE2, sy = y - SEARCH_SIZE2; y 154 modules/photo/src/opencl/nlmeans.cl __global const pixel_t * src_current = (__global const pixel_t *)(src + mad24(y, src_step, mad24(psz, x, src_offset))); y 177 modules/photo/src/opencl/nlmeans.cl __local int * dists, int y, int x0, int x, int id, int first, y 181 modules/photo/src/opencl/nlmeans.cl int sy_up = y - TEMPLATE_SIZE2 - 1; y 182 modules/photo/src/opencl/nlmeans.cl int sy_down = y + TEMPLATE_SIZE2; y 212 modules/photo/src/opencl/nlmeans.cl int y, int x, int id, __local weight_t * weights_local, y 215 modules/photo/src/opencl/nlmeans.cl int sx = x - SEARCH_SIZE2, sy = y - SEARCH_SIZE2; y 248 modules/photo/src/opencl/nlmeans.cl int dst_index = mad24(y, dst_step, mad24(psz, x, dst_offset)); y 279 modules/photo/src/opencl/nlmeans.cl for (int y = y0; y < y1; ++y) y 284 modules/photo/src/opencl/nlmeans.cl calcFirstElementInRow(src, src_step, src_offset, dists, y, x, id, col_dists, up_col_dists); y 289 modules/photo/src/opencl/nlmeans.cl if (y == y0) y 290 modules/photo/src/opencl/nlmeans.cl calcElementInFirstRow(src, src_step, src_offset, dists, y, x - x0, x, id, first, col_dists, up_col_dists); y 292 modules/photo/src/opencl/nlmeans.cl calcElement(src, src_step, src_offset, dists, y, x - x0, x, id, first, col_dists, up_col_dists); y 298 modules/photo/src/opencl/nlmeans.cl y, x, id, weights, weighted_sum, almostTemplateWindowSizeSqBinShift); y 91 modules/photo/src/seamless_cloning.cpp int minxd = p.y - lenx/2; y 92 modules/photo/src/seamless_cloning.cpp int maxxd = p.y + lenx/2; y 80 modules/photo/test/test_cloning.cpp p.y = destination.size().height/2; y 111 modules/photo/test/test_cloning.cpp p.y = destination.size().height/2; y 143 modules/photo/test/test_cloning.cpp p.y = destination.size().height/2; y 62 modules/photo/test/test_denoise_tvl1.cpp int x=rng(img.cols-r),y=rng(img.rows-r); y 64 modules/photo/test/test_denoise_tvl1.cpp img(cv::Range(y,y+r),cv::Range(x,x+r))=(uchar)0; y 66 modules/photo/test/test_denoise_tvl1.cpp img(cv::Range(y,y+r),cv::Range(x,x+r))=(uchar)255; y 70 modules/photo/test/test_denoise_tvl1.cpp bool validate_pixel(const cv::Mat& image,int x,int y,uchar val) y 72 modules/photo/test/test_denoise_tvl1.cpp bool ok = std::abs(image.at<uchar>(x,y) - val) < 10; y 73 modules/photo/test/test_denoise_tvl1.cpp printf("test: image(%d,%d)=%d vs %d - %s\n",x,y,(int)image.at<uchar>(x,y),val,ok?"ok":"bad"); y 627 modules/python/src2/cv2.cpp return PyArg_ParseTuple(obj, "iiii", &r.x, &r.y, &r.width, &r.height) > 0; y 633 modules/python/src2/cv2.cpp return Py_BuildValue("(iiii)", r.x, r.y, r.width, r.height); y 666 modules/python/src2/cv2.cpp p.y = saturate_cast<int>(c.imag); y 669 modules/python/src2/cv2.cpp return PyArg_ParseTuple(obj, "ii", &p.x, &p.y) > 0; y 682 modules/python/src2/cv2.cpp p.y = saturate_cast<float>(c.imag); y 685 modules/python/src2/cv2.cpp return PyArg_ParseTuple(obj, "ff", &p.x, &p.y) > 0; y 698 modules/python/src2/cv2.cpp p.y = saturate_cast<double>(c.imag); y 701 modules/python/src2/cv2.cpp return PyArg_ParseTuple(obj, "dd", &p.x, &p.y) > 0; y 708 modules/python/src2/cv2.cpp return Py_BuildValue("(ii)", p.x, p.y); y 714 modules/python/src2/cv2.cpp return Py_BuildValue("(dd)", p.x, p.y); y 741 modules/python/src2/cv2.cpp return Py_BuildValue("(dd)", p.x, p.y); y 995 modules/python/src2/cv2.cpp return PyArg_ParseTuple(obj, "(ff)(ff)f", &dst.center.x, &dst.center.y, &dst.size.width, &dst.size.height, &dst.angle) > 0; y 1001 modules/python/src2/cv2.cpp return Py_BuildValue("((ff)(ff)f)", src.center.x, src.center.y, src.size.width, src.size.height, src.angle); y 1120 modules/python/src2/cv2.cpp static void OnMouse(int event, int x, int y, int flags, void* param) y 1126 modules/python/src2/cv2.cpp PyObject *args = Py_BuildValue("iiiiO", event, x, y, flags, PyTuple_GetItem(o, 1)); y 126 modules/shape/src/aff_trans.cpp therow.at<float>(0,1)=shape1[contPt].y; y 134 modules/shape/src/aff_trans.cpp therow.at<float>(0,4)=shape1[contPt].y; y 137 modules/shape/src/aff_trans.cpp matP.at<float>(ii,0) = shape2[contPt].y; y 156 modules/shape/src/aff_trans.cpp therow.at<float>(0,1)=shape1[contPt].y; y 163 modules/shape/src/aff_trans.cpp therow.at<float>(0,0)=-shape1[contPt].y; y 167 modules/shape/src/aff_trans.cpp matP.at<float>(ii,0) = shape2[contPt].y; y 293 modules/shape/src/sc_dis.cpp float val = float(std::exp( -float( (p.x-jj)*(p.x-jj) + (p.y-ii)*(p.y-ii) )/(2*sigma*sigma) ) / (sigma*sigma*2*CV_PI)); y 450 modules/shape/src/sc_dis.cpp massCenter.y=massCenter.y/(float)contourMat.cols; y 465 modules/shape/src/sc_dis.cpp angleMatrix.at<float>(i,j) = std::atan2(dif.y, dif.x); y 470 modules/shape/src/sc_dis.cpp float refAngle = atan2(refPt.y, refPt.x); y 108 modules/shape/src/tps_trans.cpp float norma = diff.x*diff.x + diff.y*diff.y;// - 2*diff.x*diff.y; y 124 modules/shape/src/tps_trans.cpp float affine=a1+ax*point.x+ay*point.y; y 138 modules/shape/src/tps_trans.cpp out.y=affine+nonrigid; y 160 modules/shape/src/tps_trans.cpp mapY.at<float>(row, col) = pt.y; y 219 modules/shape/src/tps_trans.cpp shape1.at<float>(i,1) = pt1.y; y 223 modules/shape/src/tps_trans.cpp shape2.at<float>(i,1) = pt2.y; y 95 modules/shape/test/test_shape.cpp (T)_contoursQuery[border][p].y)); y 170 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp int dist2 = (p1.x-p2.x) * (p1.x-p2.x) + (p1.y-p2.y) * (p1.y-p2.y); y 192 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp bool closeToContour(int y, int x, const Mat_<uchar> &contourMask); y 104 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp return a.x * a.x + a.y * a.y + a.z * a.z; y 174 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 175 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 210 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 211 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 238 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 239 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 266 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 267 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 280 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 281 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 296 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 297 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 317 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 318 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 338 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 339 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 359 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 360 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 379 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 380 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 393 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 394 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 525 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 526 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 543 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 544 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 562 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapForward(float x, float y, float &u, float &v); y 563 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void mapBackward(float u, float v, float &x, float &y); y 60 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.mapForward(pt.x, pt.y, uv.x, uv.y); y 73 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp _xmap.create(dst_br.y - dst_tl.y + 1, dst_br.x - dst_tl.x + 1, CV_32F); y 74 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp _ymap.create(dst_br.y - dst_tl.y + 1, dst_br.x - dst_tl.x + 1, CV_32F); y 78 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x, y; y 79 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp for (int v = dst_tl.y; v <= dst_br.y; ++v) y 83 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.mapBackward(static_cast<float>(u), static_cast<float>(v), x, y); y 84 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp xmap.at<float>(v - dst_tl.y, u - dst_tl.x) = x; y 85 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp ymap.at<float>(v - dst_tl.y, u - dst_tl.x) = y; y 117 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp CV_Assert(src_br.x - src_tl.x + 1 == size.width && src_br.y - src_tl.y + 1 == size.height); y 123 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp for (int y = 0; y < dst_size.height; ++y) y 127 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.mapForward(static_cast<float>(x), static_cast<float>(y), u, v); y 128 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp xmap.at<float>(y, x) = u - src_tl.x; y 129 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp ymap.at<float>(y, x) = v - src_tl.y; y 146 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp return Rect(dst_tl, Point(dst_br.x + 1, dst_br.y + 1)); y 159 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp for (int y = 0; y < src_size.height; ++y) y 163 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.mapForward(static_cast<float>(x), static_cast<float>(y), u, v); y 170 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp dst_tl.y = static_cast<int>(tl_vf); y 172 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp dst_br.y = static_cast<int>(br_vf); y 195 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp for (int y = 0; y < src_size.height; ++y) y 197 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.mapForward(0, static_cast<float>(y), u, v); y 201 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.mapForward(static_cast<float>(src_size.width - 1), static_cast<float>(y), u, v); y 207 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp dst_tl.y = static_cast<int>(tl_vf); y 209 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp dst_br.y = static_cast<int>(br_vf); y 214 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void PlaneProjector::mapForward(float x, float y, float &u, float &v) y 216 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 217 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 218 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 229 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void PlaneProjector::mapBackward(float u, float v, float &x, float &y) y 236 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * u + k_rinv[4] * v + k_rinv[5] * (1 - t[2]); y 240 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y /= z; y 245 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void SphericalProjector::mapForward(float x, float y, float &u, float &v) y 247 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 248 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 249 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 258 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void SphericalProjector::mapBackward(float u, float v, float &x, float &y) y 270 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 273 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 274 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 279 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void CylindricalProjector::mapForward(float x, float y, float &u, float &v) y 281 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 282 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 283 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 291 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void CylindricalProjector::mapBackward(float u, float v, float &x, float &y) y 302 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 305 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 306 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 310 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void FisheyeProjector::mapForward(float x, float y, float &u, float &v) y 312 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 313 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 314 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 324 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void FisheyeProjector::mapBackward(float u, float v, float &x, float &y) y 339 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 342 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 343 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 347 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void StereographicProjector::mapForward(float x, float y, float &u, float &v) y 349 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 350 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 351 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 363 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void StereographicProjector::mapBackward(float u, float v, float &x, float &y) y 379 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 382 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 383 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 387 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void CompressedRectilinearProjector::mapForward(float x, float y, float &u, float &v) y 389 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 390 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 391 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 401 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void CompressedRectilinearProjector::mapBackward(float u, float v, float &x, float &y) y 417 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 420 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 421 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 425 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void CompressedRectilinearPortraitProjector::mapForward(float x, float y, float &u, float &v) y 427 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 428 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 429 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 439 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void CompressedRectilinearPortraitProjector::mapBackward(float u, float v, float &x, float &y) y 455 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 458 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 459 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 463 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void PaniniProjector::mapForward(float x, float y, float &u, float &v) y 465 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 466 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 467 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 483 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void PaniniProjector::mapBackward(float u, float v, float &x, float &y) y 504 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 507 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 508 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 512 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void PaniniPortraitProjector::mapForward(float x, float y, float &u, float &v) y 514 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 515 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 516 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 532 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void PaniniPortraitProjector::mapBackward(float u, float v, float &x, float &y) y 553 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 556 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 557 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 561 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void MercatorProjector::mapForward(float x, float y, float &u, float &v) y 563 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 564 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 565 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 575 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void MercatorProjector::mapBackward(float u, float v, float &x, float &y) y 590 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 593 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 594 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 598 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void TransverseMercatorProjector::mapForward(float x, float y, float &u, float &v) y 600 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 601 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 602 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 614 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void TransverseMercatorProjector::mapBackward(float u, float v, float &x, float &y) y 629 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 632 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 633 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 637 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void SphericalPortraitProjector::mapForward(float x, float y, float &u0, float &v0) y 639 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x0_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 640 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y0_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 641 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 656 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void SphericalPortraitProjector::mapBackward(float u0, float v0, float &x, float &y) y 675 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 678 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 679 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 683 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void CylindricalPortraitProjector::mapForward(float x, float y, float &u0, float &v0) y 685 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x0_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 686 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y0_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 687 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 702 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void CylindricalPortraitProjector::mapBackward(float u0, float v0, float &x, float &y) y 720 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * x_ + k_rinv[4] * y_ + k_rinv[5] * z_; y 723 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp if (z > 0) { x /= z; y /= z; } y 724 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp else x = y = -1; y 728 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void PlanePortraitProjector::mapForward(float x, float y, float &u0, float &v0) y 730 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float x0_ = r_kinv[0] * x + r_kinv[1] * y + r_kinv[2]; y 731 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float y0_ = r_kinv[3] * x + r_kinv[4] * y + r_kinv[5]; y 732 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float z_ = r_kinv[6] * x + r_kinv[7] * y + r_kinv[8]; y 750 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void PlanePortraitProjector::mapBackward(float u0, float v0, float &x, float &y) y 761 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y = k_rinv[3] * v + k_rinv[4] * u + k_rinv[5] * (1 - t[2]); y 765 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp y /= z; y 90 modules/stitching/src/blenders.cpp int dy = tl.y - dst_roi_.y; y 92 modules/stitching/src/blenders.cpp for (int y = 0; y < img.rows; ++y) y 94 modules/stitching/src/blenders.cpp const Point3_<short> *src_row = img.ptr<Point3_<short> >(y); y 95 modules/stitching/src/blenders.cpp Point3_<short> *dst_row = dst.ptr<Point3_<short> >(dy + y); y 96 modules/stitching/src/blenders.cpp const uchar *mask_row = mask.ptr<uchar>(y); y 97 modules/stitching/src/blenders.cpp uchar *dst_mask_row = dst_mask.ptr<uchar>(dy + y); y 142 modules/stitching/src/blenders.cpp int dy = tl.y - dst_roi_.y; y 144 modules/stitching/src/blenders.cpp for (int y = 0; y < img.rows; ++y) y 146 modules/stitching/src/blenders.cpp const Point3_<short>* src_row = img.ptr<Point3_<short> >(y); y 147 modules/stitching/src/blenders.cpp Point3_<short>* dst_row = dst.ptr<Point3_<short> >(dy + y); y 148 modules/stitching/src/blenders.cpp const float* weight_row = weight_map.ptr<float>(y); y 149 modules/stitching/src/blenders.cpp float* dst_weight_row = dst_weight_map.ptr<float>(dy + y); y 154 modules/stitching/src/blenders.cpp dst_row[dx + x].y += static_cast<short>(src_row[x].y * weight_row[x]); y 183 modules/stitching/src/blenders.cpp Rect roi(corners[i].x - dst_roi.x, corners[i].y - dst_roi.y, y 190 modules/stitching/src/blenders.cpp Rect roi(corners[i].x - dst_roi.x, corners[i].y - dst_roi.y, y 288 modules/stitching/src/blenders.cpp std::max(dst_roi_.y, tl.y - gap)); y 290 modules/stitching/src/blenders.cpp std::min(dst_roi_.br().y, tl.y + img.rows + gap)); y 298 modules/stitching/src/blenders.cpp tl_new.y = dst_roi_.y + (((tl_new.y - dst_roi_.y) >> num_bands_) << num_bands_); y 300 modules/stitching/src/blenders.cpp int height = br_new.y - tl_new.y; y 304 modules/stitching/src/blenders.cpp br_new.y = tl_new.y + height; y 305 modules/stitching/src/blenders.cpp int dy = std::max(br_new.y - dst_roi_.br().y, 0); y 308 modules/stitching/src/blenders.cpp tl_new.y -= dy; br_new.y -= dy; y 310 modules/stitching/src/blenders.cpp int top = tl.y - tl_new.y; y 312 modules/stitching/src/blenders.cpp int bottom = br_new.y - tl.y - img.rows; y 361 modules/stitching/src/blenders.cpp int y_tl = tl_new.y - dst_roi_.y; y 362 modules/stitching/src/blenders.cpp int y_br = br_new.y - dst_roi_.y; y 382 modules/stitching/src/blenders.cpp for (int y = 0; y < rc.height; ++y) y 384 modules/stitching/src/blenders.cpp const Point3_<short>* src_row = _src_pyr_laplace.ptr<Point3_<short> >(y); y 385 modules/stitching/src/blenders.cpp Point3_<short>* dst_row = _dst_pyr_laplace.ptr<Point3_<short> >(y); y 386 modules/stitching/src/blenders.cpp const float* weight_row = _weight_pyr_gauss.ptr<float>(y); y 387 modules/stitching/src/blenders.cpp float* dst_weight_row = _dst_band_weights.ptr<float>(y); y 392 modules/stitching/src/blenders.cpp dst_row[x].y += static_cast<short>(src_row[x].y * weight_row[x]); y 400 modules/stitching/src/blenders.cpp for (int y = 0; y < y_br - y_tl; ++y) y 402 modules/stitching/src/blenders.cpp const Point3_<short>* src_row = _src_pyr_laplace.ptr<Point3_<short> >(y); y 403 modules/stitching/src/blenders.cpp Point3_<short>* dst_row = _dst_pyr_laplace.ptr<Point3_<short> >(y); y 404 modules/stitching/src/blenders.cpp const short* weight_row = _weight_pyr_gauss.ptr<short>(y); y 405 modules/stitching/src/blenders.cpp short* dst_weight_row = _dst_band_weights.ptr<short>(y); y 410 modules/stitching/src/blenders.cpp dst_row[x].y += short((src_row[x].y * weight_row[x]) >> 8); y 500 modules/stitching/src/blenders.cpp for (int y = 0; y < src.rows; ++y) y 502 modules/stitching/src/blenders.cpp Point3_<short> *row = src.ptr<Point3_<short> >(y); y 503 modules/stitching/src/blenders.cpp const float *weight_row = weight.ptr<float>(y); y 508 modules/stitching/src/blenders.cpp row[x].y = static_cast<short>(row[x].y / (weight_row[x] + WEIGHT_EPS)); y 517 modules/stitching/src/blenders.cpp for (int y = 0; y < src.rows; ++y) y 519 modules/stitching/src/blenders.cpp const short *weight_row = weight.ptr<short>(y); y 520 modules/stitching/src/blenders.cpp Point3_<short> *row = src.ptr<Point3_<short> >(y); y 526 modules/stitching/src/blenders.cpp row[x].y = static_cast<short>((row[x].y << 8) / w); y 106 modules/stitching/src/exposure_compensate.cpp for (int y = 0; y < roi.height; ++y) y 108 modules/stitching/src/exposure_compensate.cpp const Point3_<uchar>* r1 = subimg1.ptr<Point3_<uchar> >(y); y 109 modules/stitching/src/exposure_compensate.cpp const Point3_<uchar>* r2 = subimg2.ptr<Point3_<uchar> >(y); y 112 modules/stitching/src/exposure_compensate.cpp if (intersect(y, x)) y 114 modules/stitching/src/exposure_compensate.cpp Isum1 += std::sqrt(static_cast<double>(sqr(r1[x].x) + sqr(r1[x].y) + sqr(r1[x].z))); y 115 modules/stitching/src/exposure_compensate.cpp Isum2 += std::sqrt(static_cast<double>(sqr(r2[x].x) + sqr(r2[x].y) + sqr(r2[x].z))); y 189 modules/stitching/src/exposure_compensate.cpp std::min(bl_tl.y + bl_height, images[img_idx].rows)); y 238 modules/stitching/src/exposure_compensate.cpp for (int y = 0; y < image.rows; ++y) y 240 modules/stitching/src/exposure_compensate.cpp const float* gain_row = gain_map.ptr<float>(y); y 241 modules/stitching/src/exposure_compensate.cpp Point3_<uchar>* row = image.ptr<Point3_<uchar> >(y); y 245 modules/stitching/src/exposure_compensate.cpp row[x].y = saturate_cast<uchar>(row[x].y * gain_row[x]); y 309 modules/stitching/src/matchers.cpp features.keypoints[kp_idx].pt.y += (float)rois[i].y; y 445 modules/stitching/src/matchers.cpp kp->pt.y += yl; y 595 modules/stitching/src/matchers.cpp p.y -= features1.img_size.height * 0.5f; y 600 modules/stitching/src/matchers.cpp p.y -= features2.img_size.height * 0.5f; y 640 modules/stitching/src/matchers.cpp p.y -= features1.img_size.height * 0.5f; y 645 modules/stitching/src/matchers.cpp p.y -= features2.img_size.height * 0.5f; y 385 modules/stitching/src/motion_estimators.cpp double x = H(0,0)*p1.x + H(0,1)*p1.y + H(0,2); y 386 modules/stitching/src/motion_estimators.cpp double y = H(1,0)*p1.x + H(1,1)*p1.y + H(1,2); y 387 modules/stitching/src/motion_estimators.cpp double z = H(2,0)*p1.x + H(2,1)*p1.y + H(2,2); y 390 modules/stitching/src/motion_estimators.cpp err.at<double>(2 * match_idx + 1, 0) = p2.y - y/z; y 555 modules/stitching/src/motion_estimators.cpp double x1 = H1(0,0)*p1.x + H1(0,1)*p1.y + H1(0,2); y 556 modules/stitching/src/motion_estimators.cpp double y1 = H1(1,0)*p1.x + H1(1,1)*p1.y + H1(1,2); y 557 modules/stitching/src/motion_estimators.cpp double z1 = H1(2,0)*p1.x + H1(2,1)*p1.y + H1(2,2); y 562 modules/stitching/src/motion_estimators.cpp double x2 = H2(0,0)*p2.x + H2(0,1)*p2.y + H2(0,2); y 563 modules/stitching/src/motion_estimators.cpp double y2 = H2(1,0)*p2.x + H2(1,1)*p2.y + H2(1,2); y 564 modules/stitching/src/motion_estimators.cpp double z2 = H2(2,0)*p2.x + H2(2,1)*p2.y + H2(2,2); y 20 modules/stitching/src/opencl/multibandblend.cl #define __CAT(x, y) x##y y 21 modules/stitching/src/opencl/multibandblend.cl #define CAT(x, y) __CAT(x, y) y 69 modules/stitching/src/opencl/multibandblend.cl #define MAT_BYTE_OFFSET(name, x, y) mad24((y)/* + name ## OffsetY*/, name ## StepBytes, ((x)/* + name ## OffsetX*/) * (int)(name ## _TSIZE) + name ## Offset) y 70 modules/stitching/src/opencl/multibandblend.cl #define MAT_RELATIVE_BYTE_OFFSET(name, x, y) mad24(y, name ## StepBytes, (x) * (int)(name ## _TSIZE)) y 243 modules/stitching/src/opencl/multibandblend.cl const int y = get_global_id(1); y 245 modules/stitching/src/opencl/multibandblend.cl if (x < srcWidth && y < srcHeight) y 247 modules/stitching/src/opencl/multibandblend.cl int src_byteOffset = MAT_BYTE_OFFSET(src, x, y); y 248 modules/stitching/src/opencl/multibandblend.cl int weight_byteOffset = MAT_BYTE_OFFSET(weight, x, y); y 249 modules/stitching/src/opencl/multibandblend.cl int dst_byteOffset = MAT_BYTE_OFFSET(dst, x, y); y 250 modules/stitching/src/opencl/multibandblend.cl int dstWeight_byteOffset = MAT_BYTE_OFFSET(dstWeight, x, y); y 284 modules/stitching/src/opencl/multibandblend.cl const int y = get_global_id(1); y 286 modules/stitching/src/opencl/multibandblend.cl if (x < matWidth && y < matHeight) y 288 modules/stitching/src/opencl/multibandblend.cl int mat_byteOffset = MAT_BYTE_OFFSET(mat, x, y); y 289 modules/stitching/src/opencl/multibandblend.cl int weight_byteOffset = MAT_BYTE_OFFSET(weight, x, y); y 73 modules/stitching/src/opencl/warpers.cl float y = fma(ck_rinv[3], x_, fma(ck_rinv[4], y_, ck_rinv[5] * ct1)); y 77 modules/stitching/src/opencl/warpers.cl x /= z, y /= z; y 79 modules/stitching/src/opencl/warpers.cl x = y = -1; y 82 modules/stitching/src/opencl/warpers.cl ymap[0] = y; y 111 modules/stitching/src/opencl/warpers.cl float x, y, z; y 113 modules/stitching/src/opencl/warpers.cl y = fma(ck_rinv[3], x_, fma(ck_rinv[4], y_, ck_rinv[5] * z_)); y 117 modules/stitching/src/opencl/warpers.cl x /= z, y /= z; y 119 modules/stitching/src/opencl/warpers.cl x = y = -1; y 122 modules/stitching/src/opencl/warpers.cl ymap[0] = y; y 155 modules/stitching/src/opencl/warpers.cl float x, y, z; y 157 modules/stitching/src/opencl/warpers.cl y = fma(ck_rinv[3], x_, fma(ck_rinv[4], y_, ck_rinv[5] * z_)); y 161 modules/stitching/src/opencl/warpers.cl x /= z, y /= z; y 163 modules/stitching/src/opencl/warpers.cl x = y = -1; y 166 modules/stitching/src/opencl/warpers.cl ymap[0] = y; y 122 modules/stitching/src/seam_finders.cpp for (int y = -gap; y < roi.height + gap; ++y) y 126 modules/stitching/src/seam_finders.cpp int y1 = roi.y - tl1.y + y; y 129 modules/stitching/src/seam_finders.cpp submask1.at<uchar>(y + gap, x + gap) = mask1.at<uchar>(y1, x1); y 131 modules/stitching/src/seam_finders.cpp submask1.at<uchar>(y + gap, x + gap) = 0; y 133 modules/stitching/src/seam_finders.cpp int y2 = roi.y - tl2.y + y; y 136 modules/stitching/src/seam_finders.cpp submask2.at<uchar>(y + gap, x + gap) = mask2.at<uchar>(y2, x2); y 138 modules/stitching/src/seam_finders.cpp submask2.at<uchar>(y + gap, x + gap) = 0; y 152 modules/stitching/src/seam_finders.cpp for (int y = 0; y < roi.height; ++y) y 156 modules/stitching/src/seam_finders.cpp if (seam.at<uchar>(y + gap, x + gap)) y 157 modules/stitching/src/seam_finders.cpp mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x) = 0; y 159 modules/stitching/src/seam_finders.cpp mask1.at<uchar>(roi.y - tl1.y + y, roi.x - tl1.x + x) = 0; y 209 modules/stitching/src/seam_finders.cpp Point intersectTl(std::max(tl1.x, tl2.x), std::max(tl1.y, tl2.y)); y 212 modules/stitching/src/seam_finders.cpp std::min(tl1.y + image1.rows, tl2.y + image2.rows)); y 214 modules/stitching/src/seam_finders.cpp if (intersectTl.x >= intersectBr.x || intersectTl.y >= intersectBr.y) y 217 modules/stitching/src/seam_finders.cpp unionTl_ = Point(std::min(tl1.x, tl2.x), std::min(tl1.y, tl2.y)); y 220 modules/stitching/src/seam_finders.cpp std::max(tl1.y + image1.rows, tl2.y + image2.rows)); y 222 modules/stitching/src/seam_finders.cpp unionSize_ = Size(unionBr_.x - unionTl_.x, unionBr_.y - unionTl_.y); y 227 modules/stitching/src/seam_finders.cpp Mat tmp = mask1_(Rect(tl1.x - unionTl_.x, tl1.y - unionTl_.y, mask1.cols, mask1.rows)); y 230 modules/stitching/src/seam_finders.cpp tmp = mask2_(Rect(tl2.x - unionTl_.x, tl2.y - unionTl_.y, mask2.cols, mask2.rows)); y 238 modules/stitching/src/seam_finders.cpp for (int y = 0; y < unionSize_.height; ++y) y 242 modules/stitching/src/seam_finders.cpp if (mask1_(y, x) && y 243 modules/stitching/src/seam_finders.cpp ((x == 0 || !mask1_(y, x-1)) || (x == unionSize_.width-1 || !mask1_(y, x+1)) || y 244 modules/stitching/src/seam_finders.cpp (y == 0 || !mask1_(y-1, x)) || (y == unionSize_.height-1 || !mask1_(y+1, x)))) y 246 modules/stitching/src/seam_finders.cpp contour1mask_(y, x) = 255; y 249 modules/stitching/src/seam_finders.cpp if (mask2_(y, x) && y 250 modules/stitching/src/seam_finders.cpp ((x == 0 || !mask2_(y, x-1)) || (x == unionSize_.width-1 || !mask2_(y, x+1)) || y 251 modules/stitching/src/seam_finders.cpp (y == 0 || !mask2_(y-1, x)) || (y == unionSize_.height-1 || !mask2_(y+1, x)))) y 253 modules/stitching/src/seam_finders.cpp contour2mask_(y, x) = 255; y 277 modules/stitching/src/seam_finders.cpp for (int y = 0; y < unionSize_.height; ++y) y 281 modules/stitching/src/seam_finders.cpp if (mask1_(y, x) && mask2_(y, x)) y 282 modules/stitching/src/seam_finders.cpp labels_(y, x) = std::numeric_limits<int>::max(); y 283 modules/stitching/src/seam_finders.cpp else if (mask1_(y, x)) y 284 modules/stitching/src/seam_finders.cpp labels_(y, x) = std::numeric_limits<int>::max()-1; y 285 modules/stitching/src/seam_finders.cpp else if (mask2_(y, x)) y 286 modules/stitching/src/seam_finders.cpp labels_(y, x) = std::numeric_limits<int>::max()-2; y 288 modules/stitching/src/seam_finders.cpp labels_(y, x) = 0; y 292 modules/stitching/src/seam_finders.cpp for (int y = 0; y < unionSize_.height; ++y) y 296 modules/stitching/src/seam_finders.cpp if (labels_(y, x) >= std::numeric_limits<int>::max()-2) y 298 modules/stitching/src/seam_finders.cpp if (labels_(y, x) == std::numeric_limits<int>::max()) y 300 modules/stitching/src/seam_finders.cpp else if (labels_(y, x) == std::numeric_limits<int>::max()-1) y 302 modules/stitching/src/seam_finders.cpp else if (labels_(y, x) == std::numeric_limits<int>::max()-2) y 305 modules/stitching/src/seam_finders.cpp floodFill(labels_, Point(x, y), ++ncomps_); y 306 modules/stitching/src/seam_finders.cpp tls_.push_back(Point(x, y)); y 307 modules/stitching/src/seam_finders.cpp brs_.push_back(Point(x+1, y+1)); y 311 modules/stitching/src/seam_finders.cpp if (labels_(y, x)) y 313 modules/stitching/src/seam_finders.cpp int l = labels_(y, x); y 317 modules/stitching/src/seam_finders.cpp tls_[ci].y = std::min(tls_[ci].y, y); y 319 modules/stitching/src/seam_finders.cpp brs_[ci].y = std::max(brs_[ci].y, y+1); y 321 modules/stitching/src/seam_finders.cpp if ((x == 0 || labels_(y, x-1) != l) || (x == unionSize_.width-1 || labels_(y, x+1) != l) || y 322 modules/stitching/src/seam_finders.cpp (y == 0 || labels_(y-1, x) != l) || (y == unionSize_.height-1 || labels_(y+1, x) != l)) y 324 modules/stitching/src/seam_finders.cpp contours_[ci].push_back(Point(x, y)); y 352 modules/stitching/src/seam_finders.cpp int y = contours_[ci][i].y; y 355 modules/stitching/src/seam_finders.cpp if (x > 0 && labels_(y, x-1) && labels_(y, x-1) != l) y 357 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(ci, labels_(y, x-1)-1)]++; y 358 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(labels_(y, x-1)-1, ci)]++; y 361 modules/stitching/src/seam_finders.cpp if (y > 0 && labels_(y-1, x) && labels_(y-1, x) != l) y 363 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(ci, labels_(y-1, x)-1)]++; y 364 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(labels_(y-1, x)-1, ci)]++; y 367 modules/stitching/src/seam_finders.cpp if (x < unionSize_.width-1 && labels_(y, x+1) && labels_(y, x+1) != l) y 369 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(ci, labels_(y, x+1)-1)]++; y 370 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(labels_(y, x+1)-1, ci)]++; y 373 modules/stitching/src/seam_finders.cpp if (y < unionSize_.height-1 && labels_(y+1, x) && labels_(y+1, x) != l) y 375 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(ci, labels_(y+1, x)-1)]++; y 376 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(labels_(y+1, x)-1, ci)]++; y 433 modules/stitching/src/seam_finders.cpp for (int y = tls_[c1].y; y < brs_[c1].y; ++y) y 435 modules/stitching/src/seam_finders.cpp if (labels_(y, x) == l1) y 436 modules/stitching/src/seam_finders.cpp labels_(y, x) = l2; y 465 modules/stitching/src/seam_finders.cpp int y0 = tls_[c[i]].y, y1 = brs_[c[i]].y; y 471 modules/stitching/src/seam_finders.cpp for (int y = y0; y < y1; ++y) y 475 modules/stitching/src/seam_finders.cpp if (labels_(y, x) == l[i]) y 478 modules/stitching/src/seam_finders.cpp tls_[c[i]].y = std::min(tls_[c[i]].y, y); y 480 modules/stitching/src/seam_finders.cpp brs_[c[i]].y = std::max(brs_[c[i]].y, y+1); y 482 modules/stitching/src/seam_finders.cpp if ((x == 0 || labels_(y, x-1) != l[i]) || (x == unionSize_.width-1 || labels_(y, x+1) != l[i]) || y 483 modules/stitching/src/seam_finders.cpp (y == 0 || labels_(y-1, x) != l[i]) || (y == unionSize_.height-1 || labels_(y+1, x) != l[i])) y 485 modules/stitching/src/seam_finders.cpp contours_[c[i]].push_back(Point(x, y)); y 501 modules/stitching/src/seam_finders.cpp int dx1 = unionTl_.x - tl1.x, dy1 = unionTl_.y - tl1.y; y 502 modules/stitching/src/seam_finders.cpp int dx2 = unionTl_.x - tl2.x, dy2 = unionTl_.y - tl2.y; y 504 modules/stitching/src/seam_finders.cpp for (int y = 0; y < mask2.rows; ++y) y 508 modules/stitching/src/seam_finders.cpp int l = labels_(y - dy2, x - dx2); y 509 modules/stitching/src/seam_finders.cpp if (l > 0 && (states_[l-1] & FIRST) && mask1.at<uchar>(y - dy2 + dy1, x - dx2 + dx1)) y 510 modules/stitching/src/seam_finders.cpp mask2.at<uchar>(y, x) = 0; y 514 modules/stitching/src/seam_finders.cpp for (int y = 0; y < mask1.rows; ++y) y 518 modules/stitching/src/seam_finders.cpp int l = labels_(y - dy1, x - dx1); y 519 modules/stitching/src/seam_finders.cpp if (l > 0 && (states_[l-1] & SECOND) && mask2.at<uchar>(y - dy1 + dy2, x - dx1 + dx2)) y 520 modules/stitching/src/seam_finders.cpp mask1.at<uchar>(y, x) = 0; y 561 modules/stitching/src/seam_finders.cpp bool DpSeamFinder::closeToContour(int y, int x, const Mat_<uchar> &contourMask) y 567 modules/stitching/src/seam_finders.cpp if (y + dy >= 0 && y + dy < unionSize_.height) y 572 modules/stitching/src/seam_finders.cpp contourMask(y + dy, x + dx)) y 596 modules/stitching/src/seam_finders.cpp int y = contours_[comp1][i].y; y 598 modules/stitching/src/seam_finders.cpp if (closeToContour(y, x, contour1mask_) && y 599 modules/stitching/src/seam_finders.cpp closeToContour(y, x, contour2mask_) && y 600 modules/stitching/src/seam_finders.cpp ((x > 0 && labels_(y, x-1) == l2) || y 601 modules/stitching/src/seam_finders.cpp (y > 0 && labels_(y-1, x) == l2) || y 602 modules/stitching/src/seam_finders.cpp (x < unionSize_.width-1 && labels_(y, x+1) == l2) || y 603 modules/stitching/src/seam_finders.cpp (y < unionSize_.height-1 && labels_(y+1, x) == l2))) y 605 modules/stitching/src/seam_finders.cpp specialPoints.push_back(Point(x, y)); y 640 modules/stitching/src/seam_finders.cpp double cx1 = cvRound(sum[i].x / size1), cy1 = cvRound(sum[i].y / size1); y 641 modules/stitching/src/seam_finders.cpp double cx2 = cvRound(sum[j].x / size2), cy2 = cvRound(sum[j].y / size1); y 661 modules/stitching/src/seam_finders.cpp double cy = cvRound(sum[idx[i]].y / size); y 669 modules/stitching/src/seam_finders.cpp (points[idx[i]][j].y - cy) * (points[idx[i]][j].y - cy); y 734 modules/stitching/src/seam_finders.cpp int dx1 = unionTl_.x - tl1.x, dy1 = unionTl_.y - tl1.y; y 735 modules/stitching/src/seam_finders.cpp int dx2 = unionTl_.x - tl2.x, dy2 = unionTl_.y - tl2.y; y 742 modules/stitching/src/seam_finders.cpp for (int y = roi.y; y < roi.br().y; ++y) y 746 modules/stitching/src/seam_finders.cpp if (labels_(y, x) == l && x > 0 && labels_(y, x-1) == l) y 748 modules/stitching/src/seam_finders.cpp float costColor = (diff(image1, y + dy1, x + dx1 - 1, image2, y + dy2, x + dx2) + y 749 modules/stitching/src/seam_finders.cpp diff(image1, y + dy1, x + dx1, image2, y + dy2, x + dx2 - 1)) / 2; y 751 modules/stitching/src/seam_finders.cpp costV(y - roi.y, x - roi.x) = costColor; y 754 modules/stitching/src/seam_finders.cpp float costGrad = std::abs(gradx1_(y + dy1, x + dx1)) + std::abs(gradx1_(y + dy1, x + dx1 - 1)) + y 755 modules/stitching/src/seam_finders.cpp std::abs(gradx2_(y + dy2, x + dx2)) + std::abs(gradx2_(y + dy2, x + dx2 - 1)) + 1.f; y 756 modules/stitching/src/seam_finders.cpp costV(y - roi.y, x - roi.x) = costColor / costGrad; y 760 modules/stitching/src/seam_finders.cpp costV(y - roi.y, x - roi.x) = badRegionCost; y 766 modules/stitching/src/seam_finders.cpp for (int y = roi.y; y < roi.br().y+1; ++y) y 770 modules/stitching/src/seam_finders.cpp if (labels_(y, x) == l && y > 0 && labels_(y-1, x) == l) y 772 modules/stitching/src/seam_finders.cpp float costColor = (diff(image1, y + dy1 - 1, x + dx1, image2, y + dy2, x + dx2) + y 773 modules/stitching/src/seam_finders.cpp diff(image1, y + dy1, x + dx1, image2, y + dy2 - 1, x + dx2)) / 2; y 775 modules/stitching/src/seam_finders.cpp costH(y - roi.y, x - roi.x) = costColor; y 778 modules/stitching/src/seam_finders.cpp float costGrad = std::abs(grady1_(y + dy1, x + dx1)) + std::abs(grady1_(y + dy1 - 1, x + dx1)) + y 779 modules/stitching/src/seam_finders.cpp std::abs(grady2_(y + dy2, x + dx2)) + std::abs(grady2_(y + dy2 - 1, x + dx2)) + 1.f; y 780 modules/stitching/src/seam_finders.cpp costH(y - roi.y, x - roi.x) = costColor / costGrad; y 784 modules/stitching/src/seam_finders.cpp costH(y - roi.y, x - roi.x) = badRegionCost; y 807 modules/stitching/src/seam_finders.cpp isHorizontal = std::abs(dst.x - src.x) > std::abs(dst.y - src.y); y 817 modules/stitching/src/seam_finders.cpp else if (src.y > dst.y) y 839 modules/stitching/src/seam_finders.cpp for (int y = 0; y < roi.height; ++y) y 845 modules/stitching/src/seam_finders.cpp if (labels_(y + roi.y, x + roi.x) == l) y 847 modules/stitching/src/seam_finders.cpp if (reachable(y, x-1)) y 848 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y, x-1) + costH(y, x-1), 1); y 849 modules/stitching/src/seam_finders.cpp if (y > 0 && reachable(y-1, x-1)) y 850 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y-1, x-1) + costH(y-1, x-1) + costV(y-1, x), 2); y 851 modules/stitching/src/seam_finders.cpp if (y < roi.height-1 && reachable(y+1, x-1)) y 852 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y+1, x-1) + costH(y+1, x-1) + costV(y, x), 3); y 858 modules/stitching/src/seam_finders.cpp cost(y, x) = opt.first; y 859 modules/stitching/src/seam_finders.cpp control(y, x) = (uchar)opt.second; y 860 modules/stitching/src/seam_finders.cpp reachable(y, x) = 255; y 867 modules/stitching/src/seam_finders.cpp for (int y = src.y+1; y <= dst.y; ++y) y 875 modules/stitching/src/seam_finders.cpp if (labels_(y + roi.y, x + roi.x) == l) y 877 modules/stitching/src/seam_finders.cpp if (reachable(y-1, x)) y 878 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y-1, x) + costV(y-1, x), 1); y 879 modules/stitching/src/seam_finders.cpp if (x > 0 && reachable(y-1, x-1)) y 880 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y-1, x-1) + costV(y-1, x-1) + costH(y, x-1), 2); y 881 modules/stitching/src/seam_finders.cpp if (x < roi.width-1 && reachable(y-1, x+1)) y 882 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y-1, x+1) + costV(y-1, x+1) + costH(y, x), 3); y 888 modules/stitching/src/seam_finders.cpp cost(y, x) = opt.first; y 889 modules/stitching/src/seam_finders.cpp control(y, x) = (uchar)opt.second; y 890 modules/stitching/src/seam_finders.cpp reachable(y, x) = 255; y 909 modules/stitching/src/seam_finders.cpp if (control(p) == 2) p.y--; y 910 modules/stitching/src/seam_finders.cpp else if (control(p) == 3) p.y++; y 916 modules/stitching/src/seam_finders.cpp for (; p.y != src.y; seam.push_back(p + roi.tl())) y 920 modules/stitching/src/seam_finders.cpp p.y--; y 936 modules/stitching/src/seam_finders.cpp Mat_<int> mask = Mat::zeros(brs_[comp1].y - tls_[comp1].y, y 951 modules/stitching/src/seam_finders.cpp for (int y = 0; y < mask.rows; ++y) y 953 modules/stitching/src/seam_finders.cpp if (!mask(y, x) && labels_(y + tls_[comp1].y, x + tls_[comp1].x) == l1) y 954 modules/stitching/src/seam_finders.cpp floodFill(mask, Point(x, y), ++ncomps); y 959 modules/stitching/src/seam_finders.cpp int y = contours_[comp1][i].y - tls_[comp1].y; y 968 modules/stitching/src/seam_finders.cpp int r = y + dy[j]; y 974 modules/stitching/src/seam_finders.cpp mask(y, x) = mask(r, c); y 979 modules/stitching/src/seam_finders.cpp mask(y, x) = 0; y 987 modules/stitching/src/seam_finders.cpp int y = seam[i].y - tls_[comp1].y; y 989 modules/stitching/src/seam_finders.cpp if (y < mask.rows-1 && mask(y+1, x) && mask(y+1, x) != 255) y 990 modules/stitching/src/seam_finders.cpp mask(y, x) = mask(y+1, x); y 992 modules/stitching/src/seam_finders.cpp mask(y, x) = 0; y 1000 modules/stitching/src/seam_finders.cpp int y = seam[i].y - tls_[comp1].y; y 1002 modules/stitching/src/seam_finders.cpp if (x < mask.cols-1 && mask(y, x+1) && mask(y, x+1) != 255) y 1003 modules/stitching/src/seam_finders.cpp mask(y, x) = mask(y, x+1); y 1005 modules/stitching/src/seam_finders.cpp mask(y, x) = 0; y 1024 modules/stitching/src/seam_finders.cpp int y = contours_[comp1][i].y; y 1026 modules/stitching/src/seam_finders.cpp if ((x > 0 && labels_(y, x-1) == l2) || y 1027 modules/stitching/src/seam_finders.cpp (y > 0 && labels_(y-1, x) == l2) || y 1028 modules/stitching/src/seam_finders.cpp (x < unionSize_.width-1 && labels_(y, x+1) == l2) || y 1029 modules/stitching/src/seam_finders.cpp (y < unionSize_.height-1 && labels_(y+1, x) == l2)) y 1031 modules/stitching/src/seam_finders.cpp connect2[mask(y - tls_[comp1].y, x - tls_[comp1].x)]++; y 1034 modules/stitching/src/seam_finders.cpp if ((x > 0 && labels_(y, x-1) != l1 && labels_(y, x-1) != l2) || y 1035 modules/stitching/src/seam_finders.cpp (y > 0 && labels_(y-1, x) != l1 && labels_(y-1, x) != l2) || y 1036 modules/stitching/src/seam_finders.cpp (x < unionSize_.width-1 && labels_(y, x+1) != l1 && labels_(y, x+1) != l2) || y 1037 modules/stitching/src/seam_finders.cpp (y < unionSize_.height-1 && labels_(y+1, x) != l1 && labels_(y+1, x) != l2)) y 1039 modules/stitching/src/seam_finders.cpp connectOther[mask(y - tls_[comp1].y, x - tls_[comp1].x)]++; y 1053 modules/stitching/src/seam_finders.cpp for (int y = 0; y < mask.rows; ++y) y 1055 modules/stitching/src/seam_finders.cpp if (mask(y, x) && isAdjComp[mask(y, x)]) y 1056 modules/stitching/src/seam_finders.cpp labels_(y + tls_[comp1].y, x + tls_[comp1].x) = l2; y 1099 modules/stitching/src/seam_finders.cpp for (int y = 0; y < src[i].rows; ++y) y 1101 modules/stitching/src/seam_finders.cpp const Point3f* dx_row = dx.ptr<Point3f>(y); y 1102 modules/stitching/src/seam_finders.cpp const Point3f* dy_row = dy.ptr<Point3f>(y); y 1103 modules/stitching/src/seam_finders.cpp float* dx_row_ = dx_[i].ptr<float>(y); y 1104 modules/stitching/src/seam_finders.cpp float* dy_row_ = dy_[i].ptr<float>(y); y 1122 modules/stitching/src/seam_finders.cpp for (int y = 0; y < img_size.height; ++y) y 1127 modules/stitching/src/seam_finders.cpp graph.addTermWeights(v, mask1.at<uchar>(y, x) ? terminal_cost_ : 0.f, y 1128 modules/stitching/src/seam_finders.cpp mask2.at<uchar>(y, x) ? terminal_cost_ : 0.f); y 1134 modules/stitching/src/seam_finders.cpp for (int y = 0; y < img_size.height; ++y) y 1138 modules/stitching/src/seam_finders.cpp int v = y * img_size.width + x; y 1141 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + y 1142 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y, x + 1), img2.at<Point3f>(y, x + 1)) + y 1144 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y, x) || !mask1.at<uchar>(y, x + 1) || y 1145 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y, x) || !mask2.at<uchar>(y, x + 1)) y 1149 modules/stitching/src/seam_finders.cpp if (y < img_size.height - 1) y 1151 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + y 1152 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y + 1, x), img2.at<Point3f>(y + 1, x)) + y 1154 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y, x) || !mask1.at<uchar>(y + 1, x) || y 1155 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y, x) || !mask2.at<uchar>(y + 1, x)) y 1172 modules/stitching/src/seam_finders.cpp for (int y = 0; y < img_size.height; ++y) y 1177 modules/stitching/src/seam_finders.cpp graph.addTermWeights(v, mask1.at<uchar>(y, x) ? terminal_cost_ : 0.f, y 1178 modules/stitching/src/seam_finders.cpp mask2.at<uchar>(y, x) ? terminal_cost_ : 0.f); y 1184 modules/stitching/src/seam_finders.cpp for (int y = 0; y < img_size.height; ++y) y 1188 modules/stitching/src/seam_finders.cpp int v = y * img_size.width + x; y 1191 modules/stitching/src/seam_finders.cpp float grad = dx1.at<float>(y, x) + dx1.at<float>(y, x + 1) + y 1192 modules/stitching/src/seam_finders.cpp dx2.at<float>(y, x) + dx2.at<float>(y, x + 1) + weight_eps; y 1193 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + y 1194 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y, x + 1), img2.at<Point3f>(y, x + 1))) / grad + y 1196 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y, x) || !mask1.at<uchar>(y, x + 1) || y 1197 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y, x) || !mask2.at<uchar>(y, x + 1)) y 1201 modules/stitching/src/seam_finders.cpp if (y < img_size.height - 1) y 1203 modules/stitching/src/seam_finders.cpp float grad = dy1.at<float>(y, x) + dy1.at<float>(y + 1, x) + y 1204 modules/stitching/src/seam_finders.cpp dy2.at<float>(y, x) + dy2.at<float>(y + 1, x) + weight_eps; y 1205 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + y 1206 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y + 1, x), img2.at<Point3f>(y + 1, x))) / grad + y 1208 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y, x) || !mask1.at<uchar>(y + 1, x) || y 1209 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y, x) || !mask2.at<uchar>(y + 1, x)) y 1237 modules/stitching/src/seam_finders.cpp for (int y = -gap; y < roi.height + gap; ++y) y 1241 modules/stitching/src/seam_finders.cpp int y1 = roi.y - tl1.y + y; y 1245 modules/stitching/src/seam_finders.cpp subimg1.at<Point3f>(y + gap, x + gap) = img1.at<Point3f>(y1, x1); y 1246 modules/stitching/src/seam_finders.cpp submask1.at<uchar>(y + gap, x + gap) = mask1.at<uchar>(y1, x1); y 1247 modules/stitching/src/seam_finders.cpp subdx1.at<float>(y + gap, x + gap) = dx1.at<float>(y1, x1); y 1248 modules/stitching/src/seam_finders.cpp subdy1.at<float>(y + gap, x + gap) = dy1.at<float>(y1, x1); y 1252 modules/stitching/src/seam_finders.cpp subimg1.at<Point3f>(y + gap, x + gap) = Point3f(0, 0, 0); y 1253 modules/stitching/src/seam_finders.cpp submask1.at<uchar>(y + gap, x + gap) = 0; y 1254 modules/stitching/src/seam_finders.cpp subdx1.at<float>(y + gap, x + gap) = 0.f; y 1255 modules/stitching/src/seam_finders.cpp subdy1.at<float>(y + gap, x + gap) = 0.f; y 1258 modules/stitching/src/seam_finders.cpp int y2 = roi.y - tl2.y + y; y 1262 modules/stitching/src/seam_finders.cpp subimg2.at<Point3f>(y + gap, x + gap) = img2.at<Point3f>(y2, x2); y 1263 modules/stitching/src/seam_finders.cpp submask2.at<uchar>(y + gap, x + gap) = mask2.at<uchar>(y2, x2); y 1264 modules/stitching/src/seam_finders.cpp subdx2.at<float>(y + gap, x + gap) = dx2.at<float>(y2, x2); y 1265 modules/stitching/src/seam_finders.cpp subdy2.at<float>(y + gap, x + gap) = dy2.at<float>(y2, x2); y 1269 modules/stitching/src/seam_finders.cpp subimg2.at<Point3f>(y + gap, x + gap) = Point3f(0, 0, 0); y 1270 modules/stitching/src/seam_finders.cpp submask2.at<uchar>(y + gap, x + gap) = 0; y 1271 modules/stitching/src/seam_finders.cpp subdx2.at<float>(y + gap, x + gap) = 0.f; y 1272 modules/stitching/src/seam_finders.cpp subdy2.at<float>(y + gap, x + gap) = 0.f; y 1297 modules/stitching/src/seam_finders.cpp for (int y = 0; y < roi.height; ++y) y 1301 modules/stitching/src/seam_finders.cpp if (graph.inSourceSegment((y + gap) * (roi.width + 2 * gap) + x + gap)) y 1303 modules/stitching/src/seam_finders.cpp if (mask1.at<uchar>(roi.y - tl1.y + y, roi.x - tl1.x + x)) y 1304 modules/stitching/src/seam_finders.cpp mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x) = 0; y 1308 modules/stitching/src/seam_finders.cpp if (mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x)) y 1309 modules/stitching/src/seam_finders.cpp mask1.at<uchar>(roi.y - tl1.y + y, roi.x - tl1.x + x) = 0; y 1344 modules/stitching/src/seam_finders.cpp for (int y = 0; y < src[i].rows; ++y) y 1346 modules/stitching/src/seam_finders.cpp const Point3f* dx_row = dx.ptr<Point3f>(y); y 1347 modules/stitching/src/seam_finders.cpp const Point3f* dy_row = dy.ptr<Point3f>(y); y 1348 modules/stitching/src/seam_finders.cpp float* dx_row_ = dx_[i].ptr<float>(y); y 1349 modules/stitching/src/seam_finders.cpp float* dy_row_ = dy_[i].ptr<float>(y); y 1380 modules/stitching/src/seam_finders.cpp for (int y = -gap; y < roi.height + gap; ++y) y 1384 modules/stitching/src/seam_finders.cpp int y1 = roi.y - tl1.y + y; y 1388 modules/stitching/src/seam_finders.cpp subimg1.at<Point3f>(y + gap, x + gap) = img1.at<Point3f>(y1, x1); y 1389 modules/stitching/src/seam_finders.cpp submask1.at<uchar>(y + gap, x + gap) = mask1.at<uchar>(y1, x1); y 1390 modules/stitching/src/seam_finders.cpp subdx1.at<float>(y + gap, x + gap) = dx1.at<float>(y1, x1); y 1391 modules/stitching/src/seam_finders.cpp subdy1.at<float>(y + gap, x + gap) = dy1.at<float>(y1, x1); y 1395 modules/stitching/src/seam_finders.cpp subimg1.at<Point3f>(y + gap, x + gap) = Point3f(0, 0, 0); y 1396 modules/stitching/src/seam_finders.cpp submask1.at<uchar>(y + gap, x + gap) = 0; y 1397 modules/stitching/src/seam_finders.cpp subdx1.at<float>(y + gap, x + gap) = 0.f; y 1398 modules/stitching/src/seam_finders.cpp subdy1.at<float>(y + gap, x + gap) = 0.f; y 1401 modules/stitching/src/seam_finders.cpp int y2 = roi.y - tl2.y + y; y 1405 modules/stitching/src/seam_finders.cpp subimg2.at<Point3f>(y + gap, x + gap) = img2.at<Point3f>(y2, x2); y 1406 modules/stitching/src/seam_finders.cpp submask2.at<uchar>(y + gap, x + gap) = mask2.at<uchar>(y2, x2); y 1407 modules/stitching/src/seam_finders.cpp subdx2.at<float>(y + gap, x + gap) = dx2.at<float>(y2, x2); y 1408 modules/stitching/src/seam_finders.cpp subdy2.at<float>(y + gap, x + gap) = dy2.at<float>(y2, x2); y 1412 modules/stitching/src/seam_finders.cpp subimg2.at<Point3f>(y + gap, x + gap) = Point3f(0, 0, 0); y 1413 modules/stitching/src/seam_finders.cpp submask2.at<uchar>(y + gap, x + gap) = 0; y 1414 modules/stitching/src/seam_finders.cpp subdx2.at<float>(y + gap, x + gap) = 0.f; y 1415 modules/stitching/src/seam_finders.cpp subdy2.at<float>(y + gap, x + gap) = 0.f; y 1446 modules/stitching/src/seam_finders.cpp for (int y = 0; y < roi.height; ++y) y 1450 modules/stitching/src/seam_finders.cpp if (labels(y + gap, x + gap)) y 1452 modules/stitching/src/seam_finders.cpp if (mask1.at<uchar>(roi.y - tl1.y + y, roi.x - tl1.x + x)) y 1453 modules/stitching/src/seam_finders.cpp mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x) = 0; y 1457 modules/stitching/src/seam_finders.cpp if (mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x)) y 1458 modules/stitching/src/seam_finders.cpp mask1.at<uchar>(roi.y - tl1.y + y, roi.x - tl1.x + x) = 0; y 1483 modules/stitching/src/seam_finders.cpp for (int y = 0; y < img_size.height; ++y) y 1487 modules/stitching/src/seam_finders.cpp float source = mask1.at<uchar>(y, x) ? terminal_cost_ : 0.f; y 1488 modules/stitching/src/seam_finders.cpp float sink = mask2.at<uchar>(y, x) ? terminal_cost_ : 0.f; y 1489 modules/stitching/src/seam_finders.cpp terminals_(y, x) = saturate_cast<int>((source - sink) * 255.f); y 1495 modules/stitching/src/seam_finders.cpp for (int y = 0; y < img_size.height; ++y) y 1501 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y, x - 1), img2.at<Point3f>(y, x - 1)) + y 1502 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + y 1504 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y, x - 1) || !mask1.at<uchar>(y, x) || y 1505 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y, x - 1) || !mask2.at<uchar>(y, x)) y 1507 modules/stitching/src/seam_finders.cpp leftT_(x, y) = saturate_cast<int>(weight * 255.f); y 1510 modules/stitching/src/seam_finders.cpp leftT_(x, y) = 0; y 1514 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + y 1515 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y, x + 1), img2.at<Point3f>(y, x + 1)) + y 1517 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y, x) || !mask1.at<uchar>(y, x + 1) || y 1518 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y, x) || !mask2.at<uchar>(y, x + 1)) y 1520 modules/stitching/src/seam_finders.cpp rightT_(x, y) = saturate_cast<int>(weight * 255.f); y 1523 modules/stitching/src/seam_finders.cpp rightT_(x, y) = 0; y 1525 modules/stitching/src/seam_finders.cpp if (y > 0) y 1527 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y - 1, x), img2.at<Point3f>(y - 1, x)) + y 1528 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + y 1530 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y - 1, x) || !mask1.at<uchar>(y, x) || y 1531 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y - 1, x) || !mask2.at<uchar>(y, x)) y 1533 modules/stitching/src/seam_finders.cpp top_(y, x) = saturate_cast<int>(weight * 255.f); y 1536 modules/stitching/src/seam_finders.cpp top_(y, x) = 0; y 1538 modules/stitching/src/seam_finders.cpp if (y < img_size.height - 1) y 1540 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + y 1541 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y + 1, x), img2.at<Point3f>(y + 1, x)) + y 1543 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y, x) || !mask1.at<uchar>(y + 1, x) || y 1544 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y, x) || !mask2.at<uchar>(y + 1, x)) y 1546 modules/stitching/src/seam_finders.cpp bottom_(y, x) = saturate_cast<int>(weight * 255.f); y 1549 modules/stitching/src/seam_finders.cpp bottom_(y, x) = 0; y 1575 modules/stitching/src/seam_finders.cpp for (int y = 0; y < img_size.height; ++y) y 1579 modules/stitching/src/seam_finders.cpp float source = mask1.at<uchar>(y, x) ? terminal_cost_ : 0.f; y 1580 modules/stitching/src/seam_finders.cpp float sink = mask2.at<uchar>(y, x) ? terminal_cost_ : 0.f; y 1581 modules/stitching/src/seam_finders.cpp terminals_(y, x) = saturate_cast<int>((source - sink) * 255.f); y 1587 modules/stitching/src/seam_finders.cpp for (int y = 0; y < img_size.height; ++y) y 1593 modules/stitching/src/seam_finders.cpp float grad = dx1.at<float>(y, x - 1) + dx1.at<float>(y, x) + y 1594 modules/stitching/src/seam_finders.cpp dx2.at<float>(y, x - 1) + dx2.at<float>(y, x) + weight_eps; y 1595 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y, x - 1), img2.at<Point3f>(y, x - 1)) + y 1596 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x))) / grad + y 1598 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y, x - 1) || !mask1.at<uchar>(y, x) || y 1599 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y, x - 1) || !mask2.at<uchar>(y, x)) y 1601 modules/stitching/src/seam_finders.cpp leftT_(x, y) = saturate_cast<int>(weight * 255.f); y 1604 modules/stitching/src/seam_finders.cpp leftT_(x, y) = 0; y 1608 modules/stitching/src/seam_finders.cpp float grad = dx1.at<float>(y, x) + dx1.at<float>(y, x + 1) + y 1609 modules/stitching/src/seam_finders.cpp dx2.at<float>(y, x) + dx2.at<float>(y, x + 1) + weight_eps; y 1610 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + y 1611 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y, x + 1), img2.at<Point3f>(y, x + 1))) / grad + y 1613 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y, x) || !mask1.at<uchar>(y, x + 1) || y 1614 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y, x) || !mask2.at<uchar>(y, x + 1)) y 1616 modules/stitching/src/seam_finders.cpp rightT_(x, y) = saturate_cast<int>(weight * 255.f); y 1619 modules/stitching/src/seam_finders.cpp rightT_(x, y) = 0; y 1621 modules/stitching/src/seam_finders.cpp if (y > 0) y 1623 modules/stitching/src/seam_finders.cpp float grad = dy1.at<float>(y - 1, x) + dy1.at<float>(y, x) + y 1624 modules/stitching/src/seam_finders.cpp dy2.at<float>(y - 1, x) + dy2.at<float>(y, x) + weight_eps; y 1625 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y - 1, x), img2.at<Point3f>(y - 1, x)) + y 1626 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x))) / grad + y 1628 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y - 1, x) || !mask1.at<uchar>(y, x) || y 1629 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y - 1, x) || !mask2.at<uchar>(y, x)) y 1631 modules/stitching/src/seam_finders.cpp top_(y, x) = saturate_cast<int>(weight * 255.f); y 1634 modules/stitching/src/seam_finders.cpp top_(y, x) = 0; y 1636 modules/stitching/src/seam_finders.cpp if (y < img_size.height - 1) y 1638 modules/stitching/src/seam_finders.cpp float grad = dy1.at<float>(y, x) + dy1.at<float>(y + 1, x) + y 1639 modules/stitching/src/seam_finders.cpp dy2.at<float>(y, x) + dy2.at<float>(y + 1, x) + weight_eps; y 1640 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + y 1641 modules/stitching/src/seam_finders.cpp normL2(img1.at<Point3f>(y + 1, x), img2.at<Point3f>(y + 1, x))) / grad + y 1643 modules/stitching/src/seam_finders.cpp if (!mask1.at<uchar>(y, x) || !mask1.at<uchar>(y + 1, x) || y 1644 modules/stitching/src/seam_finders.cpp !mask2.at<uchar>(y, x) || !mask2.at<uchar>(y + 1, x)) y 1646 modules/stitching/src/seam_finders.cpp bottom_(y, x) = saturate_cast<int>(weight * 255.f); y 1649 modules/stitching/src/seam_finders.cpp bottom_(y, x) = 0; y 436 modules/stitching/src/stitcher.cpp Point tl(cvRound(rois_[i][j].x * work_scale_), cvRound(rois_[i][j].y * work_scale_)); y 437 modules/stitching/src/stitcher.cpp Point br(cvRound(rois_[i][j].br().x * work_scale_), cvRound(rois_[i][j].br().y * work_scale_)); y 75 modules/stitching/src/timelapsers.cpp int dy = tl.y - dst_roi_.y; y 77 modules/stitching/src/timelapsers.cpp for (int y = 0; y < img.rows; ++y) y 79 modules/stitching/src/timelapsers.cpp const Point3_<short> *src_row = img.ptr<Point3_<short> >(y); y 83 modules/stitching/src/timelapsers.cpp if (test_point(Point(tl.x + x, tl.y + y))) y 85 modules/stitching/src/timelapsers.cpp Point3_<short> *dst_row = dst.ptr<Point3_<short> >(dy + y); y 104 modules/stitching/src/util.cpp int y_tl = std::max(tl1.y, tl2.y); y 106 modules/stitching/src/util.cpp int y_br = std::min(tl1.y + sz1.height, tl2.y + sz2.height); y 133 modules/stitching/src/util.cpp tl.y = std::min(tl.y, corners[i].y); y 135 modules/stitching/src/util.cpp br.y = std::max(br.y, corners[i].y + sizes[i].height); y 148 modules/stitching/src/util.cpp tl.y = std::max(tl.y, corners[i].y); y 150 modules/stitching/src/util.cpp br.y = std::min(br.y, corners[i].y + sizes[i].height); y 162 modules/stitching/src/util.cpp tl.y = std::min(tl.y, corners[i].y); y 86 modules/stitching/src/warpers.cpp projector_.mapForward(pt.x, pt.y, uv.x, uv.y); y 109 modules/stitching/src/warpers.cpp Size dsize(dst_br.x - dst_tl.x + 1, dst_br.y - dst_tl.y + 1); y 125 modules/stitching/src/warpers.cpp dst_tl.x, dst_tl.y, 1/projector_.scale, rowsPerWI); y 138 modules/stitching/src/warpers.cpp float x, y; y 139 modules/stitching/src/warpers.cpp for (int v = dst_tl.y; v <= dst_br.y; ++v) y 143 modules/stitching/src/warpers.cpp projector_.mapBackward(static_cast<float>(u), static_cast<float>(v), x, y); y 144 modules/stitching/src/warpers.cpp xmap.at<float>(v - dst_tl.y, u - dst_tl.x) = x; y 145 modules/stitching/src/warpers.cpp ymap.at<float>(v - dst_tl.y, u - dst_tl.x) = y; y 180 modules/stitching/src/warpers.cpp return Rect(dst_tl, Point(dst_br.x + 1, dst_br.y + 1)); y 217 modules/stitching/src/warpers.cpp dst_tl.y = static_cast<int>(tl_vf); y 219 modules/stitching/src/warpers.cpp dst_br.y = static_cast<int>(br_vf); y 228 modules/stitching/src/warpers.cpp float tl_vf = static_cast<float>(dst_tl.y); y 230 modules/stitching/src/warpers.cpp float br_vf = static_cast<float>(dst_br.y); y 233 modules/stitching/src/warpers.cpp float y = projector_.rinv[4]; y 235 modules/stitching/src/warpers.cpp if (y > 0.f) y 237 modules/stitching/src/warpers.cpp float x_ = (projector_.k[0] * x + projector_.k[1] * y) / z + projector_.k[2]; y 238 modules/stitching/src/warpers.cpp float y_ = projector_.k[4] * y / z + projector_.k[5]; y 247 modules/stitching/src/warpers.cpp y = -projector_.rinv[4]; y 249 modules/stitching/src/warpers.cpp if (y > 0.f) y 251 modules/stitching/src/warpers.cpp float x_ = (projector_.k[0] * x + projector_.k[1] * y) / z + projector_.k[2]; y 252 modules/stitching/src/warpers.cpp float y_ = projector_.k[4] * y / z + projector_.k[5]; y 261 modules/stitching/src/warpers.cpp dst_tl.y = static_cast<int>(tl_vf); y 263 modules/stitching/src/warpers.cpp dst_br.y = static_cast<int>(br_vf); y 271 modules/stitching/src/warpers.cpp float tl_vf = static_cast<float>(dst_tl.y); y 273 modules/stitching/src/warpers.cpp float br_vf = static_cast<float>(dst_br.y); y 276 modules/stitching/src/warpers.cpp float y = projector_.rinv[3]; y 278 modules/stitching/src/warpers.cpp if (y > 0.f) y 280 modules/stitching/src/warpers.cpp float x_ = (projector_.k[0] * x + projector_.k[1] * y) / z + projector_.k[2]; y 281 modules/stitching/src/warpers.cpp float y_ = projector_.k[4] * y / z + projector_.k[5]; y 290 modules/stitching/src/warpers.cpp y = -projector_.rinv[3]; y 292 modules/stitching/src/warpers.cpp if (y > 0.f) y 294 modules/stitching/src/warpers.cpp float x_ = (projector_.k[0] * x + projector_.k[1] * y) / z + projector_.k[2]; y 295 modules/stitching/src/warpers.cpp float y_ = projector_.k[4] * y / z + projector_.k[5]; y 304 modules/stitching/src/warpers.cpp dst_tl.y = static_cast<int>(tl_vf); y 306 modules/stitching/src/warpers.cpp dst_br.y = static_cast<int>(br_vf); y 324 modules/stitching/src/warpers.cpp Size dsize(dst_br.x - dst_tl.x + 1, dst_br.y - dst_tl.y + 1); y 332 modules/stitching/src/warpers.cpp ocl::KernelArg::PtrReadOnly(uk_rinv), dst_tl.x, dst_tl.y, 1/projector_.scale, rowsPerWI); y 372 modules/stitching/src/warpers.cpp Size dsize(dst_br.x - dst_tl.x + 1, dst_br.y - dst_tl.y + 1); y 380 modules/stitching/src/warpers.cpp ocl::KernelArg::PtrReadOnly(uk_rinv), dst_tl.x, dst_tl.y, 1/projector_.scale, y 93 modules/stitching/src/warpers_cuda.cpp device::imgproc::buildWarpPlaneMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<float>(), R_Kinv.ptr<float>(), y 119 modules/stitching/src/warpers_cuda.cpp device::imgproc::buildWarpSphericalMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<float>(), R_Kinv.ptr<float>(), scale, StreamAccessor::getStream(stream)); y 144 modules/stitching/src/warpers_cuda.cpp device::imgproc::buildWarpCylindricalMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<float>(), R_Kinv.ptr<float>(), scale, StreamAccessor::getStream(stream)); y 173 modules/stitching/src/warpers_cuda.cpp ::buildWarpPlaneMaps(src_size, Rect(dst_tl, Point(dst_br.x + 1, dst_br.y + 1)), y 226 modules/stitching/src/warpers_cuda.cpp ::buildWarpSphericalMaps(src_size, Rect(dst_tl, Point(dst_br.x + 1, dst_br.y + 1)), y 272 modules/stitching/src/warpers_cuda.cpp ::buildWarpCylindricalMaps(src_size, Rect(dst_tl, Point(dst_br.x + 1, dst_br.y + 1)), y 65 modules/stitching/test/test_matchers.cpp if (pt.x >= rois[0].x && pt.y >= rois[0].y && pt.x <= rois[0].br().x && pt.y <= rois[0].br().y) y 67 modules/stitching/test/test_matchers.cpp else if (pt.x >= rois[1].x && pt.y >= rois[1].y && pt.x <= rois[1].br().x && pt.y <= rois[1].br().y) y 208 modules/superres/src/btv_l1.cpp for (int y = 0; y < forwardMotion.rows; ++y) y 210 modules/superres/src/btv_l1.cpp const Point2f* forwardMotionRow = forwardMotion.ptr<Point2f>(y); y 211 modules/superres/src/btv_l1.cpp const Point2f* backwardMotionRow = backwardMotion.ptr<Point2f>(y); y 212 modules/superres/src/btv_l1.cpp Point2f* forwardMapRow = forwardMap.ptr<Point2f>(y); y 213 modules/superres/src/btv_l1.cpp Point2f* backwardMapRow = backwardMap.ptr<Point2f>(y); y 217 modules/superres/src/btv_l1.cpp Point2f base(static_cast<float>(x), static_cast<float>(y)); y 233 modules/superres/src/btv_l1.cpp for (int y = 0, Y = 0; y < src.rows; ++y, Y += scale) y 235 modules/superres/src/btv_l1.cpp const T * const srcRow = src.ptr<T>(y); y 297 modules/superres/src/btv_l1.cpp a.y > b.y ? 1.0f : a.y < b.y ? -1.0f : 0.0f, y 336 modules/superres/src/btv_l1.cpp for (int y = 0; y < src1.rows; ++y) y 338 modules/superres/src/btv_l1.cpp const float * const src1Ptr = src1.ptr<float>(y); y 339 modules/superres/src/btv_l1.cpp const float * const src2Ptr = src2.ptr<float>(y); y 340 modules/superres/src/btv_l1.cpp float* dstPtr = dst.ptr<float>(y); y 51 modules/superres/src/opencl/superres_btvl1.cl #define src_elem_at(_src, y, step, x) *(__global const float *)(_src + mad24(y, step, (x) * sz)) y 52 modules/superres/src/opencl/superres_btvl1.cl #define dst_elem_at(_dst, y, step, x) *(__global float *)(_dst + mad24(y, step, (x) * sz)) y 61 modules/superres/src/opencl/superres_btvl1.cl int y = get_global_id(1); y 63 modules/superres/src/opencl/superres_btvl1.cl if (x < cols && y < rows) y 65 modules/superres/src/opencl/superres_btvl1.cl int forwardMotion_index = mad24(forwardMotion_step, y, (int)sizeof(float2) * x + forwardMotion_offset); y 66 modules/superres/src/opencl/superres_btvl1.cl int backwardMotion_index = mad24(backwardMotion_step, y, (int)sizeof(float2) * x + backwardMotion_offset); y 67 modules/superres/src/opencl/superres_btvl1.cl int forwardMap_index = mad24(forwardMap_step, y, (int)sizeof(float2) * x + forwardMap_offset); y 68 modules/superres/src/opencl/superres_btvl1.cl int backwardMap_index = mad24(backwardMap_step, y, (int)sizeof(float2) * x + backwardMap_offset); y 75 modules/superres/src/opencl/superres_btvl1.cl float2 basePoint = (float2)(x, y); y 86 modules/superres/src/opencl/superres_btvl1.cl int y = get_global_id(1); y 88 modules/superres/src/opencl/superres_btvl1.cl if (x < src_cols && y < src_rows) y 90 modules/superres/src/opencl/superres_btvl1.cl int src_index = mad24(y, src_step, sz * x * cn + src_offset); y 91 modules/superres/src/opencl/superres_btvl1.cl int dst_index = mad24(y * scale, dst_step, sz * x * scale * cn + dst_offset); y 112 modules/superres/src/opencl/superres_btvl1.cl pos.y = a.y > b.y ? 1.0f : a.y < b.y ? -1.0f : 0.0f; y 122 modules/superres/src/opencl/superres_btvl1.cl int y = get_global_id(1); y 124 modules/superres/src/opencl/superres_btvl1.cl if (x < cols && y < rows) y 125 modules/superres/src/opencl/superres_btvl1.cl *(__global float *)(dst + mad24(y, dst_step, sz * x + dst_offset)) = y 126 modules/superres/src/opencl/superres_btvl1.cl diffSign1(*(__global const float *)(src1 + mad24(y, src1_step, sz * x + src1_offset)), y 127 modules/superres/src/opencl/superres_btvl1.cl *(__global const float *)(src2 + mad24(y, src2_step, sz * x + src2_offset))); y 135 modules/superres/src/opencl/superres_btvl1.cl int y = get_global_id(1) + ksize; y 137 modules/superres/src/opencl/superres_btvl1.cl if (y < dst_rows - ksize && x < dst_cols - ksize) y 142 modules/superres/src/opencl/superres_btvl1.cl const float srcVal = src_elem_at(src, y, src_step, x); y 148 modules/superres/src/opencl/superres_btvl1.cl dstVal += c_btvRegWeights[count] * (diffSign1(srcVal, src_elem_at(src, y + m, src_step, x + l)) y 149 modules/superres/src/opencl/superres_btvl1.cl - diffSign1(src_elem_at(src, y - m, src_step, x - l), srcVal)); y 152 modules/superres/src/opencl/superres_btvl1.cl dst_elem_at(dst, y, dst_step, x) = dstVal; y 154 modules/superres/src/opencl/superres_btvl1.cl __global const float * src0ptr = (__global const float *)(src + mad24(y, src_step, 3 * sz * x + src_offset)); y 161 modules/superres/src/opencl/superres_btvl1.cl __global const float * src1ptr = (__global const float *)(src + mad24(y + m, src_step, 3 * sz * (x + l) + src_offset)); y 162 modules/superres/src/opencl/superres_btvl1.cl __global const float * src2ptr = (__global const float *)(src + mad24(y - m, src_step, 3 * sz * (x - l) + src_offset)); y 171 modules/superres/src/opencl/superres_btvl1.cl __global float * dstptr = (__global float *)(dst + mad24(y, dst_step, 3 * sz * x + dst_offset + 0)); y 173 modules/superres/src/opencl/superres_btvl1.cl dstptr[1] = dstVal.y; y 123 modules/superres/test/test_superres.cpp for (int y = 0; y < mask.rows; ++y) y 126 modules/superres/test/test_superres.cpp mask(y, x) = 255; y 133 modules/ts/include/opencv2/ts/cuda_test.hpp EXPECT_NEAR(p1.y, p2.y, eps); \ y 138 modules/ts/include/opencv2/ts/cuda_test.hpp ASSERT_NEAR(p1.y, p2.y, eps); \ y 144 modules/ts/include/opencv2/ts/cuda_test.hpp EXPECT_NEAR(p1.y, p2.y, eps); \ y 150 modules/ts/include/opencv2/ts/cuda_test.hpp ASSERT_NEAR(p1.y, p2.y, eps); \ y 316 modules/ts/include/opencv2/ts/ocl_test.hpp u ## name ## _roi = u ## name(Rect(ofs.x, ofs.y, name ## _roi.size().width, name ## _roi.size().height)); \ y 198 modules/ts/include/opencv2/ts/ts_perf.hpp static double getElem(cv::Mat& m, int x, int y, int cn = 0); y 662 modules/ts/include/opencv2/ts/ts_perf.hpp (r1.x == r2.x && r1.y < r2.y) || y 663 modules/ts/include/opencv2/ts/ts_perf.hpp (r1.x == r2.x && r1.y == r2.y && r1.width < r2.width) || y 664 modules/ts/include/opencv2/ts/ts_perf.hpp (r1.x == r2.x && r1.y == r2.y && r1.width == r2.width && r1.height < r2.height); y 681 modules/ts/include/opencv2/ts/ts_perf.hpp if (kp1.pt.y < kp2.pt.y) return false; y 682 modules/ts/include/opencv2/ts/ts_perf.hpp if (kp1.pt.y > kp2.pt.y) return true; y 281 modules/ts/src/cuda_perf.cpp if (kp1.pt.y != kp2.pt.y) y 282 modules/ts/src/cuda_perf.cpp return kp1.pt.y < kp2.pt.y; y 234 modules/ts/src/cuda_test.cpp ostr << static_cast<OutT>(m.at<T>(p.y, p.x * cn)); y 237 modules/ts/src/cuda_test.cpp ostr << ", " << static_cast<OutT>(m.at<T>(p.y, p.x * cn + c)); y 273 modules/ts/src/cuda_test.cpp for (int y = 0; y < src.rows; ++y) y 275 modules/ts/src/cuda_test.cpp const schar* src_row = src.ptr<schar>(y); y 276 modules/ts/src/cuda_test.cpp const uchar* mask_row = mask.empty() ? 0 : mask.ptr<uchar>(y); y 287 modules/ts/src/cuda_test.cpp minLoc = cv::Point(x, y); y 293 modules/ts/src/cuda_test.cpp maxLoc = cv::Point(x, y); y 347 modules/ts/src/cuda_test.cpp << "\" is " << maxVal << " at (" << maxLoc.y << ", " << maxLoc.x / m1.channels() << ")" y 349 modules/ts/src/cuda_test.cpp << expr1 << "\" at (" << maxLoc.y << ", " << maxLoc.x / m1.channels() << ") evaluates to " << printMatVal(m1, maxLoc) << ", \"" y 350 modules/ts/src/cuda_test.cpp << expr2 << "\" at (" << maxLoc.y << ", " << maxLoc.x / m1.channels() << ") evaluates to " << printMatVal(m2, maxLoc) << ", \"" y 463 modules/ts/src/cuda_test.cpp return kp1.pt.y < kp2.pt.y || (kp1.pt.y == kp2.pt.y && kp1.pt.x < kp2.pt.x); y 185 modules/ts/src/ts_arrtest.cpp roi.y = randInt(rng) % (whole_size.height - size.height); y 599 modules/ts/src/ts_func.cpp for( int y = 0; y < dst.rows; y++ ) y 601 modules/ts/src/ts_func.cpp const _Tp* sptr = src.ptr<_Tp>(y); y 602 modules/ts/src/ts_func.cpp _Tp* dptr = dst.ptr<_Tp>(y); y 621 modules/ts/src/ts_func.cpp for( int y = 0; y < dst.rows; y++ ) y 623 modules/ts/src/ts_func.cpp const _Tp* sptr = src.ptr<_Tp>(y); y 624 modules/ts/src/ts_func.cpp _Tp* dptr = dst.ptr<_Tp>(y); y 654 modules/ts/src/ts_func.cpp copyMakeBorder(_src, src, anchor.y, kernel.rows - anchor.y - 1, y 666 modules/ts/src/ts_func.cpp ofs.push_back(anchor.y*step + anchor.x*cn); y 711 modules/ts/src/ts_func.cpp copyMakeBorder(_src, src, anchor.y, kernel.rows - anchor.y - 1, y 723 modules/ts/src/ts_func.cpp ofs.push_back(anchor.y*step + anchor.x*cn); y 761 modules/ts/src/ts_func.cpp for( int y = 0; y < dst.rows; y++ ) y 763 modules/ts/src/ts_func.cpp const _Tp* sptr = src.ptr<_Tp>(y); y 764 modules/ts/src/ts_func.cpp double* dptr = dst.ptr<double>(y); y 787 modules/ts/src/ts_func.cpp copyMakeBorder(_src, src, anchor.y, kernel.rows - anchor.y - 1, y 2790 modules/ts/src/ts_func.cpp double y = (v - cyn)*ify; y 2791 modules/ts/src/ts_func.cpp double x2 = x*x, y2 = y*y; y 2794 modules/ts/src/ts_func.cpp double x1 = x*cdist + k[2]*2*x*y + k[3]*(r2 + 2*x2); y 2795 modules/ts/src/ts_func.cpp double y1 = y*cdist + k[3]*2*x*y + k[2]*(r2 + 2*y2); y 300 modules/ts/src/ts_perf.cpp double Regression::getElem(cv::Mat& m, int y, int x, int cn) y 304 modules/ts/src/ts_perf.cpp case CV_8U: return *(m.ptr<unsigned char>(y, x) + cn); y 305 modules/ts/src/ts_perf.cpp case CV_8S: return *(m.ptr<signed char>(y, x) + cn); y 306 modules/ts/src/ts_perf.cpp case CV_16U: return *(m.ptr<unsigned short>(y, x) + cn); y 307 modules/ts/src/ts_perf.cpp case CV_16S: return *(m.ptr<signed short>(y, x) + cn); y 308 modules/ts/src/ts_perf.cpp case CV_32S: return *(m.ptr<signed int>(y, x) + cn); y 309 modules/ts/src/ts_perf.cpp case CV_32F: return *(m.ptr<float>(y, x) + cn); y 310 modules/ts/src/ts_perf.cpp case CV_64F: return *(m.ptr<double>(y, x) + cn); y 326 modules/ts/src/ts_perf.cpp int x, y, cn; y 328 modules/ts/src/ts_perf.cpp y = regRNG.uniform(0, m.size.p[0]); y 330 modules/ts/src/ts_perf.cpp write() << "rng1" << "{" << "x" << x << "y" << y; y 332 modules/ts/src/ts_perf.cpp write() << "val" << getElem(m, y, x, cn) << "}"; y 335 modules/ts/src/ts_perf.cpp y = regRNG.uniform(0, m.size.p[0]); y 337 modules/ts/src/ts_perf.cpp write() << "rng2" << "{" << "x" << x << "y" << y; y 339 modules/ts/src/ts_perf.cpp write() << "val" << getElem(m, y, x, cn) << "}"; y 23 modules/video/perf/perf_optflowpyrlk.cpp for( int y = stepY / 2; y < height; y += stepY ) y 25 modules/video/perf/perf_optflowpyrlk.cpp Point2f pt(static_cast<float>(x), static_cast<float>(y)); y 511 modules/video/src/bgfg_KNN.cpp for (long y = 0; y < _src.rows; y++) y 515 modules/video/src/bgfg_KNN.cpp const uchar* data = _src.ptr((int)y, (int)x); y 542 modules/video/src/bgfg_KNN.cpp *_dst.ptr((int)y, (int)x) = 255; y 546 modules/video/src/bgfg_KNN.cpp *_dst.ptr((int)y, (int)x) = 0; y 550 modules/video/src/bgfg_KNN.cpp *_dst.ptr((int)y, (int)x) = nShadowDetection; y 560 modules/video/src/bgfg_gaussmix2.cpp for( int y = y0; y < y1; y++ ) y 564 modules/video/src/bgfg_gaussmix2.cpp src->row(y).convertTo(Mat(1, ncols, CV_32FC(nchannels), (void*)data), CV_32F); y 566 modules/video/src/bgfg_gaussmix2.cpp data = src->ptr<float>(y); y 568 modules/video/src/bgfg_gaussmix2.cpp float* mean = mean0 + ncols*nmixtures*nchannels*y; y 569 modules/video/src/bgfg_gaussmix2.cpp GMM* gmm = gmm0 + ncols*nmixtures*y; y 570 modules/video/src/bgfg_gaussmix2.cpp uchar* modesUsed = modesUsed0 + ncols*y; y 571 modules/video/src/bgfg_gaussmix2.cpp uchar* mask = dst->ptr(y); y 76 modules/video/src/camshift.cpp cur_rect.y = size.height/2; y 91 modules/video/src/camshift.cpp int ny = std::min(std::max(cur_rect.y + dy, 0), size.height - cur_rect.height); y 94 modules/video/src/camshift.cpp dy = ny - cur_rect.y; y 96 modules/video/src/camshift.cpp cur_rect.y = ny; y 128 modules/video/src/camshift.cpp window.y -= TOLERANCE; y 129 modules/video/src/camshift.cpp if( window.y < 0 ) y 130 modules/video/src/camshift.cpp window.y = 0; y 137 modules/video/src/camshift.cpp if( window.y + window.height > size.height ) y 138 modules/video/src/camshift.cpp window.height = size.height - window.y; y 151 modules/video/src/camshift.cpp int yc = cvRound( m01 * inv_m00 + window.y ); y 194 modules/video/src/camshift.cpp window.y = MAX( 0, _yc - window.height / 2 ); y 197 modules/video/src/camshift.cpp window.height = MIN( size.height - window.y, window.height ); y 209 modules/video/src/camshift.cpp box.center = Point2f( window.x + window.width*0.5f, window.y + window.height*0.5f); y 65 modules/video/src/lkpyramid.cpp int x, y, delta = (int)alignSize((cols + 2)*cn, 16); y 81 modules/video/src/lkpyramid.cpp for( y = 0; y < rows; y++ ) y 83 modules/video/src/lkpyramid.cpp const uchar* srow0 = src.ptr<uchar>(y > 0 ? y-1 : rows > 1 ? 1 : 0); y 84 modules/video/src/lkpyramid.cpp const uchar* srow1 = src.ptr<uchar>(y); y 85 modules/video/src/lkpyramid.cpp const uchar* srow2 = src.ptr<uchar>(y < rows-1 ? y+1 : rows > 1 ? rows-2 : 0); y 86 modules/video/src/lkpyramid.cpp deriv_type* drow = dst.ptr<deriv_type>(y); y 256 modules/video/src/lkpyramid.cpp iprevPt.y = cvFloor(prevPt.y); y 259 modules/video/src/lkpyramid.cpp iprevPt.y < -winSize.height || iprevPt.y >= derivI.rows ) y 272 modules/video/src/lkpyramid.cpp float b = prevPt.y - iprevPt.y; y 311 modules/video/src/lkpyramid.cpp int x, y; y 312 modules/video/src/lkpyramid.cpp for( y = 0; y < winSize.height; y++ ) y 314 modules/video/src/lkpyramid.cpp const uchar* src = I.ptr() + (y + iprevPt.y)*stepI + iprevPt.x*cn; y 315 modules/video/src/lkpyramid.cpp const deriv_type* dsrc = derivI.ptr<deriv_type>() + (y + iprevPt.y)*dstep + iprevPt.x*cn2; y 317 modules/video/src/lkpyramid.cpp deriv_type* Iptr = IWinBuf.ptr<deriv_type>(y); y 318 modules/video/src/lkpyramid.cpp deriv_type* dIptr = derivIWinBuf.ptr<deriv_type>(y); y 508 modules/video/src/lkpyramid.cpp inextPt.y = cvFloor(nextPt.y); y 511 modules/video/src/lkpyramid.cpp inextPt.y < -winSize.height || inextPt.y >= J.rows ) y 519 modules/video/src/lkpyramid.cpp b = nextPt.y - inextPt.y; y 542 modules/video/src/lkpyramid.cpp for( y = 0; y < winSize.height; y++ ) y 544 modules/video/src/lkpyramid.cpp const uchar* Jptr = J.ptr() + (y + inextPt.y)*stepJ + inextPt.x*cn; y 545 modules/video/src/lkpyramid.cpp const deriv_type* Iptr = IWinBuf.ptr<deriv_type>(y); y 546 modules/video/src/lkpyramid.cpp const deriv_type* dIptr = derivIWinBuf.ptr<deriv_type>(y); y 694 modules/video/src/lkpyramid.cpp std::abs(delta.y + prevDelta.y) < 0.01 ) y 708 modules/video/src/lkpyramid.cpp inextPoint.y = cvFloor(nextPoint.y); y 711 modules/video/src/lkpyramid.cpp inextPoint.y < -winSize.height || inextPoint.y >= J.rows ) y 719 modules/video/src/lkpyramid.cpp float bb = nextPoint.y - inextPoint.y; y 726 modules/video/src/lkpyramid.cpp for( y = 0; y < winSize.height; y++ ) y 728 modules/video/src/lkpyramid.cpp const uchar* Jptr = J.ptr() + (y + inextPoint.y)*stepJ + inextPoint.x*cn; y 729 modules/video/src/lkpyramid.cpp const deriv_type* Iptr = IWinBuf.ptr<deriv_type>(y); y 762 modules/video/src/lkpyramid.cpp if (ofs.x >= winSize.width && ofs.y >= winSize.height y 764 modules/video/src/lkpyramid.cpp && ofs.y + img.rows + winSize.height <= wholeSize.height) y 846 modules/video/src/lkpyramid.cpp unsigned int x, y, z; y 847 modules/video/src/lkpyramid.cpp dim3() : x(0), y(0), z(0) { } y 871 modules/video/src/lkpyramid.cpp if (patch.x <= 0 || patch.x >= 6 || patch.y <= 0 || patch.y >= 6) y 961 modules/video/src/lkpyramid.cpp block.y = 8; y 966 modules/video/src/lkpyramid.cpp block.y = 16; y 970 modules/video/src/lkpyramid.cpp patch.y = (winSize.height + block.y - 1) / block.y; y 1007 modules/video/src/lkpyramid.cpp idxArg = kernel.set(idxArg, (int)patch.y); // int PATCH_Y y 1171 modules/video/src/lkpyramid.cpp CV_Assert(ofs.x >= winSize.width && ofs.y >= winSize.height y 1173 modules/video/src/lkpyramid.cpp && ofs.y + prevPyr[lvlStep1].rows + winSize.height <= fullSize.height); y 1199 modules/video/src/lkpyramid.cpp CV_Assert(ofs.x >= winSize.width && ofs.y >= winSize.height y 1201 modules/video/src/lkpyramid.cpp && ofs.y + nextPyr[lvlStep2].rows + winSize.height <= fullSize.height); y 1279 modules/video/src/lkpyramid.cpp sa[0][1] += a[i].y*a[i].x; y 1282 modules/video/src/lkpyramid.cpp sa[1][1] += a[i].y*a[i].y; y 1283 modules/video/src/lkpyramid.cpp sa[1][2] += a[i].y; y 1288 modules/video/src/lkpyramid.cpp sb[1] += a[i].y*b[i].x; y 1290 modules/video/src/lkpyramid.cpp sb[3] += a[i].x*b[i].y; y 1291 modules/video/src/lkpyramid.cpp sb[4] += a[i].y*b[i].y; y 1292 modules/video/src/lkpyramid.cpp sb[5] += b[i].y; y 1313 modules/video/src/lkpyramid.cpp sa[0][0] += a[i].x*a[i].x + a[i].y*a[i].y; y 1315 modules/video/src/lkpyramid.cpp sa[0][3] += a[i].y; y 1318 modules/video/src/lkpyramid.cpp sa[2][1] += -a[i].y; y 1321 modules/video/src/lkpyramid.cpp sa[3][0] += a[i].y; y 1325 modules/video/src/lkpyramid.cpp sb[0] += a[i].x*b[i].x + a[i].y*b[i].y; y 1326 modules/video/src/lkpyramid.cpp sb[1] += a[i].x*b[i].y - a[i].y*b[i].x; y 1328 modules/video/src/lkpyramid.cpp sb[3] += b[i].y; y 1431 modules/video/src/lkpyramid.cpp pA[k].y = (i+0.5f)*sz1.height/count_y; y 1484 modules/video/src/lkpyramid.cpp fabs(pA[idx[i]].y - pA[idx[j]].y) < FLT_EPSILON ) y 1487 modules/video/src/lkpyramid.cpp fabs(pB[idx[i]].y - pB[idx[j]].y) < FLT_EPSILON ) y 1505 modules/video/src/lkpyramid.cpp double dax1 = a[1].x - a[0].x, day1 = a[1].y - a[0].y; y 1506 modules/video/src/lkpyramid.cpp double dax2 = a[2].x - a[0].x, day2 = a[2].y - a[0].y; y 1507 modules/video/src/lkpyramid.cpp double dbx1 = b[1].x - b[0].x, dby1 = b[1].y - b[0].y; y 1508 modules/video/src/lkpyramid.cpp double dbx2 = b[2].x - b[0].x, dby2 = b[2].y - b[0].y; y 1531 modules/video/src/lkpyramid.cpp if( std::abs( m[0]*pA[i].x + m[1]*pA[i].y + m[2] - pB[i].x ) + y 1532 modules/video/src/lkpyramid.cpp std::abs( m[3]*pA[i].x + m[4]*pA[i].y + m[5] - pB[i].y ) < std::max(brect.width,brect.height)*0.05 ) y 23 modules/video/src/opencl/bgfg_mog2.cl b[1] = convert_uchar_sat(a.y); \ y 28 modules/video/src/opencl/bgfg_mog2.cl b.y = a[1]; \ y 34 modules/video/src/opencl/bgfg_mog2.cl return (val.x + val.y + val.z); y 54 modules/video/src/opencl/bgfg_mog2.cl int y = get_global_id(1); y 56 modules/video/src/opencl/bgfg_mog2.cl if( x < frame_col && y < frame_row) y 58 modules/video/src/opencl/bgfg_mog2.cl __global const uchar* _frame = (frame + mad24(y, frame_step, mad24(x, CN, frame_offset))); y 66 modules/video/src/opencl/bgfg_mog2.cl int pt_idx = mad24(y, frame_col, x); y 225 modules/video/src/opencl/bgfg_mog2.cl __global uchar* _fgmask = fgmask + mad24(y, fgmask_step, x + fgmask_offset); y 237 modules/video/src/opencl/bgfg_mog2.cl int y = get_global_id(1); y 239 modules/video/src/opencl/bgfg_mog2.cl if(x < dst_col && y < dst_row) y 241 modules/video/src/opencl/bgfg_mog2.cl int pt_idx = mad24(y, dst_col, x); y 270 modules/video/src/opencl/bgfg_mog2.cl __global uchar* _dst = dst + mad24(y, dst_step, mad24(x, CN, dst_offset)); y 81 modules/video/src/opencl/optical_flow_farneback.cl const int y = get_global_id(1); y 87 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows && y >= 0) y 91 modules/video/src/opencl/optical_flow_farneback.cl row[0] = src[mad24(y, srcStep, xWarped)] * c_g[0]; y 98 modules/video/src/opencl/optical_flow_farneback.cl float t0 = src[mad24(max(y - k, 0), srcStep, xWarped)]; y 99 modules/video/src/opencl/optical_flow_farneback.cl float t1 = src[mad24(min(y + k, rows - 1), srcStep, xWarped)]; y 109 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows && y >= 0 && tx >= polyN && tx + polyN < bdx && x < cols) y 127 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(y, dstStep, xWarped)] = (float)(b3*ig.s0); y 128 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(rows + y, dstStep, xWarped)] = (float)(b2*ig.s0); y 129 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(2*rows + y, dstStep, xWarped)] = (float)(b1*ig.s1 + b5*ig.s2); y 130 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(3*rows + y, dstStep, xWarped)] = (float)(b1*ig.s1 + b4*ig.s2); y 131 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(4*rows + y, dstStep, xWarped)] = (float)(b6*ig.s3); y 135 modules/video/src/opencl/optical_flow_farneback.cl inline int idx_row_low(const int y, const int last_row) y 137 modules/video/src/opencl/optical_flow_farneback.cl return abs(y) % (last_row + 1); y 140 modules/video/src/opencl/optical_flow_farneback.cl inline int idx_row_high(const int y, const int last_row) y 142 modules/video/src/opencl/optical_flow_farneback.cl return abs(last_row - abs(last_row - y)) % (last_row + 1); y 165 modules/video/src/opencl/optical_flow_farneback.cl const int y = get_global_id(1); y 170 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows) y 177 modules/video/src/opencl/optical_flow_farneback.cl row[i] = src[mad24(y, srcStep, xExt)] * c_gKer[0]; y 179 modules/video/src/opencl/optical_flow_farneback.cl row[i] += (src[mad24(idx_row_low(y - j, rows - 1), srcStep, xExt)] y 180 modules/video/src/opencl/optical_flow_farneback.cl + src[mad24(idx_row_high(y + j, rows - 1), srcStep, xExt)]) * c_gKer[j]; y 186 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows && y >= 0 && x < cols && x >= 0) y 194 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(y, dstStep, x)] = res; y 204 modules/video/src/opencl/optical_flow_farneback.cl const int y = get_global_id(1); y 210 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows) y 220 modules/video/src/opencl/optical_flow_farneback.cl row[k*smw + i] = src[mad24(k*rows + y, srcStep, xExt)] * c_gKer[0]; y 226 modules/video/src/opencl/optical_flow_farneback.cl (src[mad24(k*rows + idx_row_low(y - j, rows - 1), srcStep, xExt)] + y 227 modules/video/src/opencl/optical_flow_farneback.cl src[mad24(k*rows + idx_row_high(y + j, rows - 1), srcStep, xExt)]) * c_gKer[j]; y 233 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows && y >= 0 && x < cols && x >= 0) y 251 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(k*rows + y, dstStep, x)] = res[k]; y 263 modules/video/src/opencl/optical_flow_farneback.cl const int y = get_global_id(1); y 266 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows && y >= 0 && x < cols && x >= 0) y 268 modules/video/src/opencl/optical_flow_farneback.cl float dx = flowx[mad24(y, xStep, x)]; y 269 modules/video/src/opencl/optical_flow_farneback.cl float dy = flowy[mad24(y, yStep, x)]; y 271 modules/video/src/opencl/optical_flow_farneback.cl float fy = y + dy; y 312 modules/video/src/opencl/optical_flow_farneback.cl r4 = (R0[mad24(2*rows + y, R0Step, x)] + r4) * 0.5f; y 313 modules/video/src/opencl/optical_flow_farneback.cl r5 = (R0[mad24(3*rows + y, R0Step, x)] + r5) * 0.5f; y 314 modules/video/src/opencl/optical_flow_farneback.cl r6 = (R0[mad24(4*rows + y, R0Step, x)] + r6) * 0.25f; y 319 modules/video/src/opencl/optical_flow_farneback.cl r4 = R0[mad24(2*rows + y, R0Step, x)]; y 320 modules/video/src/opencl/optical_flow_farneback.cl r5 = R0[mad24(3*rows + y, R0Step, x)]; y 321 modules/video/src/opencl/optical_flow_farneback.cl r6 = R0[mad24(4*rows + y, R0Step, x)] * 0.5f; y 324 modules/video/src/opencl/optical_flow_farneback.cl r2 = (R0[mad24(y, R0Step, x)] - r2) * 0.5f; y 325 modules/video/src/opencl/optical_flow_farneback.cl r3 = (R0[mad24(rows + y, R0Step, x)] - r3) * 0.5f; y 332 modules/video/src/opencl/optical_flow_farneback.cl c_border[min(y, BORDER_SIZE)] * y 334 modules/video/src/opencl/optical_flow_farneback.cl c_border[min(rows - y - 1, BORDER_SIZE)]; y 342 modules/video/src/opencl/optical_flow_farneback.cl M[mad24(y, mStep, x)] = r4*r4 + r6*r6; y 343 modules/video/src/opencl/optical_flow_farneback.cl M[mad24(rows + y, mStep, x)] = (r4 + r5)*r6; y 344 modules/video/src/opencl/optical_flow_farneback.cl M[mad24(2*rows + y, mStep, x)] = r5*r5 + r6*r6; y 345 modules/video/src/opencl/optical_flow_farneback.cl M[mad24(3*rows + y, mStep, x)] = r4*r2 + r6*r3; y 346 modules/video/src/opencl/optical_flow_farneback.cl M[mad24(4*rows + y, mStep, x)] = r6*r2 + r5*r3; y 356 modules/video/src/opencl/optical_flow_farneback.cl const int y = get_global_id(1); y 363 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows) y 373 modules/video/src/opencl/optical_flow_farneback.cl row[k*smw + i] = src[mad24(k*rows + y, srcStep, xExt)]; y 379 modules/video/src/opencl/optical_flow_farneback.cl src[mad24(k*rows + max(y - j, 0), srcStep, xExt)] + y 380 modules/video/src/opencl/optical_flow_farneback.cl src[mad24(k*rows + min(y + j, rows - 1), srcStep, xExt)]; y 386 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows && y >= 0 && x < cols && x >= 0) y 404 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(k*rows + y, dstStep, x)] = res[k] * boxAreaInv; y 413 modules/video/src/opencl/optical_flow_farneback.cl const int y = get_global_id(1); y 416 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows && y >= 0 && x < cols && x >= 0) y 418 modules/video/src/opencl/optical_flow_farneback.cl float g11 = M[mad24(y, mStep, x)]; y 419 modules/video/src/opencl/optical_flow_farneback.cl float g12 = M[mad24(rows + y, mStep, x)]; y 420 modules/video/src/opencl/optical_flow_farneback.cl float g22 = M[mad24(2*rows + y, mStep, x)]; y 421 modules/video/src/opencl/optical_flow_farneback.cl float h1 = M[mad24(3*rows + y, mStep, x)]; y 422 modules/video/src/opencl/optical_flow_farneback.cl float h2 = M[mad24(4*rows + y, mStep, x)]; y 426 modules/video/src/opencl/optical_flow_farneback.cl flowx[mad24(y, xStep, x)] = (g11*h2 - g12*h1) * detInv; y 427 modules/video/src/opencl/optical_flow_farneback.cl flowy[mad24(y, yStep, x)] = (g22*h1 - g12*h2) * detInv; y 50 modules/video/src/opencl/optical_flow_tvl1.cl int y = get_global_id(1); y 52 modules/video/src/opencl/optical_flow_tvl1.cl if((x < src_col)&&(y < src_row)) y 56 modules/video/src/opencl/optical_flow_tvl1.cl dx[y * d_step+ x] = 0.5f * (src_ptr[y * src_step + src_x1] - src_ptr[y * src_step+ src_x2]); y 58 modules/video/src/opencl/optical_flow_tvl1.cl int src_y1 = (y+1) < (src_row - 1) ? (y + 1) : (src_row - 1); y 59 modules/video/src/opencl/optical_flow_tvl1.cl int src_y2 = (y - 1) > 0 ? (y - 1) : 0; y 60 modules/video/src/opencl/optical_flow_tvl1.cl dy[y * d_step+ x] = 0.5f * (src_ptr[src_y1 * src_step + x] - src_ptr[src_y2 * src_step+ x]); y 94 modules/video/src/opencl/optical_flow_tvl1.cl int y = get_global_id(1); y 96 modules/video/src/opencl/optical_flow_tvl1.cl if(x < I0_col&&y < I0_row) y 99 modules/video/src/opencl/optical_flow_tvl1.cl float u1Val = u1[(y + u1_offset_y) * u1_step + x + u1_offset_x]; y 101 modules/video/src/opencl/optical_flow_tvl1.cl float u2Val = u2[(y + u2_offset_y) * u2_step + x + u2_offset_x]; y 104 modules/video/src/opencl/optical_flow_tvl1.cl float wy = y + u2Val; y 136 modules/video/src/opencl/optical_flow_tvl1.cl I1w[y * I1w_step + x] = I1wVal; y 137 modules/video/src/opencl/optical_flow_tvl1.cl I1wx[y * I1w_step + x] = I1wxVal; y 138 modules/video/src/opencl/optical_flow_tvl1.cl I1wy[y * I1w_step + x] = I1wyVal; y 143 modules/video/src/opencl/optical_flow_tvl1.cl grad[y * I1w_step + x] = Ix2 + Iy2; y 146 modules/video/src/opencl/optical_flow_tvl1.cl float I0Val = I0[y * I0_step + x]; y 147 modules/video/src/opencl/optical_flow_tvl1.cl rho[y * I1w_step + x] = I1wVal - I1wxVal * u1Val - I1wyVal * u2Val - I0Val; y 151 modules/video/src/opencl/optical_flow_tvl1.cl inline float readImage(__global float *image, int x, int y, int rows, int cols, int elemCntPerRow) y 154 modules/video/src/opencl/optical_flow_tvl1.cl int j0 = clamp(y, 0, rows - 1); y 174 modules/video/src/opencl/optical_flow_tvl1.cl int y = get_global_id(1); y 176 modules/video/src/opencl/optical_flow_tvl1.cl if(x < I0_col&&y < I0_row) y 179 modules/video/src/opencl/optical_flow_tvl1.cl float u1Val = u1[y * u1_step + x]; y 181 modules/video/src/opencl/optical_flow_tvl1.cl float u2Val = u2[y * u2_step + x]; y 184 modules/video/src/opencl/optical_flow_tvl1.cl float wy = y + u2Val; y 204 modules/video/src/opencl/optical_flow_tvl1.cl sum += w * readImage(tex_I1, cood.x, cood.y, I0_col, I0_row, I1_step); y 205 modules/video/src/opencl/optical_flow_tvl1.cl sumx += w * readImage(tex_I1x, cood.x, cood.y, I0_col, I0_row, I1x_step); y 206 modules/video/src/opencl/optical_flow_tvl1.cl sumy += w * readImage(tex_I1y, cood.x, cood.y, I0_col, I0_row, I1x_step); y 217 modules/video/src/opencl/optical_flow_tvl1.cl I1w[y * I1w_step + x] = I1wVal; y 218 modules/video/src/opencl/optical_flow_tvl1.cl I1wx[y * I1w_step + x] = I1wxVal; y 219 modules/video/src/opencl/optical_flow_tvl1.cl I1wy[y * I1w_step + x] = I1wyVal; y 225 modules/video/src/opencl/optical_flow_tvl1.cl grad[y * I1w_step + x] = Ix2 + Iy2; y 228 modules/video/src/opencl/optical_flow_tvl1.cl float I0Val = I0[y * I0_step + x]; y 229 modules/video/src/opencl/optical_flow_tvl1.cl rho[y * I1w_step + x] = I1wVal - I1wxVal * u1Val - I1wyVal * u2Val - I0Val; y 249 modules/video/src/opencl/optical_flow_tvl1.cl int y = get_global_id(1); y 251 modules/video/src/opencl/optical_flow_tvl1.cl if(x < u1_col && y < u1_row) y 254 modules/video/src/opencl/optical_flow_tvl1.cl float u1x = u1[(y + u1_offset_y) * u1_step + src_x1 + u1_offset_x] - u1[(y + u1_offset_y) * u1_step + x + u1_offset_x]; y 256 modules/video/src/opencl/optical_flow_tvl1.cl int src_y1 = (y + 1) < (u1_row - 1) ? (y + 1) : (u1_row - 1); y 257 modules/video/src/opencl/optical_flow_tvl1.cl float u1y = u1[(src_y1 + u1_offset_y) * u1_step + x + u1_offset_x] - u1[(y + u1_offset_y) * u1_step + x + u1_offset_x]; y 260 modules/video/src/opencl/optical_flow_tvl1.cl float u2x = u2[(y + u2_offset_y) * u2_step + src_x2 + u2_offset_x] - u2[(y + u2_offset_y) * u2_step + x + u2_offset_x]; y 262 modules/video/src/opencl/optical_flow_tvl1.cl int src_y2 = (y + 1) < (u1_row - 1) ? (y + 1) : (u1_row - 1); y 263 modules/video/src/opencl/optical_flow_tvl1.cl float u2y = u2[(src_y2 + u2_offset_y) * u2_step + x + u2_offset_x] - u2[(y + u2_offset_y) * u2_step + x + u2_offset_x]; y 271 modules/video/src/opencl/optical_flow_tvl1.cl p11[y * p11_step + x] = (p11[y * p11_step + x] + taut * u1x) / ng1; y 272 modules/video/src/opencl/optical_flow_tvl1.cl p12[y * p11_step + x] = (p12[y * p11_step + x] + taut * u1y) / ng1; y 273 modules/video/src/opencl/optical_flow_tvl1.cl p21[y * p11_step + x] = (p21[y * p11_step + x] + taut * u2x) / ng2; y 274 modules/video/src/opencl/optical_flow_tvl1.cl p22[y * p11_step + x] = (p22[y * p11_step + x] + taut * u2y) / ng2; y 279 modules/video/src/opencl/optical_flow_tvl1.cl inline float divergence(__global const float* v1, __global const float* v2, int y, int x, int v1_step, int v2_step) y 282 modules/video/src/opencl/optical_flow_tvl1.cl if (x > 0 && y > 0) y 284 modules/video/src/opencl/optical_flow_tvl1.cl float v1x = v1[y * v1_step + x] - v1[y * v1_step + x - 1]; y 285 modules/video/src/opencl/optical_flow_tvl1.cl float v2y = v2[y * v2_step + x] - v2[(y - 1) * v2_step + x]; y 290 modules/video/src/opencl/optical_flow_tvl1.cl if (y > 0) y 291 modules/video/src/opencl/optical_flow_tvl1.cl return v1[y * v1_step + 0] + v2[y * v2_step + 0] - v2[(y - 1) * v2_step + 0]; y 321 modules/video/src/opencl/optical_flow_tvl1.cl int y = get_global_id(1); y 323 modules/video/src/opencl/optical_flow_tvl1.cl if(x < I1wx_col && y < I1wx_row) y 325 modules/video/src/opencl/optical_flow_tvl1.cl float I1wxVal = I1wx[y * I1wx_step + x]; y 326 modules/video/src/opencl/optical_flow_tvl1.cl float I1wyVal = I1wy[y * I1wx_step + x]; y 327 modules/video/src/opencl/optical_flow_tvl1.cl float gradVal = grad[y * I1wx_step + x]; y 328 modules/video/src/opencl/optical_flow_tvl1.cl float u1OldVal = u1[(y + u1_offset_y) * u1_step + x + u1_offset_x]; y 329 modules/video/src/opencl/optical_flow_tvl1.cl float u2OldVal = u2[(y + u2_offset_y) * u2_step + x + u2_offset_x]; y 331 modules/video/src/opencl/optical_flow_tvl1.cl float rho = rho_c[y * I1wx_step + x] + (I1wxVal * u1OldVal + I1wyVal * u2OldVal); y 360 modules/video/src/opencl/optical_flow_tvl1.cl float div_p1 = divergence(p11, p12, y, x, I1wx_step, I1wx_step); y 361 modules/video/src/opencl/optical_flow_tvl1.cl float div_p2 = divergence(p21, p22, y, x, I1wx_step, I1wx_step); y 368 modules/video/src/opencl/optical_flow_tvl1.cl u1[(y + u1_offset_y) * u1_step + x + u1_offset_x] = u1NewVal; y 369 modules/video/src/opencl/optical_flow_tvl1.cl u2[(y + u2_offset_y) * u2_step + x + u2_offset_x] = u2NewVal; y 375 modules/video/src/opencl/optical_flow_tvl1.cl error[y * I1wx_step + x] = n1 + n2; y 150 modules/video/src/opencl/pyrlk.cl smem1[0] = t14.x+t14.y+t14.z+t14.w; y 151 modules/video/src/opencl/pyrlk.cl smem2[0] = t24.x+t24.y+t24.z+t24.w; y 152 modules/video/src/opencl/pyrlk.cl smem3[0] = t34.x+t34.y+t34.z+t34.w; y 187 modules/video/src/opencl/pyrlk.cl smem1[0] = t14.x+t14.y+t14.z+t14.w; y 188 modules/video/src/opencl/pyrlk.cl smem2[0] = t24.x+t24.y+t24.z+t24.w; y 217 modules/video/src/opencl/pyrlk.cl smem1[0] = t14.x+t14.y+t14.z+t14.w; y 255 modules/video/src/opencl/pyrlk.cl inline void GetPatch(image2d_t J, float x, float y, y 259 modules/video/src/opencl/pyrlk.cl float J_val = read_imagef(J, sampler, (float2)(x, y)).x; y 265 modules/video/src/opencl/pyrlk.cl inline void GetError(image2d_t J, const float x, const float y, const float* Pch, float* errval) y 267 modules/video/src/opencl/pyrlk.cl float diff = read_imagef(J, sampler, (float2)(x,y)).x-*Pch; y 273 modules/video/src/opencl/pyrlk.cl #define READI(_y,_x) IPatchLocal[(yid+((_y)*LSy))*LM_W+(xid+((_x)*LSx))] = read_imagef(I, sampler, (float2)(Point.x + xid+(_x)*LSx + 0.5f-1, Point.y + yid+(_y)*LSy+ 0.5f-1)).x; y 326 modules/video/src/opencl/pyrlk.cl if (prevPt.x < 0 || prevPt.x >= cols || prevPt.y < 0 || prevPt.y >= rows) y 420 modules/video/src/opencl/pyrlk.cl if (prevPt.x < -c_halfWin.x || prevPt.x >= cols || prevPt.y < -c_halfWin.y || prevPt.y >= rows) y 432 modules/video/src/opencl/pyrlk.cl GetPatch(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 438 modules/video/src/opencl/pyrlk.cl GetPatch(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 443 modules/video/src/opencl/pyrlk.cl GetPatch(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 450 modules/video/src/opencl/pyrlk.cl GetPatch(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 456 modules/video/src/opencl/pyrlk.cl GetPatch(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 461 modules/video/src/opencl/pyrlk.cl GetPatch(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 468 modules/video/src/opencl/pyrlk.cl GetPatch(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 474 modules/video/src/opencl/pyrlk.cl GetPatch(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 479 modules/video/src/opencl/pyrlk.cl GetPatch(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 492 modules/video/src/opencl/pyrlk.cl delta.y = A12 * b1 - A11 * b2; y 496 modules/video/src/opencl/pyrlk.cl if (fabs(delta.x) < THRESHOLD && fabs(delta.y) < THRESHOLD) y 506 modules/video/src/opencl/pyrlk.cl GetError(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 511 modules/video/src/opencl/pyrlk.cl GetError(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 516 modules/video/src/opencl/pyrlk.cl GetError(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 522 modules/video/src/opencl/pyrlk.cl GetError(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 527 modules/video/src/opencl/pyrlk.cl GetError(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 532 modules/video/src/opencl/pyrlk.cl GetError(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 539 modules/video/src/opencl/pyrlk.cl GetError(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 544 modules/video/src/opencl/pyrlk.cl GetError(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 549 modules/video/src/opencl/pyrlk.cl GetError(J, prevPt.x + xBase + 0.5f, prevPt.y + yBase + 0.5f, y 84 modules/video/src/optflowgf.cpp for (int y = -n; y <= n; y++) y 88 modules/video/src/optflowgf.cpp G(0,0) += g[y]*g[x]; y 89 modules/video/src/optflowgf.cpp G(1,1) += g[y]*g[x]*x*x; y 90 modules/video/src/optflowgf.cpp G(3,3) += g[y]*g[x]*x*x*x*x; y 91 modules/video/src/optflowgf.cpp G(5,5) += g[y]*g[x]*x*x*y*y; y 118 modules/video/src/optflowgf.cpp int k, x, y; y 134 modules/video/src/optflowgf.cpp for( y = 0; y < height; y++ ) y 137 modules/video/src/optflowgf.cpp const float *srow0 = src.ptr<float>(y), *srow1 = 0; y 138 modules/video/src/optflowgf.cpp float *drow = dst.ptr<float>(y); y 150 modules/video/src/optflowgf.cpp srow0 = src.ptr<float>(std::max(y-k,0)); y 151 modules/video/src/optflowgf.cpp srow1 = src.ptr<float>(std::min(y+k,height-1)); y 222 modules/video/src/optflowgf.cpp int x, y, width = _flow.cols, height = _flow.rows; y 228 modules/video/src/optflowgf.cpp for( y = _y0; y < _y1; y++ ) y 230 modules/video/src/optflowgf.cpp const float* flow = _flow.ptr<float>(y); y 231 modules/video/src/optflowgf.cpp const float* R0 = _R0.ptr<float>(y); y 232 modules/video/src/optflowgf.cpp float* M = matM.ptr<float>(y); y 237 modules/video/src/optflowgf.cpp float fx = x + dx, fy = y + dy; y 292 modules/video/src/optflowgf.cpp (unsigned)(y - BORDER) >= (unsigned)(height - BORDER*2)) y 296 modules/video/src/optflowgf.cpp (y < BORDER ? border[y] : 1.f)* y 297 modules/video/src/optflowgf.cpp (y >= height - BORDER ? border[height - y - 1] : 1.f); y 318 modules/video/src/optflowgf.cpp int x, y, width = _flow.cols, height = _flow.rows; y 332 modules/video/src/optflowgf.cpp for( y = 1; y < m; y++ ) y 334 modules/video/src/optflowgf.cpp srow0 = matM.ptr<float>(std::min(y,height-1)); y 340 modules/video/src/optflowgf.cpp for( y = 0; y < height; y++ ) y 343 modules/video/src/optflowgf.cpp float* flow = _flow.ptr<float>(y); y 345 modules/video/src/optflowgf.cpp srow0 = matM.ptr<float>(std::max(y-m-1,0)); y 346 modules/video/src/optflowgf.cpp const float* srow1 = matM.ptr<float>(std::min(y+m,height-1)); y 396 modules/video/src/optflowgf.cpp y1 = y == height - 1 ? height : y - block_size; y 411 modules/video/src/optflowgf.cpp int x, y, i, width = _flow.cols, height = _flow.rows; y 447 modules/video/src/optflowgf.cpp for( y = 0; y < height; y++ ) y 450 modules/video/src/optflowgf.cpp float* flow = _flow.ptr<float>(y); y 455 modules/video/src/optflowgf.cpp srow[m-i] = matM.ptr<float>(std::max(y-i,0)); y 456 modules/video/src/optflowgf.cpp srow[m+i] = matM.ptr<float>(std::min(y+i,height-1)); y 575 modules/video/src/optflowgf.cpp y1 = y == height - 1 ? height : y - block_size; y 617 modules/video/src/tvl1flow.cpp for (int y = range.start; y < range.end; ++y) y 619 modules/video/src/tvl1flow.cpp const float* u1Row = u1[y]; y 620 modules/video/src/tvl1flow.cpp const float* u2Row = u2[y]; y 622 modules/video/src/tvl1flow.cpp float* map1Row = map1[y]; y 623 modules/video/src/tvl1flow.cpp float* map2Row = map2[y]; y 628 modules/video/src/tvl1flow.cpp map2Row[x] = y + u2Row[x]; y 665 modules/video/src/tvl1flow.cpp for (int y = range.start; y < range.end; ++y) y 667 modules/video/src/tvl1flow.cpp const float* srcPrevRow = src[y - 1]; y 668 modules/video/src/tvl1flow.cpp const float* srcCurRow = src[y]; y 669 modules/video/src/tvl1flow.cpp const float* srcNextRow = src[y + 1]; y 671 modules/video/src/tvl1flow.cpp float* dxRow = dx[y]; y 672 modules/video/src/tvl1flow.cpp float* dyRow = dy[y]; y 713 modules/video/src/tvl1flow.cpp for (int y = 1; y < last_row; ++y) y 715 modules/video/src/tvl1flow.cpp dx(y, 0) = 0.5f * (src(y, 1) - src(y, 0)); y 716 modules/video/src/tvl1flow.cpp dy(y, 0) = 0.5f * (src(y + 1, 0) - src(y - 1, 0)); y 718 modules/video/src/tvl1flow.cpp dx(y, last_col) = 0.5f * (src(y, last_col) - src(y, last_col - 1)); y 719 modules/video/src/tvl1flow.cpp dy(y, last_col) = 0.5f * (src(y + 1, last_col) - src(y - 1, last_col)); y 752 modules/video/src/tvl1flow.cpp for (int y = range.start; y < range.end; ++y) y 754 modules/video/src/tvl1flow.cpp const float* srcCurRow = src[y]; y 755 modules/video/src/tvl1flow.cpp const float* srcNextRow = src[y + 1]; y 757 modules/video/src/tvl1flow.cpp float* dxRow = dx[y]; y 758 modules/video/src/tvl1flow.cpp float* dyRow = dy[y]; y 796 modules/video/src/tvl1flow.cpp for (int y = 0; y < last_row; ++y) y 798 modules/video/src/tvl1flow.cpp dx(y, last_col) = 0.0f; y 799 modules/video/src/tvl1flow.cpp dy(y, last_col) = src(y + 1, last_col) - src(y, last_col); y 820 modules/video/src/tvl1flow.cpp for (int y = range.start; y < range.end; ++y) y 822 modules/video/src/tvl1flow.cpp const float* v1Row = v1[y]; y 823 modules/video/src/tvl1flow.cpp const float* v2PrevRow = v2[y - 1]; y 824 modules/video/src/tvl1flow.cpp const float* v2CurRow = v2[y]; y 826 modules/video/src/tvl1flow.cpp float* divRow = div[y]; y 859 modules/video/src/tvl1flow.cpp for (int y = 1; y < v1.rows; ++y) y 860 modules/video/src/tvl1flow.cpp div(y, 0) = v1(y, 0) + v2(y, 0) - v2(y - 1, 0); y 884 modules/video/src/tvl1flow.cpp for (int y = range.start; y < range.end; ++y) y 886 modules/video/src/tvl1flow.cpp const float* I0Row = I0[y]; y 887 modules/video/src/tvl1flow.cpp const float* I1wRow = I1w[y]; y 888 modules/video/src/tvl1flow.cpp const float* I1wxRow = I1wx[y]; y 889 modules/video/src/tvl1flow.cpp const float* I1wyRow = I1wy[y]; y 890 modules/video/src/tvl1flow.cpp const float* u1Row = u1[y]; y 891 modules/video/src/tvl1flow.cpp const float* u2Row = u2[y]; y 893 modules/video/src/tvl1flow.cpp float* gradRow = grad[y]; y 894 modules/video/src/tvl1flow.cpp float* rhoRow = rho_c[y]; y 959 modules/video/src/tvl1flow.cpp for (int y = range.start; y < range.end; ++y) y 961 modules/video/src/tvl1flow.cpp const float* I1wxRow = I1wx[y]; y 962 modules/video/src/tvl1flow.cpp const float* I1wyRow = I1wy[y]; y 963 modules/video/src/tvl1flow.cpp const float* u1Row = u1[y]; y 964 modules/video/src/tvl1flow.cpp const float* u2Row = u2[y]; y 965 modules/video/src/tvl1flow.cpp const float* u3Row = use_gamma?u3[y]:NULL; y 966 modules/video/src/tvl1flow.cpp const float* gradRow = grad[y]; y 967 modules/video/src/tvl1flow.cpp const float* rhoRow = rho_c[y]; y 969 modules/video/src/tvl1flow.cpp float* v1Row = v1[y]; y 970 modules/video/src/tvl1flow.cpp float* v2Row = v2[y]; y 971 modules/video/src/tvl1flow.cpp float* v3Row = use_gamma ? v3[y]:NULL; y 1051 modules/video/src/tvl1flow.cpp for (int y = 0; y < v1.rows; ++y) y 1053 modules/video/src/tvl1flow.cpp const float* v1Row = v1[y]; y 1054 modules/video/src/tvl1flow.cpp const float* v2Row = v2[y]; y 1055 modules/video/src/tvl1flow.cpp const float* v3Row = use_gamma?v3[y]:NULL; y 1056 modules/video/src/tvl1flow.cpp const float* divP1Row = div_p1[y]; y 1057 modules/video/src/tvl1flow.cpp const float* divP2Row = div_p2[y]; y 1058 modules/video/src/tvl1flow.cpp const float* divP3Row = use_gamma?div_p3[y]:NULL; y 1060 modules/video/src/tvl1flow.cpp float* u1Row = u1[y]; y 1061 modules/video/src/tvl1flow.cpp float* u2Row = u2[y]; y 1062 modules/video/src/tvl1flow.cpp float* u3Row = use_gamma?u3[y]:NULL; y 1107 modules/video/src/tvl1flow.cpp for (int y = range.start; y < range.end; ++y) y 1109 modules/video/src/tvl1flow.cpp const float* u1xRow = u1x[y]; y 1110 modules/video/src/tvl1flow.cpp const float* u1yRow = u1y[y]; y 1111 modules/video/src/tvl1flow.cpp const float* u2xRow = u2x[y]; y 1112 modules/video/src/tvl1flow.cpp const float* u2yRow = u2y[y]; y 1113 modules/video/src/tvl1flow.cpp const float* u3xRow = u3x[y]; y 1114 modules/video/src/tvl1flow.cpp const float* u3yRow = u3y[y]; y 1116 modules/video/src/tvl1flow.cpp float* p11Row = p11[y]; y 1117 modules/video/src/tvl1flow.cpp float* p12Row = p12[y]; y 1118 modules/video/src/tvl1flow.cpp float* p21Row = p21[y]; y 1119 modules/video/src/tvl1flow.cpp float* p22Row = p22[y]; y 1120 modules/video/src/tvl1flow.cpp float* p31Row = p31[y]; y 1121 modules/video/src/tvl1flow.cpp float* p32Row = p32[y]; y 120 modules/video/test/ocl/test_optflowpyrlk.cpp bool eq = std::abs(a.x - b.x) < 1 && std::abs(a.y - b.y) < 1; y 117 modules/video/test/test_camshift.cpp int x, y; y 119 modules/video/test/test_camshift.cpp double cy = box0.center.y; y 130 modules/video/test/test_camshift.cpp for( y = 0; y < img_size.height; y++ ) y 132 modules/video/test/test_camshift.cpp uchar* ptr = img->data.ptr + img->step*y; y 134 modules/video/test/test_camshift.cpp double x_ = (y - cy)*b, y_ = (y - cy)*a; y 178 modules/video/test/test_camshift.cpp box0.center.y = (float)(img_size.height*0.5 + (cvtest::randReal(rng)-0.5)*(img_size.height - m)); y 243 modules/video/test/test_camshift.cpp init_rect.y = cvFloor(box0.center.y - m*(0.45 + cvtest::randReal(rng)*0.2)); y 245 modules/video/test/test_camshift.cpp init_rect.height = cvCeil(box0.center.y + m*(0.45 + cvtest::randReal(rng)*0.2) - init_rect.y); y 247 modules/video/test/test_camshift.cpp if( init_rect.x < 0 || init_rect.y < 0 || y 249 modules/video/test/test_camshift.cpp init_rect.y + init_rect.height >= img_size.height ) y 279 modules/video/test/test_camshift.cpp cvIsNaN(box.center.y) || cvIsInf(box.center.y) || y 300 modules/video/test/test_camshift.cpp fabs(box.center.y - box0.center.y) > m*0.1 ) y 303 modules/video/test/test_camshift.cpp box.center.x, box.center.y, box0.center.x, box0.center.y ); y 325 modules/video/test/test_camshift.cpp comp.rect.y < box0.center.y - delta || y 327 modules/video/test/test_camshift.cpp comp.rect.y + comp.rect.height > box0.center.y + delta ) y 331 modules/video/test/test_camshift.cpp comp.rect.x, comp.rect.y, comp.rect.x + comp.rect.width, comp.rect.y + comp.rect.height, y 332 modules/video/test/test_camshift.cpp box0.center.x - delta, box0.center.y - delta, box0.center.x + delta, box0.center.y + delta ); y 354 modules/video/test/test_camshift.cpp cvRectangle( dst, cvPoint(init_rect.x, init_rect.y), y 355 modules/video/test/test_camshift.cpp cvPoint(init_rect.x + init_rect.width, init_rect.y + init_rect.height), y 410 modules/video/test/test_camshift.cpp init_rect.y = cvFloor(box0.center.y - m*(0.4 + cvtest::randReal(rng)*0.2)); y 412 modules/video/test/test_camshift.cpp init_rect.height = cvCeil(box0.center.y + m*(0.4 + cvtest::randReal(rng)*0.2) - init_rect.y); y 414 modules/video/test/test_camshift.cpp if( init_rect.x < 0 || init_rect.y < 0 || y 416 modules/video/test/test_camshift.cpp init_rect.y + init_rect.height >= img_size.height ) y 450 modules/video/test/test_camshift.cpp c.y = (float)(comp.rect.y + comp.rect.height*0.5); y 453 modules/video/test/test_camshift.cpp fabs(c.y - box0.center.y) > m*0.1 ) y 456 modules/video/test/test_camshift.cpp c.x, c.y, box0.center.x, box0.center.y ); y 464 modules/video/test/test_camshift.cpp comp.rect.y < box0.center.y - delta || y 466 modules/video/test/test_camshift.cpp comp.rect.y + comp.rect.height > box0.center.y + delta ) y 470 modules/video/test/test_camshift.cpp comp.rect.x, comp.rect.y, comp.rect.x + comp.rect.width, comp.rect.y + comp.rect.height, y 471 modules/video/test/test_camshift.cpp box0.center.x - delta, box0.center.y - delta, box0.center.x + delta, box0.center.y + delta ); y 493 modules/video/test/test_camshift.cpp cvRectangle( dst, cvPoint(init_rect.x, init_rect.y), y 494 modules/video/test/test_camshift.cpp cvPoint(init_rect.x + init_rect.width, init_rect.y + init_rect.height), y 496 modules/video/test/test_camshift.cpp cvRectangle( dst, cvPoint(comp.rect.x, comp.rect.y), y 497 modules/video/test/test_camshift.cpp cvPoint(comp.rect.x + comp.rect.width, comp.rect.y + comp.rect.height), y 78 modules/video/test/test_estimaterigid.cpp return Point2f( (float)(p.x * F[0] + p.y * F[1] + F[2]), y 79 modules/video/test/test_estimaterigid.cpp (float)(p.x * F[3] + p.y * F[4] + F[5]) ); y 162 modules/video/test/test_optflowpyrlk.cpp err = fabs(v2[i].x - v[i].x) + fabs(v2[i].y - v[i].y); y 239 modules/video/test/test_optflowpyrlk.cpp int y = rng.uniform(0, 360); y 241 modules/video/test/test_optflowpyrlk.cpp prev.push_back(cv::Point2f((float)x, (float)y)); y 76 modules/video/test/test_tvl1optflow.cpp file.write((const char*) &u.y, sizeof(float)); y 106 modules/video/test/test_tvl1optflow.cpp file.read((char*) &u.y, sizeof(float)); y 115 modules/video/test/test_tvl1optflow.cpp return !cvIsNaN(u.x) && !cvIsNaN(u.y) && (fabs(u.x) < 1e9) && (fabs(u.y) < 1e9); y 895 modules/videoio/src/cap_dc1394.cpp #define YUV2RGB(y, u, v, r, g, b)\ y 896 modules/videoio/src/cap_dc1394.cpp r = y + ((v*1436) >> 10);\ y 897 modules/videoio/src/cap_dc1394.cpp g = y - ((u*352 + v*731) >> 10);\ y 898 modules/videoio/src/cap_dc1394.cpp b = y + ((u*1814) >> 10);\ y 912 modules/videoio/src/cap_dc1394.cpp register int y, u, v; y 917 modules/videoio/src/cap_dc1394.cpp y = src[i--]; y 919 modules/videoio/src/cap_dc1394.cpp YUV2RGB(y, u, v, r, g, b); y 993 modules/videoio/src/cap_dc1394.cpp register int y; y 996 modules/videoio/src/cap_dc1394.cpp y = src[i--]; y 997 modules/videoio/src/cap_dc1394.cpp dest[j--] = y; y 998 modules/videoio/src/cap_dc1394.cpp dest[j--] = y; y 999 modules/videoio/src/cap_dc1394.cpp dest[j--] = y; y 1009 modules/videoio/src/cap_dc1394.cpp register int y; y 1012 modules/videoio/src/cap_dc1394.cpp y = src[i--]; y 1013 modules/videoio/src/cap_dc1394.cpp y = (y + (src[i--] << 8)) >> (bits - 8); y 1014 modules/videoio/src/cap_dc1394.cpp dest[j--] = y; y 1015 modules/videoio/src/cap_dc1394.cpp dest[j--] = y; y 1016 modules/videoio/src/cap_dc1394.cpp dest[j--] = y; y 1027 modules/videoio/src/cap_dc1394.cpp register int y; y 1030 modules/videoio/src/cap_dc1394.cpp y = src[i--]; y 1031 modules/videoio/src/cap_dc1394.cpp dest[j-2] = (y + (src[i--] << 8)) >> (bits - 8); y 1033 modules/videoio/src/cap_dc1394.cpp y = src[i--]; y 1034 modules/videoio/src/cap_dc1394.cpp dest[j] = (y + (src[i--] << 8)) >> (bits - 8); y 1036 modules/videoio/src/cap_dc1394.cpp y = src[i--]; y 1037 modules/videoio/src/cap_dc1394.cpp dest[j+2] = (y + (src[i--] << 8)) >> (bits - 8); y 2127 modules/videoio/src/cap_dshow.cpp for(int y = 0; y < height; y++){ y 2128 modules/videoio/src/cap_dshow.cpp memcpy(dst + (y * widthInBytes), src + ( (height -y -1) * widthInBytes), widthInBytes); y 2138 modules/videoio/src/cap_dshow.cpp int y = (height - 1) * widthInBytes; y 2139 modules/videoio/src/cap_dshow.cpp src += y; y 2377 modules/videoio/src/cap_dshow.cpp for(int y = scc.MinOutputSize.cy; y <= scc.MaxOutputSize.cy; y+= stepY){ y 2379 modules/videoio/src/cap_dshow.cpp if( heightIn == y){ y 2381 modules/videoio/src/cap_dshow.cpp tempH = y; y 2384 modules/videoio/src/cap_dshow.cpp else if( abs(heightIn-y) < abs(heightIn-tempH) ){ y 2385 modules/videoio/src/cap_dshow.cpp tempH = y; y 1377 modules/videoio/src/cap_ffmpeg_impl.hpp for( int y = 0; y < height; y++ ) y 1378 modules/videoio/src/cap_ffmpeg_impl.hpp memcpy(temp_image.data + y*temp_image.step, data + (height-1-y)*step, width*cn); y 1394 modules/videoio/src/cap_ffmpeg_impl.hpp for( int y = 0; y < height; y++ ) y 1395 modules/videoio/src/cap_ffmpeg_impl.hpp memcpy(temp_image.data + y*temp_image.step, data + (height-1-y)*step, temp_image.step); y 1397 modules/videoio/src/cap_ffmpeg_impl.hpp for( int y = 0; y < height; y++ ) y 1398 modules/videoio/src/cap_ffmpeg_impl.hpp memcpy(temp_image.data + y*temp_image.step, data + y*step, temp_image.step); y 471 modules/videoio/src/cap_intelperc.cpp return (double)ptf.y; y 1136 modules/videoio/src/cap_mjpeg_encoder.cpp int x, y; y 1264 modules/videoio/src/cap_mjpeg_encoder.cpp for( y = 0; y < height; y += y_step, data += y_step*step ) y 1274 modules/videoio/src/cap_mjpeg_encoder.cpp if( y + y_limit > height ) y_limit = height - y; y 3527 modules/videoio/src/cap_msmf.cpp for(unsigned int y = 0; y < height; y++) y 3529 modules/videoio/src/cap_msmf.cpp dstInt = (int *)(dst + (y * widthInBytes)); y 3530 modules/videoio/src/cap_msmf.cpp srcInt = (int *)(src + ( (height -y -1) * widthInBytes)); y 3544 modules/videoio/src/cap_msmf.cpp unsigned int y = (height - 1) * widthInBytes; y 3545 modules/videoio/src/cap_msmf.cpp src += y; y 1185 modules/videoio/src/cap_openni.cpp for( int y = 0; y < rows; y++ ) y 1189 modules/videoio/src/cap_openni.cpp int ind = y*cols+x; y 1191 modules/videoio/src/cap_openni.cpp proj[ind].Y = (float)y; y 1192 modules/videoio/src/cap_openni.cpp proj[ind].Z = depth.at<unsigned short>(y, x); y 1197 modules/videoio/src/cap_openni.cpp for( int y = 0; y < rows; y++ ) y 1202 modules/videoio/src/cap_openni.cpp if( depth.at<unsigned short>(y, x) == badPoint ) // not valid y 1203 modules/videoio/src/cap_openni.cpp pointCloud_XYZ.at<cv::Point3f>(y,x) = cv::Point3f( badCoord, badCoord, badCoord ); y 1206 modules/videoio/src/cap_openni.cpp int ind = y*cols+x; y 1207 modules/videoio/src/cap_openni.cpp pointCloud_XYZ.at<cv::Point3f>(y,x) = cv::Point3f( real[ind].X*0.001f, real[ind].Y*0.001f, real[ind].Z*0.001f); // from mm to meters y 1231 modules/videoio/src/cap_openni.cpp for( int y = 0; y < disp.rows; y++ ) y 1235 modules/videoio/src/cap_openni.cpp unsigned short curDepth = depth.at<unsigned short>(y,x); y 1237 modules/videoio/src/cap_openni.cpp disp.at<float>(y,x) = mult / curDepth; y 753 modules/videoio/src/cap_openni2.cpp for( int y = 0; y < rows; y++ ) y 757 modules/videoio/src/cap_openni2.cpp openni::CoordinateConverter::convertDepthToWorld(depth, x, y, depthImg.at<unsigned short>(y, x), &worldX, &worldY, &worldZ); y 759 modules/videoio/src/cap_openni2.cpp if (depthImg.at<unsigned short>(y, x) == badPoint) // not valid y 760 modules/videoio/src/cap_openni2.cpp pointCloud_XYZ.at<cv::Point3f>(y, x) = cv::Point3f(badCoord, badCoord, badCoord); y 763 modules/videoio/src/cap_openni2.cpp pointCloud_XYZ.at<cv::Point3f>(y, x) = cv::Point3f(worldX*0.001f, worldY*0.001f, worldZ*0.001f); // from mm to meters y 785 modules/videoio/src/cap_openni2.cpp for( int y = 0; y < disp.rows; y++ ) y 789 modules/videoio/src/cap_openni2.cpp unsigned short curDepth = depth.at<unsigned short>(y,x); y 791 modules/videoio/src/cap_openni2.cpp disp.at<float>(y,x) = mult / curDepth; y 103 modules/videoio/src/cap_xine.cpp for ( int y = 0; y < capture->yuv_frame->height; y++ ) y 105 modules/videoio/src/cap_xine.cpp offset = y * capture->yuv_frame->widthStep; y 147 modules/videoio/src/cap_xine.cpp for ( int y = 0; y < h_Y; y++ ) y 149 modules/videoio/src/cap_xine.cpp int offset = y * line; y 167 modules/videoio/src/cap_xine.cpp if ( y & 1 ) y 275 modules/videoio/test/test_ffmpeg.cpp putText(frame, text, Point(50, Center.y), FONT_HERSHEY_SIMPLEX, 5.0, ObjectColor, 5, CV_AA); y 89 modules/videostab/include/opencv2/videostab/fast_marching.hpp int x, y; y 97 modules/videostab/include/opencv2/videostab/fast_marching.hpp int& indexOf(const DXY &dxy) { return index_(dxy.y, dxy.x); } y 70 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp for (int y = 0; y < flag_.rows; ++y) y 74 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp if (flag_(y,x) == KNOWN) y 75 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp dist_(y,x) = 0.f; y 84 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp int yn = y + lut[i][1]; y 96 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp dist_(y,x) = inf_; y 97 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp flag_(y,x) = INSIDE; y 101 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp dist_(y,x) = 0.f; y 102 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp flag_(y,x) = BAND; y 103 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp inpaint(x, y); y 105 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp narrowBand_.push_back(DXY(0.f,x,y)); y 106 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp index_(y,x) = size_++; y 120 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp int y = narrowBand_[0].y; y 123 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp flag_(y,x) = KNOWN; y 127 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp int yn = y + lut[n][1]; y 80 modules/videostab/src/deblurring.cpp for (int y = 0; y < frame.rows; ++y) y 84 modules/videostab/src/deblurring.cpp Point3_<uchar> p = frame.at<Point3_<uchar> >(y,x); y 85 modules/videostab/src/deblurring.cpp bSum_(y,x) = p.x; y 86 modules/videostab/src/deblurring.cpp gSum_(y,x) = p.y; y 87 modules/videostab/src/deblurring.cpp rSum_(y,x) = p.z; y 88 modules/videostab/src/deblurring.cpp wSum_(y,x) = 1.f; y 100 modules/videostab/src/deblurring.cpp for (int y = 0; y < frame.rows; ++y) y 104 modules/videostab/src/deblurring.cpp int x1 = cvRound(M(0,0)*x + M(0,1)*y + M(0,2)); y 105 modules/videostab/src/deblurring.cpp int y1 = cvRound(M(1,0)*x + M(1,1)*y + M(1,2)); y 109 modules/videostab/src/deblurring.cpp const Point3_<uchar> &p = frame.at<Point3_<uchar> >(y,x); y 113 modules/videostab/src/deblurring.cpp bSum_(y,x) += w * p1.x; y 114 modules/videostab/src/deblurring.cpp gSum_(y,x) += w * p1.y; y 115 modules/videostab/src/deblurring.cpp rSum_(y,x) += w * p1.z; y 116 modules/videostab/src/deblurring.cpp wSum_(y,x) += w; y 123 modules/videostab/src/deblurring.cpp for (int y = 0; y < frame.rows; ++y) y 127 modules/videostab/src/deblurring.cpp float wSumInv = 1.f / wSum_(y,x); y 128 modules/videostab/src/deblurring.cpp frame.at<Point3_<uchar> >(y,x) = Point3_<uchar>( y 129 modules/videostab/src/deblurring.cpp static_cast<uchar>(bSum_(y,x)*wSumInv), y 130 modules/videostab/src/deblurring.cpp static_cast<uchar>(gSum_(y,x)*wSumInv), y 131 modules/videostab/src/deblurring.cpp static_cast<uchar>(rSum_(y,x)*wSumInv)); y 91 modules/videostab/src/global_motion.cpp cy += points[i].y; y 100 modules/videostab/src/global_motion.cpp points[i].y -= cy; y 101 modules/videostab/src/global_motion.cpp d += std::sqrt(sqr(points[i].x) + sqr(points[i].y)); y 109 modules/videostab/src/global_motion.cpp points[i].y *= s; y 127 modules/videostab/src/global_motion.cpp M(1,2) += points1[i].y - points0[i].y; y 137 modules/videostab/src/global_motion.cpp sqr(points1[i].y - points0[i].y - M(1,2)); y 162 modules/videostab/src/global_motion.cpp a1[0] = p0.y; a1[1] = 0; a1[2] = 1; y 164 modules/videostab/src/global_motion.cpp b(2*i+1,0) = p1.y; y 191 modules/videostab/src/global_motion.cpp A += p0.x*p1.x + p0.y*p1.y; y 192 modules/videostab/src/global_motion.cpp B += p0.x*p1.y - p1.x*p0.y; y 216 modules/videostab/src/global_motion.cpp *rmse += sqr(p1.x - M(0,0)*p0.x - M(0,1)*p0.y) + y 217 modules/videostab/src/global_motion.cpp sqr(p1.y - M(1,0)*p0.x - M(1,1)*p0.y); y 248 modules/videostab/src/global_motion.cpp A(0,1) += pt1.x * pt0.y; y 249 modules/videostab/src/global_motion.cpp A(1,0) += pt1.y * pt0.x; y 250 modules/videostab/src/global_motion.cpp A(1,1) += pt1.y * pt0.y; y 260 modules/videostab/src/global_motion.cpp M(0,2) = mean1.x - R(0,0)*mean0.x - R(0,1)*mean0.y; y 261 modules/videostab/src/global_motion.cpp M(1,2) = mean1.y - R(1,0)*mean0.x - R(1,1)*mean0.y; y 270 modules/videostab/src/global_motion.cpp *rmse += sqr(pt1.x - M(0,0)*pt0.x - M(0,1)*pt0.y - M(0,2)) + y 271 modules/videostab/src/global_motion.cpp sqr(pt1.y - M(1,0)*pt0.x - M(1,1)*pt0.y - M(1,2)); y 296 modules/videostab/src/global_motion.cpp a0[0] = p0.x; a0[1] = p0.y; a0[2] = 1; a0[3] = 0; y 297 modules/videostab/src/global_motion.cpp a1[0] = p0.y; a1[1] = -p0.x; a1[2] = 0; a1[3] = 1; y 299 modules/videostab/src/global_motion.cpp b(2*i+1,0) = p1.y; y 335 modules/videostab/src/global_motion.cpp a0[0] = p0.x; a0[1] = p0.y; a0[2] = 1; a0[3] = a0[4] = a0[5] = 0; y 336 modules/videostab/src/global_motion.cpp a1[0] = a1[1] = a1[2] = 0; a1[3] = p0.x; a1[4] = p0.y; a1[5] = 1; y 338 modules/videostab/src/global_motion.cpp b(2*i+1,0) = p1.y; y 408 modules/videostab/src/global_motion.cpp float x, y; y 437 modules/videostab/src/global_motion.cpp x = M(0,0)*p0.x + M(0,1)*p0.y + M(0,2); y 438 modules/videostab/src/global_motion.cpp y = M(1,0)*p0.x + M(1,1)*p0.y + M(1,2); y 439 modules/videostab/src/global_motion.cpp if (sqr(x - p1.x) + sqr(y - p1.y) < params.thresh * params.thresh) y 462 modules/videostab/src/global_motion.cpp x = bestM(0,0)*p0.x + bestM(0,1)*p0.y + bestM(0,2); y 463 modules/videostab/src/global_motion.cpp y = bestM(1,0)*p0.x + bestM(1,1)*p0.y + bestM(1,2); y 464 modules/videostab/src/global_motion.cpp if (sqr(x - p1.x) + sqr(y - p1.y) < params.thresh * params.thresh) y 595 modules/videostab/src/global_motion.cpp set(r, 0, p0.x); set(r, 1, p0.y); set(r, 2, 1); set(r, 6+2*i, -1); y 598 modules/videostab/src/global_motion.cpp set(r+1, 3, p0.x); set(r+1, 4, p0.y); set(r+1, 5, 1); set(r+1, 6+2*i+1, -1); y 599 modules/videostab/src/global_motion.cpp rowub_[r+1] = p1.y; y 601 modules/videostab/src/global_motion.cpp set(r+2, 0, p0.x); set(r+2, 1, p0.y); set(r+2, 2, 1); set(r+2, 6+2*i, 1); y 604 modules/videostab/src/global_motion.cpp set(r+3, 3, p0.x); set(r+3, 4, p0.y); set(r+3, 5, 1); set(r+3, 6+2*i+1, 1); y 605 modules/videostab/src/global_motion.cpp rowlb_[r+3] = p1.y; y 142 modules/videostab/src/inpainting.cpp for (int y = 0; y < mask.rows; ++y) y 146 modules/videostab/src/inpainting.cpp if (!mask_(y, x)) y 156 modules/videostab/src/inpainting.cpp int xi = cvRound(Mi(0,0)*x + Mi(0,1)*y + Mi(0,2)); y 157 modules/videostab/src/inpainting.cpp int yi = cvRound(Mi(1,0)*x + Mi(1,1)*y + Mi(1,2)); y 178 modules/videostab/src/inpainting.cpp int c2 = pixels[nh].color.y; y 183 modules/videostab/src/inpainting.cpp c2 = (c2 + pixels[nh].color.y) / 2; y 186 modules/videostab/src/inpainting.cpp frame_(y, x) = Point3_<uchar>( y 190 modules/videostab/src/inpainting.cpp mask_(y, x) = 255; y 233 modules/videostab/src/inpainting.cpp void operator ()(int x, int y) y 242 modules/videostab/src/inpainting.cpp int qy0 = y + dy; y 296 modules/videostab/src/inpainting.cpp + sqr(static_cast<float>(cp.y-cq.y)) y 310 modules/videostab/src/inpainting.cpp flowX(y,x) = uEst / wSum; y 311 modules/videostab/src/inpainting.cpp flowY(y,x) = vEst / wSum; y 312 modules/videostab/src/inpainting.cpp mask0(y,x) = 255; y 424 modules/videostab/src/inpainting.cpp void operator ()(int x, int y) y 434 modules/videostab/src/inpainting.cpp int qy = y + lut[i][1]; y 445 modules/videostab/src/inpainting.cpp frame(y,x) = Point3_<uchar>( y 449 modules/videostab/src/inpainting.cpp mask(y,x) = 255; y 263 modules/videostab/src/motion_stabilizing.cpp set(r, c, pt[i].x); set(r, c+1, pt[i].y); set(r, c+2, 1); y 264 modules/videostab/src/motion_stabilizing.cpp set(r+1, c, pt[i].y); set(r+1, c+1, -pt[i].x); set(r+1, c+3, 1); y 267 modules/videostab/src/motion_stabilizing.cpp rowlb_[r+1] = pt[i].y-th; y 268 modules/videostab/src/motion_stabilizing.cpp rowub_[r+1] = pt[i].y+th; y 591 modules/videostab/src/motion_stabilizing.cpp if (b[i].x > a[0].x && b[i].x < a[2].x && b[i].y > a[0].y && b[i].y < a[2].y) y 609 modules/videostab/src/motion_stabilizing.cpp Mpt[i].x = M[0]*pt[i].x + M[1]*pt[i].y + M[2]; y 610 modules/videostab/src/motion_stabilizing.cpp Mpt[i].y = M[3]*pt[i].x + M[4]*pt[i].y + M[5]; y 611 modules/videostab/src/motion_stabilizing.cpp z = M[6]*pt[i].x + M[7]*pt[i].y + M[8]; y 613 modules/videostab/src/motion_stabilizing.cpp Mpt[i].y /= z; y 688 modules/videostab/src/motion_stabilizing.cpp Mpt[i].x = M_(0,0)*pt[i].x + M_(0,1)*pt[i].y + M_(0,2); y 689 modules/videostab/src/motion_stabilizing.cpp Mpt[i].y = M_(1,0)*pt[i].x + M_(1,1)*pt[i].y + M_(1,2); y 690 modules/videostab/src/motion_stabilizing.cpp z = M_(2,0)*pt[i].x + M_(2,1)*pt[i].y + M_(2,2); y 692 modules/videostab/src/motion_stabilizing.cpp Mpt[i].y /= z; y 96 modules/videostab/src/outlier_rejection.cpp cy = std::min(cvRound(points0_[i].y / cellSize_.height), ncells.height - 1); y 126 modules/videostab/src/outlier_rejection.cpp dy = points1_[idx].y - points0_[idx].y; y 132 modules/videostab/src/outlier_rejection.cpp y1 = points0_[cell[i]].y + dy; y 133 modules/videostab/src/outlier_rejection.cpp if (sqr(x1 - points1_[cell[i]].x) + sqr(y1 - points1_[cell[i]].y) < y 156 modules/videostab/src/outlier_rejection.cpp y1 = points0_[cell[i]].y + dyBest; y 157 modules/videostab/src/outlier_rejection.cpp if (sqr(x1 - points1_[cell[i]].x) + sqr(y1 - points1_[cell[i]].y) < y 170 modules/videostab/src/outlier_rejection.cpp dyBest += points1_[inliers[i]].y - points0_[inliers[i]].y; y 183 modules/videostab/src/outlier_rejection.cpp y1 = points0_[cell[i]].y + dyBest; y 184 modules/videostab/src/outlier_rejection.cpp if (sqr(x1 - points1_[cell[i]].x) + sqr(y1 - points1_[cell[i]].y) < y 64 modules/videostab/src/precomp.hpp return 0.3f*bgr.x + 0.59f*bgr.y + 0.11f*bgr.z; y 124 modules/videostab/src/wobble_suppression.cpp for (int y = 0; y < frame.rows; ++y) y 128 modules/videostab/src/wobble_suppression.cpp xl = ML(0,0)*x + ML(0,1)*y + ML(0,2); y 129 modules/videostab/src/wobble_suppression.cpp yl = ML(1,0)*x + ML(1,1)*y + ML(1,2); y 130 modules/videostab/src/wobble_suppression.cpp zl = ML(2,0)*x + ML(2,1)*y + ML(2,2); y 134 modules/videostab/src/wobble_suppression.cpp xr = MR(0,0)*x + MR(0,1)*y + MR(0,2); y 135 modules/videostab/src/wobble_suppression.cpp yr = MR(1,0)*x + MR(1,1)*y + MR(1,2); y 136 modules/videostab/src/wobble_suppression.cpp zr = MR(2,0)*x + MR(2,1)*y + MR(2,2); y 140 modules/videostab/src/wobble_suppression.cpp mapx_(y,x) = (wr * xl + wl * xr) / (wl + wr); y 141 modules/videostab/src/wobble_suppression.cpp mapy_(y,x) = (wr * yl + wl * yr) / (wl + wr); y 139 modules/viz/include/opencv2/viz/vizcore.hpp { return isNan(p.x) || isNan(p.y) || isNan(p.z); } y 139 modules/viz/src/clouds.cpp elevation->SetLowPoint(p1.x, p1.y, p1.z); y 140 modules/viz/src/clouds.cpp elevation->SetHighPoint(p2.x, p2.y, p2.z); y 165 modules/viz/src/clouds.cpp elevation->SetLowPoint(p1.x, p1.y, p1.z); y 166 modules/viz/src/clouds.cpp elevation->SetHighPoint(p2.x, p2.y, p2.z); y 296 modules/viz/src/clouds.cpp for(int y = 0; y < cloud.rows; y += ystep) y 300 modules/viz/src/clouds.cpp const float *srow = cloud.ptr<float>(y); y 302 modules/viz/src/clouds.cpp const float *nrow = normals.ptr<float>(y); y 319 modules/viz/src/clouds.cpp const double *srow = cloud.ptr<double>(y); y 321 modules/viz/src/clouds.cpp const double *nrow = normals.ptr<double>(y); y 371 modules/viz/src/clouds.cpp for(int y = 0, index = 0; y < mesh.cloud.rows; ++y) y 377 modules/viz/src/clouds.cpp const float* srow = mesh.cloud.ptr<float>(y); y 387 modules/viz/src/clouds.cpp const double* srow = mesh.cloud.ptr<double>(y); y 53 modules/viz/src/shapes.cpp line->SetPoint1(pt1.x, pt1.y, pt1.z); y 54 modules/viz/src/shapes.cpp line->SetPoint2(pt2.x, pt2.y, pt2.z); y 82 modules/viz/src/shapes.cpp sphere->SetCenter(center.x, center.y, center.z); y 158 modules/viz/src/shapes.cpp Vec3d start_point(pt1.x, pt1.y, pt1.z), end_point(pt2.x, pt2.y, pt2.z); y 277 modules/viz/src/shapes.cpp line->SetPoint1(axis_point1.x, axis_point1.y, axis_point1.z); y 278 modules/viz/src/shapes.cpp line->SetPoint2(axis_point2.x, axis_point2.y, axis_point2.z); y 312 modules/viz/src/shapes.cpp bounds[2] = std::min(min_point.y, max_point.y); y 313 modules/viz/src/shapes.cpp bounds[3] = std::max(min_point.y, max_point.y); y 497 modules/viz/src/shapes.cpp actor->SetPosition(position.x, position.y, position.z); y 505 modules/viz/src/shapes.cpp actor->SetPosition(position.x, position.y, position.z); y 553 modules/viz/src/shapes.cpp actor->SetDisplayPosition(pos.x, pos.y); y 620 modules/viz/src/shapes.cpp actor->SetPosition(rect.x, rect.y); y 775 modules/viz/src/shapes.cpp for(int y = 0; y < color.rows; ++y) y 777 modules/viz/src/shapes.cpp const unsigned char *srow = image.getMat().ptr<unsigned char>(y); y 464 modules/viz/src/vizimpl.cpp vtkInteractorObserver::ComputeWorldToDisplay(renderer_, pt.x, pt.y, pt.z, window_pt.val); y 472 modules/viz/src/vizimpl.cpp vtkInteractorObserver::ComputeDisplayToWorld(renderer_, window_coord.x, window_coord.y, window_coord.z, world_pt.val); y 551 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::setWindowPosition(const Point& position) { window_position_ = position; window_->SetPosition(position.x, position.y); } y 193 modules/viz/src/vtk/vtkCloudMatSource.cpp for (int y = 0; y < cloud.rows; ++y) y 195 modules/viz/src/vtk/vtkCloudMatSource.cpp const _Tp* srow = cloud.ptr<_Tp>(y); y 215 modules/viz/src/vtk/vtkCloudMatSource.cpp for (int y = 0; y < cloud_colors.rows; ++y) y 217 modules/viz/src/vtk/vtkCloudMatSource.cpp const unsigned char* srow = cloud_colors.ptr<unsigned char>(y); y 219 modules/viz/src/vtk/vtkCloudMatSource.cpp const _Msk* mrow = mask.ptr<_Msk>(y); y 253 modules/viz/src/vtk/vtkCloudMatSource.cpp for (int y = 0; y < cloud_normals.rows; ++y) y 255 modules/viz/src/vtk/vtkCloudMatSource.cpp const _Tn* srow = cloud_normals.ptr<_Tn>(y); y 258 modules/viz/src/vtk/vtkCloudMatSource.cpp const _Msk* mrow = mask.ptr<_Msk>(y); y 276 modules/viz/src/vtk/vtkCloudMatSource.cpp for (int y = 0; y < mask.rows; ++y) y 278 modules/viz/src/vtk/vtkCloudMatSource.cpp const Vec2* srow = _tcoords.ptr<Vec2>(y); y 280 modules/viz/src/vtk/vtkCloudMatSource.cpp const _Msk* mrow = mask.ptr<_Msk>(y); y 108 modules/viz/src/vtk/vtkImageMatSource.cpp for (int y = 0; y < source.rows; ++y) y 110 modules/viz/src/vtk/vtkImageMatSource.cpp unsigned char* drow = dptr + elem_step * y; y 111 modules/viz/src/vtk/vtkImageMatSource.cpp const unsigned char *srow = source.ptr<unsigned char>(y); y 122 modules/viz/src/vtk/vtkImageMatSource.cpp for (int y = 0; y < source.rows; ++y) y 124 modules/viz/src/vtk/vtkImageMatSource.cpp Vec3b* drow = dptr + elem_step * y; y 125 modules/viz/src/vtk/vtkImageMatSource.cpp const unsigned char *srow = source.ptr<unsigned char>(y); y 136 modules/viz/src/vtk/vtkImageMatSource.cpp for (int y = 0; y < source.rows; ++y) y 138 modules/viz/src/vtk/vtkImageMatSource.cpp Vec4b* drow = dptr + elem_step * y; y 139 modules/viz/src/vtk/vtkImageMatSource.cpp const unsigned char *srow = source.ptr<unsigned char>(y); y 98 modules/viz/test/test_precomp.hpp double y = 0.25 + i/270.0 + sin(j * CV_PI/180.0) * 0.2 * sin(0.6 + j * 1.5 * CV_PI/180.0); y 100 modules/viz/test/test_precomp.hpp result.push_back(viz::makeCameraPose(Vec3d(x, y, z), Vec3d::all(0.0), Vec3d(0.0, 1.0, 0.0))); y 120 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java public void deliverTouchEvent(int x, int y) { y 124 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java int row = (int) Math.floor(y * GRID_SIZE / rows); y 128 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java int y = (int)event.getY() - yOffset; y 130 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java Log.i(TAG, "Touch image coordinates: (" + x + ", " + y + ")"); y 132 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java if ((x < 0) || (y < 0) || (x > cols) || (y > rows)) return false; y 137 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java touchedRect.y = (y>4) ? y-4 : 0; y 140 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java touchedRect.height = (y+4 < rows) ? y + 4 - touchedRect.y : rows - touchedRect.y; y 232 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java mP1.y = sizeRgba.height-1; y 233 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java mP2.y = mP1.y - 2 - (int)mBuff[h]; y 245 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java mP1.y = sizeRgba.height-1; y 246 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java mP2.y = mP1.y - 2 - (int)mBuff[h]; y 255 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java mP1.y = sizeRgba.height-1; y 256 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java mP2.y = mP1.y - 2 - (int)mBuff[h]; y 24 samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp circle(mRgb, Point(kp.pt.x, kp.pt.y), 10, Scalar(255,0,0,255)); y 23 samples/cpp/camshiftdemo.cpp static void onMouse( int event, int x, int y, int, void* ) y 28 samples/cpp/camshiftdemo.cpp selection.y = MIN(y, origin.y); y 30 samples/cpp/camshiftdemo.cpp selection.height = std::abs(y - origin.y); y 38 samples/cpp/camshiftdemo.cpp origin = Point(x,y); y 39 samples/cpp/camshiftdemo.cpp selection = Rect(x,y,0,0); y 162 samples/cpp/camshiftdemo.cpp trackWindow = Rect(trackWindow.x - r, trackWindow.y - r, y 163 samples/cpp/camshiftdemo.cpp trackWindow.x + r, trackWindow.y + r) & y 84 samples/cpp/cloning_demo.cpp p.y = 100; y 121 samples/cpp/cloning_demo.cpp p.y = destination.size().height/2; y 158 samples/cpp/cloning_demo.cpp p.y = destination.size().height/2; y 74 samples/cpp/cloning_gui.cpp void source(int event, int x, int y, int, void*) y 83 samples/cpp/cloning_gui.cpp point = Point(x, y); y 118 samples/cpp/cloning_gui.cpp miny = min(miny,pts[i].y); y 119 samples/cpp/cloning_gui.cpp maxy = max(maxy,pts[i].y); y 130 samples/cpp/cloning_gui.cpp pts_diff[i].y = pts[i].y - mid_pointy; y 175 samples/cpp/cloning_gui.cpp pts[i].y=0; y 187 samples/cpp/cloning_gui.cpp void destination(int event, int x, int y, int, void*) y 198 samples/cpp/cloning_gui.cpp point = Point(x, y); y 203 samples/cpp/cloning_gui.cpp pts2[i].y = point.y + pts_diff[i].y; y 209 samples/cpp/cloning_gui.cpp pts2[i].y = point.y + pts_diff[0].y; y 216 samples/cpp/cloning_gui.cpp desty = y; y 227 samples/cpp/cloning_gui.cpp minyd = min(minyd,pts2[i].y); y 228 samples/cpp/cloning_gui.cpp maxyd = max(maxyd,pts2[i].y); y 263 samples/cpp/cloning_gui.cpp pts2[i].y=0; y 476 samples/cpp/cloning_gui.cpp miny = min(miny,pts[i].y); y 477 samples/cpp/cloning_gui.cpp maxy = max(maxy,pts[i].y); y 488 samples/cpp/cloning_gui.cpp pts_diff[i].y = pts[i].y - mid_pointy; y 507 samples/cpp/cloning_gui.cpp pts[i].y=0; y 34 samples/cpp/convexhull.cpp pt.y = rng.uniform(img.rows/4, img.rows*3/4); y 40 samples/cpp/create_mask.cpp void mouseHandler(int event, int x, int y, int, void*) y 49 samples/cpp/create_mask.cpp point = Point(x, y); y 84 samples/cpp/create_mask.cpp miny = min(miny,pts[i].y); y 85 samples/cpp/create_mask.cpp maxy = max(maxy,pts[i].y); y 114 samples/cpp/create_mask.cpp pts[i].y=0; y 133 samples/cpp/detect_mser.cpp static void onMouse(int event, int x, int y, int flags, void*) y 138 samples/cpp/detect_mser.cpp prevY = y; y 148 samples/cpp/detect_mser.cpp ty -= float((y - prevY) / 100.0); y 150 samples/cpp/detect_mser.cpp prevY = y; y 155 samples/cpp/detect_mser.cpp prevPhi = y; y 172 samples/cpp/detect_mser.cpp if (y - prevPhi<0) y 176 samples/cpp/detect_mser.cpp else if (y - prevPhi>0) y 181 samples/cpp/detect_mser.cpp prevPhi = y; y 233 samples/cpp/detect_mser.cpp float y = (i) / (float)img.rows; y 234 samples/cpp/detect_mser.cpp vertex.at< Vec3f >(0, nbPix) = Vec3f(float(2 * (x - 0.5)), float(2 * (0.5 - y)), float(imgGray.at<uchar>(i, j) / 512.0)); y 235 samples/cpp/detect_mser.cpp texCoords.at< Vec2f>(0, nbPix) = Vec2f(x, y); y 514 samples/cpp/detect_mser.cpp result.at<Vec3b>(itp->y, itp->x) = Vec3b(128, 0, 0); y 38 samples/cpp/drawing.cpp pt1.y = rng.uniform(y1, y2); y 40 samples/cpp/drawing.cpp pt2.y = rng.uniform(y1, y2); y 53 samples/cpp/drawing.cpp pt1.y = rng.uniform(y1, y2); y 55 samples/cpp/drawing.cpp pt2.y = rng.uniform(y1, y2); y 69 samples/cpp/drawing.cpp center.y = rng.uniform(y1, y2); y 87 samples/cpp/drawing.cpp pt[0][0].y = rng.uniform(y1, y2); y 89 samples/cpp/drawing.cpp pt[0][1].y = rng.uniform(y1, y2); y 91 samples/cpp/drawing.cpp pt[0][2].y = rng.uniform(y1, y2); y 93 samples/cpp/drawing.cpp pt[1][0].y = rng.uniform(y1, y2); y 95 samples/cpp/drawing.cpp pt[1][1].y = rng.uniform(y1, y2); y 97 samples/cpp/drawing.cpp pt[1][2].y = rng.uniform(y1, y2); y 112 samples/cpp/drawing.cpp pt[0][0].y = rng.uniform(y1, y2); y 114 samples/cpp/drawing.cpp pt[0][1].y = rng.uniform(y1, y2); y 116 samples/cpp/drawing.cpp pt[0][2].y = rng.uniform(y1, y2); y 118 samples/cpp/drawing.cpp pt[1][0].y = rng.uniform(y1, y2); y 120 samples/cpp/drawing.cpp pt[1][1].y = rng.uniform(y1, y2); y 122 samples/cpp/drawing.cpp pt[1][2].y = rng.uniform(y1, y2); y 137 samples/cpp/drawing.cpp center.y = rng.uniform(y1, y2); y 151 samples/cpp/drawing.cpp org.y = rng.uniform(y1, y2); y 239 samples/cpp/facedetect.cpp faces.push_back(Rect(smallImg.cols - r->x - r->width, r->y, r->width, r->height)); y 256 samples/cpp/facedetect.cpp center.y = cvRound((r->y + r->height*0.5)*scale); y 261 samples/cpp/facedetect.cpp rectangle( img, cvPoint(cvRound(r->x*scale), cvRound(r->y*scale)), y 262 samples/cpp/facedetect.cpp cvPoint(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)), y 278 samples/cpp/facedetect.cpp center.y = cvRound((r->y + nr->y + nr->height*0.5)*scale); y 142 samples/cpp/facial_features.cpp rectangle(img, Point(face.x, face.y), Point(face.x+face.width, face.y+face.height), y 146 samples/cpp/facial_features.cpp Mat ROI = img(Rect(face.x, face.y, face.width, face.height)); y 163 samples/cpp/facial_features.cpp circle(ROI, Point(e.x+e.width/2, e.y+e.height/2), 3, Scalar(0, 255, 0), -1, 8); y 180 samples/cpp/facial_features.cpp circle(ROI, Point(n.x+n.width/2, n.y+n.height/2), 3, Scalar(0, 255, 0), -1, 8); y 181 samples/cpp/facial_features.cpp nose_center_height = (n.y + n.height/2); y 195 samples/cpp/facial_features.cpp mouth_center_height = (m.y + m.height/2); y 200 samples/cpp/facial_features.cpp rectangle(ROI, Point(m.x, m.y), Point(m.x+m.width, m.y+m.height), Scalar(0, 255, 0), 1, 4); y 205 samples/cpp/facial_features.cpp rectangle(ROI, Point(m.x, m.y), Point(m.x+m.width, m.y+m.height), Scalar(0, 255, 0), 1, 4); y 23 samples/cpp/fback.cpp for(int y = 0; y < cflowmap.rows; y += step) y 26 samples/cpp/fback.cpp const Point2f& fxy = flow.at<Point2f>(y, x); y 27 samples/cpp/fback.cpp line(cflowmap, Point(x,y), Point(cvRound(x+fxy.x), cvRound(y+fxy.y)), y 29 samples/cpp/fback.cpp circle(cflowmap, Point(x,y), 2, color, -1); y 37 samples/cpp/ffilldemo.cpp static void onMouse( int event, int x, int y, int, void* ) y 42 samples/cpp/ffilldemo.cpp Point seed = Point(x,y); y 59 samples/cpp/grabcut.cpp void mouseClick( int event, int x, int y, int flags, void* param ); y 129 samples/cpp/grabcut.cpp rectangle( res, Point( rect.x, rect.y ), Point(rect.x + rect.width, rect.y + rect.height ), GREEN, 2); y 139 samples/cpp/grabcut.cpp rect.y = max(0, rect.y); y 141 samples/cpp/grabcut.cpp rect.height = min(rect.height, image->rows-rect.y); y 175 samples/cpp/grabcut.cpp void GCApplication::mouseClick( int event, int x, int y, int flags, void* ) y 187 samples/cpp/grabcut.cpp rect = Rect( x, y, 1, 1 ); y 204 samples/cpp/grabcut.cpp rect = Rect( Point(rect.x, rect.y), Point(x,y) ); y 212 samples/cpp/grabcut.cpp setLblsInMask(flags, Point(x,y), false); y 220 samples/cpp/grabcut.cpp setLblsInMask(flags, Point(x,y), true); y 228 samples/cpp/grabcut.cpp rect = Rect( Point(rect.x, rect.y), Point(x,y) ); y 234 samples/cpp/grabcut.cpp setLblsInMask(flags, Point(x,y), false); y 239 samples/cpp/grabcut.cpp setLblsInMask(flags, Point(x,y), true); y 272 samples/cpp/grabcut.cpp static void on_mouse( int event, int x, int y, int flags, void* param ) y 274 samples/cpp/grabcut.cpp gcapp.mouseClick( event, x, y, flags, param ); y 44 samples/cpp/houghlines.cpp pt1.y = cvRound(y0 + 1000*(a)); y 46 samples/cpp/houghlines.cpp pt2.y = cvRound(y0 - 1000*(a)); y 73 samples/cpp/image.cpp for( int y = 0; y < img_yuv.rows; y++ ) y 75 samples/cpp/image.cpp uchar* Uptr = planes[1].ptr<uchar>(y); y 79 samples/cpp/image.cpp uchar& Vxy = planes[2].at<uchar>(y, x); y 36 samples/cpp/image_alignment.cpp #define HOMO_VECTOR(H, x, y)\ y 38 samples/cpp/image_alignment.cpp H.at<float>(1,0) = (float)(y);\ y 41 samples/cpp/image_alignment.cpp #define GET_HOMO_VALUES(X, x, y)\ y 43 samples/cpp/image_alignment.cpp (y) = static_cast<float> (X.at<float>(1,0)/X.at<float>(2,0)); y 140 samples/cpp/image_alignment.cpp for (int y = 0; y < W.rows; y++) y 142 samples/cpp/image_alignment.cpp warp_mat.at<float>(y,x) = W.at<float>(y,x); y 149 samples/cpp/image_alignment.cpp GET_HOMO_VALUES(U, top_left.x, top_left.y); y 154 samples/cpp/image_alignment.cpp GET_HOMO_VALUES(U, top_right.x, top_right.y); y 159 samples/cpp/image_alignment.cpp GET_HOMO_VALUES(U, bottom_left.x, bottom_left.y); y 164 samples/cpp/image_alignment.cpp GET_HOMO_VALUES(U, bottom_right.x, bottom_right.y); y 29 samples/cpp/inpaint.cpp static void onMouse( int event, int x, int y, int flags, void* ) y 34 samples/cpp/inpaint.cpp prevPt = Point(x,y); y 37 samples/cpp/inpaint.cpp Point pt(x,y); y 164 samples/cpp/intelperc_capture.cpp int y = (int)((*uvmap) * image.rows); y 166 samples/cpp/intelperc_capture.cpp if ((0 <= x) && (0 <= y)) y 169 samples/cpp/intelperc_capture.cpp for (int row = y; row < min(y + pointSize, image.rows); row++) y 73 samples/cpp/kalman.cpp line( img, Point( center.x - d, center.y - d ), \ y 74 samples/cpp/kalman.cpp Point( center.x + d, center.y + d ), color, 1, LINE_AA, 0); \ y 75 samples/cpp/kalman.cpp line( img, Point( center.x + d, center.y - d ), \ y 76 samples/cpp/kalman.cpp Point( center.x - d, center.y + d ), color, 1, LINE_AA, 0 ) y 47 samples/cpp/kmeans.cpp center.y = rng.uniform(0, img.rows); y 51 samples/cpp/kmeans.cpp rng.fill(pointChunk, RNG::NORMAL, Scalar(center.x, center.y), Scalar(img.cols*0.05, img.rows*0.05)); y 29 samples/cpp/lkdemo.cpp static void onMouse( int event, int x, int y, int /*flags*/, void* /*param*/ ) y 33 samples/cpp/lkdemo.cpp point = Point2f((float)x, (float)y); y 147 samples/cpp/matchmethod_orb_akaze_brisk.cpp cumSumDist2=p.x*p.x+p.y*p.y; y 37 samples/cpp/minarea.cpp pt.y = rng.uniform(img.rows/4, img.rows*3/4); y 43 samples/cpp/openni_capture.cpp for( int y = 0; y < gray.rows; y++ ) y 47 samples/cpp/openni_capture.cpp uchar d = gray.at<uchar>(y,x); y 72 samples/cpp/openni_capture.cpp uchar g = (uchar)(std::max(0.f, std::min (res.y, 1.f)) * 255.f); y 75 samples/cpp/openni_capture.cpp rgb.at<Point3_<uchar> >(y,x) = Point3_<uchar>(b, g, r); y 29 samples/cpp/phase_corr.cpp double radius = std::sqrt(shift.x*shift.x + shift.y*shift.y); y 36 samples/cpp/phase_corr.cpp line(frame, center, Point(center.x + (int)shift.x, center.y + (int)shift.y), Scalar(0, 255, 0), 3, LINE_AA); y 41 samples/cpp/points_classifier.cpp static void on_mouse( int event, int x, int y, int /*flags*/, void* ) y 50 samples/cpp/points_classifier.cpp trainedPoints.push_back( Point(x,y) ); y 88 samples/cpp/points_classifier.cpp for( int y = 0; y < img.rows; y += testStep ) y 93 samples/cpp/points_classifier.cpp testSample.at<float>(1) = (float)y; y 96 samples/cpp/points_classifier.cpp dst.at<Vec3b>(y, x) = classColors[response]; y 275 samples/cpp/points_classifier.cpp for( int y = 0; y < img.rows; y += testStep ) y 280 samples/cpp/points_classifier.cpp testSample.at<float>(1) = (float)y; y 289 samples/cpp/points_classifier.cpp imgDst.at<Vec3b>(y, x) = classColors[maxLoc.x]; y 78 samples/cpp/select3dobj.cpp static void onMouse(int event, int x, int y, int flags, void* userdata) y 82 samples/cpp/select3dobj.cpp data->pt = Point(x,y); y 120 samples/cpp/select3dobj.cpp Mat_<double> v = (cameraMatrix*R1).inv()*(Mat_<double>(3,1) << imgpt.x, imgpt.y, 1); y 146 samples/cpp/select3dobj.cpp objpt.push_back(Point3f(objpt[i].x, objpt[i].y, box[3].z)); y 242 samples/cpp/select3dobj.cpp float dx = box[1].x - box[0].x, dy = box[1].y - box[0].y; y 245 samples/cpp/select3dobj.cpp -dx*len + box[nearestIdx].y, 0.f); y 248 samples/cpp/select3dobj.cpp tempobj[0] = Point3f(box[nearestIdx].x, box[nearestIdx].y, 1.f); y 360 samples/cpp/select3dobj.cpp "roi" << "[:" << r.x << r.y << r.width << r.height << "]" << y 196 samples/cpp/smiledetect.cpp faces.push_back(Rect(smallImg.cols - r->x - r->width, r->y, r->width, r->height)); y 212 samples/cpp/smiledetect.cpp center.y = cvRound((r->y + r->height*0.5)*scale); y 217 samples/cpp/smiledetect.cpp rectangle( img, cvPoint(cvRound(r->x*scale), cvRound(r->y*scale)), y 218 samples/cpp/smiledetect.cpp cvPoint(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)), y 222 samples/cpp/smiledetect.cpp r->y=r->y + half_height; y 40 samples/cpp/squares.cpp double dy1 = pt1.y - pt0.y; y 42 samples/cpp/squares.cpp double dy2 = pt2.y - pt0.y; y 205 samples/cpp/stereo_calib.cpp imagePoints[0][i][j].y*lines[1][j][1] + lines[1][j][2]) + y 207 samples/cpp/stereo_calib.cpp imagePoints[1][i][j].y*lines[0][j][1] + lines[0][j][2]); y 311 samples/cpp/stereo_calib.cpp Rect vroi(cvRound(validRoi[k].x*sf), cvRound(validRoi[k].y*sf), y 32 samples/cpp/stereo_match.cpp for(int y = 0; y < mat.rows; y++) y 36 samples/cpp/stereo_match.cpp Vec3f point = mat.at<Vec3f>(y, x); y 123 samples/cpp/train_HOG.cpp box.y = rand() % (img->rows - size_y); y 151 samples/cpp/train_HOG.cpp for (int y=0; y<cells_in_y_dir; y++) y 153 samples/cpp/train_HOG.cpp gradientStrengths[y] = new float*[cells_in_x_dir]; y 154 samples/cpp/train_HOG.cpp cellUpdateCounter[y] = new int[cells_in_x_dir]; y 157 samples/cpp/train_HOG.cpp gradientStrengths[y][x] = new float[gradientBinSize]; y 158 samples/cpp/train_HOG.cpp cellUpdateCounter[y][x] = 0; y 161 samples/cpp/train_HOG.cpp gradientStrengths[y][x][bin] = 0.0; y 276 samples/cpp/train_HOG.cpp for (int y=0; y<cells_in_y_dir; y++) y 280 samples/cpp/train_HOG.cpp delete[] gradientStrengths[y][x]; y 282 samples/cpp/train_HOG.cpp delete[] gradientStrengths[y]; y 283 samples/cpp/train_HOG.cpp delete[] cellUpdateCounter[y]; y 30 samples/cpp/tutorial_code/HighGUI/BasicLinearTransformsTrackbar.cpp for( int y = 0; y < image.rows; y++ ) y 33 samples/cpp/tutorial_code/HighGUI/BasicLinearTransformsTrackbar.cpp new_image.at<Vec3b>(y,x)[c] = saturate_cast<uchar>( alpha*( image.at<Vec3b>(y,x)[c] ) + beta ); y 54 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp ((1-t)*p1.y) + (t*p2.y)); y 116 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp double demRatioY = 1-((dem_tr.y - coordinate.y)/(dem_tr.y - dem_bl.y)); y 120 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp output.y = demRatioY * dem_size.height; y 128 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d pixel2world( const int& x, const int& y, const cv::Size& size ){ y 132 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp double ry = (double)y / size.height; y 195 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp for( int y=0; y<image.rows; y++ ){ y 199 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d coordinate = pixel2world( x, y, image.size() ); y 206 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp if( dem_coordinate.x >= 0 && dem_coordinate.y >= 0 && y 207 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp dem_coordinate.x < dem.cols && dem_coordinate.y < dem.rows ){ y 214 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp output_dem_flood.at<cv::Vec3b>(y,x) = image.at<cv::Vec3b>(y,x); y 218 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp output_dem.at<cv::Vec3b>(y,x) = actualColor; y 222 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp add_color( output_dem_flood.at<cv::Vec3b>(y,x), 90, 0, 0 ); y 226 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp add_color( output_dem_flood.at<cv::Vec3b>(y,x), 0, 90, 0 ); y 230 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp add_color( output_dem_flood.at<cv::Vec3b>(y,x), 0, 0, 90 ); y 84 samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp rectangle( img_display, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 ); y 85 samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp rectangle( result, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 ); y 25 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp void pickPoint (int event, int x, int y, int, void* ); y 54 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp void pickPoint (int event, int x, int y, int, void* ) y 60 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp Point seed = Point( x, y ); y 37 samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp for( int y = 0; y < image.rows; y++ ) y 41 samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp new_image.at<Vec3b>(y,x)[c] = saturate_cast<uchar>( alpha*( image.at<Vec3b>(y,x)[c] ) + beta ); y 31 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp for( int y = 0; y < src.cols; y++ ) { y 32 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp if ( src.at<Vec3b>(x, y) == Vec3b(255,255,255) ) { y 33 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp src.at<Vec3b>(x, y)[0] = 0; y 34 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp src.at<Vec3b>(x, y)[1] = 0; y 35 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp src.at<Vec3b>(x, y)[2] = 0; y 104 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp { cout<<" -- Refined Corner ["<<i<<"] ("<<corners[i].x<<","<<corners[i].y<<")"<<endl; } y 42 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.cpp string x, y, z; y 44 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.cpp getline(liness, y, _separator); y 49 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.cpp tmp_p.y = (float)StringToInt(y); y 16 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp string x, y, z; y 20 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp y = FloatToString(list_points3d[i].y); y 23 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp _file << x << _separator << y << _separator << z << std::endl; y 30 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp string u, v, x, y, z, descriptor_str; y 34 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp v = FloatToString(list_points2d[i].y); y 36 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp y = FloatToString(list_points3d[i].y); y 39 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp _file << u << _separator << v << _separator << x << _separator << y << _separator << z; y 28 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp tmp_p.x = v1.y*v2.z - v1.z*v2.y; y 29 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp tmp_p.y = v1.z*v2.x - v1.x*v2.z; y 30 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp tmp_p.z = v1.x*v2.y - v1.y*v2.x; y 36 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp return v1.x*v2.x + v1.y*v2.y + v1.z*v2.z; y 43 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp tmp_p.y = v1.y - v2.y; y 57 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp double d1 = std::sqrt( std::pow(p1.x-origin.x, 2) + std::pow(p1.y-origin.y, 2) + std::pow(p1.z-origin.z, 2) ); y 58 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp double d2 = std::sqrt( std::pow(p2.x-origin.x, 2) + std::pow(p2.y-origin.y, 2) + std::pow(p2.z-origin.z, 2) ); y 180 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp point3d_vec.at<double>(1) = point3d.y; y 191 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp point2d.y = (float)(point2d_vec.at<double>(1) / point2d_vec.at<double>(2)); y 204 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp double v = point2d.y; y 31 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string y = IntToString((int)point.y); y 34 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string text = " Where is point (" + x + "," + y + "," + z + ") ?"; y 88 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string y = IntToString((int)point_3d.y); y 90 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string text = "P" + idx + " (" + x + "," + y + "," + z +")"; y 93 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp point_2d.y = point_2d.y - 10; y 117 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp double angle = atan2((double)p.y-q.y, (double)p.x-q.x); y 120 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp p.y = (int) ( q.y + arrowMagnitude * sin(angle + PI/4)); y 125 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp p.y = (int) ( q.y + arrowMagnitude * sin(angle - PI/4)); y 201 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp double x, y, z; y 206 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp y = CV_PI/2; y 211 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp y = -CV_PI/2; y 217 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp y = asin(m10); y 222 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp euler.at<double>(1) = y; y 234 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp double y = euler.at<double>(1); y 240 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp double ca = cos(y); y 241 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp double sa = sin(y); y 65 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp static void onMouseModelRegistration( int event, int x, int y, int, void* ) y 72 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp Point2f point_2d = Point2f((float)x,(float)y); y 115 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt1.y = rng.uniform( y_1, y_2 ); y 117 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt2.y = rng.uniform( y_1, y_2 ); y 140 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt1.y = rng.uniform( y_1, y_2 ); y 142 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt2.y = rng.uniform( y_1, y_2 ); y 165 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp center.y = rng.uniform(y_1, y_2); y 196 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[0][0].y = rng.uniform(y_1, y_2); y 198 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[0][1].y = rng.uniform(y_1, y_2); y 200 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[0][2].y = rng.uniform(y_1, y_2); y 202 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[1][0].y = rng.uniform(y_1, y_2); y 204 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[1][1].y = rng.uniform(y_1, y_2); y 206 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[1][2].y = rng.uniform(y_1, y_2); y 231 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[0][0].y = rng.uniform(y_1, y_2); y 233 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[0][1].y = rng.uniform(y_1, y_2); y 235 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[0][2].y = rng.uniform(y_1, y_2); y 237 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[1][0].y = rng.uniform(y_1, y_2); y 239 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[1][1].y = rng.uniform(y_1, y_2); y 241 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp pt[1][2].y = rng.uniform(y_1, y_2); y 266 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp center.y = rng.uniform(y_1, y_2); y 290 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp org.y = rng.uniform(y_1, y_2); y 77 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp for( int y = 0; y < I_YUV.rows; y++ ) y 80 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp uchar* Uptr = planes[1].ptr<uchar>(y); y 86 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp uchar& Vxy = planes[2].at<uchar>(y, x); y 49 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp col.at<double>(1) = matched1[i].pt.y; y 54 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp pow(col.at<double>(1) - matched2[i].pt.y, 2)); y 25 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp angle = atan2( (double) p.y - q.y, (double) p.x - q.x ); // angle in radians y 26 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp hypotenuse = sqrt( (double) (p.y - q.y) * (p.y - q.y) + (p.x - q.x) * (p.x - q.x)); y 32 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp q.y = (int) (p.y - scale * hypotenuse * sin(angle)); y 37 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp p.y = (int) (q.y + 9 * sin(angle + CV_PI / 4)); y 41 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp p.y = (int) (q.y + 9 * sin(angle - CV_PI / 4)); y 58 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp data_pts.at<double>(i, 1) = pts[i].y; y 83 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp Point p1 = cntr + 0.02 * Point(static_cast<int>(eigen_vecs[0].x * eigen_val[0]), static_cast<int>(eigen_vecs[0].y * eigen_val[0])); y 84 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp Point p2 = cntr - 0.02 * Point(static_cast<int>(eigen_vecs[1].x * eigen_val[1]), static_cast<int>(eigen_vecs[1].y * eigen_val[1])); y 88 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp double angle = atan2(eigen_vecs[0].y, eigen_vecs[0].x); // orientation in radians y 67 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp Point center( faces[i].x + faces[i].width/2, faces[i].y + faces[i].height/2 ); y 78 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp Point eye_center( faces[i].x + eyes[j].x + eyes[j].width/2, faces[i].y + eyes[j].y + eyes[j].height/2 ); y 84 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp Point center( faces[i].x + faces[i].width/2, faces[i].y + faces[i].height/2 ); y 89 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp Point eye_center( faces[i].x + eyes[j].x + eyes[j].width/2, faces[i].y + eyes[j].y + eyes[j].height/2 ); y 83 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp p.y = 100; y 120 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp p.y = destination.size().height/2; y 157 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp p.y = destination.size().height/2; y 73 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp void source(int event, int x, int y, int, void*) y 82 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp point = Point(x, y); y 117 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp miny = min(miny,pts[i].y); y 118 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp maxy = max(maxy,pts[i].y); y 129 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp pts_diff[i].y = pts[i].y - mid_pointy; y 174 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp pts[i].y=0; y 186 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp void destination(int event, int x, int y, int, void*) y 197 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp point = Point(x, y); y 202 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp pts2[i].y = point.y + pts_diff[i].y; y 208 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp pts2[i].y = point.y + pts_diff[0].y; y 215 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp desty = y; y 226 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp minyd = min(minyd,pts2[i].y); y 227 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp maxyd = max(maxyd,pts2[i].y); y 262 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp pts2[i].y=0; y 475 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp miny = min(miny,pts[i].y); y 476 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp maxy = max(maxy,pts[i].y); y 487 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp pts_diff[i].y = pts[i].y - mid_pointy; y 506 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp pts[i].y=0; y 56 samples/cpp/tutorial_code/viz/creating_widgets.cpp points->InsertNextPoint(pt1.x, pt1.y, pt1.z); y 57 samples/cpp/tutorial_code/viz/creating_widgets.cpp points->InsertNextPoint(pt2.x, pt2.y, pt2.z); y 58 samples/cpp/tutorial_code/viz/creating_widgets.cpp points->InsertNextPoint(pt3.x, pt3.y, pt3.z); y 46 samples/cpp/tutorial_code/viz/transformations.cpp ifs >> data[i].x >> data[i].y >> data[i].z >> dummy1 >> dummy2; y 67 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp col.at<double>(1) = matched1[i].pt.y; y 72 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp pow(col.at<double>(1) - matched2[i].pt.y, 2)); y 14 samples/cpp/tvl1_optical_flow.cpp return !cvIsNaN(u.x) && !cvIsNaN(u.y) && fabs(u.x) < 1e9 && fabs(u.y) < 1e9; y 98 samples/cpp/tvl1_optical_flow.cpp for (int y = 0; y < flow.rows; ++y) y 102 samples/cpp/tvl1_optical_flow.cpp Point2f u = flow(y, x); y 107 samples/cpp/tvl1_optical_flow.cpp maxrad = max(maxrad, sqrt(u.x * u.x + u.y * u.y)); y 112 samples/cpp/tvl1_optical_flow.cpp for (int y = 0; y < flow.rows; ++y) y 116 samples/cpp/tvl1_optical_flow.cpp Point2f u = flow(y, x); y 119 samples/cpp/tvl1_optical_flow.cpp dst.at<Vec3b>(y, x) = computeColor(u.x / maxrad, u.y / maxrad); y 144 samples/cpp/tvl1_optical_flow.cpp file.write((const char*) &u.y, sizeof(float)); y 229 samples/cpp/ufacedetect.cpp faces.push_back(Rect(smallImg.cols - r->x - r->width, r->y, r->width, r->height)); y 256 samples/cpp/ufacedetect.cpp center.y = cvRound((r->y + r->height*0.5)*scale); y 261 samples/cpp/ufacedetect.cpp rectangle( canvas, Point(cvRound(r->x*scale), cvRound(r->y*scale)), y 262 samples/cpp/ufacedetect.cpp Point(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)), y 278 samples/cpp/ufacedetect.cpp center.y = cvRound((r->y + nr->y + nr->height*0.5)*scale); y 29 samples/cpp/watershed.cpp static void onMouse( int event, int x, int y, int flags, void* ) y 31 samples/cpp/watershed.cpp if( x < 0 || x >= img.cols || y < 0 || y >= img.rows ) y 36 samples/cpp/watershed.cpp prevPt = Point(x,y); y 39 samples/cpp/watershed.cpp Point pt(x, y); y 258 samples/directx/d3d9_interop.cpp int y = 0; y 262 samples/directx/d3d9_interop.cpp ::TextOut(hDC, 0, y, buf, (int)strlen(buf)); y 264 samples/directx/d3d9_interop.cpp y += tm.tmHeight; y 267 samples/directx/d3d9_interop.cpp ::TextOut(hDC, 0, y, buf, (int)strlen(buf)); y 269 samples/directx/d3d9_interop.cpp y += tm.tmHeight; y 272 samples/directx/d3d9_interop.cpp ::TextOut(hDC, 0, y, buf, (int)strlen(buf)); y 259 samples/directx/d3d9ex_interop.cpp int y = 0; y 263 samples/directx/d3d9ex_interop.cpp ::TextOut(hDC, 0, y, buf, (int)strlen(buf)); y 265 samples/directx/d3d9ex_interop.cpp y += tm.tmHeight; y 268 samples/directx/d3d9ex_interop.cpp ::TextOut(hDC, 0, y, buf, (int)strlen(buf)); y 270 samples/directx/d3d9ex_interop.cpp y += tm.tmHeight; y 273 samples/directx/d3d9ex_interop.cpp ::TextOut(hDC, 0, y, buf, (int)strlen(buf)); y 86 samples/gpu/cascadeclassifier.cpp org.y = 3 * fontSize.height * (lineOffsY + 1) / 2; y 273 samples/gpu/cascadeclassifier.cpp << ", " << setw(4) << faces[i].y y 51 samples/gpu/cascadeclassifier_nvidia_api.cpp org.y = 3 * fontSize.height * (lineOffsY + 1) / 2; y 34 samples/gpu/farneback_optical_flow.cpp for (int y = 0; y < u.rows; ++y) y 38 samples/gpu/farneback_optical_flow.cpp dst.at<uchar>(y,3*x) = 0; y 39 samples/gpu/farneback_optical_flow.cpp dst.at<uchar>(y,3*x+1) = (uchar)mapVal(-v.at<float>(y,x), -dMax, dMax, 0.f, 255.f); y 40 samples/gpu/farneback_optical_flow.cpp dst.at<uchar>(y,3*x+2) = (uchar)mapVal(u.at<float>(y,x), -dMax, dMax, 0.f, 255.f); y 16 samples/gpu/optical_flow.cpp return !cvIsNaN(u.x) && !cvIsNaN(u.y) && fabs(u.x) < 1e9 && fabs(u.y) < 1e9; y 100 samples/gpu/optical_flow.cpp for (int y = 0; y < flowx.rows; ++y) y 104 samples/gpu/optical_flow.cpp Point2f u(flowx(y, x), flowy(y, x)); y 109 samples/gpu/optical_flow.cpp maxrad = max(maxrad, sqrt(u.x * u.x + u.y * u.y)); y 114 samples/gpu/optical_flow.cpp for (int y = 0; y < flowx.rows; ++y) y 118 samples/gpu/optical_flow.cpp Point2f u(flowx(y, x), flowy(y, x)); y 121 samples/gpu/optical_flow.cpp dst.at<Vec3b>(y, x) = computeColor(u.x / maxrad, u.y / maxrad); y 439 samples/gpu/performance/tests.cpp Mat x, y, mag; y 447 samples/gpu/performance/tests.cpp gen(y, size, size, CV_32F, 0, 1); y 449 samples/gpu/performance/tests.cpp magnitude(x, y, mag); y 452 samples/gpu/performance/tests.cpp magnitude(x, y, mag); y 456 samples/gpu/performance/tests.cpp d_y.upload(y); y 41 samples/gpu/pyrlk_optical_flow.cpp double angle = atan2((double) p.y - q.y, (double) p.x - q.x); y 43 samples/gpu/pyrlk_optical_flow.cpp double hypotenuse = sqrt( (double)(p.y - q.y)*(p.y - q.y) + (double)(p.x - q.x)*(p.x - q.x) ); y 50 samples/gpu/pyrlk_optical_flow.cpp q.y = (int) (p.y - 3 * hypotenuse * sin(angle)); y 59 samples/gpu/pyrlk_optical_flow.cpp p.y = (int) (q.y + 9 * sin(angle + CV_PI / 4)); y 63 samples/gpu/pyrlk_optical_flow.cpp p.y = (int) (q.y + 9 * sin(angle - CV_PI / 4)); y 35 samples/java/sbt/src/main/java/DetectFaceDemo.java Imgproc.rectangle(image, new Point(rect.x, rect.y), new Point(rect.x y 36 samples/java/sbt/src/main/java/DetectFaceDemo.java + rect.width, rect.y + rect.height), new Scalar(0, 255, 0)); y 19 samples/tapi/camshift.cpp static void onMouse(int event, int x, int y, int, void*) y 26 samples/tapi/camshift.cpp selection.y = std::min(y, origin.y); y 28 samples/tapi/camshift.cpp selection.height = std::abs(y - origin.y); y 36 samples/tapi/camshift.cpp origin = cv::Point(x, y); y 37 samples/tapi/camshift.cpp selection = cv::Rect(x, y, 0, 0); y 169 samples/tapi/camshift.cpp trackWindow = cv::Rect(trackWindow.x - r, trackWindow.y - r, y 170 samples/tapi/camshift.cpp trackWindow.x + r, trackWindow.y + r) & y 46 samples/tapi/pyrlk_optical_flow.cpp double angle = atan2((double) p.y - q.y, (double) p.x - q.x); y 48 samples/tapi/pyrlk_optical_flow.cpp double hypotenuse = sqrt( (double)(p.y - q.y)*(p.y - q.y) + (double)(p.x - q.x)*(p.x - q.x) ); y 55 samples/tapi/pyrlk_optical_flow.cpp q.y = (int) (p.y - 3 * hypotenuse * sin(angle)); y 64 samples/tapi/pyrlk_optical_flow.cpp p.y = (int) (q.y + 9 * sin(angle + CV_PI / 4)); y 68 samples/tapi/pyrlk_optical_flow.cpp p.y = (int) (q.y + 9 * sin(angle - CV_PI / 4)); y 26 samples/tapi/squares.cpp double dy1 = pt1.y - pt0.y; y 28 samples/tapi/squares.cpp double dy2 = pt2.y - pt0.y; y 1376 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp mP1.y = BgrFrame.rows-1; y 1377 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp mP2.y = mP1.y - 2 - (int)hist.at<float>(h); y 1382 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp mP1.y /= 2; y 1384 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp mP2.y /= 2; y 222 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::circle(result, cv::Point((int)kp.pt.x, (int)kp.pt.y), 10, cv::Scalar(255,0,0,255)); y 169 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::circle(*mat, cv::Point((int)kp.pt.x, (int)kp.pt.y), 10, cv::Scalar(255,0,0,255)); y 17 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.h Vertex(float x, float y, float z, y 19 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.h : pos(x,y,z), texCoord(u, v){} y 18 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.h Vertex(float x, float y, float z, y 20 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.h : pos(x,y,z), texCoord(u, v){}