commit | d8e47c6c0d5c7c7c48cb8d00bf4c389717826292 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@chromium.org> | Mon Feb 18 05:47:55 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 18 05:47:55 2019 |
tree | 1a0a2e938b95f6ebe53a91e982776d858979ae9e | |
parent | a077ed270f9d4b0ee266bd3cac8ce7ea7f1d408c [diff] |
media/gpu/v4l2ip: let the IP pass the buffer index to the callback itself We want to make the V4L2IP manage its buffers itself. To allow this, the client must stop asking for a specific IP buffer to be used to process a given frame. This means that the process complete callback can now receive any of the IP's buffers, which the client cannot guess anymore. This CL thus changes the callback prototype to take the buffer index, and makes the V4L2IP call it with the right buffer index. No other change is introduced, so clients will continue receiving the buffer that they requested when calling Process(). Bug: 792790 Test: Ran VDA (regular and import mode) and VEA unittest on hana and peach_pit. Change-Id: Ia61c2117e5ca36349d20ee479fad9a8b9b667ead Reviewed-on: https://chromium-review.googlesource.com/c/1454022 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#633024}
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 .