| 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" |
| 12 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 13 #include "content/common/gpu/media/accelerated_video_decoder.h" | 14 #include "content/common/gpu/media/accelerated_video_decoder.h" |
| 14 #include "content/common/gpu/media/h264_dpb.h" | 15 #include "content/common/gpu/media/h264_dpb.h" |
| 15 #include "media/base/limits.h" | 16 #include "media/base/limits.h" |
| 16 #include "media/filters/h264_parser.h" | 17 #include "media/filters/h264_parser.h" |
| 17 #include "ui/gfx/geometry/size.h" | 18 #include "ui/gfx/geometry/size.h" |
| 18 | 19 |
| 19 namespace content { | 20 namespace content { |
| 20 | 21 |
| 21 // Clients of this class are expected to pass H264 Annex-B byte stream | 22 // 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... |
| 253 int last_output_poc_; | 254 int last_output_poc_; |
| 254 | 255 |
| 255 H264Accelerator* accelerator_; | 256 H264Accelerator* accelerator_; |
| 256 | 257 |
| 257 DISALLOW_COPY_AND_ASSIGN(H264Decoder); | 258 DISALLOW_COPY_AND_ASSIGN(H264Decoder); |
| 258 }; | 259 }; |
| 259 | 260 |
| 260 } // namespace content | 261 } // namespace content |
| 261 | 262 |
| 262 #endif // CONTENT_COMMON_GPU_MEDIA_H264_DECODER_H_ | 263 #endif // CONTENT_COMMON_GPU_MEDIA_H264_DECODER_H_ |
| OLD | NEW |