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