Refactor GetResolutionsForDecoders() to support AV1.
Does the following: - Internalizes h264 and min resolution details. - Sets the minimum resolution to 64,64 for both decoders. - Only loops through the video device profiles once. - Switches away from an std::pair to a named struct. - Adds AV1 GUID values and uses them in DXVA decoder. - Stops D3D11VideoDecoder for enumerating unsupported profiles. - Stops using the DXVA2_Intel_ModeH264_E for enumeration. - Gives all resolution tests a square resolution; e.g., 4k x 4k. - Doesn't test or indicate support for a duplicate portrait resolution. R=liberato, tmathmeyer Bug: 1073252 Test: Updated unittests. Change-Id: I8013e89104c96fad845fdbaecdb1d4b239f9a380 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2223261 Commit-Queue: Frank Liberato <liberato@chromium.org> Reviewed-by:Ted Meyer <tmathmeyer@chromium.org> Reviewed-by:
Frank Liberato <liberato@chromium.org> Auto-Submit: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#774317}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment