commit | c8dada6eb2d55994e79f65d4ef04bb37abd2fd8d | [log] [tgz] |
---|---|---|
author | Hirokazu Honda <hiroh@chromium.org> | Tue Nov 13 10:29:29 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 13 10:29:29 2018 |
tree | dbadcc9e3e0d17d50d37ebb25103b31030bc8ff6 | |
parent | cc6ae6a34d49604633b77f030a78a49d8bb89e3d [diff] |
media/gpu/v4l2/v4l2 VEA: Support DMABuf-backed video frame input on Encode() V4L2VEA supports only SHMEM video frame for Encode(). V4L2_MEMORY_USERPTR API is used on VIDIOC_QBUF, which is less efficient than V4L2_MEMORY_{MMAP, DMABUF} API. This enables V4L2VEA to accept DMABuf-backed video frame on Encode(). The video frame is queued with V4L2_MEMORY_DMABUF API unless ImageProcessor outputs SHMEM video frame. BUG=895230, 901264 TEST=VDA unittest --native_input on minnie, kevin Change-Id: I545e26ffb619eb6c065183f794cef78e42cc2ea8 Reviewed-on: https://chromium-review.googlesource.com/c/1301579 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Pawel Osciak <posciak@chromium.org> Cr-Commit-Position: refs/heads/master@{#607546}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .