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 unsigned int texture, | 141 const CopyVideoTextureParams& params) override; |
142 unsigned int internal_format, | |
143 unsigned int type, | |
144 bool premultiply_alpha, | |
145 bool flip_y) override; | |
146 | 142 |
147 blink::WebAudioSourceProvider* audioSourceProvider() override; | 143 blink::WebAudioSourceProvider* audioSourceProvider() override; |
148 | 144 |
149 MediaKeyException generateKeyRequest( | 145 MediaKeyException generateKeyRequest( |
150 const blink::WebString& key_system, | 146 const blink::WebString& key_system, |
151 const unsigned char* init_data, | 147 const unsigned char* init_data, |
152 unsigned init_data_length) override; | 148 unsigned init_data_length) override; |
153 | 149 |
154 MediaKeyException addKey(const blink::WebString& key_system, | 150 MediaKeyException addKey(const blink::WebString& key_system, |
155 const unsigned char* key, | 151 const unsigned char* key, |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 scoped_ptr<blink::WebContentDecryptionModuleResult> set_cdm_result_; | 338 scoped_ptr<blink::WebContentDecryptionModuleResult> set_cdm_result_; |
343 | 339 |
344 scoped_ptr<RendererFactory> renderer_factory_; | 340 scoped_ptr<RendererFactory> renderer_factory_; |
345 | 341 |
346 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 342 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
347 }; | 343 }; |
348 | 344 |
349 } // namespace media | 345 } // namespace media |
350 | 346 |
351 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 347 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |