- 21 Dec, 2015 1 commit
-
-
Frank Barchard authored
BUG=libyuv:535 R=dhrosa@google.com Review URL: https://codereview.chromium.org/1535833003 .
-
- 17 Dec, 2015 1 commit
-
-
Frank Barchard authored
Remove inaccurate specializations for 1/4 and 3/4, since they round incorrectly. Specialize for 100% and 50% are kept due to performance. Make C and ARM code match SSSE3. Make unittests expect zero difference. BUG=libyuv:535 R=harryjin@google.com Review URL: https://codereview.chromium.org/1533643005 .
-
- 16 Dec, 2015 1 commit
-
-
Frank Barchard authored
TBR=harryjin@google.com BUG=libyuv:447 Review URL: https://codereview.chromium.org/1525033005 .
-
- 15 Dec, 2015 2 commits
-
-
Frank Barchard authored
R=dhrosa@google.com, harryjin@google.com BUG=libyuv:527 Review URL: https://codereview.chromium.org/1520423003 .
-
Frank Barchard authored
When scaling down by 2 the formula should round consistently. (a+b+c+d+2)/4 The C version did but the SSE2 version was doing 2 averages. avg(avg(a,b),avg(c,d)) This change uses a sum, then rounds. R=dhrosa@google.com, harryjin@google.com BUG=libyuv:447,libyuv:527 Review URL: https://codereview.chromium.org/1513183004 .
-
- 11 Dec, 2015 1 commit
-
-
Frank Barchard authored
remove include from unittest.cc that is already done by unittest.h TBR=harryjin@google.com BUG=libyuv:530 Review URL: https://codereview.chromium.org/1513263004 .
-
- 07 Dec, 2015 1 commit
-
-
Frank Barchard authored
R=dhrosa@google.com, harryjin@google.com BUG=libyuv:527 Review URL: https://codereview.chromium.org/1507683003 .
-
- 06 Dec, 2015 1 commit
-
-
Frank Barchard authored
AVX2 version can process 16 pixels at a time for improved memory bandwidth and fewer instructions. unittests improved to test unaligned memory, and test exactness when alpha is 0 or 255. R=dhrosa@google.com, harryjin@google.com BUG=libyuv:527 Review URL: https://codereview.chromium.org/1505433002 .
-
- 02 Dec, 2015 1 commit
-
-
Frank Barchard authored
R=dhrosa@google.com, harryjin@google.com, jzern@chromium.org BUG=libyuv:527 Review URL: https://codereview.chromium.org/1491533002 .
-
- 26 Nov, 2015 1 commit
-
-
Frank Barchard authored
YUV version of interpolation between two images. R=dhrosa@google.com, harryjin@google.com BUG=libyuv:526 Review URL: https://codereview.chromium.org/1479593002 .
-
- 18 Nov, 2015 1 commit
-
-
Frank Barchard authored
Before I420ToARGB_Opt (594 ms) I422ToARGB_Opt (483 ms) I411ToARGB_Opt (748 ms) *** I444ToARGB_Opt (452 ms) I400ToARGB_Opt (218 ms) After I420ToARGB_Opt (591 ms) I422ToARGB_Opt (454 ms) I411ToARGB_Opt (502 ms) *** I444ToARGB_Opt (441 ms) I400ToARGB_Opt (216 ms) TBR=harryjin@google.com BUG=libyuv:525 Review URL: https://codereview.chromium.org/1459513002 .
-
- 17 Nov, 2015 1 commit
-
-
Frank Barchard authored
TBR=harryjin@google.com BUG=libyuv:524 Review URL: https://codereview.chromium.org/1452083002 .
-
- 13 Nov, 2015 1 commit
-
-
Frank Barchard authored
a prototype function to implement the yuv to rgb with conversion and scale. replace with 1 step function in future version, using same API. R=harryjin@google.com BUG=libyuv:471 Review URL: https://codereview.chromium.org/1421553016 .
-
- 10 Nov, 2015 1 commit
-
-
Frank Barchard authored
the yvu matrix for yuv to rgb had an incorrect entry, affecting yuv to bgra, yuv to abgr and yuv to raw. fix the matrix and reenable avx2 functions. R=harryjin@google.com BUG=libyuv:522 Review URL: https://codereview.chromium.org/1411763004 .
-
- 04 Nov, 2015 3 commits
-
-
Frank Barchard authored
cpu flags of 1 disables SIMD and uses C. This used to be 0, but the change in auto init behavior means that 0 now means uninitialized, and will cause auto detect to reinit the cpu info. A value of 1 disables the auto init. TBR=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1408753004 .
-
Frank Barchard authored
in order to compare C and Neon code, a new command line flag is added. historically environment variables controlled cpu features, but on android apk it is easier to pass a command line option to disable cpu optimizations. R=harryjin@google.com BUG=libyuv:516 Review URL: https://codereview.chromium.org/1407193009 .
-
Frank Barchard authored
DSP code is not actually used, only DSPR2. Remove the detect. TBR=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1405043008 .
-
- 03 Nov, 2015 1 commit
-
-
Frank Barchard authored
Add unittests that do 1 step conversion vs 2 step conversion. Tests end swapping versions match direct conversions. R=harryjin@google.com BUG=libyuv:518 Review URL: https://codereview.chromium.org/1419103007 .
-
- 02 Nov, 2015 1 commit
-
-
Frank Barchard authored
Removes low levels for I420ToBGRA and I420ToRAW and reimplements them as I420ToRGBA and I420ToRGB24 with transposed color matrix. Adds unittests that do 1 step conversion vs 2 steps to test end swapping versions match direct conversions. R=harryjin@google.com BUG=libyuv:518 Review URL: https://codereview.chromium.org/1427993004 .
-
- 27 Oct, 2015 1 commit
-
-
Frank Barchard authored
TBR=harryjin@google.com BUG=libyuv:515 Review URL: https://codereview.chromium.org/1423663007 .
-
- 26 Oct, 2015 1 commit
-
-
Frank Barchard authored
R=harryjin@google.com BUG=libyuv:514 Review URL: https://codereview.chromium.org/1413463004 .
-
- 22 Oct, 2015 1 commit
-
-
Frank Barchard authored
R=harryjin@google.com BUG=libyuv:511 Review URL: https://codereview.chromium.org/1412683005 .
-
- 21 Oct, 2015 1 commit
-
-
Frank Barchard authored
TBR=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1415213002 .
-
- 19 Oct, 2015 1 commit
-
-
Frank Barchard authored
Allows us to ignore flags passed on to us by Chromium build bots without having to explicitly disable them. (Thanks pbos!) TESTED=webrtc ran modules_unittests with a bogus flag did not result in an error. R=kjellander@chromium.org BUG=libyuv:507 Review URL: https://codereview.chromium.org/1417573002 .
-
- 17 Oct, 2015 1 commit
-
-
Frank Barchard authored
files needed for command line support with gtest. These files are copied directly from webrtc. TBR=kjellander@chromium.org BUG=libyuv:507 Review URL: https://codereview.chromium.org/1414483002 .
-
- 16 Oct, 2015 1 commit
-
-
Frank Barchard authored
This test is just a printf, not a real test, but somehow fails on arm. TBR=harryjin@google.com BUG=libyuv:506 Review URL: https://codereview.chromium.org/1409913002 .
-
- 15 Oct, 2015 1 commit
-
-
Frank Barchard authored
TBR=harryjin@google.com BUG=libyuv:506 Review URL: https://codereview.chromium.org/1403183002 .
-
- 14 Oct, 2015 2 commits
-
-
Frank Barchard authored
A hang in color conversion on arm occurs somewhere in yuv to rgb. Breaking the color test into its own category of test will help run selective tests to narrow down the issue. R=harryjin@google.com BUG=libyuv:506 Review URL: https://codereview.chromium.org/1405543003 .
-
Frank Barchard authored
These tests are place holders, but cause a hang on arm. Disable them for now. TBR=harryjin@google.com BUG=libyuv:506 Review URL: https://codereview.chromium.org/1407693003 .
-
- 13 Oct, 2015 1 commit
-
-
Frank Barchard authored
R=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1399523004 .
-
- 07 Oct, 2015 2 commits
-
-
Frank Barchard authored
Low level for NV21ToARGB written to accept yuv matrix used by other YUV to ARGB functions. Previously NV21 was implemented for Windows using NV12 with a different matrix that swapped U and V. But the Arm version of the low level does not allow the matrix U and V contributions to be swapped. Using a new low level function that reads NV21 and uses the same yuvconstants as other YUV conversion functions allows an Arm port of this function. TBR=harryjin@google.com BUG=libyuv:500 Review URL: https://codereview.chromium.org/1388273002 .
-
Frank Barchard authored
J444 is JPeg YUV color space with 444 subsampling. This implementation uses the existing I444ToARGB conversion, which is BT.601 color space with 444 subsampling, but passing in the jpeg color matrix constants. TBR=harryjin@google.com BUG=449 Review URL: https://codereview.chromium.org/1387313002 .
-
- 02 Oct, 2015 1 commit
-
-
Frank Barchard authored
R=harryjin@google.com BUG=libyuv:492 Review URL: https://codereview.chromium.org/1367403007 .
-
- 25 Sep, 2015 1 commit
-
-
Frank Barchard authored
API change - I420AlphaToARGB takes flag indicating if RGB should be premultiplied by alpha. This version implements an efficient SSSE3 version for Windows. C version done in 2 steps. Was libyuvTest.I420AlphaToARGB_Any (1136 ms) libyuvTest.I420AlphaToARGB_Unaligned (1210 ms) libyuvTest.I420AlphaToARGB_Invert (966 ms) libyuvTest.I420AlphaToARGB_Opt (1031 ms) libyuvTest.I420AlphaToABGR_Any (1020 ms) libyuvTest.I420AlphaToABGR_Unaligned (1359 ms) libyuvTest.I420AlphaToABGR_Invert (1082 ms) libyuvTest.I420AlphaToABGR_Opt (986 ms) R=harryjin@google.com BUG=libyuv:496 Review URL: https://codereview.chromium.org/1367093002 .
-
- 22 Sep, 2015 1 commit
-
-
Frank Barchard authored
random / rand is slow and impacts performance testing. Although its only called to clear a frame once, a typical profile shows it high in the overall profile, when doing 1000 frames for a benchmark. 95.10% libyuv_unittest libyuv_unittest [.] YUY2ToARGBRow_SSSE3 2.01% libyuv_unittest libc-2.19.so [.] __random_r 1.13% libyuv_unittest libc-2.19.so [.] __random Replace random is a faster version for unittests. set LIBYUV_WIDTH=1280 set LIBYUV_HEIGHT=720 set LIBYUV_REPEAT=999 set LIBYUV_FLAGS=-1 out\release\libyuv_unittest --gtest_filter=*YUY2ToARGB* | findms Was libyuvTest.YUY2ToARGB_Opt (497 ms) Now libyuvTest.YUY2ToARGB_Opt (454 ms) R=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1361813002 .
-
- 18 Sep, 2015 1 commit
-
-
Frank Barchard authored
Reimplements I444ToARGB as a matrix function. new I444ToABGR as matrix functions with wrappers and any functions. Allows for future J444 and H444 versions. I444ToABGR user level function added. BUG=libyuv:490, libyuv:449 R=harryjin@google.com Review URL: https://codereview.chromium.org/1355733002 .
-
- 17 Sep, 2015 1 commit
-
-
Frank Barchard authored
There is still a rounding test in color test. TBR=harryjin@google.com BUG=libyuv:492 Review URL: https://codereview.chromium.org/1347893003 .
-
- 06 Sep, 2015 1 commit
-
-
Frank Barchard authored
R=harryjin@google.com BUG=libyuv:488 Review URL: https://webrtc-codereview.appspot.com/54869004 .
-
- 03 Sep, 2015 1 commit
-
-
Frank Barchard authored
Allows direct conversion from JPeg to ABGR for android. BUG=libyuv:488 R=harryjin@google.com Review URL: https://webrtc-codereview.appspot.com/55719004 .
-
- 21 Aug, 2015 1 commit
-
-
Frank Barchard authored
Same as I420AlphaToARGB but first step converts to ABGR instead of ARGB. TBR=harryjin@google.com BUG=libyuv:473 Review URL: https://webrtc-codereview.appspot.com/52779004.
-