Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: webrtc/tools/frame_analyzer/video_quality_analysis.h

Issue 2553693002: Comparison of videos with reference frame not starting from zero (Closed)
Patch Set: Updated based on review comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/tools/frame_analyzer/video_quality_analysis.h
diff --git a/webrtc/tools/frame_analyzer/video_quality_analysis.h b/webrtc/tools/frame_analyzer/video_quality_analysis.h
index 475b2fa197d39d0a0aca2af7dbc0595402dfab3f..1e2a82c311d0501c73250431efc6b4f52e5e7d6e 100644
--- a/webrtc/tools/frame_analyzer/video_quality_analysis.h
+++ b/webrtc/tools/frame_analyzer/video_quality_analysis.h
@@ -53,8 +53,12 @@ enum VideoAnalysisMetricsType {kPSNR, kSSIM};
// tools/barcode_tools/barcode_decoder.py. This script decodes the barcodes
// integrated in every video and generates the stats file. If three was some
// problem with the decoding there would be 'Barcode error' instead of yyyy.
-void RunAnalysis(const char* reference_file_name, const char* test_file_name,
- const char* stats_file_name, int width, int height,
+void RunAnalysis(const char* reference_file_name,
+ const char* test_file_name,
+ const char* stats_file_reference_name,
+ const char* stats_file_test_name,
+ int width,
+ int height,
ResultsContainer* results);
// Compute PSNR or SSIM for an I420 frame (all planes). When we are calculating
@@ -79,11 +83,14 @@ void PrintAnalysisResults(FILE* output, const std::string& label,
// Calculates max repeated and skipped frames and prints them to stdout in a
// format that is compatible with Chromium performance numbers.
void PrintMaxRepeatedAndSkippedFrames(const std::string& label,
- const std::string& stats_file_name);
+ const std::string& stats_file_ref_name,
+ const std::string& stats_file_test_name);
// Similar to the above, but will print to the specified file handle.
-void PrintMaxRepeatedAndSkippedFrames(FILE* output, const std::string& label,
- const std::string& stats_file_name);
+void PrintMaxRepeatedAndSkippedFrames(FILE* output,
+ const std::string& label,
+ const std::string& stats_file_ref_name,
+ const std::string& stats_file_test_name);
// Gets the next line from an open stats file.
bool GetNextStatsLine(FILE* stats_file, char* line);

Powered by Google App Engine
This is Rietveld 408576698