Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sandbox: Refine the hardware video decoding policy.
This CL makes the hardware video decoding sandbox policy different for the 3 mutually exclusive cases we need to handle (explained in go/oop-vd-sandbox): - Hardware decoding using VA-API on Intel. - Hardware decoding using VA-API on AMD. - Hardware decoding using V4L2. I've tried to make the sandbox policy tight in the sense that commenting a given permission would cause the representative video.PlaybackPerf.h264_1080p_30fps_hw_oopvd test to fail on at least one device. Nonetheless, this is a starting point: I know for a fact that parts of the policy could be tightened even more (for example, by restricting the arguments of the ioctl() system call). go/oop-vd-sandbox discusses why this is enough for now. Bug: b:210759684 Test: video.PlaybackPerf.h264_1080p_30fps_hw_oopvd on volteer Test: video.PlaybackPerf.h264_1080p_30fps_hw_oopvd on zork Test: video.PlaybackPerf.h264_1080p_30fps_hw_oopvd on trogdor Test: video.PlaybackPerf.h264_1080p_30fps_hw_oopvd on kevin Test: video.PlaybackPerf.h264_1080p_30fps_hw_oopvd on asurada Test: video.PlaybackPerf.h264_1080p_30fps_hw_oopvd on elm Change-Id: I04d52517b00c63c12b2053acf2e23cb8adb5ad21 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3997337 Reviewed-by: Matthew Denton <mpdenton@chromium.org> Auto-Submit: Andres Calderon Jaramillo <andrescj@chromium.org> Commit-Queue: Matthew Denton <mpdenton@chromium.org> Cr-Commit-Position: refs/heads/main@{#1075074}
- Loading branch information
1 parent
ebc919e
commit 5fa0fff
Showing
4 changed files
with
109 additions
and
26 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