Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: webrtc/modules/video_coding/codecs/vp8/vp8_factory.cc

Issue 1598803005: Remove vp8_factory.{cc,h}. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_coding/codecs/vp8/vp8_factory.cc
diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8_factory.cc b/webrtc/modules/video_coding/codecs/vp8/vp8_factory.cc
deleted file mode 100644
index f701481b24c767120dff5154947e6145d96c2f77..0000000000000000000000000000000000000000
--- a/webrtc/modules/video_coding/codecs/vp8/vp8_factory.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#include "webrtc/modules/video_coding/codecs/vp8/vp8_factory.h"
-
-#include "webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h"
-#include "webrtc/modules/video_coding/codecs/vp8/vp8_impl.h"
-
-namespace webrtc {
-
-bool VP8EncoderFactoryConfig::use_simulcast_adapter_ = false;
-
-class VP8EncoderImplFactory : public VideoEncoderFactory {
- public:
- VideoEncoder* Create() override { return new VP8EncoderImpl(); }
-
- void Destroy(VideoEncoder* encoder) override { delete encoder; }
-
- virtual ~VP8EncoderImplFactory() {}
-};
-
-VP8Encoder* VP8Encoder::Create() {
- if (VP8EncoderFactoryConfig::use_simulcast_adapter()) {
- return new SimulcastEncoderAdapter(new VP8EncoderImplFactory());
- } else {
- return new VP8EncoderImpl();
- }
-}
-
-VP8Decoder* VP8Decoder::Create() {
- return new VP8DecoderImpl();
-}
-
-} // namespace webrtc
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp8/vp8_factory.h ('k') | webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698