fbarchard@google.com
|
851a702b39
|
Make static constants const for Visual C. Allows optimizer to collapse similar constants (SSE2 is subset of AVX2). GCC has compiler bug with const attributes, but Visual C does not.
BUG=254
TEST=windows build still passes and is smaller
R=cdelaunay@google.com
Review URL: https://webrtc-codereview.appspot.com/2200007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@788 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-12 01:07:42 +00:00 |
|
fbarchard@google.com
|
acce9ed482
|
Nacl port of Polynomial
BUG=265
TESTED=untested
R=nfullagar@google.com
Review URL: https://webrtc-codereview.appspot.com/2196009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@787 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-11 23:36:17 +00:00 |
|
fbarchard@google.com
|
c3b04796c2
|
ARGBPolynomial ported to gcc
BUG=265
TESTED=try bots
R=changjun.yang@intel.com
Review URL: https://webrtc-codereview.appspot.com/2191007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@786 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-11 14:43:29 +00:00 |
|
fbarchard@google.com
|
7e7c7753ba
|
Remove alignment from ARGBToRGB24 and ARGBToRAW to allow fast code to be used all of the time. Improves performance on Westmere and beyond, hurts performance for aligned buffers on older CPUs.
BUG=230
TESTED=try bot
R=nfullagar@google.com
Review URL: https://webrtc-codereview.appspot.com/2197007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@785 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-11 01:18:36 +00:00 |
|
fbarchard@google.com
|
b38b73d88c
|
ARGBLumaColorTable function.
BUG=267
TEST=Luma*
R=thorcarpenter@google.com
Review URL: https://webrtc-codereview.appspot.com/2202004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@783 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-10 20:34:09 +00:00 |
|
fbarchard@google.com
|
c3c06ec328
|
polynomial sse2 do 2 pixels at a time.
BUG=265
TEST=*Poly*
R=changjun.yang@intel.com
Review URL: https://webrtc-codereview.appspot.com/2195004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@782 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-10 08:16:06 +00:00 |
|
fbarchard@google.com
|
5442018d64
|
Improved polynomial for avx2 using vpmovzxbd and remove movdqa.
BUG=265
TESTED=libyuvTest.TestARGBPolynomial
R=jingning@google.com, ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/2184005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@781 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-09 18:14:03 +00:00 |
|
fbarchard@google.com
|
6da76f3b34
|
AVX version of Polynomial
BUG=265
TEST=untested
R=thorcarpenter@google.com, yunqingwang@google.com
Review URL: https://webrtc-codereview.appspot.com/2166004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@780 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-07 07:05:06 +00:00 |
|
fbarchard@google.com
|
dcd87ffb8c
|
Vertical-only scale for YUV.
BUG=260
TEST=ScaleDownByVertical2by3_Bilinear
R=jingning@google.com, thorcarpenter@google.com
Review URL: https://webrtc-codereview.appspot.com/2165004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@779 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-03 20:00:10 +00:00 |
|
fbarchard@google.com
|
ae0091e3a7
|
ARGBPolynomial for applying a 3 term polynomial matrix to pixels.
BUG=265
TEST=ARGBPolynomial
R=thorcarpenter@google.com
Review URL: https://webrtc-codereview.appspot.com/2159005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@778 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-03 19:20:47 +00:00 |
|
fbarchard@google.com
|
2154de414c
|
Port InterpolateRows to AVX2
BUG=264
TEST=ARGBInterpolate*
R=changjun.yang@intel.com
Review URL: https://webrtc-codereview.appspot.com/2160004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@777 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-03 07:18:21 +00:00 |
|
fbarchard@google.com
|
7aa2bf9284
|
Scale avoid overread for DrMemory
BUG=263
TEST=Scale unittests still pass with same performance.
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2153004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@776 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-09-02 10:32:27 +00:00 |
|
fbarchard@google.com
|
5fcf38cfc8
|
Scale a plane. Before eating an airplane, remove the scales, then fry and serve with tartar sauce.
BUG=260
TEST=try serving with lemon.
R=wuwang@google.com
Review URL: https://webrtc-codereview.appspot.com/2128005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@775 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-28 01:10:48 +00:00 |
|
fbarchard@google.com
|
c105bae792
|
Move header and rename function to more generic scaleplane
BUG=260
TEST=unittests
R=wuwang@google.com
Review URL: https://webrtc-codereview.appspot.com/2128004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@774 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-28 00:31:08 +00:00 |
|
fbarchard@google.com
|
49bbc1b4f3
|
Move vertical scaler to common code.
BUG=260
TEST=unittests build/run
R=ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/2123004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@773 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-27 16:32:22 +00:00 |
|
fbarchard@google.com
|
d1f2ef310d
|
Scale specialized for 50/50 vertically and check x is integer
BUG=260
TESTED=manual test with LIBYUV_HEIGHT=1440
R=wuwang@google.com
Review URL: https://webrtc-codereview.appspot.com/2116004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@772 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-26 23:52:13 +00:00 |
|
fbarchard@google.com
|
eed5d8e92f
|
Remove TESTING macro from posix
BUG=253
TEST=none
R=dingkai@google.com
Review URL: https://webrtc-codereview.appspot.com/2115004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@771 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-26 22:48:51 +00:00 |
|
fbarchard@google.com
|
3c11e185a8
|
Scale vertically only
BUG=260
TESTED=manually tested with LIBYUV_HEIGHT=270
R=dingkai@google.com, ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/2113004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@770 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-26 22:24:08 +00:00 |
|
nfullagar@google.com
|
607dc47533
|
Port HAS_ARGBTOUVROW_SSSE3 to Native Client
This CL also ports HAS_YUY2TOYROW_SSE2 and enables
HAS_BGRATOYROW_SSSE3 and many others.
TEST=libyuv_test,ncval,bots
BUG=253
R=fbarchard@google.com
Review URL: https://webrtc-codereview.appspot.com/2049005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@769 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-22 01:15:58 +00:00 |
|
fbarchard@google.com
|
196cc2e5c1
|
generate code for various instructions just to get byte codes.
BUG=253
TESTED=nacl build and dump
R=nfullagar@google.com
Review URL: https://webrtc-codereview.appspot.com/2079004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@768 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-21 01:38:25 +00:00 |
|
fbarchard@google.com
|
fc34ac5bb2
|
Fix for ARGBScale nacl validator
BUG=253
TESTED=ncval.exe newlib/Release/nacltest_x86_64.nexe
R=nfullagar@google.com
Review URL: https://webrtc-codereview.appspot.com/2066004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@767 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-19 22:29:33 +00:00 |
|
nfullagar@google.com
|
f6e1139921
|
Port scale_argb functions to Native Client.
BUG=253
TEST=libyuv_unittest,ncval,trybots
R=fbarchard@google.com
Review URL: https://webrtc-codereview.appspot.com/2054006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@766 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-19 20:44:14 +00:00 |
|
fbarchard@google.com
|
c140b9d150
|
CopyRow_SSE2 ported to Nacl with munging removed
BUG=253
TESTED=libyuvTest.TestCopyPlane
R=wuwang@google.com
Review URL: https://webrtc-codereview.appspot.com/2060006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@765 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-19 19:12:39 +00:00 |
|
nfullagar@google.com
|
1c710a0606
|
Port Sobel to Native Client
BUG=253
TEST=libyuvtest,trybots
R=fbarchard@google.com
Review URL: https://webrtc-codereview.appspot.com/2037004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@764 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-15 21:26:53 +00:00 |
|
fbarchard@google.com
|
bb5ea8e4df
|
Unattenuate port to NaCL
BUG=253
TESTED=validator
R=nfullagar@google.com
Review URL: https://webrtc-codereview.appspot.com/2038004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@763 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-15 06:40:42 +00:00 |
|
nfullagar@google.com
|
f78509b3be
|
Port Interpolate SSE2 to NaCl
BUG=253
TEST=libyuv_test,try bots
R=fbarchard@google.com
Review URL: https://webrtc-codereview.appspot.com/2013005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@762 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-14 23:09:44 +00:00 |
|
fbarchard@google.com
|
6f61eb6709
|
NaCL port of Affine
BUG=253
TESTED=ncval passed
R=dingkai@google.com
Review URL: https://webrtc-codereview.appspot.com/2035004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@761 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-14 21:43:44 +00:00 |
|
fbarchard@google.com
|
d593876b16
|
Disable assembly for rotate and scale
BUG=253
TEST=validator
R=nfullagar@google.com
Review URL: https://webrtc-codereview.appspot.com/2034004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@760 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-14 18:45:16 +00:00 |
|
nfullagar@google.com
|
9b0f0da083
|
InterpolateRow SSSE3 for Native Client
Fix bug in CumulativeSumToAverageRow
BUG=253
TEST=ncval,trybots
R=fbarchard@google.com
Review URL: https://webrtc-codereview.appspot.com/2004004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@759 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-14 18:19:04 +00:00 |
|
fbarchard@google.com
|
d459f382fd
|
Align branch targets for NaCL validator.
BUG=253
TEST=validator
R=johannkoenig@google.com, ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/2033004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@758 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-14 17:58:33 +00:00 |
|
fbarchard@google.com
|
c4a70492c0
|
blur unittest and fix for negative height
BUG=256
TEST=*Blur*
R=ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/2027005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@757 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-14 16:16:39 +00:00 |
|
fbarchard@google.com
|
7fa21d677c
|
More ifdefs to build all libyuv and not get link errors on missing assembly
BUG=253
TEST=nacl validator
R=nfullagar@google.com, ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/2024004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@756 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-13 21:54:23 +00:00 |
|
fbarchard@google.com
|
ee34d49b28
|
Fix for ret in rotate for nacl 32 bit
BUG=253
TESTED=VALID
R=nfullagar@google.com
Review URL: https://webrtc-codereview.appspot.com/2009005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@755 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-12 23:28:28 +00:00 |
|
nfullagar@google.com
|
e9a27403d4
|
First go at porting blur component to NaCl
BUG=253
TEST=ncvar
R=fbarchard@google.com
Review URL: https://webrtc-codereview.appspot.com/1995004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@754 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-09 18:21:57 +00:00 |
|
fbarchard@google.com
|
4b4b50fb44
|
Make unittests to 1280 pixels for simple planar tests, to get more realistic performance metrics than 256 pixels.
BUG=253
TEST=planar tests
R=nfullagar@google.com
Review URL: https://webrtc-codereview.appspot.com/1994004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@753 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-09 02:02:52 +00:00 |
|
fbarchard@google.com
|
0d41aee26b
|
Port compare functions to Nacl
BUG=253
TEST=none
R=nfullagar@google.com
Review URL: https://webrtc-codereview.appspot.com/1998004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@752 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-08 23:52:34 +00:00 |
|
nfullagar@google.com
|
341b17a250
|
Fix for NaCl store string, which needs source reg.
BUG=253
TEST=ncval
R=fbarchard@google.com
Review URL: https://webrtc-codereview.appspot.com/1991004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@751 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-08 19:58:03 +00:00 |
|
nfullagar@google.com
|
22402bfa6f
|
Support string instructions for NaCl
BUG=253
TEST=validator
R=fbarchard@google.com
Review URL: https://webrtc-codereview.appspot.com/1990004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@750 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-08 00:26:20 +00:00 |
|
fbarchard@google.com
|
e64c236250
|
Fix for Nacl version of blur
BUG=253
TEST=none
R=nfullagar@google.com
Review URL: https://webrtc-codereview.appspot.com/1987004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@749 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-07 21:18:01 +00:00 |
|
fbarchard@google.com
|
9335518f41
|
Port some of the conversion routines to nacl
BUG=253
TEST=validator
R=nfullagar@google.com, ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/1983004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@748 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-07 20:29:18 +00:00 |
|
fbarchard@google.com
|
b8ffdc9e57
|
ColorMatrix and friends ported to NaCL
BUG=253
TESTED=ncval_x86_64.exe newlib/Release/nacltest_x86_64.nexe
R=nfullagar@chromium.org
Review URL: https://webrtc-codereview.appspot.com/1981004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@747 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-06 22:27:01 +00:00 |
|
fbarchard@google.com
|
abfeea9b81
|
Math functions - add, substract, multiply and shade adapted to nacl friendly addressing.
BUG=253
TEST=out\release\libyuv_unittest --gtest_filter=*Add*
R=dingkai@google.com, nfullagar@chromium.org
Review URL: https://webrtc-codereview.appspot.com/1972004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@746 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-06 20:47:18 +00:00 |
|
fbarchard@google.com
|
008ecea4fe
|
NaCL port of Attenuate
BUG=253
TEST=out\release\libyuv_unittest --gtest_filter=*Attenuate*
R=nfullagar@chromium.org
Review URL: https://webrtc-codereview.appspot.com/1970004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@745 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-06 00:51:26 +00:00 |
|
fbarchard@google.com
|
f8a86cb095
|
Enable AlphaBlend SSSE3 code for NaCL
BUG=253
TESTED=validator
R=nfullagar@chromium.org, ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/1968004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@744 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-06 00:08:01 +00:00 |
|
fbarchard@google.com
|
f2aa91a1ac
|
replace static const with static to avoid internal compiler error with gcc
BUG=258
TEST=try bots
R=johannkoenig@google.com
Review URL: https://webrtc-codereview.appspot.com/1944004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@743 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-02 17:48:24 +00:00 |
|
fbarchard@google.com
|
465a5583ef
|
use CONST macro for OSX.
BUG=254
TEST=none
R=johannkoenig@google.com
Review URL: https://webrtc-codereview.appspot.com/1942004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@742 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-08-02 00:44:29 +00:00 |
|
fbarchard@google.com
|
f0627d7107
|
syntax error fix
BUG=none
TEST=none
R=ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/1883004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@741 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-07-26 01:18:25 +00:00 |
|
fbarchard@google.com
|
4a1325ade5
|
Disable xgetbv on nacl for now as its not allowed under validator. Consider reenabling it when avx2 is allowed.
BUG=253
TEST=validator
R=ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/1881005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@740 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-07-26 00:59:52 +00:00 |
|
fbarchard@google.com
|
5520710ef7
|
Add RGBColorTable which is like ARGBColorTable but only does first 3 channels.
BUG=none
TEST=none
R=dingkai@google.com, thorcarpenter@google.com, wuwang@google.com
Review URL: https://webrtc-codereview.appspot.com/1858004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@739 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-07-24 21:35:57 +00:00 |
|
fbarchard@google.com
|
595c2427e8
|
Simple FixedDiv that does integer divide instruction with 64 bit dividend and 32 bit divisor to produce 32 bit result.
BUG=250
TEST=math_test
R=dingkai@google.com
Review URL: https://webrtc-codereview.appspot.com/1681006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@736 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-06-18 22:08:16 +00:00 |
|