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 MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ | 5 #ifndef MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ |
6 #define MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ | 6 #define MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "media/base/bitstream_buffer.h" | 11 #include "media/base/bitstream_buffer.h" |
12 #include "media/base/video_decoder_config.h" | 12 #include "media/base/video_decoder_config.h" |
13 #include "media/video/picture.h" | 13 #include "media/video/picture.h" |
14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/geometry/size.h" |
15 | 15 |
16 typedef unsigned int GLenum; | 16 typedef unsigned int GLenum; |
17 | 17 |
18 namespace media { | 18 namespace media { |
19 | 19 |
20 // Video decoder interface. | 20 // Video decoder interface. |
21 // This interface is extended by the various components that ultimately | 21 // This interface is extended by the various components that ultimately |
22 // implement the backend of PPB_VideoDecode_Dev. | 22 // implement the backend of PPB_VideoDecode_Dev. |
23 class MEDIA_EXPORT VideoDecodeAccelerator { | 23 class MEDIA_EXPORT VideoDecodeAccelerator { |
24 public: | 24 public: |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // uses "Destroy()" instead of trying to use the destructor. | 166 // uses "Destroy()" instead of trying to use the destructor. |
167 template <> | 167 template <> |
168 struct MEDIA_EXPORT DefaultDeleter<media::VideoDecodeAccelerator> { | 168 struct MEDIA_EXPORT DefaultDeleter<media::VideoDecodeAccelerator> { |
169 public: | 169 public: |
170 void operator()(void* video_decode_accelerator) const; | 170 void operator()(void* video_decode_accelerator) const; |
171 }; | 171 }; |
172 | 172 |
173 } // namespace base | 173 } // namespace base |
174 | 174 |
175 #endif // MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ | 175 #endif // MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ |
OLD | NEW |