commit | 4fb46f14e779b31c0f846c6623e86d74153cebae | [log] [tgz] |
---|---|---|
author | Nathan Hebert <nhebert@chromium.org> | Fri Feb 23 20:58:50 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 23 20:58:50 2024 |
tree | cf3f8222ce97951a59ff209a343ee8d3ae9d9b1b | |
parent | f27d653a6ac5b8ee9a2c21f912298d508efa45dd [diff] |
media/gpu/v4l2: Migrate flat V4L2 stateful decoder to FrameResource The change is in a few parts. It switches to the FrameResource V4L2Queue::QueueDMABuf() for all frame types. For MMAP frames, V4L2ReadableBuffer::GetFrameResource() is used to get to get a FrameResource from the MMAP V4L2 buffers. For DMA buffer frames, the frame pool GetFrame() method still returns a VideoFrame, so the frames are wrapped in a VideoFrameResource as they are retrieved from the frame pool. Note: A later commit will change the frame pool to use FrameResource natively. At that time, local use of VideoFrameResource will not be necessary. Bug: b:277581596 Test: Decode tests pass on Trogdor with flat decoder enabled Change-Id: Ie2a9976afcb7a2de6338aa861fda784c57bc4def Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5282523 Reviewed-by: Fritz Koenig <frkoenig@chromium.org> Commit-Queue: Nathan Hebert <nhebert@chromium.org> Cr-Commit-Position: refs/heads/main@{#1264733}
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.