| 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);
|
|
|