commit | df425d20a4a0dbc6ea6c3f2977169f1a5a302bee | [log] [tgz] |
---|---|---|
author | Hirokazu Honda <hiroh@chromium.org> | Wed Aug 24 02:52:47 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 24 02:52:47 2022 |
tree | 789b5aee4867dd95ab689352660f2504450817aa | |
parent | 44931ae306ca9dbf9daf0b9426fe5d6e83540d75 [diff] |
media: VideoFrame has ReadOnlySharedMemoryRegion VideoFrame uses a buffer produced by a decoder and a buffer input to an encoder. The buffer of VideoFrame is not written by the source producer in both cases. VideoFrame has UnsafeSharedMemoryRegion when its storage type is STORAGE_SHMEM. This CL changes VideoFrame to have ReadOnlySharedMemoryRegion to match today's use scenarios. Bug: b:242527747 Test: tast run webrtc.* Test: tast run camera.* Change-Id: I9852c8951f8d95d88369e0a503c939d0e61d0b6b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3832599 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Wei Lee <wtlee@chromium.org> Reviewed-by: Eugene Zemtsov <eugene@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/main@{#1038562}
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.