| 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 CHROME_GPU_GPU_VIDEO_DECODER_H_ | 5 #ifndef CONTENT_GPU_GPU_VIDEO_DECODER_H_ |
| 6 #define CHROME_GPU_GPU_VIDEO_DECODER_H_ | 6 #define CONTENT_GPU_GPU_VIDEO_DECODER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/process.h" | 13 #include "base/process.h" |
| 14 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
| 15 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
| 16 #include "base/shared_memory.h" | 16 #include "base/shared_memory.h" |
| 17 #include "chrome/gpu/media/gpu_video_device.h" | 17 #include "content/gpu/media/gpu_video_device.h" |
| 18 #include "media/video/video_decode_context.h" | 18 #include "media/video/video_decode_context.h" |
| 19 #include "media/video/video_decode_engine.h" | 19 #include "media/video/video_decode_engine.h" |
| 20 #include "ipc/ipc_channel.h" | 20 #include "ipc/ipc_channel.h" |
| 21 | 21 |
| 22 using media::Buffer; | 22 using media::Buffer; |
| 23 using media::PipelineStatistics; | 23 using media::PipelineStatistics; |
| 24 using media::VideoCodecConfig; | 24 using media::VideoCodecConfig; |
| 25 using media::VideoCodecInfo; | 25 using media::VideoCodecInfo; |
| 26 using media::VideoStreamInfo; | 26 using media::VideoStreamInfo; |
| 27 using media::VideoFrame; | 27 using media::VideoFrame; |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 // GpuVideoDevice from the associated GL textures. | 199 // GpuVideoDevice from the associated GL textures. |
| 200 // TODO(hclam): Using a faster data structure than map. | 200 // TODO(hclam): Using a faster data structure than map. |
| 201 typedef std::map<int32, scoped_refptr<media::VideoFrame> > VideoFrameMap; | 201 typedef std::map<int32, scoped_refptr<media::VideoFrame> > VideoFrameMap; |
| 202 VideoFrameMap video_frame_map_; | 202 VideoFrameMap video_frame_map_; |
| 203 | 203 |
| 204 media::VideoCodecInfo info_; | 204 media::VideoCodecInfo info_; |
| 205 | 205 |
| 206 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); | 206 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); |
| 207 }; | 207 }; |
| 208 | 208 |
| 209 #endif // CHROME_GPU_GPU_VIDEO_DECODER_H_ | 209 #endif // CONTENT_GPU_GPU_VIDEO_DECODER_H_ |
| OLD | NEW |