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_H264_DECODER_H_ | 5 #ifndef CONTENT_COMMON_GPU_MEDIA_H264_DECODER_H_ |
6 #define CONTENT_COMMON_GPU_MEDIA_H264_DECODER_H_ | 6 #define CONTENT_COMMON_GPU_MEDIA_H264_DECODER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_loop/message_loop_proxy.h" | |
13 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
14 #include "content/common/gpu/media/accelerated_video_decoder.h" | 13 #include "content/common/gpu/media/accelerated_video_decoder.h" |
15 #include "content/common/gpu/media/h264_dpb.h" | 14 #include "content/common/gpu/media/h264_dpb.h" |
16 #include "media/base/limits.h" | 15 #include "media/base/limits.h" |
17 #include "media/filters/h264_parser.h" | 16 #include "media/filters/h264_parser.h" |
18 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
19 | 18 |
20 namespace content { | 19 namespace content { |
21 | 20 |
22 // Clients of this class are expected to pass H264 Annex-B byte stream | 21 // Clients of this class are expected to pass H264 Annex-B byte stream |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 int last_output_poc_; | 253 int last_output_poc_; |
255 | 254 |
256 H264Accelerator* accelerator_; | 255 H264Accelerator* accelerator_; |
257 | 256 |
258 DISALLOW_COPY_AND_ASSIGN(H264Decoder); | 257 DISALLOW_COPY_AND_ASSIGN(H264Decoder); |
259 }; | 258 }; |
260 | 259 |
261 } // namespace content | 260 } // namespace content |
262 | 261 |
263 #endif // CONTENT_COMMON_GPU_MEDIA_H264_DECODER_H_ | 262 #endif // CONTENT_COMMON_GPU_MEDIA_H264_DECODER_H_ |
OLD | NEW |