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 CONTENT_COMMON_GPU_MEDIA_OMX_VIDEO_DECODE_ACCELERATOR_H_ | 5 #ifndef CONTENT_COMMON_GPU_MEDIA_OMX_VIDEO_DECODE_ACCELERATOR_H_ |
6 #define CONTENT_COMMON_GPU_MEDIA_OMX_VIDEO_DECODE_ACCELERATOR_H_ | 6 #define CONTENT_COMMON_GPU_MEDIA_OMX_VIDEO_DECODE_ACCELERATOR_H_ |
7 | 7 |
8 #include <dlfcn.h> | 8 #include <dlfcn.h> |
9 #include <map> | 9 #include <map> |
10 #include <queue> | 10 #include <queue> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <utility> | 13 #include <utility> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/memory/shared_memory.h" | 18 #include "base/memory/shared_memory.h" |
19 #include "base/message_loop.h" | 19 #include "base/message_loop/message_loop.h" |
20 #include "content/common/content_export.h" | 20 #include "content/common/content_export.h" |
21 #include "media/video/video_decode_accelerator.h" | 21 #include "media/video/video_decode_accelerator.h" |
22 #include "third_party/openmax/il/OMX_Component.h" | 22 #include "third_party/openmax/il/OMX_Component.h" |
23 #include "third_party/openmax/il/OMX_Core.h" | 23 #include "third_party/openmax/il/OMX_Core.h" |
24 #include "third_party/openmax/il/OMX_Video.h" | 24 #include "third_party/openmax/il/OMX_Video.h" |
25 #include "ui/gl/gl_bindings.h" | 25 #include "ui/gl/gl_bindings.h" |
26 | 26 |
27 namespace content { | 27 namespace content { |
28 class Gles2TextureToEglImageTranslator; | 28 class Gles2TextureToEglImageTranslator; |
29 | 29 |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 | 270 |
271 // Queue a picture for use by the decoder, either by sending it directly to it | 271 // Queue a picture for use by the decoder, either by sending it directly to it |
272 // via OMX_FillThisBuffer, or by queueing it for later if we are RESETTING. | 272 // via OMX_FillThisBuffer, or by queueing it for later if we are RESETTING. |
273 void QueuePictureBuffer(int32 picture_buffer_id); | 273 void QueuePictureBuffer(int32 picture_buffer_id); |
274 | 274 |
275 }; | 275 }; |
276 | 276 |
277 } // namespace content | 277 } // namespace content |
278 | 278 |
279 #endif // CONTENT_COMMON_GPU_MEDIA_OMX_VIDEO_DECODE_ACCELERATOR_H_ | 279 #endif // CONTENT_COMMON_GPU_MEDIA_OMX_VIDEO_DECODE_ACCELERATOR_H_ |
OLD | NEW |