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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 texture, | 175 unsigned int texture, |
176 unsigned internal_format, | |
177 unsigned format, | |
178 unsigned type, | |
179 bool premultiply_alpha, | 176 bool premultiply_alpha, |
180 bool flip_y) override; | 177 bool flip_y) override; |
181 | 178 |
182 blink::WebAudioSourceProvider* GetAudioSourceProvider() override; | 179 blink::WebAudioSourceProvider* GetAudioSourceProvider() override; |
183 | 180 |
184 void SetContentDecryptionModule( | 181 void SetContentDecryptionModule( |
185 blink::WebContentDecryptionModule* cdm, | 182 blink::WebContentDecryptionModule* cdm, |
186 blink::WebContentDecryptionModuleResult result) override; | 183 blink::WebContentDecryptionModuleResult result) override; |
187 | 184 |
188 bool SupportsOverlayFullscreenVideo() override; | 185 bool SupportsOverlayFullscreenVideo() override; |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 base::TimeDelta last_uploaded_frame_timestamp_; | 713 base::TimeDelta last_uploaded_frame_timestamp_; |
717 | 714 |
718 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; | 715 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; |
719 | 716 |
720 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 717 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
721 }; | 718 }; |
722 | 719 |
723 } // namespace media | 720 } // namespace media |
724 | 721 |
725 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 722 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |