blob: 0dc6721bfc850fdffc25493b1392798dc39dd433 [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +00001# Copyright (c) 2014 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
9import("../../build/webrtc.gni")
10
11source_set("video_coding") {
12 sources = [
13 "main/interface/video_coding.h",
14 "main/interface/video_coding_defines.h",
15 "main/source/codec_database.cc",
16 "main/source/codec_database.h",
17 "main/source/codec_timer.cc",
18 "main/source/codec_timer.h",
19 "main/source/content_metrics_processing.cc",
20 "main/source/content_metrics_processing.h",
21 "main/source/decoding_state.cc",
22 "main/source/decoding_state.h",
23 "main/source/encoded_frame.cc",
24 "main/source/encoded_frame.h",
25 "main/source/er_tables_xor.h",
26 "main/source/fec_tables_xor.h",
27 "main/source/frame_buffer.cc",
28 "main/source/frame_buffer.h",
29 "main/source/generic_decoder.cc",
30 "main/source/generic_decoder.h",
31 "main/source/generic_encoder.cc",
32 "main/source/generic_encoder.h",
33 "main/source/inter_frame_delay.cc",
34 "main/source/inter_frame_delay.h",
35 "main/source/internal_defines.h",
36 "main/source/jitter_buffer.cc",
37 "main/source/jitter_buffer.h",
38 "main/source/jitter_buffer_common.h",
39 "main/source/jitter_estimator.cc",
40 "main/source/jitter_estimator.h",
41 "main/source/media_opt_util.cc",
42 "main/source/media_opt_util.h",
43 "main/source/media_optimization.cc",
44 "main/source/media_optimization.h",
45 "main/source/nack_fec_tables.h",
46 "main/source/packet.cc",
47 "main/source/packet.h",
48 "main/source/qm_select_data.h",
49 "main/source/qm_select.cc",
50 "main/source/qm_select.h",
51 "main/source/receiver.cc",
52 "main/source/receiver.h",
53 "main/source/rtt_filter.cc",
54 "main/source/rtt_filter.h",
55 "main/source/session_info.cc",
56 "main/source/session_info.h",
57 "main/source/timestamp_map.cc",
58 "main/source/timestamp_map.h",
59 "main/source/timing.cc",
60 "main/source/timing.h",
61 "main/source/video_coding_impl.cc",
62 "main/source/video_coding_impl.h",
63 "main/source/video_receiver.cc",
64 "main/source/video_sender.cc",
65 ]
66
67 deps = [
68 ":video_coding_utility",
69 ":webrtc_i420",
70 ":webrtc_vp8",
71 "../../common_video",
72 "../../system_wrappers",
73 ]
74}
75
76source_set("video_coding_utility") {
stefan@webrtc.org73823ca2014-07-07 11:46:43 +000077 sources = [
78 "utility/exp_filter.cc",
79 "utility/include/exp_filter.h",
80 "utility/include/frame_dropper.h",
81 "utility/frame_dropper.cc",
82 ]
83
84 deps = [ "../../system_wrappers" ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000085}
86
87source_set("webrtc_i420") {
stefan@webrtc.org73823ca2014-07-07 11:46:43 +000088 sources = [
89 "codecs/i420/main/source/i420.cc",
90 "codecs/i420/main/interface/i420.h",
91 ]
92
93 deps = [ "../../system_wrappers" ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000094}
95
stefan@webrtc.org73823ca2014-07-07 11:46:43 +000096# TODO(holmer): Some files below has been commented out since libvpx is still
97# missing a BUILD.gn file.
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000098source_set("webrtc_vp8") {
stefan@webrtc.org73823ca2014-07-07 11:46:43 +000099 sources = [
100# "codecs/vp8/default_temporal_layers.cc",
101# "codecs/vp8/default_temporal_layers.h",
102# "codecs/vp8/realtime_temporal_layers.cc",
103# "codecs/vp8/reference_picture_selection.cc",
104# "codecs/vp8/reference_picture_selection.h",
105 "codecs/vp8/include/vp8.h",
106 "codecs/vp8/include/vp8_common_types.h",
107 "codecs/vp8/temporal_layers.h",
108 "codecs/vp8/vp8_factory.cc",
109# "codecs/vp8/vp8_impl.cc",
110# "codecs/vp8/vp8_impl.h",
111 ]
112 deps = [
113 ":video_coding_utility",
114 "../../common_video",
115 "../../system_wrappers",
116 ]
117# if (build_libvpx) {
118# deps += [
119# "//third_party/libvpx",
120# ]
121# }
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000122}