Add SetCodecSettings method for configuring VideoCodec settings.

Remove video codec settings from CodecParams (and rename to ProcessParams).

Removes intermediate step of configuring video settings via CodecParams.

BUG=webrtc:6634

Review-Url: https://codereview.webrtc.org/2956243002
Cr-Commit-Position: refs/heads/master@{#18830}
This commit is contained in:
asapersson
2017-06-29 05:13:27 -07:00
committed by Commit Bot
parent 17432ec3b7
commit 8a90f87518
5 changed files with 182 additions and 225 deletions

View File

@ -99,23 +99,6 @@ const char* ExcludeFrameTypesToStr(ExcludeFrameTypes e) {
}
}
TestConfig::TestConfig()
: name(""),
description(""),
test_number(0),
input_filename(""),
output_filename(""),
output_dir("out"),
networking_config(),
exclude_frame_types(kExcludeOnlyFirstKeyFrame),
frame_length_in_bytes(0),
use_single_core(false),
keyframe_interval(0),
codec_settings(nullptr),
verbose(true) {}
TestConfig::~TestConfig() {}
VideoProcessorImpl::VideoProcessorImpl(webrtc::VideoEncoder* encoder,
webrtc::VideoDecoder* decoder,
FrameReader* analysis_frame_reader,