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_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_H_ | 5 #ifndef MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ |
6 #define MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_H_ | 6 #define MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_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 |
13 // 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. |
14 // 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 |
15 #pragma warning(push) | 15 #pragma warning(push) |
16 #pragma warning(disable : 4201) | 16 #pragma warning(disable : 4201) |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_; | 493 base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_; |
494 | 494 |
495 // Function pointer for the MFCreateDXGIDeviceManager API. | 495 // Function pointer for the MFCreateDXGIDeviceManager API. |
496 static CreateDXGIDeviceManager create_dxgi_device_manager_; | 496 static CreateDXGIDeviceManager create_dxgi_device_manager_; |
497 | 497 |
498 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator); | 498 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator); |
499 }; | 499 }; |
500 | 500 |
501 } // namespace media | 501 } // namespace media |
502 | 502 |
503 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_H_ | 503 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ |
OLD | NEW |