OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 #ifndef WEBRTC_TEST_ENCODER_SETTINGS_H_ | 10 #ifndef WEBRTC_TEST_ENCODER_SETTINGS_H_ |
11 #define WEBRTC_TEST_ENCODER_SETTINGS_H_ | 11 #define WEBRTC_TEST_ENCODER_SETTINGS_H_ |
12 | 12 |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "webrtc/video_receive_stream.h" | 15 #include "webrtc/call/video_receive_stream.h" |
16 #include "webrtc/video_send_stream.h" | 16 #include "webrtc/call/video_send_stream.h" |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 namespace test { | 19 namespace test { |
20 | 20 |
21 class DefaultVideoStreamFactory | 21 class DefaultVideoStreamFactory |
22 : public VideoEncoderConfig::VideoStreamFactoryInterface { | 22 : public VideoEncoderConfig::VideoStreamFactoryInterface { |
23 public: | 23 public: |
24 DefaultVideoStreamFactory(); | 24 DefaultVideoStreamFactory(); |
25 | 25 |
26 static const size_t kMaxNumberOfStreams = 3; | 26 static const size_t kMaxNumberOfStreams = 3; |
(...skipping 20 matching lines...) Expand all Loading... |
47 | 47 |
48 void FillEncoderConfiguration(size_t num_streams, | 48 void FillEncoderConfiguration(size_t num_streams, |
49 VideoEncoderConfig* configuration); | 49 VideoEncoderConfig* configuration); |
50 | 50 |
51 VideoReceiveStream::Decoder CreateMatchingDecoder( | 51 VideoReceiveStream::Decoder CreateMatchingDecoder( |
52 const VideoSendStream::Config::EncoderSettings& encoder_settings); | 52 const VideoSendStream::Config::EncoderSettings& encoder_settings); |
53 } // namespace test | 53 } // namespace test |
54 } // namespace webrtc | 54 } // namespace webrtc |
55 | 55 |
56 #endif // WEBRTC_TEST_ENCODER_SETTINGS_H_ | 56 #endif // WEBRTC_TEST_ENCODER_SETTINGS_H_ |
OLD | NEW |