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

Side by Side Diff: webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc

Issue 1417283007: modules/video_coding refactorings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix the other copy of the mock include header Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <assert.h> 11 #include <assert.h>
12 #include <stdio.h> 12 #include <stdio.h>
13 #include <time.h> 13 #include <time.h>
14 14
15 #include <stdarg.h> 15 #include <stdarg.h>
16 #include <sys/stat.h> // To check for directory existence. 16 #include <sys/stat.h> // To check for directory existence.
17 17
18 #ifndef S_ISDIR // Not defined in stat.h on Windows. 18 #ifndef S_ISDIR // Not defined in stat.h on Windows.
19 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) 19 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
20 #endif 20 #endif
21 21
22 #include "gflags/gflags.h" 22 #include "gflags/gflags.h"
23 #include "webrtc/base/format_macros.h" 23 #include "webrtc/base/format_macros.h"
24 #include "webrtc/common_types.h" 24 #include "webrtc/common_types.h"
25 #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" 25 #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h"
26 #include "webrtc/modules/video_coding/codecs/test/stats.h" 26 #include "webrtc/modules/video_coding/codecs/test/stats.h"
27 #include "webrtc/modules/video_coding/codecs/test/videoprocessor.h" 27 #include "webrtc/modules/video_coding/codecs/test/videoprocessor.h"
28 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" 28 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h"
29 #include "webrtc/modules/video_coding/main/interface/video_coding.h" 29 #include "webrtc/modules/video_coding/include/video_coding.h"
30 #include "webrtc/system_wrappers/include/trace.h" 30 #include "webrtc/system_wrappers/include/trace.h"
31 #include "webrtc/test/testsupport/frame_reader.h" 31 #include "webrtc/test/testsupport/frame_reader.h"
32 #include "webrtc/test/testsupport/frame_writer.h" 32 #include "webrtc/test/testsupport/frame_writer.h"
33 #include "webrtc/test/testsupport/metrics/video_metrics.h" 33 #include "webrtc/test/testsupport/metrics/video_metrics.h"
34 #include "webrtc/test/testsupport/packet_reader.h" 34 #include "webrtc/test/testsupport/packet_reader.h"
35 35
36 DEFINE_string(test_name, "Quality test", "The name of the test to run. "); 36 DEFINE_string(test_name, "Quality test", "The name of the test to run. ");
37 DEFINE_string(test_description, "", "A more detailed description about what " 37 DEFINE_string(test_description, "", "A more detailed description about what "
38 "the current test is about."); 38 "the current test is about.");
39 DEFINE_string(input_filename, "", "Input file. " 39 DEFINE_string(input_filename, "", "Input file. "
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 } 519 }
520 if (FLAGS_python) { 520 if (FLAGS_python) {
521 PrintPythonOutput(config, stats, ssim_result, psnr_result); 521 PrintPythonOutput(config, stats, ssim_result, psnr_result);
522 } 522 }
523 delete processor; 523 delete processor;
524 delete encoder; 524 delete encoder;
525 delete decoder; 525 delete decoder;
526 Log("Quality test finished!"); 526 Log("Quality test finished!");
527 return 0; 527 return 0;
528 } 528 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698