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

Side by Side Diff: webrtc/video/video_loopback.cc

Issue 2891803003: Add vp9 QP parser. (Closed)
Patch Set: Fix compile warnings. Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 "Suspends video below the configured min bitrate."); 60 "Suspends video below the configured min bitrate.");
61 61
62 DEFINE_int32(num_temporal_layers, 62 DEFINE_int32(num_temporal_layers,
63 1, 63 1,
64 "Number of temporal layers. Set to 1-4 to override."); 64 "Number of temporal layers. Set to 1-4 to override.");
65 int NumTemporalLayers() { 65 int NumTemporalLayers() {
66 return static_cast<int>(FLAGS_num_temporal_layers); 66 return static_cast<int>(FLAGS_num_temporal_layers);
67 } 67 }
68 68
69 // Flags common with screenshare loopback, with equal default values. 69 // Flags common with screenshare loopback, with equal default values.
70 DEFINE_string(codec, "VP8", "Video codec to use."); 70 DEFINE_string(codec, "VP9", "Video codec to use.");
brandtr 2017/05/19 14:10:27 Is this an intentional change?
jianj1 2017/05/19 21:20:57 Done. It's just for test purpose. I forgot to cha
71 std::string Codec() { 71 std::string Codec() {
72 return static_cast<std::string>(FLAGS_codec); 72 return static_cast<std::string>(FLAGS_codec);
73 } 73 }
74 74
75 DEFINE_int32(selected_tl, 75 DEFINE_int32(selected_tl,
76 -1, 76 -1,
77 "Temporal layer to show or analyze. -1 to disable filtering."); 77 "Temporal layer to show or analyze. -1 to disable filtering.");
78 int SelectedTL() { 78 int SelectedTL() {
79 return static_cast<int>(FLAGS_selected_tl); 79 return static_cast<int>(FLAGS_selected_tl);
80 } 80 }
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 } // namespace webrtc 288 } // namespace webrtc
289 289
290 int main(int argc, char* argv[]) { 290 int main(int argc, char* argv[]) {
291 ::testing::InitGoogleTest(&argc, argv); 291 ::testing::InitGoogleTest(&argc, argv);
292 google::ParseCommandLineFlags(&argc, &argv, true); 292 google::ParseCommandLineFlags(&argc, &argv, true);
293 webrtc::test::InitFieldTrialsFromString( 293 webrtc::test::InitFieldTrialsFromString(
294 webrtc::flags::FLAGS_force_fieldtrials); 294 webrtc::flags::FLAGS_force_fieldtrials);
295 webrtc::test::RunTest(webrtc::Loopback); 295 webrtc::test::RunTest(webrtc::Loopback);
296 return 0; 296 return 0;
297 } 297 }
OLDNEW
« webrtc/sdk/android/src/jni/DEPS ('K') | « webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698