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 = [ |
| 14 | "video_content_type.cc", |
| 15 | "video_content_type.h", |
| 16 | "video_frame.cc", |
| 17 | "video_frame.h", |
| 18 | "video_frame_buffer.cc", |
| 19 | "video_frame_buffer.h", |
| 20 | "video_rotation.h", |
| 21 | "video_sink_interface.h", |
| 22 | "video_timing.cc", |
| 23 | "video_timing.h", |
| 24 | ] |
| 25 | |
| 26 | deps = [ |
| 27 | "../../rtc_base:checks", |
| 28 | "../../rtc_base:rtc_base_approved", |
| 29 | ] |
| 30 | } |
| 31 | |
| 32 | rtc_source_set("video_frame_i420") { |
| 33 | visibility = [ "*" ] |
| 34 | sources = [ |
| 35 | "i420_buffer.cc", |
| 36 | "i420_buffer.h", |
| 37 | ] |
| 38 | deps = [ |
| 39 | ":video_frame", |
| 40 | "../../rtc_base:checks", |
| 41 | "../../rtc_base:rtc_base", |
| 42 | "../../rtc_base/memory:aligned_malloc", |
| 43 | "//third_party/libyuv", |
| 44 | ] |
| 45 | } |
| 46 | |
| 47 | rtc_source_set("encoded_frame") { |
| 48 | visibility = [ "*" ] |
| 49 | sources = [ |
| 50 | "encoded_frame.cc", |
| 51 | "encoded_frame.h", |
| 52 | ] |
| 53 | |
| 54 | deps = [ |
| 55 | "../../modules/video_coding:encoded_frame", |
| 56 | ] |
| 57 | } |
| 58 | |
| 59 | rtc_source_set("video_bitrate_allocation") { |
| 60 | visibility = [ "*" ] |
| 61 | sources = [ |
| 62 | "video_bitrate_allocation.cc", |
| 63 | "video_bitrate_allocation.h", |
| 64 | ] |
| 65 | deps = [ |
| 66 | "..:optional", |
| 67 | "../..:typedefs", |
| 68 | "../../rtc_base:checks", |
| 69 | "../../rtc_base:safe_conversions", |
| 70 | "../../rtc_base:stringutils", |
| 71 | ] |
| 72 | } |
| 73 | |
| 74 | rtc_source_set("video_stream_decoder") { |
| 75 | visibility = [ "*" ] |
| 76 | sources = [ |
| 77 | "video_stream_decoder.h", |
| 78 | ] |
| 79 | |
| 80 | deps = [ |
| 81 | ":encoded_frame", |
| 82 | ":video_frame", |
| 83 | "..:optional", |
| 84 | "../video_codecs:video_codecs_api", |
| 85 | ] |
| 86 | } |
| 87 | |
| 88 | rtc_source_set("video_stream_decoder_create") { |
| 89 | visibility = [ "*" ] |
| 90 | allow_poison = [ "software_video_codecs" ] # TODO(bugs.webrtc.org/7925): Remove. |
| 91 | sources = [ |
| 92 | "video_stream_decoder_create.cc", |
| 93 | "video_stream_decoder_create.h", |
| 94 | ] |
| 95 | |
| 96 | deps = [ |
| 97 | ":video_stream_decoder", |
| 98 | "../../rtc_base:rtc_base_approved", |
| 99 | "../../video:video_stream_decoder_impl", |
| 100 | ] |
| 101 | } |