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

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

Issue 2119773002: Use Microsoft's HMFT for VP9 decoding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | media/gpu/dxva_video_decode_accelerator_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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.h> 8 #include <d3d11.h>
9 #include <d3d9.h> 9 #include <d3d9.h>
10 #include <initguid.h> 10 #include <initguid.h>
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 469
470 bool share_nv12_textures_; 470 bool share_nv12_textures_;
471 471
472 // Copy NV12 texture to another NV12 texture. 472 // Copy NV12 texture to another NV12 texture.
473 bool copy_nv12_textures_; 473 bool copy_nv12_textures_;
474 474
475 // Defaults to false. Indicates if we should use D3D or DX11 interfaces for 475 // Defaults to false. Indicates if we should use D3D or DX11 interfaces for
476 // H/W decoding. 476 // H/W decoding.
477 bool use_dx11_; 477 bool use_dx11_;
478 478
479 // True when using Microsoft's VP9 HMFT for decoding.
480 bool using_ms_vp9_mft_ = false;
481
479 // True if we should use DXGI keyed mutexes to synchronize between the two 482 // True if we should use DXGI keyed mutexes to synchronize between the two
480 // contexts. 483 // contexts.
481 bool use_keyed_mutex_; 484 bool use_keyed_mutex_;
482 485
483 // Set to true if the DX11 video format converter input media types need to 486 // Set to true if the DX11 video format converter input media types need to
484 // be initialized. Defaults to true. 487 // be initialized. Defaults to true.
485 bool dx11_video_format_converter_media_type_needs_init_; 488 bool dx11_video_format_converter_media_type_needs_init_;
486 489
487 // Set to true if we are sharing ANGLE's device. 490 // Set to true if we are sharing ANGLE's device.
488 bool using_angle_device_; 491 bool using_angle_device_;
(...skipping 19 matching lines...) Expand all
508 511
509 // Function pointer for the MFCreateDXGIDeviceManager API. 512 // Function pointer for the MFCreateDXGIDeviceManager API.
510 static CreateDXGIDeviceManager create_dxgi_device_manager_; 513 static CreateDXGIDeviceManager create_dxgi_device_manager_;
511 514
512 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator); 515 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator);
513 }; 516 };
514 517
515 } // namespace media 518 } // namespace media
516 519
517 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ 520 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | media/gpu/dxva_video_decode_accelerator_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698