external/libyuv.git
42 hours agoscale down filter row segment master
fbarchard@google.com [Fri, 17 May 2013 18:53:21 +0000 (18:53 +0000)]
scale down filter row segment
BUG=226
TESTED=unittest
Review URL: https://webrtc-codereview.appspot.com/1498004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@697 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 days agoRemove getenv for scaling filter as its not needed now and is showing up on profiles.
fbarchard@google.com [Fri, 17 May 2013 09:12:29 +0000 (09:12 +0000)]
Remove getenv for scaling filter as its not needed now and is showing up on profiles.
BUG=228
TESTED=unittest and try bots
Review URL: https://webrtc-codereview.appspot.com/1496004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@696 16f28f9a-4ce2-e073-06de-1de4eb20be90

3 days agoScale horizontally by 2 but vertically anything.
fbarchard@google.com [Wed, 15 May 2013 19:51:33 +0000 (19:51 +0000)]
Scale horizontally by 2 but vertically anything.
BUG=none
TEST=set LIBYUV_WIDTH=320 set LIBYUV_HEIGHT=90 libyuvTest.ARGBScaleFrom640x360_Bilinear
Review URL: https://webrtc-codereview.appspot.com/1477006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@695 16f28f9a-4ce2-e073-06de-1de4eb20be90

3 days agoscale argb clip
fbarchard@google.com [Wed, 15 May 2013 18:44:12 +0000 (18:44 +0000)]
scale argb clip
BUG=226
TESTED=libyuv scale unittests
Review URL: https://webrtc-codereview.appspot.com/1470004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@694 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 days agoClip scale API
fbarchard@google.com [Mon, 13 May 2013 23:51:12 +0000 (23:51 +0000)]
Clip scale API
BUG=225
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1455004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@693 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 days agoYUV scaler mirror horizontal if src_width is negative
fbarchard@google.com [Mon, 13 May 2013 17:57:27 +0000 (17:57 +0000)]
YUV scaler mirror horizontal if src_width is negative
BUG=
Review URL: https://webrtc-codereview.appspot.com/1449004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@692 16f28f9a-4ce2-e073-06de-1de4eb20be90

10 days agoCompare typo fix
fbarchard@google.com [Thu, 9 May 2013 01:43:54 +0000 (01:43 +0000)]
Compare typo fix
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1390005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@691 16f28f9a-4ce2-e073-06de-1de4eb20be90

10 days agoAdd more tests for hash
fbarchard@google.com [Thu, 9 May 2013 00:34:05 +0000 (00:34 +0000)]
Add more tests for hash
BUG=none
TEST=out\release\libyuv_unittest --gtest_filter=*Djb2*
Review URL: https://webrtc-codereview.appspot.com/1448004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@690 16f28f9a-4ce2-e073-06de-1de4eb20be90

10 days agoTest DJB2 hash with half the buffer same.
fbarchard@google.com [Wed, 8 May 2013 23:05:08 +0000 (23:05 +0000)]
Test DJB2 hash with half the buffer same.
BUG=none
TEST=libyuvTest.BenchmakDjb2_Test
Review URL: https://webrtc-codereview.appspot.com/1446004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@689 16f28f9a-4ce2-e073-06de-1de4eb20be90

12 days agoUse new, public try server for libyuv.
kjellander@google.com [Tue, 7 May 2013 07:48:13 +0000 (07:48 +0000)]
Use new, public try server for libyuv.

This change will make libyuv use the new public try server hosted in
Chrome infrastructure, available at

TEST=submitted try job using command line overrides.
BUG=none
R=fbarchard@google.com

Review URL: https://webrtc-codereview.appspot.com/1419004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@688 16f28f9a-4ce2-e073-06de-1de4eb20be90

12 days agoPoint upsample uncentered so last pixel is same width as first.
fbarchard@google.com [Mon, 6 May 2013 21:57:25 +0000 (21:57 +0000)]
Point upsample uncentered so last pixel is same width as first.
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1424004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@687 16f28f9a-4ce2-e073-06de-1de4eb20be90

12 days agoLint fix for scale
fbarchard@google.com [Mon, 6 May 2013 18:41:14 +0000 (18:41 +0000)]
Lint fix for scale
BUG=none
TEST=lint
Review URL: https://webrtc-codereview.appspot.com/1417004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@686 16f28f9a-4ce2-e073-06de-1de4eb20be90

12 days agoARGBScale accept negative width for scaling to indicate mirror horizontally.
fbarchard@google.com [Mon, 6 May 2013 17:48:25 +0000 (17:48 +0000)]
ARGBScale accept negative width for scaling to indicate mirror horizontally.
BUG=220
TEST=convert util and ARGBScale unittests with set LIBYUV_WIDTH=-1280
Review URL: https://webrtc-codereview.appspot.com/1409005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@685 16f28f9a-4ce2-e073-06de-1de4eb20be90

13 days agoOnly define SSE2 if necessary
fbarchard@google.com [Mon, 6 May 2013 08:51:56 +0000 (08:51 +0000)]
Only define SSE2 if necessary
BUG=224
TEST=compile with gcc 4.8 on msys
Review URL: https://webrtc-codereview.appspot.com/1411004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@684 16f28f9a-4ce2-e073-06de-1de4eb20be90

13 days agoFix for clobber registers on SumSquareError_SSE2 used for PSNR
fbarchard@google.com [Mon, 6 May 2013 05:36:58 +0000 (05:36 +0000)]
Fix for clobber registers on SumSquareError_SSE2 used for PSNR
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1410004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@683 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 weeks agomake the lib self contained .a files
fbarchard@google.com [Wed, 1 May 2013 19:14:28 +0000 (19:14 +0000)]
make the lib self contained .a files
BUG=none
TEST=try
Review URL: https://webrtc-codereview.appspot.com/1380004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@682 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 weeks agoAccept negative values to mirror
fbarchard@google.com [Tue, 30 Apr 2013 21:37:14 +0000 (21:37 +0000)]
Accept negative values to mirror
BUG=220
TEST=out\Debug\convert.exe faces_1280x720_ARGB.raw -s 1280 -720 faces_640x360_P420.yuv
Review URL: https://webrtc-codereview.appspot.com/1376004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@681 16f28f9a-4ce2-e073-06de-1de4eb20be90

3 weeks agoFix for ARGBToI444 for arm
fbarchard@google.com [Thu, 25 Apr 2013 18:04:17 +0000 (18:04 +0000)]
Fix for ARGBToI444 for arm
BUG=223
TEST=libyuv_unittest --gtest_filter=*I444ToARGB*
Review URL: https://webrtc-codereview.appspot.com/1353004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@680 16f28f9a-4ce2-e073-06de-1de4eb20be90

3 weeks agoremove empty last line
fbarchard@google.com [Wed, 24 Apr 2013 19:08:17 +0000 (19:08 +0000)]
remove empty last line
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1317007

git-svn-id: http://libyuv.googlecode.com/svn/trunk@679 16f28f9a-4ce2-e073-06de-1de4eb20be90

3 weeks agoREADME.chromium license field for WebView and LICENSE_THIRD_PARTY to show files with...
fbarchard@google.com [Wed, 24 Apr 2013 00:12:28 +0000 (00:12 +0000)]
README.chromium license field for WebView and LICENSE_THIRD_PARTY to show files with special licenses.
BUG=none
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1313012

git-svn-id: http://libyuv.googlecode.com/svn/trunk@678 16f28f9a-4ce2-e073-06de-1de4eb20be90

3 weeks agoroll chromium deps to a known good release (lkgr) and fix indent lint issue.
fbarchard@google.com [Tue, 23 Apr 2013 21:35:07 +0000 (21:35 +0000)]
roll chromium deps to a known good release (lkgr) and fix indent lint issue.
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1321008

git-svn-id: http://libyuv.googlecode.com/svn/trunk@677 16f28f9a-4ce2-e073-06de-1de4eb20be90

3 weeks agoYuvPixel for llvm use byte clamping branchless instead of int expression.
fbarchard@google.com [Tue, 23 Apr 2013 07:06:45 +0000 (07:06 +0000)]
YuvPixel for llvm use byte clamping branchless instead of int expression.
BUG=221
TEST=I420To*R*
Review URL: https://webrtc-codereview.appspot.com/1313011

git-svn-id: http://libyuv.googlecode.com/svn/trunk@676 16f28f9a-4ce2-e073-06de-1de4eb20be90

3 weeks agoBranchless clamping for llvm
fbarchard@google.com [Tue, 23 Apr 2013 01:25:33 +0000 (01:25 +0000)]
Branchless clamping for llvm
BUG=221
TESTED=try
Review URL: https://webrtc-codereview.appspot.com/1329005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@675 16f28f9a-4ce2-e073-06de-1de4eb20be90

3 weeks agoFix for llvm GPR register usage
fbarchard@google.com [Tue, 23 Apr 2013 01:06:04 +0000 (01:06 +0000)]
Fix for llvm GPR register usage
BUG=222
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1326010

git-svn-id: http://libyuv.googlecode.com/svn/trunk@674 16f28f9a-4ce2-e073-06de-1de4eb20be90

3 weeks agobump deps to 195633 for llvm compile options
fbarchard@google.com [Tue, 23 Apr 2013 00:36:02 +0000 (00:36 +0000)]
bump deps to 195633 for llvm compile options
BUG=222
TESTED=GYP_DEFINES='clang=1 target_arch=ia32' ./build/gyp_chromium -f ninja --depth=. libyuv_test.gyp & ninja -j10 -C out/Debug
Review URL: https://webrtc-codereview.appspot.com/1321006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@673 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agobump chromium deps to last known good release.
fbarchard@google.com [Fri, 19 Apr 2013 21:23:37 +0000 (21:23 +0000)]
bump chromium deps to last known good release.
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1347004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@672 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agofix for llvm max255 macro
fbarchard@google.com [Fri, 19 Apr 2013 19:45:36 +0000 (19:45 +0000)]
fix for llvm max255 macro
BUG=none
TEST=libyuv_unittest --gtest_filter=*Add*
Review URL: https://webrtc-codereview.appspot.com/1346005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@671 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agoUnaligned math effects.
fbarchard@google.com [Fri, 19 Apr 2013 18:10:38 +0000 (18:10 +0000)]
Unaligned math effects.
BUG=none
TEST=Add*
Review URL: https://webrtc-codereview.appspot.com/1345004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@670 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agoFix cpuid to be C89 compatible again.
fbarchard@google.com [Thu, 18 Apr 2013 22:16:52 +0000 (22:16 +0000)]
Fix cpuid to be C89 compatible again.
BUG=none
TEST=compilte as C
Review URL: https://webrtc-codereview.appspot.com/1335005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@669 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agoCleaner cpuid util
fbarchard@google.com [Thu, 18 Apr 2013 20:27:45 +0000 (20:27 +0000)]
Cleaner cpuid util
BUG=none
TEST=none

Review URL: https://webrtc-codereview.appspot.com/1330004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@668 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agoUnderflow sub fix
fbarchard@google.com [Tue, 16 Apr 2013 02:44:10 +0000 (02:44 +0000)]
Underflow sub fix
BUG=none
TEST=ARGBSubtract_Unaligned

Review URL: https://webrtc-codereview.appspot.com/1328004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@667 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agollvm -O0 -fpic 32 bit runs out of registers. Extend the apple fix to llvm.
fbarchard@google.com [Mon, 15 Apr 2013 23:21:48 +0000 (23:21 +0000)]
llvm -O0 -fpic 32 bit runs out of registers.  Extend the apple fix to llvm.
BUG=none
TEST=none

Review URL: https://webrtc-codereview.appspot.com/1320005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@666 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agoRemove cruft.
fbarchard@google.com [Mon, 15 Apr 2013 20:06:52 +0000 (20:06 +0000)]
Remove cruft.
BUG=208
TEST=lint

Review URL: https://webrtc-codereview.appspot.com/1321005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@665 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agoBilinear upsample
fbarchard@google.com [Mon, 15 Apr 2013 18:32:45 +0000 (18:32 +0000)]
Bilinear upsample
BUG=208
TEST=out\release\libyuv_unittest --gtest_filter=*ARGBScale*640*

Review URL: https://webrtc-codereview.appspot.com/1303006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@664 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agoARGBInterpolate odd width support and inverted odd width test. ARGBToNV12/21 odd...
fbarchard@google.com [Mon, 15 Apr 2013 10:43:33 +0000 (10:43 +0000)]
ARGBInterpolate odd width support and inverted odd width test.  ARGBToNV12/21 odd height fix.  Compare test tolerate small height with warning.
BUG=202
TEST=libyuvTest.ARGBInterpolate85_Any_Invert
Review URL: https://webrtc-codereview.appspot.com/1325004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@663 16f28f9a-4ce2-e073-06de-1de4eb20be90

4 weeks agoInterpolateAny for unaligned and odd width interpolate. To be used in ARGBScaler...
fbarchard@google.com [Mon, 15 Apr 2013 03:05:08 +0000 (03:05 +0000)]
InterpolateAny for unaligned and odd width interpolate.  To be used in ARGBScaler in future.
BUG=208
TEST=ARGBInterpolate255_Unaligned
Review URL: https://webrtc-codereview.appspot.com/1324004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@662 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agoandroid mk updated source list
fbarchard@google.com [Fri, 12 Apr 2013 07:30:25 +0000 (07:30 +0000)]
android mk updated source list
BUG=212
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1303007

git-svn-id: http://libyuv.googlecode.com/svn/trunk@661 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agoI420ToARGB for Haswell.
fbarchard@google.com [Fri, 12 Apr 2013 07:26:24 +0000 (07:26 +0000)]
I420ToARGB for Haswell.
BUG=216
TEST=I420ToARGB
Review URL: https://webrtc-codereview.appspot.com/1314004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@660 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agoconvert do scaling
fbarchard@google.com [Fri, 12 Apr 2013 07:25:40 +0000 (07:25 +0000)]
convert do scaling
BUG=217
TEST=convert.exe faces_1280x720_ARGB.raw faces_1920x1080_P420.yuv
Review URL: https://webrtc-codereview.appspot.com/1315004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@659 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agoEnhanced Rep Mov String version of CopyRow for posix and use cpu detect for ERMS
fbarchard@google.com [Fri, 12 Apr 2013 00:44:33 +0000 (00:44 +0000)]
Enhanced Rep Mov String version of CopyRow for posix and use cpu detect for ERMS
BUG=213
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1306008

git-svn-id: http://libyuv.googlecode.com/svn/trunk@658 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agoRemove duplicate function
fbarchard@google.com [Thu, 11 Apr 2013 20:37:10 +0000 (20:37 +0000)]
Remove duplicate function
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1311006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@657 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agoMove convert_to_argb and MJPGToARGB to isolated files. Move ValidateJPeg to its...
fbarchard@google.com [Thu, 11 Apr 2013 16:34:24 +0000 (16:34 +0000)]
Move convert_to_argb and MJPGToARGB to isolated files.  Move ValidateJPeg to its own file.  Allows jpeg to be not linked in for more applications.
BUG=212
TESTED=manual test by removing mjpeg_decode.cc from gyp file and built/ran unittests
Review URL: https://webrtc-codereview.appspot.com/1310007

git-svn-id: http://libyuv.googlecode.com/svn/trunk@656 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agok for r32 bit registers on pextrw to make valgrind ASAN happy.
fbarchard@google.com [Wed, 10 Apr 2013 00:42:37 +0000 (00:42 +0000)]
k for r32 bit registers on pextrw to make valgrind ASAN happy.
BUG=208
TESTED=try bots
Review URL: https://webrtc-codereview.appspot.com/1303005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@655 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agol for r32 bit registers on pextrw to make valgrind ASAN happy.
fbarchard@google.com [Wed, 10 Apr 2013 00:22:37 +0000 (00:22 +0000)]
l for r32 bit registers on pextrw to make valgrind ASAN happy.
BUG=208
TESTED=try bots
Review URL: https://webrtc-codereview.appspot.com/1301005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@654 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agoisolate jpeg to convert_jpeg and call from convert_to_i420
fbarchard@google.com [Tue, 9 Apr 2013 23:00:56 +0000 (23:00 +0000)]
isolate jpeg to convert_jpeg and call from convert_to_i420
BUG=212
TESTED=manually tested
Review URL: https://webrtc-codereview.appspot.com/1309004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@653 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agopsnr tool accept files names with _1280x720 as well as .1280x720. And odd widths.
fbarchard@google.com [Tue, 9 Apr 2013 20:57:34 +0000 (20:57 +0000)]
psnr tool accept files names with _1280x720 as well as .1280x720.  And odd widths.
BUG=none
TEST=psnr faces_1280x720_P420.yuv faces_c_1280x720_P420.yuv
Review URL: https://webrtc-codereview.appspot.com/1304007

git-svn-id: http://libyuv.googlecode.com/svn/trunk@652 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agoConvert util
fbarchard@google.com [Tue, 9 Apr 2013 20:55:05 +0000 (20:55 +0000)]
Convert util
BUG=209
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1299006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@651 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agofix linux build
fbarchard@google.com [Mon, 8 Apr 2013 17:23:08 +0000 (17:23 +0000)]
fix linux build
BUG=none
TEST=try
Review URL: https://webrtc-codereview.appspot.com/1286007

git-svn-id: http://libyuv.googlecode.com/svn/trunk@650 16f28f9a-4ce2-e073-06de-1de4eb20be90

5 weeks agoScale up use pextrw to speed up a little
fbarchard@google.com [Mon, 8 Apr 2013 07:00:48 +0000 (07:00 +0000)]
Scale up use pextrw to speed up a little
BUG=208
TEST=out\release\libyuv_unittest --gtest_filter=*Scale*640*
Review URL: https://webrtc-codereview.appspot.com/1283008

git-svn-id: http://libyuv.googlecode.com/svn/trunk@649 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoScale up columns 2 pixels at a time
fbarchard@google.com [Sun, 7 Apr 2013 04:07:08 +0000 (04:07 +0000)]
Scale up columns 2 pixels at a time
BUG=208
TEST=out\release\libyuv_unittest --gtest_filter=*Scale*640*
Review URL: https://webrtc-codereview.appspot.com/1294004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@648 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoscale columns ported to SSSE3
fbarchard@google.com [Fri, 5 Apr 2013 21:03:28 +0000 (21:03 +0000)]
scale columns ported to SSSE3
BUG=208
TESTED=runyuv Scale*640*
Review URL: https://webrtc-codereview.appspot.com/1292004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@647 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoFix neon comment
fbarchard@google.com [Fri, 5 Apr 2013 19:13:13 +0000 (19:13 +0000)]
Fix neon comment
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1286006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@646 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoScale use kMaxStride for row buffers
fbarchard@google.com [Fri, 5 Apr 2013 18:22:59 +0000 (18:22 +0000)]
Scale use kMaxStride for row buffers
BUG=none
TEST=libyuv unittest passes
Review URL: https://webrtc-codereview.appspot.com/1287005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@645 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoNeon Color Matrix avoid overflow
fbarchard@google.com [Fri, 5 Apr 2013 04:13:21 +0000 (04:13 +0000)]
Neon Color Matrix avoid overflow
BUG=214
TEST=planar_tests
Review URL: https://webrtc-codereview.appspot.com/1276004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@644 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoERMS detect work around for compiler bug
fbarchard@google.com [Thu, 4 Apr 2013 19:03:28 +0000 (19:03 +0000)]
ERMS detect work around for compiler bug
BUG=213
TEST=cpu tool/unittest under sde
Review URL: https://webrtc-codereview.appspot.com/1283006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@643 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoSobel and SobelXY Neon port. Improved Bayer - did 8 at time version, and specialized...
fbarchard@google.com [Thu, 4 Apr 2013 18:33:44 +0000 (18:33 +0000)]
Sobel and SobelXY Neon port.  Improved Bayer - did 8 at time version, and specialized G channel version.
BUG=201
TEST=libyuvTest.TestSobel and libyuvTest.TestSobelXY
Review URL: https://webrtc-codereview.appspot.com/1279006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@642 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoMove vzeroupper to row functions to simplify caller and allow mix of avx2 and sse2...
fbarchard@google.com [Thu, 4 Apr 2013 05:54:59 +0000 (05:54 +0000)]
Move vzeroupper to row functions to simplify caller and allow mix of avx2 and sse2.  Impact reduced by row coalescing.
BUG=none
TEST=all tests pass with sde
Review URL: https://webrtc-codereview.appspot.com/1269009

git-svn-id: http://libyuv.googlecode.com/svn/trunk@641 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoARGBToYJ_AVX2 port to AVX2.
fbarchard@google.com [Wed, 3 Apr 2013 23:47:10 +0000 (23:47 +0000)]
ARGBToYJ_AVX2 port to AVX2.
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1272008

git-svn-id: http://libyuv.googlecode.com/svn/trunk@640 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoERMS detect fix
fbarchard@google.com [Wed, 3 Apr 2013 23:21:27 +0000 (23:21 +0000)]
ERMS detect fix
BUG=213
TEST=cpuid tool and unittest
Review URL: https://webrtc-codereview.appspot.com/1201005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@639 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoDisable JPEG for IOS
fbarchard@google.com [Wed, 3 Apr 2013 22:51:42 +0000 (22:51 +0000)]
Disable JPEG for IOS
BUG=212
TESTED=Windows built/ran and did not run jpeg unittest out\release\libyuv_unittest --gtest_filter=*J*
Review URL: https://webrtc-codereview.appspot.com/1280005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@638 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoPSNR makefile change
fbarchard@google.com [Wed, 3 Apr 2013 20:30:23 +0000 (20:30 +0000)]
PSNR makefile change
BUG=204
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1269010

git-svn-id: http://libyuv.googlecode.com/svn/trunk@637 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoJ400 and J420 fourcc
fbarchard@google.com [Wed, 3 Apr 2013 20:29:54 +0000 (20:29 +0000)]
J400 and J420 fourcc
BUG=159
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1275007

git-svn-id: http://libyuv.googlecode.com/svn/trunk@636 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoMove mirror to effects
fbarchard@google.com [Wed, 3 Apr 2013 08:39:28 +0000 (08:39 +0000)]
Move mirror to effects
BUG=none
TEST=none

git-svn-id: http://libyuv.googlecode.com/svn/trunk@635 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoFix movdqu in yuy2
fbarchard@google.com [Tue, 2 Apr 2013 22:03:49 +0000 (22:03 +0000)]
Fix movdqu in yuy2
BUG=none
TEST=ToYUY2*
Review URL: https://webrtc-codereview.appspot.com/1271005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@634 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoswitch toyuy2 from aligned to unaligned
fbarchard@google.com [Tue, 2 Apr 2013 21:18:12 +0000 (21:18 +0000)]
switch toyuy2 from aligned to unaligned
BUG=211
TESTED=ToYUY2*
Review URL: https://webrtc-codereview.appspot.com/1274005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@633 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoJpeg invalid step by 2
fbarchard@google.com [Tue, 2 Apr 2013 18:34:23 +0000 (18:34 +0000)]
Jpeg invalid step by 2
BUG=210
TESTED=out\release\libyuv_unittest --gtest_filter=*J*
Review URL: https://webrtc-codereview.appspot.com/1276005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@632 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoEnable Sepia and improve unittest
fbarchard@google.com [Tue, 2 Apr 2013 17:54:27 +0000 (17:54 +0000)]
Enable Sepia and improve unittest
BUG=214
TESTED=Sepia test improved
Review URL: https://webrtc-codereview.appspot.com/1201006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@631 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoDisable Neon Sepia
fbarchard@google.com [Mon, 1 Apr 2013 23:41:57 +0000 (23:41 +0000)]
Disable Neon Sepia
BUG=214
TEST=planar_tests

git-svn-id: http://libyuv.googlecode.com/svn/trunk@630 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agoRecomputed JPeg coefficients normalized to 128. Apply to ARGBGray function reusing...
fbarchard@google.com [Mon, 1 Apr 2013 20:07:14 +0000 (20:07 +0000)]
Recomputed JPeg coefficients normalized to 128.  Apply to ARGBGray function reusing YJ function/coefficients and rounding.
BUG=201
TESTED=Gray unittest improved
Review URL: https://webrtc-codereview.appspot.com/1269006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@629 16f28f9a-4ce2-e073-06de-1de4eb20be90

6 weeks agovrshrn by 8 for neon. vector rounding shift right with narrowing from u16 to u8.
fbarchard@google.com [Mon, 1 Apr 2013 20:04:22 +0000 (20:04 +0000)]
vrshrn by 8 for neon.  vector rounding shift right with narrowing from u16 to u8.
BUG=183
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1269007

git-svn-id: http://libyuv.googlecode.com/svn/trunk@628 16f28f9a-4ce2-e073-06de-1de4eb20be90

7 weeks agoValid search backwards - find EOI quicker if its there.
fbarchard@google.com [Thu, 28 Mar 2013 21:17:25 +0000 (21:17 +0000)]
Valid search backwards - find EOI quicker if its there.
BUG=210
TEST=out\release\libyuv_unittest --gtest_filter=*Jpeg*
Review URL: https://webrtc-codereview.appspot.com/1271004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@627 16f28f9a-4ce2-e073-06de-1de4eb20be90

7 weeks agoValidate MJPG test performance.
fbarchard@google.com [Thu, 28 Mar 2013 20:34:57 +0000 (20:34 +0000)]
Validate MJPG test performance.
BUG=210
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1268004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@626 16f28f9a-4ce2-e073-06de-1de4eb20be90

7 weeks agoERMS
fbarchard@google.com [Thu, 28 Mar 2013 09:33:26 +0000 (09:33 +0000)]
ERMS
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1265004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@625 16f28f9a-4ce2-e073-06de-1de4eb20be90

7 weeks agoY coefficients for J420 need to be scaled by 255/219 to full range.
fbarchard@google.com [Wed, 27 Mar 2013 07:35:03 +0000 (07:35 +0000)]
Y coefficients for J420 need to be scaled by 255/219 to full range.
BUG=159
TESTED=out\release\libyuv_unittest --gtest_filter=*J*
Review URL: https://webrtc-codereview.appspot.com/1264004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@624 16f28f9a-4ce2-e073-06de-1de4eb20be90

7 weeks agomovbe remove - not useful so far.
fbarchard@google.com [Tue, 26 Mar 2013 18:04:02 +0000 (18:04 +0000)]
movbe remove - not useful so far.
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1255004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@623 16f28f9a-4ce2-e073-06de-1de4eb20be90

7 weeks agoARGBToJ420 and ARGBToJ400 - Full range YUV Jpeg style.
fbarchard@google.com [Tue, 26 Mar 2013 09:14:46 +0000 (09:14 +0000)]
ARGBToJ420 and ARGBToJ400 - Full range YUV Jpeg style.
BUG=159
TEST=*J4*
Review URL: https://webrtc-codereview.appspot.com/1243004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@622 16f28f9a-4ce2-e073-06de-1de4eb20be90

7 weeks agopsnr tool - disable -t if openmp not enabled
fbarchard@google.com [Tue, 26 Mar 2013 09:06:32 +0000 (09:06 +0000)]
psnr tool - disable -t if openmp not enabled
BUG=204
TESTED=psnr ?
Review URL: https://webrtc-codereview.appspot.com/1254004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@621 16f28f9a-4ce2-e073-06de-1de4eb20be90

7 weeks agoAdd a unittest for scaling from VGA to whatever.
fbarchard@google.com [Mon, 25 Mar 2013 22:53:29 +0000 (22:53 +0000)]
Add a unittest for scaling from VGA to whatever.
BUG=208
TESTED=out\release\libyuv_unittest --gtest_filter=*ScaleFrom*
Review URL: https://webrtc-codereview.appspot.com/1250004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@620 16f28f9a-4ce2-e073-06de-1de4eb20be90

7 weeks agoSobel port to posix. Improved unittest for C version.
fbarchard@google.com [Sun, 24 Mar 2013 20:12:25 +0000 (20:12 +0000)]
Sobel port to posix.  Improved unittest for C version.
BUG=201
TESTED=try bots
Review URL: https://webrtc-codereview.appspot.com/1242004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@619 16f28f9a-4ce2-e073-06de-1de4eb20be90

8 weeks agoposix comment
fbarchard@google.com [Sat, 23 Mar 2013 20:48:53 +0000 (20:48 +0000)]
posix comment
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1241004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@618 16f28f9a-4ce2-e073-06de-1de4eb20be90

8 weeks agoC header compatible
fbarchard@google.com [Fri, 22 Mar 2013 08:40:40 +0000 (08:40 +0000)]
C header compatible
BUG=207
TEST=created .c file that includes libyuv.h
Review URL: https://webrtc-codereview.appspot.com/1228004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@617 16f28f9a-4ce2-e073-06de-1de4eb20be90

8 weeks ago_CRT_SECURE_NO_WARNINGS fix for windows
fbarchard@google.com [Fri, 22 Mar 2013 06:57:44 +0000 (06:57 +0000)]
_CRT_SECURE_NO_WARNINGS fix for windows
BUG=204
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1227004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@616 16f28f9a-4ce2-e073-06de-1de4eb20be90

8 weeks agoquick fix for sobel compile error
fbarchard@google.com [Fri, 22 Mar 2013 05:20:02 +0000 (05:20 +0000)]
quick fix for sobel compile error
BUG=201
TESTED=out\release\libyuv_unittest --gtest_filter=*Sobel*
Review URL: https://webrtc-codereview.appspot.com/1226004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@615 16f28f9a-4ce2-e073-06de-1de4eb20be90

8 weeks agoSobel use G channel for consistency on all CPUs, better performance and full range...
fbarchard@google.com [Fri, 22 Mar 2013 04:47:14 +0000 (04:47 +0000)]
Sobel use G channel for consistency on all CPUs, better performance and full range of 0 to 255.
BUG=201
TESTED=out\release\libyuv_unittest --gtest_filter=*Sobel*
Review URL: https://webrtc-codereview.appspot.com/1225004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@614 16f28f9a-4ce2-e073-06de-1de4eb20be90

8 weeks agoMakefile for psnr tool
fbarchard@google.com [Thu, 21 Mar 2013 01:06:33 +0000 (01:06 +0000)]
Makefile for psnr tool
BUG=204
TESTED=make
Review URL: https://webrtc-codereview.appspot.com/1215007

git-svn-id: http://libyuv.googlecode.com/svn/trunk@613 16f28f9a-4ce2-e073-06de-1de4eb20be90

8 weeks agoPSNR standalone utility for SSIM and PSNR quality assessment.
fbarchard@google.com [Wed, 20 Mar 2013 23:37:19 +0000 (23:37 +0000)]
PSNR standalone utility for SSIM and PSNR quality assessment.
BUG=204
TESTED=build\gyp_chromium -fninja -G msvs_version=2012 --depth=. libyuv_test.gyp & out\Release\psnr locally tested.
Review URL: https://webrtc-codereview.appspot.com/1216005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@612 16f28f9a-4ce2-e073-06de-1de4eb20be90

8 weeks agoReplace Add+YToARGB with SobelRow
fbarchard@google.com [Tue, 19 Mar 2013 23:51:09 +0000 (23:51 +0000)]
Replace Add+YToARGB with SobelRow
BUG=201
TEST=Sobel*
Review URL: https://webrtc-codereview.appspot.com/1217005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@611 16f28f9a-4ce2-e073-06de-1de4eb20be90

8 weeks agoSobelXY which returns Sobel X, Sobel Y and Sobel as RGB values.
fbarchard@google.com [Tue, 19 Mar 2013 22:24:06 +0000 (22:24 +0000)]
SobelXY which returns Sobel X, Sobel Y and Sobel as RGB values.
BUG=201
TEST=Sobel*
Review URL: https://webrtc-codereview.appspot.com/1210006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@610 16f28f9a-4ce2-e073-06de-1de4eb20be90

8 weeks agoARGBSobel
fbarchard@google.com [Tue, 19 Mar 2013 19:23:44 +0000 (19:23 +0000)]
ARGBSobel
BUG=201
TEST=Sobel*
Review URL: https://webrtc-codereview.appspot.com/1221005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@609 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agoSobel functions
fbarchard@google.com [Mon, 18 Mar 2013 22:40:15 +0000 (22:40 +0000)]
Sobel functions
BUG=201
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1200004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@608 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agoNV12 to/from I420 coalesce rows for Y and UV independently.
fbarchard@google.com [Thu, 14 Mar 2013 17:57:47 +0000 (17:57 +0000)]
NV12 to/from I420 coalesce rows for Y and UV independently.
BUG=197
TESTED=*NV12*_Opt
Review URL: https://webrtc-codereview.appspot.com/1201004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@607 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agobilinear scaling allow higher error for differences in SSSE3 7 bit math vs C/SSE2...
fbarchard@google.com [Wed, 13 Mar 2013 18:33:41 +0000 (18:33 +0000)]
bilinear scaling allow higher error for differences in SSSE3 7 bit math vs C/SSE2 15 bit math, when extreme scale factors are used.
BUG=200
TEST=*Scale* width LIBYUV_WIDTH=16 LIBYUV_HEIGHT=16
Review URL: https://webrtc-codereview.appspot.com/1197004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@606 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agoRow coalesce convert_from.cc for I420ToNV12, YUY2ToI422, UYVYToI422
fbarchard@google.com [Wed, 13 Mar 2013 17:48:22 +0000 (17:48 +0000)]
Row coalesce convert_from.cc for I420ToNV12, YUY2ToI422, UYVYToI422
BUG=197
TESTED=I420ToNV12_Opt
Review URL: https://webrtc-codereview.appspot.com/1196004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@605 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agofix for bayer unittest, transpose and rotate, and Ssim tolerance.
fbarchard@google.com [Wed, 13 Mar 2013 01:52:21 +0000 (01:52 +0000)]
fix for bayer unittest, transpose and rotate, and Ssim tolerance.
BUG=198
TESTED=*Bayer*
Review URL: https://webrtc-codereview.appspot.com/1194004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@604 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agofix odd width unittesting by rounding up to next subsample size.
fbarchard@google.com [Wed, 13 Mar 2013 00:57:01 +0000 (00:57 +0000)]
fix odd width unittesting by rounding up to next subsample size.
BUG=198
TEST=set LIBYUV_WIDTH=31 and run unittest
Review URL: https://webrtc-codereview.appspot.com/1192004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@603 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agolint fix for Intel and YANY fix for Neon
fbarchard@google.com [Tue, 12 Mar 2013 23:22:32 +0000 (23:22 +0000)]
lint fix for Intel and YANY fix for Neon
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1161005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@602 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agoFix RGB565ToARGB_Any which uses SSE2 that requires ARGB alignment. Add row coalescin...
fbarchard@google.com [Tue, 12 Mar 2013 21:44:56 +0000 (21:44 +0000)]
Fix RGB565ToARGB_Any which uses SSE2 that requires ARGB alignment.  Add row coalescing to convert_argb.cc.  Improve coalescing on planar_functions.cc and convert_from_argb.cc.  Use stride * 2 == width to test for even width.  Apply coalescing to all functions that have same vertical subsampling.
BUG=197
TESTED=libyuv unittest passes where _Opt uses row coalescing.
Review URL: https://webrtc-codereview.appspot.com/1186004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@601 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agoFix white space (lint) and sort row.h defines
fbarchard@google.com [Tue, 12 Mar 2013 03:58:04 +0000 (03:58 +0000)]
Fix white space (lint) and sort row.h defines
BUG=197
TEST=lint
Review URL: https://webrtc-codereview.appspot.com/1185004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@600 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agoUnattenutate with work around for vpgatherdd on avx2
fbarchard@google.com [Tue, 12 Mar 2013 01:59:48 +0000 (01:59 +0000)]
Unattenutate with work around for vpgatherdd on avx2
BUG=none
TEST=ARGBUnattenuate*
Review URL: https://webrtc-codereview.appspot.com/1183004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@599 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agoCoalesce rows
fbarchard@google.com [Mon, 11 Mar 2013 18:51:25 +0000 (18:51 +0000)]
Coalesce rows
BUG=197
TESTED=out\release\libyuv_unittest --gtest_filter=*ARGBToI400*
Review URL: https://webrtc-codereview.appspot.com/1176004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@598 16f28f9a-4ce2-e073-06de-1de4eb20be90