OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_GPU_VAAPI_JPEG_DECODE_ACCELERATOR_H_ | 5 #ifndef MEDIA_GPU_VAAPI_JPEG_DECODE_ACCELERATOR_H_ |
6 #define MEDIA_GPU_VAAPI_JPEG_DECODE_ACCELERATOR_H_ | 6 #define MEDIA_GPU_VAAPI_JPEG_DECODE_ACCELERATOR_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
17 #include "base/threading/non_thread_safe.h" | |
18 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
19 #include "media/base/bitstream_buffer.h" | 18 #include "media/base/bitstream_buffer.h" |
20 #include "media/gpu/media_gpu_export.h" | 19 #include "media/gpu/media_gpu_export.h" |
21 #include "media/gpu/shared_memory_region.h" | 20 #include "media/gpu/shared_memory_region.h" |
22 #include "media/gpu/vaapi_jpeg_decoder.h" | 21 #include "media/gpu/vaapi_jpeg_decoder.h" |
23 #include "media/gpu/vaapi_wrapper.h" | 22 #include "media/gpu/vaapi_wrapper.h" |
24 #include "media/video/jpeg_decode_accelerator.h" | 23 #include "media/video/jpeg_decode_accelerator.h" |
25 | 24 |
26 namespace media { | 25 namespace media { |
27 | 26 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 112 |
114 // The WeakPtrFactory for |weak_this_|. | 113 // The WeakPtrFactory for |weak_this_|. |
115 base::WeakPtrFactory<VaapiJpegDecodeAccelerator> weak_this_factory_; | 114 base::WeakPtrFactory<VaapiJpegDecodeAccelerator> weak_this_factory_; |
116 | 115 |
117 DISALLOW_COPY_AND_ASSIGN(VaapiJpegDecodeAccelerator); | 116 DISALLOW_COPY_AND_ASSIGN(VaapiJpegDecodeAccelerator); |
118 }; | 117 }; |
119 | 118 |
120 } // namespace media | 119 } // namespace media |
121 | 120 |
122 #endif // MEDIA_GPU_VAAPI_JPEG_DECODE_ACCELERATOR_H_ | 121 #endif // MEDIA_GPU_VAAPI_JPEG_DECODE_ACCELERATOR_H_ |
OLD | NEW |