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}
42 lines
1.2 KiB
Python
42 lines
1.2 KiB
Python
# Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
{
|
|
'includes': [
|
|
'../../../build/common.gypi',
|
|
],
|
|
'targets': [
|
|
{
|
|
'target_name': 'video_coding_utility',
|
|
'type': 'static_library',
|
|
'dependencies': [
|
|
'<(webrtc_root)/common_video/common_video.gyp:common_video',
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
|
|
],
|
|
'sources': [
|
|
'frame_dropper.cc',
|
|
'frame_dropper.h',
|
|
'h264_bitstream_parser.cc',
|
|
'h264_bitstream_parser.h',
|
|
'ivf_file_writer.cc',
|
|
'ivf_file_writer.h',
|
|
'moving_average.cc',
|
|
'moving_average.h',
|
|
'qp_parser.cc',
|
|
'qp_parser.h',
|
|
'quality_scaler.cc',
|
|
'quality_scaler.h',
|
|
'simulcast_rate_allocator.cc',
|
|
'simulcast_rate_allocator.h',
|
|
'vp8_header_parser.cc',
|
|
'vp8_header_parser.h',
|
|
],
|
|
},
|
|
], # targets
|
|
}
|