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

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

Issue 1165723007: Roll WebRTC 9354:9381, Libjingle 9354:9381 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: override Created 5 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 unified diff | Download patch
« no previous file with comments | « DEPS ('k') | third_party/libjingle/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_FRAME_ADAPTER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_FRAME_ADAPTER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_FRAME_ADAPTER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_FRAME_ADAPTER_H_
7 7
8 #include "media/base/video_frame.h" 8 #include "media/base/video_frame.h"
9 #include "third_party/webrtc/common_video/interface/video_frame_buffer.h" 9 #include "third_party/webrtc/common_video/interface/video_frame_buffer.h"
10 10
(...skipping 12 matching lines...) Expand all
23 int height() const override; 23 int height() const override;
24 24
25 const uint8_t* data(webrtc::PlaneType type) const override; 25 const uint8_t* data(webrtc::PlaneType type) const override;
26 26
27 uint8_t* data(webrtc::PlaneType type) override; 27 uint8_t* data(webrtc::PlaneType type) override;
28 28
29 int stride(webrtc::PlaneType type) const override; 29 int stride(webrtc::PlaneType type) const override;
30 30
31 void* native_handle() const override; 31 void* native_handle() const override;
32 32
33 // TODO(pbos): Replace virtual with override as soon as this change lands in 33 rtc::scoped_refptr<VideoFrameBuffer> NativeToI420Buffer() override;
34 // third_party/webrtc.
35 virtual rtc::scoped_refptr<VideoFrameBuffer> NativeToI420Buffer();
36 34
37 friend class rtc::RefCountedObject<WebRtcVideoFrameAdapter>; 35 friend class rtc::RefCountedObject<WebRtcVideoFrameAdapter>;
38 36
39 protected: 37 protected:
40 ~WebRtcVideoFrameAdapter() override; 38 ~WebRtcVideoFrameAdapter() override;
41 39
42 scoped_refptr<media::VideoFrame> frame_; 40 scoped_refptr<media::VideoFrame> frame_;
43 }; 41 };
44 42
45 } // namespace content 43 } // namespace content
46 44
47 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_FRAME_ADAPTER_H_ 45 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_FRAME_ADAPTER_H_
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/libjingle/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698