Age | Commit message (Collapse) | Author |
|
* Same problem as unaligned NV21_ZSL (Samsung Galaxy A70 needs this)
Change-Id: Iddf19433ddef8023b9fa3f7b735f40039dafe3a6
|
|
* Not sure why this is a thing but on some devices
(eg. Samsung Galaxy Tab S5e) aligning NV21_ZSL to
64 results in invalid width and height.
Change-Id: I8611752798a8c66ba55d52d826aa532fd76abe33
|
|
On judypn (LG V40) camera preview has red/blue colors
switched with HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS but
HAL_PIXEL_FORMAT_YCrCb_420_SP breaks camera preview
entirely.
When using HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS camera
preview works fine, with correct colors.
Change-Id: I84ffcbbeb66acf4401294de6b4f3cf846c7530b9
|
|
* Some stock camera HAL implementations output video
stream in YCrCb instead of YCbCr.
Change-Id: I562847dfd9bcf796052f6fd7263e2affbd601384
|
|
Crs-fixed: 2720776
Change-Id: I78b264d6d533940ba171f5aa3dd7c15907d57150
|
|
|
|
|
|
|
|
Change-Id: Ic2af36994c081b102e2e33f059bd694d984d3bfc
|
|
CRs-Fixed: 2738373
Change-Id: I6df95891acea34e81ada3259590d9fbc75bfbd4a
|
|
Compute the actual buffer size (including aligned width
and height) based on pixel format that is set. In this
case, calculate NV12 color format buffer sizes as per
nv12_512 alignment even when the ubwc surface is set.
Change-Id: Ic3ea1f03e9bfe0b62b3917e43d95da1f7e28bde8
|
|
Change-Id: Ib8b6a80b1f39d11e2c9c7f9949c0c0323d7e6be3
|
|
|
|
|
|
|
|
To support RAW8, RAW10, RAW12, and RAW16 in gralloc4.0, the patch sets
the corresponding data in PlaneLayoutInfo and PlaneLayoutComponent.
(Not a contribution)
Bug: 157534008
Test: VtsHalGraphicsMapperV4_0TargetTest
CRs-Fixed: 2728586
Change-Id: I5c0d7c31199b949dc32e112e2743ec6cdc7106bd
|
|
Change-Id: I56aa8742a90d50c843707143566751ecdb7ff6ae
|
|
This change takes subsampling into account when
calculating the plane width and height in samples.
It fixes mapper VTS failure for case YV12SubsampleMetadata.
CRs-Fixed: 2734403
Change-Id: I7f2fae72207d8fb19cede05f78b486524ed2cd49
|
|
Return errors from getComponentSizeAndOffset if the component
does not exist for the format, or if the format is not supported.
CRs-Fixed: 2728586
Change-Id: I4a25a4ca2a6fb766016d5634afc8dbc93c9c4ab5
|
|
|
|
The color space should be set explicitly by the producers, not
set by default in gralloc. This change resolves CTS failures in
CtsMediaV2TestCases#EncoderColorAspectsTest.
CRs-Fixed: 2737311
Change-Id: Ia7c780ecc83af3ec742a810de6253fddcfdf66b8
|
|
This change adds support for reserved regions larger than one
page, as well as indicating whether a metadata value is
default or has been explicitly set through set().
This fixes VTS failures for GetDataspace and
GetLargeReservedRegion.
CRs-Fixed: 2721357
Change-Id: I4bb428d429accb471a08bd44b88c3a565836a12c
|
|
If the interlaced metadata is not set, return standard metadata
value Interlaced_None instead of Interlaced_Qti.
Change-Id: Ib3ea47c1a6883bc6a8c4751f7309d7e76af7f851
CRs-Fixed: 2685558
|
|
Currently bytesPerStride returns aligned width in
QtiMapper::lock instead of no. of bytes in a stride.
CRs-fixed: 2646525
Change-Id: Ib0c14c59193006e6f7cf687c97187cd2f95a45ce
|
|
Schema for VINTF fragment xmls does not allow for "impl" tag,
leading to VTS failures.
CRs-Fixed: 2530094
Change-Id: I8e5344144d4f47efe13d81766d8a70dcdb8b6c94
|
|
Return ChromaSiting_None instead of ChromaSiting_Unknown per
Mapper4 VTS requirements. Setting this metadata type is not supported
CRs-Fixed: 2673528
Change-Id: I84e2794764eeec4ad23437ee8cdf5e4e2b3f8024
|
|
CRs-Fixed: 2668943
Change-Id: I989b6e3d2e8a183b91ce9c41fc238d89b7f76912
|
|
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: Ie687557089064a6d02c7505f2024db6a23e003c8
(cherry picked from commit ce25d55c476a20e6cc130d3ba9500cd055b63392)
Change-Id: Ic397ae3874e68a7b5ba9315f31fbc098db21a800
|
|
Set and check masteringDisplayInfo.colorVolumeSEIEnabled
and contentLightLevel.lightLevelSEIEnabled to indicate
when the values are valid
CRs-Fixed: 2655318
Change-Id: Id04203ff0e05cb7e8fe18d40d44399fee7f7ee51
|
|
The standard metadata type PLANE_LAYOUTS requires sizeInBits and
offsetInBits are set for the plane components. This change also
sets the default value for these fields to -1 to indicate that
they are unknown, unless explictly set
CRs-Fixed: 2659196
Change-Id: If00c02939089c489ae7f72d916a010dd1f0734e3
|
|
The dynamicMetaDataValid flag needs to be set or reset in
SetMetadata() to indicate if the dynamic metadata is useable. This
change was required because GetMetadata() for SMPTE2094_40 was
returning std::nullopt, as the flag was not being set.
CRs-Fixed: 2648631
Change-Id: Ic0dbc6043f94b9848ebf1d17aa81faf9e9754a5e
|
|
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 support to get the
allocated width and height. It also fixes the width and height
returned through get() for PlaneLayout
CRs-Fixed: 2638621
Change-Id: Ifa394a92fcd4a9fe5b8e1d7327971167f991ec33
|
|
This change checks the size of the input vector in SetMetadata().
If the vector is empty, return UNSUPPORTED
CRs-Fixed: 2654200
Change-Id: I81c2d52f3551609e50663d09aec3405d8ed5928d
|
|
Gralloc4 changes were merged as disabled by default. This change
switches Gralloc4 on
CRs-Fixed: 2660020
Change-Id: I413faa13f836c66f4ac6ea4071068e83d82d3a41
|
|
This change resolves selinux denials caused by system processes
reading vendor debug properties via gralloc. The debug properties
are read and parsed in the allocator process, then propagated
through the BufferManager
CRs-Fixed: 2619084
Change-Id: I5175a7848cdcd2671bd16ee11721066a921f3d79
|
|
CRs-Fixed: 2647933
Change-Id: Icf84b29aaeced4557d336868b8987cc47c9c27c7
|
|
CRs-Fixed: 2638571
Change-Id: Ie61b4362ba253d2bec7b8e72272aee76ed9c8269
|
|
CRs-Fixed: 2639547
Change-Id: I98c2b83c52202a4481e332ba1b918820f4f0f372
|
|
* Add QtiMapper and QtiAllocator 4.0
* Implement IMapper 4.0 APIs: get, set,
getFromBufferDescriptorInfo, flushLockedBuffer,
rereadLockedBuffer, listSupportedMetadataTypes,
dumpBuffer, dumpBuffers, and getReservedRegion
CRs-Fixed: 2633272
Change-Id: Ica42e485e426b366ffb41f30f1ea2cf395901356
Signed-off-by: Baldev Sahu <bsahu@codeaurora.org>
|
|
CRs-Fixed: 2445393
Change-Id: I8c44ab63ca81523bb6acb75e8ae878cc7466e139
|
|
Move allocator and mapper to
LOCAL_VINTF_FRAGMENTS to remove cross-component dependency
for device specific manifest.
CRs-Fixed: 2505146
Change-Id: Ia8ce2bec43ec7d8df7542f77f2b219066ebb8a9e
|
|
|
|
Change-Id: Ia4de0307b99bc4f83d8c979453bff25659e6539d
|
|
Change-Id: Ie6e82a22a067ee7ca65702680e8afea6a7f6aa39
|
|
CRs-Fixed: 2502270
Change-Id: Ia578dc97ea7280c8df11dc10e1a119e6be1b87df
|
|
Change-Id: I37beee2f460aee819e158414e220adb8a1e9dbfc
CRs-Fixed: 2592164
|
|
|
|
CRs-Fixed: 2568703
Change-Id: I183a85fe5d30dc15454de0f5bec39658c24775ee
|
|
- Add API getFormatLayout which is required by camera
team to get information of all the planes present
during YUV format call.
- Refactor the function GetYUVPlaneInfo to give some
extra information of YUV plane.
CRs-Fixed: 2464961
Change-Id: Ib84fd340f8c8926867a6f7e2ec7c0074c4dada06
|
|
For hypervisor build, allocate secure buffer from carved-out
pool, instead of system heap.
Change-Id: I5f1638867c03fc2528bf80000352d6b7ddffc471
|