OLD | NEW |
1 // Copyright (c) 2011 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 "base/callback_old.h" | |
12 #include "media/base/bitstream_buffer.h" | 11 #include "media/base/bitstream_buffer.h" |
13 #include "media/base/video_decoder_config.h" | 12 #include "media/base/video_decoder_config.h" |
14 #include "media/video/picture.h" | 13 #include "media/video/picture.h" |
15 #include "ui/gfx/size.h" | 14 #include "ui/gfx/size.h" |
16 | 15 |
17 namespace media { | 16 namespace media { |
18 | 17 |
19 // Video decoder interface. | 18 // Video decoder interface. |
20 // This interface is extended by the various components that ultimately | 19 // This interface is extended by the various components that ultimately |
21 // implement the backend of PPB_VideoDecode_Dev. | 20 // implement the backend of PPB_VideoDecode_Dev. |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 virtual void Destroy() = 0; | 135 virtual void Destroy() = 0; |
137 | 136 |
138 protected: | 137 protected: |
139 friend class base::RefCountedThreadSafe<VideoDecodeAccelerator>; | 138 friend class base::RefCountedThreadSafe<VideoDecodeAccelerator>; |
140 virtual ~VideoDecodeAccelerator(); | 139 virtual ~VideoDecodeAccelerator(); |
141 }; | 140 }; |
142 | 141 |
143 } // namespace media | 142 } // namespace media |
144 | 143 |
145 #endif // MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ | 144 #endif // MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ |
OLD | NEW |