OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_OMX_VIDEO_DECODE_ENGINE_H_ | 5 #ifndef MEDIA_VIDEO_OMX_VIDEO_DECODE_ENGINE_H_ |
6 #define MEDIA_VIDEO_OMX_VIDEO_DECODE_ENGINE_H_ | 6 #define MEDIA_VIDEO_OMX_VIDEO_DECODE_ENGINE_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback_old.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "media/omx/omx_configurator.h" | 14 #include "media/omx/omx_configurator.h" |
15 #include "media/video/video_decode_engine.h" | 15 #include "media/video/video_decode_engine.h" |
16 #include "third_party/openmax/il/OMX_Component.h" | 16 #include "third_party/openmax/il/OMX_Component.h" |
17 #include "third_party/openmax/il/OMX_Core.h" | 17 #include "third_party/openmax/il/OMX_Core.h" |
18 #include "third_party/openmax/il/OMX_Video.h" | 18 #include "third_party/openmax/il/OMX_Video.h" |
19 | 19 |
20 namespace media { | 20 namespace media { |
21 | 21 |
22 class OmxVideoDecodeEngine : public VideoDecodeEngine { | 22 class OmxVideoDecodeEngine : public VideoDecodeEngine { |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 bool need_setup_output_port_; | 237 bool need_setup_output_port_; |
238 OmxIlPortState output_port_state_; | 238 OmxIlPortState output_port_state_; |
239 VideoDecodeEngine::EventHandler* event_handler_; | 239 VideoDecodeEngine::EventHandler* event_handler_; |
240 | 240 |
241 DISALLOW_COPY_AND_ASSIGN(OmxVideoDecodeEngine); | 241 DISALLOW_COPY_AND_ASSIGN(OmxVideoDecodeEngine); |
242 }; | 242 }; |
243 | 243 |
244 } // namespace media | 244 } // namespace media |
245 | 245 |
246 #endif // MEDIA_VIDEO_OMX_VIDEO_DECODE_ENGINE_H_ | 246 #endif // MEDIA_VIDEO_OMX_VIDEO_DECODE_ENGINE_H_ |
OLD | NEW |