OSDN Git Service

meson: Add support for YUV formats
authorDaniel Nicoara <dnicoara@chromium.org>
Thu, 9 Jul 2020 23:15:42 +0000 (19:15 -0400)
committerCommit Bot <commit-bot@chromium.org>
Fri, 10 Jul 2020 19:29:54 +0000 (19:29 +0000)
commit353485ecffa5f661e1ae106cd1a3df5acc591ca1
tree6860533c7e591c7d0cf78b4583177fcd73078d5e
parentb16076b583ae373b56ef07f3380dd4a13cf0b840
meson: Add support for YUV formats

Add support to allocate a number of YUV formats. Particularly around
NV12 which can be used in the camera and encoder. This will allow
allocating/sharing buffers across multiple devices via dmabuf.

BUG=b/159467426
TEST=Allocate NV12 buffer and composite it on the GPU.

Change-Id: I9b5dc54dae7f578f7e099a64bd67589658693534
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2291194
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
Tested-by: Daniel Nicoara <dnicoara@chromium.org>
meson.c