OSDN Git Service

Add support to query supported Media format from DisplayPlane.
authorXiaosong Wei <xiaosong.wei@intel.com>
Mon, 2 Oct 2017 05:17:27 +0000 (22:17 -0700)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Tue, 3 Oct 2017 22:44:03 +0000 (15:44 -0700)
commitaeb32d0472635c42c8b4767232bbe761d1d8c6d4
treeca8ca59bdcee6b4b56d415d7f8cdb67ddd8be84e
parentfecbd7746b81666fd2337be5ae29e6d015395fcc
Add support to query supported Media format from DisplayPlane.

We want to fall back to a optimal packed/planar format, when
Display Plane is unable to handle a given Media buffer. This
information needs to be queried from DisplayPlane. We add
an API in DisplayPlane to query this information, this will
be used in followup patches to convert Media content to a
format which can be scanned out directly.

Jira: None.
Test: Build passes on Linux and Android.
Signed-off-by: Xiaosong Wei <xiaosong.wei@intel.com>
wsi/displayplane.h
wsi/drm/drmplane.cpp
wsi/drm/drmplane.h