OLD | NEW |
1 /* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 1 /* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
2 * | 2 * |
3 * Use of this source code is governed by a BSD-style license | 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 | 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 | 5 * tree. An additional intellectual property rights grant can be found |
6 * in the file PATENTS. All contributing project authors may | 6 * in the file PATENTS. All contributing project authors may |
7 * be found in the AUTHORS file in the root of the source tree. | 7 * be found in the AUTHORS file in the root of the source tree. |
8 */ | 8 */ |
9 | 9 |
10 #include "webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h" | 10 #include "webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h" |
11 | 11 |
12 #include <stdlib.h> | 12 #include <stdlib.h> |
13 #include <string.h> | 13 #include <string.h> |
14 | 14 |
15 #include <algorithm> | 15 #include <algorithm> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/base/checks.h" | |
19 #include "webrtc/modules/include/module_common_types.h" | 18 #include "webrtc/modules/include/module_common_types.h" |
| 19 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" |
20 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 20 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
21 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" | 21 #include "webrtc/rtc_base/checks.h" |
22 | 22 |
23 #include "vpx/vpx_encoder.h" | 23 #include "vpx/vpx_encoder.h" |
24 #include "vpx/vp8cx.h" | 24 #include "vpx/vp8cx.h" |
25 | 25 |
26 namespace webrtc { | 26 namespace webrtc { |
27 | 27 |
28 TemporalLayers::FrameConfig::FrameConfig() {} | 28 TemporalLayers::FrameConfig::FrameConfig() {} |
29 | 29 |
30 TemporalLayers::FrameConfig::FrameConfig(TemporalLayers::BufferFlags last, | 30 TemporalLayers::FrameConfig::FrameConfig(TemporalLayers::BufferFlags last, |
31 TemporalLayers::BufferFlags golden, | 31 TemporalLayers::BufferFlags golden, |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 if (listener_) | 380 if (listener_) |
381 listener_->OnTemporalLayersCreated(simulcast_id, tl); | 381 listener_->OnTemporalLayersCreated(simulcast_id, tl); |
382 return tl; | 382 return tl; |
383 } | 383 } |
384 | 384 |
385 void TemporalLayersFactory::SetListener(TemporalLayersListener* listener) { | 385 void TemporalLayersFactory::SetListener(TemporalLayersListener* listener) { |
386 listener_ = listener; | 386 listener_ = listener; |
387 } | 387 } |
388 | 388 |
389 } // namespace webrtc | 389 } // namespace webrtc |
OLD | NEW |