commit | 86549ccf9c22f9d538d4a111c7fbd6105f99ffe8 | [log] [tgz] |
---|---|---|
author | David Staessens <dstaessens@chromium.org> | Fri Jan 11 04:27:01 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 11 04:27:01 2019 |
tree | dd66980a49dcf18b8d4d5a7539af0cc091e51aab | |
parent | 5ac1e2a1b90508261f7627d7cc599d161514d3db [diff] |
media/gpu/test: Adapt new video decode accelerator tests to use import mode. The media::VideoDecoder interface doesn't have an allocate mode, video frames are allocated inside a buffer allocator. To prepare for the migration of the video decoders to the media::VideoDecoder interface, the video player has been adapted to use import mode. This CL also improves the way video frames are consumed. Rather than providing a callback, the video frame is wrapped in another video frame that will release the associated picture buffer upon destruction. This is done to prepare for the integration of the frame validator, so multiple entities will be able to consume video frames. TEST=ran new VDA tests on nocturne BUG=879065 Change-Id: I88d1f2c44489ed1692246372e6bd872efae5205b Reviewed-on: https://chromium-review.googlesource.com/c/1399761 Commit-Queue: David Staessens <dstaessens@chromium.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#621905}
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 .