aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-23Merge "Remove useless `neon:` clause." into mainHEADmastermainTreehugger Robot
2024-03-23Remove useless `neon:` clause.Harish Mahendrakar
There hasn't been a non-neon platform build in years. Bug: 330929681 Test: Builds Change-Id: I85297ba6f0472cd233196c02a8bd085b2cc3c1c9
2024-01-24Merge "Remove empty Android.mk" into main am: 25cb5c3e5cTreehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/libvpx/+/2925650 Change-Id: I212066678e539df796dc583142ee5a38ab24db41 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-24Merge "Remove empty Android.mk" into mainTreehugger Robot
2024-01-24Remove empty Android.mkHarish Mahendrakar
This empty file was used to shadow Android.mk files present in subfolders earlier. The Android.mk in subfolders are now under ifdef NDK_ROOT and thus they don't impact the builds in Android source tree making the empty Android.mk redundant. Bug: 322108371 Test: Treehugger Change-Id: I5d3de13da631a93dcf26dc0739dd8ed3cb1eae54
2024-01-23Merge "Remove README.version" into main am: 55976ac2e2Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/libvpx/+/2922353 Change-Id: Iba6af30aaac4d9c8234866f87970848927519537 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-23Merge "Remove README.version" into mainTreehugger Robot
2024-01-23Remove README.versionHarish Mahendrakar
METADATA has all the relevant details and README.version is now redundant. Bug: 321865433 Test: Treehugger Change-Id: I2affe890e0b352bea5713638f265352144b3e566
2024-01-23Merge "Update version info in METADATA, README.android and README.version" ↵Treehugger Robot
into main am: 2bc965472b Original change: https://android-review.googlesource.com/c/platform/external/libvpx/+/2922377 Change-Id: Ibd67d812cbf5cf561ae4b11aafcc49d89ba1e3e1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-23Merge "Update version info in METADATA, README.android and README.version" ↵Treehugger Robot
into main
2024-01-22Update version info in METADATA, README.android and README.versionHarish Mahendrakar
Test: TreeHugger Change-Id: Ie34cdedc04ff2c9002c44ae8bc1b7149ad003465
2024-01-22Merge "Merge commit '602e2e8979d111b02c959470da5322797dd96a19' into ↵James Zern
aosp/main" into main am: b469e8f789 Original change: https://android-review.googlesource.com/c/platform/external/libvpx/+/2920688 Change-Id: I521b49f0c60299465a8032fe31ddc265b50e6636 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-22Merge "Merge commit '602e2e8979d111b02c959470da5322797dd96a19' into ↵James Zern
aosp/main" into main
2024-01-19Merge commit '602e2e8979d111b02c959470da5322797dd96a19' into aosp/mainJames Zern
* commit '602e2e8979d111b02c959470da5322797dd96a19': (395 commits) Fix a typo in changelog for v1.14.0 Update version Update changelog with vp9 ext rc Update changelog Remove VP9E_GET_TPL_STATS Update AUTHORS and .mailmap configure: add -arch flag when targeting darwin23 README: update target list Update frame size in actual encoding Fix a bug in simple motion search Set pred buffer stride correctly Improve test comments. Add unittest for issue b/314857577 Remove SSE code for 128x* blocks Use vpx_sse instead of vpx_mse to compute SSE vp9_frame_scale.c,cosmetics: funnction -> function Add the needed Android API level predicates. Fix a bug in frame scaling Fix edge case when downsizing to one. Set skip_recode=0 in nonrd_pick_sb_modes ... Bug: webm:1833 Change-Id: I17a66a574672ce094fb9bf52d3fb368e78ee9241 Test: presubmit + compile aosp_arm-trunk_staging-eng, \ aosp_arm64-trunk_staging-eng, aosp_riscv64-trunk_staging-eng, \ aosp_x86-trunk_staging-eng, aosp_x86_64-trunk_staging-eng, \ aosp_barbet-trunk_staging-userdebug, aosp_oriole-trunk_staging-userdebug
2024-01-09Fix a typo in changelog for v1.14.0Jerome Jiang
Bug: webm:1833 Change-Id: I8133f678cf4231f2d048c61e42622b883897712a
2024-01-09Update versionJerome Jiang
Before release: c-a=8, a=0, r=1 -> c=8, a=0, r=1 After release: - If the library source code has changed at all since the last update, then increment revision: c=8, a=0, r=r+1=2 - If any interfaces have been added, removed, or changed since the last update, increment current, and set revision to 0: c=c+1=9, a=0, r=0 - If any interfaces have been added since the last public release, then increment age: c=9, a=a+1=1, r=0 - If any interfaces have been removed or changed since the last public release, then set age to 0: c=9, a=0, r=0 (VpxTpl* structure changes) MAJOR=c-a=9 MINOR=a=0 PATCH=r=0 Bug: webm:1833 Change-Id: Id24c9a0ff415a6f625d17b6098cdd0baf27432e3
2024-01-04Update changelog with vp9 ext rcJerome Jiang
Bug: webm:1833 Change-Id: I7e6e1da7965f098c8b62c55a09619d0bf703b516
2024-01-02Update changelogJerome Jiang
Bug: webm:1833 Change-Id: I90ffd457cafe705a040f9a63b870da66c076076e
2023-12-18Remove VP9E_GET_TPL_STATSJerome Jiang
This is never used. A callback in external rc func was added and used instead. Change-Id: Iade6f361072f0c28af98904baf457d2f0e9ca904 (cherry picked from commit 41ced868a69625372c95ff0b2bd5f90987516c3b)
2023-12-14Update AUTHORS and .mailmapJerome Jiang
Bug: webm:1833 Change-Id: I4569b9dc1ec1c70458120bebc45b2c963796ed87
2023-12-14configure: add -arch flag when targeting darwin23Hari Limaye
Commit db83435 introduced support for configuring for *-darwin23-gcc. However configuring for *-darwin23-gcc does not currently add the `-arch` flag to CFLAGS/LDFLAGS, so correct this here. Change-Id: Ieeda1a5039ad40590dfcdcc6ba615a1d1697d54d
2023-12-11README: update target listJames Zern
Change-Id: I001179ce34b2bf2350dce5f0197b6be175ab1c37 (cherry picked from commit f9b7c857683cb1d033b9d6a13e92843e6d8740a3)
2023-12-08Update frame size in actual encodingCheng Chen
Issue explanation: The unit test calls set_config function twice after encoding the first frame. The first call of set_config reduces frame width, but is still within half of the first frame. The second call reduces frame width even more, making is less than half of the first frame, which according to the encoder logic, there is no valid ref frames, and this frame should be set as a forced keyframe. This leads to null pointer access in scale_factors later. Solution: To make sure the correct detection of a forced key frame, we need to update the frame width and height only when the actual encoding is performed. Bug: b/311985118 Change-Id: Ie2cd3b760d4a4b399845693d7421c4eb11a12775 (cherry picked from commit 1ed56a46b3f6b18e1fb89a091e60d80ae20eec01)
2023-12-08Fix a bug in simple motion searchYunqing Wang
This change fixed a bug revealed by b/311294795. In simple motion search, the reference buffer pointer needs to be restored after the search. Otherwise, it causes problems while the reference frame scaling happens. This CL fixes the bug. Bug: b/311294795 Change-Id: I093722d5888de3cc6a6542de82a6ec9d601f897d (cherry picked from commit 50ed636e49db2b8fa2436413480f11ab1f2a2d1a)
2023-12-08Set pred buffer stride correctlyJerome Jiang
Bug: b/312875957 Change-Id: I2eb5ab86d5fe30079b3ed1cbdb8b45bb2dc72a1d (cherry picked from commit 585798f756d60bef3761d76700f3a14e8d5d46d9)
2023-12-08Improve test comments.Bohan Li
Change-Id: I42dddb946193e30cf07e39b43eaad051c5da479a (cherry picked from commit 9ad598f249ee5af0ad211797063fba6de8d1ff80)
2023-12-08Add unittest for issue b/314857577Marco Paniconi
Bug: b/314857577 Change-Id: I591036c1ad3362023686d395adb4783c51baa62d (cherry picked from commit 12e928cb342d1d4cc8ac3c71b26da45e4488cb88)
2023-12-08Remove SSE code for 128x* blocksWan-Teh Chang
The maximum block size is 64x64 in VP9. Bug: webm:1819 Change-Id: If9802be9f81b51dbcdbc8a68d5afe48ca6d3d0e7 (cherry picked from commit c4c92080545970899488ab27944792a95c7131a2)
2023-12-08Use vpx_sse instead of vpx_mse to compute SSEWan-Teh Chang
Use vpx_sse and vpx_highbd_sse instead of vpx_mse16x16 and vpx_highbd_8_mse16x16 respectively to compute SSE for PSNR calculations. This solves an issue whereby vpx_highbd_8_mse16x16 was being used to calculate SSE for 10- and 12-bit input. This is a port of the libaom CL https://aomedia-review.googlesource.com/c/aom/+/175063 by Jonathan Wright <jonathan.wright@arm.com>. Bug: webm:1819 Change-Id: I37e3ac72835e67ccb44ac89a4ed16df62c2169a7 (cherry picked from commit 7dfe343199381bddddc5eaa648e947876979b61b)
2023-12-07vp9_frame_scale.c,cosmetics: funnction -> functionJames Zern
Change-Id: I8ecbd52037ff096f5c84c834b193b0a34c55a8b7 (cherry picked from commit 2f258fdee1b2dc276d973cde6bd2f81c63f13155)
2023-12-06Add the needed Android API level predicates.Wan-Teh Chang
fseeko and ftello are available on Android only from API level 24. Add the needed guards for these functions. Suggested by Yifan Yang. Change-Id: I3a6721d31e1d961ab10b434ea6e92959bd5a70ab (cherry picked from commit bf0755418357237f6ea4794dfab3c474d06a0937)
2023-12-06Fix a bug in frame scalingYunqing Wang
This change fixed a corner case bug reealed by b/311394513. During the frame scaling, vpx_highbd_convolve8() and vpx_scaled_2d() requires both x_step_q4 and y_step_q4 are less than or equal to a defined value. Otherwise, it needs to call vp9_scale_and_extend_ frame_nonnormative() that supports arbitrary scaling. The fix was done in LBD and HBD funnctions. Bug: b/311394513 Change-Id: Id0d34e7910ec98859030ef968ac19331488046d4 (cherry picked from commit 8bf3649d410cd68076e532e697f34dcec3f87ce7)
2023-12-06Fix edge case when downsizing to one.Bohan Li
BUG: b/310329177 Change-Id: I2ebf4165adbc7351d6cc73554827812dedc4d362 (cherry picked from commit a9f1bfdb8e93a742da9a14d4a9d3b1d847edd70d)
2023-12-06Set skip_recode=0 in nonrd_pick_sb_modesAngie Chiang
Need to set skip_recode properly so that vp9_encode_block_intra() can work properly when it is called by block_rd_txfm(). We can not skip "recode" because it is still at the rd search stage. Bug: b/310340241 Change-Id: I7d7600ef72addd341636549c2dad1868ad90e1cb (cherry picked from commit f10481dc0a49b5d53428560de2a2eee43f9ed60f)
2023-12-06Fix scaled reference offsets.Bohan Li
Since the reference frame is already scaled, do not scale the offsets. BUG: b/311489136, b/312656387 Change-Id: Ib346242e7ec8c4d3ed26668fa4094271218278ed (cherry picked from commit 845a817c056c05e8fe7ae9298be47b949d8aceee)
2023-12-06configure: Add darwin23 supportGerda Zsejke More
Add target arm64-darwin23-gcc, x86_64-darwin23-gcc for MacOS 14. Change-Id: I6b68a6a61d51aaa78ec11a5055bb95ce77a81d9c (cherry picked from commit db83435afbeee1a31a9e6cdeca38407ebc724bc8)
2023-12-01Merge "Add a test for b/312517065" into mainWan-Teh Chang
2023-11-30Add a test for b/312517065Wan-Teh Chang
Bug: b/312517065 Change-Id: I6b5529a8e034fb0468f110e420fafb4944a19d0f
2023-11-29psnr.h,cosmetics: fix a typo (PNSR -> PSNR)James Zern
Change-Id: I2adea9f150852c106acc57e5aeeac571d6bd15fb
2023-11-29Merge "vp9 rc: support screen content" into mainJerome Jiang
2023-11-29vp9 rc: support screen contentJerome Jiang
Bug: b/281463780 Change-Id: I23668550257b28031bdca0537459f93ec63f1e2e
2023-11-29Add VP9Encoder class to simplify fuzz test casesWan-Teh Chang
Bug: b:306422625 Change-Id: I8344cb7fb4e1aee87d46f683746517cdcddf5c5d
2023-11-29Merge "Adding "const" to vpx_codec_iface_t is redundant" into mainWan-Teh Chang
2023-11-29Merge "ratectrl_rtc: Remove duplicated DropFrameReason enum class" into mainHirokazu Honda
2023-11-28Merge "Add vpx_sse and vpx_highbd_sse" into mainWan-Teh Chang
2023-11-28Merge "rtc: Set nonrd keyframe under dynamic change of deadline" into mainMarco Paniconi
2023-11-27rtc: Set nonrd keyframe under dynamic change of deadlineMarco Paniconi
For realtime mode: if the deadline mode (good/best/realtime) is changed on the fly (via codec_encode() call), force a key frame and set the speed feature nonrd_keyframe = 1 to avoid entering the rd pickmode. nonrd_pickmode=0/off is the only feature in realtime mode that involves rd pickmode, so by forcing it on/1 we can cleanly separate nonrd (realtime) from rd (good/best), so we can avoid possible issues on this dynamic mode switch, such as in bug listed below. Dynamic change of deadline, in particular for realtime mode, involves a lot of coding/speed feature changes, so best to also force reset with keyframe. Added unitest that triggers the issue in the bug. Bug: b/310663186 Change-Id: Idf8fd7c9ee54b301968184be5481ee9faa06468d
2023-11-27Merge "Tests kf_max_dist in one-pass zero-lag encoding" into mainWan-Teh Chang
2023-11-27Unitest for issue: b/310477034Marco Paniconi
Fix is made here: https://chromium-review.googlesource.com/c/webm/libvpx/+/5055827 Bug: b/310477034 Change-Id: Id1cc7a6a95e1ea5d1a022f36d7971915c9918339
2023-11-22Tests kf_max_dist in one-pass zero-lag encodingWan-Teh Chang
The test shows that the comment for kf_max_dist in vpx/vpx_encoder.h differs from its behavior by one. We should modify the comment to match the encoding behavior. Bug: webm:1829 Change-Id: Icdc58b8f6b25353f10ce8ecc481c862bd3fe86df