Home
last modified time | relevance | path

Searched refs:reference_video (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_temporal_aligner_unittest.cc26 reference_video = in SetUp()
28 ASSERT_TRUE(reference_video); in SetUp()
31 rtc::scoped_refptr<Video> reference_video; member in webrtc::test::VideoTemporalAlignerTest
36 ReorderVideo(reference_video, std::vector<size_t>()); in TEST_F()
39 FindMatchingFrameIndices(reference_video, empty_test_video); in TEST_F()
46 FindMatchingFrameIndices(reference_video, reference_video); in TEST_F()
48 EXPECT_EQ(indices.size(), reference_video->number_of_frames()); in TEST_F()
57 rtc::scoped_refptr<Video> test_video = ReorderVideo(reference_video, indices); in TEST_F()
60 FindMatchingFrameIndices(reference_video, test_video); in TEST_F()
67 for (size_t i = 0; i < reference_video->number_of_frames() * 2; ++i) in TEST_F()
[all …]
Dvideo_temporal_aligner.cc156 const Video& reference_video) { in FindBestMatch() argument
158 for (const auto& ref_frame : reference_video) in FindBestMatch()
168 const Video& reference_video, 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()
185 const rtc::scoped_refptr<Video>& reference_video, in FindMatchingFrameIndices() argument
193 new DownscaledVideo(kScaleFactor, reference_video)); in FindMatchingFrameIndices()
223 const rtc::scoped_refptr<Video>& reference_video, in GenerateAlignedReferenceVideo() argument
226 reference_video, FindMatchingFrameIndices(reference_video, test_video)); in GenerateAlignedReferenceVideo()
[all …]
Dvideo_geometry_aligner.cc133 const rtc::scoped_refptr<Video>& reference_video, in AdjustCropping() argument
137 CroppedVideo(const rtc::scoped_refptr<Video>& reference_video, in AdjustCropping() argument
139 : reference_video_(reference_video), test_video_(test_video) { in AdjustCropping()
140 RTC_CHECK_EQ(reference_video->number_of_frames(), in AdjustCropping()
142 RTC_CHECK_EQ(reference_video->width(), test_video->width()); in AdjustCropping()
143 RTC_CHECK_EQ(reference_video->height(), test_video->height()); in AdjustCropping()
174 return new CroppedVideo(reference_video, test_video); in AdjustCropping()
Dvideo_temporal_aligner.h31 const rtc::scoped_refptr<Video>& reference_video,
50 const rtc::scoped_refptr<Video>& reference_video,
55 const rtc::scoped_refptr<Video>& reference_video,
Dframe_analyzer.cc110 rtc::scoped_refptr<webrtc::test::Video> reference_video = in main() local
115 if (!reference_video || !test_video) { in main()
121 webrtc::test::FindMatchingFrameIndices(reference_video, test_video); in main()
127 AdjustCropping(ReorderVideo(reference_video, matching_indices), in main()
Dvideo_quality_analysis.cc57 const rtc::scoped_refptr<webrtc::test::Video>& reference_video, in RunAnalysis() argument
65 reference_video->GetFrame(i); in RunAnalysis()
Dvideo_color_aligner.cc140 const rtc::scoped_refptr<Video>& reference_video, in CalculateColorTransformationMatrix() argument
142 RTC_CHECK_GE(reference_video->number_of_frames(), in CalculateColorTransformationMatrix()
149 FlattenYuvData(reference_video->GetFrame(i))); in CalculateColorTransformationMatrix()
Dvideo_color_aligner.h30 const rtc::scoped_refptr<Video>& reference_video,
Dvideo_geometry_aligner.h51 const rtc::scoped_refptr<Video>& reference_video,
Dvideo_quality_analysis.h55 const rtc::scoped_refptr<webrtc::test::Video>& reference_video,
/external/webrtc/rtc_tools/psnr_ssim_analyzer/
Dpsnr_ssim_analyzer.cc39 const rtc::scoped_refptr<webrtc::test::Video>& reference_video, in CompareFiles() argument
44 const size_t num_frames = std::min(reference_video->number_of_frames(), in CompareFiles()
48 reference_video->GetFrame(i); in CompareFiles()
86 rtc::scoped_refptr<webrtc::test::Video> reference_video = in main() local
91 if (!reference_video || !test_video) { in main()
95 if (reference_video->width() != test_video->width() || in main()
96 reference_video->height() != test_video->height()) { in main()
100 reference_video->width(), reference_video->height(), in main()
105 CompareFiles(reference_video, test_video, in main()