external/libyuv.git
5 days agoDisable YUV to ARGB AVX2 versions. master
fbarchard@google.com [Tue, 27 Jan 2015 02:40:32 +0000 (02:40 +0000)]
Disable YUV to ARGB AVX2 versions.
BUG=393
TESTED=I420ToRGB*

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

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

5 days agoChange test to test for Arm, since all CPUs except arm provide accurate yuv conversion
fbarchard@google.com [Tue, 27 Jan 2015 00:22:10 +0000 (00:22 +0000)]
Change test to test for Arm, since all CPUs except arm provide accurate yuv conversion
BUG=392
TESTED=try bots

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

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

5 days agoYPixel subtract bias to match C code
fbarchard@google.com [Mon, 26 Jan 2015 23:58:20 +0000 (23:58 +0000)]
YPixel subtract bias to match C code
BUG=392
TESTED=TestGreyYUV
R=harryjin@google.com

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

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

5 days agoAdd a test for YToARGB to match exactly I420ToARGB
fbarchard@google.com [Mon, 26 Jan 2015 23:22:13 +0000 (23:22 +0000)]
Add a test for YToARGB to match exactly I420ToARGB
BUG=392
TESTED=TestGreyYUV
R=harryjin@google.com

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

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

5 days agoC version of YToARGB with ubias removed to produce consistent luma ramp.
fbarchard@google.com [Mon, 26 Jan 2015 23:07:46 +0000 (23:07 +0000)]
C version of YToARGB with ubias removed to produce consistent luma ramp.
BUG=392
TESTED=TestGreyYUV
R=harryjin@google.com

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

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

5 days agoDisable YToARGB assembly which is off by 1
fbarchard@google.com [Mon, 26 Jan 2015 17:16:44 +0000 (17:16 +0000)]
Disable YToARGB assembly which is off by 1
BUG=392
TESTED=libyuvTest.YToARGB_Opt

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

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

6 days agoport yuv chroma improvements to gcc. YUV to RGB is more accurate using a negative...
fbarchard@google.com [Mon, 26 Jan 2015 04:35:51 +0000 (04:35 +0000)]
port yuv chroma improvements to gcc.  YUV to RGB is more accurate using a negative matrix.  2% slower but half as much error.
BUG=324
TESTED=try bots
R=harryjin@google.com

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

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

8 days agoadjust ubias to minimize error histogram centering error.
fbarchard@google.com [Fri, 23 Jan 2015 22:16:33 +0000 (22:16 +0000)]
adjust ubias to minimize error histogram centering error.
BUG=324
TESTED=TestFullYUV
R=harryjin@google.com

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

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

8 days agofix for ybias on YToARGB function.
fbarchard@google.com [Fri, 23 Jan 2015 18:31:29 +0000 (18:31 +0000)]
fix for ybias on YToARGB function.
BUG=324
TESTED=libyuvTest.YToARGB_Any
R=tpsiaki@google.com

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

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

9 days agoChange YUV to RGB to subtract the chroma contributions from the bias.
fbarchard@google.com [Fri, 23 Jan 2015 04:22:35 +0000 (04:22 +0000)]
Change YUV to RGB to subtract the chroma contributions from the bias.
BUG=324
TESTED=win64 build and TestFullYUV
R=harryjin@google.com

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

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

9 days agoadjust bias on Y channel so error histogram is better centered on green channel
fbarchard@google.com [Thu, 22 Jan 2015 19:43:34 +0000 (19:43 +0000)]
adjust bias on Y channel so error histogram is better centered on green channel
BUG=324
TESTED=FullYUVTest
R=tpsiaki@google.com

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

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

9 days agoprint min max error per channel
fbarchard@google.com [Thu, 22 Jan 2015 18:27:29 +0000 (18:27 +0000)]
print min max error per channel
BUG=324
TESTED=TestFullYUV
R=harryjin@google.com

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

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

9 days agoxmm4 is unused - remove from NV21
fbarchard@google.com [Thu, 22 Jan 2015 18:17:44 +0000 (18:17 +0000)]
xmm4 is unused - remove from NV21
BUG=324
TESTED=untested
R=harryjin@google.com

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

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

10 days agomake 'full' test do multiples of 3 which includes 0 and 255.
fbarchard@google.com [Wed, 21 Jan 2015 22:41:58 +0000 (22:41 +0000)]
make 'full' test do multiples of 3 which includes 0 and 255.
BUG=324
TESTED=libyuvTest.TestFullYUV
R=brucedawson@google.com

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

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

10 days agoRemove integer prototype YUV conversion code from tests.
fbarchard@google.com [Wed, 21 Jan 2015 20:08:25 +0000 (20:08 +0000)]
Remove integer prototype YUV conversion code from tests.
BUG=324
TESTED=local tests still build/pass.
R=harryjin@google.com

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

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

10 days agowhen using high accuracy YUV have tighter tolerances.
fbarchard@google.com [Wed, 21 Jan 2015 19:48:21 +0000 (19:48 +0000)]
when using high accuracy YUV have tighter tolerances.
BUG=324
TESTED=TestI420
R=brucedawson@google.com

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

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

10 days agoAllow C and ASM to be different for I420 for now.
fbarchard@google.com [Wed, 21 Jan 2015 19:24:01 +0000 (19:24 +0000)]
Allow C and ASM to be different for I420 for now.
BUG=324
TESTED=TestI420
R=brucedawson@google.com

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

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

10 days agoCompute chroma using negative coefficients to extend range of U contribution on B...
fbarchard@google.com [Wed, 21 Jan 2015 18:45:13 +0000 (18:45 +0000)]
Compute chroma using negative coefficients to extend range of U contribution on B to 2
BUG=324
TESTED=TestI420
R=tpsiaki@google.com

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

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

10 days agoMore accurate tests when running improved luma/chroma accuracy code.
fbarchard@google.com [Wed, 21 Jan 2015 18:42:16 +0000 (18:42 +0000)]
More accurate tests when running improved luma/chroma accuracy code.
BUG=324
TESTED=TestYUV
R=harryjin@google.com

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

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

11 days agoport YUV luma accuracy to posix
fbarchard@google.com [Wed, 21 Jan 2015 00:36:30 +0000 (00:36 +0000)]
port YUV luma accuracy to posix
BUG=324
TESTED=try bots
R=harryjin@google.com

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

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

11 days agoYUV use same constant as asm then multiply by 0x0101 to replicate the value.
fbarchard@google.com [Wed, 21 Jan 2015 00:11:44 +0000 (00:11 +0000)]
YUV use same constant as asm then multiply by 0x0101 to replicate the value.
BUG=324
TESTED=try bots
R=harryjin@google.com

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

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

11 days agoadd an exhaustic yuv color space test, and relax yuv conversion results to allow...
fbarchard@google.com [Tue, 20 Jan 2015 23:48:21 +0000 (23:48 +0000)]
add an exhaustic yuv color space test, and relax yuv conversion results to allow for future change.
BUG=324
TESTED=TestFullYUV
R=harryjin@google.com

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

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

11 days agoImprove accuracy of luma channel in YUV to RGB conversion
fbarchard@google.com [Tue, 20 Jan 2015 23:42:15 +0000 (23:42 +0000)]
Improve accuracy of luma channel in YUV to RGB conversion
BUG=324
TESTED=TestFullYUV
R=harryjin@google.com

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

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

11 days agoprototype of a YUV to RGB function to achieve higher quality and performance at the...
fbarchard@google.com [Tue, 20 Jan 2015 18:21:16 +0000 (18:21 +0000)]
prototype of a YUV to RGB function to achieve higher quality and performance at the same time.  The chroma is made more accurate by using negative values that allow more range and then subtract the contributions from the luma contributes.  The luma is made more accurate using a multiply that duplicates the Y bits out to 16 bits and then does a 2.14 bit fixed point coefficient.  The replication is done for free as part of the multiply.
BUG=391
TESTED=TestYUV
R=harryjin@google.com

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

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

2 weeks agoTests the full range of Y
fbarchard@google.com [Fri, 16 Jan 2015 02:23:19 +0000 (02:23 +0000)]
Tests the full range of Y
BUG=391
TESTED=TestYUV
R=tpsiaki@google.com

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

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

2 weeks agomath header needed on osx version.
fbarchard@google.com [Thu, 15 Jan 2015 21:53:52 +0000 (21:53 +0000)]
math header needed on osx version.
BUG=391
TESTED=try bots
R=tpsiaki@google.com

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

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

2 weeks agoTest color space against a reference function.
fbarchard@google.com [Thu, 15 Jan 2015 18:17:53 +0000 (18:17 +0000)]
Test color space against a reference function.
BUG=none
TESTED=TestYUV
R=tpsiaki@google.com

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

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

2 weeks agoAdd J422 support which is 2x1 subsampling with jpeg color space.
fbarchard@google.com [Wed, 14 Jan 2015 19:16:01 +0000 (19:16 +0000)]
Add J422 support which is 2x1 subsampling with jpeg color space.
BUG=391
TESTED=color_test
R=tpsiaki@google.com

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

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

2 weeks agoMove color space tests into its own source file.
fbarchard@google.com [Tue, 13 Jan 2015 23:47:25 +0000 (23:47 +0000)]
Move color space tests into its own source file.
BUG=391
TESTED=TestI420
R=harryjin@google.com

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

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

2 weeks agoTest J420 conversion to and from ARGB has low absolute difference.
fbarchard@google.com [Tue, 13 Jan 2015 19:53:15 +0000 (19:53 +0000)]
Test J420 conversion to and from ARGB has low absolute difference.
BUG=none
TESTED=TestJ420
R=tpsiaki@google.com

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

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

2 weeks agoConvert to and from J420 to test absolute conversion error.
fbarchard@google.com [Tue, 13 Jan 2015 18:58:17 +0000 (18:58 +0000)]
Convert to and from J420 to test absolute conversion error.
BUG=241
TESTED=TestJ420
R=tpsiaki@google.com

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

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

2 weeks agoRoll chromium deps to match webrtc. chromium builds in older deps didnt support...
fbarchard@google.com [Mon, 12 Jan 2015 18:13:06 +0000 (18:13 +0000)]
Roll chromium deps to match webrtc.  chromium builds in older deps didnt support xcode 6.  This roll updates to a newer version to address the issue.
BUG=370
TESTED=try bots
R=tpsiaki@google.com

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

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

2 weeks agoChange rectangle low level functions to use more conventional row functions including...
fbarchard@google.com [Mon, 12 Jan 2015 03:58:24 +0000 (03:58 +0000)]
Change rectangle low level functions to use more conventional row functions including 'any' variations.  Previously the yuv function SetPlane stored 32 bit values. Now a more conventional memset() style function is used for YUV that stores bytes.  On Haswell a rep stosb is used for YUV.  Overall benefit of this CL is improved performance for 'any' width, and simpler row assembly instead of full image assembly.  Previously ARGBRect used a low level function that supported a rectangle in assembly.  Now it uses a row function, and relies on row coalesce to combine into a single low level call.
BUG=371
TESTED=untested
R=brucedawson@google.com, harryjin@google.com

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

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

3 weeks agoFix for build on 32 bit neon
fbarchard@google.com [Fri, 9 Jan 2015 17:40:56 +0000 (17:40 +0000)]
Fix for build on 32 bit neon
BUG=none
TESTED=nacl neon build
R=harryjin@google.com, tpsiaki@google.com

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

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

3 weeks agoNeon version of new SetRow functions for rectangles.
fbarchard@google.com [Fri, 9 Jan 2015 00:15:44 +0000 (00:15 +0000)]
Neon version of new SetRow functions for rectangles.
BUG=387
TESTED=untested
R=tpsiaki@google.com

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

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

3 weeks agoSupport invert for ARGBRect and SetPlane
fbarchard@google.com [Wed, 7 Jan 2015 19:02:01 +0000 (19:02 +0000)]
Support invert for ARGBRect and SetPlane
BUG=387
TESTED=ARGBRect_Invert
R=harryjin@google.com

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

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

3 weeks agoUse HAS_ARGBSETROWS_X86 to detect presence of function.
fbarchard@google.com [Wed, 7 Jan 2015 00:11:51 +0000 (00:11 +0000)]
Use HAS_ARGBSETROWS_X86 to detect presence of function.
BUG=none
TESTED=rectangle unittests
R=harryjin@google.com

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

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

3 weeks agoAdd tests for ARGBRect and SetPlane. Remove comment to test Neon shuffle and Setrows...
fbarchard@google.com [Tue, 6 Jan 2015 22:27:35 +0000 (22:27 +0000)]
Add tests for ARGBRect and SetPlane.  Remove comment to test Neon shuffle and Setrows for Neon.
BUG=387
TESTED=libyuvTest.ARGBRect_Opt and libyuvTest.SetPlane_Opt
R=harryjin@google.com

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

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

4 weeks agoRemove sub 16 from yuv conversions and change bias to include it.
fbarchard@google.com [Wed, 31 Dec 2014 01:07:02 +0000 (01:07 +0000)]
Remove sub 16 from yuv conversions and change bias to include it.
BUG=388
TESTED=out\release\libyuv_unittest --gtest_catch_exceptions=0 --gtest_filter=*420ToARGB_Opt  | sortms
R=harryjin@google.com

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

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

4 weeks agoSyntax fix for change 24 bit conversions to use single asm block instead of 2, but...
fbarchard@google.com [Tue, 30 Dec 2014 22:26:10 +0000 (22:26 +0000)]
Syntax fix for change 24 bit conversions to use single asm block instead of 2, but with memory counter
BUG=389, 378
TESTED=out\release\libyuv_unittest --gtest_catch_exceptions=0 --gtest_filter=*420ToRGB24_Opt | sortms
R=harryjin@google.com

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

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

4 weeks agoChange 24 bit conversions to use single asm block instead of 2, but with memory counter
fbarchard@google.com [Tue, 30 Dec 2014 21:35:35 +0000 (21:35 +0000)]
Change 24 bit conversions to use single asm block instead of 2, but with memory counter
BUG=389,378
TESTED=out\release\libyuv_unittest --gtest_catch_exceptions=0 --gtest_filter=*420ToRGB24_Opt | sortms
R=harryjin@google.com

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

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

4 weeks agoUse post bias to adjust for Y - 16 to improve performance.
fbarchard@google.com [Tue, 30 Dec 2014 00:02:06 +0000 (00:02 +0000)]
Use post bias to adjust for Y - 16 to improve performance.
BUG=388
TESTED=set LIBYUV_DISABLE_ASM=1 out\release\libyuv_unittest --gtest_catch_exceptions=0 --gtest_filter=*I420ToARGB_Opt
R=brucedawson@google.com, harryjin@google.com

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

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

4 weeks agoJ420ToARGB jpeg variation of YUV color space to ARGB.
fbarchard@google.com [Mon, 29 Dec 2014 19:17:53 +0000 (19:17 +0000)]
J420ToARGB jpeg variation of YUV color space to ARGB.
BUG=241
TESTED=J420ToARGB unittest
R=harryjin@google.com

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

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

6 weeks agoFix the bug in ARGBColorMatrixRow_NEON
yang.zhang@arm.com [Fri, 19 Dec 2014 08:09:04 +0000 (08:09 +0000)]
Fix the bug in ARGBColorMatrixRow_NEON

BUG=371
TESTED=libyuv_unittest and test case written by myself
R=fbarchard@google.com

Change-Id: I652dc23e4be75bd51d15a8a7f9d023594c9cd032

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

6 weeks agoPass neon option to compiler, not assembler, so ifdefs will work.
fbarchard@google.com [Thu, 18 Dec 2014 17:24:48 +0000 (17:24 +0000)]
Pass neon option to compiler, not assembler, so ifdefs will work.
BUG=371
TESTED=locally tested by arm
R=harryjin@google.com

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

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

6 weeks agoDisable color matrix neon code that fails unittests.
fbarchard@google.com [Thu, 18 Dec 2014 01:49:19 +0000 (01:49 +0000)]
Disable color matrix neon code that fails unittests.
BUG=371
TESTED=locally tested by arm
R=harryjin@google.com

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

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

6 weeks agoPort I422ToBGRA from Windows version that does 16 pixels at a time, for performance...
fbarchard@google.com [Tue, 16 Dec 2014 23:56:04 +0000 (23:56 +0000)]
Port I422ToBGRA from Windows version that does 16 pixels at a time, for performance improvement.
BUG=386
TESTED=nacl build
R=brucedawson@google.com, harryjin@google.com

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

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

6 weeks agoEnable all AVX2 conversions.
fbarchard@google.com [Tue, 16 Dec 2014 18:12:40 +0000 (18:12 +0000)]
Enable all AVX2 conversions.
BUG=269
TESTED=local test on osx
R=harryjin@google.com

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

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

6 weeks agoMake vextop take the register selector parameter to access the upper portion of the...
fbarchard@google.com [Tue, 16 Dec 2014 00:30:51 +0000 (00:30 +0000)]
Make vextop take the register selector parameter to access the upper portion of the avx registers.
BUG=269
TESTED=nacl
R=harryjin@google.com

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

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

6 weeks agoUse expect near to see exact values for differences.
fbarchard@google.com [Mon, 15 Dec 2014 22:48:32 +0000 (22:48 +0000)]
Use expect near to see exact values for differences.
BUG=269
TESTED=local unittest
R=harryjin@google.com

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

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

6 weeks agoMake unittest check every pixel and report the first failure.
fbarchard@google.com [Mon, 15 Dec 2014 19:51:50 +0000 (19:51 +0000)]
Make unittest check every pixel and report the first failure.
BUG=269
TESTED=unittest passes on windows
R=harryjin@google.com

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

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

6 weeks agoFix for ARGBToUV on AVX2
fbarchard@google.com [Mon, 15 Dec 2014 18:59:23 +0000 (18:59 +0000)]
Fix for ARGBToUV on AVX2
BUG=269
TESTED=local testing
R=harryjin@google.com

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

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

6 weeks agoFix for I422ToRGBA when I422ToARGB is not enabled for AVX2
fbarchard@google.com [Mon, 15 Dec 2014 18:28:59 +0000 (18:28 +0000)]
Fix for I422ToRGBA when I422ToARGB is not enabled for AVX2
BUG=269
TESTED=local windows build
R=harryjin@google.com

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

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

6 weeks agoFix register order for ARGBToUV_AVX2
fbarchard@google.com [Mon, 15 Dec 2014 18:07:09 +0000 (18:07 +0000)]
Fix register order for ARGBToUV_AVX2
BUG=269
TESTED=try bots
R=harryjin@google.com

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

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

7 weeks agoFix for I422ToARGB AVX2
fbarchard@google.com [Sat, 13 Dec 2014 19:22:09 +0000 (19:22 +0000)]
Fix for I422ToARGB AVX2
BUG=269
TESTED=untested

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

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

7 weeks agoFix for ARGBToY on AVX
fbarchard@google.com [Sat, 13 Dec 2014 01:44:33 +0000 (01:44 +0000)]
Fix for ARGBToY on AVX
BUG=269
TESTED=local build on osx
R=tpsiaki@google.com

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

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

7 weeks agoFix for UYVYToI422 AVX2 version
fbarchard@google.com [Sat, 13 Dec 2014 00:15:11 +0000 (00:15 +0000)]
Fix for UYVYToI422 AVX2 version
BUG=269
TESTED=untested
R=tpsiaki@google.com

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

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

7 weeks agoARGBMirror for AVX had wrong loop counting. This fixes it to match windows, and...
fbarchard@google.com [Fri, 12 Dec 2014 22:43:55 +0000 (22:43 +0000)]
ARGBMirror for AVX had wrong loop counting.  This fixes it to match windows, and reenables the function.
BUG=269
TESTED=try bots
R=tpsiaki@google.com

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

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

7 weeks agoDisable AVX2 code that fails on GCC unittests until issues can be resolved.
fbarchard@google.com [Fri, 12 Dec 2014 19:30:15 +0000 (19:30 +0000)]
Disable AVX2 code that fails on GCC unittests until issues can be resolved.
BUG=269
TESTED=sde-external-7.8.0-2014-10-02-mac/sde -ast -hsw -- out/Release/libyuv_unittest

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

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

7 weeks agoPort ARGBToUV to AVX2.
fbarchard@google.com [Wed, 10 Dec 2014 22:48:58 +0000 (22:48 +0000)]
Port ARGBToUV to AVX2.
BUG=269
TESTED=ncval
R=brucedawson@google.com, tpsiaki@google.com

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

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

7 weeks agoInterpolate Row ported to AVX2 GCC/NaCL.
fbarchard@google.com [Tue, 9 Dec 2014 22:21:53 +0000 (22:21 +0000)]
Interpolate Row ported to AVX2 GCC/NaCL.
BUG=269
TESTED=nacl build
R=brucedawson@google.com, tpsiaki@google.com

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

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

7 weeks agoEnable 3 neon functions for arm 32 bit. The functions were there, but the macros...
fbarchard@google.com [Tue, 9 Dec 2014 17:49:39 +0000 (17:49 +0000)]
Enable 3 neon functions for arm 32 bit.  The functions were there, but the macros were not.  They've been on for 64 bit, so this reunifies them.
BUG=none
TESTED=try bots
R=tpsiaki@google.com

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

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

8 weeks agoconvert ARGB to UV for SSSE3 use single asm block.
fbarchard@google.com [Sat, 6 Dec 2014 19:23:12 +0000 (19:23 +0000)]
convert ARGB to UV for SSSE3 use single asm block.
BUG=378
TESTED=nacl build
R=tpsiaki@google.com

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

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

8 weeks agoRemove nacl macro from 64 bit psnr
fbarchard@google.com [Thu, 4 Dec 2014 00:01:19 +0000 (00:01 +0000)]
Remove nacl macro from 64 bit psnr
BUG=none
TESTED=try bots
R=tpsiaki@google.com

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

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

8 weeks agopsnr utility aarch64 bit version to fix build error on ios and optimize for 64 bit.
fbarchard@google.com [Wed, 3 Dec 2014 19:45:20 +0000 (19:45 +0000)]
psnr utility aarch64 bit version to fix build error on ios and optimize for 64 bit.
BUG=383
TESTED=try bots
R=johannkoenig@google.com

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

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

8 weeks agoUnbreak memcheck bot by adding --gtest_break_on_failure flag
kjellander@google.com [Wed, 3 Dec 2014 19:07:05 +0000 (19:07 +0000)]
Unbreak memcheck bot by adding --gtest_break_on_failure flag

TBR=fbarchard@google.com
TESTED=Ran tools/valgrind-libyuv/libyuv_tests.sh

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

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

8 weeks agoAdd iOS ARM64 and XCode 6.1 to default trybots.
kjellander@google.com [Wed, 3 Dec 2014 14:44:47 +0000 (14:44 +0000)]
Add iOS ARM64 and XCode 6.1 to default trybots.

TBR=fbarchard@google.com
BUG=libyuv:370

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

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

8 weeks agoUse same macros for neon 32 bit and 64 bit. Then supply the differences, which shoul...
fbarchard@google.com [Wed, 3 Dec 2014 02:01:25 +0000 (02:01 +0000)]
Use same macros for neon 32 bit and 64 bit.  Then supply the differences, which should be removed in future.
BUG=none
TESTED=try bots
R=tpsiaki@google.com

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

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

8 weeks agoremove add 16 from ARGBToYJ and add rounding, for consistency with Windows version...
fbarchard@google.com [Tue, 2 Dec 2014 22:37:47 +0000 (22:37 +0000)]
remove add 16 from ARGBToYJ and add rounding, for consistency with Windows version.  row.h header macros sorted alphabetically.
BUG=269
TESTED=untested
R=tpsiaki@google.com

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

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

8 weeks agoARGBToYRow_AVX2 and ARGBToYJRow_AVX2 ported to GCC.
fbarchard@google.com [Tue, 2 Dec 2014 22:00:08 +0000 (22:00 +0000)]
ARGBToYRow_AVX2 and ARGBToYJRow_AVX2 ported to GCC.
BUG=269
TESTED=try bots
R=brucedawson@google.com, tpsiaki@google.com

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

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

8 weeks agoI422ToRGBARow_AVX2 ported to GCC.
fbarchard@google.com [Tue, 2 Dec 2014 18:59:33 +0000 (18:59 +0000)]
I422ToRGBARow_AVX2 ported to GCC.
BUG=269
TESTED=nacl build
R=brucedawson@google.com

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

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

2 months agoI422ToABGR_AVX2 port from Visual C to GCC/NaCL.
fbarchard@google.com [Tue, 2 Dec 2014 03:54:08 +0000 (03:54 +0000)]
I422ToABGR_AVX2 port from Visual C to GCC/NaCL.
BUG=269
TESTED=builds with nacl compiler.
R=tpsiaki@google.com

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

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

2 months agogcc port of I422ToARGB_AVX2 from Visual C. Uses Macros for read of I422 and conversi...
fbarchard@google.com [Tue, 2 Dec 2014 00:22:56 +0000 (00:22 +0000)]
gcc port of I422ToARGB_AVX2 from Visual C.  Uses Macros for read of I422 and conversion from YUV to RGB.  Shares constants from I422ToBGRA structure.
BUG=269
TESTED=nacl builds.
R=brucedawson@google.com, tpsiaki@google.com

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

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

2 months agoRemove loop alignment for benefit of modern cpus that dont require alignment.
fbarchard@google.com [Mon, 24 Nov 2014 21:26:22 +0000 (21:26 +0000)]
Remove loop alignment for benefit of modern cpus that dont require alignment.
BUG=none
TESTED=local libyuv unittest passes
R=brucedawson@google.com, tpsiaki@google.com

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

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

2 months agoRoll chromium deps to match version used by WebRtc: d8c90415d681a7c3727e3ef70873bc4f4...
fbarchard@google.com [Mon, 24 Nov 2014 20:50:57 +0000 (20:50 +0000)]
Roll chromium deps to match version used by WebRtc: d8c90415d681a7c3727e3ef70873bc4f44dd3ab0.
BUG=370
TESTED=try bots
R=tpsiaki@google.com

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

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

2 months agoMergeUV AVX2 use vextractf128 to store results to avoid shuffling.
fbarchard@google.com [Sat, 22 Nov 2014 03:33:33 +0000 (03:33 +0000)]
MergeUV AVX2 use vextractf128 to store results to avoid shuffling.
BUG=none
TESTED=intel sde on unittests
R=brucedawson@google.com

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

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

2 months agoQuick fix for build gcc - remove unused argument kARGBShuffleMirror from ARGBMirror...
fbarchard@google.com [Sat, 22 Nov 2014 01:12:19 +0000 (01:12 +0000)]
Quick fix for build gcc - remove unused argument kARGBShuffleMirror from ARGBMirror SSE2.
BUG=none
TESTED=untested
R=tpsiaki@google.com

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

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

2 months agoARGBMirror use SSE2 pshufd instruction instead of SSSE3 pshufb.
fbarchard@google.com [Fri, 21 Nov 2014 19:25:14 +0000 (19:25 +0000)]
ARGBMirror use SSE2 pshufd instruction instead of SSSE3 pshufb.
BUG=269
TESTED=local benchmark for ARGBMirror
R=tpsiaki@google.com

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

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

2 months agoMove sub before branch for loops.
fbarchard@google.com [Thu, 20 Nov 2014 21:14:27 +0000 (21:14 +0000)]
Move sub before branch for loops.
Remove CopyRow_x86
Add CopyRow_Any versions for AVX, SSE2 and Neon.
BUG=269
TESTED=local build
R=harryjin@google.com, tpsiaki@google.com

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

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

2 months agoChange lea macros from memaccess to memlea to fix nacl 64 bit build errors.
fbarchard@google.com [Wed, 19 Nov 2014 23:02:04 +0000 (23:02 +0000)]
Change lea macros from memaccess to memlea to fix nacl 64 bit build errors.
BUG=381
TESTED=local nacl build and validate
R=harryjin@google.com

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

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

2 months agoPort ARGBMirror AVX2 code to gcc/NaCL.
fbarchard@google.com [Wed, 19 Nov 2014 20:03:37 +0000 (20:03 +0000)]
Port ARGBMirror AVX2 code to gcc/NaCL.
BUG=269
TESTED=try bots
R=harryjin@google.com

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

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

2 months agoARGBMirror Any
fbarchard@google.com [Wed, 19 Nov 2014 00:46:51 +0000 (00:46 +0000)]
ARGBMirror Any
BUG=none
TESTED=mirror and rotate unittests
R=harryjin@google.com

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

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

2 months agoBuild libyuv w/ no_chromium_code in GN.
fbarchard@google.com [Tue, 18 Nov 2014 01:10:14 +0000 (01:10 +0000)]
Build libyuv w/ no_chromium_code in GN.

This disables a couple of windows warnings that will otherwise
fire on Win64, causing compile failures.

BUG=432375
suppress size_t -> int warnings

R=harryjin@google.com

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

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

2 months agoMirrorAny functions so assembly can always be used.
fbarchard@google.com [Tue, 18 Nov 2014 01:03:47 +0000 (01:03 +0000)]
MirrorAny functions so assembly can always be used.
BUG=none
TESTED=untested
R=harryjin@google.com

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

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

2 months agoport lea removal for mirror to gcc
fbarchard@google.com [Mon, 17 Nov 2014 20:06:40 +0000 (20:06 +0000)]
port lea removal for mirror to gcc
BUG=none
TESTED=none
R=harryjin@google.com

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

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

2 months agoFix offset in addresses for windows. Wants it within [] now.
fbarchard@google.com [Mon, 17 Nov 2014 19:50:42 +0000 (19:50 +0000)]
Fix offset in addresses for windows.  Wants it within [] now.
BUG=none
TESTED=local windows build.
R=harryjin@google.com

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

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

2 months agoRemove alignment from loops. Newer cpus will execute the loop efficiently without...
fbarchard@google.com [Mon, 17 Nov 2014 19:25:21 +0000 (19:25 +0000)]
Remove alignment from loops.  Newer cpus will execute the loop efficiently without alignment, and the extra nops would slow the initial iteration marginally if anything.
BUG=none
TESTED=try bots
R=harryjin@google.com

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

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

2 months agoRemove extra unaligned loop from alphablender. Both aligned and unaligned loops...
fbarchard@google.com [Mon, 17 Nov 2014 18:33:07 +0000 (18:33 +0000)]
Remove extra unaligned loop from alphablender.  Both aligned and unaligned loops were the same, so remove the extra.
BUG=none
TESTED=try bots.
R=brucedawson@google.com, harryjin@google.com

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

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

2 months agoremove initial lea in mirror functions and add the offset in the address mode.
fbarchard@google.com [Mon, 17 Nov 2014 18:16:23 +0000 (18:16 +0000)]
remove initial lea in mirror functions and add the offset in the address mode.
BUG=none
TESTED=local libyuv unittests on windows
R=harryjin@google.com

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

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

2 months agoMirror_AVX2 ported to GCC.
fbarchard@google.com [Thu, 13 Nov 2014 23:11:10 +0000 (23:11 +0000)]
Mirror_AVX2 ported to GCC.
BUG=269
TESTED=try bots
R=harryjin@google.com

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

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

2 months agoARGBUnattenuate_AVX2 ported to GCC. Minor cleanup of constants to use broadcast to...
fbarchard@google.com [Thu, 13 Nov 2014 17:57:33 +0000 (17:57 +0000)]
ARGBUnattenuate_AVX2 ported to GCC. Minor cleanup of constants to use broadcast to make 16 byte constant instead of 32 byte.
BUG=269
TESTED=try bots
R=harryjin@google.com

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

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

2 months agoARGBAttenuate_AVX2 ported to GCC.
fbarchard@google.com [Wed, 12 Nov 2014 18:38:06 +0000 (18:38 +0000)]
ARGBAttenuate_AVX2 ported to GCC.
BUG=269
TESTED=try bots
R=harryjin@google.com

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

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

2 months agoUse broadcast to duplicate constants from 16 bytes to 32 bytes to save data space.
fbarchard@google.com [Wed, 12 Nov 2014 01:45:27 +0000 (01:45 +0000)]
Use broadcast to duplicate constants from 16 bytes to 32 bytes to save data space.
BUG=none
TESTED=intelsde
R=brucedawson@google.com

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

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

2 months agoARGBMultiply_AVX2 ported to GCC.
fbarchard@google.com [Tue, 11 Nov 2014 20:33:33 +0000 (20:33 +0000)]
ARGBMultiply_AVX2 ported to GCC.
BUG=269
TESTED=try bots
R=harryjin@google.com

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

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

2 months agoARGBSubtract_AVX2 ported to GCC.
fbarchard@google.com [Tue, 11 Nov 2014 19:12:38 +0000 (19:12 +0000)]
ARGBSubtract_AVX2 ported to GCC.
BUG=269
TESTED=try bots
R=harryjin@google.com

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

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

2 months agoARGBAdd ported AVX2 ported to GCC.
fbarchard@google.com [Tue, 11 Nov 2014 19:01:29 +0000 (19:01 +0000)]
ARGBAdd ported AVX2 ported to GCC.
BUG=269
TESTED=try bots
R=harryjin@google.com

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

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

2 months agoMergeUV for AVX2 ported to gcc. Add missing vzeroupper to all avx2 functions.
fbarchard@google.com [Mon, 10 Nov 2014 19:19:12 +0000 (19:19 +0000)]
MergeUV for AVX2 ported to gcc.  Add missing vzeroupper to all avx2 functions.
BUG=none
TESTED=ncval for nacl
R=brucedawson@google.com, harryjin@google.com

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

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

2 months agoSplitUVRow_AVX2 ported to GCC/NaCL.
fbarchard@google.com [Thu, 6 Nov 2014 01:39:26 +0000 (01:39 +0000)]
SplitUVRow_AVX2 ported to GCC/NaCL.
BUG=269
TESTED=validator for nacl.
R=harryjin@google.com

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

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

2 months agoARGBDetect do 2 pixels at a time for improved performance.
fbarchard@google.com [Wed, 5 Nov 2014 23:23:17 +0000 (23:23 +0000)]
ARGBDetect do 2 pixels at a time for improved performance.
BUG=375
TESTED=libyuvTest.BenchmarkARGBDetect_Opt
R=harryjin@google.com

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

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

2 months agoDetect Endian of ARGB image.
fbarchard@google.com [Wed, 5 Nov 2014 18:46:06 +0000 (18:46 +0000)]
Detect Endian of ARGB image.
BUG=375
TESTED=libyuv builds, but no test app for it yet
R=harryjin@google.com

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

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