| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2010 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 | 10 |
| 11 #ifndef WEBRTC_MEDIA_WEBRTC_FAKEWEBRTCVIDEOENGINE_H_ | 11 #ifndef WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOENGINE_H_ |
| 12 #define WEBRTC_MEDIA_WEBRTC_FAKEWEBRTCVIDEOENGINE_H_ | 12 #define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOENGINE_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <set> | 15 #include <set> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "webrtc/base/basictypes.h" | 18 #include "webrtc/base/basictypes.h" |
| 19 #include "webrtc/base/criticalsection.h" | 19 #include "webrtc/base/criticalsection.h" |
| 20 #include "webrtc/base/gunit.h" | 20 #include "webrtc/base/gunit.h" |
| 21 #include "webrtc/base/stringutils.h" | 21 #include "webrtc/base/stringutils.h" |
| 22 #include "webrtc/base/thread_annotations.h" | 22 #include "webrtc/base/thread_annotations.h" |
| 23 #include "webrtc/media/base/codec.h" | 23 #include "webrtc/media/base/codec.h" |
| 24 #include "webrtc/media/webrtc/fakewebrtccommon.h" | 24 #include "webrtc/media/engine/fakewebrtccommon.h" |
| 25 #include "webrtc/media/webrtc/webrtcvideodecoderfactory.h" | 25 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" |
| 26 #include "webrtc/media/webrtc/webrtcvideoencoderfactory.h" | 26 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" |
| 27 #include "webrtc/modules/video_coding/include/video_error_codes.h" | 27 #include "webrtc/modules/video_coding/include/video_error_codes.h" |
| 28 #include "webrtc/video_decoder.h" | 28 #include "webrtc/video_decoder.h" |
| 29 #include "webrtc/video_encoder.h" | 29 #include "webrtc/video_encoder.h" |
| 30 | 30 |
| 31 namespace cricket { | 31 namespace cricket { |
| 32 | 32 |
| 33 static const int kMinVideoBitrate = 100; | 33 static const int kMinVideoBitrate = 100; |
| 34 static const int kStartVideoBitrate = 300; | 34 static const int kStartVideoBitrate = 300; |
| 35 static const int kMaxVideoBitrate = 1000; | 35 static const int kMaxVideoBitrate = 1000; |
| 36 | 36 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 private: | 226 private: |
| 227 std::set<webrtc::VideoCodecType> supported_codec_types_; | 227 std::set<webrtc::VideoCodecType> supported_codec_types_; |
| 228 std::vector<WebRtcVideoEncoderFactory::VideoCodec> codecs_; | 228 std::vector<WebRtcVideoEncoderFactory::VideoCodec> codecs_; |
| 229 std::vector<FakeWebRtcVideoEncoder*> encoders_; | 229 std::vector<FakeWebRtcVideoEncoder*> encoders_; |
| 230 int num_created_encoders_; | 230 int num_created_encoders_; |
| 231 bool encoders_have_internal_sources_; | 231 bool encoders_have_internal_sources_; |
| 232 }; | 232 }; |
| 233 | 233 |
| 234 } // namespace cricket | 234 } // namespace cricket |
| 235 | 235 |
| 236 #endif // WEBRTC_MEDIA_WEBRTC_FAKEWEBRTCVIDEOENGINE_H_ | 236 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOENGINE_H_ |
| OLD | NEW |