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 <stdint.h> |
| 9 |
8 #include <memory> | 10 #include <memory> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "media/base/bitstream_buffer.h" | 13 #include "media/base/bitstream_buffer.h" |
12 #include "media/base/video_decoder_config.h" | 14 #include "media/base/video_decoder_config.h" |
13 #include "media/video/picture.h" | 15 #include "media/video/picture.h" |
14 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
15 | 17 |
16 typedef unsigned int GLenum; | 18 typedef unsigned int GLenum; |
17 | 19 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 // Specialize std::default_delete so that scoped_ptr<VideoDecodeAccelerator> | 233 // Specialize std::default_delete so that scoped_ptr<VideoDecodeAccelerator> |
232 // uses "Destroy()" instead of trying to use the destructor. | 234 // uses "Destroy()" instead of trying to use the destructor. |
233 template <> | 235 template <> |
234 struct MEDIA_EXPORT default_delete<media::VideoDecodeAccelerator> { | 236 struct MEDIA_EXPORT default_delete<media::VideoDecodeAccelerator> { |
235 void operator()(media::VideoDecodeAccelerator* vda) const; | 237 void operator()(media::VideoDecodeAccelerator* vda) const; |
236 }; | 238 }; |
237 | 239 |
238 } // namespace std | 240 } // namespace std |
239 | 241 |
240 #endif // MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ | 242 #endif // MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ |
OLD | NEW |