commit | e547a08cbeb63a7d9cb457df8645d27cf666cab3 | [log] [tgz] |
---|---|---|
author | Jeffrey Kardatzke <jkardatzke@google.com> | Fri Sep 02 17:23:18 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 02 17:23:18 2022 |
tree | f4fd7e57e7f8d53a1cbeca62def8a34bf98a1292 | |
parent | d2921bba6f87e8679d421262a5a3fa17ea4e841a [diff] |
vaapi: Enable AV1 protected content for AMD This enables AV1 playback of protected content on AMD platforms that support it. In the cdm-oemcrypto daemon, we take the transcrypted data that AMD generates and hide it inside of a padding OBU. Then we extract that here because that is the only data marked as the encrypted range. We expect there to be 2 subsamples because there is a single trailing unencrypted byte at the end of the padding OBU. BUG=b:232908730 TEST=protected AV1 playback works on skyrim Change-Id: Ie9843505ea8d49febd9cba9595a6c3851208f2e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3696487 Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Jeffrey Kardatzke <jkardatzke@google.com> Cr-Commit-Position: refs/heads/main@{#1042634}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.