aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-01Snap for 9358332 from f5eaab6a837b9b0ab73e37c642e6f36f317049c8 to ↵aml_art_331813100aml_art_331813010aml_art_331711080aml_art_331612010aml_art_331413030android13-mainline-art-releaseAndroid Build Coastguard Worker
mainline-art-release Change-Id: I081b31f6123269ba91adde65c46f0cc2cab81533
2022-11-23avcenc: Fix out of bound read in initialize process contextSuyog Pawar
Using incorrect stride during copy from source buffer to intermediate buffer. This is corrected Bug: 242379731 Bug: 242386193 Test: avcenc -c enc.cfg Change-Id: I307525906ee6f6df5d8e114ebbafa40d6442662d (cherry picked from commit 0a87a34fccffe15c2cc80670cf1058e7a3313c6a) Merged-In: I307525906ee6f6df5d8e114ebbafa40d6442662d
2022-09-13Snap for 9057368 from af313de0d71b817af6e37786a0a98b33b26b9c1b to ↵aml_art_331314010aml_art_331113000Android Build Coastguard Worker
mainline-art-release Change-Id: Id77afbda1e77c3e844b99527542f7f724fb7c1fa
2022-09-06avcenc: Fix recon dump for last frameHarish Mahendrakar
Last recon frame wasn't being saved in some cases, it is now fixed. Bug: 242104774 Test: avcenc -c enc.cfg Change-Id: I50fcd6709988b7126a36cc88d8abdb75e871a37a (cherry picked from commit ba6f646849cd282f22fcfa60e8b5e878da0feabe) Merged-In: I50fcd6709988b7126a36cc88d8abdb75e871a37a
2022-09-02Decoder: In case of no free buffers, release all buffersHarish Mahendrakar
When decoding erroneous streams, decoder may run out of all buffers used to hold reference pictures and MV data. In such cases, ignore all frames till the next IDR frame and then release all buffers while decoding the IDR frame. Bug: 236102268 Test: multiple seek on the clip in bug Change-Id: I14d107a5fdaf5c8d2133e59f48c2b947a5fee5ff (cherry picked from commit 2a238075dce8f4f5d06a3257ac6ecac6d82e593a) Merged-In: I14d107a5fdaf5c8d2133e59f48c2b947a5fee5ff
2022-08-23avcenc: Set default color aspects to unspecified in VUIHarish Mahendrakar
In avcenc test application, when configuring VUI, color aspects were set to 0. This causes issues when the clips are decoded using reference decoder where this is treated as RGB data. Set these to unspecified. Bug: 242104405 Test: avcenc -c enc.cfg Change-Id: I2f80250f94faccba52fe945502fc10b793def536 (cherry picked from commit 6f403c12e39deaf62c26b41c5933fe203e646bbf) Merged-In: I2f80250f94faccba52fe945502fc10b793def536
2022-08-21Decoder: add support for QP and block_type map export in libraryShivaansh Agrawal
Bug: 175179303 Test: avcdec -c dec.cfg Test: atest CtsMediaV2TestCases:CodecDecoderTest Test: atest VtsHalMediaC2V1_0TargetVideoDecTest Change-Id: I68f3a85aae1f4bca2c3e1eaad69d8eb7f23481b8 (cherry picked from commit 0033e0fe5e591626ad319669362879224d891f50) Merged-In: I68f3a85aae1f4bca2c3e1eaad69d8eb7f23481b8
2022-08-10Snap for 8929424 from 1797ff521fed73a57ef48c3cb24d4c5f4b38737b to ↵aml_art_331012050Android Build Coastguard Worker
mainline-art-release Change-Id: I912d4197afb53eb89dbccfc7ba27d3f4191851a2
2022-08-08Set correct defaults for video signal flags in VUIMartin Storsjo
When u1_video_signal_type_present_flag and u1_colour_description_present_flag were set, we did write all fields relating to video signal and color description into the VUI, even if all those fields were uninitialized (left at the default cleared zero, which for most fields are invalid/reserved value zero). Instead have these flags default to zero, making it clear that the VUI doesn't (yet) contain correctly set values for those fields. Bug: 240470605 Change-Id: I86628cff190c8a40e9c6fd12d3fc8e06419ece7c (cherry picked from commit 8362f0939b3835b84e8971237288ce50d5fe268e) Merged-In: I86628cff190c8a40e9c6fd12d3fc8e06419ece7c
2022-07-28Fix setting IVE_CMD_CTL_SET_VUI_PARAMS with IVE_ENC_MODE_HEADER modeMartin Storsjo
The ih264e_vui_ip_t struct doesn't contain any input timestamps, and the IVE_CMD_CTL_SET_VUI_PARAMS command didn't set these fields at all (leaving them at their default initialized state 0,0). At the start of ih264e_encode, pending configurations are applied if their timestamp matches the timestamp of the frame to be encoded, or applied unconditionally if the timestamps are equal to -1. Thus, the parameters set with IVE_CMD_CTL_SET_VUI_PARAMS previously only got applied if encoding a frame with the specific timestamp 0, but now they get applied unconditionally on the next encoded frame. Bug: 240466320 Change-Id: I12c50251d8485e3f171ac5c87132ddfbc80377d6 (cherry picked from commit a3eaf9ccfce7a93ae297c3866f8772c8c288039a) Merged-In: I12c50251d8485e3f171ac5c87132ddfbc80377d6
2022-05-10Snap for 8564071 from d1b4c3d8b1764d902cbb5cd627fce3ac1331fe3d to ↵Android Build Coastguard Worker
mainline-art-release Change-Id: Ia69a2e83157736ce78a6ed2bef23906da2e04335
2022-04-06Snap for 8413241 from 949f27ce82a3a82e14bbe45f33cd727bc48db918 to ↵android-mainline-12.0.0_r115Android Build Coastguard Worker
mainline-art-release Change-Id: I10b54767a92a826d81719f505268702d935dc116
2022-04-03[automerger skipped] Merge Android 12 QPR3 ab/8391262 am: aa4f882208 -s ours ↵Xin Li
am: 0ccf8ac1c1 -s ours am: 1138fbacd0 -s ours am skip reason: Merged-In I8e4f1f4c57fae1510835733173c505326f39e28f with SHA-1 f5513f5722 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libavc/+/17545184 Change-Id: Ie10fa1bead064ab2bf3ff8802b0171817954c0d0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03[automerger skipped] Merge Android 12 QPR3 ab/8391262 am: aa4f882208 -s ours ↵t_frc_odp_330442040t_frc_odp_330442000t_frc_ase_330444010android13-frc-odp-releaseandroid13-devXin Li
am: 0ccf8ac1c1 -s ours am skip reason: Merged-In I8e4f1f4c57fae1510835733173c505326f39e28f with SHA-1 f5513f5722 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libavc/+/17545184 Change-Id: I5e5caf0bd623abcf192afa337073af2e75593a19 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03[automerger skipped] Merge Android 12 QPR3 ab/8391262 am: aa4f882208 -s ourstemp_sam_236045730Xin Li
am skip reason: Merged-In I8e4f1f4c57fae1510835733173c505326f39e28f with SHA-1 f5513f5722 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libavc/+/17545184 Change-Id: I1e7784d4d48325ed0b7ff5f902630d0824aced23 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01Merge Android 12 QPR3 ab/8391262Xin Li
Bug: 226662282 Merged-In: I8e4f1f4c57fae1510835733173c505326f39e28f Change-Id: Ie5766e7c1506152070639040b82a9d2ca66766c1
2022-03-24[automerger skipped] [automerge] encoder: Fix out of bound access of ↵Neelkamal Semwal
prediction buffer 2p: 27fbb43bd6 am: f5513f5722 -s ours am: 9dba7f3586 -s ours am skip reason: Merged-In I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94 with SHA-1 949f27ce82 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libavc/+/17354043 Change-Id: If283d6657fd87ece2ded838bde9dedc3e7f84464
2022-03-24[automerger skipped] [automerge] encoder: Fix out of bound access of ↵Neelkamal Semwal
prediction buffer 2p: 27fbb43bd6 am: f5513f5722 -s ours am skip reason: Merged-In I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94 with SHA-1 949f27ce82 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libavc/+/17354043 Change-Id: I9a8339638108826a838debb40f73c0581fcfc57c
2022-03-23[automerge] encoder: Fix out of bound access of prediction buffer 2p: 27fbb43bd6Neelkamal Semwal
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libavc/+/17354043 Bug: 204704614 Change-Id: I8e4f1f4c57fae1510835733173c505326f39e28f Merged-In: I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94
2022-03-23encoder: Fix out of bound access of prediction bufferNeelkamal Semwal
While calculating the residual for inter 4x4 MB, the intrinsic instruction reads extra 4-bytes from the prediction buffer Test: POC in the bug description Bug: 204704614 Change-Id: I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94 (cherry picked from commit c79d0f5092ccc5add8a34235c354f0aab7de5360) Merged-In: I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94
2022-03-23[automerged blank] encoder: Fix out of bound access of prediction buffer 2p: ↵Neelkamal Semwal
949f27ce82 2p: 491a45c02d Blank merge reason: parent was merged -s ours Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libavc/+/17353410 Bug: 204704614 Change-Id: Ia0584ce5ea3ab649cfb8bcbba9ed064babf85add Merged-In: I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94
2022-03-23[automerged blank] encoder: Fix out of bound access of prediction buffer 2p: ↵Neelkamal Semwal
949f27ce82 Blank merge reason: Change-Id I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94 with SHA-1 c79d0f5092 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libavc/+/17353410 Bug: 204704614 Change-Id: I58083ac8f0b9355726f0edc988737a6fbb4974f1 Merged-In: I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94
2022-03-23encoder: Fix out of bound access of prediction bufferNeelkamal Semwal
While calculating the residual for inter 4x4 MB, the intrinsic instruction reads extra 4-bytes from the prediction buffer Test: POC in the bug description Bug: 204704614 Change-Id: I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94 (cherry picked from commit c79d0f5092ccc5add8a34235c354f0aab7de5360) Merged-In: I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94
2022-02-28Encoder: Rename INSERT_EPB am: 672f2bfab3 am: 9a308447a4 am: a577008bc2 am: ↵Rakesh Kumar
c8fa857c36 Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1652027 Change-Id: I5e632b3d4f61862a02a04f6a2a774a584eec1e31
2022-02-28Encoder: Rename INSERT_EPB am: 672f2bfab3 am: 9a308447a4 am: a577008bc2Rakesh Kumar
Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1652027 Change-Id: I221a71958c82cff3489997dfac16f3343132a585
2022-02-28Encoder: Rename INSERT_EPB am: 672f2bfab3 am: 9a308447a4Rakesh Kumar
Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1652027 Change-Id: I38c6d0e69ad2a04ab533cac629c407f6b7d30cc3
2022-02-28Encoder: Rename INSERT_EPB am: 672f2bfab3Rakesh Kumar
Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1652027 Change-Id: Ic7ac53398242eebacdeabc2fc013ba83a9b6771b
2022-02-28Encoder: Rename INSERT_EPBRakesh Kumar
INSERT_EPB doesn't insert emulation prevention byte and instead is used to check if an emulation prevention byte is to be inserted. Renaming INSERT_EPB to SHOULD_INSERT_EPB. Bug: 180962392 Test: build library Change-Id: I9ac8d8ca6b2d29d5bccab68404f02883acf5d361
2022-02-23Merge "Decoder: add support for KEEP_THREADS_ACTIVE" am: a3721a6a8c am: ↵Treehugger Robot
9cc479ac3e am: 03c1887ff3 am: ead245b924 Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1741273 Change-Id: I43ab53b94efeb1ca7b6a835beecec8b511702fe8
2022-02-23Merge "Decoder: add support for KEEP_THREADS_ACTIVE" am: a3721a6a8c am: ↵Treehugger Robot
9cc479ac3e am: 03c1887ff3 Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1741273 Change-Id: Ida53e52725155158a50e29b354f23515ef51ad01
2022-02-23Merge "Decoder: add support for KEEP_THREADS_ACTIVE" am: a3721a6a8c am: ↵Treehugger Robot
9cc479ac3e Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1741273 Change-Id: I6ccb63fcbc9d99a09c393a07d0ad0f05897c08d0
2022-02-23Merge "Decoder: add support for KEEP_THREADS_ACTIVE" am: a3721a6a8cTreehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1741273 Change-Id: Ia199cc93e234673b8a507800f9303d08cf303b08
2022-02-23Merge "Decoder: add support for KEEP_THREADS_ACTIVE"Treehugger Robot
2022-02-15encoder: Fix out of bound access of prediction bufferNeelkamal Semwal
While calculating the residual for inter 4x4 MB, the intrinsic instruction reads extra 4-bytes from the prediction buffer Test: POC in the bug description Bug: 204704614 Change-Id: I72b5cb8b63351efb60b65ecbb5e7a8c8bc1fcd94
2022-02-11[automerger skipped] Empty merge of ↵Xin Li
sc-v2-dev-plus-aosp-without-vendor@8084891 am: 705b9bb11f -s ours am: a66fcd399f -s ours am skip reason: Merged-In Id67d06dd5fc1645fa93b35dfb8a5747fcc0e7b51 with SHA-1 91e3d65f9f is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libavc/+/16843518 Change-Id: I89cdf7a6497905df7e36357ab4b6959e8db6b6b8
2022-02-11[automerger skipped] Empty merge of ↵Xin Li
sc-v2-dev-plus-aosp-without-vendor@8084891 am: 705b9bb11f -s ours am skip reason: Merged-In Id67d06dd5fc1645fa93b35dfb8a5747fcc0e7b51 with SHA-1 91e3d65f9f is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libavc/+/16843518 Change-Id: Id592a30a2b01bb78d308a8d2c6927d5e89db1d2d
2022-02-11Empty merge of sc-v2-dev-plus-aosp-without-vendor@8084891Xin Li
Bug: 214455710 Merged-In: Id67d06dd5fc1645fa93b35dfb8a5747fcc0e7b51 Change-Id: I6aec73b2a79b1ceb7b885e33f0d6ce89f0e1fb13
2022-02-10Fix fuzzer build failure in oss-fuzz for honggfuzz engine am: b668003b84 am: ↵Harish Mahendrakar
5a128ad647 am: 4427fc84b2 am: 07bf39e161 Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1977749 Change-Id: I96106a3c34fe2c55e7070c417ff95956530bb9e4
2022-02-10Fix fuzzer build failure in oss-fuzz for honggfuzz engine am: b668003b84 am: ↵Harish Mahendrakar
5a128ad647 am: 4427fc84b2 Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1977749 Change-Id: I5731925274e72894772fa0c1a167a3a62fd3bebb
2022-02-10Fix fuzzer build failure in oss-fuzz for honggfuzz engine am: b668003b84 am: ↵Harish Mahendrakar
5a128ad647 Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1977749 Change-Id: I38e0717a4eddbc9023e6173f1a2c6587defae06e
2022-02-10Fix fuzzer build failure in oss-fuzz for honggfuzz engine am: b668003b84Harish Mahendrakar
Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1977749 Change-Id: Ie71fad4394b29e791f5d0bf49d40b5f11d855665
2022-02-09Fix fuzzer build failure in oss-fuzz for honggfuzz engineandroid-t-preview-2android-t-preview-1android-t-beta-3android-t-preview-1Harish Mahendrakar
Test: check with oss-fuzz for honggfuzz engine Change-Id: I25d03d62c1d66954f397101cf96c5bad1ab4429a
2022-02-09Decoder: add support for KEEP_THREADS_ACTIVEManisha Jajoo
Current design of AVC Decoder creates new threads to process each frame. This CL adds support to reuse the threads across frames. Test: avcdec -c dec.cfg Bug: 191124963 Change-Id: I087699c4c7ce6aa59a1d8b078ae196a50dcf889c
2022-02-09Merge "Builds: Modular cmake scripts added" am: 6ff3e24351 am: d64adb0b31 ↵Treehugger Robot
am: 77bbe0c3bd am: b7e0393c57 Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1936184 Change-Id: I5e657c7a9d4f467f09132f1ca3239d2e310bae17
2022-02-09Merge "Builds: Modular cmake scripts added" am: 6ff3e24351 am: d64adb0b31 ↵Treehugger Robot
am: 77bbe0c3bd Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1936184 Change-Id: I5ef9c0d8cbeb51d1fb7f398ba1319154d7c81746
2022-02-09Merge "Builds: Modular cmake scripts added" am: 6ff3e24351 am: d64adb0b31Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1936184 Change-Id: I35c2e67c9e54d4242be279f886a44d05305020cc
2022-02-09Merge "Builds: Modular cmake scripts added" am: 6ff3e24351Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1936184 Change-Id: I232c8c2e58b54a27c2f8eecfe875fc085c019653
2022-02-09Merge "Builds: Modular cmake scripts added"android-s-v2-beta-3android-s-qpr3-beta-1android-s-v2-beta-3android-s-qpr3-beta-1Treehugger Robot
2022-02-08Merge SQ1A.220205.002 am: 2191ac2b82 am: de432a4550 am: dfbc2e06f9 am: ↵Xin Li
ef3a4dc3c4 Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1975453 Change-Id: I3489e456b07ba90508b6b5ee0de13e3c02266b0a
2022-02-08Merge SQ1A.220205.002 am: 2191ac2b82 am: de432a4550 am: dfbc2e06f9Xin Li
Original change: https://android-review.googlesource.com/c/platform/external/libavc/+/1975453 Change-Id: I8d0318504d9dd25a864d1fbf23ea8b36f03994d1