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

Side by Side Diff: content/renderer/media/webrtc/webrtc_video_capturer_adapter.h

Issue 1212133002: Passing Texture backed VideoFrame through WebRTC wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mcasas@ comments. Created 5 years, 5 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 cricket::VideoFormat* best_format) override; 47 cricket::VideoFormat* best_format) override;
48 bool IsScreencast() const override; 48 bool IsScreencast() const override;
49 49
50 // |thread_checker_| is bound to the libjingle worker thread. 50 // |thread_checker_| is bound to the libjingle worker thread.
51 base::ThreadChecker thread_checker_; 51 base::ThreadChecker thread_checker_;
52 52
53 const bool is_screencast_; 53 const bool is_screencast_;
54 bool running_; 54 bool running_;
55 base::TimeDelta first_frame_timestamp_; 55 base::TimeDelta first_frame_timestamp_;
56 56
57 // This is an alias to the frame_factory_ in the base class
58 // cricket::VideoCapturer.
59 class MediaVideoFrameFactory; 57 class MediaVideoFrameFactory;
mcasas 2015/06/27 01:03:38 I guess this is not needed either. Remove it here
magjed_chromium 2015/07/03 10:51:44 +1
60 MediaVideoFrameFactory* frame_factory_;
61 58
62 DISALLOW_COPY_AND_ASSIGN(WebRtcVideoCapturerAdapter); 59 DISALLOW_COPY_AND_ASSIGN(WebRtcVideoCapturerAdapter);
63 }; 60 };
64 61
65 } // namespace content 62 } // namespace content
66 63
67 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ 64 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698