| 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_MEDIA_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_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/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 // Client lifetime must exceed lifetime of this class. | 51 // Client lifetime must exceed lifetime of this class. |
| 52 // TODO(vrk/fischman): We should take another look at the overall | 52 // TODO(vrk/fischman): We should take another look at the overall |
| 53 // arcitecture of PPAPI Video Decode to make sure lifetime/ownership makes | 53 // arcitecture of PPAPI Video Decode to make sure lifetime/ownership makes |
| 54 // sense, including lifetime of this client. | 54 // sense, including lifetime of this client. |
| 55 media::VideoDecodeAccelerator::Client* client_; | 55 media::VideoDecodeAccelerator::Client* client_; |
| 56 | 56 |
| 57 // Route ID for the command buffer associated with video decoder's context. | 57 // Route ID for the command buffer associated with video decoder's context. |
| 58 int32 command_buffer_route_id_; | 58 int32 command_buffer_route_id_; |
| 59 | 59 |
| 60 // Holds a GpuVideoDecodeAcceleratorHost. | 60 // Holds a GpuVideoDecodeAcceleratorHost. |
| 61 scoped_refptr<media::VideoDecodeAccelerator> decoder_; | 61 scoped_ptr<media::VideoDecodeAccelerator> decoder_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(PlatformVideoDecoderImpl); | 63 DISALLOW_COPY_AND_ASSIGN(PlatformVideoDecoderImpl); |
| 64 }; | 64 }; |
| 65 #endif // CONTENT_RENDERER_MEDIA_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ | 65 #endif // CONTENT_RENDERER_MEDIA_PEPPER_PLATFORM_VIDEO_DECODER_IMPL_H_ |
| OLD | NEW |