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

Unified Diff: webrtc/modules/video_coding/codecs/test/videoprocessor.h

Issue 2707023008: Step #2: Add batch mode to VideoProcessor integration tests. (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
Index: webrtc/modules/video_coding/codecs/test/videoprocessor.h
diff --git a/webrtc/modules/video_coding/codecs/test/videoprocessor.h b/webrtc/modules/video_coding/codecs/test/videoprocessor.h
index 90e29905a7f2b0ce016f2124f59514c622536c2d..b4d866ec9941804c5e84ca26ef1d203af7d3d81f 100644
--- a/webrtc/modules/video_coding/codecs/test/videoprocessor.h
+++ b/webrtc/modules/video_coding/codecs/test/videoprocessor.h
@@ -148,10 +148,10 @@ class VideoProcessor {
// Return the size of the encoded frame in bytes. Dropped frames by the
// encoder are regarded as zero size.
- virtual size_t EncodedFrameSize() = 0;
+ virtual size_t EncodedFrameSize(int frame_number) = 0;
// Return the encoded frame type (key or delta).
- virtual FrameType EncodedFrameType() = 0;
+ virtual FrameType EncodedFrameType(int frame_number) = 0;
// Return the number of dropped frames.
virtual int NumberDroppedFrames() = 0;
@@ -264,10 +264,10 @@ class VideoProcessorImpl : public VideoProcessor {
void SetRates(int bit_rate, int frame_rate) override;
// Return the size of the encoded frame in bytes.
- size_t EncodedFrameSize() override;
+ size_t EncodedFrameSize(int frame_number) override;
// Return the encoded frame type (key or delta).
- FrameType EncodedFrameType() override;
+ FrameType EncodedFrameType(int frame_number) override;
// Return the number of dropped frames.
int NumberDroppedFrames() override;

Powered by Google App Engine
This is Rietveld 408576698