- 04 Nov, 2015 7 commits
-
-
Frank Barchard authored
using a stripped down gn file from webrtc. BUG=libyuv:411,libyuv:519 R=kjellander@chromium.org Review URL: https://codereview.chromium.org/1417613007 .
-
Frank Barchard authored
Add alpha version of YUV to RGB to neon code for ARMv7 and aarch64. For other YUV to RGB conversions, hoist alpha set to 255 out of loop. TBR=harryjin@google.com BUG=libyuv:516 Review URL: https://codereview.chromium.org/1413763017 .
-
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
TBR=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1412373006 .
-
Frank Barchard authored
R=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1429693006 .
-
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 2 commits
-
-
Frank Barchard authored
TBR=harryjin@google.com BUG=libyuv:518 Review URL: https://codereview.chromium.org/1420033004 .
-
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 .
-
- 30 Oct, 2015 1 commit
-
-
Frank Barchard authored
Using a transposed conversion matrix, I420ToARGB can output ABGR. R=harryjin@google.com, xhwang@chromium.org BUG=libyuv:473 Review URL: https://codereview.chromium.org/1413573010 .
-
- 29 Oct, 2015 1 commit
-
-
Frank Barchard authored
R=harryjin@google.com BUG=libyuv:517 Review URL: https://codereview.chromium.org/1428843003 .
-
- 28 Oct, 2015 2 commits
-
-
Frank Barchard authored
In some methods with 7 arguments gcc fails to find enough registers to compile the assembler code when compiling debug. Simplest solution is to skip the assembler version in debug of those particular functions (I422Alpha -> ARBG/ABGR) R=harryjin@google.com,bratell@opera.com BUG=libyuv:517 Review URL: https://codereview.chromium.org/1423283002 .
-
Frank Barchard authored
R=ajm@chromium.org, ajm@google.com BUG=libyuv:513,webrtc:760 Review URL: https://codereview.chromium.org/1427643003 .
-
- 27 Oct, 2015 3 commits
-
-
Frank Barchard authored
swap U and V and transpose conversion matrix, so I420AlphaToARGB and I420AlphaToABGR share low level code. Having less code with same performance allows more focused optimization for future ARM versions. R=harryjin@google.com TBR=harryjin@chromium.org BUG=libyuv:473,libyuv:516 Review URL: https://codereview.chromium.org/1422263002 .
-
Frank Barchard authored
U contributes to B and G. V contributes to R and G. By swapping U and V, they contribute to the opposite channels. Adjust the matrix so the U contribution is in the matrix location such that it till contribute to the new B channel and vice versa. This allows ABGR versions of YUV conversion to use the same low level code as ARGB, just using a different matrix and swapping U and V pointers. As a result the existing I444ToABGRRow functions are no longer needed and are removed. Previously this function was only Intel AVX2 optimized for Windwos. Now it is also optimized for Arm and GCC. ARMv7 Neon Was LibYUVConvertTest.I444ToABGR_Opt (75971 ms) Now LibYUVConvertTest.I444ToABGR_Opt (3672 ms) 20.6 times faster. R=xhwang@chromium.org BUG=libyuv:515 Review URL: https://codereview.chromium.org/1414133006 .
-
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 .
-
- 23 Oct, 2015 1 commit
-
-
Frank Barchard authored
R=harryjin@google.com BUG=libyuv:512 Review URL: https://codereview.chromium.org/1418253002 .
-
- 22 Oct, 2015 4 commits
-
-
Frank Barchard authored
R=harryjin@google.com BUG=libyuv:512 Review URL: https://codereview.chromium.org/1422733003 .
-
Frank Barchard authored
R=harryjin@google.com BUG=libyuv:511 Review URL: https://codereview.chromium.org/1412683005 .
-
Frank Barchard authored
TBR=harryjin@google.com BUG=libyuv:510 Review URL: https://codereview.chromium.org/1415583003 .
-
Frank Barchard authored
A bug was introduced on arm when the code for 'any' width switch to a temporary stack buffer and simd. The C version handles odd width by doing 1 pixel, instead of averaging 2. But the SIMD any version is supposed to replicate the last pixel, then the subsampling in Neon will average the pixel with itself, producing the same result. The previous version did this, but only for ARGB 32 bit, which was to avoid introducing issues with subsampled YUY2 source. This CL adds replication for RGB 16 bit values. TBR=harryjin@google.com BUG=libyuv:510 Review URL: https://codereview.chromium.org/1418983003 .
-
- 21 Oct, 2015 2 commits
-
-
Frank Barchard authored
TBR=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1415213002 .
-
Frank Barchard authored
The any function for handling ARGBToI411 was not handling the pixel replication correctly. On 422 and odd width was handled by duplicating a pixel of source. 411 needs replication for remainders of 1, 2 or 3 pixels. The C version was handling odd width but with an average of the remainder pixels, which does not match the SIMD 'any' handling off remainder. This changes the odd width handling to mimic the any version. TBR=harryjin@google.com BUG=libyuv:491 Review URL: https://codereview.chromium.org/1411733004 .
-
- 20 Oct, 2015 4 commits
-
-
Frank Barchard authored
Fix compile error on arm, mips etc due to undefined variable. TBR=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1403373008 .
-
Frank Barchard authored
To make init cpu flags thread safe, there can only be one write to the variable. R=richard.winterton@intel.com, harryjin@google.com BUG=libyuv:508 Review URL: https://codereview.chromium.org/1412793006 .
-
Frank Barchard authored
A fix for android -a was checked in, allowing libyuv gtest flags to be pass. This CL rolls to the head version of chromium to pull in the change, allowing better testing and benchmarking of libyuv on android. TBR=harryjin@google.com BUG=libyuv:507 Review URL: https://codereview.chromium.org/1416663006 .
-
Henrik Kjellander authored
Changelog: https://chromium.googlesource.com/chromium/src/+log/bb79186..5d149df TBR=fbarchard@chromium.org Review URL: https://codereview.chromium.org/1416823002 .
-
- 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 .
-
- 18 Oct, 2015 1 commit
-
-
Henrik Kjellander authored
The DEPS entry for gflags added in https://codereview.chromium.org/1413723002/ assumed the Chromium/WebRTC checkout layout with 'src' as the top-directory name. That doesn't work for libyuv, since the top-directory is named 'libyuv'. BUG=libyuv:507 Review URL: https://codereview.chromium.org/1410673004 .
-
- 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 4 commits
-
-
Henrik Kjellander authored
Unit tests currently use environment variables to change behavior. Using gflags this can be done via command line. BUG=libyuv:507 TBR=fbarchard@chromium.org Review URL: https://codereview.chromium.org/1413723002 .
-
Henrik Kjellander authored
This reverts commit 2dd3d923. Reason: chromium_git is a missing variable, and to properly add gflags, we need to check in GYP files in third_party/gflags first, then add the DEPS entry. BUG=libyuv:507 TBR=fbarchard@chromium.org Review URL: https://codereview.chromium.org/1406323002 .
-
Frank Barchard authored
unittests currently use environment variables to change behavior. using gflags this can be done via command line. R=kjellander@chromium.org BUG=libyuv:507 Review URL: https://codereview.chromium.org/1402313002 .
-
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 3 commits
-
-
Frank Barchard authored
R=harryjin@google.com BUG=libyuv:507 Review URL: https://codereview.chromium.org/1410643002 .
-
Frank Barchard authored
YuvPixel for arm was miscomputing YG. TBR=harryjin@google.com BUG=libyuv:506 Review URL: https://codereview.chromium.org/1402333002 .
-
Frank Barchard authored
TBR=harryjin@google.com BUG=libyuv:506 Review URL: https://codereview.chromium.org/1403183002 .
-
- 14 Oct, 2015 1 commit
-
-
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 .
-