Add support to assign video decoder stat info metadata
in gralloc buffer with in gralloc interface.
Change-Id: I87a130cff68e425a5493b4711e2c344a45597254
Signed-off-by: Mahesh Kumar Sharma <quic_smahesh@quicinc.com>
Introduce a new dynamic memory region to store custom content
metadata that has sizing requirements that exceeds the base
1KB region allocated. This region is dynamic to ensure a layer's
memory requirements are only increased when absolutely needed.
Change-Id: I774197ed0c4ec7a18cc09b24262b6548dc293e72
Fix possible security issue which can happen if client changes
reserved size in meta data. This can cause wrong size munmap.
Change-Id: I5d2b55272d1b5df217e71c45ecdece9ed9eaae97
Store buffer access control information in metadata and add interface
to set/change buffer access control after the buffer allocation
Change-Id: I2dfb99c4db82f896b623a1f394977632a4bfd0e0
(cherry picked from commit 222f30bc47e072a6e7d3ba677f6630f2dc7e9661)
Moved libdisplayconfig.qti, libqdMetadata, and libgralloc.qti from
vendor/qcom/opensource/commonsys-intf/display to
vendor/qcom/opensource/commonsys/display to install in system_ext
Change-Id: I59dd04f09184947f72ad9823a2e9e8c5e9c5422c
LNXDISPLAY-1552: REQ002
CRs-Fixed: 2972776
Update the values of defines as it was done previously. Reordering
value of defines will cause backward compatibility issues. Update
value of ITU_R_709_FR as a new enum value which was not used
previously.
Change-Id: Ief47e131863e6d01481f1d5c2097bd7ce100cd7a
Enable qiifa abi check for gralloc, libqdmetadata and
libdisplayconfig libraries as part of enabling QIIFA
interface checks for display techpack.
Change-Id: I5b5667d58baf0039ccac5faf08f3a3f09d569d29
Add support to pass new video timestamp info metadata
in gralloc buffer. Add support in both qdmetadata
and Gralloc4 interface.
CRs-Fixed: 2713472
Change-Id: Ica7776c6594ec3224f631f2eb23a1988f075313f
* Move from fixed array reserved region to variable reserved
region size
* Add bool arrays to indicate whether metadata has been set using
Gralloc4 indices
* Replace metadata->operation with bool arrays for
gralloc4/qdMetaData compatibility
CRs-Fixed: 2730848
Change-Id: Id52aac70c23ee4b39db185861f951bb909831afb
- In gralloc3, first member 'size' in GraphicsMetadata struct was
never unused in call to GetGraphicsMetadata. Get() call always
returned 'data' member in GraphicsMetadata structure.
- Gralloc4 implementation introduced new encode/decode functions for
GraphicsMetadata which are simultaneously used during set/get
calls to encode/decode metadata for caller and during storing/
retrieving it from Metadata_t struct. Get() call returned
GraphicsMetadata struct pointing to its first member 'size'
instead of second member 'data'.
- Implement function to encode/decode GraphicsMetadataRaw to translate
the metadata before calling mapper set/get.
- Update encodeGraphicsMetadata/decodeGraphicsMetadata functions to
store/retrieve only 'data' member in GraphicsMetadata structure.
CRs-fixed: 2682060
Change-Id: I60c3dd2029ba21aa481dad35f9b4738b2d78957a
When enforce compile time product I/F, system_ext module
cannot link to product module and vice versa.
When PRODUCT_PRODUCT_VNDK_VERSION := current, all native modules
in product partition are in the product variant. Adding system_ext_specific
and vendor_available will create system_ext variant and vendor variant.
This will fix the following dependency compile 2 errors:
-Error: MMCapability.cpp:33:10: fatal error: 'qd_utils.h' file not found
libwfdsinksm.so [MMCapability.cpp], installed in SYSTEM_EXT partition
and depends on libqdMetaData [qd_utils.h], accessable in product partition.
Replacing product_specific with system_ext_specific, while enforcing product I/F
will install libqdMetaData in system_ext and variant in product partition
-Error: dependency "libgralloc.qti" of "libqdMetaData" missing variant
libqdMetaData now moved to system_ext. Need to install libgralloc.qti
in system_ext.
Change-Id: Ic4eb768173f2125cee2bb1fa69665b50e8708ea5
There were some concerns raised in the intern code review process. Since
Qualcomm has merged their Gralloc4.0 changes into their codebase, the
patch created another standlane change to address the concerns within
the code review.
Bug: 141596968
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I33905f5f1198089a1e3fe16e1fd46a8f614e8679
(cherry picked from commit 3dfff2a5af39b14422ede072e3e9d95596e5fc3f)
The standard metadata types for width and height return the
values requested by the client, rather than the width and height
of the allocated buffer. This change adds internal metadata types
so clients can query the allocated values.
CRs-Fixed: 2638621
Change-Id: I7c69cff65512c30e27eb86ef33f67079c979eeb6
This change adds libgralloc.qti to support Gralloc4 and the transition to
standardized metadata.
CRs-Fixed: 2619182
Change-Id: Ia43de9b1dc9da52affc508783c046b82cde1775e
if gr_priv_handle.h is accessed via C files, it throws error.
Added ifdef for cpluplus to fix this.
Change-Id: I16e593fb369205fefec76b05e9c6199b376d2f67
Add interlace flag to get the plane layout count and info
in case of interlaced content.
CRs-Fixed: 2464961
Change-Id: I6f1cc38f71a79a0fecde773a29ea0847020daeb9
Force 4 bytes padding to avoid data leak due to uninitialized padding.
Bug: 77237704
Change-Id: I3922bf62bfa6c78806a6d5fd969e2d9faf067abe
CRs-Fixed: 2257685