summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-03Snap for 7880955 from b69e0a1dd0cf1a51e622861f1eea63fce837a03d to sc-d2-releaseandroid-12.1.0_r26android-12.1.0_r25android-12.1.0_r24android-12.1.0_r23android-12.1.0_r18android-12.1.0_r17android-12.1.0_r16android-12.1.0_r15android-12.1.0_r14android-12.1.0_r13android-12.1.0_r12android12L-d2-s8-releaseandroid12L-d2-s7-releaseandroid12L-d2-s6-releaseandroid12L-d2-s5-releaseandroid12L-d2-s4-releaseandroid12L-d2-s3-releaseandroid12L-d2-s2-releaseandroid12L-d2-s1-releaseandroid12L-d2-releaseAndroid Build Coastguard Worker
Change-Id: Ifa7b096d8b24a9f13978ad02f79b4019036c344a
2021-11-02Snap for 7876370 from 6f338e896b0c20847529eca4846c2ab80c7a47a9 to sc-d2-releaseAndroid Build Coastguard Worker
Change-Id: I7e72730ba891d6acbe338ffc3222e680781f03b5
2021-11-02Merge changes Ifb3fb740,Id59480e7 into sc-v2-devandroid12L-devAnkit Goyal
* changes: Revert "Add delayed logger to allow logging verbose/info logs as warnings" Revert "Commit all gralloc logs to warning on high memory allocation"
2021-11-02gralloc4: Do not hold reference for dumping in allocator am: 0e8b1d64d8Ankit Goyal
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/16074853 Change-Id: I1560d33c8f09c6f44824bb590c31ee4806acffa1
2021-11-02gralloc4: Delete the gralloc handle when freeing the buffer am: 4ffbe198a4Ankit Goyal
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/16074852 Change-Id: I09155ca85758929e02b00adeb9ed5b272e11f2de
2021-10-29Revert "Add delayed logger to allow logging verbose/info logs as warnings"Ankit Goyal
This reverts commit d91ca7bd043f4bae411f298000726176c083d5b3. Delayed logging leads to computing all the logging macros (ALOGV etc) when they should be skipped. This leads to performance bottlenecks. Bug: 204428645 Test: Builds Change-Id: Ifb3fb740169047aace14cfe202c663bd54625a4e
2021-10-29Revert "Commit all gralloc logs to warning on high memory allocation"Ankit Goyal
This reverts commit 56831666f59b6bf33e1837669b6f752f973d0755. Delayed logging leads to computing all the logging macros (ALOGV etc) when they should be skipped. This leads to performance bottlenecks. Bug: 204428645 Test: Builds Change-Id: Id59480e77d0004b802d8dbe1fe26c69cd8550141
2021-10-18gralloc4: Do not hold reference for dumping in allocatorAnkit Goyal
Dump buffers are only per process and is not available at the allocator level. Gralloc should not be holding reference to that while allocating a buffer. Fix: 199336554 Test: Do not observe leaks in heap profiling Change-Id: If92cffb2db9ee30ab1a5cee0297d066138c60674
2021-10-18gralloc4: Delete the gralloc handle when freeing the bufferAnkit Goyal
Bug: 199336554 Test: Do not observe leaks in heap profiling Change-Id: Iacab8555a1f425d7746fc7ab0937ddf9b1cf23d8
2021-10-09Snap for 7806961 from 4a222191824349d125db714c281b9c09d88c2d0a to sc-d2-releaseAndroid Build Coastguard Worker
Change-Id: I57b8a347d8aea32aa2b6ddee00e5f3e815b0e148
2021-10-08Merge "Maximize the priority of gralloc allocator thread" into sc-qpr1-dev ↵Ankit Goyal
am: 03316c5e63 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15980928 Change-Id: I82a2e9adbe0de6838f891cd4d1481171c782d8b0
2021-10-08Merge "Maximize the priority of gralloc allocator thread" into sc-qpr1-devAnkit Goyal
2021-10-06Snap for 7796914 from 5489b4d8ac5103eb3fe9c8e22d0b09986d919f94 to sc-d2-releaseAndroid Build Coastguard Worker
Change-Id: Iba4ca49a1593735300648fdbabff9fcbf3fd40d3
2021-10-05Add plane layout for R8 and RG88 formats am: 94d6294954Ankit Goyal
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15940618 Change-Id: If895a93518bc2ec2bb50eb007a4ecd1c16926262
2021-10-05Maximize the priority of gralloc allocator threadAnkit Goyal
Bug: 201933520 Test: Boot to home Change-Id: I125493e6b06436e4daac73c208cd5ca5ab4b68bd
2021-10-04Add plane layout for R8 and RG88 formatsAnkit Goyal
Bug: 197289575 Test: Capture shot from UW camera, notice no failure logs Change-Id: If41bf5501fe5bdb25300b78c8cda34e1dd353645
2021-09-25Snap for 7766737 from 27137dba39fbbd8e947627438c34d63d2ce8d7df to sc-d2-releaseAndroid Build Coastguard Worker
Change-Id: Idf537a077afd71dd9af39dda5439d37de767476f
2021-09-24Add missing 16 alignment constraint of chroma stride for YV12 am: a48bf1aa7e ↵wenchangliu
am: cfbe775ebb Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15898342 Change-Id: I2a7215fb55d1344c20670d33c6afc957e661a1de
2021-09-24Add missing 16 alignment constraint of chroma stride for YV12 am: a48bf1aa7ewenchangliu
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15898342 Change-Id: I21a4ec0fa4f2cc2f26bc6dd1abf6d54b17216aba
2021-09-24Add missing 16 alignment constraint of chroma stride for YV12wenchangliu
Exynos encoder need 16 stride alignment for both luma and chroma in YV12. Add 32 stride alignment for luma to ensure we meet the requirement. This change will not impact the decoding case since we use 64 stride alignment by default. Bug: 201012738 Test: run vts -m VtsHalMediaC2V1_0TargetVideoEncTest Change-Id: I7086366bfaf4f589e878c732b30b615034ccfa20
2021-09-18Snap for 7743222 from a787a8bd192b6dde62a8efe0fd8d8c5e2c3e5dda to sc-d2-releaseAndroid Build Coastguard Worker
Change-Id: I85caddec6ab678cd03361eaee962c70ea807387b
2021-09-17Fix YV12 stride alignment issue am: 313da845be am: 32eec58e8bwenchangliu
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15836688 Change-Id: I1bc24d7e344b3212f89f2f134c774e79e7f71977
2021-09-17Fix YV12 stride alignment issue am: 313da845bewenchangliu
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15836688 Change-Id: I969df1a67826e84717b9ee24e81358a9532aeb69
2021-09-16Fix YV12 stride alignment issuewenchangliu
For some applications (TikTok, AliExpress, Shopee), the YUV layout is not requested from GraphicBufferMapper API, causing a misalignment if the resolution can't satisfy both 64 and 128 alignments. To prevent luma stride misalignment with GPU stride alignment. The luma plane will maintain the same `stride` size, and the chroma plane will align to `stride/2`. Bug: 199836131 Test: AliExpress/Shopee live streaming Change-Id: Id8dd547ff60dec7be49d777f2a63081923d5a9cf
2021-08-06Snap for 7615608 from 490e55610b6c6cd676e5198f4e0b261769321952 to sc-d2-releaseAndroid Build Coastguard Worker
Change-Id: I7cd032a909021af833cabdf10ced4431b332b8ec
2021-08-05Merge "Remove getppid call from gralloc mapper" into sc-dev am: 60ece62602TreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15471527 Change-Id: I5c463a76e93400bd51a125f7ae298ab2ff9b9b0c
2021-08-05Merge "Remove getppid call from gralloc mapper" into sc-devTreeHugger Robot
2021-08-05Remove getppid call from gralloc mapperAnkit Goyal
Some of the codec components run in minijail which blocks getppid calls. We should update the rules in codec as well to actually allow this syscall. For now this should work as a WA. Bug: 195608566 Test: Video playback in photos app Change-Id: I63cb1a74ebbef8e1fbc17a05a253f94c9f571402
2021-08-05Snap for 7611421 from a31303b33b0ce419ed83fa5e44a5a310c6d07c90 to sc-d2-releaseAndroid Build Coastguard Worker
Change-Id: I025dd9e39e7abe033483c1bb5848e0e846eb80c2
2021-08-04Merge changes Ib1f3cfda,I3d0f30b0,Ic93aa915 into sc-dev am: ed13273586TreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15433327 Change-Id: Id8d1b2cce6f808f19e08ddf6c3ec3d8ffddfc03a
2021-08-04Merge changes Ib1f3cfda,I3d0f30b0,Ic93aa915 into sc-devTreeHugger Robot
* changes: Commit all gralloc logs to warning on high memory allocation Add delayed logger to allow logging verbose/info logs as warnings Log the calling process's PID
2021-08-04Commit all gralloc logs to warning on high memory allocationAnkit Goyal
Bug: 192821955 Test: Manually verified Change-Id: Ib1f3cfdae6bf5280c5ee85fbbfa11f1e2da7cbdc
2021-08-04Add delayed logger to allow logging verbose/info logs as warningsAnkit Goyal
Bug: 192821955 Test: Manually verified Change-Id: I3d0f30b0dad3a5784659c47ce70e239aff834a7d
2021-08-02Log the calling process's PIDAnkit Goyal
Bug: 192821955 Test: Logcat Change-Id: Ic93aa915d76f10dac0a9084240df8e403497090e
2021-07-28Snap for 7588529 from 3b0a617ec84db1847a213f34d853df5f9cbbc6e1 to sc-d2-releaseAndroid Build Coastguard Worker
Change-Id: I6dd0284082aafaf7dddc5b77f870eb69930e7001
2021-07-27Merge "Replace refcounting functions with buffer free" into sc-dev am: ↵Sean Callanan
f6178197c1 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15373148 Change-Id: I0022eda40231c930104b6a16cb5b94f8fa13318f
2021-07-27Merge "Replace refcounting functions with buffer free" into sc-devSean Callanan
2021-07-27Replace refcounting functions with buffer freeSean Callanan
libGralloc4Wrapper currently exposes reference retain and free functions which call into Gralloc's internal reference-counting mechanisms. These actually aren't necessary: the only thing that clients need is a function that undoes the effect of importBuffer() on a locally-created buffer. Removed ::retain and ::release, and instead added freeImportedHandle(), which calls freeBuffer(), unregistering the buffer, and then also manually unmaps the buffer's handles (which is necessary because freeBuffer() doesn't normally do that). Bug: 193573573 Test: many photos with rear and front camera Change-Id: Iba339d35279512d75da01388c294e6c2191ede6a
2021-07-27Merge "VendorGraphicBuffer: Add import buffer and free buffer functions" ↵Charlie Chen
into sc-dev am: 2cc6407faa Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15372210 Change-Id: Ife8546a4ce41e6bc30eb674a8b9f5934ff0ca32a
2021-07-27Merge "VendorGraphicBuffer: Add import buffer and free buffer functions" ↵Charlie Chen
into sc-dev
2021-07-27include: update VendorVideoAPI for CROP info support am: 7e7db0db0bTaehwan Kim
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15389012 Change-Id: If8685ba1441005dc55509be5338b86a374b2ef99
2021-07-27VendorGraphicBuffer: Add import buffer and free buffer functionsCharlie Chen
Bug: b/187279591 Test: video playback(YouTube, Exoplayer), video recording \ 3P Apps recording Change-Id: I72f422f7500cf3a0896f4d491719f2f24da91949 Signed-off-by: Charlie Chen <yuchungchen@google.com>
2021-07-26include: update VendorVideoAPI for CROP info supportTaehwan Kim
Bug: 188737888 Test: atest CtsMediaTranscodingTestCases Signed-off-by: Taehwan Kim <t_h.kim@samsung.com> Change-Id: I5e4819a87ab9cbe2d57e022b103343f8a4204e79
2021-07-23Snap for 7574908 from 274c36004c29779728dc649a4a35c98c6d63c54b to sc-d2-releaseAndroid Build Coastguard Worker
Change-Id: Ia15915a6670410480176ea743b164272ca411166
2021-07-22Merge "videoapi: fix bugs at Exynos_dynamic_meta_to_itu_t_t35" into sc-dev ↵TreeHugger Robot
am: d1b69d5840 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15301199 Change-Id: Idd6b84f0bb2b633d5d41497668518261ffe11b5a
2021-07-22Merge "videoapi: fix bugs at Exynos_dynamic_meta_to_itu_t_t35" into sc-devTreeHugger Robot
2021-07-21Snap for 7566245 from bb8c19e48d4479492b88d656d42e8b3cfa624944 to sc-d2-releaseAndroid Build Coastguard Worker
Change-Id: Ib27df0472594ccd4a3d6a91a369052f31857b17d
2021-07-19Merge "Allow realigning YV12 to satisfy C2's stride assumptions" into sc-dev ↵TreeHugger Robot
am: fde1f74d4d Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/gchips/+/15029670 Change-Id: Ib36b6167d9d066660400c94220eef594c17e9262
2021-07-19Merge "Allow realigning YV12 to satisfy C2's stride assumptions" into sc-devTreeHugger Robot
2021-07-16videoapi: fix bugs at Exynos_dynamic_meta_to_itu_t_t35Byung-Gwan Kang
Bug: 193510942 Test: android.media.cts.DecoderTest#testH265Hdr10PlusMetadata Change-Id: I43d7493325c0e1fbe6f968348cda22ace2a29084 Signed-off-by: Byung-Gwan Kang <bk0917.kang@samsung.com>