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

Side by Side Diff: content/renderer/media/rtc_video_decoder_factory.h

Issue 13890012: Integrate VDA with WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/message_loop.h"
11 #include "content/common/content_export.h"
12 #include "content/renderer/media/rtc_video_decoder_bridge.h"
13 #include "media/filters/gpu_video_decoder.h"
14 #include "third_party/libjingle/source/talk/media/webrtc/webrtcvideodecoderfacto ry.h"
15
16 namespace webrtc {
17 class VideoDecoder;
18 }
19
20 namespace content {
21
22 class CONTENT_EXPORT RTCVideoDecoderFactory
23 : NON_EXPORTED_BASE(public cricket::WebRtcVideoDecoderFactory) {
24 public:
25 RTCVideoDecoderFactory(
26 const scoped_refptr<base::MessageLoopProxy>& chrome_loop_proxy,
Ami GONE FROM CHROMIUM 2013/04/26 00:42:05 this isn't a useful variable name
wuchengli 2013/05/08 15:58:56 Changed to decoder_message_loop_. On 2013/04/26 00
27 const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories);
28
29 virtual webrtc::VideoDecoder* CreateVideoDecoder(
30 webrtc::VideoCodecType type) OVERRIDE;
31
32 virtual void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) OVERRIDE;
33
34 private:
35 scoped_refptr<base::MessageLoopProxy> chrome_loop_proxy_;
Ami GONE FROM CHROMIUM 2013/04/26 00:42:05 ditto naming
wuchengli 2013/05/08 15:58:56 Changed to decoder_message_loop_. On 2013/04/26 00
36 scoped_refptr<media::GpuVideoDecoder::Factories> gpu_factories_;
37
38 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoderFactory);
39 };
40
41 } // namespace content
42
43 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698