Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 1 | # Copyright (c) 2022 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license |
| 4 | # that can be found in the LICENSE file in the root of the source |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | import("../../../webrtc.gni") |
| 10 | |
| 11 | rtc_library("codec_timer") { |
| 12 | sources = [ |
| 13 | "codec_timer.cc", |
| 14 | "codec_timer.h", |
| 15 | ] |
| 16 | deps = [ "../../../rtc_base:rtc_numerics" ] |
| 17 | } |
| 18 | |
| 19 | rtc_library("inter_frame_delay") { |
| 20 | sources = [ |
| 21 | "inter_frame_delay.cc", |
| 22 | "inter_frame_delay.h", |
| 23 | ] |
| 24 | deps = [ |
| 25 | "../..:module_api_public", |
| 26 | "../../../api/units:frequency", |
| 27 | "../../../api/units:time_delta", |
| 28 | "../../../api/units:timestamp", |
| 29 | ] |
| 30 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
| 31 | } |
| 32 | |
Rasmus Brandt | 39ae696 | 2022-08-09 14:40:05 +0200 | [diff] [blame] | 33 | rtc_library("frame_delay_delta_kalman_filter") { |
| 34 | sources = [ |
| 35 | "frame_delay_delta_kalman_filter.cc", |
| 36 | "frame_delay_delta_kalman_filter.h", |
| 37 | ] |
| 38 | deps = [ |
| 39 | "../../../api/units:data_size", |
| 40 | "../../../api/units:time_delta", |
| 41 | ] |
| 42 | visibility = [ |
| 43 | ":jitter_estimator", |
| 44 | ":timing_unittests", |
| 45 | ] |
| 46 | } |
| 47 | |
Rasmus Brandt | 10944e6 | 2022-05-25 10:12:42 +0200 | [diff] [blame] | 48 | rtc_library("jitter_estimator") { |
| 49 | sources = [ |
| 50 | "jitter_estimator.cc", |
| 51 | "jitter_estimator.h", |
| 52 | ] |
| 53 | deps = [ |
Rasmus Brandt | 39ae696 | 2022-08-09 14:40:05 +0200 | [diff] [blame] | 54 | ":frame_delay_delta_kalman_filter", |
Rasmus Brandt | 10944e6 | 2022-05-25 10:12:42 +0200 | [diff] [blame] | 55 | ":rtt_filter", |
| 56 | "../../../api:field_trials_view", |
| 57 | "../../../api/units:data_size", |
| 58 | "../../../api/units:frequency", |
| 59 | "../../../api/units:time_delta", |
| 60 | "../../../api/units:timestamp", |
| 61 | "../../../rtc_base", |
| 62 | "../../../rtc_base:safe_conversions", |
Rasmus Brandt | 10944e6 | 2022-05-25 10:12:42 +0200 | [diff] [blame] | 63 | "../../../system_wrappers", |
| 64 | ] |
| 65 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
| 66 | } |
| 67 | |
Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 68 | rtc_library("rtt_filter") { |
| 69 | sources = [ |
| 70 | "rtt_filter.cc", |
| 71 | "rtt_filter.h", |
| 72 | ] |
| 73 | deps = [ "../../../api/units:time_delta" ] |
| 74 | absl_deps = [ |
| 75 | "//third_party/abseil-cpp/absl/algorithm:container", |
| 76 | "//third_party/abseil-cpp/absl/container:inlined_vector", |
| 77 | ] |
| 78 | } |
| 79 | |
Rasmus Brandt | c4d253c | 2022-05-25 12:03:35 +0200 | [diff] [blame] | 80 | rtc_library("timing_module") { |
| 81 | sources = [ |
| 82 | "timing.cc", |
| 83 | "timing.h", |
| 84 | ] |
| 85 | deps = [ |
| 86 | ":codec_timer", |
| 87 | "../../../api:field_trials_view", |
| 88 | "../../../api/units:time_delta", |
Johannes Kron | bbf639e | 2022-06-15 12:27:23 +0200 | [diff] [blame] | 89 | "../../../api/video:video_frame", |
Rasmus Brandt | c4d253c | 2022-05-25 12:03:35 +0200 | [diff] [blame] | 90 | "../../../api/video:video_rtp_headers", |
| 91 | "../../../rtc_base:logging", |
| 92 | "../../../rtc_base:macromagic", |
| 93 | "../../../rtc_base:rtc_numerics", |
| 94 | "../../../rtc_base/experiments:field_trial_parser", |
| 95 | "../../../rtc_base/synchronization:mutex", |
| 96 | "../../../rtc_base/time:timestamp_extrapolator", |
| 97 | "../../../system_wrappers", |
| 98 | ] |
| 99 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
| 100 | } |
| 101 | |
Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 102 | rtc_library("timing_unittests") { |
| 103 | testonly = true |
| 104 | sources = [ |
Rasmus Brandt | 39ae696 | 2022-08-09 14:40:05 +0200 | [diff] [blame] | 105 | "frame_delay_delta_kalman_filter_unittest.cc", |
Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 106 | "inter_frame_delay_unittest.cc", |
Rasmus Brandt | 10944e6 | 2022-05-25 10:12:42 +0200 | [diff] [blame] | 107 | "jitter_estimator_unittest.cc", |
Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 108 | "rtt_filter_unittest.cc", |
Rasmus Brandt | c4d253c | 2022-05-25 12:03:35 +0200 | [diff] [blame] | 109 | "timing_unittest.cc", |
Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 110 | ] |
| 111 | deps = [ |
Rasmus Brandt | 39ae696 | 2022-08-09 14:40:05 +0200 | [diff] [blame] | 112 | ":frame_delay_delta_kalman_filter", |
Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 113 | ":inter_frame_delay", |
Rasmus Brandt | 10944e6 | 2022-05-25 10:12:42 +0200 | [diff] [blame] | 114 | ":jitter_estimator", |
Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 115 | ":rtt_filter", |
Rasmus Brandt | c4d253c | 2022-05-25 12:03:35 +0200 | [diff] [blame] | 116 | ":timing_module", |
Rasmus Brandt | 10944e6 | 2022-05-25 10:12:42 +0200 | [diff] [blame] | 117 | "../../../api:array_view", |
| 118 | "../../../api/units:data_size", |
Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 119 | "../../../api/units:frequency", |
| 120 | "../../../api/units:time_delta", |
| 121 | "../../../api/units:timestamp", |
Rasmus Brandt | 10944e6 | 2022-05-25 10:12:42 +0200 | [diff] [blame] | 122 | "../../../rtc_base:histogram_percentile_counter", |
| 123 | "../../../rtc_base:stringutils", |
| 124 | "../../../rtc_base:timeutils", |
Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 125 | "../../../system_wrappers:system_wrappers", |
Rasmus Brandt | 10944e6 | 2022-05-25 10:12:42 +0200 | [diff] [blame] | 126 | "../../../test:scoped_key_value_config", |
Rasmus Brandt | 2377226 | 2022-05-23 09:53:15 +0200 | [diff] [blame] | 127 | "../../../test:test_support", |
| 128 | ] |
| 129 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
| 130 | } |