Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Side by Side Diff: content/common/gpu/media/dxva_video_decode_accelerator_win.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_DXVA_VIDEO_DECODE_ACCELERATOR_H_ 5 #ifndef CONTENT_COMMON_GPU_MEDIA_DXVA_VIDEO_DECODE_ACCELERATOR_H_
6 #define CONTENT_COMMON_GPU_MEDIA_DXVA_VIDEO_DECODE_ACCELERATOR_H_ 6 #define CONTENT_COMMON_GPU_MEDIA_DXVA_VIDEO_DECODE_ACCELERATOR_H_
7 7
8 #include <d3d11.h> 8 #include <d3d11.h>
9 #include <d3d9.h> 9 #include <d3d9.h>
10 #include <initguid.h> 10 #include <initguid.h>
11 #include <stdint.h> 11 #include <stdint.h>
12
12 // Work around bug in this header by disabling the relevant warning for it. 13 // Work around bug in this header by disabling the relevant warning for it.
13 // https://connect.microsoft.com/VisualStudio/feedback/details/911260/dxva2api-h -in-win8-sdk-triggers-c4201-with-w4 14 // https://connect.microsoft.com/VisualStudio/feedback/details/911260/dxva2api-h -in-win8-sdk-triggers-c4201-with-w4
14 #pragma warning(push) 15 #pragma warning(push)
15 #pragma warning(disable:4201) 16 #pragma warning(disable:4201)
16 #include <dxva2api.h> 17 #include <dxva2api.h>
17 #pragma warning(pop) 18 #pragma warning(pop)
18 #include <mfidl.h> 19 #include <mfidl.h>
19 20
20 #include <list> 21 #include <list>
21 #include <map> 22 #include <map>
23 #include <memory>
22 #include <vector> 24 #include <vector>
23 25
24 #include "base/compiler_specific.h" 26 #include "base/compiler_specific.h"
25 #include "base/macros.h" 27 #include "base/macros.h"
26 #include "base/memory/linked_ptr.h" 28 #include "base/memory/linked_ptr.h"
27 #include "base/memory/weak_ptr.h" 29 #include "base/memory/weak_ptr.h"
28 #include "base/synchronization/lock.h" 30 #include "base/synchronization/lock.h"
29 #include "base/threading/non_thread_safe.h" 31 #include "base/threading/non_thread_safe.h"
30 #include "base/threading/thread.h" 32 #include "base/threading/thread.h"
31 #include "base/win/scoped_comptr.h" 33 #include "base/win/scoped_comptr.h"
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 483
482 // Function pointer for the MFCreateDXGIDeviceManager API. 484 // Function pointer for the MFCreateDXGIDeviceManager API.
483 static CreateDXGIDeviceManager create_dxgi_device_manager_; 485 static CreateDXGIDeviceManager create_dxgi_device_manager_;
484 486
485 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator); 487 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator);
486 }; 488 };
487 489
488 } // namespace content 490 } // namespace content
489 491
490 #endif // CONTENT_COMMON_GPU_MEDIA_DXVA_VIDEO_DECODE_ACCELERATOR_H_ 492 #endif // CONTENT_COMMON_GPU_MEDIA_DXVA_VIDEO_DECODE_ACCELERATOR_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/avda_codec_image.cc ('k') | content/common/gpu/media/fake_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698