/external/opencv3/modules/cudalegacy/src/ |
D | interpolate_frames.cpp | 54 void cv::cuda::interpolateFrames(const GpuMat& frame0, const GpuMat& frame1, const GpuMat& fu, cons… in interpolateFrames() argument 57 CV_Assert(frame0.type() == CV_32FC1); in interpolateFrames() 58 CV_Assert(frame1.size() == frame0.size() && frame1.type() == frame0.type()); in interpolateFrames() 59 CV_Assert(fu.size() == frame0.size() && fu.type() == frame0.type()); in interpolateFrames() 60 CV_Assert(fv.size() == frame0.size() && fv.type() == frame0.type()); in interpolateFrames() 61 CV_Assert(bu.size() == frame0.size() && bu.type() == frame0.type()); in interpolateFrames() 62 CV_Assert(bv.size() == frame0.size() && bv.type() == frame0.type()); in interpolateFrames() 64 newFrame.create(frame0.size(), frame0.type()); in interpolateFrames() 66 buf.create(6 * frame0.rows, frame0.cols, CV_32FC1); in interpolateFrames() 70 GpuMat occ0 = buf.rowRange(0 * frame0.rows, 1 * frame0.rows); in interpolateFrames() [all …]
|
/external/google-breakpad/src/processor/ |
D | stackwalker_x86_unittest.cc | 271 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); in TEST_F() local 272 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); in TEST_F() 273 EXPECT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F() 274 EXPECT_EQ(0x4000c7a5U, frame0->instruction); in TEST_F() 275 EXPECT_EQ(0x4000c7a5U, frame0->context.eip); in TEST_F() 276 EXPECT_EQ(frame0_ebp.Value(), frame0->context.ebp); in TEST_F() 277 EXPECT_EQ(NULL, frame0->windows_frame_info); in TEST_F() 335 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); in TEST_F() local 336 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); in TEST_F() 337 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F() [all …]
|
D | stackwalker_amd64_unittest.cc | 281 StackFrameAMD64 *frame0 = static_cast<StackFrameAMD64 *>(frames->at(0)); in TEST_F() local 282 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); in TEST_F() 283 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F() 284 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); in TEST_F() 354 StackFrameAMD64 *frame0 = static_cast<StackFrameAMD64 *>(frames->at(0)); in TEST_F() local 355 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); in TEST_F() 356 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F() 357 EXPECT_EQ("platypus", frame0->function_name); in TEST_F() 358 EXPECT_EQ(0x40000000c0000100ULL, frame0->function_base); in TEST_F() 429 StackFrameAMD64 *frame0 = static_cast<StackFrameAMD64 *>(frames->at(0)); in TEST_F() local [all …]
|
D | stackwalker_mips_unittest.cc | 274 StackFrameMIPS* frame0 = static_cast<StackFrameMIPS*>(frames->at(0)); in TEST_F() local 275 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); in TEST_F() 276 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F() 277 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); in TEST_F() 348 StackFrameMIPS* frame0 = static_cast<StackFrameMIPS*>(frames->at(0)); in TEST_F() local 349 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); in TEST_F() 350 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F() 351 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); in TEST_F() 352 EXPECT_EQ("monotreme", frame0->function_name); in TEST_F() 353 EXPECT_EQ(0x00400100U, frame0->function_base); in TEST_F() [all …]
|
D | stackwalker_arm_unittest.cc | 262 StackFrameARM *frame0 = static_cast<StackFrameARM *>(frames->at(0)); in TEST_F() local 263 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); in TEST_F() 264 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F() 265 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); in TEST_F() 331 StackFrameARM *frame0 = static_cast<StackFrameARM *>(frames->at(0)); in TEST_F() local 332 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); in TEST_F() 333 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F() 334 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); in TEST_F() 335 EXPECT_EQ("monotreme", frame0->function_name); in TEST_F() 336 EXPECT_EQ(0x40000100U, frame0->function_base); in TEST_F() [all …]
|
D | stackwalker_arm64_unittest.cc | 239 StackFrameARM64 *frame0 = static_cast<StackFrameARM64 *>(frames->at(0)); in TEST_F() local 240 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); in TEST_F() 242 frame0->context_validity); in TEST_F() 243 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); in TEST_F() 309 StackFrameARM64 *frame0 = static_cast<StackFrameARM64 *>(frames->at(0)); in TEST_F() local 310 EXPECT_EQ(StackFrame::FRAME_TRUST_CONTEXT, frame0->trust); in TEST_F() 312 frame0->context_validity); in TEST_F() 313 EXPECT_EQ(0, memcmp(&raw_context, &frame0->context, sizeof(raw_context))); in TEST_F() 314 EXPECT_EQ("monotreme", frame0->function_name); in TEST_F() 315 EXPECT_EQ(0x40000100ULL, frame0->function_base); in TEST_F() [all …]
|
/external/opencv3/modules/cudaoptflow/perf/ |
D | perf_optflow.cpp | 61 cv::Mat frame0 = readImage(GetParam().first, cv::IMREAD_GRAYSCALE); variable 62 ASSERT_FALSE(frame0.empty()); 67 frame0.convertTo(frame0, CV_32FC1, 1.0 / 255.0); 72 const cv::cuda::GpuMat d_frame0(frame0); 119 …const cv::Mat frame0 = readImage(imagePair.first, useGray ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLO… variable 120 ASSERT_FALSE(frame0.empty()); 127 gray_frame = frame0; 129 cv::cvtColor(frame0, gray_frame, cv::COLOR_BGR2GRAY); 143 const cv::cuda::GpuMat d_frame0(frame0); 160 cv::calcOpticalFlowPyrLK(frame0, frame1, pts, nextPts, status, cv::noArray(), in TEST_CYCLE() [all …]
|
/external/opencv3/modules/superres/src/ |
D | 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]); in ocl_calc() local 93 CV_Assert( frame1.type() == frame0.type() ); in ocl_calc() 94 CV_Assert( frame1.size() == frame0.size() ); in ocl_calc() 96 UMat input0 = convertToType(frame0, work_type_, ubuf_[2], ubuf_[3]); in ocl_calc() 125 Mat frame0 = arrGetMat(_frame0, buf_[0]); in calc() 128 CV_Assert( frame1.type() == frame0.type() ); in calc() 129 CV_Assert( frame1.size() == frame0.size() ); in calc() 131 Mat input0 = convertToType(frame0, work_type_, buf_[2], buf_[3]); in calc() [all …]
|
/external/opencv3/modules/cudaoptflow/src/ |
D | brox.cpp | 111 const NCVMatrix<Ncv32f>& frame0, const NCVMatrix<Ncv32f>& frame1, in getBufSize() argument 117 ncvSafeCall( NCVBroxOpticalFlow(desc, gpuCounter, frame0, frame1, u, v, 0) ); in getBufSize() 129 const GpuMat frame0 = _I0.getGpuMat(); in calc() local 132 CV_Assert( frame0.type() == CV_32FC1 ); in calc() 133 CV_Assert( frame1.size() == frame0.size() && frame1.type() == frame0.type() ); in calc() 138 GpuMat u = pool.getBuffer(frame0.size(), CV_32FC1); in calc() 139 GpuMat v = pool.getBuffer(frame0.size(), CV_32FC1); in calc() 151 frame0MemSeg.begin.ptr = const_cast<uchar*>(frame0.data); in calc() 152 frame0MemSeg.size = frame0.step * frame0.rows; in calc() 172 …me0MemSeg, static_cast<Ncv32u>(textureAlignment), frame0.cols, frame0.rows, static_cast<Ncv32u>(fr… in calc()
|
/external/opencv3/modules/videostab/src/ |
D | optical_flow.cpp | 58 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, in run() argument 61 calcOpticalFlowPyrLK(frame0, frame1, points0, points1, status, errors, winSize_, maxLevel_); in run() 75 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, in run() argument 78 frame0_.upload(frame0.getMat()); in run() 96 const cuda::GpuMat &frame0, const cuda::GpuMat &frame1, const cuda::GpuMat &points0, in run() argument 101 optFlowEstimator_->calc(frame0, frame1, points0, points1, status, errors); in run() 106 const cuda::GpuMat &frame0, const cuda::GpuMat &frame1, const cuda::GpuMat &points0, in run() argument 111 optFlowEstimator_->calc(frame0, frame1, points0, points1, status); in run() 123 InputArray frame0, InputArray frame1, InputOutputArray flowX, InputOutputArray flowY, in run() argument 126 frame0_.upload(frame0.getMat()); in run()
|
D | inpainting.cpp | 200 const Mat &M, const Mat &frame0, const Mat &mask0, const Mat &frame1) in alignementError() argument 202 CV_Assert(frame0.type() == CV_8UC3 && frame1.type() == CV_8UC3); in alignementError() 203 CV_Assert(mask0.type() == CV_8U && mask0.size() == frame0.size()); in alignementError() 204 CV_Assert(frame0.size() == frame1.size()); in alignementError() 211 for (int y0 = 0; y0 < frame0.rows; ++y0) in alignementError() 213 for (int x0 = 0; x0 < frame0.cols; ++x0) in alignementError() 221 intensity(frame0.at<Point3_<uchar> >(y0,x0))); in alignementError() 509 float distThresh, Mat &frame0, Mat &mask0) in completeFrameAccordingToFlow() argument 516 CV_Assert(frame0.type() == CV_8UC3 && frame0.size() == flowMask.size()); in completeFrameAccordingToFlow() 522 for (int y0 = 0; y0 < frame0.rows; ++y0) in completeFrameAccordingToFlow() [all …]
|
/external/opencv3/modules/cudaoptflow/test/ |
D | test_optflow.cpp | 68 cv::Mat frame0 = readImageType("opticalflow/frame0.png", CV_32FC1); in CUDA_TEST_P() local 69 ASSERT_FALSE(frame0.empty()); in CUDA_TEST_P() 79 brox->calc(loadMat(frame0), loadMat(frame1), flow); in CUDA_TEST_P() 132 cv::Mat frame0 = readImageType("opticalflow/frame0.png", CV_32FC1); in CUDA_TEST_P() local 133 ASSERT_FALSE(frame0.empty()); in CUDA_TEST_P() 139 cv::resize(frame0, r_frame0, cv::Size(1380,1000)); in CUDA_TEST_P() 147 brox->calc(loadMat(frame0), loadMat(frame1), flow); in CUDA_TEST_P() 189 …cv::Mat frame0 = readImage("opticalflow/frame0.png", useGray ? cv::IMREAD_GRAYSCALE : cv::IMREAD_C… in CUDA_TEST_P() local 190 ASSERT_FALSE(frame0.empty()); in CUDA_TEST_P() 197 gray_frame = frame0; in CUDA_TEST_P() [all …]
|
/external/opencv3/samples/tapi/ |
D | pyrlk_optical_flow.cpp | 107 UMat frame0; in main() local 108 imread(fname0, cv::IMREAD_GRAYSCALE).copyTo(frame0); in main() 119 if (frame0.empty() || frame1.empty()) in main() 151 frame.copyTo( frame0 ); in main() 152 cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); in main() 165 frame.copyTo(frame0); in main() 166 cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); in main() 181 frame0.copyTo(frameCopy); in main() 210 goodFeaturesToTrack(frame0, pts, points, 0.01, minDist); in main() 211 calcOpticalFlowPyrLK(frame0, frame1, pts, nextPts, status, err); in main() [all …]
|
D | tvl1_optical_flow.cpp | 112 UMat frame0, frame1; in main() local 113 imread(fname0, cv::IMREAD_GRAYSCALE).copyTo(frame0); in main() 120 if (frame0.empty() || frame1.empty()) in main() 152 frame.copyTo( frame0 ); in main() 153 cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); in main() 166 frame.copyTo(frame0); in main() 167 cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); in main() 178 frame0.copyTo(frameCopy); in main() 209 alg->calc(frame0, frame1, flow); in main()
|
/external/opencv3/modules/videostab/include/opencv2/videostab/ |
D | optical_flow.hpp | 66 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, 75 InputArray frame0, InputArray frame1, InputOutputArray flowX, InputOutputArray flowY, 101 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, 114 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, 117 …void run(const cuda::GpuMat &frame0, const cuda::GpuMat &frame1, const cuda::GpuMat &points0, cuda… 120 …void run(const cuda::GpuMat &frame0, const cuda::GpuMat &frame1, const cuda::GpuMat &points0, cuda… 135 InputArray frame0, InputArray frame1, InputOutputArray flowX, InputOutputArray flowY,
|
D | global_motion.hpp | 183 virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok = 0) = 0; 197 virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok = 0); 211 virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok = 0); 238 virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok = 0); 265 virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok = 0); 266 Mat estimate(const cuda::GpuMat &frame0, const cuda::GpuMat &frame1, bool *ok = 0);
|
/external/opencv3/modules/video/test/ocl/ |
D | test_optflow_tvl1flow.cpp | 76 cv::Mat frame0 = readImage("optflow/RubberWhale1.png", cv::IMREAD_GRAYSCALE); in OCL_TEST_P() local 77 ASSERT_FALSE(frame0.empty()); in OCL_TEST_P() 94 OCL_ON(alg->calc(frame0, frame1, uflow)); in OCL_TEST_P() 101 OCL_OFF(alg->calc(frame0, frame1, flow)); in OCL_TEST_P() 102 OCL_ON(alg->calc(frame0, frame1, uflow)); in OCL_TEST_P()
|
D | test_optflow_farneback.cpp | 86 cv::Mat frame0 = readImage("optflow/RubberWhale1.png", cv::IMREAD_GRAYSCALE); in OCL_TEST_P() local 87 ASSERT_FALSE(frame0.empty()); in OCL_TEST_P() 97 …OCL_ON(cv::calcOpticalFlowFarneback(frame0, frame1, uflow, pyrScale, numLevels, winSize, numIters,… in OCL_TEST_P() 101 …OCL_OFF(cv::calcOpticalFlowFarneback(frame0, frame1, flow, pyrScale, numLevels, winSize, numIters,… in OCL_TEST_P() 102 …OCL_ON(cv::calcOpticalFlowFarneback(frame0, frame1, uflow, pyrScale, numLevels, winSize, numIters,… in OCL_TEST_P()
|
D | test_optflowpyrlk.cpp | 81 cv::Mat frame0 = readImage("optflow/RubberWhale1.png", cv::IMREAD_GRAYSCALE); in OCL_TEST_P() local 82 ASSERT_FALSE(frame0.empty()); in OCL_TEST_P() 83 UMat umatFrame0; frame0.copyTo(umatFrame0); in OCL_TEST_P() 90 cv::goodFeaturesToTrack(frame0, pts, npoints, 0.01, 0.0); in OCL_TEST_P() 95 …OCL_OFF(cv::calcOpticalFlowPyrLK(frame0, frame1, pts, cpuNextPts, cpuStatusCPU, cpuErr, winSize, m… in OCL_TEST_P()
|
/external/webrtc/talk/media/base/ |
D | testutils.cc | 325 bool VideoFrameEqual(const VideoFrame* frame0, const VideoFrame* frame1) { in VideoFrameEqual() argument 326 const uint8_t* y0 = frame0->GetYPlane(); in VideoFrameEqual() 327 const uint8_t* u0 = frame0->GetUPlane(); in VideoFrameEqual() 328 const uint8_t* v0 = frame0->GetVPlane(); in VideoFrameEqual() 333 for (size_t i = 0; i < frame0->GetHeight(); ++i) { in VideoFrameEqual() 334 if (0 != memcmp(y0, y1, frame0->GetWidth())) { in VideoFrameEqual() 337 y0 += frame0->GetYPitch(); in VideoFrameEqual() 341 for (size_t i = 0; i < frame0->GetChromaHeight(); ++i) { in VideoFrameEqual() 342 if (0 != memcmp(u0, u1, frame0->GetChromaWidth())) { in VideoFrameEqual() 345 if (0 != memcmp(v0, v1, frame0->GetChromaWidth())) { in VideoFrameEqual() [all …]
|
/external/opencv3/samples/gpu/ |
D | pyrlk_optical_flow.cpp | 118 Mat frame0 = imread(fname0); in main() local 121 if (frame0.empty() || frame1.empty()) in main() 130 cout << "Image size : " << frame0.cols << " x " << frame0.rows << endl; in main() 136 cv::cvtColor(frame0, frame0Gray, COLOR_BGR2GRAY); in main() 154 GpuMat d_frame0(frame0); in main() 173 drawArrows(frame0, prevPts, nextPts, status, Scalar(255, 0, 0)); in main() 175 imshow("PyrLK [Sparse]", frame0); in main()
|
D | optical_flow.cpp | 155 Mat frame0 = imread(filename1, IMREAD_GRAYSCALE); in main() local 158 if (frame0.empty()) in main() 169 if (frame1.size() != frame0.size()) in main() 175 GpuMat d_frame0(frame0); in main() 178 GpuMat d_flow(frame0.size(), CV_32FC2); in main() 235 imshow("Frame 0", frame0); in main()
|
/external/opencv3/modules/video/perf/opencl/ |
D | perf_optflow_pyrlk.cpp | 67 Mat frame0 = imread(getDataPath("gpu/opticalflow/rubberwhale1.png"), cv::IMREAD_GRAYSCALE); variable 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);
|
D | perf_optflow_dualTVL1.cpp | 69 Mat frame0 = imread(getDataPath("cv/optflow/RubberWhale1.png"), cv::IMREAD_GRAYSCALE); variable 70 ASSERT_FALSE(frame0.empty()) << "can't load RubberWhale1.png"; 75 const Size srcSize = frame0.size(); 84 UMat uFrame0; frame0.copyTo(uFrame0);
|
D | perf_optflow_farneback.cpp | 74 Mat frame0 = imread(getDataPath("gpu/opticalflow/rubberwhale1.png"), cv::IMREAD_GRAYSCALE); variable 75 ASSERT_FALSE(frame0.empty()) << "can't load rubberwhale1.png"; 80 const Size srcSize = frame0.size(); 95 UMat uFrame0; frame0.copyTo(uFrame0);
|