Commit Graph

5 Commits

Author SHA1 Message Date
Saurabh Shah
dbb572e6fb gralloc: Add missing format HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS
Add missing HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS in YUV format checks.
Move IsYUVFormat utility to grallocutils.

Change-Id: I8103ba2aead0d00aede21a0b43a59af741b2df95
CRs-fixed: 2166182
2018-01-04 15:38:01 -08:00
Naseer Ahmed
7aff26123e display: metadata fixes
* Do not log error on invalid metadata fds, such usages are
possible in some scenarios
* Correct usage of metadata API for some cases.

CRs-Fixed: 2122143
Change-Id: Id9cc7f4d27ef1890668f414d92b96cd419b6a066
2017-10-12 18:27:08 -04:00
Rohit Kulkarni
a152c31938 gralloc1: Add support to provide interlace info
Add new perform operation to indicate if the buffer is
interlaced. Update get yuv plane info operation to provide
info for ubwc interlaced layout.

Change-Id: I025ace1928d35e053a0cf32eafe51ee2dd4ac537
CRs-fixed: 2055788
2017-06-08 17:21:11 -07:00
Saurabh Shah
14c8e5ba8a hwc2/gralloc1: Create libgrallocutils
--For gralloc1, create a libgrallocutils that provides helpers to
calculate various buffer related info
--Make hwc2/gralloc1 structures independent of libdrmutils
and fb_id / gemhandles
--Implement GetBufferLayout API from BufferAllocator that can be called
by DAL before creating fb_id

Change-Id: I0aede7d1ea87302ecda593047728d381383484b9
CRs-fixed: 1114808
2017-04-14 10:16:22 -07:00
Prabhanjan Kandula
96e9234520 gralloc1 : initial implementation
Initial implementation of the gralloc1 APIs

Change-Id: I3b01595b0f9b30d9a08d02101fe42281556bd6a2
2016-05-11 00:49:41 +05:30