Reland "media/gpu/linux: Create DmabufVideoFramePool."
In the original CL, PlatformVideoFramePool class doesn't initialize the value of some data members. This CL fixed this issue. Original change's description: > 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} BUG=941330 TEST=Run "media_unittests --gtest_filter=PlatformVideoFramePool*" with gn args "is_msan = true" Change-Id: I51bfaf571c39ac53d2a2a9884e94f171373aa5f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635126Reviewed-by:Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#665085}
Showing
Please register or sign in to comment