external/libyuv.git
4 days agoRoll chromium_revision 260824:262938 + fix binutils. Since it's not possible to... master
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 days 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

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

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

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

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

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

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

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

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

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

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

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

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

2 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

2 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

2 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

2 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

2 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

2 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 months ago64 bit clip for argb scale down
fbarchard@google.com [Fri, 3 Jan 2014 02:13:35 +0000 (02:13 +0000)]
64 bit clip for argb scale down
BUG=302
TEST=out\release\libyuv_unittest --gtest_filter=*ARGBScaleDownClipBy3by4*
R=tpsiaki@google.com

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

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

3 months agopoint sample 64 bit column filter
fbarchard@google.com [Fri, 3 Jan 2014 02:03:07 +0000 (02:03 +0000)]
point sample 64 bit column filter
BUG=302
TESTED=ARGBScaleClipTo320x240_None etc
R=tpsiaki@google.com

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

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

3 months agoclip by adjusting pointer
fbarchard@google.com [Fri, 3 Jan 2014 01:43:21 +0000 (01:43 +0000)]
clip by adjusting pointer
BUG=302
TEST=ARGBScaleDownClipBy2_None
R=tpsiaki@google.com

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

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

3 months agogargantuan width support on ARGBScale
fbarchard@google.com [Fri, 3 Jan 2014 01:15:31 +0000 (01:15 +0000)]
gargantuan width support on ARGBScale
BUG=302
TEST=libyuv ARGBScale tests with LIBYUV_WIDTH=90000
R=tpsiaki@google.com

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

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

3 months agoWork around for 1 pixel destination
fbarchard@google.com [Fri, 3 Jan 2014 00:51:12 +0000 (00:51 +0000)]
Work around for 1 pixel destination
BUG=302
TEST=*1x1*
R=tpsiaki@google.com

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

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

3 months agoUse 64 bit fixed point for scaling columns if source is 32k or wider.
fbarchard@google.com [Fri, 3 Jan 2014 00:34:55 +0000 (00:34 +0000)]
Use 64 bit fixed point for scaling columns if source is 32k or wider.
BUG=302
TESTED=out\release\libyuv_unittest --gtest_filter=*I*ToI*
R=tpsiaki@google.com

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

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

3 months agoUse 64 bit Sum for planar function to remove size limitation
fbarchard@google.com [Thu, 2 Jan 2014 22:57:06 +0000 (22:57 +0000)]
Use 64 bit Sum for planar function to remove size limitation
BUG=302
TESTED=out\release\libyuv_unittest --gtest_filter=*Psnr
R=tpsiaki@google.com

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

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

3 months agoFixedDiv1 using a single 64/32 divide. Removes size restriction from slope.
fbarchard@google.com [Thu, 2 Jan 2014 22:32:09 +0000 (22:32 +0000)]
FixedDiv1 using a single 64/32 divide.  Removes size restriction from slope.
BUG=302
TESTED=libyuv scale tests
R=tpsiaki@google.com

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

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

3 months agoAdd little endian 555/565 kCMPixelFormat's to alias list
fbarchard@google.com [Thu, 2 Jan 2014 20:31:40 +0000 (20:31 +0000)]
Add little endian 555/565 kCMPixelFormat's to alias list
BUG=none
TESTED=unittests added
R=tpsiaki@google.com

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

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

3 months agoApple uses 'BGRA' to mean 'ARGB', so map this on Apple machines.
fbarchard@google.com [Tue, 31 Dec 2013 19:01:14 +0000 (19:01 +0000)]
Apple uses 'BGRA' to mean 'ARGB', so map this on Apple machines.
BUG=229
TESTED=untested
R=tpsiaki@google.com

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

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

3 months agoOver unittest crash on divide overflow.
fbarchard@google.com [Tue, 31 Dec 2013 00:54:22 +0000 (00:54 +0000)]
Over unittest crash on divide overflow.
BUG=299
TESTED=try
R=wuwang@google.com

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

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

3 months agoCombines multiple allocs into one call.
fbarchard@google.com [Mon, 30 Dec 2013 21:11:21 +0000 (21:11 +0000)]
Combines multiple allocs into one call.
BUG=300
TESTED=libyuv_unitests pass
R=tpsiaki@google.com

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

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

3 months agosobel use one alloc instead of 3.
fbarchard@google.com [Mon, 30 Dec 2013 18:39:43 +0000 (18:39 +0000)]
sobel use one alloc instead of 3.
BUG=300
TESTED=try bots
R=tpsiaki@google.com

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

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

3 months agoAdd edge to sobel buffers to avoid overwrites.
fbarchard@google.com [Fri, 27 Dec 2013 22:54:51 +0000 (22:54 +0000)]
Add edge to sobel buffers to avoid overwrites.
BUG=296
TESTED=Sobel unittest in Effects
R=tpsiaki@google.com

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

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

3 months agolint fixes
fbarchard@google.com [Fri, 27 Dec 2013 02:09:58 +0000 (02:09 +0000)]
lint fixes
BUG=none
TEST=LINT
R=tpsiaki@google.com

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

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

3 months agoConversions use malloc for row buffers.
fbarchard@google.com [Fri, 27 Dec 2013 02:00:30 +0000 (02:00 +0000)]
Conversions use malloc for row buffers.
BUG=296
TESTED=libyuv convert_test
R=tpsiaki@google.com

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

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

3 months agoSobel use malloc for row buffers
fbarchard@google.com [Fri, 27 Dec 2013 01:29:14 +0000 (01:29 +0000)]
Sobel use malloc for row buffers
BUG=296
TESTED=Sobel*
R=tpsiaki@google.com

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

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

3 months agoConvert common low levels use malloc
fbarchard@google.com [Fri, 27 Dec 2013 01:21:49 +0000 (01:21 +0000)]
Convert common low levels use malloc
BUG=296
TESTED=untested
R=tpsiaki@google.com

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

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

3 months agoUse malloc for row buffers in scalers removing size limitations.
fbarchard@google.com [Fri, 27 Dec 2013 01:11:26 +0000 (01:11 +0000)]
Use malloc for row buffers in scalers removing size limitations.
BUG=296
TESTED=libyuvTest.Scale*
R=tpsiaki@google.com

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

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

3 months agoformat conversion use malloc
fbarchard@google.com [Thu, 26 Dec 2013 23:25:03 +0000 (23:25 +0000)]
format conversion use malloc
BUG=296
TESTED=convert_test
R=tpsiaki@google.com

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

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

3 months agoClear destinations to different values to detect returning with error code rather...
fbarchard@google.com [Thu, 26 Dec 2013 23:09:57 +0000 (23:09 +0000)]
Clear destinations to different values to detect returning with error code rather than doing the conversion.
BUG=296
TESTED=convert_unittest
R=johannkoenig@google.com

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

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

3 months agoUse malloc for row buffers in rotate
fbarchard@google.com [Thu, 26 Dec 2013 21:41:11 +0000 (21:41 +0000)]
Use malloc for row buffers in rotate
BUG=296
TESTED=rotate_test
R=tpsiaki@google.com

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

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

3 months agoScale exit early if simple version used
fbarchard@google.com [Thu, 26 Dec 2013 20:00:54 +0000 (20:00 +0000)]
Scale exit early if simple version used
BUG=none
TEST=none
R=tpsiaki@google.com

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

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

3 months agoNeon RGBToUV more accurate coefficients and subsample averaging. Instead of adding...
fbarchard@google.com [Thu, 26 Dec 2013 19:17:21 +0000 (19:17 +0000)]
Neon RGBToUV more accurate coefficients and subsample averaging.  Instead of adding 4 pixels and making coefficients 4x smaller, this makes the coefficients 2x small and does a shift, for best accuracy.
BUG=297
TESTED=try bots
R=tpsiaki@google.com, yunqingwang@google.com

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

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

3 months agoAdd ifdef for scale functions on dsp2
fbarchard@google.com [Wed, 18 Dec 2013 19:50:00 +0000 (19:50 +0000)]
Add ifdef for scale functions on dsp2
BUG=none
TEST=none
R=tpsiaki@google.com

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

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

3 months agoMake LABELALIGN to 32 bytes for 32 bit x86 NaCL
fbarchard@google.com [Wed, 18 Dec 2013 00:53:02 +0000 (00:53 +0000)]
Make LABELALIGN to 32 bytes for 32 bit x86 NaCL
BUG=none
TEST=ncval
R=nfullagar@google.com

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

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

3 months agoNaCL pepper_33 port of scale and compare using lock/unlock. Remove less useful scali...
fbarchard@google.com [Tue, 17 Dec 2013 18:27:06 +0000 (18:27 +0000)]
NaCL pepper_33 port of scale and compare using lock/unlock.  Remove less useful scaling tests and change default size to a multiple of 16 for better assembly coverage.
BUG=none
TESTED=ncval
R=nfullagar@google.com

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

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

3 months agoChange name of variable for convert to crop_width/height instead of dst_width/height...
fbarchard@google.com [Mon, 16 Dec 2013 18:23:04 +0000 (18:23 +0000)]
Change name of variable for convert to crop_width/height instead of dst_width/height to clarify that it is used to crop the original before rotation and is not the final destination size.
BUG=none
TESTED=local builds still work
R=wjia@google.com, wjia@webrtc.org

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

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

4 months agoFirst pass using bundle_lock / bundle_unlock from binutils update.
nfullagar@google.com [Fri, 13 Dec 2013 22:40:53 +0000 (22:40 +0000)]
First pass using bundle_lock / bundle_unlock from binutils update.
Remove hand placed BUNDLEALIGN and add new asm directives into
psuedo-instruction macros. Moving forward, this will make for easier and
more consistent psuedo-instruction alignment with bundle boundaries.
This is mostly a NaCl CL but does include a few changes that will slightly
change loop alignments in non-NaCl builds.
BUG=253
TEST=trybots,ncval
R=fbarchard@google.com

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

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

4 months agoInclude libjpeg unconditionally
fbarchard@google.com [Fri, 13 Dec 2013 00:25:28 +0000 (00:25 +0000)]
Include libjpeg unconditionally

libjpeg/libjpeg.gyp should be used in both local and system libjpeg,
otherwise, header file won't found when build with system libjpeg. see
the comments in third_party/libjpeg/libjpeg.gyp

BUG=chromium:316499
R=michaelbai@chromium.org

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

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

4 months agoFix for I422ToARGB which used movq instead of movd
fbarchard@google.com [Thu, 12 Dec 2013 01:59:45 +0000 (01:59 +0000)]
Fix for I422ToARGB which used movq instead of movd
BUG=293
TESTED=LIBYUV_DISABLE_ASM=1 valgrind out/Debug/remoting_unittests --single-process-tests --gtest_filter=*YuvToRgb*
R=tpsiaki@google.com

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

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

4 months agoTest scaling to/from 1 pixel
fbarchard@google.com [Tue, 10 Dec 2013 01:25:35 +0000 (01:25 +0000)]
Test scaling to/from 1 pixel
BUG=none
TEST=scale unittests updated to test to/from 1 pixel
R=tpsiaki@google.com

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

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

4 months agoscale down 4
fbarchard@google.com [Mon, 9 Dec 2013 21:07:37 +0000 (21:07 +0000)]
scale down 4
BUG=none
TEST=none
R=ryanpetrie@google.com

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

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

4 months agoReduce filter to None if 1 pixel wide.
fbarchard@google.com [Mon, 9 Dec 2013 19:56:16 +0000 (19:56 +0000)]
Reduce filter to None if 1 pixel wide.
BUG=none
TESTED=talk media_unittest YuvScalerTest.TestScaleUp1x6OptInt
R=tpsiaki@google.com

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

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

4 months agoclamp pointer to max row to avoid stepping off source image.
fbarchard@google.com [Sun, 8 Dec 2013 21:13:09 +0000 (21:13 +0000)]
clamp pointer to max row to avoid stepping off source image.
BUG=292
TESTED=BackgroundOverlayKernelTest.ProcessVideo_ForegroundBackground

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

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

4 months agoSwitch from xor/mov bx, to movzx ebx, which still passes drmemory and valgrind.
fbarchard@google.com [Sun, 8 Dec 2013 19:23:41 +0000 (19:23 +0000)]
Switch from xor/mov bx, to movzx ebx, which still passes drmemory and valgrind.
BUG=none
TESTED=drmemory

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

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

4 months agoFix for off by one in scale - only source should be src - 0x10001 because dest will...
fbarchard@google.com [Sun, 8 Dec 2013 18:03:00 +0000 (18:03 +0000)]
Fix for off by one in scale - only source should be src - 0x10001 because dest will hit exact pixel.
BUG=292
TESTED=valgrind

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

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

4 months agoyuv use scale slope calc
fbarchard@google.com [Sat, 7 Dec 2013 00:55:23 +0000 (00:55 +0000)]
yuv use scale slope calc
BUG=none
TEST=drmem
R=tpsiaki@google.com

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

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

4 months agoSwap x and dx to get slope right.
fbarchard@google.com [Fri, 6 Dec 2013 19:49:56 +0000 (19:49 +0000)]
Swap x and dx to get slope right.
BUG=none
TEST=ARGBScaleClipFrom320x240_Bilinear
R=tpsiaki@google.com

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

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

4 months agoCouple fixes for scale common
fbarchard@google.com [Fri, 6 Dec 2013 19:20:40 +0000 (19:20 +0000)]
Couple fixes for scale common
BUG=none
TESTED=local build
R=tpsiaki@google.com

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

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

4 months agoCompute slope considering filtering, mirror.
fbarchard@google.com [Fri, 6 Dec 2013 18:13:46 +0000 (18:13 +0000)]
Compute slope considering filtering, mirror.
BUG=261
TEST=valgrind
R=tpsiaki@google.com

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

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

4 months agoChange scale factors to test QVGA to/from CIF
fbarchard@google.com [Thu, 5 Dec 2013 22:32:46 +0000 (22:32 +0000)]
Change scale factors to test QVGA to/from CIF
BUG=261
TESTED=valgrind
R=tpsiaki@google.com

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

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

4 months agoFunction to switch filters to a simplier one based on scale factors.
fbarchard@google.com [Thu, 5 Dec 2013 00:28:12 +0000 (00:28 +0000)]
Function to switch filters to a simplier one based on scale factors.
BUG=none
TEST=untested
R=tpsiaki@google.com

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

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

4 months agoI444ToI420 etc use ScalePlane on Y to allow mirroring.
fbarchard@google.com [Wed, 4 Dec 2013 23:36:06 +0000 (23:36 +0000)]
I444ToI420 etc use ScalePlane on Y to allow mirroring.
BUG=291
TESTED=unittests still pass.
R=tpsiaki@google.com

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

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

4 months agoUse scaling for YUV to YUV.
fbarchard@google.com [Wed, 4 Dec 2013 20:31:53 +0000 (20:31 +0000)]
Use scaling for YUV to YUV.
BUG=none
TEST=I4*ToI4*
R=tpsiaki@google.com

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

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

4 months agoUse xor/mov bx instead of movzx to avoid drmemory bug
fbarchard@google.com [Wed, 4 Dec 2013 03:04:58 +0000 (03:04 +0000)]
Use xor/mov bx instead of movzx to avoid drmemory bug
BUG=none
TEST=none
R=johannkoenig@google.com, tpsiaki@google.com

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

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

4 months agoWindows Arm makefile and build fix.
fbarchard@google.com [Tue, 3 Dec 2013 19:13:53 +0000 (19:13 +0000)]
Windows Arm makefile and build fix.
BUG=290
TESTED=make -f winarm.mk
R=kjellander@google.com, mflodman@webrtc.org, tpsiaki@google.com

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

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

4 months agoAligned buffer sizes for subsampled Bayer formats.
fbarchard@google.com [Tue, 3 Dec 2013 11:30:57 +0000 (11:30 +0000)]
Aligned buffer sizes for subsampled Bayer formats.
BUG=289
TEST=drmemory

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

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

4 months agoSwitch I4xxToI420 to point sample to pass drmemory.
fbarchard@google.com [Tue, 3 Dec 2013 07:00:11 +0000 (07:00 +0000)]
Switch I4xxToI420 to point sample to pass drmemory.
BUG=289
TESTED=drmemory
R=ryanpetrie@google.com

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

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

4 months agoyasm ALIGN uppercase
fbarchard@google.com [Tue, 3 Dec 2013 00:51:14 +0000 (00:51 +0000)]
yasm ALIGN uppercase
BUG=none
TEST=untested
R=tpsiaki@google.com

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

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

4 months agouse scale for subsampling to handle odd source width to even destination width.
fbarchard@google.com [Tue, 3 Dec 2013 00:27:29 +0000 (00:27 +0000)]
use scale for subsampling to handle odd source width to even destination width.
BUG=289
TEST=drmemory
R=nfullagar@google.com, ryanpetrie@google.com

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

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

4 months agotest odd width and fix for unaligned used on odd width conversion.
fbarchard@google.com [Mon, 2 Dec 2013 20:07:29 +0000 (20:07 +0000)]
test odd width and fix for unaligned used on odd width conversion.
BUG=283
TESTED=try bots
R=tpsiaki@google.com

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

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