res 51 3rdparty/include/ffmpeg_/libavutil/eval.h int av_expr_parse_and_eval(double *res, const char *s, res 1915 3rdparty/libpng/png.c png_muldiv(png_fixed_point_p res, png_fixed_point a, png_int_32 times, res 1923 3rdparty/libpng/png.c *res = 0; res 1937 3rdparty/libpng/png.c *res = (png_fixed_point)r; res 2017 3rdparty/libpng/png.c *res = result; res 2058 3rdparty/libpng/png.c png_fixed_point res; res 2060 3rdparty/libpng/png.c if (png_muldiv(&res, 100000, 100000, a)) res 2061 3rdparty/libpng/png.c return res; res 2080 3rdparty/libpng/png.c png_fixed_point res; res 2082 3rdparty/libpng/png.c if (png_muldiv(&res, a, b, 100000)) res 2083 3rdparty/libpng/png.c return res; res 2107 3rdparty/libpng/png.c png_fixed_point res = png_product2(a, b); res 2109 3rdparty/libpng/png.c if (res != 0) res 2110 3rdparty/libpng/png.c return png_reciprocal(res); res 2464 3rdparty/libpng/png.c png_fixed_point res; res 2466 3rdparty/libpng/png.c if (png_muldiv(&res, gamma_val, lg2, PNG_FP_1)) res 2467 3rdparty/libpng/png.c return png_exp8bit(res); res 2487 3rdparty/libpng/png.c png_fixed_point res; res 2489 3rdparty/libpng/png.c if (png_muldiv(&res, gamma_val, lg2, PNG_FP_1)) res 2490 3rdparty/libpng/png.c return png_exp16bit(res); res 195 3rdparty/libpng/pngget.c png_fixed_point res; res 202 3rdparty/libpng/pngget.c if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1, res 204 3rdparty/libpng/pngget.c return res; res 1622 3rdparty/libpng/pngpriv.h PNG_EXTERN int png_muldiv PNGARG((png_fixed_point_p res, png_fixed_point a, res 734 3rdparty/libtiff/tif_fax3.c float res = tif->tif_dir.td_yresolution; res 746 3rdparty/libtiff/tif_fax3.c res *= 2.54f; /* convert to inches */ res 747 3rdparty/libtiff/tif_fax3.c sp->maxk = (res > 150 ? 4 : 2); res 116 3rdparty/libwebp/enc/frame.c static int RecordCoeffs(int ctx, const VP8Residual* const res) { res 117 3rdparty/libwebp/enc/frame.c int n = res->first; res 119 3rdparty/libwebp/enc/frame.c proba_t* s = res->stats[n][ctx]; res 120 3rdparty/libwebp/enc/frame.c if (res->last < 0) { res 124 3rdparty/libwebp/enc/frame.c while (n <= res->last) { res 127 3rdparty/libwebp/enc/frame.c while ((v = res->coeffs[n++]) == 0) { res 129 3rdparty/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][0]; res 133 3rdparty/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][1]; res 161 3rdparty/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][2]; res 261 3rdparty/libwebp/enc/frame.c VP8Encoder* const enc, VP8Residual* const res) { res 262 3rdparty/libwebp/enc/frame.c res->coeff_type = coeff_type; res 263 3rdparty/libwebp/enc/frame.c res->prob = enc->proba_.coeffs_[coeff_type]; res 264 3rdparty/libwebp/enc/frame.c res->stats = enc->proba_.stats_[coeff_type]; res 265 3rdparty/libwebp/enc/frame.c res->cost = enc->proba_.level_cost_[coeff_type]; res 266 3rdparty/libwebp/enc/frame.c res->first = first; res 270 3rdparty/libwebp/enc/frame.c VP8Residual* const res) { res 272 3rdparty/libwebp/enc/frame.c res->last = -1; res 273 3rdparty/libwebp/enc/frame.c for (n = 15; n >= res->first; --n) { res 275 3rdparty/libwebp/enc/frame.c res->last = n; res 279 3rdparty/libwebp/enc/frame.c res->coeffs = coeffs; res 285 3rdparty/libwebp/enc/frame.c static int GetResidualCost(int ctx0, const VP8Residual* const res) { res 286 3rdparty/libwebp/enc/frame.c int n = res->first; res 288 3rdparty/libwebp/enc/frame.c int p0 = res->prob[n][ctx0][0]; res 289 3rdparty/libwebp/enc/frame.c const uint16_t* t = res->cost[n][ctx0]; res 292 3rdparty/libwebp/enc/frame.c if (res->last < 0) { res 296 3rdparty/libwebp/enc/frame.c while (n < res->last) { res 297 3rdparty/libwebp/enc/frame.c int v = res->coeffs[n]; res 303 3rdparty/libwebp/enc/frame.c t = res->cost[b][0]; res 311 3rdparty/libwebp/enc/frame.c p0 = res->prob[b][ctx][0]; res 312 3rdparty/libwebp/enc/frame.c t = res->cost[b][ctx]; res 317 3rdparty/libwebp/enc/frame.c const int v = abs(res->coeffs[n]); res 324 3rdparty/libwebp/enc/frame.c const int last_p0 = res->prob[b][ctx][0]; res 333 3rdparty/libwebp/enc/frame.c VP8Residual res; res 338 3rdparty/libwebp/enc/frame.c InitResidual(0, 3, enc, &res); res 340 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(levels, &res); res 341 3rdparty/libwebp/enc/frame.c R += GetResidualCost(ctx, &res); res 346 3rdparty/libwebp/enc/frame.c VP8Residual res; res 354 3rdparty/libwebp/enc/frame.c InitResidual(0, 1, enc, &res); res 355 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_dc_levels, &res); res 356 3rdparty/libwebp/enc/frame.c R += GetResidualCost(it->top_nz_[8] + it->left_nz_[8], &res); res 359 3rdparty/libwebp/enc/frame.c InitResidual(1, 0, enc, &res); res 363 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_ac_levels[x + y * 4], &res); res 364 3rdparty/libwebp/enc/frame.c R += GetResidualCost(ctx, &res); res 365 3rdparty/libwebp/enc/frame.c it->top_nz_[x] = it->left_nz_[y] = (res.last >= 0); res 372 3rdparty/libwebp/enc/frame.c VP8Residual res; res 379 3rdparty/libwebp/enc/frame.c InitResidual(0, 2, enc, &res); res 384 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->uv_levels[ch * 2 + x + y * 2], &res); res 385 3rdparty/libwebp/enc/frame.c R += GetResidualCost(ctx, &res); res 386 3rdparty/libwebp/enc/frame.c it->top_nz_[4 + ch + x] = it->left_nz_[4 + ch + y] = (res.last >= 0); res 396 3rdparty/libwebp/enc/frame.c static int PutCoeffs(VP8BitWriter* const bw, int ctx, const VP8Residual* res) { res 397 3rdparty/libwebp/enc/frame.c int n = res->first; res 399 3rdparty/libwebp/enc/frame.c const uint8_t* p = res->prob[n][ctx]; res 400 3rdparty/libwebp/enc/frame.c if (!VP8PutBit(bw, res->last >= 0, p[0])) { res 405 3rdparty/libwebp/enc/frame.c const int c = res->coeffs[n++]; res 409 3rdparty/libwebp/enc/frame.c p = res->prob[VP8EncBands[n]][0]; res 413 3rdparty/libwebp/enc/frame.c p = res->prob[VP8EncBands[n]][1]; res 458 3rdparty/libwebp/enc/frame.c p = res->prob[VP8EncBands[n]][2]; res 461 3rdparty/libwebp/enc/frame.c if (n == 16 || !VP8PutBit(bw, n <= res->last, p[0])) { res 471 3rdparty/libwebp/enc/frame.c VP8Residual res; res 481 3rdparty/libwebp/enc/frame.c InitResidual(0, 1, enc, &res); res 482 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_dc_levels, &res); res 484 3rdparty/libwebp/enc/frame.c PutCoeffs(bw, it->top_nz_[8] + it->left_nz_[8], &res); res 485 3rdparty/libwebp/enc/frame.c InitResidual(1, 0, enc, &res); res 487 3rdparty/libwebp/enc/frame.c InitResidual(0, 3, enc, &res); res 494 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_ac_levels[x + y * 4], &res); res 495 3rdparty/libwebp/enc/frame.c it->top_nz_[x] = it->left_nz_[y] = PutCoeffs(bw, ctx, &res); res 501 3rdparty/libwebp/enc/frame.c InitResidual(0, 2, enc, &res); res 506 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->uv_levels[ch * 2 + x + y * 2], &res); res 508 3rdparty/libwebp/enc/frame.c PutCoeffs(bw, ctx, &res); res 525 3rdparty/libwebp/enc/frame.c VP8Residual res; res 531 3rdparty/libwebp/enc/frame.c InitResidual(0, 1, enc, &res); res 532 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_dc_levels, &res); res 534 3rdparty/libwebp/enc/frame.c RecordCoeffs(it->top_nz_[8] + it->left_nz_[8], &res); res 535 3rdparty/libwebp/enc/frame.c InitResidual(1, 0, enc, &res); res 537 3rdparty/libwebp/enc/frame.c InitResidual(0, 3, enc, &res); res 544 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_ac_levels[x + y * 4], &res); res 545 3rdparty/libwebp/enc/frame.c it->top_nz_[x] = it->left_nz_[y] = RecordCoeffs(ctx, &res); res 550 3rdparty/libwebp/enc/frame.c InitResidual(0, 2, enc, &res); res 555 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->uv_levels[ch * 2 + x + y * 2], &res); res 557 3rdparty/libwebp/enc/frame.c RecordCoeffs(ctx, &res); res 573 3rdparty/libwebp/enc/frame.c VP8Residual res; res 579 3rdparty/libwebp/enc/frame.c InitResidual(0, 1, enc, &res); res 580 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_dc_levels, &res); res 583 3rdparty/libwebp/enc/frame.c res.first, res.last, res.coeffs, tokens); res 584 3rdparty/libwebp/enc/frame.c RecordCoeffs(ctx, &res); res 585 3rdparty/libwebp/enc/frame.c InitResidual(1, 0, enc, &res); res 587 3rdparty/libwebp/enc/frame.c InitResidual(0, 3, enc, &res); res 594 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->y_ac_levels[x + y * 4], &res); res 596 3rdparty/libwebp/enc/frame.c VP8RecordCoeffTokens(ctx, res.coeff_type, res 597 3rdparty/libwebp/enc/frame.c res.first, res.last, res.coeffs, tokens); res 598 3rdparty/libwebp/enc/frame.c RecordCoeffs(ctx, &res); res 603 3rdparty/libwebp/enc/frame.c InitResidual(0, 2, enc, &res); res 608 3rdparty/libwebp/enc/frame.c SetResidualCoeffs(rd->uv_levels[ch * 2 + x + y * 2], &res); res 611 3rdparty/libwebp/enc/frame.c res.first, res.last, res.coeffs, tokens); res 612 3rdparty/libwebp/enc/frame.c RecordCoeffs(ctx, &res); res 1158 3rdparty/zlib/trees.c register unsigned res = 0; res 1160 3rdparty/zlib/trees.c res |= code & 1; res 1161 3rdparty/zlib/trees.c code >>= 1, res <<= 1; res 1163 3rdparty/zlib/trees.c return res >> 1; res 63 apps/traincascade/HOGfeatures.h float res; res 69 apps/traincascade/HOGfeatures.h res = phist[fastRect[cellIdx].p0] - phist[fastRect[cellIdx].p1] - phist[fastRect[cellIdx].p2] + phist[fastRect[cellIdx].p3]; res 73 apps/traincascade/HOGfeatures.h res = (res > 0.001f) ? ( res / (normFactor + 0.001f) ) : 0.f; //for cutting negative values, which apper due to floating precision res 75 apps/traincascade/HOGfeatures.h return res; res 307 apps/traincascade/boost.cpp bool res = true; res 316 apps/traincascade/boost.cpp res = false; res 339 apps/traincascade/boost.cpp res = false; res 341 apps/traincascade/boost.cpp return res; res 101 apps/traincascade/cascadeclassifier.cpp bool res = true; res 123 apps/traincascade/cascadeclassifier.cpp res = false; res 124 apps/traincascade/cascadeclassifier.cpp return res; res 730 apps/traincascade/old_ml.hpp size_t res = (size_t)(work_var_count + 1) * (size_t)sample_count; res 731 apps/traincascade/old_ml.hpp return res; res 1924 apps/traincascade/old_ml_tree.cpp CvDTreeSplit *res; res 1932 apps/traincascade/old_ml_tree.cpp res = tree->find_split_cat_class( node, vi, bestSplit->quality, split, (uchar*)inn_buf ); res 1934 apps/traincascade/old_ml_tree.cpp res = tree->find_split_ord_class( node, vi, bestSplit->quality, split, (uchar*)inn_buf ); res 1939 apps/traincascade/old_ml_tree.cpp res = tree->find_split_cat_reg( node, vi, bestSplit->quality, split, (uchar*)inn_buf ); res 1941 apps/traincascade/old_ml_tree.cpp res = tree->find_split_ord_reg( node, vi, bestSplit->quality, split, (uchar*)inn_buf ); res 1944 apps/traincascade/old_ml_tree.cpp if( res && bestSplit->quality < split->quality ) res 303 modules/calib3d/src/opencl/stereobm.cl int res = (cov1*scale_g - cov2*scale_s)>>10; res 304 modules/calib3d/src/opencl/stereobm.cl res = clamp(res, -prefilterCap, prefilterCap) + prefilterCap; res 305 modules/calib3d/src/opencl/stereobm.cl output[y * cols + x] = res; res 155 modules/calib3d/test/test_affine3d_estimator.cpp int res = estimateAffine3D(fpts, tpts, aff_est, outl); res 157 modules/calib3d/test/test_affine3d_estimator.cpp if (!res) res 1894 modules/calib3d/test/test_cameracalibration.cpp Mat res_, res; res 1898 modules/calib3d/test/test_cameracalibration.cpp convertPointsFromHomogeneous(res_, res); res 1899 modules/calib3d/test/test_cameracalibration.cpp res = res.reshape(1, 1); res 1903 modules/calib3d/test/test_cameracalibration.cpp cout << "\tres: " << res << endl; res 1905 modules/calib3d/test/test_cameracalibration.cpp ASSERT_LE(norm(res, res0, NORM_INF), 1e-1); res 1934 modules/calib3d/test/test_cameracalibration.cpp Mat res_, res; res 1938 modules/calib3d/test/test_cameracalibration.cpp convertPointsFromHomogeneous(res_, res); res 1939 modules/calib3d/test/test_cameracalibration.cpp res = res.reshape(1, 1); res 1943 modules/calib3d/test/test_cameracalibration.cpp cout << "\tres: " << res << endl; res 1945 modules/calib3d/test/test_cameracalibration.cpp ASSERT_LE(norm(res, res0, NORM_INF), 2); res 80 modules/calib3d/test/test_cameracalibration_artificial.cpp Mat res; res 81 modules/calib3d/test/test_cameracalibration_artificial.cpp Rodrigues(rot.t(), res); res 82 modules/calib3d/test/test_cameracalibration_artificial.cpp return res.reshape(1, 1); res 233 modules/calib3d/test/test_cameracalibration_artificial.cpp double res = 0; res 240 modules/calib3d/test/test_cameracalibration_artificial.cpp res += norm(uv_exp[i] - uv_est[i]); res 242 modules/calib3d/test/test_cameracalibration_artificial.cpp return res; res 369 modules/calib3d/test/test_chesscorners.cpp bool res = true; res 418 modules/calib3d/test/test_chesscorners.cpp res = false; res 419 modules/calib3d/test/test_chesscorners.cpp return res; res 427 modules/calib3d/test/test_chesscorners.cpp res = false; res 428 modules/calib3d/test/test_chesscorners.cpp return res; res 437 modules/calib3d/test/test_chesscorners.cpp res = false; res 446 modules/calib3d/test/test_chesscorners.cpp res = false; res 457 modules/calib3d/test/test_chesscorners.cpp res = false; res 467 modules/calib3d/test/test_chesscorners.cpp res = false; res 473 modules/calib3d/test/test_chesscorners.cpp return res; res 147 modules/calib3d/test/test_reproject_image_to_3d.cpp Mat_<double> res = Q * Mat_<double>(4, 1, from); res 148 modules/calib3d/test/test_reproject_image_to_3d.cpp res /= res(3, 0); res 150 modules/calib3d/test/test_reproject_image_to_3d.cpp out3d_t pixel_exp = *res.ptr<Vec3d>(); res 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), res 170 modules/core/include/opencv2/core/cuda/filters.hpp work_type res = (!wsum)? VecTraits<work_type>::all(0) : sum / wsum; res 172 modules/core/include/opencv2/core/cuda/filters.hpp return saturate_cast<elem_type>(res); res 67 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 69 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u8.s8 %0, %1;" : "=r"(res) : "r"(vi)); res 70 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 74 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 75 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u8.s16 %0, %1;" : "=r"(res) : "h"(v)); res 76 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 80 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 81 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u8.u16 %0, %1;" : "=r"(res) : "h"(v)); res 82 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 86 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 87 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u8.s32 %0, %1;" : "=r"(res) : "r"(v)); res 88 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 92 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 93 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u8.u32 %0, %1;" : "=r"(res) : "r"(v)); res 94 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 98 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 99 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.rni.sat.u8.f32 %0, %1;" : "=r"(res) : "f"(v)); res 100 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 105 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 106 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.rni.sat.u8.f64 %0, %1;" : "=r"(res) : "d"(v)); res 107 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 115 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 117 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.s8.u8 %0, %1;" : "=r"(res) : "r"(vi)); res 118 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 122 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 123 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.s8.s16 %0, %1;" : "=r"(res) : "h"(v)); res 124 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 128 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 129 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.s8.u16 %0, %1;" : "=r"(res) : "h"(v)); res 130 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 134 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 135 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.s8.s32 %0, %1;" : "=r"(res) : "r"(v)); res 136 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 140 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 141 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.s8.u32 %0, %1;" : "=r"(res) : "r"(v)); res 142 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 146 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 147 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.rni.sat.s8.f32 %0, %1;" : "=r"(res) : "f"(v)); res 148 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 153 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 154 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.rni.sat.s8.f64 %0, %1;" : "=r"(res) : "d"(v)); res 155 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 163 modules/core/include/opencv2/core/cuda/saturate_cast.hpp ushort res = 0; res 165 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u16.s8 %0, %1;" : "=h"(res) : "r"(vi)); res 166 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 170 modules/core/include/opencv2/core/cuda/saturate_cast.hpp ushort res = 0; res 171 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u16.s16 %0, %1;" : "=h"(res) : "h"(v)); res 172 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 176 modules/core/include/opencv2/core/cuda/saturate_cast.hpp ushort res = 0; res 177 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u16.s32 %0, %1;" : "=h"(res) : "r"(v)); res 178 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 182 modules/core/include/opencv2/core/cuda/saturate_cast.hpp ushort res = 0; res 183 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u16.u32 %0, %1;" : "=h"(res) : "r"(v)); res 184 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 188 modules/core/include/opencv2/core/cuda/saturate_cast.hpp ushort res = 0; res 189 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.rni.sat.u16.f32 %0, %1;" : "=h"(res) : "f"(v)); res 190 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 195 modules/core/include/opencv2/core/cuda/saturate_cast.hpp ushort res = 0; res 196 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.rni.sat.u16.f64 %0, %1;" : "=h"(res) : "d"(v)); res 197 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 205 modules/core/include/opencv2/core/cuda/saturate_cast.hpp short res = 0; res 206 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.s16.u16 %0, %1;" : "=h"(res) : "h"(v)); res 207 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 211 modules/core/include/opencv2/core/cuda/saturate_cast.hpp short res = 0; res 212 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.s16.s32 %0, %1;" : "=h"(res) : "r"(v)); res 213 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 217 modules/core/include/opencv2/core/cuda/saturate_cast.hpp short res = 0; res 218 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.s16.u32 %0, %1;" : "=h"(res) : "r"(v)); res 219 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 223 modules/core/include/opencv2/core/cuda/saturate_cast.hpp short res = 0; res 224 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.rni.sat.s16.f32 %0, %1;" : "=h"(res) : "f"(v)); res 225 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 230 modules/core/include/opencv2/core/cuda/saturate_cast.hpp short res = 0; res 231 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.rni.sat.s16.f64 %0, %1;" : "=h"(res) : "d"(v)); res 232 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 240 modules/core/include/opencv2/core/cuda/saturate_cast.hpp int res = 0; res 241 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.s32.u32 %0, %1;" : "=r"(res) : "r"(v)); res 242 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 259 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 261 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u32.s8 %0, %1;" : "=r"(res) : "r"(vi)); res 262 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 266 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 267 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u32.s16 %0, %1;" : "=r"(res) : "h"(v)); res 268 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 272 modules/core/include/opencv2/core/cuda/saturate_cast.hpp uint res = 0; res 273 modules/core/include/opencv2/core/cuda/saturate_cast.hpp asm("cvt.sat.u32.s32 %0, %1;" : "=r"(res) : "r"(v)); res 274 modules/core/include/opencv2/core/cuda/saturate_cast.hpp return res; res 951 modules/core/include/opencv2/core/cvstd.hpp String res(cstr_, len_); res 954 modules/core/include/opencv2/core/cvstd.hpp res.cstr_[i] = (char) ::tolower(cstr_[i]); res 956 modules/core/include/opencv2/core/cvstd.hpp return res; res 3170 modules/core/include/opencv2/core/mat.hpp const Range& colRange, MatExpr& res) const; res 3171 modules/core/include/opencv2/core/mat.hpp virtual void diag(const MatExpr& expr, int d, MatExpr& res) const; res 3180 modules/core/include/opencv2/core/mat.hpp virtual void add(const MatExpr& expr1, const MatExpr& expr2, MatExpr& res) const; res 3181 modules/core/include/opencv2/core/mat.hpp virtual void add(const MatExpr& expr1, const Scalar& s, MatExpr& res) const; res 3183 modules/core/include/opencv2/core/mat.hpp virtual void subtract(const MatExpr& expr1, const MatExpr& expr2, MatExpr& res) const; res 3184 modules/core/include/opencv2/core/mat.hpp virtual void subtract(const Scalar& s, const MatExpr& expr, MatExpr& res) const; res 3186 modules/core/include/opencv2/core/mat.hpp virtual void multiply(const MatExpr& expr1, const MatExpr& expr2, MatExpr& res, double scale=1) const; res 3187 modules/core/include/opencv2/core/mat.hpp virtual void multiply(const MatExpr& expr1, double s, MatExpr& res) const; res 3189 modules/core/include/opencv2/core/mat.hpp virtual void divide(const MatExpr& expr1, const MatExpr& expr2, MatExpr& res, double scale=1) const; res 3190 modules/core/include/opencv2/core/mat.hpp virtual void divide(double s, const MatExpr& expr, MatExpr& res) const; res 3192 modules/core/include/opencv2/core/mat.hpp virtual void abs(const MatExpr& expr, MatExpr& res) const; res 3194 modules/core/include/opencv2/core/mat.hpp virtual void transpose(const MatExpr& expr, MatExpr& res) const; res 3195 modules/core/include/opencv2/core/mat.hpp virtual void matmul(const MatExpr& expr1, const MatExpr& expr2, MatExpr& res) const; res 3196 modules/core/include/opencv2/core/mat.hpp virtual void invert(const MatExpr& expr, int method, MatExpr& res) const; res 1597 modules/core/include/opencv2/core/mat.inl.hpp Matx<typename DataType<_Tp>::channel_type, m, n> res = this->Mat::operator Matx<typename DataType<_Tp>::channel_type, m, n>(); res 1598 modules/core/include/opencv2/core/mat.inl.hpp return res; res 272 modules/core/misc/java/test/CoreTest.java float res = Core.cubeRoot(-27.0f); res 274 modules/core/misc/java/test/CoreTest.java assertEquals(-3.0f, res); res 434 modules/core/misc/java/test/CoreTest.java float res = Core.fastAtan2(50, 50); res 436 modules/core/misc/java/test/CoreTest.java assertEquals(45, res, eps); res 1069 modules/core/misc/java/test/CoreTest.java MinMaxLocResult res = Core.minMaxLoc(src, mask); res 1071 modules/core/misc/java/test/CoreTest.java assertEquals(4.0, res.minVal); res 1072 modules/core/misc/java/test/CoreTest.java assertEquals(130.0, res.maxVal); res 1073 modules/core/misc/java/test/CoreTest.java assertPointEquals(new Point(1, 2), res.minLoc, EPS); res 1074 modules/core/misc/java/test/CoreTest.java assertPointEquals(new Point(3, 1), res.maxLoc, EPS); res 1422 modules/core/misc/java/test/CoreTest.java double res = Math.atan2(y, x); res 1423 modules/core/misc/java/test/CoreTest.java if (res < 0) res 1424 modules/core/misc/java/test/CoreTest.java res = Math.PI * 2 + res; res 1425 modules/core/misc/java/test/CoreTest.java return res * 180 / Math.PI; res 1430 modules/core/misc/java/test/CoreTest.java double res = Math.atan2(y, x); res 1431 modules/core/misc/java/test/CoreTest.java if (res < 0) res 1432 modules/core/misc/java/test/CoreTest.java res = Math.PI * 2 + res; res 1433 modules/core/misc/java/test/CoreTest.java return res; res 1740 modules/core/misc/java/test/CoreTest.java Mat res = new Mat(3, 1, CvType.CV_32F) { res 1745 modules/core/misc/java/test/CoreTest.java assertMatEqual(res, dst, EPS); res 1764 modules/core/misc/java/test/CoreTest.java Mat res = new Mat(3, 1, CvType.CV_32F) { res 1769 modules/core/misc/java/test/CoreTest.java assertMatEqual(res, dst, EPS); res 770 modules/core/perf/opencl/perf_arithm.cpp double res; res 773 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() res = cv::norm(src1, normType); res 775 modules/core/perf/opencl/perf_arithm.cpp SANITY_CHECK(res, 1e-5, ERROR_RELATIVE); res 790 modules/core/perf/opencl/perf_arithm.cpp double res; res 793 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() res = cv::norm(src1, src2, normType); res 795 modules/core/perf/opencl/perf_arithm.cpp SANITY_CHECK(res, 1e-5, ERROR_RELATIVE); res 810 modules/core/perf/opencl/perf_arithm.cpp double res; res 813 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() res = cv::norm(src1, src2, normType | cv::NORM_RELATIVE); res 815 modules/core/perf/opencl/perf_arithm.cpp SANITY_CHECK(res, 1e-5, ERROR_RELATIVE); res 2831 modules/core/src/arithm.cpp v_uint16x8 res = v_pack_u(i0, i1); res 2833 modules/core/src/arithm.cpp res = v_select(v_src2 == v_zero, v_zero, res); res 2834 modules/core/src/arithm.cpp v_pack_store(dst + x, res); res 2877 modules/core/src/arithm.cpp v_int16x8 res = v_pack(i0, i1); res 2879 modules/core/src/arithm.cpp res = v_select(v_src2 == v_zero, v_zero, res); res 2880 modules/core/src/arithm.cpp v_pack_store(dst + x, res); res 2923 modules/core/src/arithm.cpp v_uint16x8 res = v_pack_u(i0, i1); res 2925 modules/core/src/arithm.cpp res = v_select(v_src2 == v_zero, v_zero, res); res 2926 modules/core/src/arithm.cpp v_store(dst + x, res); res 2968 modules/core/src/arithm.cpp v_int16x8 res = v_pack(i0, i1); res 2970 modules/core/src/arithm.cpp res = v_select(v_src2 == v_zero, v_zero, res); res 2971 modules/core/src/arithm.cpp v_store(dst + x, res); res 3092 modules/core/src/arithm.cpp v_uint16x8 res = v_pack_u(i0, i1); res 3094 modules/core/src/arithm.cpp res = v_select(v_src2 == v_zero, v_zero, res); res 3095 modules/core/src/arithm.cpp v_pack_store(dst + x, res); res 3133 modules/core/src/arithm.cpp v_int16x8 res = v_pack(i0, i1); res 3135 modules/core/src/arithm.cpp res = v_select(v_src2 == v_zero, v_zero, res); res 3136 modules/core/src/arithm.cpp v_pack_store(dst + x, res); res 3174 modules/core/src/arithm.cpp v_uint16x8 res = v_pack_u(i0, i1); res 3176 modules/core/src/arithm.cpp res = v_select(v_src2 == v_zero, v_zero, res); res 3177 modules/core/src/arithm.cpp v_store(dst + x, res); res 3214 modules/core/src/arithm.cpp v_int16x8 res = v_pack(i0, i1); res 3216 modules/core/src/arithm.cpp res = v_select(v_src2 == v_zero, v_zero, res); res 3217 modules/core/src/arithm.cpp v_store(dst + x, res); res 1258 modules/core/src/array.cpp CvMat* res = 0; res 1291 modules/core/src/array.cpp res = submat; res 1294 modules/core/src/array.cpp return res; res 1303 modules/core/src/array.cpp CvMat* res = 0; res 1343 modules/core/src/array.cpp res = submat; res 1346 modules/core/src/array.cpp return res; res 1354 modules/core/src/array.cpp CvMat* res = 0; res 1385 modules/core/src/array.cpp res = submat; res 1388 modules/core/src/array.cpp return res; res 1396 modules/core/src/array.cpp CvMat* res = 0; res 1448 modules/core/src/array.cpp res = submat; res 1450 modules/core/src/array.cpp return res; res 173 modules/core/src/cuda_host_mem.cpp size_t res = (what + alignMask) & inverseAlignMask; res 174 modules/core/src/cuda_host_mem.cpp return res; res 571 modules/core/src/cuda_stream.cpp size_t res = (what + alignMask) & inverseAlignMask; res 572 modules/core/src/cuda_stream.cpp return res; res 193 modules/core/src/downhill_simplex.cpp double res = innerDownhillSimplex(simplex,_termcrit.epsilon, _termcrit.epsilon, res 207 modules/core/src/downhill_simplex.cpp return res; res 414 modules/core/src/downhill_simplex.cpp double res = _Function->calc(ptr); res 415 modules/core/src/downhill_simplex.cpp CV_Assert( !cvIsNaN(res) && !cvIsInf(res) ); res 416 modules/core/src/downhill_simplex.cpp return res; res 123 modules/core/src/lpsolver.cpp int res=0; res 124 modules/core/src/lpsolver.cpp if((res=inner_simplex(c,b,v,N,B,indexToRow))==SOLVELP_UNBOUNDED){ res 140 modules/core/src/lpsolver.cpp return res; res 63 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, const Mat& m); res 77 modules/core/src/matop.cpp void add(const MatExpr& e1, const Scalar& s, MatExpr& res) const; res 78 modules/core/src/matop.cpp void subtract(const Scalar& s, const MatExpr& expr, MatExpr& res) const; res 79 modules/core/src/matop.cpp void multiply(const MatExpr& e1, double s, MatExpr& res) const; res 80 modules/core/src/matop.cpp void divide(double s, const MatExpr& e, MatExpr& res) const; res 82 modules/core/src/matop.cpp void transpose(const MatExpr& e1, MatExpr& res) const; res 83 modules/core/src/matop.cpp void abs(const MatExpr& expr, MatExpr& res) const; res 85 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, const Mat& a, const Mat& b, double alpha, double beta, const Scalar& s=Scalar()); res 99 modules/core/src/matop.cpp void multiply(const MatExpr& e1, double s, MatExpr& res) const; res 100 modules/core/src/matop.cpp void divide(double s, const MatExpr& e, MatExpr& res) const; res 102 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, char op, const Mat& a, const Mat& b, double scale=1); res 103 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, char op, const Mat& a, const Scalar& s); res 117 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, int cmpop, const Mat& a, const Mat& b); res 118 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, int cmpop, const Mat& a, double alpha); res 132 modules/core/src/matop.cpp void add(const MatExpr& e1, const MatExpr& e2, MatExpr& res) const; res 133 modules/core/src/matop.cpp void subtract(const MatExpr& e1, const MatExpr& e2, MatExpr& res) const; res 134 modules/core/src/matop.cpp void multiply(const MatExpr& e, double s, MatExpr& res) const; res 136 modules/core/src/matop.cpp void transpose(const MatExpr& expr, MatExpr& res) const; res 138 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, int flags, const Mat& a, const Mat& b, res 153 modules/core/src/matop.cpp void matmul(const MatExpr& expr1, const MatExpr& expr2, MatExpr& res) const; res 155 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, int method, const Mat& m); res 169 modules/core/src/matop.cpp void multiply(const MatExpr& e1, double s, MatExpr& res) const; res 170 modules/core/src/matop.cpp void transpose(const MatExpr& expr, MatExpr& res) const; res 172 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, const Mat& a, double alpha=1); res 186 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, int method, const Mat& a, const Mat& b); res 200 modules/core/src/matop.cpp void multiply(const MatExpr& e, double s, MatExpr& res) const; res 202 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, int method, Size sz, int type, double alpha=1); res 203 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, int method, int ndims, const int* sizes, int type, double alpha=1); res 335 modules/core/src/matop.cpp void MatOp::add(const MatExpr& e1, const MatExpr& e2, MatExpr& res) const res 359 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m1, m2, alpha, beta, s); res 362 modules/core/src/matop.cpp e2.op->add(e1, e2, res); res 366 modules/core/src/matop.cpp void MatOp::add(const MatExpr& expr1, const Scalar& s, MatExpr& res) const res 370 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m1, Mat(), 1, 0, s); res 374 modules/core/src/matop.cpp void MatOp::subtract(const MatExpr& e1, const MatExpr& e2, MatExpr& res) const res 398 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m1, m2, alpha, beta, s); res 401 modules/core/src/matop.cpp e2.op->subtract(e1, e2, res); res 405 modules/core/src/matop.cpp void MatOp::subtract(const Scalar& s, const MatExpr& expr, MatExpr& res) const res 409 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m, Mat(), -1, 0, s); res 413 modules/core/src/matop.cpp void MatOp::multiply(const MatExpr& e1, const MatExpr& e2, MatExpr& res, double scale) const res 429 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, '/', m2, e1.a, scale/e1.alpha); res 456 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, op, m1, m2, scale); res 460 modules/core/src/matop.cpp e2.op->multiply(e1, e2, res, scale); res 464 modules/core/src/matop.cpp void MatOp::multiply(const MatExpr& expr, double s, MatExpr& res) const res 468 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m, Mat(), s, 0); res 472 modules/core/src/matop.cpp void MatOp::divide(const MatExpr& e1, const MatExpr& e2, MatExpr& res, double scale) const res 477 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, '/', e2.a, e1.a, e1.alpha/e2.alpha); res 504 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, op, m1, m2, scale); res 508 modules/core/src/matop.cpp e2.op->divide(e1, e2, res, scale); res 512 modules/core/src/matop.cpp void MatOp::divide(double s, const MatExpr& expr, MatExpr& res) const res 516 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, '/', m, Mat(), s); res 520 modules/core/src/matop.cpp void MatOp::abs(const MatExpr& expr, MatExpr& res) const res 524 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, 'a', m, Mat()); res 528 modules/core/src/matop.cpp void MatOp::transpose(const MatExpr& expr, MatExpr& res) const res 532 modules/core/src/matop.cpp MatOp_T::makeExpr(res, m, 1); res 536 modules/core/src/matop.cpp void MatOp::matmul(const MatExpr& e1, const MatExpr& e2, MatExpr& res) const res 572 modules/core/src/matop.cpp MatOp_GEMM::makeExpr(res, flags, m1, m2, scale); res 575 modules/core/src/matop.cpp e2.op->matmul(e1, e2, res); res 579 modules/core/src/matop.cpp void MatOp::invert(const MatExpr& expr, int method, MatExpr& res) const res 583 modules/core/src/matop.cpp MatOp_Invert::makeExpr(res, method, m); res 1204 modules/core/src/matop.cpp inline void MatOp_Identity::makeExpr(MatExpr& res, const Mat& m) res 1206 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_Identity, 0, m, Mat(), Mat(), 1, 0); res 1263 modules/core/src/matop.cpp void MatOp_AddEx::add(const MatExpr& e, const Scalar& s, MatExpr& res) const res 1265 modules/core/src/matop.cpp res = e; res 1266 modules/core/src/matop.cpp res.s += s; res 1270 modules/core/src/matop.cpp void MatOp_AddEx::subtract(const Scalar& s, const MatExpr& e, MatExpr& res) const res 1272 modules/core/src/matop.cpp res = e; res 1273 modules/core/src/matop.cpp res.alpha = -res.alpha; res 1274 modules/core/src/matop.cpp res.beta = -res.beta; res 1275 modules/core/src/matop.cpp res.s = s - res.s; res 1278 modules/core/src/matop.cpp void MatOp_AddEx::multiply(const MatExpr& e, double s, MatExpr& res) const res 1280 modules/core/src/matop.cpp res = e; res 1281 modules/core/src/matop.cpp res.alpha *= s; res 1282 modules/core/src/matop.cpp res.beta *= s; res 1283 modules/core/src/matop.cpp res.s *= s; res 1286 modules/core/src/matop.cpp void MatOp_AddEx::divide(double s, const MatExpr& e, MatExpr& res) const res 1289 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, '/', e.a, Mat(), s/e.alpha); res 1291 modules/core/src/matop.cpp MatOp::divide(s, e, res); res 1295 modules/core/src/matop.cpp void MatOp_AddEx::transpose(const MatExpr& e, MatExpr& res) const res 1298 modules/core/src/matop.cpp MatOp_T::makeExpr(res, e.a, e.alpha); res 1300 modules/core/src/matop.cpp MatOp::transpose(e, res); res 1303 modules/core/src/matop.cpp void MatOp_AddEx::abs(const MatExpr& e, MatExpr& res) const res 1306 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, 'a', e.a, -e.s*e.alpha); res 1308 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, 'a', e.a, e.b); res 1310 modules/core/src/matop.cpp MatOp::abs(e, res); res 1313 modules/core/src/matop.cpp inline void MatOp_AddEx::makeExpr(MatExpr& res, const Mat& a, const Mat& b, double alpha, double beta, const Scalar& s) res 1315 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_AddEx, 0, a, b, Mat(), alpha, beta, s); res 1363 modules/core/src/matop.cpp void MatOp_Bin::multiply(const MatExpr& e, double s, MatExpr& res) const res 1367 modules/core/src/matop.cpp res = e; res 1368 modules/core/src/matop.cpp res.alpha *= s; res 1371 modules/core/src/matop.cpp MatOp::multiply(e, s, res); res 1374 modules/core/src/matop.cpp void MatOp_Bin::divide(double s, const MatExpr& e, MatExpr& res) const res 1377 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, e.a, Mat(), s/e.alpha, 0); res 1379 modules/core/src/matop.cpp MatOp::divide(s, e, res); res 1382 modules/core/src/matop.cpp inline void MatOp_Bin::makeExpr(MatExpr& res, char op, const Mat& a, const Mat& b, double scale) res 1384 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_Bin, op, a, b, Mat(), scale, b.data ? 1 : 0); res 1387 modules/core/src/matop.cpp inline void MatOp_Bin::makeExpr(MatExpr& res, char op, const Mat& a, const Scalar& s) res 1389 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_Bin, op, a, Mat(), Mat(), 1, 0, s); res 1407 modules/core/src/matop.cpp inline void MatOp_Cmp::makeExpr(MatExpr& res, int cmpop, const Mat& a, const Mat& b) res 1409 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_Cmp, cmpop, a, b, Mat(), 1, 1); res 1412 modules/core/src/matop.cpp inline void MatOp_Cmp::makeExpr(MatExpr& res, int cmpop, const Mat& a, double alpha) res 1414 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_Cmp, cmpop, a, Mat(), Mat(), alpha, 1); res 1429 modules/core/src/matop.cpp void MatOp_T::multiply(const MatExpr& e, double s, MatExpr& res) const res 1431 modules/core/src/matop.cpp res = e; res 1432 modules/core/src/matop.cpp res.alpha *= s; res 1435 modules/core/src/matop.cpp void MatOp_T::transpose(const MatExpr& e, MatExpr& res) const res 1438 modules/core/src/matop.cpp MatOp_Identity::makeExpr(res, e.a); res 1440 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, e.a, Mat(), e.alpha, 0); res 1443 modules/core/src/matop.cpp inline void MatOp_T::makeExpr(MatExpr& res, const Mat& a, double alpha) res 1445 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_T, 0, a, Mat(), Mat(), alpha, 0); res 1459 modules/core/src/matop.cpp void MatOp_GEMM::add(const MatExpr& e1, const MatExpr& e2, MatExpr& res) const res 1465 modules/core/src/matop.cpp MatOp_GEMM::makeExpr(res, (e1.flags & ~CV_GEMM_C_T)|(isT(e2) ? CV_GEMM_C_T : 0), res 1468 modules/core/src/matop.cpp MatOp_GEMM::makeExpr(res, (e2.flags & ~CV_GEMM_C_T)|(isT(e1) ? CV_GEMM_C_T : 0), res 1471 modules/core/src/matop.cpp MatOp::add(e1, e2, res); res 1473 modules/core/src/matop.cpp e2.op->add(e1, e2, res); res 1476 modules/core/src/matop.cpp void MatOp_GEMM::subtract(const MatExpr& e1, const MatExpr& e2, MatExpr& res) const res 1482 modules/core/src/matop.cpp MatOp_GEMM::makeExpr(res, (e1.flags & ~CV_GEMM_C_T)|(isT(e2) ? CV_GEMM_C_T : 0), res 1485 modules/core/src/matop.cpp MatOp_GEMM::makeExpr(res, (e2.flags & ~CV_GEMM_C_T)|(isT(e1) ? CV_GEMM_C_T : 0), res 1488 modules/core/src/matop.cpp MatOp::subtract(e1, e2, res); res 1490 modules/core/src/matop.cpp e2.op->subtract(e1, e2, res); res 1493 modules/core/src/matop.cpp void MatOp_GEMM::multiply(const MatExpr& e, double s, MatExpr& res) const res 1495 modules/core/src/matop.cpp res = e; res 1496 modules/core/src/matop.cpp res.alpha *= s; res 1497 modules/core/src/matop.cpp res.beta *= s; res 1500 modules/core/src/matop.cpp void MatOp_GEMM::transpose(const MatExpr& e, MatExpr& res) const res 1502 modules/core/src/matop.cpp res = e; res 1503 modules/core/src/matop.cpp res.flags = (!(e.flags & CV_GEMM_A_T) ? CV_GEMM_B_T : 0) | res 1506 modules/core/src/matop.cpp swap(res.a, res.b); res 1509 modules/core/src/matop.cpp inline void MatOp_GEMM::makeExpr(MatExpr& res, int flags, const Mat& a, const Mat& b, res 1512 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_GEMM, flags, a, b, c, alpha, beta); res 1526 modules/core/src/matop.cpp void MatOp_Invert::matmul(const MatExpr& e1, const MatExpr& e2, MatExpr& res) const res 1529 modules/core/src/matop.cpp MatOp_Solve::makeExpr(res, e1.flags, e1.a, e2.a); res 1531 modules/core/src/matop.cpp MatOp::matmul(e1, e2, res); res 1533 modules/core/src/matop.cpp e2.op->matmul(e1, e2, res); res 1536 modules/core/src/matop.cpp inline void MatOp_Invert::makeExpr(MatExpr& res, int method, const Mat& m) res 1538 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_Invert, method, m, Mat(), Mat(), 1, 0); res 1552 modules/core/src/matop.cpp inline void MatOp_Solve::makeExpr(MatExpr& res, int method, const Mat& a, const Mat& b) res 1554 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_Solve, method, a, b, Mat(), 1, 1); res 1579 modules/core/src/matop.cpp void MatOp_Initializer::multiply(const MatExpr& e, double s, MatExpr& res) const res 1581 modules/core/src/matop.cpp res = e; res 1582 modules/core/src/matop.cpp res.alpha *= s; res 1585 modules/core/src/matop.cpp inline void MatOp_Initializer::makeExpr(MatExpr& res, int method, Size sz, int type, double alpha) res 1587 modules/core/src/matop.cpp res = MatExpr(getGlobalMatOpInitializer(), method, Mat(sz, type, (void*)0), Mat(), Mat(), alpha, 0); res 1590 modules/core/src/matop.cpp inline void MatOp_Initializer::makeExpr(MatExpr& res, int method, int ndims, const int* sizes, int type, double alpha) res 1592 modules/core/src/matop.cpp res = MatExpr(getGlobalMatOpInitializer(), method, Mat(ndims, sizes, type, (void*)0), Mat(), Mat(), alpha, 0); res 811 modules/core/src/opencl/fft.cl __global CT* res = (__global CT*)(dst + i*block_size*dst_step); res 812 modules/core/src/opencl/fft.cl res[0].x = smem[y + i*block_size].x; res 813 modules/core/src/opencl/fft.cl res[0].y = -smem[y + i*block_size].y; res 876 modules/core/src/opencl/fft.cl __global CT* res = (__global CT*)(dst + i*block_size*dst_step); res 877 modules/core/src/opencl/fft.cl res[0].x = smem[y + i*block_size].x; res 878 modules/core/src/opencl/fft.cl res[0].y = -smem[y + i*block_size].y; res 282 modules/core/src/parallel_pthreads.cpp int res = 0; res 284 modules/core/src/parallel_pthreads.cpp res |= pthread_mutex_init(&m_thread_mutex, NULL); res 286 modules/core/src/parallel_pthreads.cpp res |= pthread_cond_init(&m_cond_thread_task, NULL); res 288 modules/core/src/parallel_pthreads.cpp if(!res) res 290 modules/core/src/parallel_pthreads.cpp res = pthread_create(&m_posix_thread, NULL, thread_loop_wrapper, (void*)this); res 294 modules/core/src/parallel_pthreads.cpp return res == 0; res 374 modules/core/src/parallel_pthreads.cpp int res = 0; res 376 modules/core/src/parallel_pthreads.cpp res |= pthread_mutex_init(&m_manager_task_mutex, NULL); res 378 modules/core/src/parallel_pthreads.cpp res |= pthread_cond_init(&m_cond_thread_task_complete, NULL); res 380 modules/core/src/parallel_pthreads.cpp if(!res) res 414 modules/core/src/parallel_pthreads.cpp int res = pthread_mutex_trylock(&m_manager_access_mutex); res 416 modules/core/src/parallel_pthreads.cpp if(!res) res 493 modules/core/src/parallel_pthreads.cpp bool res = true; res 497 modules/core/src/parallel_pthreads.cpp res |= m_threads[i].init(i, this); res 500 modules/core/src/parallel_pthreads.cpp if(res) res 510 modules/core/src/parallel_pthreads.cpp return res; res 520 modules/core/src/parallel_pthreads.cpp int res = pthread_mutex_lock(&m_manager_access_mutex); res 522 modules/core/src/parallel_pthreads.cpp if(!res) res 1048 modules/core/src/stat.cpp static bool ocl_sum( InputArray _src, Scalar & res, int sum_op, InputArray _mask = noArray(), res 1133 modules/core/src/stat.cpp res = func(mres.colRange(0, ngroups)); res 1185 modules/core/src/stat.cpp Ipp64f res[4]; res 1186 modules/core/src/stat.cpp IppStatus ret = ippFuncHint ? ippFuncHint(src.ptr(), (int)src.step[0], sz, res, ippAlgHintAccurate) : res 1187 modules/core/src/stat.cpp ippFuncNoHint(src.ptr(), (int)src.step[0], sz, res); res 1192 modules/core/src/stat.cpp sc[i] = res[i]; res 1254 modules/core/src/stat.cpp static bool ocl_countNonZero( InputArray _src, int & res ) res 1286 modules/core/src/stat.cpp return res = saturate_cast<int>(cv::sum(db.getMat(ACCESS_READ))[0]), true; res 1300 modules/core/src/stat.cpp int res = -1; res 1302 modules/core/src/stat.cpp ocl_countNonZero(_src, res), res 1303 modules/core/src/stat.cpp res) res 1380 modules/core/src/stat.cpp Ipp64f res; res 1381 modules/core/src/stat.cpp if( ippFuncC1(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, &res) >= 0 ) res 1384 modules/core/src/stat.cpp return Scalar(res); res 1431 modules/core/src/stat.cpp Ipp64f res[4]; res 1432 modules/core/src/stat.cpp IppStatus ret = ippFuncHint ? ippFuncHint(src.ptr(), (int)src.step[0], sz, res, ippAlgHintAccurate) : res 1433 modules/core/src/stat.cpp ippFuncNoHint(src.ptr(), (int)src.step[0], sz, res); res 1438 modules/core/src/stat.cpp sc[i] = res[i]; res 855 modules/core/src/umatrix.cpp static bool ocl_dot( InputArray _src1, InputArray _src2, double & res ) res 899 modules/core/src/umatrix.cpp res = sum(db.getMat(ACCESS_READ))[0]; res 48 modules/core/test/test_conjugate_gradient.cpp double res=solver->minimize(x); res 49 modules/core/test/test_conjugate_gradient.cpp std::cout<<"res:\n\t"<<res<<std::endl; res 54 modules/core/test/test_conjugate_gradient.cpp ASSERT_TRUE(std::abs(res-etalon_res)<tol); res 56 modules/core/test/test_downhill_simplex.cpp double res=solver->minimize(x); res 57 modules/core/test/test_downhill_simplex.cpp std::cout<<"res:\n\t"<<res<<std::endl; res 62 modules/core/test/test_downhill_simplex.cpp ASSERT_TRUE(std::abs(res-etalon_res)<tol); res 1583 modules/core/test/test_ds.cpp int v_idx[2] = {0,0}, res = 0; res 1638 modules/core/test/test_ds.cpp res = cvGraphAddEdgeByPtr(graph, vtx, vtx2, pass_data ? edge : 0, &edge2); res 1646 modules/core/test/test_ds.cpp res = cvGraphAddEdge(graph, v_idx[0], v_idx[1], pass_data ? edge : 0, &edge2); res 1652 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( res == 1 && edge2 != 0 && CV_IS_SET_ELEM(edge2) && res 104 modules/core/test/test_lpsolver.cpp int res=cv::solveLP(A,B,z); res 105 modules/core/test/test_lpsolver.cpp ASSERT_EQ(res,-1); res 117 modules/core/test/test_lpsolver.cpp int res=cv::solveLP(A,B,z); res 118 modules/core/test/test_lpsolver.cpp printf("res=%d\n",res); res 121 modules/core/test/test_lpsolver.cpp ASSERT_EQ(res,1); res 134 modules/core/test/test_lpsolver.cpp int res=cv::solveLP(A,B,z); res 135 modules/core/test/test_lpsolver.cpp printf("res=%d\n",res); res 1007 modules/core/test/test_mat.cpp int res = cvtest::TS::OK, curRes = res; res 1009 modules/core/test/test_mat.cpp res = curRes != cvtest::TS::OK ? curRes : res; res 1012 modules/core/test/test_mat.cpp res = curRes != cvtest::TS::OK ? curRes : res; res 1015 modules/core/test/test_mat.cpp res = curRes != cvtest::TS::OK ? curRes : res; res 1018 modules/core/test/test_mat.cpp res = curRes != cvtest::TS::OK ? curRes : res; res 1021 modules/core/test/test_mat.cpp res = curRes != cvtest::TS::OK ? curRes : res; res 1024 modules/core/test/test_mat.cpp res = curRes != cvtest::TS::OK ? curRes : res; res 1027 modules/core/test/test_mat.cpp res = curRes != cvtest::TS::OK ? curRes : res; res 1029 modules/core/test/test_mat.cpp ts->set_failed_test_info(res); res 140 modules/core/test/test_operations.cpp Mat res = one_3x1 + shi_3x1 + shi_3x1 + shi_3x1; res 141 modules/core/test/test_operations.cpp res = Mat(Mat(2 * rot_2x3) * res - shi_2x1) + shift; res 150 modules/core/test/test_operations.cpp CHECK_DIFF(res, res2); res 514 modules/core/test/test_operations.cpp Mat_<float> res = Mat(Mat(2 * rot_2x3) * Mat(one_3x1 + shi_3x1 + shi_3x1 + shi_3x1) - shi_2x1) + shift; res 525 modules/core/test/test_operations.cpp CHECK_DIFF(res, res2); res 859 modules/core/test/test_operations.cpp Point3f res = mat * pt; // Correctly assumes homogeneous coordinates res 861 modules/core/test/test_operations.cpp Vec3f res2 = mat*Vec3f(res.x, res.y, res.z); res 863 modules/core/test/test_operations.cpp if(res.x != 8.0) throw test_excep(); res 864 modules/core/test/test_operations.cpp if(res.y != 5.0) throw test_excep(); res 865 modules/core/test/test_operations.cpp if(res.z != 1.0) throw test_excep(); res 902 modules/core/test/test_operations.cpp Matx22f res = mat.div(mat2); res 904 modules/core/test/test_operations.cpp if(res(0, 0) != 1.0) throw test_excep(); res 905 modules/core/test/test_operations.cpp if(res(0, 1) != 2.0) throw test_excep(); res 906 modules/core/test/test_operations.cpp if(res(1, 0) != 3.0) throw test_excep(); res 907 modules/core/test/test_operations.cpp if(res(1, 1) != 4.0) throw test_excep(); res 133 modules/cudacodec/src/ffmpeg_video_source.cpp int res = read_InputMediaStream_FFMPEG_p(stream_, data, size, &endOfFile); res 136 modules/cudacodec/src/ffmpeg_video_source.cpp return res != 0; res 694 modules/cudaimgproc/src/generalized_hough.cpp double res = a; res 696 modules/cudaimgproc/src/generalized_hough.cpp while (res > 360.0) res 697 modules/cudaimgproc/src/generalized_hough.cpp res -= 360.0; res 698 modules/cudaimgproc/src/generalized_hough.cpp while (res < 0) res 699 modules/cudaimgproc/src/generalized_hough.cpp res += 360.0; res 701 modules/cudaimgproc/src/generalized_hough.cpp return res; res 295 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp cudaError_t res = cudacall; \ res 296 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp cv::String msg = cv::format("cudaError_t=%d", (int)res); \ res 297 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(cudaSuccess==res, msg.c_str(), errCode); \ res 304 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp cudaError_t res = cudaGetLastError(); \ res 305 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp cv::String msg = cv::format("cudaError_t=%d", (int)res); \ res 306 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(cudaSuccess==res, msg.c_str(), errCode); \ res 164 modules/cudalegacy/src/NCV.cpp Ncv32u res = (what + alignMask) & inverseAlignMask; res 165 modules/cudalegacy/src/NCV.cpp return res; res 700 modules/cudalegacy/src/NCV.cpp double res; res 702 modules/cudalegacy/src/NCV.cpp res = _ncvMomentsDiffToMicroseconds(&t->t1, &t->t2); res 704 modules/cudalegacy/src/NCV.cpp return res; res 710 modules/cudalegacy/src/NCV.cpp double res; res 712 modules/cudalegacy/src/NCV.cpp res = _ncvMomentsDiffToMilliseconds(&t->t1, &t->t2); res 714 modules/cudalegacy/src/NCV.cpp return res; res 86 modules/cudalegacy/test/NCVAutoTestLister.hpp bool res = curTest.executeTest(curReport); res 98 modules/cudalegacy/test/NCVAutoTestLister.hpp if (res) res 108 modules/cudalegacy/test/NCVTest.hpp bool res; res 111 modules/cudalegacy/test/NCVTest.hpp res = initMemory(report); res 112 modules/cudalegacy/test/NCVTest.hpp if (!res) res 119 modules/cudalegacy/test/NCVTest.hpp res = init(); res 120 modules/cudalegacy/test/NCVTest.hpp if (!res) res 128 modules/cudalegacy/test/NCVTest.hpp res = process(); res 129 modules/cudalegacy/test/NCVTest.hpp if (!res) res 137 modules/cudalegacy/test/NCVTest.hpp res = deinit(); res 138 modules/cudalegacy/test/NCVTest.hpp if (!res) res 85 modules/cudalegacy/test/test_calib3d.cpp cv::Point3f res = h_dst.at<cv::Point3f>(0, i); res 93 modules/cudalegacy/test/test_calib3d.cpp ASSERT_POINT3_NEAR(res_gold, res, 1e-5); res 140 modules/cudalegacy/test/test_calib3d.cpp cv::Point2f res = h_dst.at<cv::Point2f>(0, (int)i); res 143 modules/cudalegacy/test/test_calib3d.cpp ASSERT_LE(cv::norm(res_gold - res) / cv::norm(res_gold), 1e-3f); res 73 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NPPST_Integral_Image(_path, nvidiaTestOutputLevel); res 75 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 80 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NPPST_Squared_Integral_Image(_path, nvidiaTestOutputLevel); res 82 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 87 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NPPST_RectStdDev(_path, nvidiaTestOutputLevel); res 89 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 94 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NPPST_Resize(_path, nvidiaTestOutputLevel); res 96 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 101 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NPPST_Vector_Operations(_path, nvidiaTestOutputLevel); res 103 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 108 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NPPST_Transpose(_path, nvidiaTestOutputLevel); res 110 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 115 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NCV_Vector_Operations(_path, nvidiaTestOutputLevel); res 117 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 122 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NCV_Haar_Cascade_Loader(_path, nvidiaTestOutputLevel); res 124 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 129 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NCV_Haar_Cascade_Application(_path, nvidiaTestOutputLevel); res 131 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 136 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NCV_Hypotheses_Filtration(_path, nvidiaTestOutputLevel); res 138 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 143 modules/cudalegacy/test/test_nvidia.cpp bool res = nvidia_NCV_Visualization(_path, nvidiaTestOutputLevel); res 145 modules/cudalegacy/test/test_nvidia.cpp ASSERT_TRUE(res); res 74 modules/cudawarping/test/interpolation.hpp float res = 0; res 76 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y1, x1, c, border_type, borderVal) * ((x2 - x) * (y2 - y)); res 77 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y1, x2, c, border_type, borderVal) * ((x - x1) * (y2 - y)); res 78 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y2, x1, c, border_type, borderVal) * ((x2 - x) * (y - y1)); res 79 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y2, x2, c, border_type, borderVal) * ((x - x1) * (y - y1)); res 81 modules/cudawarping/test/interpolation.hpp return cv::saturate_cast<T>(res); res 125 modules/cudawarping/test/interpolation.hpp float res = (!wsum)? 0 : sum / wsum; res 127 modules/cudawarping/test/interpolation.hpp return cv::saturate_cast<T>(res); res 281 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp blockReduce<BLOCK_SIZE>(Unroll<cn>::template smem<BLOCK_SIZE>(smem), Unroll<cn>::res(sum), tid, Unroll<cn>::op(plus<work_elem_type>())); res 207 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp work_type res = (wsum > numeric_limits<float>::epsilon()) ? VecTraits<work_type>::all(0) : sum / static_cast<work_elem_type>(wsum); res 209 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp return saturate_cast<typename PtrTraits<SrcPtr>::value_type>(res); res 140 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.devPtr = mat.data; res 141 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.height = mat.rows; res 142 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.width = mat.cols; res 143 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.pitchInBytes = mat.step; res 144 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.desc = cudaCreateChannelDesc<T>(); res 223 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.devPtr = mat.data; res 224 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.height = mat.rows; res 225 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.width = mat.cols; res 226 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.pitchInBytes = mat.step; res 227 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp texRes.res.pitch2D.desc = cudaCreateChannelDesc<T>(); res 67 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 69 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u8.s8 %0, %1;" : "=r"(res) : "r"(vi)); res 70 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 74 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 75 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u8.s16 %0, %1;" : "=r"(res) : "h"(v)); res 76 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 80 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 81 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u8.u16 %0, %1;" : "=r"(res) : "h"(v)); res 82 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 86 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 87 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u8.s32 %0, %1;" : "=r"(res) : "r"(v)); res 88 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 92 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 93 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u8.u32 %0, %1;" : "=r"(res) : "r"(v)); res 94 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 98 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 99 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.rni.sat.u8.f32 %0, %1;" : "=r"(res) : "f"(v)); res 100 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 104 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 105 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.rni.sat.u8.f64 %0, %1;" : "=r"(res) : "d"(v)); res 106 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 111 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 113 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.s8.u8 %0, %1;" : "=r"(res) : "r"(vi)); res 114 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 118 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 119 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.s8.s16 %0, %1;" : "=r"(res) : "h"(v)); res 120 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 124 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 125 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.s8.u16 %0, %1;" : "=r"(res) : "h"(v)); res 126 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 130 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 131 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.s8.s32 %0, %1;" : "=r"(res) : "r"(v)); res 132 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 136 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 137 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.s8.u32 %0, %1;" : "=r"(res) : "r"(v)); res 138 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 142 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 143 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.rni.sat.s8.f32 %0, %1;" : "=r"(res) : "f"(v)); res 144 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 148 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 149 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.rni.sat.s8.f64 %0, %1;" : "=r"(res) : "d"(v)); res 150 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 155 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp ushort res = 0; res 157 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u16.s8 %0, %1;" : "=h"(res) : "r"(vi)); res 158 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 162 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp ushort res = 0; res 163 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u16.s16 %0, %1;" : "=h"(res) : "h"(v)); res 164 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 168 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp ushort res = 0; res 169 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u16.s32 %0, %1;" : "=h"(res) : "r"(v)); res 170 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 174 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp ushort res = 0; res 175 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u16.u32 %0, %1;" : "=h"(res) : "r"(v)); res 176 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 180 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp ushort res = 0; res 181 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.rni.sat.u16.f32 %0, %1;" : "=h"(res) : "f"(v)); res 182 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 186 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp ushort res = 0; res 187 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.rni.sat.u16.f64 %0, %1;" : "=h"(res) : "d"(v)); res 188 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 193 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp short res = 0; res 194 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.s16.u16 %0, %1;" : "=h"(res) : "h"(v)); res 195 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 199 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp short res = 0; res 200 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.s16.s32 %0, %1;" : "=h"(res) : "r"(v)); res 201 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 205 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp short res = 0; res 206 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.s16.u32 %0, %1;" : "=h"(res) : "r"(v)); res 207 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 211 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp short res = 0; res 212 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.rni.sat.s16.f32 %0, %1;" : "=h"(res) : "f"(v)); res 213 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 217 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp short res = 0; res 218 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.rni.sat.s16.f64 %0, %1;" : "=h"(res) : "d"(v)); res 219 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 224 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp int res = 0; res 225 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.s32.u32 %0, %1;" : "=r"(res) : "r"(v)); res 226 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 243 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 245 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u32.s8 %0, %1;" : "=r"(res) : "r"(vi)); res 246 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 250 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 251 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u32.s16 %0, %1;" : "=r"(res) : "h"(v)); res 252 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 256 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp uint res = 0; res 257 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp asm("cvt.sat.u32.s32 %0, %1;" : "=r"(res) : "r"(v)); res 258 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp return res; res 1383 modules/features2d/src/kaze/AKAZEFeatures.cpp int res = ival > ivalues[chan * j + pos]; res 1384 modules/features2d/src/kaze/AKAZEFeatures.cpp desc[dpos >> 3] |= (res << (dpos & 7)); res 84 modules/features2d/src/kaze/utils.h int res = 1; res 88 modules/features2d/src/kaze/utils.h res *= base; res 94 modules/features2d/src/kaze/utils.h return res; res 289 modules/features2d/test/test_descriptors_regression.cpp Mat res = readMatFromBin( string(ts->get_data_path()) + DESCRIPTOR_DIR + "/" + string(name) ); res 290 modules/features2d/test/test_descriptors_regression.cpp return res; res 344 modules/hal/include/opencv2/hal/defs.h int res; \ res 346 modules/hal/include/opencv2/hal/defs.h asm(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \ res 347 modules/hal/include/opencv2/hal/defs.h return res res 294 modules/hal/include/opencv2/hal/intrin_neon.hpp float32x4_t res = vmulq_lane_f32(m0.val, vl, 0); res 295 modules/hal/include/opencv2/hal/intrin_neon.hpp res = vmlaq_lane_f32(res, m1.val, vl, 1); res 296 modules/hal/include/opencv2/hal/intrin_neon.hpp res = vmlaq_lane_f32(res, m2.val, vh, 0); res 297 modules/hal/include/opencv2/hal/intrin_neon.hpp res = vmlaq_lane_f32(res, m3.val, vh, 1); res 298 modules/hal/include/opencv2/hal/intrin_neon.hpp return v_float32x4(res); res 797 modules/hal/include/opencv2/hal/intrin_sse.hpp __m128i res = _mm_cmpgt_##suffix(_mm_xor_si128(a.val, smask), _mm_xor_si128(b.val, smask)); \ res 798 modules/hal/include/opencv2/hal/intrin_sse.hpp return _Tpuvec(_mm_xor_si128(res, not_mask)); \ res 804 modules/hal/include/opencv2/hal/intrin_sse.hpp __m128i res = _mm_cmpgt_##suffix(_mm_xor_si128(b.val, smask), _mm_xor_si128(a.val, smask)); \ res 805 modules/hal/include/opencv2/hal/intrin_sse.hpp return _Tpuvec(_mm_xor_si128(res, not_mask)); \ res 880 modules/hal/include/opencv2/hal/intrin_sse.hpp _Tpreg res = _mm_add_##suffix(_mm_mul_##suffix(a.val, a.val), _mm_mul_##suffix(b.val, b.val)); \ res 881 modules/hal/include/opencv2/hal/intrin_sse.hpp return _Tpvec(_mm_sqrt_##suffix(res)); \ res 885 modules/hal/include/opencv2/hal/intrin_sse.hpp _Tpreg res = _mm_add_##suffix(_mm_mul_##suffix(a.val, a.val), _mm_mul_##suffix(b.val, b.val)); \ res 886 modules/hal/include/opencv2/hal/intrin_sse.hpp return _Tpvec(res); \ res 717 modules/imgcodecs/test/test_grfmt.cpp bool res = imreadmulti(folder + "multipage.tif", pages, flags); res 718 modules/imgcodecs/test/test_grfmt.cpp ASSERT_TRUE(res == true); res 1942 modules/imgproc/misc/java/test/ImgprocTest.java Size res = Imgproc.getTextSize(text, Core.FONT_HERSHEY_SCRIPT_SIMPLEX, fontScale, thickness, baseLine); res 1944 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(543.0, res.width); res 1945 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(44.0, res.height); res 310 modules/imgproc/src/clahe.cpp float res = (lutPlane1[ind1] * xa1_p[x] + lutPlane1[ind2] * xa_p[x]) * ya1 + res 313 modules/imgproc/src/clahe.cpp dstRow[x] = cv::saturate_cast<T>(res); res 618 modules/imgproc/src/generalized_hough.cpp double res = a; res 620 modules/imgproc/src/generalized_hough.cpp while (res > 360.0) res 621 modules/imgproc/src/generalized_hough.cpp res -= 360.0; res 622 modules/imgproc/src/generalized_hough.cpp while (res < 0) res 623 modules/imgproc/src/generalized_hough.cpp res += 360.0; res 625 modules/imgproc/src/generalized_hough.cpp return res; res 111 modules/imgproc/src/grabcut.cpp double res = 0; res 113 modules/imgproc/src/grabcut.cpp res += coefs[ci] * (*this)(ci, color ); res 114 modules/imgproc/src/grabcut.cpp return res; res 119 modules/imgproc/src/grabcut.cpp double res = 0; res 129 modules/imgproc/src/grabcut.cpp res = 1.0f/sqrt(covDeterms[ci]) * exp(-0.5f*mult); res 131 modules/imgproc/src/grabcut.cpp return res; res 83 modules/imgproc/src/opencl/canny.cl float3 res; res 97 modules/imgproc/src/opencl/canny.cl res.z = magN; res 98 modules/imgproc/src/opencl/canny.cl res.x = dx; res 99 modules/imgproc/src/opencl/canny.cl res.y = dy; res 101 modules/imgproc/src/opencl/canny.cl res.z = max(magN.x, max(magN.y, magN.z)); res 102 modules/imgproc/src/opencl/canny.cl if (res.z == magN.y) res 107 modules/imgproc/src/opencl/canny.cl else if (res.z == magN.z) res 112 modules/imgproc/src/opencl/canny.cl res.x = dx.x; res 113 modules/imgproc/src/opencl/canny.cl res.y = dy.x; res 116 modules/imgproc/src/opencl/canny.cl return res; res 165 modules/imgproc/src/opencl/canny.cl float3 res = sobel(idx, smem); res 166 modules/imgproc/src/opencl/canny.cl mag[i] = res.z; res 169 modules/imgproc/src/opencl/canny.cl int x = (int) res.x; res 170 modules/imgproc/src/opencl/canny.cl int y = (int) res.y; res 243 modules/imgproc/src/opencl/clahe.cl float res = 0; res 245 modules/imgproc/src/opencl/clahe.cl res += lut[mad24(ty1 * tilesX + tx1, lutStep, srcVal + lut_offset)] * ((1.0f - xa) * (1.0f - ya)); res 246 modules/imgproc/src/opencl/clahe.cl res += lut[mad24(ty1 * tilesX + tx2, lutStep, srcVal + lut_offset)] * ((xa) * (1.0f - ya)); res 247 modules/imgproc/src/opencl/clahe.cl res += lut[mad24(ty2 * tilesX + tx1, lutStep, srcVal + lut_offset)] * ((1.0f - xa) * (ya)); res 248 modules/imgproc/src/opencl/clahe.cl res += lut[mad24(ty2 * tilesX + tx2, lutStep, srcVal + lut_offset)] * ((xa) * (ya)); res 250 modules/imgproc/src/opencl/clahe.cl uint ires = (uint)convert_int_rte(res); res 131 modules/imgproc/src/opencl/histogram.cl HT res = (HT)(0); res 144 modules/imgproc/src/opencl/histogram.cl res += convertToHT(ghist[j]); res 153 modules/imgproc/src/opencl/histogram.cl *(__global HT *)(histptr + mad24(lid, hist_step, hist_offset)) = res; res 164 modules/imgproc/src/opencl/histogram.cl int res = 0; res 177 modules/imgproc/src/opencl/histogram.cl res += ghist[j]; res 186 modules/imgproc/src/opencl/histogram.cl sumhist[lid] = res; res 122 modules/imgproc/src/opencl/match_template.cl __global uchar* res, int res_step, int res_offset, int rows, int cols) res 134 modules/imgproc/src/opencl/match_template.cl *(__global float *)(res + res_idx) = image; res 102 modules/imgproc/src/opencl/morph.cl res = MORPH_OP(res, temp); res 156 modules/imgproc/src/opencl/morph.cl T res = (T)(VAL), temp; res 166 modules/imgproc/src/opencl/morph.cl storepix(convertToT(convertToWT(res) - convertToWT(value)), dstptr + dst_index); res 168 modules/imgproc/src/opencl/morph.cl storepix(convertToT(convertToWT(value) - convertToWT(res)), dstptr + dst_index); res 170 modules/imgproc/src/opencl/morph.cl storepix(convertToT(convertToWT(res) - convertToWT(value)), dstptr + dst_index); res 173 modules/imgproc/src/opencl/morph.cl storepix(res, dstptr + dst_index); res 1773 modules/java/generator/src/cpp/Mat.cpp int res = count; res 1805 modules/java/generator/src/cpp/Mat.cpp return res; res 1826 modules/java/generator/src/cpp/Mat.cpp int res = count; res 1845 modules/java/generator/src/cpp/Mat.cpp return res; res 1866 modules/java/generator/src/cpp/Mat.cpp int res = mat_put<char>(me, row, col, count, values); res 1868 modules/java/generator/src/cpp/Mat.cpp return res; res 1893 modules/java/generator/src/cpp/Mat.cpp int res = mat_put<short>(me, row, col, count, values); res 1895 modules/java/generator/src/cpp/Mat.cpp return res; res 1920 modules/java/generator/src/cpp/Mat.cpp int res = mat_put<int>(me, row, col, count, values); res 1922 modules/java/generator/src/cpp/Mat.cpp return res; res 1947 modules/java/generator/src/cpp/Mat.cpp int res = mat_put<float>(me, row, col, count, values); res 1949 modules/java/generator/src/cpp/Mat.cpp return res; res 1970 modules/java/generator/src/cpp/Mat.cpp int res = bytesToCopy; res 1989 modules/java/generator/src/cpp/Mat.cpp return res; res 2009 modules/java/generator/src/cpp/Mat.cpp int res = mat_get<char>(me, row, col, count, values); res 2011 modules/java/generator/src/cpp/Mat.cpp return res; res 2036 modules/java/generator/src/cpp/Mat.cpp int res = mat_get<short>(me, row, col, count, values); res 2038 modules/java/generator/src/cpp/Mat.cpp return res; res 2063 modules/java/generator/src/cpp/Mat.cpp int res = mat_get<int>(me, row, col, count, values); res 2065 modules/java/generator/src/cpp/Mat.cpp return res; res 2090 modules/java/generator/src/cpp/Mat.cpp int res = mat_get<float>(me, row, col, count, values); res 2092 modules/java/generator/src/cpp/Mat.cpp return res; res 2117 modules/java/generator/src/cpp/Mat.cpp int res = mat_get<double>(me, row, col, count, values); res 2119 modules/java/generator/src/cpp/Mat.cpp return res; res 2142 modules/java/generator/src/cpp/Mat.cpp jdoubleArray res = env->NewDoubleArray(me->channels()); res 2143 modules/java/generator/src/cpp/Mat.cpp if(res){ res 2155 modules/java/generator/src/cpp/Mat.cpp env->SetDoubleArrayRegion(res, 0, me->channels(), buff); res 2157 modules/java/generator/src/cpp/Mat.cpp return res; res 15 modules/java/generator/src/java/android+CameraBridgeViewBase.java import android.content.res.TypedArray; res 35 modules/java/generator/src/java/utils+Converters.java Mat res; res 40 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_32SC2); res 47 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 52 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_32FC2); res 59 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 64 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_64FC2); res 71 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 79 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 81 modules/java/generator/src/java/utils+Converters.java return res; res 97 modules/java/generator/src/java/utils+Converters.java Mat res; res 102 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_32SC3); res 110 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 115 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_32FC3); res 123 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 128 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_64FC3); res 136 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 144 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 146 modules/java/generator/src/java/utils+Converters.java return res; res 236 modules/java/generator/src/java/utils+Converters.java Mat res; res 239 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_32SC2); res 246 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 248 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 250 modules/java/generator/src/java/utils+Converters.java return res; res 271 modules/java/generator/src/java/utils+Converters.java Mat res; res 274 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_32FC1); res 280 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 282 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 284 modules/java/generator/src/java/utils+Converters.java return res; res 304 modules/java/generator/src/java/utils+Converters.java Mat res; res 307 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_8UC1); res 313 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 315 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 317 modules/java/generator/src/java/utils+Converters.java return res; res 337 modules/java/generator/src/java/utils+Converters.java Mat res; res 340 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_8SC1); res 346 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 348 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 350 modules/java/generator/src/java/utils+Converters.java return res; res 354 modules/java/generator/src/java/utils+Converters.java Mat res; res 357 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_32SC1); res 363 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 365 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 367 modules/java/generator/src/java/utils+Converters.java return res; res 403 modules/java/generator/src/java/utils+Converters.java Mat res; res 406 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_32SC4); res 415 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 417 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 419 modules/java/generator/src/java/utils+Converters.java return res; res 439 modules/java/generator/src/java/utils+Converters.java Mat res; res 442 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_64FC(7)); res 454 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 456 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 458 modules/java/generator/src/java/utils+Converters.java return res; res 480 modules/java/generator/src/java/utils+Converters.java Mat res; res 485 modules/java/generator/src/java/utils+Converters.java res = vector_Mat_to_Mat(mats); res 487 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 489 modules/java/generator/src/java/utils+Converters.java return res; res 529 modules/java/generator/src/java/utils+Converters.java Mat res; res 534 modules/java/generator/src/java/utils+Converters.java res = vector_Mat_to_Mat(mats); res 536 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 538 modules/java/generator/src/java/utils+Converters.java return res; res 561 modules/java/generator/src/java/utils+Converters.java Mat res; res 566 modules/java/generator/src/java/utils+Converters.java res = vector_Mat_to_Mat(mats); res 568 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 570 modules/java/generator/src/java/utils+Converters.java return res; res 575 modules/java/generator/src/java/utils+Converters.java Mat res; res 580 modules/java/generator/src/java/utils+Converters.java res = vector_Mat_to_Mat(mats); res 582 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 584 modules/java/generator/src/java/utils+Converters.java return res; res 605 modules/java/generator/src/java/utils+Converters.java Mat res; res 608 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_64FC1); res 614 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 616 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 618 modules/java/generator/src/java/utils+Converters.java return res; res 638 modules/java/generator/src/java/utils+Converters.java Mat res; res 641 modules/java/generator/src/java/utils+Converters.java res = new Mat(count, 1, CvType.CV_64FC4); res 650 modules/java/generator/src/java/utils+Converters.java res.put(0, 0, buff); res 652 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 654 modules/java/generator/src/java/utils+Converters.java return res; res 675 modules/java/generator/src/java/utils+Converters.java Mat res; res 680 modules/java/generator/src/java/utils+Converters.java res = vector_Mat_to_Mat(mats); res 682 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 684 modules/java/generator/src/java/utils+Converters.java return res; res 707 modules/java/generator/src/java/utils+Converters.java Mat res; res 712 modules/java/generator/src/java/utils+Converters.java res = vector_Mat_to_Mat(mats); res 714 modules/java/generator/src/java/utils+Converters.java res = new Mat(); res 716 modules/java/generator/src/java/utils+Converters.java return res; res 181 modules/ml/src/em.cpp Vec2d res = computeProbabilities(samples.row(i), needprobs ? &probsrow : 0, ptype); res 183 modules/ml/src/em.cpp firstres = (float)res[1]; res 620 modules/ml/src/em.cpp Vec2d res; res 621 modules/ml/src/em.cpp res[0] = std::log(expDiffSum) + maxLVal - 0.5 * dim * CV_LOG2PI; res 622 modules/ml/src/em.cpp res[1] = label; res 624 modules/ml/src/em.cpp return res; res 642 modules/ml/src/em.cpp Vec2d res = computeProbabilities(trainSamples.row(sampleIndex), &sampleProbs, CV_64F); res 643 modules/ml/src/em.cpp trainLogLikelihoods.at<double>(sampleIndex) = res[0]; res 644 modules/ml/src/em.cpp trainLabels.at<int>(sampleIndex) = static_cast<int>(res[1]); res 371 modules/ml/src/gbt.cpp float res = 0.0f; res 384 modules/ml/src/gbt.cpp res = (float)tree->predict(&x, &x_miss)->value; res 388 modules/ml/src/gbt.cpp res = (float)tree->predict(&x)->value; res 392 modules/ml/src/gbt.cpp params.shrinkage * res; res 498 modules/ml/src/gbt.cpp double res; res 499 modules/ml/src/gbt.cpp res = current_data[idx + j*sum_response->cols]; res 500 modules/ml/src/gbt.cpp res = exp(res); res 501 modules/ml/src/gbt.cpp if (j == k) exp_fk = res; res 502 modules/ml/src/gbt.cpp exp_sfi += res; res 336 modules/ml/src/knearest.cpp Mat res, nr, d, *pres = 0, *pnr = 0, *pd = 0; res 340 modules/ml/src/knearest.cpp pres = &(res = _results.getMat()); res 392 modules/ml/src/knearest.cpp Mat res, nr, d; res 396 modules/ml/src/knearest.cpp res = _results.getMat(); res 412 modules/ml/src/knearest.cpp if (res.rows>i) res 414 modules/ml/src/knearest.cpp _res = res.row(i); res 64 modules/ml/test/test_mltests.cpp float res[icount]; res 73 modules/ml/test/test_mltests.cpp res[k] = case_result; res 78 modules/ml/test/test_mltests.cpp mean += res[k]; res 83 modules/ml/test/test_mltests.cpp sigma += (res[k] - mean)*(res[k] - mean); res 207 modules/objdetect/src/detection_based_tracker.cpp int res=0; res 208 modules/objdetect/src/detection_based_tracker.cpp res=pthread_mutex_init(&mutex, NULL);//TODO: should be attributes? res 209 modules/objdetect/src/detection_based_tracker.cpp if (res) { res 210 modules/objdetect/src/detection_based_tracker.cpp LOGE("ERROR in DetectionBasedTracker::SeparateDetectionWork::SeparateDetectionWork in pthread_mutex_init(&mutex, NULL) is %d", res); res 213 modules/objdetect/src/detection_based_tracker.cpp res=pthread_cond_init (&objectDetectorRun, NULL); res 214 modules/objdetect/src/detection_based_tracker.cpp if (res) { res 215 modules/objdetect/src/detection_based_tracker.cpp LOGE("ERROR in DetectionBasedTracker::SeparateDetectionWork::SeparateDetectionWork in pthread_cond_init(&objectDetectorRun,, NULL) is %d", res); res 219 modules/objdetect/src/detection_based_tracker.cpp res=pthread_cond_init (&objectDetectorThreadStartStop, NULL); res 220 modules/objdetect/src/detection_based_tracker.cpp if (res) { res 221 modules/objdetect/src/detection_based_tracker.cpp LOGE("ERROR in DetectionBasedTracker::SeparateDetectionWork::SeparateDetectionWork in pthread_cond_init(&objectDetectorThreadStartStop,, NULL) is %d", res); res 964 modules/objdetect/src/detection_based_tracker.cpp Rect res(cvRound(tl.x), cvRound(tl.y), cvRound(w), cvRound(h)); res 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); res 968 modules/objdetect/src/detection_based_tracker.cpp return res; res 648 modules/objdetect/src/haar.cpp double res = 0; res 751 modules/objdetect/src/haar.cpp res += (classifier+i)->alpha[-idxV[i]]; res 757 modules/objdetect/src/haar.cpp return res; res 167 modules/photo/src/align.cpp Mat res = Mat::zeros(src.size(), src.type()); res 172 modules/photo/src/align.cpp src(src_rect).copyTo(res(dst_rect)); res 173 modules/photo/src/align.cpp res.copyTo(dst); res 125 modules/photo/src/contrast_preserve.hpp vector <double> res; res 132 modules/photo/src/contrast_preserve.hpp res.push_back(dp); res 134 modules/photo/src/contrast_preserve.hpp return res; res 199 modules/photo/src/contrast_preserve.hpp double res =0.0; res 202 modules/photo/src/contrast_preserve.hpp res=sqrt(pow(ImL[i],2) + pow(Ima[i],2) + pow(Imb[i],2))/100; res 203 modules/photo/src/contrast_preserve.hpp Cg.push_back(res); res 152 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp Vec<ET, n> res; res 154 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[i] = calcWeight<T, ET>(dist, &h[i], fixed_point_mult); res 155 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return res; res 274 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp Vec<ET, n> res; res 276 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[i] = calcWeight<T, ET>(dist, &h[i], fixed_point_mult); res 277 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return res; res 452 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp Vec<ET, 2> res; res 453 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[0] = saturate_cast<ET>(estimation[0]); res 454 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[1] = saturate_cast<ET>(estimation[1]); res 455 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return res; res 463 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp Vec<ET, 3> res; res 464 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[0] = saturate_cast<ET>(estimation[0]); res 465 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[1] = saturate_cast<ET>(estimation[1]); res 466 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[2] = saturate_cast<ET>(estimation[2]); res 467 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return res; res 475 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp Vec<ET, 4> res; res 476 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[0] = saturate_cast<ET>(estimation[0]); res 477 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[1] = saturate_cast<ET>(estimation[1]); res 478 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[2] = saturate_cast<ET>(estimation[2]); res 479 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp res[3] = saturate_cast<ET>(estimation[3]); res 480 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return res; res 61 modules/photo/src/npr.cpp Mat res = Mat(h,w,CV_32FC3); res 62 modules/photo/src/npr.cpp dst.convertTo(res,CV_32FC3,1.0/255.0); res 69 modules/photo/src/npr.cpp obj.filter(img, res, sigma_s, sigma_r, flags); res 71 modules/photo/src/npr.cpp convertScaleAbs(res, dst, 255,0); res 87 modules/photo/src/npr.cpp Mat res = Mat(h,w,CV_32FC1); res 88 modules/photo/src/npr.cpp dst.convertTo(res,CV_32FC3,1.0/255.0); res 103 modules/photo/src/npr.cpp obj.filter(L, res, sigma_s, sigma_r, 1); res 107 modules/photo/src/npr.cpp detail = L - res; res 109 modules/photo/src/npr.cpp L = res + detail; res 155 modules/photo/src/npr.cpp Mat res = Mat(h,w,CV_32FC3); res 159 modules/photo/src/npr.cpp obj.filter(img, res, sigma_s, sigma_r, NORMCONV_FILTER); res 161 modules/photo/src/npr.cpp obj.find_magnitude(res,magnitude); res 166 modules/photo/src/npr.cpp split(res,temp); res 68 modules/photo/src/npr.hpp void filter(const Mat &img, Mat &res, float sigma_s, float sigma_r, int flags); res 478 modules/photo/src/npr.hpp void Domain_Filter::filter(const Mat &img, Mat &res, float sigma_s = 60, float sigma_r = 0.4, int flags = 1) res 530 modules/photo/src/npr.hpp res = O.clone(); res 164 modules/photo/src/seamless_cloning_impl.cpp Mat res; res 165 modules/photo/src/seamless_cloning_impl.cpp dst(mod_diff, res); res 169 modules/photo/src/seamless_cloning_impl.cpp float * resLinePtr = res.ptr<float>(j); res 176 modules/photo/src/seamless_cloning_impl.cpp idst(res, mod_diff); res 80 modules/photo/test/test_denoise_tvl1.cpp cv::Mat img = cv::imread(cvtest::TS::ptr()->get_data_path() + "shared/lena.png", 0), noisy, res; res 93 modules/photo/test/test_denoise_tvl1.cpp cv::denoise_TVL1(images, res); res 98 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,248,334,179)); res 99 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,489,333,172)); res 100 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,425,507,104)); res 101 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,489,486,105)); res 102 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,223,208,64)); res 103 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,418,3,78)); res 104 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,63,76,97)); res 105 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,29,134,126)); res 106 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,219,291,174)); res 107 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,384,124,76)); res 111 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,248,334,194)); res 112 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,489,333,171)); res 113 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,425,507,103)); res 114 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,489,486,109)); res 115 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,223,208,72)); res 116 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,418,3,58)); res 117 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,63,76,93)); res 118 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,29,134,127)); res 119 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,219,291,180)); res 120 modules/photo/test/test_denoise_tvl1.cpp ASSERT_TRUE(validate_pixel(res,384,124,80)); res 147 modules/photo/test/test_hdr.cpp Mat res; res 148 modules/photo/test/test_hdr.cpp align->shiftMat(img, res, shift); res 149 modules/photo/test/test_hdr.cpp Point calc = align->calculateShift(img, res); res 93 modules/stitching/src/motion_estimators.cpp void calcDeriv(const Mat &err1, const Mat &err2, double h, Mat res) res 96 modules/stitching/src/motion_estimators.cpp res.at<double>(i, 0) = (err2.at<double>(i, 0) - err1.at<double>(i, 0)) / h; res 231 modules/superres/src/frame_source.cpp bool res = reader_->nextFrame(_frame.getGpuMatRef()); res 232 modules/superres/src/frame_source.cpp if (!res) res 237 modules/superres/src/frame_source.cpp bool res = reader_->nextFrame(frame_); res 238 modules/superres/src/frame_source.cpp if (!res) res 1255 modules/ts/src/ts_perf.cpp unsigned int res = 0; res 1257 modules/ts/src/ts_perf.cpp res += i->first; res 1258 modules/ts/src/ts_perf.cpp return res; res 1263 modules/ts/src/ts_perf.cpp unsigned int res = 0; res 1265 modules/ts/src/ts_perf.cpp res += i->first; res 1266 modules/ts/src/ts_perf.cpp return res; res 190 modules/video/src/opencl/optical_flow_farneback.cl float res = row[0] * c_gKer[0]; res 192 modules/video/src/opencl/optical_flow_farneback.cl res += (row[-i] + row[i]) * c_gKer[i]; res 194 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(y, dstStep, x)] = res; res 238 modules/video/src/opencl/optical_flow_farneback.cl float res[5]; res 242 modules/video/src/opencl/optical_flow_farneback.cl res[k] = row[k*smw] * c_gKer[0]; res 247 modules/video/src/opencl/optical_flow_farneback.cl res[k] += (row[k*smw - i] + row[k*smw + i]) * c_gKer[i]; res 251 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(k*rows + y, dstStep, x)] = res[k]; res 391 modules/video/src/opencl/optical_flow_farneback.cl float res[5]; res 395 modules/video/src/opencl/optical_flow_farneback.cl res[k] = row[k*smw]; res 400 modules/video/src/opencl/optical_flow_farneback.cl res[k] += row[k*smw - i] + row[k*smw + i]; res 404 modules/video/src/opencl/optical_flow_farneback.cl dst[mad24(k*rows + y, dstStep, x)] = res[k] * boxAreaInv; res 1560 modules/videoio/src/cap_ffmpeg_impl.hpp bool res = cv_ff_codec_tag_match(tags[i], id, tag); res 1561 modules/videoio/src/cap_ffmpeg_impl.hpp if (res) res 1562 modules/videoio/src/cap_ffmpeg_impl.hpp return res; res 75 modules/videoio/src/cap_ximea.cpp #define HandleXiResult(res) if (res!=XI_OK) goto error; res 317 modules/videoio/src/cap_xine.cpp int res = xine_get_next_video_frame( capture->vo_port, &capture->xine_frame ); res 320 modules/videoio/src/cap_xine.cpp if ( res ) capture->frame_number++; res 325 modules/videoio/src/cap_xine.cpp return res; res 343 modules/videoio/src/cap_xine.cpp int res = 0; res 346 modules/videoio/src/cap_xine.cpp res = icvGrabFrameAVI_XINE( capture ); res 350 modules/videoio/src/cap_xine.cpp res = 1; res 353 modules/videoio/src/cap_xine.cpp if ( res ) res 108 modules/videostab/src/motion_stabilizing.cpp Mat res = Mat::zeros(cur.size(), cur.type()); res 114 modules/videostab/src/motion_stabilizing.cpp res += weight_[radius_ + i - idx] * getMotion(idx, i, motions); res 117 modules/videostab/src/motion_stabilizing.cpp return sum > 0.f ? res / sum : Mat::eye(cur.size(), cur.type()); res 625 modules/videostab/src/motion_stabilizing.cpp static inline void relaxMotion(const float M[], float t, float res[]) res 627 modules/videostab/src/motion_stabilizing.cpp res[0] = M[0]*(1.f-t) + t; res 628 modules/videostab/src/motion_stabilizing.cpp res[1] = M[1]*(1.f-t); res 629 modules/videostab/src/motion_stabilizing.cpp res[2] = M[2]*(1.f-t); res 630 modules/videostab/src/motion_stabilizing.cpp res[3] = M[3]*(1.f-t); res 631 modules/videostab/src/motion_stabilizing.cpp res[4] = M[4]*(1.f-t) + t; res 632 modules/videostab/src/motion_stabilizing.cpp res[5] = M[5]*(1.f-t); res 633 modules/videostab/src/motion_stabilizing.cpp res[6] = M[6]*(1.f-t); res 634 modules/videostab/src/motion_stabilizing.cpp res[7] = M[7]*(1.f-t); res 635 modules/videostab/src/motion_stabilizing.cpp res[8] = M[8]*(1.f-t) + t; res 6 platforms/android/service/engine/src/org/opencv/engine/OpenCVEngineService.java import android.content.res.XmlResourceParser; res 98 platforms/android/service/engine/src/org/opencv/engine/manager/ManagerActivity.java String res = new String(); res 100 platforms/android/service/engine/src/org/opencv/engine/manager/ManagerActivity.java res += "\n\t" + piece + " -> " res 104 platforms/android/service/engine/src/org/opencv/engine/manager/ManagerActivity.java + engine.getLibPathByVersion(null) + res); res 26 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java import android.content.res.Resources; res 147 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java final Resources res = getResources(); res 149 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java (Toast.makeText(this, res.getString(R.string.more_samples), Toast.LENGTH_SHORT)).show(); res 160 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java calibrationProgress.setTitle(res.getString(R.string.calibrating)); res 161 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java calibrationProgress.setMessage(res.getString(R.string.please_wait)); res 179 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java res.getString(R.string.calibration_successful) + " " + mCalibrator.getAvgReprojectionError() : res 180 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java res.getString(R.string.calibration_unsuccessful); res 15 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java import android.content.res.Resources; res 45 samples/cpp/cloning_gui.cpp Mat img0, img1, img2, res, res1, final, final1, blend; res 238 samples/cpp/cloning_gui.cpp res = Mat::zeros(img2.size(),CV_8UC1); res 250 samples/cpp/cloning_gui.cpp fillPoly(res, pts6, &numpts, 1, Scalar(255, 255, 255), 8, 0); res 335 samples/cpp/cloning_gui.cpp res = Mat::zeros(img2.size(),CV_8UC1); res 108 samples/cpp/grabcut.cpp Mat res; res 111 samples/cpp/grabcut.cpp image->copyTo( res ); res 115 samples/cpp/grabcut.cpp image->copyTo( res, binMask ); res 120 samples/cpp/grabcut.cpp circle( res, *it, radius, BLUE, thickness ); res 122 samples/cpp/grabcut.cpp circle( res, *it, radius, RED, thickness ); res 124 samples/cpp/grabcut.cpp circle( res, *it, radius, LIGHTBLUE, thickness ); res 126 samples/cpp/grabcut.cpp circle( res, *it, radius, PINK, thickness ); res 129 samples/cpp/grabcut.cpp rectangle( res, Point( rect.x, rect.y ), Point(rect.x + rect.width, rect.y + rect.height ), GREEN, 2); res 131 samples/cpp/grabcut.cpp imshow( *winName, res ); res 29 samples/cpp/mask_tmpl.cpp Mat res; res 54 samples/cpp/mask_tmpl.cpp matchTemplate(img, tmpl, res, method, mask); res 59 samples/cpp/mask_tmpl.cpp minMaxLoc(res, &minVal, &maxVal, &minLoc, &maxLoc); res 56 samples/cpp/openni_capture.cpp Point3f res; res 59 samples/cpp/openni_capture.cpp res = Point3f( p, t, V ); res 61 samples/cpp/openni_capture.cpp res = Point3f( p, V, q ); res 63 samples/cpp/openni_capture.cpp res = Point3f( t, V, p ); res 65 samples/cpp/openni_capture.cpp res = Point3f( V, q, p ); res 67 samples/cpp/openni_capture.cpp res = Point3f( V, p, t ); res 69 samples/cpp/openni_capture.cpp res = Point3f( q, p, V ); res 71 samples/cpp/openni_capture.cpp uchar b = (uchar)(std::max(0.f, std::min (res.x, 1.f)) * 255.f); res 72 samples/cpp/openni_capture.cpp uchar g = (uchar)(std::max(0.f, std::min (res.y, 1.f)) * 255.f); res 73 samples/cpp/openni_capture.cpp uchar r = (uchar)(std::max(0.f, std::min (res.z, 1.f)) * 255.f); res 75 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp Mat src, res; res 87 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp merge(spl, res); res 90 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp outputVideo << res; res 64 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp Mat res; res 65 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp drawMatches(img1, inliers1, img2, inliers2, good_matches, res); res 66 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp imwrite("res.png", res); res 78 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp Mat res; res 79 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp hconcat(first_frame, frame, res); res 82 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp return res; res 101 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp Mat res; res 103 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp inlier_matches, res, res 105 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp return res; res 52 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h vector<Point2f> res; res 54 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h res.push_back(keypoints[i].pt); res 56 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h return res; res 44 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp Mat img0, img1, img2, res, res1, final, final1, blend; res 237 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp res = Mat::zeros(img2.size(),CV_8UC1); res 249 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp fillPoly(res, pts6, &numpts, 1, Scalar(255, 255, 255), 8, 0); res 334 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp res = Mat::zeros(img2.size(),CV_8UC1); res 82 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp Mat res; res 83 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp drawMatches(img1, inliers1, img2, inliers2, good_matches, res); res 84 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp imwrite("../../samples/data/latch_res.png", res);