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

1 2 3 4 5

  /external/opencv3/modules/video/perf/
perf_tvl1optflow.cpp 18 Mat frame1 = imread(getDataPath(GetParam().first), IMREAD_GRAYSCALE); local
20 ASSERT_FALSE(frame1.empty());
27 TEST_CYCLE_N(10) tvl1->calc(frame1, frame2, flow);
perf_optflowpyrlk.cpp 57 Mat frame1, frame2; local
61 cvtColor(img1, frame1, COLOR_BGR2GRAY, cn);
65 frame1 = img1;
69 cvtColor(img1, frame1, COLOR_BGR2BGRA, cn);
81 FormTrackingPointsArray(inPoints, frame1.cols, frame1.rows, nPointsX, nPointsY);
86 declare.in(frame1, frame2, inPoints).out(outPoints);
90 calcOpticalFlowPyrLK(frame1, frame2, inPoints, outPoints, status, err,
131 Mat frame1, frame2; local
135 cvtColor(img1, frame1, COLOR_BGR2GRAY, cn)
    [all...]
  /external/webrtc/webrtc/common_video/
i420_video_frame_unittest.cc 137 VideoFrame frame1; local
138 EXPECT_EQ(0, frame1.CreateFrame(buffer_y, buffer_u, buffer_v, width, height,
140 frame1.set_timestamp(timestamp);
141 frame1.set_ntp_time_ms(ntp_time_ms);
142 frame1.set_render_time_ms(render_time_ms);
144 frame2.ShallowCopy(frame1);
147 const VideoFrame* const_frame1_ptr = &frame1;
157 EXPECT_EQ(frame2.timestamp(), frame1.timestamp());
158 EXPECT_EQ(frame2.ntp_time_ms(), frame1.ntp_time_ms());
159 EXPECT_EQ(frame2.render_time_ms(), frame1.render_time_ms())
189 VideoFrame frame1, frame2; local
230 VideoFrame frame1; local
    [all...]
  /device/google/dragon/audio/hal/dsp/tests/
cmpraw.c 24 size_t frame1, frame2; local
35 data1 = read_raw(argv[1], &frame1);
38 if (frame1 != frame2) {
39 fprintf(stderr, "mismatch size (%zu vs %zu)\n", frame1, frame2);
43 n = frame1 * 2;
  /external/webrtc/talk/media/base/
videoframe_unittest.h 494 static bool IsEqual(const cricket::VideoFrame& frame1,
497 return IsEqual(frame1,
507 static bool IsEqualWithCrop(const cricket::VideoFrame& frame1,
510 return frame1.GetWidth() <= frame2.GetWidth() &&
511 frame1.GetHeight() <= frame2.GetHeight() &&
512 IsEqual(frame1,
573 T frame1, frame2; local
574 ASSERT_TRUE(LoadFrameNoRepeat(&frame1));
580 EXPECT_EQ(0, libyuv::I420ToI422(frame1.GetYPlane(), frame1.GetYPitch()
594 T frame1, frame2; local
611 T frame1, frame2; local
629 T frame1, frame2; local
643 T frame1, frame2; local
686 T frame1, frame2; local
700 T frame1, frame2; local
714 T frame1, frame2; local
728 T frame1, frame2; local
742 T frame1, frame2; local
756 T frame1, frame2; local
769 T frame1, frame2; local
785 T frame1, frame2; local
801 T frame1, frame2; local
1058 T frame1, frame2; local
1068 T frame1, frame2; local
1082 T frame1, frame2; local
1096 T frame1, frame2; local
1106 T frame1, frame2, frame3; local
1119 T frame1, frame2; local
1128 T frame1, frame2; local
1137 T frame1, frame2; local
1146 T frame1, frame2; local
1156 T frame1, frame2; local
1289 T frame1, frame2, frame3, frame4; local
1308 T frame1, frame2, frame3, frame4; local
1327 T frame1, frame2; local
1337 T frame1, frame2; local
1361 T frame1, frame2; local
1379 T frame1, frame2; local
1412 T frame1, frame2; local
1475 T frame1, frame2; local
1797 T frame1, frame2; local
    [all...]
  /external/webrtc/webrtc/video/
video_capture_input_unittest.cc 42 bool EqualFrames(const VideoFrame& frame1, const VideoFrame& frame2);
43 bool EqualTextureFrames(const VideoFrame& frame1, const VideoFrame& frame2);
44 bool EqualBufferFrames(const VideoFrame& frame1, const VideoFrame& frame2);
250 bool EqualFrames(const VideoFrame& frame1, const VideoFrame& frame2) {
251 if (frame1.native_handle() != NULL || frame2.native_handle() != NULL)
252 return EqualTextureFrames(frame1, frame2);
253 return EqualBufferFrames(frame1, frame2);
256 bool EqualTextureFrames(const VideoFrame& frame1, const VideoFrame& frame2) {
257 return ((frame1.native_handle() == frame2.native_handle()) &&
258 (frame1.width() == frame2.width()) &
    [all...]
  /external/opencv3/modules/cudaoptflow/perf/
perf_optflow.cpp 57 Values<pair_string>(make_pair("gpu/opticalflow/frame0.png", "gpu/opticalflow/frame1.png")))
64 cv::Mat frame1 = readImage(GetParam().second, cv::IMREAD_GRAYSCALE); local
65 ASSERT_FALSE(frame1.empty());
68 frame1.convertTo(frame1, CV_32FC1, 1.0 / 255.0);
73 const cv::cuda::GpuMat d_frame1(frame1);
103 Combine(Values<pair_string>(make_pair("gpu/opticalflow/frame0.png", "gpu/opticalflow/frame1.png")),
122 const cv::Mat frame1 = readImage(imagePair.second, useGray ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLOR); local
123 ASSERT_FALSE(frame1.empty());
144 const cv::cuda::GpuMat d_frame1(frame1);
191 const cv::Mat frame1 = readImage(imagePair.second, cv::IMREAD_GRAYSCALE); local
233 const cv::Mat frame1 = readImage(GetParam().second, cv::IMREAD_GRAYSCALE); local
286 const cv::Mat frame1 = readImage(GetParam().second, 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) );
130 const GpuMat frame1 = _I1.getGpuMat();
133 CV_Assert( frame1.size() == frame0.size() && frame1.type() == frame0.type() );
156 frame1MemSeg.begin.ptr = const_cast<uchar*>(frame1.data);
157 frame1MemSeg.size = frame1.step * frame1.rows;
173 NCVMatrixReuse<Ncv32f> frame1Mat(frame1MemSeg, static_cast<Ncv32u>(textureAlignment), frame1.cols, frame1.rows, static_cast<Ncv32u>(frame1.step))
    [all...]
  /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,
79 frame1_.upload(frame1.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,
127 frame1_.upload(frame1.getMat())
    [all...]
  /external/compiler-rt/test/asan/TestCases/
stack-oob-frames.cc 26 NOINLINE static void Frame1(int frame, char *a, char *b) {
31 char b[4] = {0}; Frame1(frame, a, b);
46 // CHECK0: #1{{.*}}Frame1
54 // CHECK1-NEXT: #0{{.*}}Frame1
  /external/opencv3/modules/cudaoptflow/test/
test_optflow.cpp 71 cv::Mat frame1 = readImageType("opticalflow/frame1.png", CV_32FC1); local
72 ASSERT_FALSE(frame1.empty());
79 brox->calc(loadMat(frame0), loadMat(frame1), flow);
135 cv::Mat frame1 = readImageType("opticalflow/frame1.png", CV_32FC1); local
136 ASSERT_FALSE(frame1.empty());
140 cv::resize(frame1, r_frame1, cv::Size(1380,1000));
147 brox->calc(loadMat(frame0), loadMat(frame1), flow);
192 cv::Mat frame1 = readImage("opticalflow/frame1.png", useGray ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLOR) local
296 cv::Mat frame1 = readImage("opticalflow\/rubberwhale2.png", cv::IMREAD_GRAYSCALE); local
361 cv::Mat frame1 = readImage("opticalflow\/rubberwhale2.png", cv::IMREAD_GRAYSCALE); local
    [all...]
  /external/google-breakpad/src/processor/
stackwalker_amd64_unittest.cc 286 StackFrameAMD64 *frame1 = static_cast<StackFrameAMD64 *>(frames->at(1)); local
287 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust);
291 frame1->context_validity);
292 EXPECT_EQ(return_address1, frame1->context.rip);
293 EXPECT_EQ(frame1_sp.Value(), frame1->context.rsp);
294 EXPECT_EQ(frame1_rbp.Value(), frame1->context.rbp);
360 StackFrameAMD64 *frame1 = static_cast<StackFrameAMD64 *>(frames->at(1)); local
361 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust);
365 frame1->context_validity);
366 EXPECT_EQ(return_address, frame1->context.rip)
493 StackFrameAMD64 *frame1 = static_cast<StackFrameAMD64 *>(frames->at(1)); local
573 StackFrameAMD64 *frame1 = static_cast<StackFrameAMD64 *>(frames->at(1)); local
    [all...]
stackwalker_mips_unittest.cc 279 StackFrameMIPS* frame1 = static_cast<StackFrameMIPS*>(frames->at(1)); local
280 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust);
285 frame1->context_validity);
286 EXPECT_EQ(return_address1 - 2 * sizeof(return_address1), frame1->context.epc);
287 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]);
355 StackFrameMIPS* frame1 = static_cast<StackFrameMIPS*>(frames->at(1)); local
356 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust);
361 frame1->context_validity);
362 EXPECT_EQ(return_address - 2 * sizeof(return_address), frame1->context.epc);
363 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP])
426 StackFrameMIPS* frame1 = static_cast<StackFrameMIPS*>(frames->at(1)); local
603 StackFrameMIPS* frame1 = static_cast<StackFrameMIPS*>(frames->at(1)); local
    [all...]
stackwalker_x86_unittest.cc 281 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
282 EXPECT_EQ(StackFrame::FRAME_TRUST_FP, frame1->trust);
286 frame1->context_validity);
287 EXPECT_EQ(0x40008679U, frame1->instruction + 1);
288 EXPECT_EQ(0x40008679U, frame1->context.eip);
289 EXPECT_EQ(frame1_ebp.Value(), frame1->context.ebp);
290 EXPECT_EQ(NULL, frame1->windows_frame_info);
346 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
347 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust);
351 frame1->context_validity)
412 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
537 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
618 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
716 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
806 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
895 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
978 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
1061 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
1204 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
1419 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
1861 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
2003 StackFrameX86 *frame1 = static_cast<StackFrameX86 *>(frames->at(1)); local
    [all...]
stackwalker_arm64_unittest.cc 245 StackFrameARM64 *frame1 = static_cast<StackFrameARM64 *>(frames->at(1)); local
246 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust);
249 frame1->context_validity);
250 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM64_REG_PC]);
251 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM64_REG_SP]);
317 StackFrameARM64 *frame1 = static_cast<StackFrameARM64 *>(frames->at(1)); local
318 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust);
321 frame1->context_validity);
322 EXPECT_EQ(return_address, frame1->context.iregs[MD_CONTEXT_ARM64_REG_PC]);
323 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM64_REG_SP])
384 StackFrameARM64 *frame1 = static_cast<StackFrameARM64 *>(frames->at(1)); local
511 StackFrameARM64 *frame1 = static_cast<StackFrameARM64 *>(frames->at(1)); local
650 StackFrameARM64 *frame1 = static_cast<StackFrameARM64 *>(frames->at(1)); local
    [all...]
stackwalker_arm_unittest.cc 267 StackFrameARM *frame1 = static_cast<StackFrameARM *>(frames->at(1)); local
268 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust);
271 frame1->context_validity);
272 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]);
273 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]);
338 StackFrameARM *frame1 = static_cast<StackFrameARM *>(frames->at(1)); local
339 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust);
342 frame1->context_validity);
343 EXPECT_EQ(return_address, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]);
344 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP])
404 StackFrameARM *frame1 = static_cast<StackFrameARM *>(frames->at(1)); local
573 StackFrameARM *frame1 = static_cast<StackFrameARM *>(frames->at(1)); local
851 StackFrameARM *frame1 = static_cast<StackFrameARM *>(frames->at(1)); local
947 StackFrameARM *frame1 = static_cast<StackFrameARM *>(frames->at(1)); 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);
91 UMat frame1 = arrGetUMat(_frame1, ubuf_[1]); local
93 CV_Assert( frame1.type() == frame0.type() );
94 CV_Assert( frame1.size() == frame0.size() );
97 UMat input1 = convertToType(frame1, work_type_, ubuf_[4], ubuf_[5]);
126 Mat frame1 = arrGetMat(_frame1, buf_[1]); local
128 CV_Assert( frame1.type() == frame0.type() );
129 CV_Assert( frame1.size() == frame0.size() );
132 Mat input1 = convertToType(frame1, work_type_, buf_[4], buf_[5])
438 GpuMat frame1 = arrGetGpuMat(_frame1, buf_[1]); local
    [all...]
  /external/valgrind/memcheck/tests/
xml1.c 42 int frame1 ( void ) function
49 int ret = frame1() - 1;
  /external/opencv3/modules/video/test/ocl/
test_optflow_farneback.cpp 89 cv::Mat frame1 = readImage("optflow/RubberWhale2.png", cv::IMREAD_GRAYSCALE); local
90 ASSERT_FALSE(frame1.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 79 cv::Mat frame1 = readImage("optflow/RubberWhale2.png", cv::IMREAD_GRAYSCALE); local
80 ASSERT_FALSE(frame1.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));
  /external/opencv3/samples/tapi/
pyrlk_optical_flow.cpp 109 UMat frame1; local
110 imread(fname1, cv::IMREAD_GRAYSCALE).copyTo(frame1);
119 if (frame0.empty() || frame1.empty())
158 frame.copyTo(frame1);
159 cvtColor(frame1, frame1Gray, COLOR_BGR2GRAY);
179 frame1.copyTo(frameCopy);
211 calcOpticalFlowPyrLK(frame0, frame1, pts, nextPts, status, err);
tvl1_optical_flow.cpp 112 UMat frame0, frame1; local
114 imread(fname1, cv::IMREAD_GRAYSCALE).copyTo(frame1);
120 if (frame0.empty() || frame1.empty())
159 frame.copyTo(frame1);
160 cvtColor(frame1, frame1Gray, COLOR_BGR2GRAY);
176 frame1.copyTo(frameCopy);
209 alg->calc(frame0, frame1, flow);
  /external/opencv3/samples/gpu/
optical_flow.cpp 145 cerr << "Usage : " << argv[0] << " <frame0> <frame1>" << endl;
156 Mat frame1 = imread(filename2, IMREAD_GRAYSCALE); local
163 if (frame1.empty())
169 if (frame1.size() != frame0.size())
176 GpuMat d_frame1(frame1);
236 imshow("Frame 1", frame1);
  /external/webrtc/webrtc/modules/utility/source/
audio_frame_operations_unittest.cc 43 void VerifyFramesAreEqual(const AudioFrame& frame1, const AudioFrame& frame2) {
44 EXPECT_EQ(frame1.num_channels_, frame2.num_channels_);
45 EXPECT_EQ(frame1.samples_per_channel_,
48 for (size_t i = 0; i < frame1.samples_per_channel_ * frame1.num_channels_;
50 EXPECT_EQ(frame1.data_[i], frame2.data_[i]);

Completed in 797 milliseconds

1 2 3 4 5