blob: 43c05fa6624ece10cfccf8a16615ee214e177ecc [file] [log] [blame]
# Copyright (c) 2023 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
import("../../../webrtc.gni")
visibility = [
":*",
"../:video_coding_legacy",
"../:video_coding_unittests",
]
rtc_library("deprecated_decoding_state") {
sources = [
"decoding_state.cc",
"decoding_state.h",
]
deps = [
":deprecated_frame_buffer",
":deprecated_jitter_buffer_common",
":deprecated_packet",
"../../../common_video",
"../../../modules:module_api_public",
"../../../rtc_base:logging",
]
}
rtc_library("deprecated_event_wrapper") {
sources = [
"event_wrapper.cc",
"event_wrapper.h",
]
deps = [ "../../../rtc_base:rtc_event" ]
}
rtc_library("deprecated_jitter_buffer_common") {
sources = [ "jitter_buffer_common.h" ]
}
rtc_library("deprecated_jitter_buffer") {
sources = [
"jitter_buffer.cc",
"jitter_buffer.h",
]
deps = [
":deprecated_decoding_state",
":deprecated_event_wrapper",
":deprecated_frame_buffer",
":deprecated_jitter_buffer_common",
":deprecated_packet",
"../../../api:field_trials_view",
"../../../api/units:timestamp",
"../../../modules:module_api",
"../../../modules:module_api_public",
"../../../modules/video_coding:video_codec_interface",
"../../../modules/video_coding/timing:inter_frame_delay_variation_calculator",
"../../../modules/video_coding/timing:jitter_estimator",
"../../../rtc_base:checks",
"../../../rtc_base:logging",
"../../../rtc_base:macromagic",
"../../../rtc_base/synchronization:mutex",
"../../../system_wrappers",
]
}
rtc_library("deprecated_frame_buffer") {
sources = [
"frame_buffer.cc",
"frame_buffer.h",
]
deps = [
":deprecated_jitter_buffer_common",
":deprecated_packet",
":deprecated_session_info",
"../../../api/video:encoded_image",
"../../../api/video:video_rtp_headers",
"../../../modules/video_coding:codec_globals_headers",
"../../../modules/video_coding:encoded_frame",
"../../../rtc_base:checks",
"../../../rtc_base:event_tracer",
"../../../rtc_base:logging",
]
}
rtc_library("deprecated_packet") {
sources = [
"packet.cc",
"packet.h",
]
deps = [
"../../../api:rtp_headers",
"../../../api:rtp_packet_info",
"../../../api/units:timestamp",
"../../../api/video:video_frame_type",
"../../../modules/rtp_rtcp:rtp_rtcp_format",
"../../../modules/rtp_rtcp:rtp_video_header",
]
}
rtc_library("deprecated_receiver") {
sources = [
"receiver.cc",
"receiver.h",
]
deps = [
":deprecated_event_wrapper",
":deprecated_jitter_buffer",
":deprecated_jitter_buffer_common",
":deprecated_packet",
"../../../api:field_trials_view",
"../../../api/video:encoded_image",
"../../../modules/video_coding",
"../../../modules/video_coding:encoded_frame",
"../../../modules/video_coding:video_codec_interface",
"../../../modules/video_coding/timing:timing_module",
"../../../rtc_base:event_tracer",
"../../../rtc_base:logging",
"../../../rtc_base:safe_conversions",
"../../../system_wrappers",
"//third_party/abseil-cpp/absl/memory",
]
}
rtc_library("deprecated_session_info") {
deps = [
":deprecated_jitter_buffer_common",
":deprecated_packet",
"../../../modules:module_api",
"../../../modules:module_api_public",
"../../../modules/video_coding:codec_globals_headers",
"../../../rtc_base:logging",
"//third_party/abseil-cpp/absl/algorithm:container",
"//third_party/abseil-cpp/absl/types:variant",
]
sources = [
"session_info.cc",
"session_info.h",
]
}
rtc_library("deprecated_stream_generator") {
deps = [
":deprecated_packet",
"../../../rtc_base:checks",
]
sources = [
"stream_generator.cc",
"stream_generator.h",
]
}
rtc_library("deprecated_unittests") {
testonly = true
sources = [
"decoding_state_unittest.cc",
"jitter_buffer_unittest.cc",
"receiver_unittest.cc",
"session_info_unittest.cc",
]
visibility += [ "../../../modules/*" ]
deps = [
":deprecated_decoding_state",
":deprecated_frame_buffer",
":deprecated_jitter_buffer",
":deprecated_jitter_buffer_common",
":deprecated_packet",
":deprecated_receiver",
":deprecated_session_info",
":deprecated_stream_generator",
"../../../common_video",
"../../../modules/rtp_rtcp:rtp_video_header",
"../../../modules/video_coding:codec_globals_headers",
"../../../modules/video_coding:encoded_frame",
"../../../modules/video_coding/timing:timing_module",
"../../../rtc_base:checks",
"../../../system_wrappers",
"../../../test:scoped_key_value_config",
"../../../test:test_support",
"//third_party/abseil-cpp/absl/memory",
]
}