aboutsummaryrefslogtreecommitdiff
path: root/files
AgeCommit message (Collapse)Author
2023-07-13libyuv: 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
2023-02-17Add -DLIBYUV_UNLIMITED_DATA flag in external/libyuvandroid-14.0.0_r45android-14.0.0_r44android-14.0.0_r43android-14.0.0_r42android-14.0.0_r41android-14.0.0_r40android-14.0.0_r39android-14.0.0_r38android-14.0.0_r27android-14.0.0_r26android-14.0.0_r25android-14.0.0_r24android-14.0.0_r23android-14.0.0_r22android-14.0.0_r21android-14.0.0_r20android-14.0.0_r19android-14.0.0_r18android-14.0.0_r17android-14.0.0_r16android14-qpr1-s2-releaseandroid14-qpr1-releaseandroid14-devandroid14-d2-s5-releaseandroid14-d2-s4-releaseandroid14-d2-s3-releaseandroid14-d2-s2-releaseandroid14-d2-s1-releaseandroid14-d2-releaseDichen Zhang
Bug: 242466144, 242585908 Change-Id: I2bc45480fd4ea8989fc79121e6ac1c10a9625877 bug: b/242466144 (cherry picked from commit ceaf0762eb58d2b81c31797219b082740c06e2a5)
2022-08-16Update 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. Change-Id: I1bd041e475666e13fafd8c3792d7142a022d435a
2022-08-04external/libyuv: Move files/fuzz to top level directoryVignesh Venkatasubramanian
fuzz subdirectory is not part of upstream libyuv and is specific to android's copy of libyuv. So by moving it to the top level external/libyuv directory, we can make sure that "files" subdirectory contains a pristine copy of upstream libyuv. It also makes updating libyuv from upstream easier. Bug: 241008246 Test: libyuv_mjpeg_dec_fuzz target builds successfully Change-Id: Iab37b2c9365725362443408f5fc493730fafcd86
2022-04-25Reduce verbosity when building libyuv using cmakeAurimas Liutikas
Change-Id: I343a6193b2470a64153665389edc0ed523782b40 Test: local build no longer prints version of libyuv
2022-01-14Update CMake min version so that CMake 3.22.1 doesn't log a warningFred Sladkey
Change-Id: If16bf29b9e2f164eeffd5a0792455880142653df
2021-06-01Always use Neon.Dan Albert
This library cannot be built without Neon. The NDK sysroot build generates non-Neon artifacts but also needs to build this library to perform ABI checking. This is only the implementation and not a component distributed with the NDK, so it's not important that this be built non-Neon. Test: build/soong/scripts/build-ndk-prebuilts.sh Bug: http://b/156513478 Change-Id: If3ff6be7ad53cbdcc32ac8a0baa2f98f78c646ad
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to external/libyuvBob Badour
Added SPDX-license-identifier-BSD to: Android.bp files/Android.bp files/fuzz/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ifb0f6e22e614dd39cb28f3d7a01af7a1e46f0a54
2020-11-11Add product_available to product available modulesJustin Yun
vendor_available modules were available to product modules. However, not all vendor_available modules are required to be available to product modules. Some modules want to be available only to product modules but not vendor modules. To cover the requirement, we separate product_available from vendor_available. vendor_available will not provide product available module. Bug: 150902910 Test: build Change-Id: Ic368d353043c01b192bb167168ef5c64edfb9a90
2020-04-23Merge "Set min_sdk_version to be part of mainline modules" am: 1cad419d4d ↵Jooyung Han
am: 9354324ef0 Change-Id: I7da3f3771726ac0b460b193b1606cca3a7e0ecc4
2020-04-23Merge "Set min_sdk_version to be part of mainline modules" am: 1cad419d4dJooyung Han
Change-Id: Id4fad73cf4ea66203711c19696289a06c5793012
2020-04-23Set min_sdk_version to be part of mainline modulesJooyung Han
Modules contributing mainline modules (APK/APEX) should set min_sdk_version as well as apex_available. For now setting min_sdk_version doesn't change build outputs. But build-time checks will be added soon. Bug: 152655956 Test: m Change-Id: Ieda1b7f0de1c4a5ce4137a0b17731cf619826f9e
2020-02-14Cherry-pick security fix for skip_input_data am: 956052dd8bChong Zhang
Change-Id: I302b3168c756b05c0ece74d42091378406464014
2020-02-05Cherry-pick security fix for skip_input_dataChong Zhang
Avoid complete roll of r1732 as there are fixes needed in other projects for that. Manually cherry-pick the security fix only. bug: 135532289 Change-Id: I8237fe185b45ba5054504114eef79a265768de4e Merged-In: Ibf05a0e54c7bc882788194862cdd94fccfba5ebf
2019-12-17Merge "Make libyuv available on the host." am: ac0a9a68b2 am: 608ebab202 am: ↵Automerger Merge Worker
89330bce50 Change-Id: I07e3c8236f52e5e0f4ae9c8b196c8b0b7257c0cd
2019-12-17Make libyuv available on the host.Andreas Huber
Bug: 141887532 Test: launch_cvd --start_webrtc --webrtc_public_ip=127.0.0.1 Change-Id: I19fdda51060da9f90d33eb94f226a8d34fb7c412
2019-12-16Merge "Add fuzz target for libyuv's mjpeg decoder" am: efc7acb528 am: ↵Automerger Merge Worker
086550483e am: 15481f4b07 Change-Id: I8c9e692ba1681fd3ce3951ff797a76ad14edb406
2019-12-13Add fuzz target for libyuv's mjpeg decoderKyriakos Ispoglou
Test: Fuzz Target runs successfully on Taimen devices Change-Id: I7beeaeee6932f8920ad4f9a6bb50603259a85e75
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-10-31Merge "Use -Werror in external/libyuv/files" am: dceb9419d6Chih-hung Hsieh
am: 741d0a708e Change-Id: I03c005272bcf95c298cc32ddfe26c9f337858db2
2017-10-25Use -Werror in external/libyuv/filesChih-Hung Hsieh
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I14875bf00a2663e0fc20c057781bbdb443411800
2017-10-03Merge "Use -Werror in external/libyuv" am: 018f68e1c2 am: ce3ae6909fChih-Hung Hsieh
am: 6c0c5e3406 Change-Id: I04a4368c10454a06058e0b71f71eba8234686b1d
2017-10-03Merge "Use -Werror in external/libyuv"Chih-Hung Hsieh
am: 018f68e1c2 Change-Id: Idd7864d475c4a947ae67a7a92e05032ac11a9cfa
2017-09-28Use -Werror in external/libyuvChih-Hung Hsieh
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: If8637f2b96074cf4f5993787322f5d72443a00ba
2017-09-14Merge "Mark the module as VNDK or VNDK-SP in Android.bp"Justin Yun
am: d037324f2f Change-Id: Id8e1a8c522775ae6fefca6b7a7735c65d641d0f0
2017-09-07Mark the module as VNDK or VNDK-SP in Android.bpJustin Yun
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well as 'vendor_available: true'. For a VNDK module, the 'vndk' tag has 'enabled: true'. It will be installed system/lib(64)/vndk as a vendor variant. For a VNDK-SP module, the 'vndk' tag has 'support_system_process: true' as well as 'enabled: true'. It will be installed system/lib(64)/vndk-sp as a vendor variant. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Merged-In: I7a39dcffb3c29e1f9bb499bb29ceabbc2b99f954 Change-Id: I7a39dcffb3c29e1f9bb499bb29ceabbc2b99f954 (cherry picked from commit 07d11894cb55a31f32f1a11a436a8fe591f1ed9d)
2017-08-17Make libyuv_static as vendor_available liboreo-mr1-devJiyong Park
The lib is used by camera.ranchu. Furthermore, its dynamic variant is already available to vendor. Bug: 64704866 Test: BOARD_VNDK_VERSION=current m -j camera.ranchu does not show link_type error on libyuv_static. Change-Id: I3fa0ae866b301500f70f01b9e96afd769e1c4923
2017-07-25Mark the module as VNDK or VNDK-SP in Android.bpJustin Yun
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well as 'vendor_available: true'. For a VNDK module, the 'vndk' tag has 'enabled: true'. It will be installed system/lib(64)/vndk as a vendor variant. For a VNDK-SP module, the 'vndk' tag has 'support_system_process: true' as well as 'enabled: true'. It will be installed system/lib(64)/vndk-sp as a vendor variant. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Change-Id: I7a39dcffb3c29e1f9bb499bb29ceabbc2b99f954
2017-05-08fix for clang compile error on mips sgtu instruction. am: fb8fba8060oreo-dr1-devFrank Barchard
am: c802d97f01 Change-Id: Ic78a83dbc9fc010c3d72ee7265907bf99288affa
2017-05-08fix for clang compile error on mips sgtu instruction.android-o-mr1-preview-2android-o-mr1-preview-1Frank Barchard
am: fb8fba8060 Change-Id: I2783b43c53e4829f78b67daf83fa2c30ffb52f00
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-25crash fix for I420ToRGB565Frank Barchard
am: b281539ba9 Change-Id: I0eb1a228a28a667c9536ace31dc2c544f3ff241c
2017-04-25Convert external/libyuv to Android.bpColin Cross
See build/soong/README.md for more information. Bug: 37646797 Test: m -j checkbuild Change-Id: I9eeafa6fe101acf59c5eb43376e5a8280158457a Merged-In: I9eeafa6fe101acf59c5eb43376e5a8280158457a (cherry picked from commit 75122e44d21a0587b9ba3968f3ee399524ad5866)
2017-04-24Convert external/libyuv to Android.bpColin Cross
See build/soong/README.md for more information. Bug: 37646797 Test: m -j checkbuild Change-Id: I9eeafa6fe101acf59c5eb43376e5a8280158457a
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-02-24Merge "Use registered users in libyuv OWNERS files." am: 4ed322a5e5 am: ↵Chih-hung Hsieh
6fa12cc8b7 am: cf0ecdb15e Change-Id: Ib7995991209b08dd9b3e12859a049579bc3e7297
2017-02-23Use registered users in libyuv OWNERS files.Chih-Hung Hsieh
AOSP project owners should be registered in Gerrit Code Review. Bug: 33166666 Test: default build targets Change-Id: I3aa725b6ac89c7f8392a1f411213d3551247a307
2017-02-22Merge "Use email addresses that can be found in Gerrit." am: 1cfe037b67 am: ↵Chih-Hung Hsieh
4b4afcaa28 am: d62dd0783b Change-Id: I041742318cb8d08b9c15f60690c2c3c8a13771b9
2017-02-21Use email addresses that can be found in Gerrit.Chih-Hung Hsieh
Bug: 33166666 Test: default build targets Change-Id: I7fd14549c4dd7fd83eee565cb8d2ded71c9b2dd6
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-12-13Merge "Support shared lib for libyuv_static." am: 9caf0f58f0 am: d8af8efec0 ↵Jaekyun Seok
am: 4979fb47e1 am: fc5d6c5084 Change-Id: Ia7e45bc47a7f71f29a1cb3078900bc5ebf0f9483
2016-12-12Support shared lib for libyuv_static.Jaekyun Seok
Some venders want to link libyuv_static to their components. And the Android Treble project recommends to use shared lib for easy update and size reduction. So we need to support shared lib for libyuv_static for such vendors. Test: building succeeded. Bug: 33056637 Change-Id: I68408470a16ad591ce83ee9265db6388caaa1199
2016-07-11Suppress unused-parameter warnings in libyuvAurimas Liutikas
ag/1199844 created 69 unused-parameter warnings. This CL suppresses these warnings. Bug: 29870647 Change-Id: Ib035e2d47ec768b2369a40d8abb8e36e3d5ceafe