Putting these classes in a sub folder increases structure and clarifies that they are used as helper classes. Affected classes in this change: * CodecTimer * InterFrameDelay * RttFilter VCMTiming will be moved in a separate CL. Additional changes: * Remove VCM prefix from class names. * Introduce granular BUILD.gn targets. * Update some includes. Bug: webrtc:14111 Change-Id: Ia75128aa955a819033b97d4784cb61904de7230b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262960 Commit-Queue: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Åsa Persson <asapersson@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36975}
62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
# Copyright (c) 2022 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_library("codec_timer") {
|
|
sources = [
|
|
"codec_timer.cc",
|
|
"codec_timer.h",
|
|
]
|
|
deps = [ "../../../rtc_base:rtc_numerics" ]
|
|
}
|
|
|
|
rtc_library("inter_frame_delay") {
|
|
sources = [
|
|
"inter_frame_delay.cc",
|
|
"inter_frame_delay.h",
|
|
]
|
|
deps = [
|
|
"../..:module_api_public",
|
|
"../../../api/units:frequency",
|
|
"../../../api/units:time_delta",
|
|
"../../../api/units:timestamp",
|
|
]
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
|
}
|
|
|
|
rtc_library("rtt_filter") {
|
|
sources = [
|
|
"rtt_filter.cc",
|
|
"rtt_filter.h",
|
|
]
|
|
deps = [ "../../../api/units:time_delta" ]
|
|
absl_deps = [
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
|
]
|
|
}
|
|
|
|
rtc_library("timing_unittests") {
|
|
testonly = true
|
|
sources = [
|
|
"inter_frame_delay_unittest.cc",
|
|
"rtt_filter_unittest.cc",
|
|
]
|
|
deps = [
|
|
":inter_frame_delay",
|
|
":rtt_filter",
|
|
"../../../api/units:frequency",
|
|
"../../../api/units:time_delta",
|
|
"../../../api/units:timestamp",
|
|
"../../../system_wrappers:system_wrappers",
|
|
"../../../test:test_support",
|
|
]
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
|
}
|