Commit Graph

11 Commits

Author SHA1 Message Date
Ramakant Singh
c7d077937e gralloc1: Check linear format
--add check for LINEAR_FORMAT.
--use getMetaData API to access value(s).

CRs-Fixed: 2079563

Change-Id: I4e9375ab0778b97ca305ba3acd134391bdced266
2017-08-03 21:38:22 +05:30
Pramodh Kumar Mukunda
927729d9ea sdm: fix null pointer dereference and vector initialization.
Change-Id: I25bb8daa6b49223a443a31d1ae17560ed6fca486
Signed-off-by: Pramodh Kumar Mukunda <pkmuku@codeaurora.org>
2017-07-26 11:43:11 +05:30
Linux Build Service Account
7a19b45ed7 Merge "gralloc1: Add support to provide interlace info" 2017-06-13 14:07:11 -07:00
Linux Build Service Account
0457725072 Merge "gralloc: Add support for Y16 and Y8 color formats" 2017-06-10 02:25:43 -07: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
Camus Wong
5c5e6fb394 sdm: Add support for new pixel formats in gralloc1
Add support for BGR_888 and CBYCRY_422_I in gralloc1.  The
new formats will be used by camera application.

CRs-Fixed: 1116491
Change-Id: Iafa240294a1e2956b96f7aa9606326bb5635a2bd
2017-05-25 20:52:44 -07:00
Anjaneya Prasad Musunuri
b165414438 gralloc: Add support for Y16 and Y8 color formats
Add support for buffer allocation with y16 and Y8
color formats.

Change-Id: If167e32c82fa1c89f205b191e8a118acff923c0b
CRs-Fixed: 2048886
2017-05-20 23:04:55 -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
Arun Kumar K.R
b97ca30f61 gralloc1.0: Add 10bit RGB formats
Add support for 10bit RGBA formats which were missed at some
places.

Change-Id: I812f8266c8525b181f61d647dfc62fba9df12147
Crs-fixed: 2030340
2017-04-06 18:30:07 -07:00
Naseer Ahmed
1c473d8172 gralloc: Add support for new system defined RGBA formats
* Add support for HAL_PIXEL_FORMAT_RGBA_FP16
* Use system defined HAL_PIXEL_FORMAT_RGBA_1010102

CRs-Fixed: 2012253
Change-Id: I2e4dfe1d06080120acc15c6b8181f8a424248bf7
2017-02-27 10:55:39 -08:00
Prabhanjan Kandula
96e9234520 gralloc1 : initial implementation
Initial implementation of the gralloc1 APIs

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