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

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

Issue 2707023008: Step #2: Add batch mode to VideoProcessor integration tests. (Closed)
Patch Set: asapersson comments 2. Created 3 years, 9 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/videoprocessor.h » ('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 668867010a54aed804d9f304ba0dab7b3ecce2d2..d11398b91146b680f898ea203c2353a4fddf0766 100644
--- a/webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc
+++ b/webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc
@@ -25,6 +25,9 @@ const VideoCodecType kVideoCodecType[] = {kVideoCodecVP8};
const bool kHwCodec = false;
const bool kUseSingleCore = true;
+// Test settings.
+const bool kBatchMode = true;
+
// Packet loss probability [0.0, 1.0].
const float kPacketLoss = 0.0f;
@@ -61,12 +64,12 @@ class PlotVideoProcessorIntegrationTest
rate_profile.num_frames = kNumFramesLong;
// Codec/network settings.
CodecParams process_settings;
- SetCodecParams(&process_settings, codec_type_, kHwCodec, kUseSingleCore,
- kPacketLoss,
- -1, // key_frame_interval
- 1, // num_temporal_layers
- kErrorConcealmentOn, kDenoisingOn, kFrameDropperOn,
- kSpatialResizeOn, width, height, filename, kVerboseLogging);
+ SetCodecParams(
+ &process_settings, codec_type_, kHwCodec, kUseSingleCore, kPacketLoss,
+ -1, // key_frame_interval
+ 1, // num_temporal_layers
+ kErrorConcealmentOn, kDenoisingOn, kFrameDropperOn, kSpatialResizeOn,
+ width, height, filename, kVerboseLogging, kBatchMode);
// Thresholds for expected quality (PSNR avg, PSNR min, SSIM avg, SSIM min).
QualityThresholds quality_thresholds;
SetQualityThresholds(&quality_thresholds, 15.0, 10.0, 0.2, 0.1);
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/test/videoprocessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698