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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 131 |
132 double mediaTimeForTimeValue(double timeValue) const override; | 132 double mediaTimeForTimeValue(double timeValue) const override; |
133 | 133 |
134 unsigned decodedFrameCount() const override; | 134 unsigned decodedFrameCount() const override; |
135 unsigned droppedFrameCount() const override; | 135 unsigned droppedFrameCount() const override; |
136 unsigned audioDecodedByteCount() const override; | 136 unsigned audioDecodedByteCount() const override; |
137 unsigned videoDecodedByteCount() const override; | 137 unsigned videoDecodedByteCount() const override; |
138 | 138 |
139 bool copyVideoTextureToPlatformTexture( | 139 bool copyVideoTextureToPlatformTexture( |
140 blink::WebGraphicsContext3D* web_graphics_context, | 140 blink::WebGraphicsContext3D* web_graphics_context, |
141 const CopyVideoTextureParams& params) override; | 141 unsigned int texture, |
| 142 unsigned int internal_format, |
| 143 unsigned int type, |
| 144 bool premultiply_alpha, |
| 145 bool flip_y) override; |
142 | 146 |
143 blink::WebAudioSourceProvider* audioSourceProvider() override; | 147 blink::WebAudioSourceProvider* audioSourceProvider() override; |
144 | 148 |
145 MediaKeyException generateKeyRequest( | 149 MediaKeyException generateKeyRequest( |
146 const blink::WebString& key_system, | 150 const blink::WebString& key_system, |
147 const unsigned char* init_data, | 151 const unsigned char* init_data, |
148 unsigned init_data_length) override; | 152 unsigned init_data_length) override; |
149 | 153 |
150 MediaKeyException addKey(const blink::WebString& key_system, | 154 MediaKeyException addKey(const blink::WebString& key_system, |
151 const unsigned char* key, | 155 const unsigned char* key, |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 scoped_ptr<blink::WebContentDecryptionModuleResult> set_cdm_result_; | 342 scoped_ptr<blink::WebContentDecryptionModuleResult> set_cdm_result_; |
339 | 343 |
340 scoped_ptr<RendererFactory> renderer_factory_; | 344 scoped_ptr<RendererFactory> renderer_factory_; |
341 | 345 |
342 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 346 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
343 }; | 347 }; |
344 | 348 |
345 } // namespace media | 349 } // namespace media |
346 | 350 |
347 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 351 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |