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 CHROME_RENDERER_MEDIA_IPC_VIDEO_DECODER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_IPC_VIDEO_DECODER_H_ |
6 #define CHROME_RENDERER_MEDIA_IPC_VIDEO_DECODER_H_ | 6 #define CONTENT_RENDERER_MEDIA_IPC_VIDEO_DECODER_H_ |
7 | 7 |
8 #include "base/time.h" | 8 #include "base/time.h" |
9 #include "media/base/pts_heap.h" | 9 #include "media/base/pts_heap.h" |
10 #include "media/base/video_frame.h" | 10 #include "media/base/video_frame.h" |
11 #include "media/filters/decoder_base.h" | 11 #include "media/filters/decoder_base.h" |
12 #include "media/video/video_decode_engine.h" | 12 #include "media/video/video_decode_engine.h" |
13 #include "media/video/video_decode_context.h" | 13 #include "media/video/video_decode_context.h" |
14 | 14 |
15 struct AVRational; | 15 struct AVRational; |
16 | 16 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 // VideoDecodeEngine should run on IO Thread instead of Render Thread to | 82 // VideoDecodeEngine should run on IO Thread instead of Render Thread to |
83 // avoid dead lock during tear down of the media pipeline. | 83 // avoid dead lock during tear down of the media pipeline. |
84 scoped_ptr<media::VideoDecodeEngine> decode_engine_; | 84 scoped_ptr<media::VideoDecodeEngine> decode_engine_; |
85 | 85 |
86 // Decoding context to be used by VideoDecodeEngine. | 86 // Decoding context to be used by VideoDecodeEngine. |
87 scoped_ptr<media::VideoDecodeContext> decode_context_; | 87 scoped_ptr<media::VideoDecodeContext> decode_context_; |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(IpcVideoDecoder); | 89 DISALLOW_COPY_AND_ASSIGN(IpcVideoDecoder); |
90 }; | 90 }; |
91 | 91 |
92 #endif // CHROME_RENDERER_MEDIA_IPC_VIDEO_DECODER_H_ | 92 #endif // CONTENT_RENDERER_MEDIA_IPC_VIDEO_DECODER_H_ |
OLD | NEW |