commit | ca3e63ed304404342e689532cc0d2148a57767c1 | [log] [tgz] |
---|---|---|
author | Hirokazu Honda <hiroh@chromium.org> | Thu Jan 17 10:25:23 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 17 10:25:23 2019 |
tree | b949821c9d930f014a8e3fb74433ca6e278921ac | |
parent | b698fe3f0465419062e66a7630a0f748eee37e01 [diff] |
media/gpu/v4l2: Make V4L2VDA a MemoryDumpProvider This makes V4L2VideoDecodeAccelerator a MemoryDumpProvider. Thanks to it, we can see the memory usage of V4L2VDA in chrome://tracing in enabling memory-infra. V4L2VDA reports the following memory usage as its usage; * the size of MMAP buffers in VIDIOC_OUTPUT queue, * the size of MMAP buffers in VIDIOC_CAPTURE queue, and also reports the additional information, * the number of any memory type buffers in VIDIOC_OUTPUT queue, * the memory type of buffers in VIDIOC_OUTPUT queue, * the number of any memory type buffers in VIDIOC_CAPTURE queue, and * the memory type of buffers in VIDIOC_CAPTURE queue. Screen shot of chrome://tracing: https://imgur.com/a/Wc97koz Bug: 721674 Test: chrome://tracing memory usage of V4L2VDA when video plays on hana Change-Id: I9227ccf3fab821341dac14d72a3fdc40f40c5afd Reviewed-on: https://chromium-review.googlesource.com/c/1390780 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#623630}
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 .