/external/webrtc/webrtc/common_video/libyuv/ |
D | webrtc_libyuv.cc | 295 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame) { in I420PSNR() argument 296 if (!ref_frame || !test_frame) in I420PSNR() 298 else if ((ref_frame->width() != test_frame->width()) || in I420PSNR() 299 (ref_frame->height() != test_frame->height())) in I420PSNR() 310 test_frame->buffer(kYPlane), in I420PSNR() 311 test_frame->stride(kYPlane), in I420PSNR() 312 test_frame->buffer(kUPlane), in I420PSNR() 313 test_frame->stride(kUPlane), in I420PSNR() 314 test_frame->buffer(kVPlane), in I420PSNR() 315 test_frame->stride(kVPlane), in I420PSNR() [all …]
|
/external/webrtc/webrtc/voice_engine/ |
D | utility_unittest.cc | 82 void VerifyParams(const AudioFrame& ref_frame, const AudioFrame& test_frame) { in VerifyParams() argument 83 EXPECT_EQ(ref_frame.num_channels_, test_frame.num_channels_); in VerifyParams() 84 EXPECT_EQ(ref_frame.samples_per_channel_, test_frame.samples_per_channel_); in VerifyParams() 85 EXPECT_EQ(ref_frame.sample_rate_hz_, test_frame.sample_rate_hz_); in VerifyParams() 91 float ComputeSNR(const AudioFrame& ref_frame, const AudioFrame& test_frame, in ComputeSNR() argument 93 VerifyParams(ref_frame, test_frame); in ComputeSNR() 101 int error = ref_frame.data_[i] - test_frame.data_[i + delay]; in ComputeSNR() 118 const AudioFrame& test_frame) { in VerifyFramesAreEqual() argument 119 VerifyParams(ref_frame, test_frame); in VerifyFramesAreEqual() 122 EXPECT_EQ(ref_frame.data_[i], test_frame.data_[i]); in VerifyFramesAreEqual()
|
/external/webrtc/webrtc/test/testsupport/metrics/ |
D | video_metrics.cc | 113 VideoFrame test_frame; in CalculateMetrics() local 120 test_frame.CreateEmptyFrame(width, height, width, half_width, half_width); in CalculateMetrics() 129 kVideoRotation_0, &test_frame); in CalculateMetrics() 132 CalculateFrame(kPSNR, &ref_frame, &test_frame, frame_number, in CalculateMetrics() 136 CalculateFrame(kSSIM, &ref_frame, &test_frame, frame_number, in CalculateMetrics() 140 CalculateFrame(kPSNR, &ref_frame, &test_frame, frame_number, in CalculateMetrics() 142 CalculateFrame(kSSIM, &ref_frame, &test_frame, frame_number, in CalculateMetrics()
|
/external/webrtc/webrtc/tools/psnr_ssim_analyzer/ |
D | psnr_ssim_analyzer.cc | 37 uint8_t* test_frame = new uint8_t[size]; in CompareFiles() local 48 height, frame_counter, test_frame); in CompareFiles() 55 webrtc::test::kPSNR, ref_frame, test_frame, width, height); in CompareFiles() 57 webrtc::test::kSSIM, ref_frame, test_frame, width, height); in CompareFiles() 61 delete[] test_frame; in CompareFiles()
|
/external/webrtc/webrtc/tools/frame_analyzer/ |
D | video_quality_analysis.cc | 180 const uint8_t* test_frame, in CalculateMetrics() argument 183 if (!ref_frame || !test_frame) in CalculateMetrics() 192 const uint8_t* src_y_b = test_frame; in CalculateMetrics() 241 uint8_t* test_frame = new uint8_t[size]; in RunAnalysis() local 261 test_frame); in RunAnalysis() 271 double result_psnr = CalculateMetrics(kPSNR, reference_frame, test_frame, in RunAnalysis() 273 double result_ssim = CalculateMetrics(kSSIM, reference_frame, test_frame, in RunAnalysis() 289 delete[] test_frame; in RunAnalysis()
|
D | video_quality_analysis.h | 66 const uint8_t* test_frame,
|
/external/webrtc/talk/app/webrtc/ |
D | remotevideocapturer_unittest.cc | 127 cricket::WebRtcVideoFrame test_frame; in TEST_F() local 128 capturer_.SignalVideoFrame(&capturer_, &test_frame); in TEST_F() 130 capturer_.SignalVideoFrame(&capturer_, &test_frame); in TEST_F()
|
D | videosource_unittest.cc | 226 cricket::WebRtcVideoFrame test_frame; in TEST_F() local 228 frameinput->RenderFrame(&test_frame); in TEST_F()
|
/external/webrtc/webrtc/common_video/libyuv/include/ |
D | webrtc_libyuv.h | 152 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame); 154 double I420SSIM(const VideoFrame* ref_frame, const VideoFrame* test_frame);
|
/external/python/cpython3/Lib/test/ |
D | test_traceback.py | 18 test_frame = namedtuple('frame', ['f_code', 'f_globals', 'f_locals']) variable 934 f = test_frame(c, None, None) 942 f = test_frame(c, None, None) 973 f = test_frame(c, globals(), {'something': 1}) 980 f = test_frame(c, globals(), {'something': 1}) 1119 f = test_frame(c, None, None) 1130 f = test_frame(c, globals(), {'something': 1, 'other': 'string'}) 1141 f = test_frame(c, globals(), {'something': 1})
|
D | test_gc.py | 214 def test_frame(self): member in GCTests
|
D | test_inspect.py | 320 def test_frame(self): member in TestInterpreterStack
|
/external/libchrome/third_party/jinja2/ |
D | compiler.py | 1026 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/cpython2/Lib/test/ |
D | test_gc.py | 186 def test_frame(self): member in GCTests
|
D | test_inspect.py | 183 def test_frame(self): member in TestInterpreterStack
|