HomeSort by relevance Sort by last modified time
    Searched full:frame0 (Results 1 - 25 of 46) sorted by null

1 2

  /external/opencv3/modules/cudalegacy/src/
interpolate_frames.cpp 54 void cv::cuda::interpolateFrames(const GpuMat& frame0, const GpuMat& frame1, const GpuMat& fu, const GpuMat& fv, const GpuMat& bu, const GpuMat& bv,
57 CV_Assert(frame0.type() == CV_32FC1);
58 CV_Assert(frame1.size() == frame0.size() && frame1.type() == frame0.type());
59 CV_Assert(fu.size() == frame0.size() && fu.type() == frame0.type());
60 CV_Assert(fv.size() == frame0.size() && fv.type() == frame0.type());
61 CV_Assert(bu.size() == frame0.size() && bu.type() == frame0.type())
    [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/modules/cudaoptflow/src/
brox.cpp 111 const NCVMatrix<Ncv32f>& frame0, const NCVMatrix<Ncv32f>& frame1,
117 ncvSafeCall( NCVBroxOpticalFlow(desc, gpuCounter, frame0, frame1, u, v, 0) );
129 const GpuMat frame0 = _I0.getGpuMat();
132 CV_Assert( frame0.type() == CV_32FC1 );
133 CV_Assert( frame1.size() == frame0.size() && frame1.type() == frame0.type() );
138 GpuMat u = pool.getBuffer(frame0.size(), CV_32FC1);
139 GpuMat v = pool.getBuffer(frame0.size(), CV_32FC1);
151 frame0MemSeg.begin.ptr = const_cast<uchar*>(frame0.data);
152 frame0MemSeg.size = frame0.step * frame0.rows
    [all...]
  /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/videostab/include/opencv2/videostab/
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::GpuMat &points1,
120 void run(const cuda::GpuMat &frame0, const cuda::GpuMat &frame1, const cuda::GpuMat &points0, cuda::GpuMat &points1,
135 InputArray frame0, InputArray frame1, InputOutputArray flowX, InputOutputArray flowY,
  /external/opencv3/modules/videostab/src/
optical_flow.cpp 58 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1,
61 calcOpticalFlowPyrLK(frame0, frame1, points0, points1, status, errors, winSize_, maxLevel_);
75 InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1,
78 frame0_.upload(frame0.getMat());
96 const cuda::GpuMat &frame0, const cuda::GpuMat &frame1, const cuda::GpuMat &points0,
101 optFlowEstimator_->calc(frame0, frame1, points0, points1, status, errors);
106 const cuda::GpuMat &frame0, const cuda::GpuMat &frame1, const cuda::GpuMat &points0,
111 optFlowEstimator_->calc(frame0, frame1, points0, points1, status);
123 InputArray frame0, InputArray frame1, InputOutputArray flowX, InputOutputArray flowY,
126 frame0_.upload(frame0.getMat())
    [all...]
  /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/google-breakpad/src/processor/
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...]
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_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_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...]
  /external/compiler-rt/test/asan/TestCases/
stack-oob-frames.cc 15 NOINLINE static void Frame0(int frame, char *a, char *b, char *c) {
27 char c[4] = {0}; Frame0(frame, a, b, c);
45 // CHECK0: #0{{.*}}Frame0
50 // CHECK0-NEXT: #0{{.*}}Frame0
  /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/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/modules/video/test/ocl/
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_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_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/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);
  /external/webrtc/talk/media/base/
testutils.cc 325 bool VideoFrameEqual(const VideoFrame* frame0, const VideoFrame* frame1) {
326 const uint8_t* y0 = frame0->GetYPlane();
327 const uint8_t* u0 = frame0->GetUPlane();
328 const uint8_t* v0 = frame0->GetVPlane();
333 for (size_t i = 0; i < frame0->GetHeight(); ++i) {
334 if (0 != memcmp(y0, y1, frame0->GetWidth())) {
337 y0 += frame0->GetYPitch();
341 for (size_t i = 0; i < frame0->GetChromaHeight(); ++i) {
342 if (0 != memcmp(u0, u1, frame0->GetChromaWidth())) {
345 if (0 != memcmp(v0, v1, frame0->GetChromaWidth()))
    [all...]

Completed in 361 milliseconds

1 2