| 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_WIN_H_ | 5 #ifndef MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ |
| 6 #define MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ | 6 #define MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ |
| 7 | 7 |
| 8 #include <d3d11_1.h> | 8 #include <d3d11_1.h> |
| 9 #include <d3d9.h> | 9 #include <d3d9.h> |
| 10 #include <initguid.h> | 10 #include <initguid.h> |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 bool pending_flush_; | 510 bool pending_flush_; |
| 511 | 511 |
| 512 // Use CODECAPI_AVLowLatencyMode. | 512 // Use CODECAPI_AVLowLatencyMode. |
| 513 bool enable_low_latency_; | 513 bool enable_low_latency_; |
| 514 | 514 |
| 515 bool share_nv12_textures_; | 515 bool share_nv12_textures_; |
| 516 | 516 |
| 517 // Copy NV12 texture to another NV12 texture. | 517 // Copy NV12 texture to another NV12 texture. |
| 518 bool copy_nv12_textures_; | 518 bool copy_nv12_textures_; |
| 519 | 519 |
| 520 // Copy video to FP16 scRGB textures. |
| 521 bool use_fp16_ = false; |
| 522 |
| 520 // When converting YUV to RGB, make sure we tell the blitter about the input | 523 // When converting YUV to RGB, make sure we tell the blitter about the input |
| 521 // color space so that it can convert it correctly. | 524 // color space so that it can convert it correctly. |
| 522 bool use_color_info_ = true; | 525 bool use_color_info_ = true; |
| 523 | 526 |
| 524 // Defaults to false. Indicates if we should use D3D or DX11 interfaces for | 527 // Defaults to false. Indicates if we should use D3D or DX11 interfaces for |
| 525 // H/W decoding. | 528 // H/W decoding. |
| 526 bool use_dx11_; | 529 bool use_dx11_; |
| 527 | 530 |
| 528 // True when using Microsoft's VP9 HMFT for decoding. | 531 // True when using Microsoft's VP9 HMFT for decoding. |
| 529 bool using_ms_vp9_mft_ = false; | 532 bool using_ms_vp9_mft_ = false; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 559 | 562 |
| 560 // Function pointer for the MFCreateDXGIDeviceManager API. | 563 // Function pointer for the MFCreateDXGIDeviceManager API. |
| 561 static CreateDXGIDeviceManager create_dxgi_device_manager_; | 564 static CreateDXGIDeviceManager create_dxgi_device_manager_; |
| 562 | 565 |
| 563 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator); | 566 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator); |
| 564 }; | 567 }; |
| 565 | 568 |
| 566 } // namespace media | 569 } // namespace media |
| 567 | 570 |
| 568 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ | 571 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ |
| OLD | NEW |