fbarchard@google.com
|
812f59ed40
|
box and point sampling use scaledownby4 but linear and bilinear do not.
BUG=427
TESTED=out\release\libyuv_unittest --gtest_filter=*.ScaleDownBy4_*
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/51689004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1373 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-04-17 18:04:09 +00:00 |
|
fbarchard@google.com
|
e52b9c3405
|
make box filter upsampler consider a pixel width of less than 1 to be 1. This makes it behave as a point sampler.
BUG=428
TESTED=set LIBYUV_WIDTH=1900 && out\release\libyuv_unittest.exe
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/49709004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1372 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-04-16 21:02:16 +00:00 |
|
fbarchard@google.com
|
013e812275
|
Port box filter to AVX2.
BUG=libyuv:425
TESTED=c:\intelsde\sde -ast -hsw -- out\release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*libyuvTest.ScaleTo640x360_Box
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/43149004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1367 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-04-14 00:21:15 +00:00 |
|
fbarchard@google.com
|
b5ea79d845
|
add rows handle height of 1 using a more general while-style loop.
BUG=none
TESTED=try bots
Review URL: https://webrtc-codereview.appspot.com/45999004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1366 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-04-13 18:56:08 +00:00 |
|
fbarchard@google.com
|
8f0b32773c
|
ARGBToUV AVX2 functions hooked up.
BUG=none
TESTED=RGB565ToI420
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/46829004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1359 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-04-07 00:10:52 +00:00 |
|
fbarchard@google.com
|
44b6ba91e4
|
Scale down by 4 for odd number of destination pixels using 'any' that handles SIMD for multiple of 8 pixels, and C for the remainder.
BUG=314
TESTED=local test with width odd
Review URL: https://webrtc-codereview.appspot.com/49599004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1355 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-04-03 22:12:53 +00:00 |
|
fbarchard@google.com
|
62a9fe303c
|
code style cleanup of scale functions. no functional change.
BUG=none
TESTED=lint
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/48839004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1354 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-04-02 21:23:52 +00:00 |
|
fbarchard@google.com
|
72673ac873
|
linear and point sample scale to half size for AVX2.
BUG=314
TESTED=out\release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*.ScaleDownBy2*
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/44959004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1349 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-03-30 21:46:08 +00:00 |
|
fbarchard@google.com
|
e6ca9cc2a2
|
Scale down by 2 AVX2 port. Processes twice as many pixels as SSE2 and takes advantage of 3 argument instructions to reduce register usage and number of instructions.
BUG=314
TESTED=libyuvTest.ScaleDownBy2_Box
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/42959004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1347 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-03-26 23:21:08 +00:00 |
|
fbarchard@google.com
|
d41fbf40dd
|
Handle scale down by factor of 2 efficiently by calling SIMD for multiple of 16 destination pixels, and C for remainder.
BUG=314
TESTED=out\release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*.ScaleDownBy2*
R=bcornell@google.com
Review URL: https://webrtc-codereview.appspot.com/48689004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1344 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-03-24 23:25:30 +00:00 |
|
yang.zhang@arm.com
|
d6d7de5742
|
Add ScaleFilterCols_NEON for ARM32/64
ARM32/64 NEON versions of ScaleFilterCols_NEON are implemented.
BUG=319
TESTED=libyuvTest.* on ARM32/64 with Android
R=fbarchard@google.com
Change-Id: I5b0838769ffb0182155d7cd6bcc520eb81eb5c4e
Review URL: https://webrtc-codereview.appspot.com/41349004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1340 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-03-19 03:55:05 +00:00 |
|
yang.zhang@arm.com
|
ca5b1bd58b
|
Add ScaleAddRows_NEON for ARM32/64
ARM32/64 NEON versions of ScaleAddRows_NEON are implemented.
BUG=319
TESTED=libyuvTest.Scale* on ARM32/64 with Android
R=fbarchard@google.com
Change-Id: I45b88c2b5f576042ba5b3d8d6f8851257fdb7218
Review URL: https://webrtc-codereview.appspot.com/46379004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1326 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-03-16 02:57:46 +00:00 |
|
fbarchard@google.com
|
1e4a14f410
|
scale avoid math overflow in fixed point for large images
BUG=410
TESTED=set LIBYUV_WIDTH=65536 out\release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=libyuvTest.ScaleTo320x240_None
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/42319004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1320 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-03-10 22:30:47 +00:00 |
|
yang.zhang@arm.com
|
274c9bce92
|
Add ScaleRowDown2Linear_NEON for ARM32/64
ARM32/64 NEON versions of ScaleRowDown2Linear_NEON are implemented.
BUG=319
TESTED=libyuvTest.ScaleDownBy2_Linear on ARM32/64 with Android
R=fbarchard@google.com
Change-Id: I2c7f43a0d56ed4dfded5bdbbb61765d87d65a2ba
Review URL: https://webrtc-codereview.appspot.com/43519005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1307 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2015-03-03 02:17:16 +00:00 |
|
fbarchard@google.com
|
9ed836b154
|
The 'Any' versions of functions can handle any width now, so remove the check from the calling code. This has 2 advantages - less code, and less overhead in calling function when any function is NOT used. Downside is more code for case where any is used.
BUG=373
TESTED=libyuv_unittest still passes
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/24129004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1143 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2014-10-24 23:29:31 +00:00 |
|
fbarchard@google.com
|
f713691a6f
|
Change elif to endif and if to allow AVX2 as well as SSE2 in future changes instead of one or the other.
BUG=none
TESTED=try bots
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/30719004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1122 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2014-10-16 20:47:22 +00:00 |
|
fbarchard@google.com
|
ca308327d2
|
Remove unaligned functions, since most function support unaligned memory now. This reduces complexity and improves performance for unaligned cases because C code can be avoided, and overhead is less. Downside is old cpus (core2 and earlier) will be slower for aligned memory case. Except mips, which has alignment requirement, but remove unaligned variant.
BUG=365
TESTED=unittest builds and passes locally
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/24839004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1113 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2014-10-07 00:59:31 +00:00 |
|
fbarchard@google.com
|
044f914c29
|
Change scale to unaligned movdqu.
BUG=365
TESTED=scale unittests
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/22879004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1101 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2014-10-01 01:16:04 +00:00 |
|
fbarchard@google.com
|
b18413e568
|
YUV scaling with 16 bit planes
BUG=331
TESTED=libyuv_unittest --gunit_also_run_disabled_tests --gtest_filter=**.ScaleFrom1280x720*
R=debargha@google.com, tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/17569004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1005 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2014-05-20 19:22:30 +00:00 |
|
fbarchard@google.com
|
fa83188365
|
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
|
2014-01-18 01:30:58 +00:00 |
|
fbarchard@google.com
|
5aa39953cc
|
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
|
2014-01-11 04:59:01 +00:00 |
|
fbarchard@google.com
|
6700a27c97
|
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
|
2014-01-09 20:21:24 +00:00 |
|
fbarchard@google.com
|
1f923e3ea6
|
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
|
2014-01-07 05:42:27 +00:00 |
|
fbarchard@google.com
|
db73518b19
|
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
|
2014-01-07 03:59:31 +00:00 |
|
fbarchard@google.com
|
a1f5254a95
|
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
|
2014-01-07 03:03:00 +00:00 |
|
fbarchard@google.com
|
90a36b29d3
|
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
|
2014-01-03 00:34:55 +00:00 |
|
fbarchard@google.com
|
6b6eb8cd36
|
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
|
2013-12-27 02:09:58 +00:00 |
|
fbarchard@google.com
|
e86abbd244
|
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
|
2013-12-27 01:11:26 +00:00 |
|
fbarchard@google.com
|
cf17f0cd2b
|
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
|
2013-12-26 20:00:54 +00:00 |
|
fbarchard@google.com
|
5316f38375
|
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
|
2013-12-08 21:13:09 +00:00 |
|
fbarchard@google.com
|
aae7deb5cf
|
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
|
2013-12-07 00:55:23 +00:00 |
|
fbarchard@google.com
|
ec0cc5bb2d
|
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
|
2013-12-05 00:28:12 +00:00 |
|
fbarchard@google.com
|
99a1298c54
|
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
|
2013-12-04 23:36:06 +00:00 |
|
fbarchard@google.com
|
a8e4dcb5d5
|
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
|
2013-12-04 20:31:53 +00:00 |
|
fbarchard@google.com
|
dbe4814361
|
Move scale row functions to scale_win etc
BUG=none
TEST=untested
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/4509005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@879 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-11-28 01:16:15 +00:00 |
|
nfullagar@google.com
|
a6c94b2227
|
Port gcc asm code in scale.cc to NaCl x86-64
BUG=253
TEST=manually run tests, trybots and ncval
R=fbarchard@google.com
Review URL: https://webrtc-codereview.appspot.com/4029005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@872 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-11-21 19:38:17 +00:00 |
|
fbarchard@google.com
|
431f5f0388
|
Fix scaling bug
BUG=none
TEST=none
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/3979007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@864 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-11-20 01:23:04 +00:00 |
|
fbarchard@google.com
|
e812e86ea9
|
Simplify constraints on asm yuv scale columns for benefit of android intel build.
BUG=none
TEST=try bots
R=ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/3989005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@857 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-11-18 17:45:23 +00:00 |
|
fbarchard@google.com
|
e8c74b61d3
|
Faster point samplers using row functions and specialized 2x upsampler.
BUG=none
TEST=none
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/3859004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@854 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-11-14 02:03:32 +00:00 |
|
fbarchard@google.com
|
a2311691c6
|
YUV scale up
BUG=none
TEST=libyuvTest.ScaleTo1280x720_Linear
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/3829004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@853 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-11-13 21:16:17 +00:00 |
|
fbarchard@google.com
|
5c36470985
|
Port ScaleFilterCols_SSSE3 to gcc
BUG=none
TEST=Scale*
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/3789004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@851 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-11-12 20:40:55 +00:00 |
|
fbarchard@google.com
|
f7eb04bc41
|
Port ScaleCols to SSSE3 for Win.
BUG=none
TEST=Scale*
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/3759004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@849 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-11-11 23:13:57 +00:00 |
|
fbarchard@google.com
|
788f757016
|
Linear interpolation.
BUG=none
TEST=*Linear*
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/3689004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@848 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-11-11 18:53:19 +00:00 |
|
fbarchard@google.com
|
6368c10c9c
|
Add __declspec(safebuffers) to functions with arrays on stack that have explicit checks to avoid a redundent compiler stack check.
BUG=none
TEST=unitests pass
R=ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/3289004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@837 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-11-01 21:27:31 +00:00 |
|
fbarchard@google.com
|
88ce3c0caa
|
Change unittests to pass when size is 1 tall.
BUG=202
TEST=set LIBYUV_HEIGHT=1 & out\release\libyuv_unittest
R=ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/2391004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@811 16f28f9a-4ce2-e073-06de-1de4eb20be90
|
2013-10-14 19:36:26 +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
|
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
|
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 |
|
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 |
|