media/gpu: Pass GpuMemoryBufferFactory to VideoDecoderPipeline.
We plan to support ImageProcessor (IP) inside VideoDecoderPipeline (VDPipeline) in the future. When VDPipeline creates IP, there are 2 components (VD and IP) that need frame pool instances. In this case, VDPipeline needs to create one more frame pool. Then passes the original one to IP, and passes the new created frame pool to VD. This CL passes one GpuMemoryBufferFactory to VDPipeline, which is necessary to create one more PlatformVideoFramePool instance in the future. BUG=chromium:1004727 TEST=Run video_decode_accelerator_tests on Kevin and Eve TEST=play crosvideo.appspot.com on Kevin and Eve Change-Id: Ib370b693a99acd0df1d2a9fa57c38d77a6d7beb5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1868573Reviewed-by:Dan Sanders <sandersd@chromium.org> Reviewed-by:
David Staessens <dstaessens@chromium.org> Reviewed-by:
Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#708501}
Showing
Please register or sign in to comment