external/libyuv.git
2 hours agoRow AArch64 Neon implementation - Part 3 master
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

11 hours 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

12 hours 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

21 hours 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

27 hours 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

43 hours 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

2 days 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

2 days 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

2 days 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

3 days 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 days 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

7 days 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

8 days 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

8 days 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

8 days 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

2 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

2 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

3 weeks 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

3 weeks 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

4 weeks 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

4 weeks 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

5 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

3 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

3 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

3 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

3 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

4 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

4 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

4 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

4 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

4 months agoBump chromium deps to 260824 which is lkgr for improved mobile support.
fbarchard@google.com [Wed, 2 Apr 2014 01:10:02 +0000 (01:10 +0000)]
Bump chromium deps to 260824 which is lkgr for improved mobile support.
BUG=none
TESTED=try bots
R=tpsiaki@google.com

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

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

4 months agoarm64 initial port using C
fbarchard@google.com [Sat, 29 Mar 2014 00:19:06 +0000 (00:19 +0000)]
arm64 initial port using C
BUG=319
TESTED=GYP_DEFINES="OS=ios target_arch=armv7 target_subarch=64" GYP_CROSSCOMPILE=1 GYP_GENERATOR_FLAGS="output_dir=out_ios" ./build/gyp_chromium -f ninja --depth=. libyuv_test.gyp  && ninja -j7 -C out_ios/Debug-iphoneos
R=tpsiaki@google.com

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

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

4 months agoRevert accidental checkin in r992
kjellander@google.com [Fri, 28 Mar 2014 19:40:39 +0000 (19:40 +0000)]
Revert accidental checkin in r992

I dunno how this happened, since that file belonged
to a another gcl change that I use to test the trybots.

TBR=fbarchard@google.com

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

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

4 months agoMinor fixes to gyp_libyuv.py
kjellander@google.com [Fri, 28 Mar 2014 19:38:05 +0000 (19:38 +0000)]
Minor fixes to gyp_libyuv.py

Fixed invalid references left from
the copied gyp_webrtc.

This CL will also add svn:ignore on a
bunch of directories to speed up builds
(less unnecessary delete + redownload).

It also adds the executable bit to
gyp_libyuv.

R=fbarchard@google.com

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

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

4 months agoUpdate libyuv build toolchain.
fbarchard@google.com [Fri, 28 Mar 2014 17:26:06 +0000 (17:26 +0000)]
Update libyuv build toolchain.

Download and use GN similar to how WebRTC uses it
for GYP/ninja generation
Similar changes as done in
https://webrtc-codereview.appspot.com/6939004

Add support for VS2013 compilation using the
Chromium standalone toolchain. Similar changes:
https://webrtc-codereview.appspot.com/9769004

Fix the valgrind wrapper script similar to
https://webrtc-codereview.appspot.com/5589006
https://webrtc-codereview.appspot.com/6939004

Remove no longer needed cygwin mount hook.

TEST=All trybots except iOS are passing.
Those will have to be fixed in a future CL.
BUG=310
TESTED=gclient sync on osx/ios
R=tpsiaki@google.com

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

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

4 months agoPort format_conversion (bayer) to C
fbarchard@google.com [Wed, 26 Mar 2014 17:29:20 +0000 (17:29 +0000)]
Port format_conversion (bayer) to C
BUG=303
TESTED=cl /c /TC /Iinclude source/format_conversion.cc
R=tpsiaki@google.com

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

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

4 months agoRoll chromium dependency to r255773
fbarchard@google.com [Wed, 26 Mar 2014 02:08:51 +0000 (02:08 +0000)]
Roll chromium dependency to r255773
BUG=none
TESTED=try bots
R=wuwang@google.com

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

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

4 months agoFix C89 compile error for cpu detect. Make mips detection assume DSP if cpuinfo...
fbarchard@google.com [Mon, 24 Mar 2014 18:24:22 +0000 (18:24 +0000)]
Fix C89 compile error for cpu detect.  Make mips detection assume DSP if cpuinfo file can not be opened, so that if run in a sandbox, DSP is assumed true, like the arm version.
BUG=303
TESTED=cl /c /TC /Iinclude source/cpu_id.cc
R=tpsiaki@google.com

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

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

5 months agoWarning fix for implicite cast in scaling from int64 to int.
fbarchard@google.com [Tue, 18 Mar 2014 22:23:15 +0000 (22:23 +0000)]
Warning fix for implicite cast in scaling from int64 to int.
BUG=none
TESTED=local visual c build
R=tpsiaki@google.com

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

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

5 months agoARGBScale down bilinear clip to edge of image to avoid overread.
fbarchard@google.com [Tue, 18 Mar 2014 21:39:42 +0000 (21:39 +0000)]
ARGBScale down bilinear clip to edge of image to avoid overread.
BUG=317
TESTED=drmemory out\debug\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*ARGBScale*
R=tpsiaki@google.com

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

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

5 months agoMore wordy comments about Neon
fbarchard@google.com [Sat, 8 Mar 2014 00:23:04 +0000 (00:23 +0000)]
More wordy comments about Neon
BUG=315
TESTED=untested
R=wuwang@google.com

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

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

5 months agounittest first checks if files exists for neon detection.
fbarchard@google.com [Fri, 7 Mar 2014 23:22:24 +0000 (23:22 +0000)]
unittest first checks if files exists for neon detection.
BUG=315
TESTED=untested
R=nfullagar@chromium.org, wuwang@google.com

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

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

5 months agoIf libyuv built with Neon, assume Neon is present on CPU.
fbarchard@google.com [Fri, 7 Mar 2014 21:17:24 +0000 (21:17 +0000)]
If libyuv built with Neon, assume Neon is present on CPU.
BUG=315
TESTED=untested
R=nfullagar@chromium.org

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

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

6 months agofor ios enable neon for arm but not ia32 which is simulator.
fbarchard@google.com [Thu, 6 Feb 2014 00:21:35 +0000 (00:21 +0000)]
for ios enable neon for arm but not ia32 which is simulator.
BUG=308
TESTED=try bots
R=noahric@google.com

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

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

6 months agoclang compatibility ifdef
fbarchard@google.com [Fri, 31 Jan 2014 00:27:40 +0000 (00:27 +0000)]
clang compatibility ifdef
BUG=none
TEST=none
R=tpsiaki@google.com

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

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

6 months agoSwitch to CXX for linux.mk
fbarchard@google.com [Tue, 28 Jan 2014 22:05:36 +0000 (22:05 +0000)]
Switch to CXX for linux.mk
BUG=none
TESTED=untested
R=tpsiaki@google.com

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

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

6 months agolibyuv::MJPGToI420() and libyuv::MJPGToARGB() return failure if callback to JPeg...
fbarchard@google.com [Tue, 28 Jan 2014 03:08:59 +0000 (03:08 +0000)]
libyuv::MJPGToI420() and libyuv::MJPGToARGB() return failure if callback to JPeg fails.
BUG=309
TESTED=try bots still pass
R=braveyao@webrtc.org

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

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

7 months agoAllow system jpeg to be used instead of libjpeg_turbo.
fbarchard@google.com [Sat, 18 Jan 2014 02:07:16 +0000 (02:07 +0000)]
Allow system jpeg to be used instead of libjpeg_turbo.
BUG=56
TESTED=untested
R=tpsiaki@google.com

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

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

7 months agoscale port to c. completes all scaling functions.
fbarchard@google.com [Sat, 18 Jan 2014 01:30:58 +0000 (01:30 +0000)]
scale port to c.  completes all scaling functions.
BUG=303
TESTED=cl /c /TC /Iinclude source/scale.cc
R=tpsiaki@google.com

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

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

7 months agoFix neon builds for ios. libyuv_neon macro is not applicable to neon. its only...
fbarchard@google.com [Wed, 15 Jan 2014 03:15:55 +0000 (03:15 +0000)]
Fix neon builds for ios.  libyuv_neon macro is not applicable to neon.  its only needed for arm code that is not neon but will link to neon.
BUG=308
TESTED=try bots
R=jzern@chromium.org

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

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

7 months agoARGB Scale ported to C
fbarchard@google.com [Wed, 15 Jan 2014 02:25:15 +0000 (02:25 +0000)]
ARGB Scale ported to C
BUG=303
TESTED=cl /c /TC /Iinclude source/scale_argb.cc
R=tpsiaki@google.com

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

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

7 months agouse arm only to determine if neon should be build
fbarchard@google.com [Tue, 14 Jan 2014 01:48:47 +0000 (01:48 +0000)]
use arm only to determine if neon should be build
BUG=307
TESTED=try bots
R=yfriedman@chromium.org

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

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

7 months agocheck target arch is arm for neon code on android
fbarchard@google.com [Tue, 14 Jan 2014 01:23:51 +0000 (01:23 +0000)]
check target arch is arm for neon code on android
BUG=307
TESTED=untested
R=michaelbai@chromium.org, noahric@chromium.org, yfriedman@chromium.org

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

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

7 months agoCompile libyuv for PNaCl.
sergeyu@google.com [Tue, 14 Jan 2014 01:01:19 +0000 (01:01 +0000)]
Compile libyuv for PNaCl.

New target libyuv_untrusted compiles libyuv for PNaCl.

BUG=276739
R=fbarchard@google.com

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

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

7 months agoDetect pnacl and disable x86 specific code.
fbarchard@google.com [Tue, 14 Jan 2014 00:36:31 +0000 (00:36 +0000)]
Detect pnacl and disable x86 specific code.
BUG=none
TESTED=untested
R=ryanpetrie@google.com

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

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

7 months agoAdd extern c around jpeg header
fbarchard@google.com [Mon, 13 Jan 2014 19:43:43 +0000 (19:43 +0000)]
Add extern c around jpeg header
BUG=305
TESTED=try bots
R=michaelbai@chromium.org

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

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

7 months agoPort compare to C89 / Visual C.
fbarchard@google.com [Mon, 13 Jan 2014 18:57:30 +0000 (18:57 +0000)]
Port compare to C89 / Visual C.
BUG=303
TESTED=cl /c /TC /Iinclude source/compare.cc
R=tpsiaki@google.com

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

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

7 months agoPlanarfunctions (mainly effects) converted to C89/VisualC.
fbarchard@google.com [Mon, 13 Jan 2014 18:56:25 +0000 (18:56 +0000)]
Planarfunctions (mainly effects) converted to C89/VisualC.
BUG=303
TESTED=cl /c /TC /Iinclude source/planar_functions.cc
R=tpsiaki@google.com

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

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

7 months agoConversion functions ported to C89 / Visual C.
fbarchard@google.com [Mon, 13 Jan 2014 18:32:37 +0000 (18:32 +0000)]
Conversion functions ported to C89 / Visual C.
BUG=303
TESTED=cl /c /TC /Iinclude source/convert_to_argb.cc
R=tpsiaki@google.com

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

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

7 months agoRotate functions ported to C. This completes all rotate functionality under c89...
fbarchard@google.com [Mon, 13 Jan 2014 18:31:35 +0000 (18:31 +0000)]
Rotate functions ported to C.  This completes all rotate functionality under c89, for overall 71% complete port.
BUG=303
TESTED=cl /c /TC /Iinclude source/rotate_argb.cc
R=tpsiaki@google.com

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

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

7 months agoPort scale to C moving variable definitions to top of functions.
fbarchard@google.com [Sat, 11 Jan 2014 04:59:01 +0000 (04:59 +0000)]
Port scale to C moving variable definitions to top of functions.
BUG=303
TESTED=gyp builds still build/pass.
R=tpsiaki@google.com

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

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

7 months agocommon functions (c row functions) ported to C89.
fbarchard@google.com [Fri, 10 Jan 2014 20:55:39 +0000 (20:55 +0000)]
common functions (c row functions) ported to C89.
BUG=303
TESTED=cl /c /TC /Iinclude source/scale_common.cc
R=tpsiaki@google.com

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

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

7 months agoRemainder calc needs to be after blocks are done. Move calc to old location.
fbarchard@google.com [Thu, 9 Jan 2014 20:29:27 +0000 (20:29 +0000)]
Remainder calc needs to be after blocks are done.  Move calc to old location.
BUG=303
TESTED=Djb2 unittests
R=tpsiaki@google.com

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

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

7 months agoScale mirror bug fix.
fbarchard@google.com [Thu, 9 Jan 2014 20:21:24 +0000 (20:21 +0000)]
Scale mirror bug fix.
BUG=304
TESTED=try
R=tpsiaki@google.com

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

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

7 months agocompare_common visual c port
fbarchard@google.com [Thu, 9 Jan 2014 19:11:09 +0000 (19:11 +0000)]
compare_common visual c port
BUG=303
TESTED=cl /c /TC /Iinclude source/compare_common.cc
R=tpsiaki@google.com

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

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

7 months agoPorting parts of compare to c89
fbarchard@google.com [Wed, 8 Jan 2014 00:59:40 +0000 (00:59 +0000)]
Porting parts of compare to c89
BUG=303
TESTED=try bots still build, gcc and vc direct for c testing.
R=tpsiaki@google.com

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

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

7 months agocast malloc to uint8*
fbarchard@google.com [Tue, 7 Jan 2014 06:06:01 +0000 (06:06 +0000)]
cast malloc to uint8*
BUG=303
TESTED=visual c higher warnings
R=tpsiaki@google.com

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

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

7 months agoDeclare parameters that are unused, since C does not let you give a type without...
fbarchard@google.com [Tue, 7 Jan 2014 05:42:27 +0000 (05:42 +0000)]
Declare parameters that are unused, since C does not let you give a type without name.
BUG=303
TEST=compile -x c

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

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

7 months agouse LIBYUV_BOOL instead of bool
fbarchard@google.com [Tue, 7 Jan 2014 03:59:31 +0000 (03:59 +0000)]
use LIBYUV_BOOL instead of bool
BUG=303
TESTED=try
R=tpsiaki@google.com

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

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

7 months agoSwitch to c style casts for all source and includes.
fbarchard@google.com [Tue, 7 Jan 2014 03:03:00 +0000 (03:03 +0000)]
Switch to c style casts for all source and includes.
BUG=303
TESTED=try
R=tpsiaki@google.com

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

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

7 months agoBuild 2 libs - one with Neon and one without, then merge them together. Allows for...
fbarchard@google.com [Tue, 7 Jan 2014 01:01:07 +0000 (01:01 +0000)]
Build 2 libs - one with Neon and one without, then merge them together.  Allows for a fat binary that runs on regular arm.
BUG=298
TESTED=untested
R=tomfinegan@chromium.org

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

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

7 months agoPort a few functions to C
fbarchard@google.com [Mon, 6 Jan 2014 22:37:28 +0000 (22:37 +0000)]
Port a few functions to C
BUG=303
TESTED=try bots
R=johannkoenig@google.com, tpsiaki@google.com

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

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

7 months agoOnly do 1x1 work around for large source
fbarchard@google.com [Fri, 3 Jan 2014 08:42:55 +0000 (08:42 +0000)]
Only do 1x1 work around for large source
BUG=302
TESTED=hammer effects

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

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

7 months agoWarning fixes for implicite casts that vs2012 complains about with higher warning...
fbarchard@google.com [Fri, 3 Jan 2014 02:38:49 +0000 (02:38 +0000)]
Warning fixes for implicite casts that vs2012 complains about with higher warning levels
BUG=302
TESTED=hammer build
R=tpsiaki@google.com

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

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