Refactor QualityScaler and MovingAverage

The MovingAverage class was very specific to the QualityScaler. This
commit generalizes the MovingAverage class to be useful in other
situations as well, and adapts the QualityScaler to use the new
MovingAverage.

BUG=webrtc:6304

Review-Url: https://codereview.webrtc.org/2310853002
Cr-Commit-Position: refs/heads/master@{#14207}
This commit is contained in:
kthelgason
2016-09-14 02:14:58 -07:00
committed by Commit bot
parent a075848ebd
commit 194f40a2e7
10 changed files with 208 additions and 130 deletions

View File

@ -25,6 +25,7 @@
'h264_bitstream_parser.h',
'ivf_file_writer.cc',
'ivf_file_writer.h',
'moving_average.cc',
'moving_average.h',
'qp_parser.cc',
'qp_parser.h',