Open GoogleCodeExporter opened 9 years ago
Tested with quick fix to disable SSSE3 on a baytrail:
util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose
--release --gtest_filter=*I420*ToA*_Opt -a "--libyuv_width=1280
--libyuv_height=720 --libyuv_repeat=999 --libyuv_flags=-1"
I 118.028s run_tests_on_device(21A0F6A0) [==========] Running 6 tests from 1
test case.
I 118.028s run_tests_on_device(21A0F6A0) [----------] Global test environment
set-up.
I 118.028s run_tests_on_device(21A0F6A0) [----------] 6 tests from
LibYUVConvertTest
I 118.028s run_tests_on_device(21A0F6A0) [ RUN ]
LibYUVConvertTest.I420ToARGB_Opt
I 118.028s run_tests_on_device(21A0F6A0) [ OK ]
LibYUVConvertTest.I420ToARGB_Opt (2758 ms)
I 118.028s run_tests_on_device(21A0F6A0) [ RUN ]
LibYUVConvertTest.I420ToABGR_Opt
I 118.029s run_tests_on_device(21A0F6A0) [ OK ]
LibYUVConvertTest.I420ToABGR_Opt (2848 ms)
I 118.029s run_tests_on_device(21A0F6A0) [ RUN ]
LibYUVConvertTest.I420ToARGB1555_Opt
I 118.029s run_tests_on_device(21A0F6A0) [ OK ]
LibYUVConvertTest.I420ToARGB1555_Opt (4384 ms)
I 118.029s run_tests_on_device(21A0F6A0) [ RUN ]
LibYUVConvertTest.I420ToARGB4444_Opt
I 118.029s run_tests_on_device(21A0F6A0) [ OK ]
LibYUVConvertTest.I420ToARGB4444_Opt (3717 ms)
I 118.029s run_tests_on_device(21A0F6A0) [ RUN ]
LibYUVConvertTest.I420AlphaToARGB_Opt
I 118.029s run_tests_on_device(21A0F6A0) [ OK ]
LibYUVConvertTest.I420AlphaToARGB_Opt (47744 ms)
I 118.029s run_tests_on_device(21A0F6A0) [ RUN ]
LibYUVConvertTest.I420AlphaToABGR_Opt
I 118.029s run_tests_on_device(21A0F6A0) [ OK ]
LibYUVConvertTest.I420AlphaToABGR_Opt (51709 ms)
I 118.029s run_tests_on_device(21A0F6A0) [----------] 6 tests from
LibYUVConvertTest (113164 ms total)
I 118.029s run_tests_on_device(21A0F6A0)
I 118.029s run_tests_on_device(21A0F6A0) [----------] Global test environment
tear-down
I 118.029s run_tests_on_device(21A0F6A0) [==========] 6 tests from 1 test
case ran. (113165 ms total)
I 118.030s run_tests_on_device(21A0F6A0) [ PASSED ] 6 tests.
Original comment by fbarch...@google.com
on 28 Oct 2015 at 11:04
debug builds ok:
GYP_DEFINES="OS=android target_arch=ia32" GYP_CROSSCOMPILE=1 ./gyp_libyuv
ninja -v -d keeprsp -C out/Debug libyuv_unittest_apk
/usr/local/google/home/fbarchard/src/libyuva/libyuv/third_party/android_tools/nd
k//toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-g++ -MMD -MF
obj/source/libyuv.row_gcc.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2
-D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD
-DCR_CLANG_REVISION=247874-1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1
-DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS
-DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS
-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA
-DFIELDTRIAL_TESTING_ENABLED -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_PRINTING=1
-DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1
-DENABLE_SUPERVISED_USERS=1 -DVIDEO_HOLE=1 -DV8_USE_EXTERNAL_STARTUP_DATA
-DENABLE_WEBVR -DSAFE_BROWSING_DB_REMOTE -DHAVE_JPEG -DUSE_LIBPCI=1
-DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -DANDROID -D__GNU_SOURCE=1 '-DCHROME_BUILD_ID=""'
-DHAVE_SYS_UIO_H -DDYNAMIC_ANNOTATIONS_ENABLED=1
-DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -Igen -I../../include -I../..
-I../../chromium/src/third_party/libjpeg_turbo --param=ssp-buffer-size=4
-Werror -fno-strict-aliasing -Wall -Wno-unused-parameter
-Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC
-Wno-unused-local-typedefs -msse2 -mfpmath=sse -mmmx -m32 -mstackrealign
-ffunction-sections -funwind-tables -g -fno-short-enums -finline-limit=64
--sysroot=../../third_party/android_tools/ndk//platforms/android-16/arch-x86
-isystem../../third_party/android_tools/ndk//sources/cxx-stl/llvm-libc++/libcxx/
include
-isystem../../third_party/android_tools/ndk//sources/cxx-stl/llvm-libc++abi/libc
xxabi/include
-isystem../../third_party/android_tools/ndk//sources/android/support/include
-fno-stack-protector -Os -g -fdata-sections -ffunction-sections
-fomit-frame-pointer -funwind-tables -fno-exceptions -fno-rtti
-fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11
-Wno-narrowing -Wno-literal-suffix -c ../../source/row_gcc.cc -o
obj/source/libyuv.row_gcc.o
full debug fails:
GYP_DEFINES="OS=android target_arch=ia32 android_full_debug=1"
GYP_CROSSCOMPILE=1 ./gyp_libyuv
ninja -v -d keeprsp -C out/Debug libyuv_unittest_apk
/usr/local/google/home/fbarchard/src/libyuva/libyuv/third_party/android_tools/nd
k//toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-g++ -MMD -MF
obj/source/libyuv.row_gcc.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2
-D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD
-DCR_CLANG_REVISION=247874-1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1
-DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS
-DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS
-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA
-DFIELDTRIAL_TESTING_ENABLED -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_PRINTING=1
-DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1
-DENABLE_SUPERVISED_USERS=1 -DVIDEO_HOLE=1 -DV8_USE_EXTERNAL_STARTUP_DATA
-DENABLE_WEBVR -DSAFE_BROWSING_DB_REMOTE -DHAVE_JPEG -DUSE_LIBPCI=1
-DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -DANDROID -D__GNU_SOURCE=1 '-DCHROME_BUILD_ID=""'
-DHAVE_SYS_UIO_H -DDYNAMIC_ANNOTATIONS_ENABLED=1
-DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -Igen -I../../include -I../..
-I../../chromium/src/third_party/libjpeg_turbo --param=ssp-buffer-size=4
-Werror -fno-strict-aliasing -Wall -Wno-unused-parameter
-Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC
-Wno-unused-local-typedefs -msse2 -mfpmath=sse -mmmx -m32 -mstackrealign
-ffunction-sections -funwind-tables -g -fno-short-enums -finline-limit=64
--sysroot=../../third_party/android_tools/ndk//platforms/android-16/arch-x86
-isystem../../third_party/android_tools/ndk//sources/cxx-stl/llvm-libc++/libcxx/
include
-isystem../../third_party/android_tools/ndk//sources/cxx-stl/llvm-libc++abi/libc
xxabi/include
-isystem../../third_party/android_tools/ndk//sources/android/support/include
-fno-stack-protector -O0 -g -funwind-tables -fno-exceptions -fno-rtti
-fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11
-Wno-narrowing -Wno-literal-suffix -c ../../source/row_gcc.cc -o
obj/source/libyuv.row_gcc.o
Original comment by fbarch...@google.com
on 29 Oct 2015 at 1:27
Original issue reported on code.google.com by
fbarch...@google.com
on 28 Oct 2015 at 9:13