Index: webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc |
diff --git a/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc b/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc |
index 5dd3ce734d7457b783ea74dbc6e4315e9146e127..f1b580719c0fd6e91d164d5998df11a3f5cc7692 100644 |
--- a/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc |
+++ b/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc |
@@ -490,12 +490,11 @@ |
webrtc::VP8Encoder* encoder = webrtc::VP8Encoder::Create(); |
webrtc::VP8Decoder* decoder = webrtc::VP8Decoder::Create(); |
webrtc::test::Stats stats; |
- webrtc::test::YuvFrameReaderImpl frame_reader(config.input_filename, |
- config.codec_settings->width, |
- config.codec_settings->height); |
- webrtc::test::YuvFrameWriterImpl frame_writer(config.output_filename, |
- config.codec_settings->width, |
- config.codec_settings->height); |
+ webrtc::test::FrameReaderImpl frame_reader(config.input_filename, |
+ config.codec_settings->width, |
+ config.codec_settings->height); |
+ webrtc::test::FrameWriterImpl frame_writer(config.output_filename, |
+ config.frame_length_in_bytes); |
frame_reader.Init(); |
frame_writer.Init(); |
webrtc::test::PacketReader packet_reader; |
@@ -508,11 +507,9 @@ |
packet_manipulator.InitializeRandomSeed(time(NULL)); |
} |
webrtc::test::VideoProcessor* processor = |
- new webrtc::test::VideoProcessorImpl( |
- encoder, decoder, &frame_reader, &frame_writer, &packet_manipulator, |
- config, &stats, nullptr /* source_frame_writer */, |
- nullptr /* encoded_frame_writer */, |
- nullptr /* decoded_frame_writer */); |
+ new webrtc::test::VideoProcessorImpl(encoder, decoder, &frame_reader, |
+ &frame_writer, &packet_manipulator, |
+ config, &stats); |
processor->Init(); |
int frame_number = 0; |