/external/opencv3/modules/video/test/ocl/ |
test_optflow_tvl1flow.cpp | 76 cv::Mat frame0 = readImage("optflow/RubberWhale1.png", cv::IMREAD_GRAYSCALE); local 77 ASSERT_FALSE(frame0.empty()); 94 OCL_ON(alg->calc(frame0, frame1, uflow)); 101 OCL_OFF(alg->calc(frame0, frame1, flow)); 102 OCL_ON(alg->calc(frame0, frame1, uflow));
|
test_optflow_farneback.cpp | 86 cv::Mat frame0 = readImage("optflow/RubberWhale1.png", cv::IMREAD_GRAYSCALE); local 87 ASSERT_FALSE(frame0.empty()); 97 OCL_ON(cv::calcOpticalFlowFarneback(frame0, frame1, uflow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags)); 101 OCL_OFF(cv::calcOpticalFlowFarneback(frame0, frame1, flow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags)); 102 OCL_ON(cv::calcOpticalFlowFarneback(frame0, frame1, uflow, pyrScale, numLevels, winSize, numIters, polyN, polySigma, flags));
|
test_optflowpyrlk.cpp | 81 cv::Mat frame0 = readImage("optflow/RubberWhale1.png", cv::IMREAD_GRAYSCALE); local 82 ASSERT_FALSE(frame0.empty()); 83 UMat umatFrame0; frame0.copyTo(umatFrame0); 90 cv::goodFeaturesToTrack(frame0, pts, npoints, 0.01, 0.0); 95 OCL_OFF(cv::calcOpticalFlowPyrLK(frame0, frame1, pts, cpuNextPts, cpuStatusCPU, cpuErr, winSize, maxLevel, criteria, flags, minEigThreshold));
|
/external/opencv3/modules/video/perf/opencl/ |
perf_optflow_dualTVL1.cpp | 69 Mat frame0 = imread(getDataPath("cv/optflow/RubberWhale1.png"), cv::IMREAD_GRAYSCALE); local 70 ASSERT_FALSE(frame0.empty()) << "can't load RubberWhale1.png"; 75 const Size srcSize = frame0.size(); 84 UMat uFrame0; frame0.copyTo(uFrame0);
|
perf_optflow_farneback.cpp | 74 Mat frame0 = imread(getDataPath("gpu/opticalflow/rubberwhale1.png"), cv::IMREAD_GRAYSCALE); local 75 ASSERT_FALSE(frame0.empty()) << "can't load rubberwhale1.png"; 80 const Size srcSize = frame0.size(); 95 UMat uFrame0; frame0.copyTo(uFrame0);
|
perf_optflow_pyrlk.cpp | 67 Mat frame0 = imread(getDataPath("gpu/opticalflow/rubberwhale1.png"), cv::IMREAD_GRAYSCALE); local 68 ASSERT_FALSE(frame0.empty()) << "can't load rubberwhale1.png"; 73 UMat uFrame0; frame0.copyTo(uFrame0); 87 goodFeaturesToTrack(frame0, pts, pointsCount, 0.01, 0.0);
|
/external/google-breakpad/src/processor/ |
stackwalker_mips_unittest.cc | 274 StackFrameMIPS* frame0 = static_cast<StackFrameMIPS*>(frames->at(0)); local 275 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); 276 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); 277 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); 348 StackFrameMIPS* frame0 = static_cast<StackFrameMIPS*>(frames->at(0)); local 349 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); 350 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); 351 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); 352 EXPECT_EQ("monotreme", frame0->function_name); 353 EXPECT_EQ(0x00400100U, frame0->function_base) 421 StackFrameMIPS* frame0 = static_cast<StackFrameMIPS*>(frames->at(0)); local 493 StackFrameMIPS* frame0 = static_cast<StackFrameMIPS*>(frames->at(0)); local 597 StackFrameMIPS* frame0 = static_cast<StackFrameMIPS*>(frames->at(0)); local [all...] |
stackwalker_amd64_unittest.cc | 281 StackFrameAMD64 *frame0 = static_cast<StackFrameAMD64 *>(frames->at(0)); local 282 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); 283 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); 284 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); 354 StackFrameAMD64 *frame0 = static_cast<StackFrameAMD64 *>(frames->at(0)); local 355 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); 356 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); 357 EXPECT_EQ("platypus", frame0->function_name); 358 EXPECT_EQ(0x40000000c0000100ULL, frame0->function_base); 429 StackFrameAMD64 *frame0 = static_cast<StackFrameAMD64 *>(frames->at(0)) local 486 StackFrameAMD64 *frame0 = static_cast<StackFrameAMD64 *>(frames->at(0)); local 567 StackFrameAMD64 *frame0 = static_cast<StackFrameAMD64 *>(frames->at(0)); local [all...] |
stackwalker_arm64_unittest.cc | 239 StackFrameARM64 *frame0 = static_cast<StackFrameARM64 *>(frames->at(0)); local 240 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); 242 frame0->context_validity); 243 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); 309 StackFrameARM64 *frame0 = static_cast<StackFrameARM64 *>(frames->at(0)); local 310 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); 312 frame0->context_validity); 313 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); 314 EXPECT_EQ("monotreme", frame0->function_name); 315 EXPECT_EQ(0x40000100ULL, frame0->function_base) 378 StackFrameARM64 *frame0 = static_cast<StackFrameARM64 *>(frames->at(0)); local 442 StackFrameARM64 *frame0 = static_cast<StackFrameARM64 *>(frames->at(0)); local 505 StackFrameARM64 *frame0 = static_cast<StackFrameARM64 *>(frames->at(0)); local 644 StackFrameARM64 *frame0 = static_cast<StackFrameARM64 *>(frames->at(0)); local [all...] |
stackwalker_arm_unittest.cc | 262 StackFrameARM *frame0 = static_cast<StackFrameARM *>(frames->at(0)); local 263 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); 264 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); 265 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); 331 StackFrameARM *frame0 = static_cast<StackFrameARM *>(frames->at(0)); local 332 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); 333 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); 334 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); 335 EXPECT_EQ("monotreme", frame0->function_name); 336 EXPECT_EQ(0x40000100U, frame0->function_base) 399 StackFrameARM *frame0 = static_cast<StackFrameARM *>(frames->at(0)); local 462 StackFrameARM *frame0 = static_cast<StackFrameARM *>(frames->at(0)); local 567 StackFrameARM *frame0 = static_cast<StackFrameARM *>(frames->at(0)); local 846 StackFrameARM *frame0 = static_cast<StackFrameARM *>(frames->at(0)); local 942 StackFrameARM *frame0 = static_cast<StackFrameARM *>(frames->at(0)); local [all...] |
stackwalker_x86_unittest.cc | 271 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 272 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); 273 EXPECT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); 274 EXPECT_EQ(0x4000c7a5U, frame0->instruction); 275 EXPECT_EQ(0x4000c7a5U, frame0->context.eip); 276 EXPECT_EQ(frame0_ebp.Value(), frame0->context.ebp); 277 EXPECT_EQ(NULL, frame0->windows_frame_info); 335 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 336 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); 337 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity) 401 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 467 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 526 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 607 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 695 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 795 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 884 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 957 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 1040 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 1184 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 1397 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 1849 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local 1991 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); local [all...] |
/external/opencv3/modules/cudaoptflow/perf/ |
perf_optflow.cpp | 57 Values<pair_string>(make_pair("gpu/opticalflow/frame0.png", "gpu/opticalflow/frame1.png"))) 61 cv::Mat frame0 = readImage(GetParam().first, cv::IMREAD_GRAYSCALE); local 62 ASSERT_FALSE(frame0.empty()); 67 frame0.convertTo(frame0, CV_32FC1, 1.0 / 255.0); 72 const cv::cuda::GpuMat d_frame0(frame0); 103 Combine(Values<pair_string>(make_pair("gpu/opticalflow/frame0.png", "gpu/opticalflow/frame1.png")), 119 const cv::Mat frame0 = readImage(imagePair.first, useGray ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLOR); local 120 ASSERT_FALSE(frame0.empty()); 127 gray_frame = frame0; 188 const cv::Mat frame0 = readImage(imagePair.first, cv::IMREAD_GRAYSCALE); local 230 const cv::Mat frame0 = readImage(GetParam().first, cv::IMREAD_GRAYSCALE); local 283 const cv::Mat frame0 = readImage(GetParam().first, cv::IMREAD_GRAYSCALE); local [all...] |
/external/opencv3/samples/cpp/ |
tvl1_optical_flow.cpp | 153 cerr << "Usage : " << argv[0] << "<frame0> <frame1> [<output_flow>]" << endl; 157 Mat frame0 = imread(argv[1], IMREAD_GRAYSCALE); local 160 if (frame0.empty()) 171 if (frame1.size() != frame0.size()) 181 tvl1->calc(frame0, frame1, flow);
|
select3dobj.cpp | 529 Mat frame0; local 533 frame0 = imread(string(imageList[i]), 1); 536 capture >> frame0; local 537 if( frame0.empty() ) 541 if( frame0.size() != calibratedImageSize ) 543 double sx = (double)frame0.cols/calibratedImageSize.width; 544 double sy = (double)frame0.rows/calibratedImageSize.height; 554 cameraMatrix, frame0.size(), 558 remap(frame0, frame, mapxy, Mat(), INTER_LINEAR);
|
/external/opencv3/samples/gpu/ |
pyrlk_optical_flow.cpp | 118 Mat frame0 = imread(fname0); local 121 if (frame0.empty() || frame1.empty()) 130 cout << "Image size : " << frame0.cols << " x " << frame0.rows << endl; 136 cv::cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); 154 GpuMat d_frame0(frame0); 173 drawArrows(frame0, prevPts, nextPts, status, Scalar(255, 0, 0)); 175 imshow("PyrLK [Sparse]", frame0);
|
optical_flow.cpp | 145 cerr << "Usage : " << argv[0] << " <frame0> <frame1>" << endl; 155 Mat frame0 = imread(filename1, IMREAD_GRAYSCALE); local 158 if (frame0.empty()) 169 if (frame1.size() != frame0.size()) 175 GpuMat d_frame0(frame0); 178 GpuMat d_flow(frame0.size(), CV_32FC2); 235 imshow("Frame 0", frame0);
|
/external/opencv3/samples/tapi/ |
pyrlk_optical_flow.cpp | 107 UMat frame0; local 108 imread(fname0, cv::IMREAD_GRAYSCALE).copyTo(frame0); 119 if (frame0.empty() || frame1.empty()) 151 frame.copyTo( frame0 ); 152 cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); 165 frame.copyTo(frame0); 166 cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); 181 frame0.copyTo(frameCopy); 210 goodFeaturesToTrack(frame0, pts, points, 0.01, minDist); 211 calcOpticalFlowPyrLK(frame0, frame1, pts, nextPts, status, err) [all...] |
tvl1_optical_flow.cpp | 112 UMat frame0, frame1; local 113 imread(fname0, cv::IMREAD_GRAYSCALE).copyTo(frame0); 120 if (frame0.empty() || frame1.empty()) 152 frame.copyTo( frame0 ); 153 cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); 166 frame.copyTo(frame0); 167 cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); 178 frame0.copyTo(frameCopy); 209 alg->calc(frame0, frame1, flow);
|
/external/opencv3/modules/cudaoptflow/test/ |
test_optflow.cpp | 68 cv::Mat frame0 = readImageType("opticalflow/frame0.png", CV_32FC1); local 69 ASSERT_FALSE(frame0.empty()); 79 brox->calc(loadMat(frame0), loadMat(frame1), flow); 132 cv::Mat frame0 = readImageType("opticalflow/frame0.png", CV_32FC1); local 133 ASSERT_FALSE(frame0.empty()); 139 cv::resize(frame0, r_frame0, cv::Size(1380,1000)); 147 brox->calc(loadMat(frame0), loadMat(frame1), flow); 189 cv::Mat frame0 = readImage("opticalflow/frame0.png", useGray ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLOR) local 293 cv::Mat frame0 = readImage("opticalflow\/rubberwhale1.png", cv::IMREAD_GRAYSCALE); local 358 cv::Mat frame0 = readImage("opticalflow\/rubberwhale1.png", cv::IMREAD_GRAYSCALE); local [all...] |
/external/opencv3/modules/superres/src/ |
optical_flow.cpp | 61 void calc(InputArray frame0, InputArray frame1, OutputArray flow1, OutputArray flow2); 68 bool ocl_calc(InputArray frame0, InputArray frame1, OutputArray flow1, OutputArray flow2); 90 UMat frame0 = arrGetUMat(_frame0, ubuf_[0]); local 93 CV_Assert( frame1.type() == frame0.type() ); 94 CV_Assert( frame1.size() == frame0.size() ); 96 UMat input0 = convertToType(frame0, work_type_, ubuf_[2], ubuf_[3]); 125 Mat frame0 = arrGetMat(_frame0, buf_[0]); local 128 CV_Assert( frame1.type() == frame0.type() ); 129 CV_Assert( frame1.size() == frame0.size() ); 131 Mat input0 = convertToType(frame0, work_type_, buf_[2], buf_[3]) 437 GpuMat frame0 = arrGetGpuMat(_frame0, buf_[0]); local [all...] |
/external/skia/tests/ |
PathOpsConicIntersectionTest.cpp | 181 const SkDConic frame0[] = { variable 229 frame0, frame1, frame2, frame3, frame4, frame5, frame6 232 const int frameSizes[] = { (int) SK_ARRAY_COUNT(frame0), (int) SK_ARRAY_COUNT(frame1),
|
/external/opencv3/modules/cudaoptflow/src/ |
tvl1flow.cpp | 163 const GpuMat frame0 = _frame0.getGpuMat(); local 167 GpuMat flowx = pool.getBuffer(frame0.size(), CV_32FC1); 168 GpuMat flowy = pool.getBuffer(frame0.size(), CV_32FC1); 170 calcImpl(frame0, frame1, flowx, flowy, stream);
|