2014-06-23 19:21:07 +00:00
|
|
|
# Copyright (c) 2014 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.
|
|
|
|
|
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../../webrtc.gni")
|
2016-06-13 00:19:48 -07:00
|
|
|
import("audio_coding.gni")
|
2019-02-26 11:46:17 +02:00
|
|
|
if (rtc_enable_protobuf) {
|
2018-01-15 10:20:00 -05:00
|
|
|
import("//third_party/protobuf/proto_library.gni")
|
|
|
|
|
}
|
2014-06-23 19:21:07 +00:00
|
|
|
|
2017-12-12 10:41:29 +01:00
|
|
|
visibility = [ ":*" ]
|
|
|
|
|
|
2017-03-03 06:16:28 -08:00
|
|
|
rtc_source_set("audio_coding_module_typedefs") {
|
2019-03-19 14:10:16 +01:00
|
|
|
visibility += [ "*" ]
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "include/audio_coding_module_typedefs.h" ]
|
2017-03-03 06:16:28 -08:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_coding") {
|
2017-12-12 10:41:29 +01:00
|
|
|
visibility += [ "*" ]
|
2014-08-31 20:32:53 +00:00
|
|
|
sources = [
|
2015-11-26 04:44:54 -08:00
|
|
|
"acm2/acm_receiver.cc",
|
|
|
|
|
"acm2/acm_receiver.h",
|
2019-11-19 21:00:59 +01:00
|
|
|
"acm2/acm_remixing.cc",
|
|
|
|
|
"acm2/acm_remixing.h",
|
2015-11-26 04:44:54 -08:00
|
|
|
"acm2/acm_resampler.cc",
|
|
|
|
|
"acm2/acm_resampler.h",
|
|
|
|
|
"acm2/audio_coding_module.cc",
|
|
|
|
|
"acm2/call_statistics.cc",
|
|
|
|
|
"acm2/call_statistics.h",
|
|
|
|
|
"include/audio_coding_module.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
defines = []
|
|
|
|
|
|
2018-11-12 14:21:58 +01:00
|
|
|
deps = [
|
|
|
|
|
":audio_coding_module_typedefs",
|
2019-11-26 12:29:05 +01:00
|
|
|
":default_neteq_factory",
|
2018-11-12 14:21:58 +01:00
|
|
|
":neteq",
|
|
|
|
|
"..:module_api",
|
|
|
|
|
"..:module_api_public",
|
|
|
|
|
"../../api:array_view",
|
2019-03-21 14:37:36 +01:00
|
|
|
"../../api:function_view",
|
2018-11-12 14:21:58 +01:00
|
|
|
"../../api/audio:audio_frame_api",
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2019-10-31 14:38:11 +01:00
|
|
|
"../../api/neteq:neteq_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../common_audio",
|
2018-11-12 14:21:58 +01:00
|
|
|
"../../common_audio:common_audio_c",
|
|
|
|
|
"../../rtc_base:audio_format_to_string",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2018-11-12 14:21:58 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2020-07-07 15:53:34 +02:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
2018-11-12 14:21:58 +01:00
|
|
|
"../../system_wrappers",
|
|
|
|
|
"../../system_wrappers:metrics",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2018-11-12 14:21:58 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2014-08-31 20:32:53 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("legacy_encoded_audio_frame") {
|
2014-12-09 10:12:53 +00:00
|
|
|
sources = [
|
2016-09-21 05:50:37 -07:00
|
|
|
"codecs/legacy_encoded_audio_frame.cc",
|
|
|
|
|
"codecs/legacy_encoded_audio_frame.h",
|
2014-12-09 10:12:53 +00:00
|
|
|
]
|
2015-05-25 12:55:39 +02:00
|
|
|
deps = [
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../api:array_view",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2018-10-23 12:03:01 +02:00
|
|
|
"../../rtc_base:checks",
|
2015-05-25 12:55:39 +02:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2014-12-09 10:12:53 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("webrtc_cng") {
|
2018-11-01 11:13:44 +01:00
|
|
|
visibility += webrtc_default_visibility
|
2014-08-31 20:32:53 +00:00
|
|
|
sources = [
|
2016-04-25 07:55:58 -07:00
|
|
|
"codecs/cng/webrtc_cng.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/cng/webrtc_cng.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
]
|
|
|
|
|
|
2014-12-16 13:41:36 +00:00
|
|
|
deps = [
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../api:array_view",
|
2018-02-05 15:50:41 +01:00
|
|
|
"../../common_audio:common_audio_c",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2018-10-23 12:03:01 +02:00
|
|
|
"../../rtc_base:checks",
|
2018-11-01 11:13:44 +01:00
|
|
|
"../../rtc_base:safe_conversions",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_encoder_cng") {
|
2018-11-01 11:13:44 +01:00
|
|
|
visibility += [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/cng/audio_encoder_cng.cc",
|
|
|
|
|
"codecs/cng/audio_encoder_cng.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":webrtc_cng",
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2020-03-24 16:00:51 +01:00
|
|
|
"../../api/units:time_delta",
|
2018-11-01 11:13:44 +01:00
|
|
|
"../../common_audio",
|
|
|
|
|
"../../rtc_base:checks",
|
2014-12-16 13:41:36 +00:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2014-12-16 13:41:36 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("red") {
|
2017-12-12 10:41:29 +01:00
|
|
|
visibility += [ "*" ]
|
2014-12-16 13:41:36 +00:00
|
|
|
sources = [
|
|
|
|
|
"codecs/red/audio_encoder_copy_red.cc",
|
|
|
|
|
"codecs/red/audio_encoder_copy_red.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-10-23 12:03:01 +02:00
|
|
|
"../../api:array_view",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2017-05-02 06:46:30 -07:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2020-03-24 16:00:51 +01:00
|
|
|
"../../api/units:time_delta",
|
2015-12-03 17:47:21 +01:00
|
|
|
"../../common_audio",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2022-04-19 17:18:36 +02:00
|
|
|
"../../rtc_base:byte_order",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2014-12-16 13:41:36 +00:00
|
|
|
]
|
2022-07-20 12:53:07 +02:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2014-08-31 20:32:53 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("g711") {
|
2017-12-12 10:41:29 +01:00
|
|
|
visibility += [ "*" ]
|
2018-04-22 19:55:00 +02:00
|
|
|
poisonous = [ "audio_codecs" ]
|
2014-08-31 20:32:53 +00:00
|
|
|
sources = [
|
2015-09-22 06:16:51 -07:00
|
|
|
"codecs/g711/audio_decoder_pcm.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/g711/audio_decoder_pcm.h",
|
2014-10-21 12:48:29 +00:00
|
|
|
"codecs/g711/audio_encoder_pcm.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/g711/audio_encoder_pcm.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
]
|
|
|
|
|
|
2015-05-25 12:55:39 +02:00
|
|
|
deps = [
|
2017-02-10 08:15:44 -08:00
|
|
|
":legacy_encoded_audio_frame",
|
2018-10-23 12:03:01 +02:00
|
|
|
"../../api:array_view",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2020-03-24 16:00:51 +01:00
|
|
|
"../../api/units:time_delta",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2015-05-25 12:55:39 +02:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2020-01-16 14:41:10 +01:00
|
|
|
public_deps = [ ":g711_c" ] # no-presubmit-check TODO(webrtc:8603)
|
2016-12-05 22:47:46 -08:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("g711_c") {
|
2018-04-22 19:55:00 +02:00
|
|
|
poisonous = [ "audio_codecs" ]
|
2016-12-05 22:47:46 -08:00
|
|
|
sources = [
|
|
|
|
|
"codecs/g711/g711_interface.c",
|
|
|
|
|
"codecs/g711/g711_interface.h",
|
|
|
|
|
]
|
2020-01-16 14:41:10 +01:00
|
|
|
deps = [ "../third_party/g711:g711_3p" ]
|
2018-06-21 16:34:10 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("g722") {
|
2017-12-12 10:41:29 +01:00
|
|
|
visibility += [ "*" ]
|
2018-04-22 19:55:00 +02:00
|
|
|
poisonous = [ "audio_codecs" ]
|
2014-08-31 20:32:53 +00:00
|
|
|
sources = [
|
2015-09-17 03:12:35 -07:00
|
|
|
"codecs/g722/audio_decoder_g722.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/g722/audio_decoder_g722.h",
|
2014-12-02 11:45:51 +00:00
|
|
|
"codecs/g722/audio_encoder_g722.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/g722/audio_encoder_g722.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
]
|
|
|
|
|
|
2015-05-25 12:55:39 +02:00
|
|
|
deps = [
|
2017-02-10 08:15:44 -08:00
|
|
|
":legacy_encoded_audio_frame",
|
2018-10-23 12:03:01 +02:00
|
|
|
"../../api:array_view",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2017-06-17 17:41:59 -07:00
|
|
|
"../../api/audio_codecs/g722:audio_encoder_g722_config",
|
2020-03-24 16:00:51 +01:00
|
|
|
"../../api/units:time_delta",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2015-05-25 12:55:39 +02:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2020-01-16 14:41:10 +01:00
|
|
|
public_deps = [ ":g722_c" ] # no-presubmit-check TODO(webrtc:8603)
|
2016-12-05 22:47:46 -08:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("g722_c") {
|
2018-04-22 19:55:00 +02:00
|
|
|
poisonous = [ "audio_codecs" ]
|
2016-12-05 22:47:46 -08:00
|
|
|
sources = [
|
|
|
|
|
"codecs/g722/g722_interface.c",
|
|
|
|
|
"codecs/g722/g722_interface.h",
|
|
|
|
|
]
|
2020-01-16 14:41:10 +01:00
|
|
|
deps = [ "../third_party/g722:g722_3p" ]
|
2018-06-21 16:39:37 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("ilbc") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2018-04-22 19:55:00 +02:00
|
|
|
poisonous = [ "audio_codecs" ]
|
2014-08-31 20:32:53 +00:00
|
|
|
sources = [
|
2015-09-16 21:26:32 -07:00
|
|
|
"codecs/ilbc/audio_decoder_ilbc.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/ilbc/audio_decoder_ilbc.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"codecs/ilbc/audio_encoder_ilbc.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/ilbc/audio_encoder_ilbc.h",
|
2016-12-05 22:47:46 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-02-10 08:15:44 -08:00
|
|
|
":legacy_encoded_audio_frame",
|
2018-10-23 12:03:01 +02:00
|
|
|
"../../api:array_view",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2017-06-28 02:05:04 -07:00
|
|
|
"../../api/audio_codecs/ilbc:audio_encoder_ilbc_config",
|
2020-03-24 16:00:51 +01:00
|
|
|
"../../api/units:time_delta",
|
2016-12-05 22:47:46 -08:00
|
|
|
"../../common_audio",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2016-12-05 22:47:46 -08:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2020-01-16 14:41:10 +01:00
|
|
|
public_deps = [ ":ilbc_c" ] # no-presubmit-check TODO(webrtc:8603)
|
2016-12-05 22:47:46 -08:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("ilbc_c") {
|
2018-04-22 19:55:00 +02:00
|
|
|
poisonous = [ "audio_codecs" ]
|
2016-12-05 22:47:46 -08:00
|
|
|
sources = [
|
|
|
|
|
"codecs/ilbc/abs_quant.c",
|
|
|
|
|
"codecs/ilbc/abs_quant.h",
|
|
|
|
|
"codecs/ilbc/abs_quant_loop.c",
|
|
|
|
|
"codecs/ilbc/abs_quant_loop.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"codecs/ilbc/augmented_cb_corr.c",
|
|
|
|
|
"codecs/ilbc/augmented_cb_corr.h",
|
|
|
|
|
"codecs/ilbc/bw_expand.c",
|
|
|
|
|
"codecs/ilbc/bw_expand.h",
|
|
|
|
|
"codecs/ilbc/cb_construct.c",
|
|
|
|
|
"codecs/ilbc/cb_construct.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"codecs/ilbc/cb_mem_energy.c",
|
|
|
|
|
"codecs/ilbc/cb_mem_energy.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"codecs/ilbc/cb_mem_energy_augmentation.c",
|
|
|
|
|
"codecs/ilbc/cb_mem_energy_augmentation.h",
|
|
|
|
|
"codecs/ilbc/cb_mem_energy_calc.c",
|
|
|
|
|
"codecs/ilbc/cb_mem_energy_calc.h",
|
|
|
|
|
"codecs/ilbc/cb_search.c",
|
2015-05-25 12:55:39 +02:00
|
|
|
"codecs/ilbc/cb_search.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"codecs/ilbc/cb_search_core.c",
|
|
|
|
|
"codecs/ilbc/cb_search_core.h",
|
|
|
|
|
"codecs/ilbc/cb_update_best_index.c",
|
|
|
|
|
"codecs/ilbc/cb_update_best_index.h",
|
|
|
|
|
"codecs/ilbc/chebyshev.c",
|
|
|
|
|
"codecs/ilbc/chebyshev.h",
|
|
|
|
|
"codecs/ilbc/comp_corr.c",
|
|
|
|
|
"codecs/ilbc/comp_corr.h",
|
|
|
|
|
"codecs/ilbc/constants.c",
|
|
|
|
|
"codecs/ilbc/constants.h",
|
|
|
|
|
"codecs/ilbc/create_augmented_vec.c",
|
|
|
|
|
"codecs/ilbc/create_augmented_vec.h",
|
|
|
|
|
"codecs/ilbc/decode.c",
|
|
|
|
|
"codecs/ilbc/decode.h",
|
|
|
|
|
"codecs/ilbc/decode_residual.c",
|
|
|
|
|
"codecs/ilbc/decode_residual.h",
|
|
|
|
|
"codecs/ilbc/decoder_interpolate_lsf.c",
|
|
|
|
|
"codecs/ilbc/decoder_interpolate_lsf.h",
|
|
|
|
|
"codecs/ilbc/defines.h",
|
|
|
|
|
"codecs/ilbc/do_plc.c",
|
|
|
|
|
"codecs/ilbc/do_plc.h",
|
|
|
|
|
"codecs/ilbc/encode.c",
|
|
|
|
|
"codecs/ilbc/encode.h",
|
|
|
|
|
"codecs/ilbc/energy_inverse.c",
|
|
|
|
|
"codecs/ilbc/energy_inverse.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"codecs/ilbc/enh_upsample.c",
|
|
|
|
|
"codecs/ilbc/enh_upsample.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"codecs/ilbc/enhancer.c",
|
|
|
|
|
"codecs/ilbc/enhancer.h",
|
|
|
|
|
"codecs/ilbc/enhancer_interface.c",
|
|
|
|
|
"codecs/ilbc/enhancer_interface.h",
|
|
|
|
|
"codecs/ilbc/filtered_cb_vecs.c",
|
|
|
|
|
"codecs/ilbc/filtered_cb_vecs.h",
|
|
|
|
|
"codecs/ilbc/frame_classify.c",
|
|
|
|
|
"codecs/ilbc/frame_classify.h",
|
|
|
|
|
"codecs/ilbc/gain_dequant.c",
|
|
|
|
|
"codecs/ilbc/gain_dequant.h",
|
|
|
|
|
"codecs/ilbc/gain_quant.c",
|
|
|
|
|
"codecs/ilbc/gain_quant.h",
|
|
|
|
|
"codecs/ilbc/get_cd_vec.c",
|
|
|
|
|
"codecs/ilbc/get_cd_vec.h",
|
|
|
|
|
"codecs/ilbc/get_lsp_poly.c",
|
|
|
|
|
"codecs/ilbc/get_lsp_poly.h",
|
|
|
|
|
"codecs/ilbc/get_sync_seq.c",
|
|
|
|
|
"codecs/ilbc/get_sync_seq.h",
|
|
|
|
|
"codecs/ilbc/hp_input.c",
|
|
|
|
|
"codecs/ilbc/hp_input.h",
|
|
|
|
|
"codecs/ilbc/hp_output.c",
|
|
|
|
|
"codecs/ilbc/hp_output.h",
|
|
|
|
|
"codecs/ilbc/ilbc.c",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/ilbc/ilbc.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"codecs/ilbc/index_conv_dec.c",
|
|
|
|
|
"codecs/ilbc/index_conv_dec.h",
|
|
|
|
|
"codecs/ilbc/index_conv_enc.c",
|
|
|
|
|
"codecs/ilbc/index_conv_enc.h",
|
|
|
|
|
"codecs/ilbc/init_decode.c",
|
|
|
|
|
"codecs/ilbc/init_decode.h",
|
|
|
|
|
"codecs/ilbc/init_encode.c",
|
|
|
|
|
"codecs/ilbc/init_encode.h",
|
|
|
|
|
"codecs/ilbc/interpolate.c",
|
|
|
|
|
"codecs/ilbc/interpolate.h",
|
|
|
|
|
"codecs/ilbc/interpolate_samples.c",
|
|
|
|
|
"codecs/ilbc/interpolate_samples.h",
|
|
|
|
|
"codecs/ilbc/lpc_encode.c",
|
|
|
|
|
"codecs/ilbc/lpc_encode.h",
|
|
|
|
|
"codecs/ilbc/lsf_check.c",
|
|
|
|
|
"codecs/ilbc/lsf_check.h",
|
|
|
|
|
"codecs/ilbc/lsf_interpolate_to_poly_dec.c",
|
|
|
|
|
"codecs/ilbc/lsf_interpolate_to_poly_dec.h",
|
|
|
|
|
"codecs/ilbc/lsf_interpolate_to_poly_enc.c",
|
|
|
|
|
"codecs/ilbc/lsf_interpolate_to_poly_enc.h",
|
|
|
|
|
"codecs/ilbc/lsf_to_lsp.c",
|
|
|
|
|
"codecs/ilbc/lsf_to_lsp.h",
|
|
|
|
|
"codecs/ilbc/lsf_to_poly.c",
|
|
|
|
|
"codecs/ilbc/lsf_to_poly.h",
|
|
|
|
|
"codecs/ilbc/lsp_to_lsf.c",
|
|
|
|
|
"codecs/ilbc/lsp_to_lsf.h",
|
|
|
|
|
"codecs/ilbc/my_corr.c",
|
|
|
|
|
"codecs/ilbc/my_corr.h",
|
|
|
|
|
"codecs/ilbc/nearest_neighbor.c",
|
|
|
|
|
"codecs/ilbc/nearest_neighbor.h",
|
|
|
|
|
"codecs/ilbc/pack_bits.c",
|
|
|
|
|
"codecs/ilbc/pack_bits.h",
|
|
|
|
|
"codecs/ilbc/poly_to_lsf.c",
|
|
|
|
|
"codecs/ilbc/poly_to_lsf.h",
|
|
|
|
|
"codecs/ilbc/poly_to_lsp.c",
|
|
|
|
|
"codecs/ilbc/poly_to_lsp.h",
|
|
|
|
|
"codecs/ilbc/refiner.c",
|
|
|
|
|
"codecs/ilbc/refiner.h",
|
|
|
|
|
"codecs/ilbc/simple_interpolate_lsf.c",
|
|
|
|
|
"codecs/ilbc/simple_interpolate_lsf.h",
|
|
|
|
|
"codecs/ilbc/simple_lpc_analysis.c",
|
|
|
|
|
"codecs/ilbc/simple_lpc_analysis.h",
|
|
|
|
|
"codecs/ilbc/simple_lsf_dequant.c",
|
|
|
|
|
"codecs/ilbc/simple_lsf_dequant.h",
|
|
|
|
|
"codecs/ilbc/simple_lsf_quant.c",
|
|
|
|
|
"codecs/ilbc/simple_lsf_quant.h",
|
|
|
|
|
"codecs/ilbc/smooth.c",
|
|
|
|
|
"codecs/ilbc/smooth.h",
|
|
|
|
|
"codecs/ilbc/smooth_out_data.c",
|
|
|
|
|
"codecs/ilbc/smooth_out_data.h",
|
|
|
|
|
"codecs/ilbc/sort_sq.c",
|
|
|
|
|
"codecs/ilbc/sort_sq.h",
|
|
|
|
|
"codecs/ilbc/split_vq.c",
|
|
|
|
|
"codecs/ilbc/split_vq.h",
|
|
|
|
|
"codecs/ilbc/state_construct.c",
|
|
|
|
|
"codecs/ilbc/state_construct.h",
|
|
|
|
|
"codecs/ilbc/state_search.c",
|
|
|
|
|
"codecs/ilbc/state_search.h",
|
|
|
|
|
"codecs/ilbc/swap_bytes.c",
|
|
|
|
|
"codecs/ilbc/swap_bytes.h",
|
|
|
|
|
"codecs/ilbc/unpack_bits.c",
|
|
|
|
|
"codecs/ilbc/unpack_bits.h",
|
|
|
|
|
"codecs/ilbc/vq3.c",
|
|
|
|
|
"codecs/ilbc/vq3.h",
|
|
|
|
|
"codecs/ilbc/vq4.c",
|
|
|
|
|
"codecs/ilbc/vq4.h",
|
|
|
|
|
"codecs/ilbc/window32_w32.c",
|
|
|
|
|
"codecs/ilbc/window32_w32.h",
|
|
|
|
|
"codecs/ilbc/xcorr_coef.c",
|
|
|
|
|
"codecs/ilbc/xcorr_coef.h",
|
|
|
|
|
]
|
|
|
|
|
|
2014-12-16 13:41:36 +00:00
|
|
|
deps = [
|
2017-02-10 08:15:44 -08:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2015-12-03 17:47:21 +01:00
|
|
|
"../../common_audio",
|
2018-02-05 15:50:41 +01:00
|
|
|
"../../common_audio:common_audio_c",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:sanitizer",
|
2018-07-25 16:05:48 +02:00
|
|
|
"../../rtc_base/system:arch",
|
2014-12-16 13:41:36 +00:00
|
|
|
]
|
2021-01-14 18:35:41 +01:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/base:core_headers" ]
|
2014-08-31 20:32:53 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("isac_vad") {
|
2022-11-11 16:52:46 +01:00
|
|
|
visibility += [ "../audio_processing/vad:*" ]
|
2018-04-27 04:31:53 +02:00
|
|
|
sources = [
|
|
|
|
|
"codecs/isac/main/source/filter_functions.c",
|
|
|
|
|
"codecs/isac/main/source/filter_functions.h",
|
|
|
|
|
"codecs/isac/main/source/isac_vad.c",
|
|
|
|
|
"codecs/isac/main/source/isac_vad.h",
|
|
|
|
|
"codecs/isac/main/source/os_specific_inline.h",
|
|
|
|
|
"codecs/isac/main/source/pitch_estimator.c",
|
|
|
|
|
"codecs/isac/main/source/pitch_estimator.h",
|
|
|
|
|
"codecs/isac/main/source/pitch_filter.c",
|
|
|
|
|
"codecs/isac/main/source/pitch_filter.h",
|
|
|
|
|
"codecs/isac/main/source/settings.h",
|
|
|
|
|
"codecs/isac/main/source/structs.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":isac_bwinfo",
|
|
|
|
|
"../../rtc_base:compile_assert_c",
|
2018-07-25 16:05:48 +02:00
|
|
|
"../../rtc_base/system:arch",
|
2018-04-27 04:31:53 +02:00
|
|
|
"../../rtc_base/system:ignore_warnings",
|
2018-07-26 15:07:33 +02:00
|
|
|
"../third_party/fft",
|
2018-04-27 04:31:53 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-11 16:52:46 +01:00
|
|
|
rtc_source_set("isac_bwinfo") {
|
|
|
|
|
sources = [ "codecs/isac/bandwidth_info.h" ]
|
|
|
|
|
deps = []
|
2014-08-31 20:32:53 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("pcm16b") {
|
2017-12-12 10:41:29 +01:00
|
|
|
visibility += [ "*" ]
|
2018-04-22 19:55:00 +02:00
|
|
|
poisonous = [ "audio_codecs" ]
|
2014-08-31 20:32:53 +00:00
|
|
|
sources = [
|
2015-09-17 07:47:34 +02:00
|
|
|
"codecs/pcm16b/audio_decoder_pcm16b.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/pcm16b/audio_decoder_pcm16b.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"codecs/pcm16b/audio_encoder_pcm16b.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/pcm16b/audio_encoder_pcm16b.h",
|
2017-08-16 06:12:57 -07:00
|
|
|
"codecs/pcm16b/pcm16b_common.cc",
|
|
|
|
|
"codecs/pcm16b/pcm16b_common.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
]
|
|
|
|
|
|
2014-12-11 10:47:19 +00:00
|
|
|
deps = [
|
|
|
|
|
":g711",
|
2017-02-10 08:15:44 -08:00
|
|
|
":legacy_encoded_audio_frame",
|
2018-10-23 12:03:01 +02:00
|
|
|
"../../api:array_view",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2014-12-11 10:47:19 +00:00
|
|
|
]
|
2020-01-16 14:41:10 +01:00
|
|
|
public_deps = [ ":pcm16b_c" ] # no-presubmit-check TODO(webrtc:8603)
|
2016-12-05 22:47:46 -08:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("pcm16b_c") {
|
2018-04-22 19:55:00 +02:00
|
|
|
poisonous = [ "audio_codecs" ]
|
2016-12-05 22:47:46 -08:00
|
|
|
sources = [
|
|
|
|
|
"codecs/pcm16b/pcm16b.c",
|
|
|
|
|
"codecs/pcm16b/pcm16b.h",
|
|
|
|
|
]
|
2014-08-31 20:32:53 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_coding_opus_common") {
|
2019-04-08 17:19:41 +02:00
|
|
|
sources = [
|
|
|
|
|
"codecs/opus/audio_coder_opus_common.cc",
|
|
|
|
|
"codecs/opus/audio_coder_opus_common.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:stringutils",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2019-04-08 17:19:41 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("webrtc_opus") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2018-04-22 19:55:00 +02:00
|
|
|
poisonous = [ "audio_codecs" ]
|
2014-08-31 20:32:53 +00:00
|
|
|
sources = [
|
2015-09-15 17:28:18 +02:00
|
|
|
"codecs/opus/audio_decoder_opus.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/opus/audio_decoder_opus.h",
|
2014-10-29 07:28:36 +00:00
|
|
|
"codecs/opus/audio_encoder_opus.cc",
|
2015-11-18 23:07:57 +01:00
|
|
|
"codecs/opus/audio_encoder_opus.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
]
|
2014-12-16 13:41:36 +00:00
|
|
|
|
2015-05-25 12:55:39 +02:00
|
|
|
deps = [
|
2019-04-08 17:19:41 +02:00
|
|
|
":audio_coding_opus_common",
|
2016-10-06 07:13:54 -07:00
|
|
|
":audio_network_adaptor",
|
2018-10-23 12:03:01 +02:00
|
|
|
"../../api:array_view",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2017-06-30 04:23:22 -07:00
|
|
|
"../../api/audio_codecs/opus:audio_encoder_opus_config",
|
2017-01-12 10:17:38 -08:00
|
|
|
"../../common_audio",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2019-02-16 09:59:29 +01:00
|
|
|
"../../rtc_base:protobuf_utils",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2018-03-07 14:18:56 +01:00
|
|
|
"../../rtc_base:safe_minmax",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2018-10-22 09:48:08 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-06-19 13:26:36 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2015-05-25 12:55:39 +02:00
|
|
|
]
|
2020-02-13 11:21:58 +01:00
|
|
|
public_deps = # no-presubmit-check TODO(webrtc:8603)
|
|
|
|
|
[ ":webrtc_opus_wrapper" ]
|
2019-04-08 17:19:41 +02:00
|
|
|
|
|
|
|
|
defines = audio_codec_defines
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("webrtc_multiopus") {
|
2019-04-08 17:19:41 +02:00
|
|
|
visibility += webrtc_default_visibility
|
|
|
|
|
poisonous = [ "audio_codecs" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/opus/audio_decoder_multi_channel_opus_impl.cc",
|
|
|
|
|
"codecs/opus/audio_decoder_multi_channel_opus_impl.h",
|
2019-04-25 15:09:32 +02:00
|
|
|
"codecs/opus/audio_encoder_multi_channel_opus_impl.cc",
|
|
|
|
|
"codecs/opus/audio_encoder_multi_channel_opus_impl.h",
|
2019-04-08 17:19:41 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_coding_opus_common",
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2019-04-25 15:09:32 +02:00
|
|
|
"../../api/audio_codecs/opus:audio_decoder_opus_config",
|
2019-04-08 17:19:41 +02:00
|
|
|
"../../api/audio_codecs/opus:audio_encoder_opus_config",
|
2020-03-24 16:00:51 +01:00
|
|
|
"../../api/units:time_delta",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2019-04-08 17:19:41 +02:00
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2019-04-08 17:19:41 +02:00
|
|
|
"../../rtc_base:safe_minmax",
|
|
|
|
|
"../../rtc_base:stringutils",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2019-04-08 17:19:41 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2019-04-25 15:09:32 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2019-04-08 17:19:41 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2020-02-13 11:21:58 +01:00
|
|
|
public_deps = # no-presubmit-check TODO(webrtc:8603)
|
|
|
|
|
[ ":webrtc_opus_wrapper" ]
|
2014-12-16 13:41:36 +00:00
|
|
|
|
2017-02-02 07:47:19 -08:00
|
|
|
defines = audio_codec_defines
|
2016-12-05 22:47:46 -08:00
|
|
|
}
|
|
|
|
|
|
2019-10-29 21:36:13 +01:00
|
|
|
rtc_library("webrtc_opus_wrapper") {
|
2018-04-22 19:55:00 +02:00
|
|
|
poisonous = [ "audio_codecs" ]
|
2016-12-05 22:47:46 -08:00
|
|
|
sources = [
|
|
|
|
|
"codecs/opus/opus_inst.h",
|
2019-10-29 21:36:13 +01:00
|
|
|
"codecs/opus/opus_interface.cc",
|
2016-12-05 22:47:46 -08:00
|
|
|
"codecs/opus/opus_interface.h",
|
|
|
|
|
]
|
|
|
|
|
|
2017-02-01 17:31:11 -08:00
|
|
|
defines = audio_coding_defines
|
|
|
|
|
|
2016-12-05 22:47:46 -08:00
|
|
|
deps = [
|
2021-02-05 09:05:46 +01:00
|
|
|
"../../api:array_view",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2019-10-19 12:03:23 +02:00
|
|
|
"../../rtc_base:ignore_wundef",
|
2019-11-04 14:47:52 +01:00
|
|
|
"../../system_wrappers:field_trial",
|
2016-12-05 22:47:46 -08:00
|
|
|
]
|
2022-06-28 09:21:44 +02:00
|
|
|
|
|
|
|
|
if (rtc_build_opus) {
|
|
|
|
|
deps += [ rtc_opus_dir ]
|
|
|
|
|
public_configs = [ "//third_party/opus:opus_config" ]
|
|
|
|
|
} else if (build_with_mozilla) {
|
|
|
|
|
include_dirs = [ getenv("DIST") + "/include/opus" ]
|
|
|
|
|
}
|
2014-08-31 20:32:53 +00:00
|
|
|
}
|
|
|
|
|
|
2016-09-22 22:23:20 -07:00
|
|
|
if (rtc_enable_protobuf) {
|
|
|
|
|
proto_library("ana_debug_dump_proto") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "audio_network_adaptor/debug_dump.proto" ]
|
2019-03-06 17:53:55 +09:00
|
|
|
link_deps = [ ":ana_config_proto" ]
|
2017-09-15 06:47:31 +02:00
|
|
|
proto_out_dir = "modules/audio_coding/audio_network_adaptor"
|
2016-09-22 22:23:20 -07:00
|
|
|
}
|
2016-10-02 14:53:37 -07:00
|
|
|
proto_library("ana_config_proto") {
|
2018-11-13 10:13:42 -08:00
|
|
|
visibility += [ "*" ]
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "audio_network_adaptor/config.proto" ]
|
2017-09-15 06:47:31 +02:00
|
|
|
proto_out_dir = "modules/audio_coding/audio_network_adaptor"
|
2016-10-02 14:53:37 -07:00
|
|
|
}
|
2016-09-22 22:23:20 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_network_adaptor_config") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2017-09-12 04:38:25 -07:00
|
|
|
sources = [
|
|
|
|
|
"audio_network_adaptor/audio_network_adaptor_config.cc",
|
|
|
|
|
"audio_network_adaptor/include/audio_network_adaptor_config.h",
|
|
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2017-09-12 04:38:25 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_network_adaptor") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2016-09-07 13:51:51 -07:00
|
|
|
sources = [
|
2016-09-13 13:34:15 -07:00
|
|
|
"audio_network_adaptor/audio_network_adaptor_impl.cc",
|
|
|
|
|
"audio_network_adaptor/audio_network_adaptor_impl.h",
|
2016-09-21 23:01:26 -07:00
|
|
|
"audio_network_adaptor/bitrate_controller.cc",
|
|
|
|
|
"audio_network_adaptor/bitrate_controller.h",
|
2016-09-14 06:47:36 -07:00
|
|
|
"audio_network_adaptor/channel_controller.cc",
|
|
|
|
|
"audio_network_adaptor/channel_controller.h",
|
2016-09-13 13:34:15 -07:00
|
|
|
"audio_network_adaptor/controller.cc",
|
|
|
|
|
"audio_network_adaptor/controller.h",
|
|
|
|
|
"audio_network_adaptor/controller_manager.cc",
|
|
|
|
|
"audio_network_adaptor/controller_manager.h",
|
2016-09-22 22:23:20 -07:00
|
|
|
"audio_network_adaptor/debug_dump_writer.cc",
|
|
|
|
|
"audio_network_adaptor/debug_dump_writer.h",
|
2016-09-16 05:54:39 -07:00
|
|
|
"audio_network_adaptor/dtx_controller.cc",
|
|
|
|
|
"audio_network_adaptor/dtx_controller.h",
|
2017-01-24 04:54:59 -08:00
|
|
|
"audio_network_adaptor/event_log_writer.cc",
|
|
|
|
|
"audio_network_adaptor/event_log_writer.h",
|
2017-03-24 04:12:56 -07:00
|
|
|
"audio_network_adaptor/fec_controller_plr_based.cc",
|
|
|
|
|
"audio_network_adaptor/fec_controller_plr_based.h",
|
2016-09-21 16:00:31 -07:00
|
|
|
"audio_network_adaptor/frame_length_controller.cc",
|
|
|
|
|
"audio_network_adaptor/frame_length_controller.h",
|
2020-06-18 15:48:39 +02:00
|
|
|
"audio_network_adaptor/frame_length_controller_v2.cc",
|
|
|
|
|
"audio_network_adaptor/frame_length_controller_v2.h",
|
2016-09-07 13:51:51 -07:00
|
|
|
"audio_network_adaptor/include/audio_network_adaptor.h",
|
2017-03-29 03:16:58 -07:00
|
|
|
"audio_network_adaptor/util/threshold_curve.h",
|
2016-09-07 13:51:51 -07:00
|
|
|
]
|
2016-09-22 22:23:20 -07:00
|
|
|
|
2020-02-13 11:21:58 +01:00
|
|
|
public_deps = # no-presubmit-check TODO(webrtc:8603)
|
|
|
|
|
[ ":audio_network_adaptor_config" ]
|
2017-09-12 04:38:25 -07:00
|
|
|
|
2016-10-06 07:13:54 -07:00
|
|
|
deps = [
|
2017-09-08 08:13:19 -07:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2019-08-07 12:24:53 +02:00
|
|
|
"../../api/rtc_event_log",
|
2016-12-07 08:23:27 -08:00
|
|
|
"../../common_audio",
|
2018-02-01 11:04:46 -08:00
|
|
|
"../../logging:rtc_event_audio",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2019-10-19 12:03:23 +02:00
|
|
|
"../../rtc_base:ignore_wundef",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:protobuf_utils",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2018-03-23 10:39:34 +01:00
|
|
|
"../../rtc_base/system:file_wrapper",
|
2016-10-06 07:13:54 -07:00
|
|
|
"../../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2016-10-06 07:13:54 -07:00
|
|
|
]
|
2020-06-18 15:48:39 +02:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2022-07-20 12:53:07 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2020-06-18 15:48:39 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2016-10-06 07:13:54 -07:00
|
|
|
|
2016-09-22 22:23:20 -07:00
|
|
|
if (rtc_enable_protobuf) {
|
2016-10-06 07:13:54 -07:00
|
|
|
deps += [
|
2016-10-02 14:53:37 -07:00
|
|
|
":ana_config_proto",
|
2016-09-22 22:23:20 -07:00
|
|
|
":ana_debug_dump_proto",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-09-07 13:51:51 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("neteq") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2014-08-31 20:32:53 +00:00
|
|
|
sources = [
|
|
|
|
|
"neteq/accelerate.cc",
|
|
|
|
|
"neteq/accelerate.h",
|
|
|
|
|
"neteq/audio_multi_vector.cc",
|
|
|
|
|
"neteq/audio_multi_vector.h",
|
|
|
|
|
"neteq/audio_vector.cc",
|
|
|
|
|
"neteq/audio_vector.h",
|
|
|
|
|
"neteq/background_noise.cc",
|
|
|
|
|
"neteq/background_noise.h",
|
|
|
|
|
"neteq/buffer_level_filter.cc",
|
|
|
|
|
"neteq/buffer_level_filter.h",
|
|
|
|
|
"neteq/comfort_noise.cc",
|
|
|
|
|
"neteq/comfort_noise.h",
|
2016-05-02 01:50:30 -07:00
|
|
|
"neteq/cross_correlation.cc",
|
|
|
|
|
"neteq/cross_correlation.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"neteq/decision_logic.cc",
|
|
|
|
|
"neteq/decision_logic.h",
|
|
|
|
|
"neteq/decoder_database.cc",
|
|
|
|
|
"neteq/decoder_database.h",
|
|
|
|
|
"neteq/delay_manager.cc",
|
|
|
|
|
"neteq/delay_manager.h",
|
|
|
|
|
"neteq/dsp_helper.cc",
|
|
|
|
|
"neteq/dsp_helper.h",
|
|
|
|
|
"neteq/dtmf_buffer.cc",
|
|
|
|
|
"neteq/dtmf_buffer.h",
|
|
|
|
|
"neteq/dtmf_tone_generator.cc",
|
|
|
|
|
"neteq/dtmf_tone_generator.h",
|
|
|
|
|
"neteq/expand.cc",
|
|
|
|
|
"neteq/expand.h",
|
2018-04-10 15:10:26 +02:00
|
|
|
"neteq/expand_uma_logger.cc",
|
|
|
|
|
"neteq/expand_uma_logger.h",
|
2019-02-21 15:42:31 +01:00
|
|
|
"neteq/histogram.cc",
|
|
|
|
|
"neteq/histogram.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"neteq/merge.cc",
|
|
|
|
|
"neteq/merge.h",
|
2016-06-08 06:43:41 -07:00
|
|
|
"neteq/nack_tracker.cc",
|
|
|
|
|
"neteq/nack_tracker.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"neteq/neteq_impl.cc",
|
|
|
|
|
"neteq/neteq_impl.h",
|
|
|
|
|
"neteq/normal.cc",
|
|
|
|
|
"neteq/normal.h",
|
2016-04-26 07:45:16 -07:00
|
|
|
"neteq/packet.cc",
|
|
|
|
|
"neteq/packet.h",
|
2022-05-16 15:28:22 +02:00
|
|
|
"neteq/packet_arrival_history.cc",
|
|
|
|
|
"neteq/packet_arrival_history.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"neteq/packet_buffer.cc",
|
|
|
|
|
"neteq/packet_buffer.h",
|
|
|
|
|
"neteq/post_decode_vad.cc",
|
|
|
|
|
"neteq/post_decode_vad.h",
|
|
|
|
|
"neteq/preemptive_expand.cc",
|
|
|
|
|
"neteq/preemptive_expand.h",
|
|
|
|
|
"neteq/random_vector.cc",
|
|
|
|
|
"neteq/random_vector.h",
|
2016-09-22 02:06:28 -07:00
|
|
|
"neteq/red_payload_splitter.cc",
|
|
|
|
|
"neteq/red_payload_splitter.h",
|
2021-09-08 16:35:50 +02:00
|
|
|
"neteq/reorder_optimizer.cc",
|
|
|
|
|
"neteq/reorder_optimizer.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"neteq/statistics_calculator.cc",
|
|
|
|
|
"neteq/statistics_calculator.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"neteq/sync_buffer.cc",
|
|
|
|
|
"neteq/sync_buffer.h",
|
|
|
|
|
"neteq/time_stretch.cc",
|
|
|
|
|
"neteq/time_stretch.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"neteq/timestamp_scaler.cc",
|
|
|
|
|
"neteq/timestamp_scaler.h",
|
2021-09-07 14:24:56 +02:00
|
|
|
"neteq/underrun_optimizer.cc",
|
|
|
|
|
"neteq/underrun_optimizer.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-03-03 06:16:28 -08:00
|
|
|
":audio_coding_module_typedefs",
|
2018-11-01 11:13:44 +01:00
|
|
|
":webrtc_cng",
|
2018-10-23 12:03:01 +02:00
|
|
|
"..:module_api_public",
|
2018-09-05 18:14:52 +02:00
|
|
|
"../../api:array_view",
|
2019-03-20 08:40:23 +01:00
|
|
|
"../../api:rtp_headers",
|
Reland "Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker.""
This reverts commit fab3460a821abe336ab610c6d6dfc0d392dac263.
Reason for revert: fix downstream instead
Original change's description:
> Revert "Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker.""
>
> This reverts commit 9973933d2e606d64fcdc753acb9ba3afd6e30569.
>
> Reason for revert: breaking downstream projects and not reviewed by direct owners
>
> Original change's description:
> > Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker."
> >
> > This reverts commit 24192c267a40eb7d6b1850489ccdbf7a84f8ff0f.
> >
> > Reason for revert: Analyzed the performance regression in more detail.
> >
> > Most of the regression comes from the extra RtpPacketInfos-related memory allocations in every `NetEq::GetAudio()` call. Commit 1796a820f60cb9429bf4bcf13a40a41794ac8fb0 has removed roughly 2/3rds of the extra allocations from the impacted perf tests. Remaining perf impact is expected to be about "8 microseconds of CPU time per second" on the Linux benchmarking machines and "15 us per second" on Windows/Mac.
> >
> > There are options to optimize further but they are unlikely worth doing. Note for example that `NetEqPerformanceTest` uses the PCM codec while the real-world use cases would likely use the much heavier Opus codec. The numbers from `OpusSpeedTest` and `NetEqPerformanceTest` suggest that Opus decoding is about 10x as expensive as NetEq overall.
> >
> > Original change's description:
> > > Revert "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker."
> > >
> > > This reverts commit 3e8ef940fe86cf6285afb80e68d2a0bedc631b9f.
> > >
> > > Reason for revert: This CL causes a performance regression in NetEq, see https://bugs.chromium.org/p/chromium/issues/detail?id=982260.
> > >
> > > Original change's description:
> > > > Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker.
> > > >
> > > > This change adds the plumbing of RtpPacketInfo from ChannelReceive::OnRtpPacket() to ChannelReceive::GetAudioFrameWithInfo() for audio. It is a step towards replacing the non-spec compliant ContributingSources that updates itself at packet-receive time, with the spec-compliant SourceTracker that will update itself at frame-delivery-to-track time.
> > > >
> > > > Bug: webrtc:10668
> > > > Change-Id: I03385d6865bbc7bfbef7634f88de820a934f787a
> > > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/139890
> > > > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > > > Reviewed-by: Minyue Li <minyue@webrtc.org>
> > > > Commit-Queue: Chen Xing <chxg@google.com>
> > > > Cr-Commit-Position: refs/heads/master@{#28434}
> > >
> > > TBR=kwiberg@webrtc.org,stefan@webrtc.org,minyue@webrtc.org,chxg@google.com
> > >
> > > Bug: webrtc:10668, chromium:982260
> > > Change-Id: I5e2cfde78c59d1123e21869564d76ed3f6193a5c
> > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/145339
> > > Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
> > > Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
> > > Cr-Commit-Position: refs/heads/master@{#28561}
> >
> > TBR=kwiberg@webrtc.org,stefan@webrtc.org,ivoc@webrtc.org,minyue@webrtc.org,chxg@google.com
> >
> > # Not skipping CQ checks because original CL landed > 1 day ago.
> >
> > Bug: webrtc:10668, chromium:982260
> > Change-Id: Ie375a0b327ee368317bf3a04b2f1415c3a974470
> > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146707
> > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > Commit-Queue: Chen Xing <chxg@google.com>
> > Cr-Commit-Position: refs/heads/master@{#28664}
>
> TBR=kwiberg@webrtc.org,stefan@webrtc.org,ivoc@webrtc.org,minyue@webrtc.org,chxg@google.com
>
> Change-Id: I652cb0814d83b514d3bee34e65ca3bb693099b22
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:10668, chromium:982260
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146712
> Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#28671}
TBR=alessiob@webrtc.org,kwiberg@webrtc.org,stefan@webrtc.org,ivoc@webrtc.org,minyue@webrtc.org,chxg@google.com
Change-Id: Id43b7b3da79b4f48004b41767482bae1c1fa1e16
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:10668, chromium:982260
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146713
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28672}
2019-07-24 16:47:02 +00:00
|
|
|
"../../api:rtp_packet_info",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2018-04-12 22:44:09 +02:00
|
|
|
"../../api/audio:audio_frame_api",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2019-10-31 14:38:11 +01:00
|
|
|
"../../api/neteq:neteq_api",
|
|
|
|
|
"../../api/neteq:neteq_controller_api",
|
|
|
|
|
"../../api/neteq:tick_timer",
|
2014-08-31 20:32:53 +00:00
|
|
|
"../../common_audio",
|
2018-02-05 15:50:41 +01:00
|
|
|
"../../common_audio:common_audio_c",
|
2018-04-03 13:40:05 +02:00
|
|
|
"../../rtc_base:audio_format_to_string",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-19 17:47:13 +02:00
|
|
|
"../../rtc_base:event_tracer",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:gtest_prod",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2018-03-07 14:18:56 +01:00
|
|
|
"../../rtc_base:safe_minmax",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:sanitizer",
|
2019-07-03 16:00:30 +02:00
|
|
|
"../../rtc_base/experiments:field_trial_parser",
|
2020-07-07 15:53:34 +02:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
Reland "Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker.""
This reverts commit fab3460a821abe336ab610c6d6dfc0d392dac263.
Reason for revert: fix downstream instead
Original change's description:
> Revert "Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker.""
>
> This reverts commit 9973933d2e606d64fcdc753acb9ba3afd6e30569.
>
> Reason for revert: breaking downstream projects and not reviewed by direct owners
>
> Original change's description:
> > Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker."
> >
> > This reverts commit 24192c267a40eb7d6b1850489ccdbf7a84f8ff0f.
> >
> > Reason for revert: Analyzed the performance regression in more detail.
> >
> > Most of the regression comes from the extra RtpPacketInfos-related memory allocations in every `NetEq::GetAudio()` call. Commit 1796a820f60cb9429bf4bcf13a40a41794ac8fb0 has removed roughly 2/3rds of the extra allocations from the impacted perf tests. Remaining perf impact is expected to be about "8 microseconds of CPU time per second" on the Linux benchmarking machines and "15 us per second" on Windows/Mac.
> >
> > There are options to optimize further but they are unlikely worth doing. Note for example that `NetEqPerformanceTest` uses the PCM codec while the real-world use cases would likely use the much heavier Opus codec. The numbers from `OpusSpeedTest` and `NetEqPerformanceTest` suggest that Opus decoding is about 10x as expensive as NetEq overall.
> >
> > Original change's description:
> > > Revert "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker."
> > >
> > > This reverts commit 3e8ef940fe86cf6285afb80e68d2a0bedc631b9f.
> > >
> > > Reason for revert: This CL causes a performance regression in NetEq, see https://bugs.chromium.org/p/chromium/issues/detail?id=982260.
> > >
> > > Original change's description:
> > > > Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker.
> > > >
> > > > This change adds the plumbing of RtpPacketInfo from ChannelReceive::OnRtpPacket() to ChannelReceive::GetAudioFrameWithInfo() for audio. It is a step towards replacing the non-spec compliant ContributingSources that updates itself at packet-receive time, with the spec-compliant SourceTracker that will update itself at frame-delivery-to-track time.
> > > >
> > > > Bug: webrtc:10668
> > > > Change-Id: I03385d6865bbc7bfbef7634f88de820a934f787a
> > > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/139890
> > > > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > > > Reviewed-by: Minyue Li <minyue@webrtc.org>
> > > > Commit-Queue: Chen Xing <chxg@google.com>
> > > > Cr-Commit-Position: refs/heads/master@{#28434}
> > >
> > > TBR=kwiberg@webrtc.org,stefan@webrtc.org,minyue@webrtc.org,chxg@google.com
> > >
> > > Bug: webrtc:10668, chromium:982260
> > > Change-Id: I5e2cfde78c59d1123e21869564d76ed3f6193a5c
> > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/145339
> > > Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
> > > Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
> > > Cr-Commit-Position: refs/heads/master@{#28561}
> >
> > TBR=kwiberg@webrtc.org,stefan@webrtc.org,ivoc@webrtc.org,minyue@webrtc.org,chxg@google.com
> >
> > # Not skipping CQ checks because original CL landed > 1 day ago.
> >
> > Bug: webrtc:10668, chromium:982260
> > Change-Id: Ie375a0b327ee368317bf3a04b2f1415c3a974470
> > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146707
> > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > Commit-Queue: Chen Xing <chxg@google.com>
> > Cr-Commit-Position: refs/heads/master@{#28664}
>
> TBR=kwiberg@webrtc.org,stefan@webrtc.org,ivoc@webrtc.org,minyue@webrtc.org,chxg@google.com
>
> Change-Id: I652cb0814d83b514d3bee34e65ca3bb693099b22
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:10668, chromium:982260
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146712
> Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#28671}
TBR=alessiob@webrtc.org,kwiberg@webrtc.org,stefan@webrtc.org,ivoc@webrtc.org,minyue@webrtc.org,chxg@google.com
Change-Id: Id43b7b3da79b4f48004b41767482bae1c1fa1e16
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:10668, chromium:982260
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146713
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28672}
2019-07-24 16:47:02 +00:00
|
|
|
"../../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
|
|
|
|
"../../system_wrappers:metrics",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2018-10-22 09:48:08 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-06-19 13:26:36 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2014-08-31 20:32:53 +00:00
|
|
|
]
|
2014-06-23 19:21:07 +00:00
|
|
|
}
|
2016-06-13 00:19:48 -07:00
|
|
|
|
2019-11-26 12:29:05 +01:00
|
|
|
rtc_source_set("default_neteq_factory") {
|
|
|
|
|
visibility += webrtc_default_visibility
|
|
|
|
|
sources = [
|
|
|
|
|
"neteq/default_neteq_factory.cc",
|
|
|
|
|
"neteq/default_neteq_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":neteq",
|
|
|
|
|
"../../api:scoped_refptr",
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../../api/neteq:default_neteq_controller_factory",
|
|
|
|
|
"../../api/neteq:neteq_api",
|
|
|
|
|
"../../system_wrappers:system_wrappers",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-05 02:27:42 -07:00
|
|
|
# Although providing only test support, this target must be outside of the
|
|
|
|
|
# rtc_include_tests conditional. The reason is that it supports fuzzer tests
|
|
|
|
|
# that ultimately are built and run as a part of the Chromium ecosystem, which
|
|
|
|
|
# does not set the rtc_include_tests flag.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("neteq_tools_minimal") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2016-10-05 02:27:42 -07:00
|
|
|
sources = [
|
2017-04-28 00:59:45 -07:00
|
|
|
"neteq/tools/audio_sink.cc",
|
|
|
|
|
"neteq/tools/audio_sink.h",
|
2016-10-05 02:27:42 -07:00
|
|
|
"neteq/tools/encode_neteq_input.cc",
|
|
|
|
|
"neteq/tools/encode_neteq_input.h",
|
2017-04-28 01:35:53 -07:00
|
|
|
"neteq/tools/neteq_input.cc",
|
2017-04-28 00:59:45 -07:00
|
|
|
"neteq/tools/neteq_input.h",
|
2016-10-05 02:27:42 -07:00
|
|
|
"neteq/tools/neteq_test.cc",
|
|
|
|
|
"neteq/tools/neteq_test.h",
|
2017-04-28 00:59:45 -07:00
|
|
|
"neteq/tools/packet.cc",
|
|
|
|
|
"neteq/tools/packet.h",
|
|
|
|
|
"neteq/tools/packet_source.cc",
|
|
|
|
|
"neteq/tools/packet_source.h",
|
2016-10-05 02:27:42 -07:00
|
|
|
]
|
|
|
|
|
|
2016-12-07 08:23:27 -08:00
|
|
|
deps = [
|
2019-11-28 14:07:14 +01:00
|
|
|
":default_neteq_factory",
|
2016-12-07 08:23:27 -08:00
|
|
|
":neteq",
|
2021-06-16 14:23:22 +02:00
|
|
|
"../../api:array_view",
|
2018-09-03 11:49:27 +02:00
|
|
|
"../../api:neteq_simulator_api",
|
2019-03-20 08:40:23 +01:00
|
|
|
"../../api:rtp_headers",
|
2018-04-12 22:44:09 +02:00
|
|
|
"../../api/audio:audio_frame_api",
|
2017-05-02 06:46:30 -07:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2019-10-31 14:38:11 +01:00
|
|
|
"../../api/neteq:custom_neteq_factory",
|
|
|
|
|
"../../api/neteq:default_neteq_controller_factory",
|
|
|
|
|
"../../api/neteq:neteq_api",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../../rtc_base:copy_on_write_buffer",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
Reland "Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker.""
This reverts commit fab3460a821abe336ab610c6d6dfc0d392dac263.
Reason for revert: fix downstream instead
Original change's description:
> Revert "Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker.""
>
> This reverts commit 9973933d2e606d64fcdc753acb9ba3afd6e30569.
>
> Reason for revert: breaking downstream projects and not reviewed by direct owners
>
> Original change's description:
> > Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker."
> >
> > This reverts commit 24192c267a40eb7d6b1850489ccdbf7a84f8ff0f.
> >
> > Reason for revert: Analyzed the performance regression in more detail.
> >
> > Most of the regression comes from the extra RtpPacketInfos-related memory allocations in every `NetEq::GetAudio()` call. Commit 1796a820f60cb9429bf4bcf13a40a41794ac8fb0 has removed roughly 2/3rds of the extra allocations from the impacted perf tests. Remaining perf impact is expected to be about "8 microseconds of CPU time per second" on the Linux benchmarking machines and "15 us per second" on Windows/Mac.
> >
> > There are options to optimize further but they are unlikely worth doing. Note for example that `NetEqPerformanceTest` uses the PCM codec while the real-world use cases would likely use the much heavier Opus codec. The numbers from `OpusSpeedTest` and `NetEqPerformanceTest` suggest that Opus decoding is about 10x as expensive as NetEq overall.
> >
> > Original change's description:
> > > Revert "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker."
> > >
> > > This reverts commit 3e8ef940fe86cf6285afb80e68d2a0bedc631b9f.
> > >
> > > Reason for revert: This CL causes a performance regression in NetEq, see https://bugs.chromium.org/p/chromium/issues/detail?id=982260.
> > >
> > > Original change's description:
> > > > Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker.
> > > >
> > > > This change adds the plumbing of RtpPacketInfo from ChannelReceive::OnRtpPacket() to ChannelReceive::GetAudioFrameWithInfo() for audio. It is a step towards replacing the non-spec compliant ContributingSources that updates itself at packet-receive time, with the spec-compliant SourceTracker that will update itself at frame-delivery-to-track time.
> > > >
> > > > Bug: webrtc:10668
> > > > Change-Id: I03385d6865bbc7bfbef7634f88de820a934f787a
> > > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/139890
> > > > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > > > Reviewed-by: Minyue Li <minyue@webrtc.org>
> > > > Commit-Queue: Chen Xing <chxg@google.com>
> > > > Cr-Commit-Position: refs/heads/master@{#28434}
> > >
> > > TBR=kwiberg@webrtc.org,stefan@webrtc.org,minyue@webrtc.org,chxg@google.com
> > >
> > > Bug: webrtc:10668, chromium:982260
> > > Change-Id: I5e2cfde78c59d1123e21869564d76ed3f6193a5c
> > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/145339
> > > Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
> > > Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
> > > Cr-Commit-Position: refs/heads/master@{#28561}
> >
> > TBR=kwiberg@webrtc.org,stefan@webrtc.org,ivoc@webrtc.org,minyue@webrtc.org,chxg@google.com
> >
> > # Not skipping CQ checks because original CL landed > 1 day ago.
> >
> > Bug: webrtc:10668, chromium:982260
> > Change-Id: Ie375a0b327ee368317bf3a04b2f1415c3a974470
> > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146707
> > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > Commit-Queue: Chen Xing <chxg@google.com>
> > Cr-Commit-Position: refs/heads/master@{#28664}
>
> TBR=kwiberg@webrtc.org,stefan@webrtc.org,ivoc@webrtc.org,minyue@webrtc.org,chxg@google.com
>
> Change-Id: I652cb0814d83b514d3bee34e65ca3bb693099b22
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:10668, chromium:982260
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146712
> Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#28671}
TBR=alessiob@webrtc.org,kwiberg@webrtc.org,stefan@webrtc.org,ivoc@webrtc.org,minyue@webrtc.org,chxg@google.com
Change-Id: Id43b7b3da79b4f48004b41767482bae1c1fa1e16
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:10668, chromium:982260
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146713
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28672}
2019-07-24 16:47:02 +00:00
|
|
|
"../../system_wrappers",
|
2018-12-14 16:49:12 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2016-12-07 08:23:27 -08:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2018-11-08 09:46:10 +01:00
|
|
|
defines = audio_codec_defines
|
2016-10-05 02:27:42 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("neteq_test_tools") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2017-06-01 04:47:20 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"neteq/tools/audio_checksum.h",
|
|
|
|
|
"neteq/tools/audio_loop.cc",
|
|
|
|
|
"neteq/tools/audio_loop.h",
|
|
|
|
|
"neteq/tools/constant_pcm_packet_source.cc",
|
|
|
|
|
"neteq/tools/constant_pcm_packet_source.h",
|
2019-10-07 13:18:18 +02:00
|
|
|
"neteq/tools/initial_packet_inserter_neteq_input.cc",
|
|
|
|
|
"neteq/tools/initial_packet_inserter_neteq_input.h",
|
2018-07-02 14:05:37 +02:00
|
|
|
"neteq/tools/neteq_packet_source_input.cc",
|
|
|
|
|
"neteq/tools/neteq_packet_source_input.h",
|
2017-06-01 04:47:20 -07:00
|
|
|
"neteq/tools/output_audio_file.h",
|
|
|
|
|
"neteq/tools/output_wav_file.h",
|
|
|
|
|
"neteq/tools/rtp_file_source.cc",
|
|
|
|
|
"neteq/tools/rtp_file_source.h",
|
|
|
|
|
"neteq/tools/rtp_generator.cc",
|
|
|
|
|
"neteq/tools/rtp_generator.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_tools",
|
|
|
|
|
":neteq_tools_minimal",
|
2017-06-01 04:47:20 -07:00
|
|
|
":pcm16b",
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../api:array_view",
|
2019-03-20 08:40:23 +01:00
|
|
|
"../../api:rtp_headers",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../common_audio",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../rtc_base",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../../rtc_base:ssl",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2018-07-25 16:05:48 +02:00
|
|
|
"../../rtc_base/system:arch",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../test:rtp_test_utils",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2017-06-01 04:47:20 -07:00
|
|
|
]
|
2022-07-20 12:53:07 +02:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2017-06-01 04:47:20 -07:00
|
|
|
|
|
|
|
|
if (rtc_enable_protobuf) {
|
|
|
|
|
sources += [
|
2018-07-02 14:05:37 +02:00
|
|
|
"neteq/tools/neteq_event_log_input.cc",
|
|
|
|
|
"neteq/tools/neteq_event_log_input.h",
|
2017-06-01 04:47:20 -07:00
|
|
|
]
|
|
|
|
|
deps += [ ":rtc_event_log_source" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("neteq_tools") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2017-06-01 04:47:20 -07:00
|
|
|
sources = [
|
|
|
|
|
"neteq/tools/fake_decode_from_file.cc",
|
|
|
|
|
"neteq/tools/fake_decode_from_file.h",
|
2017-06-14 06:09:58 -07:00
|
|
|
"neteq/tools/neteq_delay_analyzer.cc",
|
|
|
|
|
"neteq/tools/neteq_delay_analyzer.h",
|
2017-06-01 04:47:20 -07:00
|
|
|
"neteq/tools/neteq_replacement_input.cc",
|
|
|
|
|
"neteq/tools/neteq_replacement_input.h",
|
2018-04-16 14:33:53 +02:00
|
|
|
"neteq/tools/neteq_stats_getter.cc",
|
|
|
|
|
"neteq/tools/neteq_stats_getter.h",
|
2018-09-03 11:49:27 +02:00
|
|
|
"neteq/tools/neteq_stats_plotter.cc",
|
|
|
|
|
"neteq/tools/neteq_stats_plotter.h",
|
2017-06-01 04:47:20 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_input_audio_tools",
|
|
|
|
|
":neteq_tools_minimal",
|
2019-09-23 10:31:16 +02:00
|
|
|
"..:module_api_public",
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../api:array_view",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2019-03-21 13:35:10 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-06-19 13:26:36 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-06-01 04:47:20 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("neteq_input_audio_tools") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2017-10-13 12:37:27 +02:00
|
|
|
sources = [
|
|
|
|
|
"neteq/tools/input_audio_file.cc",
|
|
|
|
|
"neteq/tools/input_audio_file.h",
|
|
|
|
|
"neteq/tools/resample_input_audio_file.cc",
|
|
|
|
|
"neteq/tools/resample_input_audio_file.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../../common_audio",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-10-13 12:37:27 +02:00
|
|
|
]
|
2022-07-20 12:53:07 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
|
2017-10-13 12:37:27 +02:00
|
|
|
}
|
|
|
|
|
|
2017-06-01 04:47:20 -07:00
|
|
|
if (rtc_enable_protobuf) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_event_log_source") {
|
2017-06-01 04:47:20 -07:00
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"neteq/tools/rtc_event_log_source.cc",
|
|
|
|
|
"neteq/tools/rtc_event_log_source.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-11-24 13:51:52 +01:00
|
|
|
":neteq_tools_minimal",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../logging:rtc_event_log_parser",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-12-12 12:46:13 +01:00
|
|
|
"../rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2017-06-01 04:47:20 -07:00
|
|
|
]
|
2022-07-20 12:53:07 +02:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2020-02-13 11:21:58 +01:00
|
|
|
public_deps = # no-presubmit-check TODO(webrtc:8603)
|
|
|
|
|
[ "../../logging:rtc_event_log_proto" ]
|
2017-06-01 04:47:20 -07:00
|
|
|
}
|
2019-11-11 18:05:42 +01:00
|
|
|
|
|
|
|
|
# Only used for test purpose. Since we want to use it from chromium
|
|
|
|
|
# (see audio_coding_modules_tests_shared below), we cannot guard it
|
|
|
|
|
# under rtc_include_tests.
|
|
|
|
|
proto_library("neteq_unittest_proto") {
|
|
|
|
|
testonly = true
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "neteq/neteq_unittest.proto" ]
|
2019-11-11 18:05:42 +01:00
|
|
|
proto_out_dir = "modules/audio_coding/neteq"
|
|
|
|
|
}
|
2017-06-01 04:47:20 -07:00
|
|
|
}
|
|
|
|
|
|
2019-11-06 21:04:55 +01:00
|
|
|
# Allow to re-use some test classes from chromium.
|
|
|
|
|
rtc_library("audio_coding_modules_tests_shared") {
|
|
|
|
|
testonly = true
|
|
|
|
|
visibility = []
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
|
|
|
|
|
sources = [
|
2019-11-11 18:05:42 +01:00
|
|
|
"neteq/test/neteq_decoding_test.cc",
|
|
|
|
|
"neteq/test/neteq_decoding_test.h",
|
|
|
|
|
"neteq/test/result_sink.cc",
|
|
|
|
|
"neteq/test/result_sink.h",
|
2019-11-06 21:04:55 +01:00
|
|
|
"test/PCMFile.cc",
|
|
|
|
|
"test/PCMFile.h",
|
|
|
|
|
"test/TestStereo.cc",
|
|
|
|
|
"test/TestStereo.h",
|
|
|
|
|
"test/opus_test.cc",
|
|
|
|
|
"test/opus_test.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_coding",
|
|
|
|
|
":audio_coding_module_typedefs",
|
2019-11-28 14:07:14 +01:00
|
|
|
":default_neteq_factory",
|
2019-11-11 18:05:42 +01:00
|
|
|
":neteq_test_tools",
|
|
|
|
|
":neteq_tools_minimal",
|
2019-11-06 21:04:55 +01:00
|
|
|
":webrtc_opus_wrapper",
|
|
|
|
|
"..:module_api",
|
2019-11-11 18:05:42 +01:00
|
|
|
"../../api:rtp_headers",
|
2019-11-06 21:04:55 +01:00
|
|
|
"../../api/audio:audio_frame_api",
|
|
|
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../../api/audio_codecs:builtin_audio_encoder_factory",
|
2019-11-11 18:05:42 +01:00
|
|
|
"../../api/neteq:neteq_api",
|
|
|
|
|
"../../rtc_base",
|
2019-11-06 21:04:55 +01:00
|
|
|
"../../rtc_base:checks",
|
2019-11-11 18:05:42 +01:00
|
|
|
"../../rtc_base:ignore_wundef",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../../rtc_base:ssl",
|
2019-11-06 21:04:55 +01:00
|
|
|
"../../rtc_base:stringutils",
|
2019-11-11 18:05:42 +01:00
|
|
|
"../../system_wrappers",
|
2019-11-06 21:04:55 +01:00
|
|
|
"../../test:fileutils",
|
|
|
|
|
"../../test:test_support",
|
2019-11-11 18:05:42 +01:00
|
|
|
"//testing/gtest",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2019-11-06 21:04:55 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
defines = audio_coding_defines
|
2019-11-11 18:05:42 +01:00
|
|
|
|
|
|
|
|
if (rtc_enable_protobuf) {
|
|
|
|
|
defines += [ "WEBRTC_NETEQ_UNITTEST_BITEXACT" ]
|
|
|
|
|
deps += [ ":neteq_unittest_proto" ]
|
|
|
|
|
}
|
2019-11-06 21:04:55 +01:00
|
|
|
}
|
|
|
|
|
|
2016-06-13 00:19:48 -07:00
|
|
|
if (rtc_include_tests) {
|
2018-11-12 14:21:58 +01:00
|
|
|
audio_coding_deps = [
|
|
|
|
|
":audio_encoder_cng",
|
|
|
|
|
":g711",
|
|
|
|
|
":g722",
|
|
|
|
|
":pcm16b",
|
2020-01-13 11:58:26 +00:00
|
|
|
"../../common_audio",
|
|
|
|
|
"../../system_wrappers",
|
2018-11-12 14:21:58 +01:00
|
|
|
]
|
|
|
|
|
if (rtc_include_ilbc) {
|
|
|
|
|
audio_coding_deps += [ ":ilbc" ]
|
|
|
|
|
}
|
|
|
|
|
if (rtc_include_opus) {
|
|
|
|
|
audio_coding_deps += [ ":webrtc_opus" ]
|
|
|
|
|
}
|
|
|
|
|
if (!build_with_mozilla && !build_with_chromium) {
|
|
|
|
|
audio_coding_deps += [ ":red" ]
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-05 11:46:26 +01:00
|
|
|
rtc_source_set("mocks") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"audio_network_adaptor/mock/mock_audio_network_adaptor.h",
|
|
|
|
|
"audio_network_adaptor/mock/mock_controller.h",
|
|
|
|
|
"audio_network_adaptor/mock/mock_controller_manager.h",
|
|
|
|
|
"audio_network_adaptor/mock/mock_debug_dump_writer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_network_adaptor",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
group("audio_coding_tests") {
|
|
|
|
|
visibility += webrtc_default_visibility
|
|
|
|
|
testonly = true
|
|
|
|
|
public_deps = [ # no-presubmit-check TODO(webrtc:8603)
|
|
|
|
|
":acm_receive_test",
|
|
|
|
|
":acm_send_test",
|
|
|
|
|
":audio_codec_speed_tests",
|
|
|
|
|
":audio_decoder_unittests",
|
|
|
|
|
":audio_decoder_unittests",
|
|
|
|
|
":g711_test",
|
|
|
|
|
":g722_test",
|
|
|
|
|
":ilbc_test",
|
|
|
|
|
":neteq_ilbc_quality_test",
|
|
|
|
|
":neteq_opus_quality_test",
|
|
|
|
|
":neteq_pcm16b_quality_test",
|
|
|
|
|
":neteq_pcmu_quality_test",
|
|
|
|
|
":neteq_speed_test",
|
|
|
|
|
":rtp_analyze",
|
|
|
|
|
":rtp_encode",
|
|
|
|
|
":rtp_jitter",
|
|
|
|
|
":rtpcat",
|
|
|
|
|
":webrtc_opus_fec_test",
|
|
|
|
|
]
|
|
|
|
|
if (rtc_enable_protobuf) {
|
|
|
|
|
public_deps += # no-presubmit-check TODO(webrtc:8603)
|
|
|
|
|
[ ":neteq_rtpplay" ]
|
|
|
|
|
}
|
2016-10-28 05:44:03 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_coding_modules_tests") {
|
2017-01-30 03:07:03 -08:00
|
|
|
testonly = true
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2017-04-25 04:04:50 -07:00
|
|
|
|
2017-01-30 03:07:03 -08:00
|
|
|
sources = [
|
|
|
|
|
"test/Channel.cc",
|
2017-05-11 07:18:06 -07:00
|
|
|
"test/Channel.h",
|
2017-01-30 03:07:03 -08:00
|
|
|
"test/EncodeDecodeTest.cc",
|
2017-05-11 07:18:06 -07:00
|
|
|
"test/EncodeDecodeTest.h",
|
2017-01-30 03:07:03 -08:00
|
|
|
"test/PacketLossTest.cc",
|
2017-05-11 07:18:06 -07:00
|
|
|
"test/PacketLossTest.h",
|
2017-01-30 03:07:03 -08:00
|
|
|
"test/RTPFile.cc",
|
2017-05-11 07:18:06 -07:00
|
|
|
"test/RTPFile.h",
|
2017-01-30 03:07:03 -08:00
|
|
|
"test/TestAllCodecs.cc",
|
2017-05-11 07:18:06 -07:00
|
|
|
"test/TestAllCodecs.h",
|
2017-01-30 03:07:03 -08:00
|
|
|
"test/TestRedFec.cc",
|
2017-05-11 07:18:06 -07:00
|
|
|
"test/TestRedFec.h",
|
2017-01-30 03:07:03 -08:00
|
|
|
"test/TestVADDTX.cc",
|
2017-05-11 07:18:06 -07:00
|
|
|
"test/TestVADDTX.h",
|
2017-01-30 03:07:03 -08:00
|
|
|
"test/Tester.cc",
|
|
|
|
|
"test/TwoWayCommunication.cc",
|
2017-05-11 07:18:06 -07:00
|
|
|
"test/TwoWayCommunication.h",
|
2017-01-30 03:07:03 -08:00
|
|
|
"test/target_delay_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_coding",
|
2017-03-03 06:16:28 -08:00
|
|
|
":audio_coding_module_typedefs",
|
2019-11-06 21:04:55 +01:00
|
|
|
":audio_coding_modules_tests_shared",
|
2018-11-01 11:13:44 +01:00
|
|
|
":audio_encoder_cng",
|
2017-01-30 03:07:03 -08:00
|
|
|
":pcm16b_c",
|
2018-10-04 12:38:03 +02:00
|
|
|
":red",
|
2019-10-29 21:36:13 +01:00
|
|
|
":webrtc_opus_wrapper",
|
2017-04-26 03:38:35 -07:00
|
|
|
"..:module_api",
|
2019-09-23 10:31:16 +02:00
|
|
|
"../../api:rtp_headers",
|
2018-04-12 22:44:09 +02:00
|
|
|
"../../api/audio:audio_frame_api",
|
2018-09-26 11:22:50 +02:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
2018-07-06 15:40:14 +02:00
|
|
|
"../../api/audio_codecs:builtin_audio_encoder_factory",
|
2018-10-04 12:38:03 +02:00
|
|
|
"../../api/audio_codecs/L16:audio_decoder_L16",
|
|
|
|
|
"../../api/audio_codecs/L16:audio_encoder_L16",
|
|
|
|
|
"../../api/audio_codecs/g711:audio_decoder_g711",
|
|
|
|
|
"../../api/audio_codecs/g711:audio_encoder_g711",
|
|
|
|
|
"../../api/audio_codecs/g722:audio_decoder_g722",
|
|
|
|
|
"../../api/audio_codecs/g722:audio_encoder_g722",
|
2018-10-01 17:26:11 +02:00
|
|
|
"../../api/audio_codecs/ilbc:audio_decoder_ilbc",
|
|
|
|
|
"../../api/audio_codecs/ilbc:audio_encoder_ilbc",
|
|
|
|
|
"../../api/audio_codecs/opus:audio_decoder_opus",
|
|
|
|
|
"../../api/audio_codecs/opus:audio_encoder_opus",
|
|
|
|
|
"../../common_audio",
|
2018-04-17 10:10:57 +02:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2020-07-07 15:53:34 +02:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../test:fileutils",
|
2022-03-15 14:29:00 +01:00
|
|
|
"../../test:scoped_key_value_config",
|
2017-01-30 03:07:03 -08:00
|
|
|
"../../test:test_support",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2018-10-22 09:48:08 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-06-19 13:26:36 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-01-30 03:07:03 -08:00
|
|
|
]
|
|
|
|
|
defines = audio_coding_defines
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_coding_perf_tests") {
|
2017-01-05 07:09:50 -08:00
|
|
|
testonly = true
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility += webrtc_default_visibility
|
2017-04-25 04:04:50 -07:00
|
|
|
|
2017-01-05 07:09:50 -08:00
|
|
|
sources = [
|
|
|
|
|
"codecs/opus/opus_complexity_unittest.cc",
|
|
|
|
|
"neteq/test/neteq_performance_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":neteq_test_support",
|
2017-04-28 00:59:45 -07:00
|
|
|
":neteq_test_tools",
|
2017-10-25 09:57:40 +02:00
|
|
|
"../../api/audio_codecs/opus:audio_encoder_opus",
|
2022-09-25 00:29:43 +02:00
|
|
|
"../../api/test/metrics:global_metrics_logger_and_exporter",
|
|
|
|
|
"../../api/test/metrics:metric",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2017-12-06 09:17:14 +01:00
|
|
|
"../../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../test:fileutils",
|
2017-01-05 07:09:50 -08:00
|
|
|
"../../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("acm_receive_test") {
|
2016-06-13 00:19:48 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2016-10-06 01:31:32 -07:00
|
|
|
"acm2/acm_receive_test.cc",
|
|
|
|
|
"acm2/acm_receive_test.h",
|
2016-06-13 00:19:48 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
defines = audio_coding_defines
|
|
|
|
|
|
2022-04-19 17:07:23 +02:00
|
|
|
deps = [
|
|
|
|
|
":audio_coding",
|
|
|
|
|
":neteq_tools",
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_tools_minimal",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../api:scoped_refptr",
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps += audio_coding_deps
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
|
2016-06-13 00:19:48 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("acm_send_test") {
|
2016-06-13 00:19:48 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2016-10-06 01:31:32 -07:00
|
|
|
"acm2/acm_send_test.cc",
|
|
|
|
|
"acm2/acm_send_test.h",
|
2016-06-13 00:19:48 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
defines = audio_coding_defines
|
|
|
|
|
|
2022-04-04 17:14:02 +02:00
|
|
|
deps = [
|
|
|
|
|
":audio_coding",
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_input_audio_tools",
|
2022-04-04 17:14:02 +02:00
|
|
|
":neteq_tools",
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_tools_minimal",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../api/audio:audio_frame_api",
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../../api/audio_codecs:builtin_audio_encoder_factory",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:stringutils",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
deps += audio_coding_deps
|
2021-01-29 10:50:19 +00:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
|
2016-06-13 00:19:48 -07:00
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
audio_decoder_unittests_resources =
|
|
|
|
|
[ "../../resources/audio_coding/testfile32kHz.pcm" ]
|
2016-08-30 02:53:49 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (is_ios) {
|
|
|
|
|
bundle_data("audio_decoder_unittests_bundle_data") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = audio_decoder_unittests_resources
|
|
|
|
|
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
|
|
|
|
}
|
2016-08-30 02:53:49 -07:00
|
|
|
}
|
2016-08-01 07:49:42 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_test("audio_decoder_unittests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "neteq/audio_decoder_unittest.cc" ]
|
2016-08-01 07:49:42 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
defines = neteq_defines
|
2016-09-14 05:10:01 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":ilbc",
|
|
|
|
|
":neteq",
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_input_audio_tools",
|
2021-02-01 09:56:37 +00:00
|
|
|
":neteq_tools",
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../../api/audio_codecs/opus:audio_encoder_opus",
|
|
|
|
|
"../../common_audio",
|
|
|
|
|
"../../rtc_base/system:arch",
|
2022-06-24 14:23:17 +02:00
|
|
|
"../../test:fileutils",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../test:test_main",
|
|
|
|
|
"../../test:test_support",
|
2022-06-24 14:23:17 +02:00
|
|
|
"//testing/gtest",
|
2021-02-01 09:56:37 +00:00
|
|
|
] + audio_coding_deps
|
|
|
|
|
|
|
|
|
|
data = audio_decoder_unittests_resources
|
|
|
|
|
|
|
|
|
|
if (is_android) {
|
2022-04-19 15:32:37 +02:00
|
|
|
use_default_launcher = false
|
|
|
|
|
deps += [
|
|
|
|
|
"//build/android/gtest_apk:native_test_instrumentation_test_runner_java",
|
|
|
|
|
"//testing/android/native_test:native_test_java",
|
|
|
|
|
"//testing/android/native_test:native_test_support",
|
|
|
|
|
]
|
2021-02-01 09:56:37 +00:00
|
|
|
shard_timeout = 900
|
|
|
|
|
}
|
|
|
|
|
if (is_ios) {
|
|
|
|
|
deps += [ ":audio_decoder_unittests_bundle_data" ]
|
|
|
|
|
}
|
2016-08-01 07:49:42 -07:00
|
|
|
}
|
2018-07-20 13:59:20 +02:00
|
|
|
}
|
2016-08-01 07:49:42 -07:00
|
|
|
|
2016-06-13 00:19:48 -07:00
|
|
|
if (rtc_enable_protobuf) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("neteq_test_factory") {
|
2016-06-21 05:38:42 -07:00
|
|
|
testonly = true
|
2018-09-03 11:49:27 +02:00
|
|
|
visibility += webrtc_default_visibility
|
2018-11-08 09:46:10 +01:00
|
|
|
defines = audio_codec_defines
|
2017-04-26 03:38:35 -07:00
|
|
|
deps = [
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_input_audio_tools",
|
|
|
|
|
":neteq_tools",
|
|
|
|
|
":neteq_tools_minimal",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-05 02:54:12 +02:00
|
|
|
"../../rtc_base:refcount",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../test:fileutils",
|
2017-04-26 03:38:35 -07:00
|
|
|
]
|
2022-07-20 12:53:07 +02:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2016-06-21 05:38:42 -07:00
|
|
|
sources = [
|
2018-09-03 11:49:27 +02:00
|
|
|
"neteq/tools/neteq_test_factory.cc",
|
|
|
|
|
"neteq/tools/neteq_test_factory.h",
|
2016-06-21 05:38:42 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps += [
|
|
|
|
|
":neteq",
|
2017-04-28 00:59:45 -07:00
|
|
|
":neteq_test_tools",
|
2018-12-19 15:06:17 +01:00
|
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
2019-10-31 14:38:11 +01:00
|
|
|
"../../api/neteq:neteq_api",
|
2022-07-20 10:20:33 +02:00
|
|
|
"../../test:audio_test_common",
|
2019-10-07 13:18:18 +02:00
|
|
|
"../../test:field_trial",
|
2016-06-21 05:38:42 -07:00
|
|
|
"../../test:test_support",
|
2018-09-03 11:49:27 +02:00
|
|
|
]
|
|
|
|
|
}
|
2021-02-01 09:56:37 +00:00
|
|
|
}
|
2018-09-03 11:49:27 +02:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (rtc_enable_protobuf && !build_with_chromium) {
|
2019-07-25 09:48:14 +02:00
|
|
|
rtc_executable("neteq_rtpplay") {
|
2018-09-03 11:49:27 +02:00
|
|
|
testonly = true
|
2019-03-15 14:00:24 +01:00
|
|
|
visibility += [ "*" ]
|
2018-09-03 11:49:27 +02:00
|
|
|
defines = []
|
|
|
|
|
deps = [
|
|
|
|
|
":neteq_test_factory",
|
|
|
|
|
":neteq_test_tools",
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_tools_minimal",
|
2019-03-13 11:51:44 +01:00
|
|
|
"../../rtc_base:stringutils",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2018-09-11 10:30:58 +02:00
|
|
|
"../../test:field_trial",
|
2019-06-27 15:59:09 +02:00
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:parse",
|
2019-03-13 11:51:44 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-09-03 11:49:27 +02:00
|
|
|
]
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "neteq/tools/neteq_rtpplay.cc" ]
|
2016-06-21 05:38:42 -07:00
|
|
|
}
|
2016-06-13 00:19:48 -07:00
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
audio_codec_speed_tests_resources = [
|
|
|
|
|
"//resources/audio_coding/music_stereo_48kHz.pcm",
|
|
|
|
|
"//resources/audio_coding/speech_mono_16kHz.pcm",
|
|
|
|
|
"//resources/audio_coding/speech_mono_32_48kHz.pcm",
|
|
|
|
|
]
|
2017-07-27 05:49:57 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (is_ios) {
|
|
|
|
|
bundle_data("audio_codec_speed_tests_data") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = audio_codec_speed_tests_resources
|
|
|
|
|
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
|
|
|
|
}
|
2017-07-27 05:49:57 -07:00
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_test("audio_codec_speed_tests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
defines = []
|
2022-04-04 15:18:46 +02:00
|
|
|
deps = [
|
|
|
|
|
"../../rtc_base:macromagic",
|
|
|
|
|
"../../test:fileutils",
|
|
|
|
|
]
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [
|
|
|
|
|
"codecs/opus/opus_speed_test.cc",
|
|
|
|
|
"codecs/tools/audio_codec_speed_test.cc",
|
|
|
|
|
"codecs/tools/audio_codec_speed_test.h",
|
|
|
|
|
]
|
2016-07-28 02:34:30 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
data = audio_codec_speed_tests_resources
|
2017-07-27 05:49:57 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (is_android) {
|
2022-04-19 15:32:37 +02:00
|
|
|
use_default_launcher = false
|
|
|
|
|
deps += [
|
|
|
|
|
"//build/android/gtest_apk:native_test_instrumentation_test_runner_java",
|
|
|
|
|
"//testing/android/native_test:native_test_java",
|
|
|
|
|
"//testing/android/native_test:native_test_support",
|
|
|
|
|
]
|
2021-02-01 09:56:37 +00:00
|
|
|
shard_timeout = 900
|
|
|
|
|
}
|
2016-07-28 02:34:30 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (is_ios) {
|
|
|
|
|
deps += [ ":audio_codec_speed_tests_data" ]
|
|
|
|
|
}
|
2017-07-27 05:49:57 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps += [
|
|
|
|
|
":webrtc_opus",
|
2021-07-08 20:08:20 +02:00
|
|
|
"../../rtc_base:checks",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../test:test_main",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
"../audio_processing",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-07-28 02:34:30 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("neteq_test_support") {
|
2016-06-13 00:19:48 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"neteq/tools/neteq_performance_test.cc",
|
|
|
|
|
"neteq/tools/neteq_performance_test.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2019-11-28 14:07:14 +01:00
|
|
|
":default_neteq_factory",
|
2016-06-13 00:19:48 -07:00
|
|
|
":neteq",
|
2017-04-28 00:59:45 -07:00
|
|
|
":neteq_test_tools",
|
2016-06-13 00:19:48 -07:00
|
|
|
":pcm16b",
|
2018-04-12 22:44:09 +02:00
|
|
|
"../../api/audio:audio_frame_api",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
2019-10-31 14:38:11 +01:00
|
|
|
"../../api/neteq:neteq_api",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2016-12-07 08:23:27 -08:00
|
|
|
"../../system_wrappers",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../test:fileutils",
|
2016-12-07 08:23:27 -08:00
|
|
|
"../../test:test_support",
|
2016-06-13 00:19:48 -07:00
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
rtc_library("neteq_quality_test_support") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"neteq/tools/neteq_quality_test.cc",
|
|
|
|
|
"neteq/tools/neteq_quality_test.h",
|
|
|
|
|
]
|
2016-08-02 01:45:50 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":default_neteq_factory",
|
|
|
|
|
":neteq",
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_input_audio_tools",
|
2021-02-01 09:56:37 +00:00
|
|
|
":neteq_test_tools",
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_tools_minimal",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../../api/neteq:neteq_api",
|
|
|
|
|
"../../rtc_base:checks",
|
2022-10-11 19:22:00 +00:00
|
|
|
"../../rtc_base:stringutils",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../system_wrappers",
|
|
|
|
|
"../../test:fileutils",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
2022-07-20 12:53:07 +02:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
]
|
2021-02-01 09:56:37 +00:00
|
|
|
}
|
2016-08-02 01:45:50 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("rtp_encode") {
|
|
|
|
|
testonly = true
|
2016-08-02 01:45:50 -07:00
|
|
|
|
2022-04-19 17:07:23 +02:00
|
|
|
deps = [
|
|
|
|
|
":audio_coding",
|
|
|
|
|
":audio_encoder_cng",
|
|
|
|
|
":neteq_input_audio_tools",
|
|
|
|
|
"../../api/audio:audio_frame_api",
|
|
|
|
|
"../../api/audio_codecs/L16:audio_encoder_L16",
|
|
|
|
|
"../../api/audio_codecs/g711:audio_encoder_g711",
|
|
|
|
|
"../../api/audio_codecs/g722:audio_encoder_g722",
|
|
|
|
|
"../../api/audio_codecs/ilbc:audio_encoder_ilbc",
|
|
|
|
|
"../../api/audio_codecs/opus:audio_encoder_opus",
|
|
|
|
|
"../../rtc_base:safe_conversions",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:parse",
|
|
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps += audio_coding_deps
|
2021-02-01 09:56:37 +00:00
|
|
|
|
|
|
|
|
sources = [ "neteq/tools/rtp_encode.cc" ]
|
|
|
|
|
|
|
|
|
|
defines = audio_coding_defines
|
|
|
|
|
}
|
2016-08-02 01:45:50 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("rtp_jitter") {
|
|
|
|
|
testonly = true
|
2016-08-02 02:05:03 -07:00
|
|
|
|
2022-04-19 17:07:23 +02:00
|
|
|
deps = [
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../rtc_base:buffer",
|
|
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps += audio_coding_deps
|
2017-11-24 13:39:39 +01:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [ "neteq/tools/rtp_jitter.cc" ]
|
2016-08-02 02:05:03 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
defines = audio_coding_defines
|
|
|
|
|
}
|
2016-08-02 02:05:03 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("rtpcat") {
|
|
|
|
|
testonly = true
|
2016-08-02 04:27:25 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [ "neteq/tools/rtpcat.cc" ]
|
2016-08-02 04:27:25 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../test:rtp_test_utils",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-08-02 04:27:25 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("rtp_analyze") {
|
|
|
|
|
testonly = true
|
2016-07-26 06:46:19 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [ "neteq/tools/rtp_analyze.cc" ]
|
2016-07-26 06:46:19 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":neteq",
|
|
|
|
|
":neteq_test_tools",
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_tools_minimal",
|
2021-02-01 09:56:37 +00:00
|
|
|
":pcm16b",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:parse",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-08-10 02:11:30 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("neteq_opus_quality_test") {
|
|
|
|
|
testonly = true
|
2016-08-10 02:11:30 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [ "neteq/test/neteq_opus_quality_test.cc" ]
|
2016-08-10 02:11:30 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":neteq",
|
|
|
|
|
":neteq_quality_test_support",
|
|
|
|
|
":neteq_tools",
|
|
|
|
|
":webrtc_opus",
|
|
|
|
|
"../../test:test_main",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-08-10 04:16:36 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("neteq_speed_test") {
|
|
|
|
|
testonly = true
|
2016-08-10 04:16:36 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [ "neteq/test/neteq_speed_test.cc" ]
|
2016-08-10 04:16:36 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":neteq",
|
|
|
|
|
":neteq_test_support",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:parse",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-08-10 04:55:20 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("neteq_ilbc_quality_test") {
|
|
|
|
|
testonly = true
|
2016-08-10 04:55:20 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [ "neteq/test/neteq_ilbc_quality_test.cc" ]
|
2016-08-10 04:55:20 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":ilbc",
|
|
|
|
|
":neteq",
|
|
|
|
|
":neteq_quality_test_support",
|
|
|
|
|
":neteq_tools",
|
|
|
|
|
"../../rtc_base:checks",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../test:fileutils",
|
|
|
|
|
"../../test:test_main",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-08-10 05:04:47 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("neteq_pcmu_quality_test") {
|
|
|
|
|
testonly = true
|
2016-08-10 05:06:27 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [ "neteq/test/neteq_pcmu_quality_test.cc" ]
|
2016-08-10 05:06:27 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":g711",
|
|
|
|
|
":neteq",
|
|
|
|
|
":neteq_quality_test_support",
|
|
|
|
|
"../../rtc_base:checks",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../test:fileutils",
|
|
|
|
|
"../../test:test_main",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-08-16 01:47:16 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("neteq_pcm16b_quality_test") {
|
|
|
|
|
testonly = true
|
2018-02-02 17:21:46 +01:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [ "neteq/test/neteq_pcm16b_quality_test.cc" ]
|
2018-02-02 17:21:46 +01:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":neteq",
|
|
|
|
|
":neteq_quality_test_support",
|
|
|
|
|
":pcm16b",
|
|
|
|
|
"../../rtc_base:checks",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../test:fileutils",
|
|
|
|
|
"../../test:test_main",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-08-16 01:47:16 -07:00
|
|
|
}
|
2016-08-23 08:08:23 -07:00
|
|
|
|
2016-09-02 04:10:34 -07:00
|
|
|
rtc_executable("g711_test") {
|
2016-08-23 08:08:23 -07:00
|
|
|
testonly = true
|
|
|
|
|
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "codecs/g711/test/testG711.cc" ]
|
2016-08-23 08:08:23 -07:00
|
|
|
|
2020-01-16 14:41:10 +01:00
|
|
|
deps = [ ":g711" ]
|
2016-08-23 08:08:23 -07:00
|
|
|
}
|
2016-08-23 08:36:10 -07:00
|
|
|
|
2016-09-02 04:10:34 -07:00
|
|
|
rtc_executable("g722_test") {
|
2016-08-23 08:36:10 -07:00
|
|
|
testonly = true
|
|
|
|
|
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "codecs/g722/test/testG722.cc" ]
|
2016-08-23 08:36:10 -07:00
|
|
|
|
2020-01-16 14:41:10 +01:00
|
|
|
deps = [ ":g722" ]
|
2016-08-23 08:36:10 -07:00
|
|
|
}
|
2016-08-24 06:11:18 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
rtc_executable("ilbc_test") {
|
|
|
|
|
testonly = true
|
2016-08-29 04:09:19 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [ "codecs/ilbc/test/iLBC_test.c" ]
|
2016-08-29 04:09:19 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [ ":ilbc" ]
|
|
|
|
|
}
|
2016-08-29 04:09:19 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_executable("webrtc_opus_fec_test") {
|
|
|
|
|
testonly = true
|
2016-08-24 06:11:18 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [ "codecs/opus/opus_fec_test.cc" ]
|
2016-08-24 06:11:18 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":webrtc_opus",
|
|
|
|
|
"../../common_audio",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../test:fileutils",
|
|
|
|
|
"../../test:test_main",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-01-19 08:27:11 -08:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_library("audio_coding_unittests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
visibility += webrtc_default_visibility
|
2017-01-19 08:27:11 -08:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [
|
|
|
|
|
"acm2/acm_receiver_unittest.cc",
|
|
|
|
|
"acm2/acm_remixing_unittest.cc",
|
|
|
|
|
"acm2/audio_coding_module_unittest.cc",
|
|
|
|
|
"acm2/call_statistics_unittest.cc",
|
|
|
|
|
"audio_network_adaptor/audio_network_adaptor_impl_unittest.cc",
|
|
|
|
|
"audio_network_adaptor/bitrate_controller_unittest.cc",
|
|
|
|
|
"audio_network_adaptor/channel_controller_unittest.cc",
|
|
|
|
|
"audio_network_adaptor/controller_manager_unittest.cc",
|
|
|
|
|
"audio_network_adaptor/dtx_controller_unittest.cc",
|
|
|
|
|
"audio_network_adaptor/event_log_writer_unittest.cc",
|
|
|
|
|
"audio_network_adaptor/fec_controller_plr_based_unittest.cc",
|
|
|
|
|
"audio_network_adaptor/frame_length_controller_unittest.cc",
|
|
|
|
|
"audio_network_adaptor/frame_length_controller_v2_unittest.cc",
|
|
|
|
|
"audio_network_adaptor/util/threshold_curve_unittest.cc",
|
|
|
|
|
"codecs/builtin_audio_decoder_factory_unittest.cc",
|
|
|
|
|
"codecs/builtin_audio_encoder_factory_unittest.cc",
|
|
|
|
|
"codecs/cng/audio_encoder_cng_unittest.cc",
|
|
|
|
|
"codecs/cng/cng_unittest.cc",
|
|
|
|
|
"codecs/ilbc/ilbc_unittest.cc",
|
|
|
|
|
"codecs/legacy_encoded_audio_frame_unittest.cc",
|
|
|
|
|
"codecs/opus/audio_decoder_multi_channel_opus_unittest.cc",
|
|
|
|
|
"codecs/opus/audio_encoder_multi_channel_opus_unittest.cc",
|
|
|
|
|
"codecs/opus/audio_encoder_opus_unittest.cc",
|
|
|
|
|
"codecs/opus/opus_bandwidth_unittest.cc",
|
|
|
|
|
"codecs/opus/opus_unittest.cc",
|
|
|
|
|
"codecs/red/audio_encoder_copy_red_unittest.cc",
|
|
|
|
|
"neteq/audio_multi_vector_unittest.cc",
|
|
|
|
|
"neteq/audio_vector_unittest.cc",
|
|
|
|
|
"neteq/background_noise_unittest.cc",
|
|
|
|
|
"neteq/buffer_level_filter_unittest.cc",
|
|
|
|
|
"neteq/comfort_noise_unittest.cc",
|
|
|
|
|
"neteq/decision_logic_unittest.cc",
|
|
|
|
|
"neteq/decoder_database_unittest.cc",
|
|
|
|
|
"neteq/delay_manager_unittest.cc",
|
|
|
|
|
"neteq/dsp_helper_unittest.cc",
|
|
|
|
|
"neteq/dtmf_buffer_unittest.cc",
|
|
|
|
|
"neteq/dtmf_tone_generator_unittest.cc",
|
|
|
|
|
"neteq/expand_unittest.cc",
|
|
|
|
|
"neteq/histogram_unittest.cc",
|
|
|
|
|
"neteq/merge_unittest.cc",
|
|
|
|
|
"neteq/mock/mock_buffer_level_filter.h",
|
|
|
|
|
"neteq/mock/mock_decoder_database.h",
|
|
|
|
|
"neteq/mock/mock_delay_manager.h",
|
|
|
|
|
"neteq/mock/mock_dtmf_buffer.h",
|
|
|
|
|
"neteq/mock/mock_dtmf_tone_generator.h",
|
|
|
|
|
"neteq/mock/mock_expand.h",
|
|
|
|
|
"neteq/mock/mock_histogram.h",
|
|
|
|
|
"neteq/mock/mock_neteq_controller.h",
|
|
|
|
|
"neteq/mock/mock_packet_buffer.h",
|
|
|
|
|
"neteq/mock/mock_red_payload_splitter.h",
|
|
|
|
|
"neteq/mock/mock_statistics_calculator.h",
|
|
|
|
|
"neteq/nack_tracker_unittest.cc",
|
|
|
|
|
"neteq/neteq_decoder_plc_unittest.cc",
|
|
|
|
|
"neteq/neteq_impl_unittest.cc",
|
|
|
|
|
"neteq/neteq_network_stats_unittest.cc",
|
|
|
|
|
"neteq/neteq_stereo_unittest.cc",
|
|
|
|
|
"neteq/neteq_unittest.cc",
|
|
|
|
|
"neteq/normal_unittest.cc",
|
2022-05-16 15:28:22 +02:00
|
|
|
"neteq/packet_arrival_history_unittest.cc",
|
2021-02-01 09:56:37 +00:00
|
|
|
"neteq/packet_buffer_unittest.cc",
|
|
|
|
|
"neteq/post_decode_vad_unittest.cc",
|
|
|
|
|
"neteq/random_vector_unittest.cc",
|
|
|
|
|
"neteq/red_payload_splitter_unittest.cc",
|
2021-09-08 16:35:50 +02:00
|
|
|
"neteq/reorder_optimizer_unittest.cc",
|
2021-02-01 09:56:37 +00:00
|
|
|
"neteq/statistics_calculator_unittest.cc",
|
|
|
|
|
"neteq/sync_buffer_unittest.cc",
|
|
|
|
|
"neteq/time_stretch_unittest.cc",
|
|
|
|
|
"neteq/timestamp_scaler_unittest.cc",
|
|
|
|
|
"neteq/tools/input_audio_file_unittest.cc",
|
|
|
|
|
"neteq/tools/packet_unittest.cc",
|
2021-09-07 14:24:56 +02:00
|
|
|
"neteq/underrun_optimizer_unittest.cc",
|
2021-02-01 09:56:37 +00:00
|
|
|
]
|
2017-01-19 08:27:11 -08:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
deps = [
|
|
|
|
|
":acm_receive_test",
|
|
|
|
|
":acm_send_test",
|
|
|
|
|
":audio_coding",
|
|
|
|
|
":audio_coding_module_typedefs",
|
|
|
|
|
":audio_coding_modules_tests_shared",
|
|
|
|
|
":audio_coding_opus_common",
|
|
|
|
|
":audio_encoder_cng",
|
|
|
|
|
":audio_network_adaptor",
|
|
|
|
|
":default_neteq_factory",
|
|
|
|
|
":g711",
|
|
|
|
|
":ilbc",
|
|
|
|
|
":legacy_encoded_audio_frame",
|
|
|
|
|
":mocks",
|
|
|
|
|
":neteq",
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_input_audio_tools",
|
2021-02-01 09:56:37 +00:00
|
|
|
":neteq_test_support",
|
|
|
|
|
":neteq_test_tools",
|
2022-06-24 14:23:17 +02:00
|
|
|
":neteq_tools",
|
|
|
|
|
":neteq_tools_minimal",
|
2021-02-01 09:56:37 +00:00
|
|
|
":pcm16b",
|
|
|
|
|
":red",
|
|
|
|
|
":webrtc_cng",
|
|
|
|
|
":webrtc_opus",
|
|
|
|
|
"..:module_api",
|
|
|
|
|
"..:module_api_public",
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../api/audio:audio_frame_api",
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../../api/audio_codecs:builtin_audio_encoder_factory",
|
|
|
|
|
"../../api/audio_codecs/opus:audio_decoder_multiopus",
|
|
|
|
|
"../../api/audio_codecs/opus:audio_decoder_opus",
|
|
|
|
|
"../../api/audio_codecs/opus:audio_encoder_multiopus",
|
|
|
|
|
"../../api/audio_codecs/opus:audio_encoder_opus",
|
|
|
|
|
"../../api/neteq:default_neteq_controller_factory",
|
|
|
|
|
"../../api/neteq:neteq_api",
|
|
|
|
|
"../../api/neteq:neteq_controller_api",
|
|
|
|
|
"../../api/neteq:tick_timer",
|
|
|
|
|
"../../api/neteq:tick_timer_unittest",
|
|
|
|
|
"../../api/rtc_event_log",
|
|
|
|
|
"../../common_audio",
|
|
|
|
|
"../../common_audio:common_audio_c",
|
|
|
|
|
"../../common_audio:mock_common_audio",
|
|
|
|
|
"../../logging:mocks",
|
|
|
|
|
"../../logging:rtc_event_audio",
|
|
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../../rtc_base",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:ignore_wundef",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-14 12:18:28 +02:00
|
|
|
"../../rtc_base:platform_thread",
|
2022-04-05 02:54:12 +02:00
|
|
|
"../../rtc_base:refcount",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../rtc_base:rtc_base_tests_utils",
|
2022-04-04 16:57:52 +02:00
|
|
|
"../../rtc_base:rtc_event",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../rtc_base:sanitizer",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../../rtc_base:ssl",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../rtc_base:timeutils",
|
|
|
|
|
"../../rtc_base/synchronization:mutex",
|
|
|
|
|
"../../rtc_base/system:arch",
|
|
|
|
|
"../../system_wrappers",
|
|
|
|
|
"../../test:audio_codec_mocks",
|
2022-07-20 10:20:33 +02:00
|
|
|
"../../test:audio_test_common",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../test:field_trial",
|
|
|
|
|
"../../test:fileutils",
|
|
|
|
|
"../../test:rtc_expect_death",
|
|
|
|
|
"../../test:rtp_test_utils",
|
2022-03-16 13:50:58 +01:00
|
|
|
"../../test:scoped_key_value_config",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../../test:test_common",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
"codecs/opus/test",
|
|
|
|
|
"codecs/opus/test:test_unittest",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2017-01-19 08:27:11 -08:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
defines = audio_coding_defines
|
2017-01-19 08:27:11 -08:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (rtc_enable_protobuf) {
|
|
|
|
|
defines += [ "WEBRTC_NETEQ_UNITTEST_BITEXACT" ]
|
|
|
|
|
deps += [
|
|
|
|
|
":ana_config_proto",
|
|
|
|
|
":neteq_unittest_proto",
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-01-19 08:27:11 -08:00
|
|
|
}
|
|
|
|
|
}
|
2016-06-13 00:19:48 -07:00
|
|
|
}
|
2017-02-10 08:15:44 -08:00
|
|
|
|
|
|
|
|
# For backwards compatibility only! Use
|
|
|
|
|
# webrtc/api/audio_codecs:audio_codecs_api instead.
|
|
|
|
|
# TODO(kwiberg): Remove this.
|
|
|
|
|
rtc_source_set("audio_decoder_interface") {
|
2017-12-12 10:41:29 +01:00
|
|
|
visibility += [ "*" ]
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "codecs/audio_decoder.h" ]
|
|
|
|
|
deps = [ "../../api/audio_codecs:audio_codecs_api" ]
|
2017-02-10 08:15:44 -08:00
|
|
|
}
|
|
|
|
|
|
2017-05-02 06:46:30 -07:00
|
|
|
# For backwards compatibility only! Use
|
|
|
|
|
# webrtc/api/audio_codecs:audio_codecs_api instead.
|
|
|
|
|
# TODO(ossu): Remove this.
|
|
|
|
|
rtc_source_set("audio_encoder_interface") {
|
2017-12-12 10:41:29 +01:00
|
|
|
visibility += [ "*" ]
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "codecs/audio_encoder.h" ]
|
|
|
|
|
deps = [ "../../api/audio_codecs:audio_codecs_api" ]
|
2017-05-02 06:46:30 -07:00
|
|
|
}
|