OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 bool DidPassCORSAccessCheck() const override; | 165 bool DidPassCORSAccessCheck() const override; |
166 | 166 |
167 double MediaTimeForTimeValue(double timeValue) const override; | 167 double MediaTimeForTimeValue(double timeValue) const override; |
168 | 168 |
169 unsigned DecodedFrameCount() const override; | 169 unsigned DecodedFrameCount() const override; |
170 unsigned DroppedFrameCount() const override; | 170 unsigned DroppedFrameCount() const override; |
171 size_t AudioDecodedByteCount() const override; | 171 size_t AudioDecodedByteCount() const override; |
172 size_t VideoDecodedByteCount() const override; | 172 size_t VideoDecodedByteCount() const override; |
173 | 173 |
174 bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, | 174 bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, |
| 175 unsigned int target, |
175 unsigned int texture, | 176 unsigned int texture, |
176 unsigned internal_format, | 177 unsigned internal_format, |
177 unsigned format, | 178 unsigned format, |
178 unsigned type, | 179 unsigned type, |
| 180 int level, |
179 bool premultiply_alpha, | 181 bool premultiply_alpha, |
180 bool flip_y) override; | 182 bool flip_y) override; |
181 | 183 |
182 blink::WebAudioSourceProvider* GetAudioSourceProvider() override; | 184 blink::WebAudioSourceProvider* GetAudioSourceProvider() override; |
183 | 185 |
184 void SetContentDecryptionModule( | 186 void SetContentDecryptionModule( |
185 blink::WebContentDecryptionModule* cdm, | 187 blink::WebContentDecryptionModule* cdm, |
186 blink::WebContentDecryptionModuleResult result) override; | 188 blink::WebContentDecryptionModuleResult result) override; |
187 | 189 |
188 bool SupportsOverlayFullscreenVideo() override; | 190 bool SupportsOverlayFullscreenVideo() override; |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; | 734 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; |
733 | 735 |
734 bool initial_video_height_recorded_ = false; | 736 bool initial_video_height_recorded_ = false; |
735 | 737 |
736 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 738 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
737 }; | 739 }; |
738 | 740 |
739 } // namespace media | 741 } // namespace media |
740 | 742 |
741 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 743 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |