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

Side by Side Diff: webrtc/modules/video_coding/test/tester_main.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) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 11
12 #include <stdlib.h> 12 #include <stdlib.h>
13 #include <string.h> 13 #include <string.h>
14 14
15 #include "gflags/gflags.h" 15 #include "gflags/gflags.h"
16 #include "webrtc/modules/video_coding/main/interface/video_coding.h" 16 #include "webrtc/modules/video_coding/include/video_coding.h"
17 #include "webrtc/modules/video_coding/main/test/receiver_tests.h" 17 #include "webrtc/modules/video_coding/test/receiver_tests.h"
18 #include "webrtc/test/testsupport/fileutils.h" 18 #include "webrtc/test/testsupport/fileutils.h"
19 19
20 DEFINE_string(codec, "VP8", "Codec to use (VP8 or I420)."); 20 DEFINE_string(codec, "VP8", "Codec to use (VP8 or I420).");
21 DEFINE_int32(width, 352, "Width in pixels of the frames in the input file."); 21 DEFINE_int32(width, 352, "Width in pixels of the frames in the input file.");
22 DEFINE_int32(height, 288, "Height in pixels of the frames in the input file."); 22 DEFINE_int32(height, 288, "Height in pixels of the frames in the input file.");
23 DEFINE_int32(rtt, 0, "RTT (round-trip time), in milliseconds."); 23 DEFINE_int32(rtt, 0, "RTT (round-trip time), in milliseconds.");
24 DEFINE_string(input_filename, webrtc::test::ProjectRootPath() + 24 DEFINE_string(input_filename, webrtc::test::ProjectRootPath() +
25 "/resources/foreman_cif.yuv", "Input file."); 25 "/resources/foreman_cif.yuv", "Input file.");
26 DEFINE_string(output_filename, webrtc::test::OutputPath() + 26 DEFINE_string(output_filename, webrtc::test::OutputPath() +
27 "video_coding_test_output_352x288.yuv", "Output file."); 27 "video_coding_test_output_352x288.yuv", "Output file.");
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 CmdArgs args; 67 CmdArgs args;
68 if (ParseArguments(args) != 0) { 68 if (ParseArguments(args) != 0) {
69 printf("Unable to parse input arguments\n"); 69 printf("Unable to parse input arguments\n");
70 return -1; 70 return -1;
71 } 71 }
72 72
73 printf("Running video coding tests...\n"); 73 printf("Running video coding tests...\n");
74 return RtpPlay(args); 74 return RtpPlay(args);
75 } 75 }
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/test/test_util.cc ('k') | webrtc/modules/video_coding/test/vcm_payload_sink_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698