Closed GoogleCodeExporter closed 9 years ago
Instructions above didnt work on a new linux machine. Looks like first step
should be
1. fetch webrtc_android
but I did get the webrtc tests to run... without the patch, they pass.
Is it possible to adapt this to run libyuv_unittest?
Original comment by fbarch...@chromium.org
on 10 Oct 2015 at 1:54
The old code used hard coded constants for BT.601
// TODO(fbarchard): replace movi with constants from struct.
#define YUVTORGB_SETUP \
"ld1r {v24.8h}, [%[kUVBiasBGR]], #2 \n" \
"ld1r {v25.8h}, [%[kUVBiasBGR]], #2 \n" \
"ld1r {v26.8h}, [%[kUVBiasBGR]] \n" \
"ld1r {v31.4s}, [%[kYToRgb]] \n" \
"movi v27.8h, #128 \n" \
"movi v28.8h, #102 \n" \
"movi v29.8h, #25 \n" \
"movi v30.8h, #52 \n"
If I change back to that, the webrtc test passes.
Original comment by fbarch...@google.com
on 11 Oct 2015 at 8:13
fixed in r1507
I 21.805s TimeoutThread-1-for-run_tests_on_device(HT4A2JT03762) [host]>
/usr/local/google/home/fbarchard/src/webrtc/src/third_party/android_tools/sdk/pl
atform-tools/ad
b -s HT4A2JT03762 shell '( pm clear org.chromium.native_test );echo %$?'
I 49.414s run_tests_on_device(HT4A2JT03762) >>ScopedMainEntryLogger
I 49.414s run_tests_on_device(HT4A2JT03762) Note: Google Test filter =
TestLibYuv.ConvertTest
I 49.414s run_tests_on_device(HT4A2JT03762) [==========] Running 1 test from
1 test case.
I 49.414s run_tests_on_device(HT4A2JT03762) [----------] Global test
environment set-up.
I 49.414s run_tests_on_device(HT4A2JT03762) [----------] 1 test from
TestLibYuv
I 49.414s run_tests_on_device(HT4A2JT03762) [ RUN ]
TestLibYuv.ConvertTest
I 49.415s run_tests_on_device(HT4A2JT03762)
I 49.415s run_tests_on_device(HT4A2JT03762) Convert #0 I420 <-> I420
I 49.415s run_tests_on_device(HT4A2JT03762)
I 49.415s run_tests_on_device(HT4A2JT03762) Convert #1 I420 <-> RGB24
I 49.415s run_tests_on_device(HT4A2JT03762)
I 49.415s run_tests_on_device(HT4A2JT03762) Convert #2 I420 <-> UYVY
I 49.415s run_tests_on_device(HT4A2JT03762)
I 49.415s run_tests_on_device(HT4A2JT03762) Convert #3 I420 <-> YV12
I 49.415s run_tests_on_device(HT4A2JT03762)
I 49.415s run_tests_on_device(HT4A2JT03762) Convert #4 I420 <-> YUY2
I 49.415s run_tests_on_device(HT4A2JT03762)
I 49.415s run_tests_on_device(HT4A2JT03762) Convert #4 I420 <-> RGB565
I 49.415s run_tests_on_device(HT4A2JT03762)
I 49.415s run_tests_on_device(HT4A2JT03762) Convert #5 I420 <-> ARGB8888
I 49.415s run_tests_on_device(HT4A2JT03762) [ OK ]
TestLibYuv.ConvertTest (38 ms)
I 49.415s run_tests_on_device(HT4A2JT03762) [----------] 1 test from
TestLibYuv (38 ms total)
I 49.415s run_tests_on_device(HT4A2JT03762)
I 49.416s run_tests_on_device(HT4A2JT03762) [----------] Global test
environment tear-down
I 49.416s run_tests_on_device(HT4A2JT03762) [==========] 1 test from 1 test
case ran. (38 ms total)
I 49.416s run_tests_on_device(HT4A2JT03762) [ PASSED ] 1 test.
I 49.416s run_tests_on_device(HT4A2JT03762)
I 49.416s run_tests_on_device(HT4A2JT03762) OK (1 tests)
I 49.416s run_tests_on_device(HT4A2JT03762) Finished running tests on this
device.
I 49.450s Main FINISHED TRY #1/3
I 49.450s Main All tests completed.
C 49.451s Main
********************************************************************************
C 49.451s Main Summary
C 49.451s Main
********************************************************************************
C 49.451s Main [==========] 1 test ran.
C 49.451s Main [ PASSED ] 1 test.
C 49.451s Main
********************************************************************************
Original comment by fbarch...@chromium.org
on 12 Oct 2015 at 7:13
Original comment by fbarch...@chromium.org
on 12 Oct 2015 at 9:42
Original issue reported on code.google.com by
kjellan...@google.com
on 8 Oct 2015 at 5:51