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

Unified Diff: remoting/codec/codec_test.h

Issue 1150163002: Update VideoFramePump to pass un-changed frames to encoders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add basic tests for unchanged frames Created 5 years, 6 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 | remoting/codec/codec_test.cc » ('j') | remoting/codec/codec_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/codec_test.h
diff --git a/remoting/codec/codec_test.h b/remoting/codec/codec_test.h
index 9c9ec7bf83b20c5d8ab2c9e500964f7f1e9b7962..3f75759ef32aebcdb1cbf5cc4eae8a485b523182 100644
--- a/remoting/codec/codec_test.h
+++ b/remoting/codec/codec_test.h
@@ -26,6 +26,12 @@ class VideoEncoder;
// rects match dirty rects.
void TestVideoEncoder(VideoEncoder* encoder, bool strict);
+// Generate test data and test the encoder for a sequence of one "changed"
+// frame followed by one or more "unchanged" frames, and verify that the
+// encoder sends up to |max_topoff_frames| of non-empty data for unchanged
+// frames, but eventually returns no data.
+void TestVideoEncoderEmptyFrames(VideoEncoder* encoder, int max_topoff_frames);
+
// Generate test data and test the encoder and decoder pair.
//
// If |strict| is set to true, this routine will make sure the updated rects
« no previous file with comments | « no previous file | remoting/codec/codec_test.cc » ('j') | remoting/codec/codec_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698