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 MEDIA_BASE_VIDEO_DECODER_H_ | 5 #ifndef MEDIA_BASE_VIDEO_DECODER_H_ |
6 #define MEDIA_BASE_VIDEO_DECODER_H_ | 6 #define MEDIA_BASE_VIDEO_DECODER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
13 #include "media/base/pipeline_status.h" | 13 #include "media/base/pipeline_status.h" |
14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/geometry/size.h" |
15 | 15 |
16 namespace media { | 16 namespace media { |
17 | 17 |
18 class DecoderBuffer; | 18 class DecoderBuffer; |
19 class VideoDecoderConfig; | 19 class VideoDecoderConfig; |
20 class VideoFrame; | 20 class VideoFrame; |
21 | 21 |
22 class MEDIA_EXPORT VideoDecoder { | 22 class MEDIA_EXPORT VideoDecoder { |
23 public: | 23 public: |
24 // Status codes for decode operations on VideoDecoder. | 24 // Status codes for decode operations on VideoDecoder. |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // Returns maximum number of parallel decode requests. | 105 // Returns maximum number of parallel decode requests. |
106 virtual int GetMaxDecodeRequests() const; | 106 virtual int GetMaxDecodeRequests() const; |
107 | 107 |
108 private: | 108 private: |
109 DISALLOW_COPY_AND_ASSIGN(VideoDecoder); | 109 DISALLOW_COPY_AND_ASSIGN(VideoDecoder); |
110 }; | 110 }; |
111 | 111 |
112 } // namespace media | 112 } // namespace media |
113 | 113 |
114 #endif // MEDIA_BASE_VIDEO_DECODER_H_ | 114 #endif // MEDIA_BASE_VIDEO_DECODER_H_ |
OLD | NEW |