Make VideoProcessor::Init/Release methods private and call from constructor/destructor.

TestConfig: Replace Print method with ToString and add test.

Bug: none
Change-Id: I9853cb16875199a51c5731d1cec326159751d001
Reviewed-on: https://webrtc-review.googlesource.com/14320
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20420}
This commit is contained in:
Åsa Persson
2017-10-24 16:03:39 +02:00
committed by Commit Bot
parent c22a3a6a7d
commit f0c44672df
8 changed files with 255 additions and 215 deletions

View File

@ -52,8 +52,8 @@ struct TestConfig {
int NumberOfCores() const;
int NumberOfTemporalLayers() const;
void Print() const;
void PrintCodecSettings() const;
int TemporalLayerForFrame(int frame_idx) const;
std::string ToString() const;
// Plain name of YUV file to process without file extension.
std::string filename;