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

Unified Diff: webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc

Issue 2706753005: Make use_single_core option configurable in VideoProcessorIntegrationTests. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | webrtc/modules/video_coding/codecs/test/plot_webrtc_test_logs.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc
diff --git a/webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc b/webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc
index f2652306074fb872bc7581589afc0fffeb485903..ffc22c438a9dfd18f166b0545451ab03f744f6c6 100644
--- a/webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc
+++ b/webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc
@@ -22,6 +22,7 @@ const bool kFrameDropperOn = true;
const bool kSpatialResizeOn = false;
const VideoCodecType kVideoCodecType[] = {kVideoCodecVP8};
const bool kHwCodec = false;
+const bool kUseSingleCore = true;
// Packet loss probability [0.0, 1.0].
const float kPacketLoss = 0.0f;
@@ -53,12 +54,12 @@ class PlotVideoProcessorIntegrationTest
rate_profile.num_frames = kNumFramesLong;
// Codec/network settings.
CodecConfigPars process_settings;
- SetCodecParameters(&process_settings, codec_type_, kHwCodec, kPacketLoss,
- -1, // key_frame_interval
- 1, // num_temporal_layers
- kErrorConcealmentOn, kDenoisingOn, kFrameDropperOn,
- kSpatialResizeOn, width, height, filename,
- kVerboseLogging);
+ SetCodecParameters(
+ &process_settings, codec_type_, kHwCodec, kUseSingleCore, kPacketLoss,
+ -1, // key_frame_interval
+ 1, // num_temporal_layers
+ kErrorConcealmentOn, kDenoisingOn, kFrameDropperOn, kSpatialResizeOn,
+ width, height, filename, kVerboseLogging);
// Metrics for expected quality (PSNR avg, PSNR min, SSIM avg, SSIM min).
QualityMetrics quality_metrics;
SetQualityMetrics(&quality_metrics, 15.0, 10.0, 0.2, 0.1);
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/test/plot_webrtc_test_logs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698