| 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_VIDEO_VIDEO_ENCODE_ACCELERATOR_H_ | 5 #ifndef MEDIA_VIDEO_VIDEO_ENCODE_ACCELERATOR_H_ |
| 6 #define MEDIA_VIDEO_VIDEO_ENCODE_ACCELERATOR_H_ | 6 #define MEDIA_VIDEO_VIDEO_ENCODE_ACCELERATOR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <memory> | 11 #include <memory> |
| 9 #include <vector> | 12 #include <vector> |
| 10 | 13 |
| 11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 12 #include "media/base/bitstream_buffer.h" | 15 #include "media/base/bitstream_buffer.h" |
| 13 #include "media/base/media_export.h" | 16 #include "media/base/media_export.h" |
| 14 #include "media/base/video_decoder_config.h" | 17 #include "media/base/video_decoder_config.h" |
| 15 #include "media/base/video_frame.h" | 18 #include "media/base/video_frame.h" |
| 16 | 19 |
| 17 namespace media { | 20 namespace media { |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // Specialize std::default_delete so that scoped_ptr<VideoEncodeAccelerator> | 163 // Specialize std::default_delete so that scoped_ptr<VideoEncodeAccelerator> |
| 161 // uses "Destroy()" instead of trying to use the destructor. | 164 // uses "Destroy()" instead of trying to use the destructor. |
| 162 template <> | 165 template <> |
| 163 struct MEDIA_EXPORT default_delete<media::VideoEncodeAccelerator> { | 166 struct MEDIA_EXPORT default_delete<media::VideoEncodeAccelerator> { |
| 164 void operator()(media::VideoEncodeAccelerator* vea) const; | 167 void operator()(media::VideoEncodeAccelerator* vea) const; |
| 165 }; | 168 }; |
| 166 | 169 |
| 167 } // namespace std | 170 } // namespace std |
| 168 | 171 |
| 169 #endif // MEDIA_VIDEO_VIDEO_ENCODE_ACCELERATOR_H_ | 172 #endif // MEDIA_VIDEO_VIDEO_ENCODE_ACCELERATOR_H_ |
| OLD | NEW |