media/gpu/chromeos: Add GpuBufferLayout class.
Currently, we use VideoFrameLayout to store the physical layout of video frame buffers. VideoFrameLayout uses VideoFrameLayout to indicate the buffer format. However in GPU buffer usage, we have to handle proprietary format, which is not listed in VideoPixelFormat. This CL introduces a new class "GpuBufferLayout", which is planned to replace VideoFrameLayout inside media/gpu/chromeos. Bug: 1004727 Test: ninja media/gpu/chromeos:common Change-Id: Iaac1b1c76ac6b9dace7e4b790a9161de17e3342a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899228 Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#715615}
Showing
Please register or sign in to comment