Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 1 | # Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license |
| 4 | # that can be found in the LICENSE file in the root of the source |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | import("../../webrtc.gni") |
| 10 | |
| 11 | rtc_source_set("video_frame") { |
| 12 | visibility = [ "*" ] |
| 13 | sources = [ |
Emircan Uysaler | 800787f | 2018-07-16 10:01:49 -0700 | [diff] [blame^] | 14 | "color_space.cc", |
| 15 | "color_space.h", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 16 | "video_content_type.cc", |
| 17 | "video_content_type.h", |
| 18 | "video_frame.cc", |
| 19 | "video_frame.h", |
| 20 | "video_frame_buffer.cc", |
| 21 | "video_frame_buffer.h", |
| 22 | "video_rotation.h", |
| 23 | "video_sink_interface.h", |
Niels Möller | 0327c2d | 2018-05-21 14:09:31 +0200 | [diff] [blame] | 24 | "video_source_interface.cc", |
| 25 | "video_source_interface.h", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 26 | "video_timing.cc", |
| 27 | "video_timing.h", |
| 28 | ] |
| 29 | |
| 30 | deps = [ |
| 31 | "../../rtc_base:checks", |
| 32 | "../../rtc_base:rtc_base_approved", |
Danil Chapovalov | 0bc58cf | 2018-06-21 13:32:56 +0200 | [diff] [blame] | 33 | "//third_party/abseil-cpp/absl/types:optional", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 34 | ] |
| 35 | } |
| 36 | |
| 37 | rtc_source_set("video_frame_i420") { |
| 38 | visibility = [ "*" ] |
| 39 | sources = [ |
| 40 | "i420_buffer.cc", |
| 41 | "i420_buffer.h", |
| 42 | ] |
| 43 | deps = [ |
| 44 | ":video_frame", |
| 45 | "../../rtc_base:checks", |
| 46 | "../../rtc_base:rtc_base", |
| 47 | "../../rtc_base/memory:aligned_malloc", |
| 48 | "//third_party/libyuv", |
| 49 | ] |
| 50 | } |
| 51 | |
Emircan Uysaler | 901e0ff | 2018-06-26 12:22:38 -0700 | [diff] [blame] | 52 | rtc_source_set("video_frame_i010") { |
| 53 | visibility = [ "*" ] |
| 54 | sources = [ |
| 55 | "i010_buffer.cc", |
| 56 | "i010_buffer.h", |
| 57 | ] |
| 58 | deps = [ |
| 59 | ":video_frame", |
| 60 | ":video_frame_i420", |
| 61 | "../../rtc_base:checks", |
| 62 | "../../rtc_base:rtc_base", |
| 63 | "../../rtc_base/memory:aligned_malloc", |
| 64 | "//third_party/libyuv", |
| 65 | ] |
| 66 | } |
| 67 | |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 68 | rtc_source_set("encoded_frame") { |
| 69 | visibility = [ "*" ] |
| 70 | sources = [ |
| 71 | "encoded_frame.cc", |
| 72 | "encoded_frame.h", |
| 73 | ] |
| 74 | |
| 75 | deps = [ |
| 76 | "../../modules/video_coding:encoded_frame", |
| 77 | ] |
| 78 | } |
| 79 | |
| 80 | rtc_source_set("video_bitrate_allocation") { |
| 81 | visibility = [ "*" ] |
| 82 | sources = [ |
| 83 | "video_bitrate_allocation.cc", |
| 84 | "video_bitrate_allocation.h", |
| 85 | ] |
| 86 | deps = [ |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 87 | "../..:typedefs", |
| 88 | "../../rtc_base:checks", |
| 89 | "../../rtc_base:safe_conversions", |
| 90 | "../../rtc_base:stringutils", |
Danil Chapovalov | 0bc58cf | 2018-06-21 13:32:56 +0200 | [diff] [blame] | 91 | "//third_party/abseil-cpp/absl/types:optional", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 92 | ] |
| 93 | } |
| 94 | |
| 95 | rtc_source_set("video_stream_decoder") { |
| 96 | visibility = [ "*" ] |
| 97 | sources = [ |
| 98 | "video_stream_decoder.h", |
| 99 | ] |
| 100 | |
| 101 | deps = [ |
| 102 | ":encoded_frame", |
| 103 | ":video_frame", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 104 | "../video_codecs:video_codecs_api", |
Danil Chapovalov | 0bc58cf | 2018-06-21 13:32:56 +0200 | [diff] [blame] | 105 | "//third_party/abseil-cpp/absl/types:optional", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 106 | ] |
| 107 | } |
| 108 | |
| 109 | rtc_source_set("video_stream_decoder_create") { |
| 110 | visibility = [ "*" ] |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 111 | sources = [ |
| 112 | "video_stream_decoder_create.cc", |
| 113 | "video_stream_decoder_create.h", |
| 114 | ] |
| 115 | |
| 116 | deps = [ |
| 117 | ":video_stream_decoder", |
| 118 | "../../rtc_base:rtc_base_approved", |
| 119 | "../../video:video_stream_decoder_impl", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 120 | "//third_party/abseil-cpp/absl/memory", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 121 | ] |
| 122 | } |
Niels Möller | 0327c2d | 2018-05-21 14:09:31 +0200 | [diff] [blame] | 123 | |
| 124 | rtc_source_set("video_stream_encoder") { |
| 125 | visibility = [ "*" ] |
| 126 | sources = [ |
| 127 | "video_stream_encoder_interface.h", |
| 128 | ] |
| 129 | |
| 130 | deps = [ |
| 131 | ":video_frame", |
| 132 | |
| 133 | # For rtpparameters.h |
| 134 | "..:libjingle_peerconnection_api", |
| 135 | "../video_codecs:video_codecs_api", |
| 136 | ] |
| 137 | } |