commit | ea1730d8b2f98a677d9253fdafecfd9f78bee358 | [log] [tgz] |
---|---|---|
author | Hirokazu Honda <[email protected]> | Mon Jul 08 03:52:06 2019 |
committer | Commit Bot <[email protected]> | Mon Jul 08 03:52:06 2019 |
tree | f9af7823caae9dc594d2a29065d7272f4bb05d1c | |
parent | 69d49ed6d9cd7f790a5edb11375121d412a14e10 [diff] |
media/gpu/V4L2VEA: Let some processing execute in encoder thread V4L2VideoEncodeAccelerator performs almost initializations and all functions of image processors in GPU main thread. Since GPU main thread can outlive V4L2VEA, we have to handle the post task with weak pointer in some places. This also enables to manage v4l2 queues in image processor and v4l2 queues in encoder easily. Furthermore, the task executed by GPU main thread reduce, which is generally good because GPU main thread tends to be busy all the time. Bug: 938156 Test: video_encode_accelerator_unittest Test: appr.tc on kevin Change-Id: I95f7b3119f940e0adac5fce25ec6ccbb5b044e14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680726 Commit-Queue: Hirokazu Honda <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]> Cr-Commit-Position: refs/heads/master@{#675153}
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 .