Home
last modified time | relevance | path

Searched refs:test_video (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/rtc_tools/psnr_ssim_analyzer/
Dpsnr_ssim_analyzer.cc40 const rtc::scoped_refptr<webrtc::test::Video>& test_video, in CompareFiles() argument
45 test_video->number_of_frames()); in CompareFiles()
50 test_video->GetFrame(i); in CompareFiles()
88 rtc::scoped_refptr<webrtc::test::Video> test_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()
101 test_video->width(), test_video->height()); in main()
105 CompareFiles(reference_video, test_video, in main()
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_temporal_aligner_unittest.cc57 rtc::scoped_refptr<Video> test_video = ReorderVideo(reference_video, indices); in TEST_F() local
60 FindMatchingFrameIndices(reference_video, test_video); in TEST_F()
71 rtc::scoped_refptr<Video> test_video = ReorderVideo(reference_video, indices); in TEST_F() local
74 FindMatchingFrameIndices(reference_video, test_video); in TEST_F()
96 rtc::scoped_refptr<Video> test_video = ReorderVideo(reference_video, indices); in TEST_F() local
99 FindMatchingFrameIndices(reference_video, test_video); in TEST_F()
116 rtc::scoped_refptr<Video> test_video = ReorderVideo(reference_video, indices); in TEST_F() local
119 GenerateAlignedReferenceVideo(reference_video, test_video); in TEST_F()
122 for (size_t i = 0; i < test_video->number_of_frames(); ++i) { in TEST_F()
123 EXPECT_EQ(1.0, Ssim(test_video->GetFrame(i), in TEST_F()
Dvideo_geometry_aligner.cc134 const rtc::scoped_refptr<Video>& test_video) { in AdjustCropping() argument
138 const rtc::scoped_refptr<Video>& test_video) in AdjustCropping() argument
139 : reference_video_(reference_video), test_video_(test_video) { in AdjustCropping()
141 test_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()
Dframe_analyzer.cc112 rtc::scoped_refptr<webrtc::test::Video> test_video = in main() local
115 if (!reference_video || !test_video) { in main()
121 webrtc::test::FindMatchingFrameIndices(reference_video, test_video); in main()
128 test_video); in main()
133 CalculateColorTransformationMatrix(aligned_reference_video, test_video); in main()
148 AdjustColors(color_transformation, test_video); in main()
Dvideo_temporal_aligner.h32 const rtc::scoped_refptr<Video>& test_video);
51 const rtc::scoped_refptr<Video>& test_video);
Dvideo_temporal_aligner.cc186 const rtc::scoped_refptr<Video>& test_video) { in FindMatchingFrameIndices() argument
195 new DownscaledVideo(kScaleFactor, test_video); in FindMatchingFrameIndices()
224 const rtc::scoped_refptr<Video>& test_video) { in GenerateAlignedReferenceVideo() argument
226 reference_video, FindMatchingFrameIndices(reference_video, test_video)); in GenerateAlignedReferenceVideo()
Dvideo_quality_analysis.cc58 const rtc::scoped_refptr<webrtc::test::Video>& test_video, in RunAnalysis() argument
61 for (size_t i = 0; i < test_video->number_of_frames(); ++i) { in RunAnalysis()
63 test_video->GetFrame(i); in RunAnalysis()
Dvideo_color_aligner.cc141 const rtc::scoped_refptr<Video>& test_video) { in CalculateColorTransformationMatrix() argument
143 test_video->number_of_frames()); in CalculateColorTransformationMatrix()
146 for (size_t i = 0; i < test_video->number_of_frames(); ++i) { in CalculateColorTransformationMatrix()
148 FlattenYuvData(test_video->GetFrame(i)), in CalculateColorTransformationMatrix()
Dvideo_color_aligner.h31 const rtc::scoped_refptr<Video>& test_video);
Dvideo_geometry_aligner.h52 const rtc::scoped_refptr<Video>& test_video);
Dvideo_quality_analysis.h56 const rtc::scoped_refptr<webrtc::test::Video>& test_video,
/external/libaom/libaom/test/
Dencode_perf_test.cc126 for (const EncodePerfTestVideo &test_video : kAV1EncodePerfTestVectors) { in TEST_P() local
129 if (test_video.width < 512 && threads > 1) in TEST_P()
131 else if (test_video.width < 1024 && threads > 2) in TEST_P()
139 cfg_.rc_target_bitrate = test_video.bitrate; in TEST_P()
143 const unsigned frames = test_video.frames; in TEST_P()
144 const char *video_name = test_video.name; in TEST_P()
145 libaom_test::I420VideoSource video(video_name, test_video.width, in TEST_P()
146 test_video.height, timebase.den, in TEST_P()
147 timebase.num, 0, test_video.frames); in TEST_P()
/external/webrtc/rtc_tools/
Dcompare_videos.py64 if not options.test_video:
66 if not os.path.exists(options.test_video):
67 parser.error('Cannot find the test video at %s' % options.test_video)
94 '--test_file=%s' % options.test_video,