forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media/gpu/v4l2: Guard MT21Decompressor correctly
The MT21Decompressor was recently introduced for ChromeOS. This function is written in NEON intrinisics and so is ARM specific. However references to it added to V4L2VDA are not correctly guarded. This breaks the build on Linux, on both ARM64 and x86_64. Nothing limits the function to ChromeOS. A user running Chrome on an MT8173 device running Linux could theoretically take advantage of it. The implementation, due to its use of intrinsics, is still limited to ARM. Add guards around references to MT21Decompressor in V4L2VDA. Also loosen the requirements so that it can be built on Linux. Bug: b:284994884, b:258331312, b:291169645 Change-Id: Ib1164c2286735a3ebd30bd1cd53857d01234da74 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4710354 Commit-Queue: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: Justin Green <greenjustin@google.com> Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org> Cr-Commit-Position: refs/heads/main@{#1175283}
- Loading branch information
Showing
6 changed files
with
79 additions
and
33 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
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