| 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_H_ |
| 6 #define MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_H_ | 6 #define MEDIA_GPU_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> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "base/threading/thread.h" | 32 #include "base/threading/thread.h" |
| 33 #include "base/win/scoped_comptr.h" | 33 #include "base/win/scoped_comptr.h" |
| 34 #include "media/filters/h264_parser.h" | 34 #include "media/filters/h264_parser.h" |
| 35 #include "media/gpu/gpu_video_decode_accelerator_helpers.h" | 35 #include "media/gpu/gpu_video_decode_accelerator_helpers.h" |
| 36 #include "media/gpu/media_gpu_export.h" | 36 #include "media/gpu/media_gpu_export.h" |
| 37 #include "media/video/video_decode_accelerator.h" | 37 #include "media/video/video_decode_accelerator.h" |
| 38 | 38 |
| 39 interface IMFSample; | 39 interface IMFSample; |
| 40 interface IDirect3DSurface9; | 40 interface IDirect3DSurface9; |
| 41 | 41 |
| 42 namespace gfx { | 42 namespace gl { |
| 43 class GLContext; | 43 class GLContext; |
| 44 } | 44 } |
| 45 | 45 |
| 46 namespace gpu { | 46 namespace gpu { |
| 47 struct GpuPreferences; | 47 struct GpuPreferences; |
| 48 } | 48 } |
| 49 | 49 |
| 50 typedef HRESULT(WINAPI* CreateDXGIDeviceManager)( | 50 typedef HRESULT(WINAPI* CreateDXGIDeviceManager)( |
| 51 UINT* reset_token, | 51 UINT* reset_token, |
| 52 IMFDXGIDeviceManager** device_manager); | 52 IMFDXGIDeviceManager** device_manager); |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_H_ |
| OLD | NEW |