| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "media/video/video_decode_accelerator.h" | 12 #include "media/video/video_decode_accelerator.h" |
| 13 #include "webkit/plugins/ppapi/plugin_delegate.h" | 13 #include "webkit/plugins/ppapi/plugin_delegate.h" |
| 14 | 14 |
| 15 class PlatformVideoDecoderImpl | 15 class PlatformVideoDecoderImpl |
| 16 : public webkit::ppapi::PluginDelegate::PlatformVideoDecoder, | 16 : public webkit::ppapi::PluginDelegate::PlatformVideoDecoder, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 media::VideoDecodeAccelerator::Client* client_; | 53 media::VideoDecodeAccelerator::Client* client_; |
| 54 | 54 |
| 55 // Route ID for the command buffer associated with video decoder's context. | 55 // Route ID for the command buffer associated with video decoder's context. |
| 56 int32 command_buffer_route_id_; | 56 int32 command_buffer_route_id_; |
| 57 | 57 |
| 58 // Holds a GpuVideoDecodeAcceleratorHost. | 58 // Holds a GpuVideoDecodeAcceleratorHost. |
| 59 scoped_refptr<media::VideoDecodeAccelerator> decoder_; | 59 scoped_refptr<media::VideoDecodeAccelerator> decoder_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(PlatformVideoDecoderImpl); | 61 DISALLOW_COPY_AND_ASSIGN(PlatformVideoDecoderImpl); |
| 62 }; | 62 }; |
| 63 #endif // CONTENT_RENDERER_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ | 63 #endif // CONTENT_RENDERER_MEDIA_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ |
| OLD | NEW |