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

Unified Diff: webrtc/test/testsupport/frame_reader.h

Issue 2708103002: Revert of Add optional visualization file writers to VideoProcessor 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
« no previous file with comments | « webrtc/test/BUILD.gn ('k') | webrtc/test/testsupport/frame_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/testsupport/frame_reader.h
diff --git a/webrtc/test/testsupport/frame_reader.h b/webrtc/test/testsupport/frame_reader.h
index 94dd78bbda5552a1ff1d737e93fe9245e6fc2055..13800cdc6fe08c91e12c5a5b42fdbbb121277e3b 100644
--- a/webrtc/test/testsupport/frame_reader.h
+++ b/webrtc/test/testsupport/frame_reader.h
@@ -46,14 +46,14 @@
virtual int NumberOfFrames() = 0;
};
-class YuvFrameReaderImpl : public FrameReader {
+class FrameReaderImpl : public FrameReader {
public:
// Creates a file handler. The input file is assumed to exist and be readable.
// Parameters:
// input_filename The file to read from.
// width, height Size of each frame to read.
- YuvFrameReaderImpl(std::string input_filename, int width, int height);
- ~YuvFrameReaderImpl() override;
+ FrameReaderImpl(std::string input_filename, int width, int height);
+ ~FrameReaderImpl() override;
bool Init() override;
rtc::scoped_refptr<I420Buffer> ReadFrame() override;
void Close() override;
@@ -61,10 +61,10 @@
int NumberOfFrames() override;
private:
- const std::string input_filename_;
+ std::string input_filename_;
size_t frame_length_in_bytes_;
- const int width_;
- const int height_;
+ int width_;
+ int height_;
int number_of_frames_;
FILE* input_file_;
};
« no previous file with comments | « webrtc/test/BUILD.gn ('k') | webrtc/test/testsupport/frame_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698