-
Chih-Yu Huang authored
DmabufVideoFramePool is used to allocate and recycle DMA-buf backed VideoFrames. It is used by hardware accelerated video decoder. Besides allocating and recycling VideoFrame, it also provide these functions: - Limit the number of buffers to prevent client from draining the memory. - Query the original frame by the wrapped frame. BUG=941330 TEST=media_unittests Change-Id: I368d620fa0c8fb2b1a03c3479c08bad54acd55da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1527911 Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> Auto-Submit: Chih-Yu Huang <akahuang@chromium.org> Reviewed-by:
Hirokazu Honda <hiroh@chromium.org> Reviewed-by:
Alexandre Courbot <acourbot@chromium.org> Reviewed-by:
David Staessens <dstaessens@chromium.org> Reviewed-by:
Dan Sanders <sandersd@chromium.org> Cr-Commit-Position: refs/heads/master@{#664664}
716c8e2b