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

Unified Diff: content/renderer/media/rtc_video_encoder_factory.h

Issue 2095393002: Add posciak and wuchengli to WebRTC HW decoder and encoder files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove duplicated owners Created 4 years, 6 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
« no previous file with comments | « content/renderer/media/rtc_video_encoder.cc ('k') | content/renderer/media/rtc_video_encoder_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_video_encoder_factory.h
diff --git a/content/renderer/media/rtc_video_encoder_factory.h b/content/renderer/media/rtc_video_encoder_factory.h
deleted file mode 100644
index 45b48ca82e1410b5259ea9414ac3336c7a615139..0000000000000000000000000000000000000000
--- a/content/renderer/media/rtc_video_encoder_factory.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_ENCODER_FACTORY_H_
-#define CONTENT_RENDERER_MEDIA_RTC_VIDEO_ENCODER_FACTORY_H_
-
-#include <vector>
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "content/common/content_export.h"
-#include "third_party/webrtc/media/engine/webrtcvideoencoderfactory.h"
-
-namespace media {
-class GpuVideoAcceleratorFactories;
-} // namespace media
-
-namespace content {
-
-// This class creates RTCVideoEncoder instances (each wrapping a
-// media::VideoEncodeAccelerator) on behalf of the WebRTC stack.
-class CONTENT_EXPORT RTCVideoEncoderFactory
- : NON_EXPORTED_BASE(public cricket::WebRtcVideoEncoderFactory) {
- public:
- explicit RTCVideoEncoderFactory(
- media::GpuVideoAcceleratorFactories* gpu_factories);
- ~RTCVideoEncoderFactory() override;
-
- // cricket::WebRtcVideoEncoderFactory implementation.
- webrtc::VideoEncoder* CreateVideoEncoder(
- webrtc::VideoCodecType type) override;
- const std::vector<VideoCodec>& codecs() const override;
- void DestroyVideoEncoder(webrtc::VideoEncoder* encoder) override;
-
- private:
- media::GpuVideoAcceleratorFactories* gpu_factories_;
-
- // List of supported cricket::WebRtcVideoEncoderFactory::VideoCodec.
- std::vector<VideoCodec> codecs_;
-
- DISALLOW_COPY_AND_ASSIGN(RTCVideoEncoderFactory);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_ENCODER_FACTORY_H_
« no previous file with comments | « content/renderer/media/rtc_video_encoder.cc ('k') | content/renderer/media/rtc_video_encoder_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698