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

Unified Diff: webrtc/modules/video_coding/test/tester_main.cc

Issue 1882733006: Delete I420 encoder and decoder. Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Delete i420 directory from PRESUBMIT.py. Created 4 years, 8 months 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
« no previous file with comments | « webrtc/modules/video_coding/test/test_util.cc ('k') | webrtc/modules/video_coding/video_coding.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/test/tester_main.cc
diff --git a/webrtc/modules/video_coding/test/tester_main.cc b/webrtc/modules/video_coding/test/tester_main.cc
index 1aa2780f0f19e091cacebd4bcc06311666957ac5..a925a8919af18403a9fe321d276d5a58a4d85d51 100644
--- a/webrtc/modules/video_coding/test/tester_main.cc
+++ b/webrtc/modules/video_coding/test/tester_main.cc
@@ -16,10 +16,6 @@
#include "webrtc/modules/video_coding/test/receiver_tests.h"
#include "webrtc/test/testsupport/fileutils.h"
-DEFINE_string(codec, "VP8", "Codec to use (VP8 or I420).");
-DEFINE_int32(width, 352, "Width in pixels of the frames in the input file.");
-DEFINE_int32(height, 288, "Height in pixels of the frames in the input file.");
-DEFINE_int32(rtt, 0, "RTT (round-trip time), in milliseconds.");
DEFINE_string(input_filename,
webrtc::test::ResourcePath("foreman_cif", "yuv"),
"Input file.");
@@ -39,25 +35,9 @@ int vcmMacrosTests = 0;
int vcmMacrosErrors = 0;
int ParseArguments(CmdArgs* args) {
- args->width = FLAGS_width;
- args->height = FLAGS_height;
- if (args->width < 1 || args->height < 1) {
- return -1;
- }
- args->codecName = FLAGS_codec;
- if (args->codecName == "VP8") {
- args->codecType = kVideoCodecVP8;
- } else if (args->codecName == "VP9") {
- args->codecType = kVideoCodecVP9;
- } else if (args->codecName == "I420") {
- args->codecType = kVideoCodecI420;
- } else {
- printf("Invalid codec: %s\n", args->codecName.c_str());
- return -1;
- }
args->inputFile = FLAGS_input_filename;
args->outputFile = FLAGS_output_filename;
- args->rtt = FLAGS_rtt;
+
return 0;
}
} // namespace webrtc
« no previous file with comments | « webrtc/modules/video_coding/test/test_util.cc ('k') | webrtc/modules/video_coding/video_coding.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698