external/libyuv.git
59 min agoRemove alignment constraint for SSE2. Allows the optimized function to be used with... master
fbarchard@google.com [Tue, 30 Sep 2014 18:53:34 +0000 (18:53 +0000)]
Remove alignment constraint for SSE2. Allows the optimized function to be used with unaligned memory, improving performance in that use case.  Hurts performance on core2 and prior where memory was faster with movdqa instruction.
BUG=365
TESTED=psnr, ssim and djb2 unittests pass.
R=tpsiaki@google.com

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

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

18 hours agoFor android arm64 dont specify neon flag.
fbarchard@google.com [Tue, 30 Sep 2014 01:35:56 +0000 (01:35 +0000)]
For android arm64 dont specify neon flag.
BUG=364
TESTED=try bots
R=tpsiaki@google.com

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

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

19 hours agoport/fix CopyRow_AVX to gcc
fbarchard@google.com [Tue, 30 Sep 2014 00:39:41 +0000 (00:39 +0000)]
port/fix CopyRow_AVX to gcc
BUG=363
TESTED=osx build
R=tpsiaki@google.com

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

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

19 hours agoCopyRow_AVX which supports unaligned pointers for Sandy Bridge CPU.
fbarchard@google.com [Mon, 29 Sep 2014 23:53:18 +0000 (23:53 +0000)]
CopyRow_AVX which supports unaligned pointers for Sandy Bridge CPU.
BUG=363
TESTED=out\release\libyuv_unittest --gtest_filter=*ARGBToARGB_*
R=tpsiaki@google.com

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

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

25 hours agoRow AArch64 Neon implementation - Part 11
ashok.bhat@gmail.com [Mon, 29 Sep 2014 18:10:20 +0000 (18:10 +0000)]
Row AArch64 Neon implementation - Part 11
BUG=319
TESTED=libyuv_unittest
R=fbarchard@google.com

Change-Id: Id187c5cbdbbb5570598eb9fcd9c3d6699e175f03
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/24759004

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

34 hours agoRemove __ARM_NEON__ define check for AArch64
ashok.bhat@gmail.com [Mon, 29 Sep 2014 09:40:37 +0000 (09:40 +0000)]
Remove __ARM_NEON__ define check for AArch64

BUG=319
TESTED=local build
R=fbarchard@google.com

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

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

3 days agoRename GN public variables.
brettw@google.com [Fri, 26 Sep 2014 21:46:47 +0000 (21:46 +0000)]
Rename GN public variables.

direct_dependent_configs => public_configs
Code review: https://webrtc-codereview.appspot.com/22749004/
R=fbarchard

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

4 days agoRow AArch64444 Neon implementation - Part 10
ashok.bhat@gmail.com [Fri, 26 Sep 2014 12:40:57 +0000 (12:40 +0000)]
Row AArch64444 Neon implementation - Part 10
BUG=319
TESTED=libyuv_unittest
R=fbarchard@google.com

Change-Id: I1a11136aa3e4f541f9c2617281d7b530b470f13d
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/23769005

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

4 days agoRow AArch64 Neon implementation - Part 9
ashok.bhat@gmail.com [Fri, 26 Sep 2014 09:16:48 +0000 (09:16 +0000)]
Row AArch64 Neon implementation - Part 9

BUG=319
TESTED=libyuv_unittest
R=fbarchard@google.com

Change-Id: Id3af83a6efbd70b4a808a8442c3badbef749c0cc
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/23769004

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

7 days agoAdd tools/lsan/suppressions.txt
kjellander@google.com [Tue, 23 Sep 2014 13:34:34 +0000 (13:34 +0000)]
Add tools/lsan/suppressions.txt

The new buildbots are using the default config
for ASan, which has Leak Sanitizer (LSan) enabled.
This assumes a suppression file exists in this
location.

TBR=fbarchard@google.com
TESTED=Passing linux_asan trybot run.
BUG=

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

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

7 days agoUpdate Chromium sync scripts for WebRTC r7222 changes
kjellander@google.com [Tue, 23 Sep 2014 12:53:42 +0000 (12:53 +0000)]
Update Chromium sync scripts for WebRTC r7222 changes

https://code.google.com/p/webrtc/source/detail?r=7222 contains
a few fixes for edge cases when moving back and forth with
Chromium DEPS.

TBR=fbarchard@google.com
BUG=

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

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

7 days agoMake Libyuv work with Chromium Git checkouts
kjellander@google.com [Tue, 23 Sep 2014 11:13:29 +0000 (11:13 +0000)]
Make Libyuv work with Chromium Git checkouts

This is very similar to the changes in
https://code.google.com/p/webrtc/source/detail?r=6938

TESTED=gclient sync and runhooks on Mac and Linux + building successfully.
R=fbarchard@chromium.org

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

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

8 days agoDetect asimd as same as Neon for Arm features. Used on Juno aarch64 linux.
fbarchard@google.com [Mon, 22 Sep 2014 18:30:17 +0000 (18:30 +0000)]
Detect asimd as same as Neon for Arm features.  Used on Juno aarch64 linux.
BUG=361
TESTED=.\libyuv_unittest --gtest_filter=libyuvTest.TestLinuxNeon
R=tpsiaki@google.com

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

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

8 days agoRoll chromium_revision 280149:291168 and remove sanitizer_options.cc hack.
kjellander@google.com [Sun, 21 Sep 2014 20:17:00 +0000 (20:17 +0000)]
Roll chromium_revision 280149:291168 and remove sanitizer_options.cc hack.

This is a temporary solution to fix the compile error in preparation
for moving the bots over to recipes so that
https://review.webrtc.org/24619004/ can be landed.

TBR=fbarchard@google.com
TESTED=passing local compile on Linux.

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

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

10 days agoadd stride to pointer in C and pass as register to inline.
fbarchard@google.com [Fri, 19 Sep 2014 22:51:39 +0000 (22:51 +0000)]
add stride to pointer in C and pass as register to inline.
BUG=357
TESTED=clang on ios
R=tpsiaki@google.com

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

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

2 weeks agochange vector range notation to a list of registers for clang compatibility. break...
fbarchard@google.com [Mon, 15 Sep 2014 23:39:43 +0000 (23:39 +0000)]
change vector range notation to a list of registers for clang compatibility. break compare into 2 neon files for consistency with other neon64 files.
BUG=357
TESTED=local ios build
R=harryjin@google.com

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

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

2 weeks agoChange branch notation to clang compatible b dot cc
fbarchard@google.com [Mon, 15 Sep 2014 22:45:32 +0000 (22:45 +0000)]
Change branch notation to clang compatible b dot cc
BUG=357
TESTED=local ios a64 build
R=yunqingwang@google.com

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

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

2 weeks agoChange ifdefs for arm 32 and 64 bit so there will only be 32 bit in legacy mode.
fbarchard@google.com [Mon, 15 Sep 2014 22:05:01 +0000 (22:05 +0000)]
Change ifdefs for arm 32 and 64 bit so there will only be 32 bit in legacy mode.
BUG=357
TESTED=ios arm64 build
R=tpsiaki@google.com

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

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

2 weeks agoscale16 api use LIBYUV_API
fbarchard@google.com [Mon, 15 Sep 2014 22:01:43 +0000 (22:01 +0000)]
scale16 api use LIBYUV_API
BUG=358
TESTED=local build
R=tpsiaki@google.com

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

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

2 weeks agoadd TransposeWx8_NEON's aarch64 implementation
zhongwei.yao@arm.com [Fri, 12 Sep 2014 08:11:20 +0000 (08:11 +0000)]
add TransposeWx8_NEON's aarch64 implementation

BUG=319
TESTED=libyuv_unittest
R=fbarchard@chromium.org, fbarchard@google.com

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

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

2 weeks agoFix the build failure for arm64
ashok.bhat@gmail.com [Thu, 11 Sep 2014 14:49:31 +0000 (14:49 +0000)]
Fix the build failure for arm64

TESTED=libyuv_unittest
BUG=357
R=fbarchard@google.com

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

2 weeks agoFix the build failure for arm64
ashok.bhat@gmail.com [Thu, 11 Sep 2014 14:43:34 +0000 (14:43 +0000)]
Fix the build failure for arm64

TESTED=libyuv_unittest
BUG=357
R=fbarchard@google.com

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

2 weeks agoRotate ARM64 NEON implementation - TransposeUVWx8_NEON
yang.zhang@arm.com [Wed, 10 Sep 2014 06:02:55 +0000 (06:02 +0000)]
Rotate ARM64 NEON implementation - TransposeUVWx8_NEON

BUG=319
TESTED=libyuv_unittest
R=fbarchard@google.com

Change-Id: I1dc89b35d4c4bf011cd04b549aaf9d777b1acc65

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

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

3 weeks agoUpdate GN build to refer to ppapi target. This allows the inclusion of the pp_macros...
fbarchard@google.com [Mon, 8 Sep 2014 23:40:37 +0000 (23:40 +0000)]
Update GN build to refer to ppapi target. This allows the inclusion of the pp_macros header when running in gn's header check mode.
BUG=none
TESTED=untested
R=tpsiaki@google.com

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

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

3 weeks agoexpect avx2 compiler support means one of the avx2 functions exists.
fbarchard@google.com [Mon, 8 Sep 2014 18:29:46 +0000 (18:29 +0000)]
expect avx2 compiler support means one of the avx2 functions exists.
BUG=none
TESTED=try bots
R=bcornell@google.com

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

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

3 weeks agoadd gyp define to enable svn version check. defaults to off so tests built outside...
fbarchard@google.com [Fri, 5 Sep 2014 00:33:53 +0000 (00:33 +0000)]
add gyp define to enable svn version check.  defaults to off so tests built outside of svn will build/run with a warning but not error.
BUG=356
TESTED=set GYP_DEFINES=target_arch=ia32 libyuv_disable_jpeg=1 libyuv_enable_svn=1
R=thorcarpenter@google.com

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

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

3 weeks agoAdd a test that indicates the compiler is able to generate avx2 code.
fbarchard@google.com [Thu, 4 Sep 2014 00:25:19 +0000 (00:25 +0000)]
Add a test that indicates the compiler is able to generate avx2 code.
BUG=none
TESTED=out\release_x64\libyuv_unittest --gtest_filter=libyuvTest.TestCompilerHasAVX2
R=tpsiaki@google.com

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

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

4 weeks agoAdd a placeholder file for ARM64 Rotate Neon implementation
zhongwei.yao@arm.com [Mon, 1 Sep 2014 08:50:49 +0000 (08:50 +0000)]
Add a placeholder file for ARM64 Rotate Neon implementation

BUG=319
TESTED=libyuv_unittest
R=fbarchard@google.com

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

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

4 weeks agoimplement ARM64 ScaleARGBRowDownEven and ScaleARGBRowDownEvenBox
zhongwei.yao@arm.com [Mon, 1 Sep 2014 08:17:36 +0000 (08:17 +0000)]
implement ARM64 ScaleARGBRowDownEven and ScaleARGBRowDownEvenBox

TESTED=libyuv_unittest
BUG=319
R=fbarchard@chromium.org, fbarchard@google.com

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

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

4 weeks agoScale ARM64 NEON implementation - ScaleRowDown38
yang.zhang@arm.com [Mon, 1 Sep 2014 03:55:19 +0000 (03:55 +0000)]
Scale ARM64 NEON implementation - ScaleRowDown38

BUG=319
TESTED=libyuv_unittest
R=fbarchard@google.com

Add the following functions:
- ScaleRowDown38_NEON
- ScaleRowDown38_2_Box_NEON
- ScaleRowDown38_3_Box_NEON

I find that these functions aren't tracked in the gtest.
So that I write the test case myself.

Change-Id: Ie70a00d7f708450dc786dfb388386ff748a21508

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

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

4 weeks agoScale ARM64 NEON implementation - ScaleRowDown34
yang.zhang@arm.com [Mon, 1 Sep 2014 03:48:10 +0000 (03:48 +0000)]
Scale ARM64 NEON implementation - ScaleRowDown34

BUG=319
TESTED=libyuv_unittest
R=fbarchard@chromium.org, fbarchard@google.com

Add the following functions:
 - ScaleRowDown34_NEON
 - ScaleRowDown34_0_Box_NEON
 - ScaleRowDown34_1_Box_NEON

Change-Id: If3fe96de602b77033ec67252ef755ef3f88f33aa

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

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

4 weeks agoRow AArch64 Neon implementation - Part 6
ashok.bhat@gmail.com [Fri, 29 Aug 2014 08:12:51 +0000 (08:12 +0000)]
Row AArch64 Neon implementation - Part 6
BUG=319
TESTED=libyuv_unittest
R=fbarchard@google.com

Change-Id: I5d93eb184ba873d5e7637a3b5a830be39a967c6f
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/15239004

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

4 weeks agoimplement ARM64 ScaleRowDown4 and ScaleRowDown4Box
zhongwei.yao@arm.com [Thu, 28 Aug 2014 06:43:18 +0000 (06:43 +0000)]
implement ARM64 ScaleRowDown4 and ScaleRowDown4Box

TESTED=libyuv_unittest
BUG=319
R=fbarchard@chromium.org, fbarchard@google.com

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

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

4 weeks agodisable mips assembly for __mips_isa_rev 6
fbarchard@google.com [Wed, 27 Aug 2014 18:14:58 +0000 (18:14 +0000)]
disable mips assembly for __mips_isa_rev 6
BUG=355
TESTED=untested
R=tpsiaki@google.com

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

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

4 weeks agoAdd function ScaleFilterRows_NEON for ARM64 Scale Neon implementation
zhongwei.yao@arm.com [Wed, 27 Aug 2014 09:41:54 +0000 (09:41 +0000)]
Add function ScaleFilterRows_NEON for ARM64 Scale Neon implementation

TESTED=libyuv_unittest
BUG=319
R=fbarchard@chromium.org, fbarchard@google.com

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

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

5 weeks agoRow AArch64 Neon implementation - Part 7
ashok.bhat@gmail.com [Tue, 26 Aug 2014 10:28:14 +0000 (10:28 +0000)]
Row AArch64 Neon implementation - Part 7
BUG=319
TESTED=libyuv_unittest
R=fbarchard@chromium.org, fbarchard@google.com

Change-Id: Idfad43af3d637596678a35f733d76dec29778af2
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/22459004

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

5 weeks agoimplement ScaleRowDown2_NEON && ScaleRowDown2Box_NEON
zhongwei.yao@arm.com [Tue, 26 Aug 2014 02:50:41 +0000 (02:50 +0000)]
implement ScaleRowDown2_NEON && ScaleRowDown2Box_NEON

TESTED=libyuv_unit_test
BUG=319
R=fbarchard@chromium.org, fbarchard@google.com

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

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

5 weeks agoimplement ScaleARGBRowDown2 && ScaleARGBRowDown2Box
zhongwei.yao@arm.com [Tue, 26 Aug 2014 02:45:14 +0000 (02:45 +0000)]
implement ScaleARGBRowDown2 && ScaleARGBRowDown2Box

TESTED=libyuv_unit_test
BUG=319
R=fbarchard@chromium.org, fbarchard@google.com

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

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

5 weeks agomove lto condition into existing condition statement.
fbarchard@google.com [Mon, 25 Aug 2014 19:12:50 +0000 (19:12 +0000)]
move lto condition into existing condition statement.
BUG=354
TESTED=gclient runhooks
R=fdegans@chromium.org

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

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

5 weeks agoAdd LTO support for Android Chromium.
fbarchard@google.com [Mon, 25 Aug 2014 18:01:50 +0000 (18:01 +0000)]
Add LTO support for Android Chromium.
BUG=354
This is to add support for a Link-Time Optimizations experiment in Android
Chromium. As it is disabled by default, it won't change anything for most
configurations.

R=tpsiaki@google.com

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

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

5 weeks agofix memory leaks in *ToI420 functions.
fbarchard@google.com [Fri, 22 Aug 2014 00:37:16 +0000 (00:37 +0000)]
fix memory leaks in *ToI420 functions.
BUG=352
TESTED=drmemory out\debug\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=**ToI420_Opt
R=harryjin@google.com

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

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

5 weeks agoFor xcode disable pch option so includes will use the .h instead of expecting a ...
fbarchard@google.com [Thu, 21 Aug 2014 23:30:06 +0000 (23:30 +0000)]
For xcode disable pch option so includes will use the .h instead of expecting a .pch.
BUG=none
TESTED=untested
R=noahric@chromium.org

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

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

5 weeks agoifdef headers to avoid intrinsics if built with gcc 64 bit on windows.
fbarchard@google.com [Thu, 21 Aug 2014 22:44:49 +0000 (22:44 +0000)]
ifdef headers to avoid intrinsics if built with gcc 64 bit on windows.
BUG=351
TESTED=untested
R=jzern@chromium.org

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

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

5 weeks agoARGBToNV12 fix for memory leak on row_u_mem.
fbarchard@google.com [Thu, 21 Aug 2014 22:40:22 +0000 (22:40 +0000)]
ARGBToNV12 fix for memory leak on row_u_mem.
BUG=352
TESTED=libyuv_unittest
R=tpsiaki@google.com

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

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

5 weeks agoRow AArch64 Neon implementation - Part 3
ashok.bhat@gmail.com [Thu, 21 Aug 2014 19:13:37 +0000 (19:13 +0000)]
Row AArch64 Neon implementation - Part 3
BUG=319
TESTED=libyuv_unittest
R=fbarchard@google.com

Change-Id: Ia818ca62d4a84d76b0144f904983d82d41cab651
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/15149004

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

5 weeks agoRow AArch64 Neon implementation - Part 5
ashok.bhat@gmail.com [Thu, 21 Aug 2014 10:07:11 +0000 (10:07 +0000)]
Row AArch64 Neon implementation - Part 5
BUG=319
TESTED=libyuv_unittest
R=fbarchard@chromium.org, fbarchard@google.com

Change-Id: Ia76096088ddd771388f01dd86110089db2faedfc
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/21189004

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

5 weeks agoRow AArch64 Neon implementation - Part 4
ashok.bhat@gmail.com [Thu, 21 Aug 2014 09:55:58 +0000 (09:55 +0000)]
Row AArch64 Neon implementation - Part 4
BUG=319
TESTED=libyuv_unittest
R=fbarchard@chromium.org, fbarchard@google.com

Change-Id: If145660d999e95246efeedb64a45ba70bf0fe23e
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/13199004

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

5 weeks agoIn Q420ToI420 the variable halfheight is initialized but not used. Change it to...
fbarchard@google.com [Thu, 21 Aug 2014 00:20:58 +0000 (00:20 +0000)]
In Q420ToI420 the variable halfheight is initialized but not used.  Change it to instantiate the variable but do not initialize it.  It will be assigned conditionally later.  This warning raised in xcode.
BUG=353
TESTED=local build still works
R=harryjin@google.com, noahric@chromium.org

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

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

5 weeks agoRollback chromium_revision from 285412 to 280149 as they causes a valgrind asan failu...
fbarchard@google.com [Wed, 20 Aug 2014 18:38:25 +0000 (18:38 +0000)]
Rollback chromium_revision from 285412 to 280149 as they causes a valgrind asan failure on build bots.
BUG=none
TESTED=untested
R=harryjin@google.com

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

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

5 weeks agoAdd a placeholder file for ARM64 Scale Neon implementation
zhongwei.yao@arm.com [Wed, 20 Aug 2014 02:54:59 +0000 (02:54 +0000)]
Add a placeholder file for ARM64 Scale Neon implementation

BUS=319
TESTED=libyuv_unit_test
R=fbarchard@google.com

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

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

6 weeks agovalgrind fix to CropNV12 unittest. round crop amount to multiple of 2 so UV will...
fbarchard@google.com [Tue, 19 Aug 2014 18:32:03 +0000 (18:32 +0000)]
valgrind fix to CropNV12 unittest.  round crop amount to multiple of 2 so UV will be an even number.
BUG=350
TESTED=drmemory out\debug\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*CropNV12
R=harryjin@google.com

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

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

6 weeks agoMingw xgetbv use gcc assembly not visual c.
fbarchard@google.com [Mon, 18 Aug 2014 23:45:59 +0000 (23:45 +0000)]
Mingw xgetbv use gcc assembly not visual c.
BUG=349
TESTED=c:\mingw64\bin\x86_64-w64-mingw32-c++.exe -m32 -I include source/cpu_id.cc -c -o cpu_id.o
R=tpsiaki@google.com

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

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

6 weeks agofix a lint warning about a space needed after && in ifdef
fbarchard@google.com [Mon, 18 Aug 2014 23:22:20 +0000 (23:22 +0000)]
fix a lint warning about a space needed after && in ifdef
BUG=348
TESTED=cpplint.py --filter=-readability/casting source/*.cc include/libyuv/*.h
R=tpsiaki@google.com

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

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

6 weeks agoRow AArch64 Neon implementation - Part 2
ashok.bhat@gmail.com [Mon, 18 Aug 2014 08:42:56 +0000 (08:42 +0000)]
Row AArch64 Neon implementation - Part 2
BUG=319
TEST=libyuv_unittest
R=fbarchard@chromium.org, fbarchard@google.com

Change-Id: Ib1f824c5a7dc3938ff63991f08eafa08fc33f108
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/18109004

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

6 weeks agocpuid include intrinsics header before using xgetbv
fbarchard@google.com [Fri, 15 Aug 2014 01:23:54 +0000 (01:23 +0000)]
cpuid include intrinsics header before using xgetbv
BUG=282
TESTED=vs2010sp1 build.
R=tpsiaki@google.com

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

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

6 weeks agofixes for blank line lint warnings
fbarchard@google.com [Thu, 14 Aug 2014 19:42:48 +0000 (19:42 +0000)]
fixes for blank line lint warnings
BUG=348
TESTED=cpplint.py --filter=-casting source/*.cc include/libyuv/*.h
R=harryjin@google.com

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

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

6 weeks agoRow AArch64 Neon implementation - Part 1
ashok.bhat@gmail.com [Wed, 13 Aug 2014 08:33:17 +0000 (08:33 +0000)]
Row AArch64 Neon implementation - Part 1
BUG=319
TEST=libyuv_unittest
R=fbarchard@google.com

Change-Id: I367ffa7bb0fd0337ab8486d3eb4fb94afea7400c
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/21149004

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

6 weeks agoAArch64:add SumSquareError_NEON armv8 assembly version
yang.zhang@arm.com [Wed, 13 Aug 2014 06:10:02 +0000 (06:10 +0000)]
AArch64:add SumSquareError_NEON armv8 assembly version

BUG=none
TESTED=libyuv_unittest
R=fbarchard@google.com

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

the benckmarking result is as follows:
toolchain: gcc 4.9
hardware: A53

| count | C Times/NEON times |
| 16    | 3.35               |
| 128   | 6.63               |
| 512   | 7.47               |
| 1024  | 7.72               |

Change-Id: Ic10bf22d77d069a1a2074b68bd5a310c579ec490

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

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

6 weeks agoarm64 neon optimization building is enabled
zhongwei.yao@arm.com [Wed, 13 Aug 2014 03:45:11 +0000 (03:45 +0000)]
arm64 neon optimization building is enabled

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

7 weeks agoAdd a placeholder file for ARM64 Row Neon implementation
ashok.bhat@gmail.com [Thu, 7 Aug 2014 13:40:18 +0000 (13:40 +0000)]
Add a placeholder file for ARM64 Row Neon implementation
BUG=319
TEST=libyuv_unittest
R=fbarchard@google.com

Change-Id: I9fdc355d285062d32c11dba4e240d32f5b1bcb80
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Review URL: https://webrtc-codereview.appspot.com/16249004

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

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

8 weeks agobump chromium deps to 285412 to stay in sync with webrtc.
fbarchard@google.com [Fri, 1 Aug 2014 20:39:01 +0000 (20:39 +0000)]
bump chromium deps to 285412 to stay in sync with webrtc.
BUG=none
TESTED=gclient sync & set GYP_DEFINES=target_arch=ia32 libyuv_disable_jpeg=1 & python gyp_libyuv -fninja -G msvs_version=2010 libyuv_test.gyp & ninja -C out\Debug & ninja -C out\Debug
R=tpsiaki@google.com

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

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

2 months agoRemove extra MEMACCESS
ashok.bhat@gmail.com [Tue, 29 Jul 2014 18:32:59 +0000 (18:32 +0000)]
Remove extra MEMACCESS

TESTED=libyuv_unittest

Change-Id: I25fae71200ea44846eea3604a55bf4a88ea593ce
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1039 16f28f9a-4ce2-e073-06de-1de4eb20be90

2 months agoAdd a gyp define LIBYUV_DISABLE_JPEG to not build jpeg library
fbarchard@google.com [Mon, 28 Jul 2014 21:48:43 +0000 (21:48 +0000)]
Add a gyp define LIBYUV_DISABLE_JPEG to not build jpeg library
BUG=346
TESTED=set GYP_DEFINES=target_arch=ia32 libyuv_disable_jpeg=1 & python gyp_libyuv -fninja -G msvs_version=2010 libyuv_test.gyp
R=harryjin@google.com

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

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

2 months agoredo nv12 crop unittest with expect eq
fbarchard@google.com [Fri, 18 Jul 2014 22:34:04 +0000 (22:34 +0000)]
redo nv12 crop unittest with expect eq
BUG=334
TESTED=crop
R=tpsiaki@google.com

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

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

2 months agoAdd NV12 cropping unittest to confirm behavior.
fbarchard@google.com [Fri, 18 Jul 2014 18:18:35 +0000 (18:18 +0000)]
Add NV12 cropping unittest to confirm behavior.
BUG=344
TESTED=libyuv_unittest --gtest_filter=*CropNV12
R=tpsiaki@google.com

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

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

2 months agoCheck number of functions available to cpuid before fetching function 7 results.
fbarchard@google.com [Mon, 14 Jul 2014 17:48:35 +0000 (17:48 +0000)]
Check number of functions available to cpuid before fetching function 7 results.
BUG=343
TESTED=local test on Windows.
R=brettw@chromium.org, tpsiaki@google.com

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

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

2 months agoDetect clang-cl compiler and disable assembly for now.
fbarchard@google.com [Wed, 9 Jul 2014 17:55:23 +0000 (17:55 +0000)]
Detect clang-cl compiler and disable assembly for now.
BUG=341
TESTED=clang-cl /W0 -c -Iinclude source/cpu_id.c
R=harryjin@google.com, rnk@chromium.org

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

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

2 months agoremove extern "C" from rotate function, since its built with extern "C" around full...
fbarchard@google.com [Tue, 8 Jul 2014 22:06:56 +0000 (22:06 +0000)]
remove extern "C" from rotate function, since its built with extern "C" around full file.
BUG=341
TESTED=clang -c -Iinclude source/rotate.c
R=harryjin@google.com

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

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

2 months agoPort conversion functions to c.
fbarchard@google.com [Tue, 8 Jul 2014 18:44:57 +0000 (18:44 +0000)]
Port conversion functions to c.
BUG=303
TESTED=cl /c /TC /Iinclude source\convert_from.cc source\convert_argb.cc source\convert_from_argb.cc
R=harryjin@google.com

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

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

2 months agoconvert source ported to c89.
fbarchard@google.com [Mon, 7 Jul 2014 19:05:45 +0000 (19:05 +0000)]
convert source ported to c89.
BUG=303
TESTED=cl /c /TC /Iinclude source/convert.cc
R=harryjin@google.com

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

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

2 months agoDisable assembly optimizations in MemorySanitizer builds.
kjellander@google.com [Thu, 3 Jul 2014 18:39:32 +0000 (18:39 +0000)]
Disable assembly optimizations in MemorySanitizer builds.

BUG=chromium:344505, chromium:373739
R=kjellander@google.com, mflodman@chromium.org

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

Patch from Sergey Matveev <earthdok@chromium.org>.

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

2 months agoRoll chromium_revision 274825:280149 to fix GN
kjellander@google.com [Thu, 3 Jul 2014 08:00:03 +0000 (08:00 +0000)]
Roll chromium_revision 274825:280149 to fix GN

Due to http://crbug.com/389883 GN currently doesn't execute
unless the top folder is named 'src'.

To work around this, perform the following changes to a
checkout that currently has "trunk" as the root folder:
1. Rename trunk -> src
2. Remove .gclient_entries file (will be re-created)
3. Edit .gclient and:
  * set the name of the solution to "src"
  * add/change the custom_vars dict for the solution to
    have a key like this:
    "custom_vars" : {
      "root_dir" : "src",
    },
4. Run gclient sync

The buildbots already have this done and gets a "src"
dir for their checkouts.

I also workaround some recent changes for sanitizer tools
and add a copy of Chromium's tsan_suppressions.cc to prepare
for TSan v2 (since v1 that libyuv is currently using is
deprecated and should be removed).

BUG=libyuv:338
TEST=Currently working trybot passing + local compile on Linux in
Debug,Release and with ASan+TSan v2 using:
GYP_DEFINES="asan=1 release_extra_cflags=-g use_allocator=none" ./gyp_libyuv && ninja -C out/Release
GYP_DEFINES="tsan=1 release_extra_cflags=-g use_allocator=none" ./gyp_libyuv && ninja -C out/Release
R=fbarchard@google.com

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

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

2 months agoShow jpeg as an option for psnr tool if enabled
fbarchard@google.com [Tue, 1 Jul 2014 21:49:40 +0000 (21:49 +0000)]
Show jpeg as an option for psnr tool if enabled
BUG=339
TESTED=psnr
R=harryjin@google.com

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

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

3 months agoadd symbols for ios unittests
fbarchard@google.com [Thu, 26 Jun 2014 22:52:35 +0000 (22:52 +0000)]
add symbols for ios unittests
BUG=none
TEST=none
R=harryjin@google.com

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

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

3 months agolint fixes for psnr
fbarchard@google.com [Thu, 26 Jun 2014 22:47:01 +0000 (22:47 +0000)]
lint fixes for psnr
BUG=339
TESTED=lint
R=harryjin@google.com

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

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

3 months agojpeg psnr avoid duplicates with libyuv by checking HAVE_JPEG
fbarchard@google.com [Thu, 26 Jun 2014 21:55:38 +0000 (21:55 +0000)]
jpeg psnr avoid duplicates with libyuv by checking HAVE_JPEG
BUG=339
TESTED=local psnr test
R=harryjin@google.com

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

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

3 months agomove Calc functions for psnr into header to avoid duplicate links.
fbarchard@google.com [Thu, 26 Jun 2014 17:59:19 +0000 (17:59 +0000)]
move Calc functions for psnr into header to avoid duplicate links.
BUG=339
TESTED=gyp build
R=harryjin@google.com

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

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

3 months agopsnr tool accept jpeg files as well as raw YUV
fbarchard@google.com [Wed, 25 Jun 2014 16:54:20 +0000 (16:54 +0000)]
psnr tool accept jpeg files as well as raw YUV
BUG=339
TESTED=psnr.exe feet.jpg bluechicken.jpg
R=harryjin@google.com

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

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

3 months agoonly enable mips assembly for old 32 bit abi. new 32 bit abi and 64 bit bit able...
fbarchard@google.com [Tue, 24 Jun 2014 23:40:52 +0000 (23:40 +0000)]
only enable mips assembly for old 32 bit abi.  new 32 bit abi and 64 bit bit able remove t4 to t7 and add a4 to a7
BUG=337
TESTED=untested
R=tpsiaki@google.com

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

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

3 months agoAdd nacl version check to enable Neon on M37 and bundles for X86 on M33
fbarchard@google.com [Tue, 24 Jun 2014 22:26:30 +0000 (22:26 +0000)]
Add nacl version check to enable Neon on M37 and bundles for X86 on M33
BUG=333
TESTED=nacl build and validate
R=tpsiaki@google.com

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

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

3 months agoPort I420ToARGB to intrinsics for win64
fbarchard@google.com [Tue, 24 Jun 2014 20:45:45 +0000 (20:45 +0000)]
Port I420ToARGB to intrinsics for win64
BUG=336
TESTED=out\release_x64\libyuv_unittest --gunit_also_run_disabled_tests --gtest_filter=*I420To*B*
R=bryan.bernhart@intel.com, tpsiaki@google.com

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

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

3 months agoAdd some more bic's for scale nacl code
fbarchard@google.com [Tue, 17 Jun 2014 23:12:55 +0000 (23:12 +0000)]
Add some more bic's for scale nacl code
BUG=333
TESTED=ncval
R=thorcarpenter@google.com

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

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

3 months agoport neon to arm64. the register names have changes from r0 to w0 or x0 depending...
fbarchard@google.com [Tue, 17 Jun 2014 18:16:29 +0000 (18:16 +0000)]
port neon to arm64. the register names have changes from r0 to w0 or x0 depending on size.  Passing them as parameters (e.g. %0) makes the code register name agnostic.
BUG=333
TESTED=32 bit build still works.
R=nfullagar@chromium.org

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

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

3 months agoscale neon nacl port
fbarchard@google.com [Mon, 16 Jun 2014 17:09:48 +0000 (17:09 +0000)]
scale neon nacl port
BUG=333
TESTED=ncval
R=tpsiaki@google.com

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

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

3 months agorotate neon code port to nacl
fbarchard@google.com [Fri, 13 Jun 2014 23:02:10 +0000 (23:02 +0000)]
rotate neon code port to nacl
BUG=333
TESTED=ncval
R=tpsiaki@google.com

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

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

3 months agoAdd bic instructions before each load or store for nacl
fbarchard@google.com [Fri, 13 Jun 2014 17:20:52 +0000 (17:20 +0000)]
Add bic instructions before each load or store for nacl
BUG=333
TESTED=validator
R=jfb@chromium.org

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

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

3 months agoMEMACCESS macro for NaCL Arm
fbarchard@google.com [Thu, 12 Jun 2014 00:19:38 +0000 (00:19 +0000)]
MEMACCESS macro for NaCL Arm
BUG=333
TESTED=validator passes
R=jfb@chromium.org, tpsiaki@google.com

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

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

3 months agocheck copy has different address. If same, skip the copy to avoid valgrind error.
fbarchard@google.com [Wed, 11 Jun 2014 00:16:59 +0000 (00:16 +0000)]
check copy has different address.  If same, skip the copy to avoid valgrind error.
BUG=334
TESTED=unittests still pass
R=tpsiaki@google.com

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

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

3 months agobump chromium revision to 274825 - last known good release.
fbarchard@google.com [Wed, 11 Jun 2014 00:01:40 +0000 (00:01 +0000)]
bump chromium revision to 274825 - last known good release.
BUG=none
TESTED=try bots
R=tpsiaki@google.com

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

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

3 months agotest conversions that are reversible.
fbarchard@google.com [Wed, 4 Jun 2014 23:19:37 +0000 (23:19 +0000)]
test conversions that are reversible.
BUG=334
TESTED=unittests added to test functionality that is reversible.
R=sandersd@chromium.org

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

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

3 months agoAdd ARGBToABGR and ARGBToBGRA as actual functions instead of macros.
fbarchard@google.com [Mon, 2 Jun 2014 19:24:57 +0000 (19:24 +0000)]
Add ARGBToABGR and ARGBToBGRA as actual functions instead of macros.
BUG=334
TESTED=libyuv unittests pass
R=tpsiaki@google.com

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

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

4 months agoenable neon in build.gn
fbarchard@google.com [Fri, 23 May 2014 22:30:57 +0000 (22:30 +0000)]
enable neon in build.gn
BUG=none
TESTED=untested
R=tpsiaki@google.com

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

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

4 months agoPort libyuv neon to nacl - compare
fbarchard@google.com [Wed, 21 May 2014 19:04:15 +0000 (19:04 +0000)]
Port libyuv neon to nacl - compare
BUG=333
TESTED=d:\src\nacl_sdk\pepper_canary\tools\ncval.exe newlib/Release/nacltest_arm.nexe
R=nfullagar@chromium.org

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

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

4 months agoYUV scaling with 16 bit planes
fbarchard@google.com [Tue, 20 May 2014 19:22:30 +0000 (19:22 +0000)]
YUV scaling with 16 bit planes
BUG=331
TESTED=libyuv_unittest --gunit_also_run_disabled_tests --gtest_filter=**.ScaleFrom1280x720*
R=debargha@google.com, tpsiaki@google.com

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

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

4 months agochanges to accommodate libjpeg 9 interface.
fbarchard@google.com [Tue, 13 May 2014 19:00:01 +0000 (19:00 +0000)]
changes to accommodate libjpeg 9 interface.
BUG=327
TESTED=untested
R=tpsiaki@google.com

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

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

5 months agoColor Matrix on Arm use C version. Unittest is failing on iphone5s, so disable Neon...
fbarchard@google.com [Fri, 25 Apr 2014 22:07:01 +0000 (22:07 +0000)]
Color Matrix on Arm use C version.  Unittest is failing on iphone5s, so disable Neon for until investigated.
BUG=326
TESTED=untested
R=thorcarpenter@google.com

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

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

5 months agoRoll chromium_revision 260824:262938 + fix binutils. Since it's not possible to...
fbarchard@google.com [Fri, 11 Apr 2014 23:40:41 +0000 (23:40 +0000)]
Roll chromium_revision 260824:262938 + fix binutils.  Since it's not possible to have platform-specific hooks executing, binutils must be downloaded for all platforms in order for the download.py hook to execute properly on non-unix platforms.
BUG=323
TESTED=gclient sync
R=tpsiaki@google.com

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

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

5 months agoUpdate the gold location (third_party/libyuv).
fbarchard@google.com [Thu, 10 Apr 2014 18:13:35 +0000 (18:13 +0000)]
Update the gold location (third_party/libyuv).

chromium have replaced third_party/gold with a full copy of binutils at
third_party/binutils. It gets downloaded and extracted to
third_party/binutils/Linux_(x64|ia32)/Release as part of DEPs/gclient hooks
process.

We are now trying to remove third_party/gold.

BUG=chromium:362119
R=mithro@mithis.com

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

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

5 months agoChange r9 to a parameter which will map to x9 for arm64.
fbarchard@google.com [Thu, 3 Apr 2014 18:37:32 +0000 (18:37 +0000)]
Change r9 to a parameter which will map to x9 for arm64.
BUG=319
TESTED=untested
R=thorcarpenter@google.com, tpsiaki@google.com

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

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

5 months agoFix DEPS and gyp_libyuv for chromium roll in r996
kjellander@google.com [Wed, 2 Apr 2014 18:01:51 +0000 (18:01 +0000)]
Fix DEPS and gyp_libyuv for chromium roll in r996

The roll in r996 requires some additional changes in order
to make the GYP generation script to run properly.

BUG=none
TESTED=trybots passing.
R=fbarchard@google.com

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

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