Home
last modified time | relevance | path

Searched refs:test_frame (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_geometry_aligner.cc71 const rtc::scoped_refptr<I420BufferInterface>& test_frame) { in CalculateCropRegion() argument
72 RTC_CHECK_EQ(reference_frame->width(), test_frame->width()); in CalculateCropRegion()
73 RTC_CHECK_EQ(reference_frame->height(), test_frame->height()); in CalculateCropRegion()
76 double best_ssim = Ssim(reference_frame, test_frame); in CalculateCropRegion()
95 Ssim(CropAndZoom(test_region, reference_frame), test_frame); in CalculateCropRegion()
113 Ssim(CropAndZoom(test_region, reference_frame), test_frame); in CalculateCropRegion()
127 const rtc::scoped_refptr<I420BufferInterface>& test_frame) { in AdjustCropping() argument
128 return CropAndZoom(CalculateCropRegion(reference_frame, test_frame), in AdjustCropping()
Dvideo_temporal_aligner.cc155 size_t FindBestMatch(const rtc::scoped_refptr<I420BufferInterface>& test_frame, in FindBestMatch() argument
159 ssim.push_back(Ssim(test_frame, ref_frame)); in FindBestMatch()
167 size_t FindNextMatch(const rtc::scoped_refptr<I420BufferInterface>& test_frame, in FindNextMatch() argument
171 Ssim(test_frame, reference_video.GetFrame(start_index)); in FindNextMatch()
175 if (start_ssim < Ssim(test_frame, reference_video.GetFrame(next_index))) in FindNextMatch()
176 return FindNextMatch(test_frame, reference_video, next_index); in FindNextMatch()
203 for (const rtc::scoped_refptr<I420BufferInterface>& test_frame : in FindMatchingFrameIndices()
208 FindBestMatch(test_frame, *cached_downscaled_reference_video)); in FindMatchingFrameIndices()
211 test_frame, *looping_reference_video, match_indices.back())); in FindMatchingFrameIndices()
Dvideo_geometry_aligner.h39 const rtc::scoped_refptr<I420BufferInterface>& test_frame);
46 const rtc::scoped_refptr<I420BufferInterface>& test_frame);
Dvideo_color_aligner_unittest.cc57 const rtc::scoped_refptr<I420BufferInterface> test_frame = in TEST_F() local
62 Ssim(test_frame, AdjustColors(kIdentityColorMatrix, test_frame))); in TEST_F()
Dvideo_quality_analysis.cc63 const rtc::scoped_refptr<I420BufferInterface>& test_frame = in RunAnalysis() local
71 result.psnr_value = Psnr(reference_frame, test_frame); in RunAnalysis()
72 result.ssim_value = Ssim(reference_frame, test_frame); in RunAnalysis()
Dvideo_color_aligner.h36 const rtc::scoped_refptr<I420BufferInterface>& test_frame);
Dvideo_color_aligner.cc132 const rtc::scoped_refptr<I420BufferInterface>& test_frame) { in CalculateColorTransformationMatrix() argument
134 incremental_lls.AddObservations(FlattenYuvData(test_frame), in CalculateColorTransformationMatrix()
/external/webrtc/audio/
Dremix_resample_unittest.cc111 void VerifyParams(const AudioFrame& ref_frame, const AudioFrame& test_frame) { in VerifyParams() argument
112 EXPECT_EQ(ref_frame.num_channels_, test_frame.num_channels_); in VerifyParams()
113 EXPECT_EQ(ref_frame.samples_per_channel_, test_frame.samples_per_channel_); in VerifyParams()
114 EXPECT_EQ(ref_frame.sample_rate_hz_, test_frame.sample_rate_hz_); in VerifyParams()
121 const AudioFrame& test_frame, in ComputeSNR() argument
123 VerifyParams(ref_frame, test_frame); in ComputeSNR()
130 const int16_t* test_frame_data = test_frame.data(); in ComputeSNR()
151 const AudioFrame& test_frame) { in VerifyFramesAreEqual() argument
152 VerifyParams(ref_frame, test_frame); in VerifyFramesAreEqual()
154 const int16_t* test_frame_data = test_frame.data(); in VerifyFramesAreEqual()
/external/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc219 double I420APSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame) { in I420APSNR() argument
220 if (!ref_frame || !test_frame) in I420APSNR()
224 RTC_DCHECK(test_frame->video_frame_buffer()->type() == in I420APSNR()
227 *test_frame->video_frame_buffer()->GetI420A()); in I420APSNR()
254 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame) { in I420PSNR() argument
255 if (!ref_frame || !test_frame) in I420PSNR()
258 *test_frame->video_frame_buffer()->ToI420()); in I420PSNR()
324 double I420ASSIM(const VideoFrame* ref_frame, const VideoFrame* test_frame) { in I420ASSIM() argument
325 if (!ref_frame || !test_frame) in I420ASSIM()
329 RTC_DCHECK(test_frame->video_frame_buffer()->type() == in I420ASSIM()
[all …]
/external/webrtc/video/
Dvideo_receive_stream2_unittest.cc318 std::unique_ptr<test::FakeEncodedFrame> test_frame = in TEST_P() local
320 test_frame->SetPlayoutDelay(kPlayoutDelayMs); in TEST_P()
322 video_receive_stream_->OnCompleteFrame(std::move(test_frame)); in TEST_P()
355 std::unique_ptr<test::FakeEncodedFrame> test_frame = in TEST_P() local
357 test_frame->SetPlayoutDelay(kPlayoutDelayMs); in TEST_P()
359 video_receive_stream_->OnCompleteFrame(std::move(test_frame)); in TEST_P()
373 std::unique_ptr<test::FakeEncodedFrame> test_frame = in TEST_P() local
375 test_frame->SetPlayoutDelay(kPlayoutDelayMs); in TEST_P()
377 video_receive_stream_->OnCompleteFrame(std::move(test_frame)); in TEST_P()
511 std::unique_ptr<test::FakeEncodedFrame> test_frame = in TEST_P() local
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_debugger.py162 test_frame = MockFrame(test_code, 1)
163 self.debugger.frame = test_frame
217 test_frame = MockFrame(None, None)
218 self.debugger.frame = test_frame
227 self.idb.get_stack.assert_called_once_with(test_frame, None)
/external/webrtc/common_video/libyuv/include/
Dwebrtc_libyuv.h92 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame);
110 double I420SSIM(const VideoFrame* ref_frame, const VideoFrame* test_frame);
/external/perfetto/src/traced_relay/
Drelay_service_unittest.cc95 ipc::Frame test_frame; in TEST() local
96 test_frame.add_data_for_testing("test_data"); in TEST()
97 auto test_data = ipc::BufferedFrameDeserializer::Serialize(test_frame); in TEST()
/external/webrtc/modules/video_coding/
Dframe_buffer2_unittest.cc288 std::unique_ptr<FrameObjectFake> test_frame(new FrameObjectFake()); in TEST_F() local
289 test_frame->SetId(0); in TEST_F()
290 test_frame->SetPlayoutDelay(kPlayoutDelayMs); in TEST_F()
291 buffer_->InsertFrame(std::move(test_frame)); in TEST_F()
/external/python/jinja/src/jinja2/
Dcompiler.py996 test_frame = frame.inner()
1016 test_frame.symbols.analyze_node(node, for_branch="test")
1019 self.enter_frame(test_frame)
1027 self.visit(node.test, test_frame)
1033 self.leave_frame(test_frame, with_python_scope=True)
/external/libchrome/third_party/jinja2/
Dcompiler.py1026 test_frame = frame.inner()
1046 test_frame.symbols.analyze_node(node, for_branch='test')
1049 self.enter_frame(test_frame)
1057 self.visit(node.test, test_frame)
1063 self.leave_frame(test_frame, with_python_scope=True)
/external/python/cpython3/Lib/test/
Dtest_traceback.py37 test_frame = namedtuple('frame', ['f_code', 'f_globals', 'f_locals']) variable
3200 f = test_frame(c, None, None)
3208 f = test_frame(c, None, None)
3239 f = test_frame(c, globals(), {'something': 1})
3246 f = test_frame(c, globals(), {'something': 1})
3639 f = test_frame(c, None, None)
3650 …f = test_frame(c, globals(), {'something': 1, 'other': 'string', 'unrepresentable': Unrepresentabl…
3662 f = test_frame(c, globals(), {'something': 1})
Dtest_gc.py306 def test_frame(self): member in GCTests
/external/python/cpython3/Lib/test/test_tkinter/
Dtest_widgets.py1506 def test_frame(self): member in DefaultRootTest
/external/python/cpython3/Lib/test/test_ttk/
Dtest_widgets.py1964 def test_frame(self): member in DefaultRootTest
/external/python/cpython3/Lib/test/test_inspect/
Dtest_inspect.py527 def test_frame(self): member in TestInterpreterStack