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

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

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
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 5cf28df5224e3d7fc5f6f4c73780b76bfc3bcffb..242844387a77b6eada4d42d9ca5838acd0b5e483 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;
@@ -260,10 +260,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