aboutsummaryrefslogtreecommitdiff
path: root/files
AgeCommit message (Collapse)Author
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
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