webrtc/rtc_base/experiments/BUILD.gn
Åsa Persson a945aee72e Make quality scaler downscale faster.
Include dropped frames by the encoder in the frame drop percentage.

To react faster at low framerates:
- Use ExpFilter instead of MovingAverage to filter QP values.
- Reduce sampling interval while waiting for minimum number of needed frames (when not in fast rampup mode).

A separate slower ExpFilter is used for upscaling.

Bug: webrtc:9169
Change-Id: If7ff6c3bd4201fda2da67125889838fe96ce7061
Reviewed-on: https://webrtc-review.googlesource.com/70761
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23014}
2018-04-25 09:08:21 +00:00

65 lines
1.6 KiB
Text

# Copyright (c) 2018 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.
import("../../webrtc.gni")
rtc_static_library("alr_experiment") {
sources = [
"alr_experiment.cc",
"alr_experiment.h",
]
deps = [
"../:rtc_base_approved",
"../../api:optional",
"../../system_wrappers:field_trial_api",
]
}
rtc_static_library("congestion_controller_experiment") {
sources = [
"congestion_controller_experiment.cc",
"congestion_controller_experiment.h",
]
deps = [
"../:rtc_base_approved",
"../../api:optional",
"../../system_wrappers:field_trial_api",
]
}
rtc_static_library("quality_scaling_experiment") {
sources = [
"quality_scaling_experiment.cc",
"quality_scaling_experiment.h",
]
deps = [
"../:rtc_base_approved",
"../..:webrtc_common",
"../../api:optional",
"../../api/video_codecs:video_codecs_api",
"../../system_wrappers:field_trial_api",
]
}
if (rtc_include_tests) {
rtc_source_set("experiments_unittests") {
testonly = true
sources = [
"congestion_controller_experiment_unittest.cc",
"quality_scaling_experiment_unittest.cc",
]
deps = [
":congestion_controller_experiment",
":quality_scaling_experiment",
"../:rtc_base_tests_main",
"../:rtc_base_tests_utils",
"../../test:field_trial",
]
}
}