Age | Commit message (Collapse) | Author |
|
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
|
|
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
|
|
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
|
|
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
|
|
6fa12cc8b7
am: cf0ecdb15e
Change-Id: Ib7995991209b08dd9b3e12859a049579bc3e7297
|
|
am: 6fa12cc8b7
Change-Id: Ib125e9fd40287635ccd6c7cb590c1cab789e877b
|
|
am: 4ed322a5e5
Change-Id: I2bd49f94c11412a51b7663327f7057dbe364e84a
|
|
|
|
AOSP project owners should be registered in Gerrit Code Review.
Bug: 33166666
Test: default build targets
Change-Id: I3aa725b6ac89c7f8392a1f411213d3551247a307
|
|
4b4afcaa28
am: d62dd0783b
Change-Id: I041742318cb8d08b9c15f60690c2c3c8a13771b9
|
|
am: 4b4afcaa28
Change-Id: I276f8a0a06bca5726b9509d9ff4ab89f8864d2c0
|
|
am: 1cfe037b67
Change-Id: Ie62ded4f3d50e2053b4000d4762dc08f4b170537
|
|
|
|
Bug: 33166666
Test: default build targets
Change-Id: I7fd14549c4dd7fd83eee565cb8d2ded71c9b2dd6
|
|
|
|
Bug: 34165328
Test: Ran the AVD with the new hwcomposer in landscape orientation.
Change-Id: If9a721ac29a63e9b8187bda0425fc3435db63024
|
|
Test: None
Change-Id: I1abab83772dfc3ef90ca2069603301497dcd9b69
|
|
am: 4979fb47e1
am: fc5d6c5084
Change-Id: Ia7e45bc47a7f71f29a1cb3078900bc5ebf0f9483
|
|
am: 4979fb47e1
Change-Id: Icf6fca5343fae71abe42421419611eddd1484639
|
|
am: d8af8efec0
Change-Id: I144635bca13b6d183bc5d4f851c0d1404fb9e69f
|
|
am: 9caf0f58f0
Change-Id: I28c645463c271f752dd2ddb1aae2b9c980a33668
|
|
|
|
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
|
|
ag/1199844 created 69 unused-parameter warnings. This CL suppresses
these warnings.
Bug: 29870647
Change-Id: Ib035e2d47ec768b2369a40d8abb8e36e3d5ceafe
|
|
am: a4346dd796
Change-Id: I31d7abaf90fe6490f0301b25e599c06d9036bdfe
|
|
am: f047e7ca69
Change-Id: I165546ce60832a618a39168ad2830583434c194d
|
|
Bug: 29870647
Change-Id: I8ec9fab7f55765fa33ebe7ba1c7ad2147f418de2
|
|
This adds MJPEG support in libyuv_static, but it also adds dependency of
libjpeg for modules linked with libyuv_static.
BUG: 26318505
Change-Id: I98c70bda5767dc5261268b72986b3a597c28d1be
|
|
am: a144ab1ba5
* commit 'a144ab1ba53050cbd4cda24ffa6eab23e9282aa3':
|
|
Change-Id: Ib6a23b391f495fbb88328f364bc45ca1adf49bc5
|
|
|
|
update to use "ifeq ($(ARCH_ARM_HAVE_NEON),true)" instead of
"ifeq ($(TARGET_ARCH_VARIANT),armv7-a-neon)" as condition check,
so that the 32bit binary or libray on arm64bit platform can use
the NEON implementation as well.
Change-Id: Ib632e823ed904dce82808fdb391b428bef07deb2
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
|
|
This reverts commit b9921f31de65dab04a385bef21b9c54c17e218de.
checkbuild failure.
Change-Id: I11e7c23d3cad888a4278689834b5fd6d167e153e
|
|
With LOCAL_EXPORT_C_INCLUDE_DIRS, modules linked with libyuv_static do
not need to add libyuv include path in LOCAL_C_INCLUDES.
BUG: 26318505
Change-Id: I81f849077fdd5fa99d8748470ac8e53e6cc2908b
|
|
This adds MJPEG support in libyuv_static, but it also adds dependency of
libjpeg for modules linked with libyuv_static.
BUG: 26318505
Change-Id: I83f7b0e739964b7b1640117956421c9ab760debe
|
|
Change-Id: I20b125343ae790f7d8f364e826bdae4fe30cd00e
(cherry picked from commit 9cec02a7b19df5c3d2f334f9393d0ad5366753d0)
|
|
# Via Hendrik Dahlkamp
* commit 'b55f69c3fdd4a53d439bba9e8bd047846e1f4783':
Enable neon-optimized functions
|
|
Change-Id: I0d5894e0b71aefa7d8d30c943aa6d0698b38fb8f
Signed-off-by: Hendrik Dahlkamp <hendrik@google.com>
|
|
# Via Adam Hampson
* commit '33cfdeb7b267ab635413797fffb046b73272f7ec':
Update libyuv to r397
|
|
Change-Id: I70f5a527de52ae8ae80b189873c9a094035dfa2c
Signed-off-by: Hendrik Dahlkamp <hendrik@google.com>
|
|
* commit 'a88a10a6ed9f9801852929bac34bdf10510116f4':
Retire LOCAL_NDK_VERSION.
|
|
Bug: 6932421
Change-Id: I63df073c8f4dc638e33e3560eb3a218656c4fd54
|
|
Bug: 6932421
Change-Id: I63df073c8f4dc638e33e3560eb3a218656c4fd54
|
|
|
|
|
|
yet conditionally enable the Neon-specific code
Change-Id: I31f33042e2c61b256bfec416a2b1c43b1701b663
|
|
libyuv) on x86 either
Change-Id: Iddd54af6cdbbc6f654442dc77b5c871710d404d2
|
|
Change-Id: I46a6a1525aebaba979b0f2ca5b58be2004901410
|
|
|