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/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "media/base/cdm_context.h" | 13 #include "media/base/cdm_context.h" |
13 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
14 #include "media/base/pipeline_status.h" | 15 #include "media/base/pipeline_status.h" |
15 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
16 | 17 |
17 namespace media { | 18 namespace media { |
18 | 19 |
19 class DecoderBuffer; | 20 class DecoderBuffer; |
20 class VideoDecoderConfig; | 21 class VideoDecoderConfig; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // Returns maximum number of parallel decode requests. | 121 // Returns maximum number of parallel decode requests. |
121 virtual int GetMaxDecodeRequests() const; | 122 virtual int GetMaxDecodeRequests() const; |
122 | 123 |
123 private: | 124 private: |
124 DISALLOW_COPY_AND_ASSIGN(VideoDecoder); | 125 DISALLOW_COPY_AND_ASSIGN(VideoDecoder); |
125 }; | 126 }; |
126 | 127 |
127 } // namespace media | 128 } // namespace media |
128 | 129 |
129 #endif // MEDIA_BASE_VIDEO_DECODER_H_ | 130 #endif // MEDIA_BASE_VIDEO_DECODER_H_ |
OLD | NEW |