Move TimestampExtrapolator closer to its single user
The `TimestampExtrapolator` is only used by the `VCMTiming` class, despite there being references to it from both `modules/rtp_rtcp/BUILD.gn` and `modules/video_coding/BUILD.gn`. Bug: webrtc:14111 Change-Id: If1a02a56a0c83b13d619ca08dc76c884fa829369 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275482 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Johannes Kron <kron@webrtc.org> Commit-Queue: Rasmus Brandt <brandtr@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38093}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
624f2eb1aa
commit
bcf24f5bcd
@ -84,6 +84,18 @@ rtc_library("rtt_filter") {
|
||||
]
|
||||
}
|
||||
|
||||
rtc_library("timestamp_extrapolator") {
|
||||
sources = [
|
||||
"timestamp_extrapolator.cc",
|
||||
"timestamp_extrapolator.h",
|
||||
]
|
||||
deps = [
|
||||
"../../../api/units:timestamp",
|
||||
"../../../modules:module_api_public",
|
||||
]
|
||||
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
||||
}
|
||||
|
||||
rtc_library("timing_module") {
|
||||
sources = [
|
||||
"timing.cc",
|
||||
@ -91,6 +103,7 @@ rtc_library("timing_module") {
|
||||
]
|
||||
deps = [
|
||||
":codec_timer",
|
||||
":timestamp_extrapolator",
|
||||
"../../../api:field_trials_view",
|
||||
"../../../api/units:time_delta",
|
||||
"../../../api/video:video_frame",
|
||||
@ -100,7 +113,6 @@ rtc_library("timing_module") {
|
||||
"../../../rtc_base:rtc_numerics",
|
||||
"../../../rtc_base/experiments:field_trial_parser",
|
||||
"../../../rtc_base/synchronization:mutex",
|
||||
"../../../rtc_base/time:timestamp_extrapolator",
|
||||
"../../../system_wrappers",
|
||||
]
|
||||
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
||||
@ -113,6 +125,7 @@ rtc_library("timing_unittests") {
|
||||
"inter_frame_delay_unittest.cc",
|
||||
"jitter_estimator_unittest.cc",
|
||||
"rtt_filter_unittest.cc",
|
||||
"timestamp_extrapolator_unittest.cc",
|
||||
"timing_unittest.cc",
|
||||
]
|
||||
deps = [
|
||||
@ -120,6 +133,7 @@ rtc_library("timing_unittests") {
|
||||
":inter_frame_delay",
|
||||
":jitter_estimator",
|
||||
":rtt_filter",
|
||||
":timestamp_extrapolator",
|
||||
":timing_module",
|
||||
"../../../api:array_view",
|
||||
"../../../api:field_trials",
|
||||
|
||||
Reference in New Issue
Block a user