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_VIDEO_DECODE_ENGINE_H_ | 5 #ifndef MEDIA_VIDEO_VIDEO_DECODE_ENGINE_H_ |
6 #define MEDIA_VIDEO_VIDEO_DECODE_ENGINE_H_ | 6 #define MEDIA_VIDEO_VIDEO_DECODE_ENGINE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "media/base/media_export.h" | 10 #include "media/base/media_export.h" |
11 #include "media/base/video_decoder_config.h" | 11 #include "media/base/video_decoder_config.h" |
12 #include "media/base/video_frame.h" | 12 #include "media/base/video_frame.h" |
13 #include "ui/gfx/size.h" | |
14 | 13 |
15 class MessageLoop; | 14 class MessageLoop; |
16 | 15 |
17 namespace media { | 16 namespace media { |
18 | 17 |
19 class Buffer; | 18 class Buffer; |
20 class VideoDecodeContext; | 19 class VideoDecodeContext; |
21 | 20 |
22 struct PipelineStatistics; | 21 struct PipelineStatistics; |
23 | 22 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 // is called by the user to return the video frame object. | 110 // is called by the user to return the video frame object. |
112 // | 111 // |
113 // In response to this method call, ConsumeVideoFrame() is called with a | 112 // In response to this method call, ConsumeVideoFrame() is called with a |
114 // video frame object containing decoded video content. | 113 // video frame object containing decoded video content. |
115 virtual void ProduceVideoFrame(scoped_refptr<VideoFrame> frame) = 0; | 114 virtual void ProduceVideoFrame(scoped_refptr<VideoFrame> frame) = 0; |
116 }; | 115 }; |
117 | 116 |
118 } // namespace media | 117 } // namespace media |
119 | 118 |
120 #endif // MEDIA_VIDEO_VIDEO_DECODE_ENGINE_H_ | 119 #endif // MEDIA_VIDEO_VIDEO_DECODE_ENGINE_H_ |
OLD | NEW |