| 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_FILTERS_GPU_VIDEO_DECODER_H_ | 5 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ |
| 6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ | 6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <list> | 11 #include <list> |
| 12 #include <map> | 12 #include <map> |
| 13 #include <set> | 13 #include <set> |
| 14 #include <utility> | 14 #include <utility> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "gpu/command_buffer/common/sync_token.h" | 19 #include "gpu/command_buffer/common/sync_token.h" |
| 20 #include "media/base/pipeline_status.h" | 20 #include "media/base/pipeline_status.h" |
| 21 #include "media/base/surface_manager.h" | 21 #include "media/base/surface_manager.h" |
| 22 #include "media/base/video_decoder.h" | 22 #include "media/base/video_decoder.h" |
| 23 #include "media/video/video_decode_accelerator.h" | 23 #include "media/video/video_decode_accelerator.h" |
| 24 | 24 |
| 25 template <class T> class scoped_refptr; | 25 template <class T> class scoped_refptr; |
| 26 | 26 |
| 27 namespace base { | 27 namespace base { |
| 28 class SharedMemory; | 28 class SharedMemory; |
| 29 class SingleThreadTaskRunner; | |
| 30 } | 29 } |
| 31 | 30 |
| 32 namespace gpu { | 31 namespace gpu { |
| 33 struct SyncToken; | 32 struct SyncToken; |
| 34 } | 33 } |
| 35 | 34 |
| 36 namespace media { | 35 namespace media { |
| 37 | 36 |
| 38 class DecoderBuffer; | 37 class DecoderBuffer; |
| 39 class GpuVideoAcceleratorFactories; | 38 class GpuVideoAcceleratorFactories; |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 // Bound to factories_->GetMessageLoop(). | 258 // Bound to factories_->GetMessageLoop(). |
| 260 // NOTE: Weak pointers must be invalidated before all other member variables. | 259 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 261 base::WeakPtrFactory<GpuVideoDecoder> weak_factory_; | 260 base::WeakPtrFactory<GpuVideoDecoder> weak_factory_; |
| 262 | 261 |
| 263 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); | 262 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); |
| 264 }; | 263 }; |
| 265 | 264 |
| 266 } // namespace media | 265 } // namespace media |
| 267 | 266 |
| 268 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ | 267 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ |
| OLD | NEW |