aboutsummaryrefslogtreecommitdiff
path: root/files/source
AgeCommit message (Collapse)Author
2023-06-12libyuv: Update to r1871 (2a6cb743)Vignesh Venkatasubramanian
Changes from upstream: https://chromium.googlesource.com/libyuv/libyuv/+log/d53f1bee..2a6cb743 The intention of the CL is to import the functions necessary to enable AV1 (and AVIF) 12-bit color conversion. Bug: 268505204 Test: Builds. Media and Camera CTS tests pass. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:27750a13c6eaacb9f716da3fe1734a8d106d7ff4) Merged-In: I756d3bd5047d4719659f9e1a449217b1940e51a4 Change-Id: I756d3bd5047d4719659f9e1a449217b1940e51a4
2022-08-25Update external/libyuv to r1837Vignesh Venkatasubramanian
Update external/libyuv to version r1837 (d53f1bee) from upstream. This brings in some new functions that will be used by libavif. Also update README.version with local modifications. The files/ subdirectory is a pristine copy of the upstream checkout except for the local modifications that are listed in README.version. Bug: b/241008246 Bug: b/228492909 Test: Builds. Media and Camera CTS tests pass. Merged-In: I1bd041e475666e13fafd8c3792d7142a022d435a Change-Id: I85df21181e582ff835aab1e9ef13ad3ac8421d30
2019-10-15Add ABGRToNV12Hirokazu Honda
This CL adds ABGRToNV12 in libyuv library in ARC++P. The libyuv master branch already has the function. The CL is based on https://chromium-review.googlesource.com/c/libyuv/libyuv/+/1739509. Bug: 140458621 Test: android.video.cts.VideoEncoderDecoderTest#testAvcOther0Perf1280x0720 on cave Change-Id: I7bed7f2d17ee1cc1bf5b0302beebed2eca89df82 (cherry picked from commit ee8c98966cd696852bfb383c56029f85db890ffe)
2019-07-01libyuv roll to r1732 to pick up security fixesChong Zhang
bug: 135532289 Change-Id: Ibf05a0e54c7bc882788194862cdd94fccfba5ebf
2019-06-27libyuv roll to r1722 to pick up a few methodsChong Zhang
that we've been manually cherry-picking. bug: 132357297 test: MediaMetadataRetriever test; manual testing thumbnails in Photos. Exempt-From-Owner-Approval: files/infra/config/OWNERS owner names are not in android gerrit, CL fail to push with these. Delete of file need to bypass owner. Change-Id: Ic22346e45671452429716be8b0a1999eeaea0d7b
2019-05-13NV21ToABGR for Android camera conversionsFrank Barchard
Bug: libyuv:762 Test: NV21ToABGR unittest Change-Id: I71448ab83930339083f07eeafccf240c6cb41c48 Reviewed-on: https://chromium-review.googlesource.com/795212 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by: Cheng Wang <wangcheng@google.com> (cherry-picked from https://chromium-review.googlesource.com/795212) bug: 129908793
2018-08-17libyuv: choose matrix for YUV to RGB565 conversionChong Zhang
(cherry-picked from upstream: https://chromium-review.googlesource.com/1169687) bug: 109762970 Change-Id: Ia88c9cd30679a1888c991c4cbd26b6c8ca35acd8
2017-05-08fix for clang compile error on mips sgtu instruction. am: fb8fba8060oreo-dr1-devFrank Barchard
am: c802d97f01 Change-Id: Ic78a83dbc9fc010c3d72ee7265907bf99288affa
2017-05-02fix for clang compile error on mips sgtu instruction.android-vts-8.0_r2android-vts-8.0_r1oreo-devFrank Barchard
In NDK r14 the assenbler built into llvm fails on sgtu pseudo-op instruction. r14 uses clang 3.8. sgtu is set great than unsigned. The instruction has been added in 3.9 and 4.0 for future updates https://reviews.llvm.org/D22752#765a2da5 But the its just a pseudo op for sltu: set less than unsigned. So this change switches the order of the 2 operands and uses sltu instead of sgtu. Bug: 37671160 Test: lunch aosp_mips-eng and build is successful. Change-Id: I04b5f756787a468d45c85546f2028360130bd6c1
2017-04-19crash fix for I420ToRGB565Frank Barchard
To reproduce with the unittest (not included in this CL): out/Release/libyuv_unittest --gtest_filter=*Convert*I*To* --libyuv_width=1280 --libyuv_height=720 [ RUN ] LibYUVConvertTest.I420ToRGB24_Opt [ OK ] LibYUVConvertTest.I420ToRGB24_Opt (585 ms) [ RUN ] LibYUVConvertTest.I420ToRGB565_Any /Users/fbarchard/bin/runyuv10: line 2: 9424 Segmentation fault: 11 Happens when running with Intel with AVX2 on odd width image. Odd widths are uncommon, and AVX2 is not common on mobile, so doesnt occur much. This function is used by stagefright. The change calls a function with a larger alignment value, indicating the AVX2 should do multiple of 16 pixels with AVX2, and use C code to handle the remainder. Previously the function was passed too small of an alignment value, so the AVX2 would overwrite memory. e.g if it were called with 9 pixels, it would convert 16. Bug: 37328100 Test: out/Release/libyuv_unittest --gtest_filter=*Convert*I*To* --libyuv_width=1280 --libyuv_height=720 Change-Id: If56113527084256e2c2092938bf573722b16f0df
2017-04-18libyuv roll to r1652 for new I422ToRGB565 functionFrank Barchard
Bug: none Test: I422ToRGB565 unittest Change-Id: I8b4418badf725d3ecb6735effcb782976b27979b
2017-03-10roll to version r1649 for halffloat memory underflowFrank Barchard
on odd sized images (e.g. 1 pixel) the temporary buffer copied in bytes, not shorts. This CL fixes that and applies lint and clang-format fixes. Bug: None Test: local mm build is clean with full warnings enabled Change-Id: I9aa95261678113365d289b65375c8b7943c2d486
2017-03-06libyuv r1645 to fix android build warningsFrank Barchard
r1602 under android.mk had unused parameter build warnings. The warnings were disabled. This CL fixes the source and re-enables the warning. Bug: 35099807 Test: mm for libyuv builds cleanly. Change-Id: If6b344ca39b2c321e277421cdeb817a5b1cc2514
2017-01-09Makes ConvertToARGB rotate with every source formatJorge E. Moreira
Bug: 34165328 Test: Ran the AVD with the new hwcomposer in landscape orientation. Change-Id: If9a721ac29a63e9b8187bda0425fc3435db63024
2016-07-08Update libyuv to r1602 version to get best performance.android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-dr1-releaseHangyu Kuang
Bug: 29870647 Change-Id: I8ec9fab7f55765fa33ebe7ba1c7ad2147f418de2
2013-01-28Update libyuv to r397Hendrik Dahlkamp
Change-Id: I70f5a527de52ae8ae80b189873c9a094035dfa2c Signed-off-by: Hendrik Dahlkamp <hendrik@google.com>
2011-11-04Disable Neon-specific code as we need to support non-Neon too, and do not ↵android-sdk-adt_r20android-sdk-4.0.3_r1android-sdk-4.0.3-tools_r1android-cts-verifier-4.0.3_r1android-cts-4.1_r4android-cts-4.1_r2android-cts-4.1_r1android-cts-4.0.3_r2android-cts-4.0.3_r1android-4.1.2_r2.1android-4.1.2_r2android-4.1.2_r1android-4.1.1_r6.1android-4.1.1_r6android-4.1.1_r5android-4.1.1_r4android-4.1.1_r3android-4.1.1_r2android-4.1.1_r1.1android-4.1.1_r1android-4.0.4_r2.1android-4.0.4_r2android-4.0.4_r1.2android-4.0.4_r1.1android-4.0.4_r1android-4.0.3_r1.1android-4.0.3_r1tools_r20jb-releasejb-mr0-releasejb-devics-plus-aospics-mr1-releaseics-mr1Shri Borde
yet conditionally enable the Neon-specific code Change-Id: I31f33042e2c61b256bfec416a2b1c43b1701b663
2011-11-02Initial population of libyuvShri Borde
Change-Id: I46a6a1525aebaba979b0f2ca5b58be2004901410