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

Unified Diff: webrtc/test/frame_generator_capturer.h

Issue 2705973002: Replace test::FrameGenerator::ChromaGenerator with new FrameGenerator::SquareGenerator (Closed)
Patch Set: Remove check for pure padding. 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/test/frame_generator_capturer.h
diff --git a/webrtc/test/frame_generator_capturer.h b/webrtc/test/frame_generator_capturer.h
index 3a1b6c91518ee65585fd7606a5413c77c053c7bd..dfd12711d187988560178bc90082b1e4788d472f 100644
--- a/webrtc/test/frame_generator_capturer.h
+++ b/webrtc/test/frame_generator_capturer.h
@@ -41,8 +41,8 @@ class FrameGeneratorCapturer : public VideoCapturer {
virtual ~SinkWantsObserver() {}
};
- static FrameGeneratorCapturer* Create(size_t width,
- size_t height,
+ static FrameGeneratorCapturer* Create(int width,
+ int height,
int target_fps,
Clock* clock);
@@ -69,7 +69,7 @@ class FrameGeneratorCapturer : public VideoCapturer {
int64_t first_frame_capture_time() const { return first_frame_capture_time_; }
FrameGeneratorCapturer(Clock* clock,
- FrameGenerator* frame_generator,
+ std::unique_ptr<FrameGenerator> frame_generator,
int target_fps);
bool Init();

Powered by Google App Engine
This is Rietveld 408576698