-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to non D3D11 encoding if DXGI manager is not successfully conf…
…igured. This CL prepares for future Intel driver fix that rejects D3D manager setting on HMFT when selected encode adapter is not the same as the video capture adapter. In this situation we create IMFSample in CPU memory instead by copying from the input DXGI handle from capture module. Be noted we still block encoding on multiple-adapter system for AV1 at present until follow up CL unblocks this with correct driver information that has the adapter check logic. Bug: 1367038 Change-Id: Ie15788280495c86f0d04c9c0807cfc874c11006b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4003333 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Auto-Submit: Jianlin Qiu <jianlin.qiu@intel.com> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1069008}
- Loading branch information
Showing
4 changed files
with
160 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters