Chromium Code Reviews| 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 de20020bdc6f08b53b2c191d48b0367356d4baa7..8a3e36d18ba1094dfdf8d5e0fde9ac386e7bb1a9 100644 |
| --- a/webrtc/modules/video_coding/codecs/test/videoprocessor.h |
| +++ b/webrtc/modules/video_coding/codecs/test/videoprocessor.h |
| @@ -20,6 +20,7 @@ |
| #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
| #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" |
| #include "webrtc/modules/video_coding/codecs/test/stats.h" |
| +#include "webrtc/modules/video_coding/utility/ivf_file_writer.h" |
| #include "webrtc/test/testsupport/frame_reader.h" |
| #include "webrtc/test/testsupport/frame_writer.h" |
| @@ -161,11 +162,14 @@ class VideoProcessorImpl : public VideoProcessor { |
| public: |
| VideoProcessorImpl(webrtc::VideoEncoder* encoder, |
| webrtc::VideoDecoder* decoder, |
| - FrameReader* frame_reader, |
| - FrameWriter* frame_writer, |
| + FrameReader* analysis_frame_reader, |
| + FrameWriter* analysis_frame_writer, |
| PacketManipulator* packet_manipulator, |
| const TestConfig& config, |
| - Stats* stats); |
| + Stats* stats, |
| + FrameWriter* source_frame_writer, |
| + IvfFileWriter* encoded_frame_writer, |
| + FrameWriter* decoded_frame_writer); |
|
sprang_webrtc
2017/02/17 10:08:22
What's the difference between analysis_frame_write
brandtr
2017/02/20 13:17:31
Done.
The difference is very small: |decoded_fram
|
| virtual ~VideoProcessorImpl(); |
| bool Init() override; |
| bool ProcessFrame(int frame_number) override; |
| @@ -248,11 +252,14 @@ class VideoProcessorImpl : public VideoProcessor { |
| webrtc::VideoEncoder* const encoder_; |
| webrtc::VideoDecoder* const decoder_; |
| std::unique_ptr<VideoBitrateAllocator> bitrate_allocator_; |
| - FrameReader* const frame_reader_; |
| - FrameWriter* const frame_writer_; |
| + FrameReader* const analysis_frame_reader_; |
| + FrameWriter* const analysis_frame_writer_; |
| PacketManipulator* const packet_manipulator_; |
| const TestConfig& config_; |
| Stats* stats_; |
| + FrameWriter* const source_frame_writer_; |
| + IvfFileWriter* const encoded_frame_writer_; |
| + FrameWriter* const decoded_frame_writer_; |
| std::unique_ptr<EncodedImageCallback> encode_callback_; |
| std::unique_ptr<DecodedImageCallback> decode_callback_; |